Home | History | Annotate | Download | only in vendor
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.65 for gperftools 2.0.
      4 #
      5 # Report bugs to <google-perftools (at] googlegroups.com>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10 # Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 case $0 in #((
     95   *[\\/]* ) as_myself=$0 ;;
     96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97 for as_dir in $PATH
     98 do
     99   IFS=$as_save_IFS
    100   test -z "$as_dir" && as_dir=.
    101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    102   done
    103 IFS=$as_save_IFS
    104 
    105      ;;
    106 esac
    107 # We did not find ourselves, most probably we were run as `sh COMMAND'
    108 # in which case we are not to be found in the path.
    109 if test "x$as_myself" = x; then
    110   as_myself=$0
    111 fi
    112 if test ! -f "$as_myself"; then
    113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    114   exit 1
    115 fi
    116 
    117 # Unset variables that we do not need and which cause bugs (e.g. in
    118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    119 # suppresses any "Segmentation fault" message there.  '((' could
    120 # trigger a bug in pdksh 5.2.14.
    121 for as_var in BASH_ENV ENV MAIL MAILPATH
    122 do eval test x\${$as_var+set} = xset \
    123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    124 done
    125 PS1='$ '
    126 PS2='> '
    127 PS4='+ '
    128 
    129 # NLS nuisances.
    130 LC_ALL=C
    131 export LC_ALL
    132 LANGUAGE=C
    133 export LANGUAGE
    134 
    135 # CDPATH.
    136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    137 
    138 if test "x$CONFIG_SHELL" = x; then
    139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    140   emulate sh
    141   NULLCMD=:
    142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    143   # is contrary to our usage.  Disable this feature.
    144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    145   setopt NO_GLOB_SUBST
    146 else
    147   case \`(set -o) 2>/dev/null\` in #(
    148   *posix*) :
    149     set -o posix ;; #(
    150   *) :
    151      ;;
    152 esac
    153 fi
    154 "
    155   as_required="as_fn_return () { (exit \$1); }
    156 as_fn_success () { as_fn_return 0; }
    157 as_fn_failure () { as_fn_return 1; }
    158 as_fn_ret_success () { return 0; }
    159 as_fn_ret_failure () { return 1; }
    160 
    161 exitcode=0
    162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    167 
    168 else
    169   exitcode=1; echo positional parameters were not saved.
    170 fi
    171 test x\$exitcode = x0 || exit 1"
    172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    176 test \$(( 1 + 1 )) = 2 || exit 1"
    177   if (eval "$as_required") 2>/dev/null; then :
    178   as_have_required=yes
    179 else
    180   as_have_required=no
    181 fi
    182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    183 
    184 else
    185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    186 as_found=false
    187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    188 do
    189   IFS=$as_save_IFS
    190   test -z "$as_dir" && as_dir=.
    191   as_found=:
    192   case $as_dir in #(
    193 	 /*)
    194 	   for as_base in sh bash ksh sh5; do
    195 	     # Try only shells that exist, to save several forks.
    196 	     as_shell=$as_dir/$as_base
    197 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    198 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    199   CONFIG_SHELL=$as_shell as_have_required=yes
    200 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    201   break 2
    202 fi
    203 fi
    204 	   done;;
    205        esac
    206   as_found=false
    207 done
    208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    209 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    210   CONFIG_SHELL=$SHELL as_have_required=yes
    211 fi; }
    212 IFS=$as_save_IFS
    213 
    214 
    215       if test "x$CONFIG_SHELL" != x; then :
    216   # We cannot yet assume a decent shell, so we have to provide a
    217 	# neutralization value for shells without unset; and this also
    218 	# works around shells that cannot unset nonexistent variables.
    219 	BASH_ENV=/dev/null
    220 	ENV=/dev/null
    221 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    222 	export CONFIG_SHELL
    223 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    224 fi
    225 
    226     if test x$as_have_required = xno; then :
    227   $as_echo "$0: This script requires a shell more modern than all"
    228   $as_echo "$0: the shells that I found on your system."
    229   if test x${ZSH_VERSION+set} = xset ; then
    230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    232   else
    233     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    234 $0: google-perftools (at] googlegroups.com about your system,
    235 $0: including any error possibly output before this
    236 $0: message. Then install a modern shell, or manually run
    237 $0: the script under such a shell if you do have one."
    238   fi
    239   exit 1
    240 fi
    241 fi
    242 fi
    243 SHELL=${CONFIG_SHELL-/bin/sh}
    244 export SHELL
    245 # Unset more variables known to interfere with behavior of common tools.
    246 CLICOLOR_FORCE= GREP_OPTIONS=
    247 unset CLICOLOR_FORCE GREP_OPTIONS
    248 
    249 ## --------------------- ##
    250 ## M4sh Shell Functions. ##
    251 ## --------------------- ##
    252 # as_fn_unset VAR
    253 # ---------------
    254 # Portably unset VAR.
    255 as_fn_unset ()
    256 {
    257   { eval $1=; unset $1;}
    258 }
    259 as_unset=as_fn_unset
    260 
    261 # as_fn_set_status STATUS
    262 # -----------------------
    263 # Set $? to STATUS, without forking.
    264 as_fn_set_status ()
    265 {
    266   return $1
    267 } # as_fn_set_status
    268 
    269 # as_fn_exit STATUS
    270 # -----------------
    271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    272 as_fn_exit ()
    273 {
    274   set +e
    275   as_fn_set_status $1
    276   exit $1
    277 } # as_fn_exit
    278 
    279 # as_fn_mkdir_p
    280 # -------------
    281 # Create "$as_dir" as a directory, including parents if necessary.
    282 as_fn_mkdir_p ()
    283 {
    284 
    285   case $as_dir in #(
    286   -*) as_dir=./$as_dir;;
    287   esac
    288   test -d "$as_dir" || eval $as_mkdir_p || {
    289     as_dirs=
    290     while :; do
    291       case $as_dir in #(
    292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    293       *) as_qdir=$as_dir;;
    294       esac
    295       as_dirs="'$as_qdir' $as_dirs"
    296       as_dir=`$as_dirname -- "$as_dir" ||
    297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    298 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    299 	 X"$as_dir" : 'X\(//\)$' \| \
    300 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    301 $as_echo X"$as_dir" |
    302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    303 	    s//\1/
    304 	    q
    305 	  }
    306 	  /^X\(\/\/\)[^/].*/{
    307 	    s//\1/
    308 	    q
    309 	  }
    310 	  /^X\(\/\/\)$/{
    311 	    s//\1/
    312 	    q
    313 	  }
    314 	  /^X\(\/\).*/{
    315 	    s//\1/
    316 	    q
    317 	  }
    318 	  s/.*/./; q'`
    319       test -d "$as_dir" && break
    320     done
    321     test -z "$as_dirs" || eval "mkdir $as_dirs"
    322   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    323 
    324 
    325 } # as_fn_mkdir_p
    326 # as_fn_append VAR VALUE
    327 # ----------------------
    328 # Append the text in VALUE to the end of the definition contained in VAR. Take
    329 # advantage of any shell optimizations that allow amortized linear growth over
    330 # repeated appends, instead of the typical quadratic growth present in naive
    331 # implementations.
    332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    333   eval 'as_fn_append ()
    334   {
    335     eval $1+=\$2
    336   }'
    337 else
    338   as_fn_append ()
    339   {
    340     eval $1=\$$1\$2
    341   }
    342 fi # as_fn_append
    343 
    344 # as_fn_arith ARG...
    345 # ------------------
    346 # Perform arithmetic evaluation on the ARGs, and store the result in the
    347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    348 # must be portable across $(()) and expr.
    349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    350   eval 'as_fn_arith ()
    351   {
    352     as_val=$(( $* ))
    353   }'
    354 else
    355   as_fn_arith ()
    356   {
    357     as_val=`expr "$@" || test $? -eq 1`
    358   }
    359 fi # as_fn_arith
    360 
    361 
    362 # as_fn_error ERROR [LINENO LOG_FD]
    363 # ---------------------------------
    364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    366 # script with status $?, using 1 if that was 0.
    367 as_fn_error ()
    368 {
    369   as_status=$?; test $as_status -eq 0 && as_status=1
    370   if test "$3"; then
    371     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    373   fi
    374   $as_echo "$as_me: error: $1" >&2
    375   as_fn_exit $as_status
    376 } # as_fn_error
    377 
    378 if expr a : '\(a\)' >/dev/null 2>&1 &&
    379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    380   as_expr=expr
    381 else
    382   as_expr=false
    383 fi
    384 
    385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    386   as_basename=basename
    387 else
    388   as_basename=false
    389 fi
    390 
    391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    392   as_dirname=dirname
    393 else
    394   as_dirname=false
    395 fi
    396 
    397 as_me=`$as_basename -- "$0" ||
    398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    399 	 X"$0" : 'X\(//\)$' \| \
    400 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    401 $as_echo X/"$0" |
    402     sed '/^.*\/\([^/][^/]*\)\/*$/{
    403 	    s//\1/
    404 	    q
    405 	  }
    406 	  /^X\/\(\/\/\)$/{
    407 	    s//\1/
    408 	    q
    409 	  }
    410 	  /^X\/\(\/\).*/{
    411 	    s//\1/
    412 	    q
    413 	  }
    414 	  s/.*/./; q'`
    415 
    416 # Avoid depending upon Character Ranges.
    417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    420 as_cr_digits='0123456789'
    421 as_cr_alnum=$as_cr_Letters$as_cr_digits
    422 
    423 
    424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    429   sed -n '
    430     p
    431     /[$]LINENO/=
    432   ' <$as_myself |
    433     sed '
    434       s/[$]LINENO.*/&-/
    435       t lineno
    436       b
    437       :lineno
    438       N
    439       :loop
    440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    441       t loop
    442       s/-\n.*//
    443     ' >$as_me.lineno &&
    444   chmod +x "$as_me.lineno" ||
    445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    446 
    447   # Don't try to exec as it changes $[0], causing all sort of problems
    448   # (the dirname of $[0] is not the place where we might find the
    449   # original and so on.  Autoconf is especially sensitive to this).
    450   . "./$as_me.lineno"
    451   # Exit status is that of the last command.
    452   exit
    453 }
    454 
    455 ECHO_C= ECHO_N= ECHO_T=
    456 case `echo -n x` in #(((((
    457 -n*)
    458   case `echo 'xy\c'` in
    459   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    460   xy)  ECHO_C='\c';;
    461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    462        ECHO_T='	';;
    463   esac;;
    464 *)
    465   ECHO_N='-n';;
    466 esac
    467 
    468 rm -f conf$$ conf$$.exe conf$$.file
    469 if test -d conf$$.dir; then
    470   rm -f conf$$.dir/conf$$.file
    471 else
    472   rm -f conf$$.dir
    473   mkdir conf$$.dir 2>/dev/null
    474 fi
    475 if (echo >conf$$.file) 2>/dev/null; then
    476   if ln -s conf$$.file conf$$ 2>/dev/null; then
    477     as_ln_s='ln -s'
    478     # ... but there are two gotchas:
    479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    481     # In both cases, we have to default to `cp -p'.
    482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    483       as_ln_s='cp -p'
    484   elif ln conf$$.file conf$$ 2>/dev/null; then
    485     as_ln_s=ln
    486   else
    487     as_ln_s='cp -p'
    488   fi
    489 else
    490   as_ln_s='cp -p'
    491 fi
    492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    493 rmdir conf$$.dir 2>/dev/null
    494 
    495 if mkdir -p . 2>/dev/null; then
    496   as_mkdir_p='mkdir -p "$as_dir"'
    497 else
    498   test -d ./-p && rmdir ./-p
    499   as_mkdir_p=false
    500 fi
    501 
    502 if test -x / >/dev/null 2>&1; then
    503   as_test_x='test -x'
    504 else
    505   if ls -dL / >/dev/null 2>&1; then
    506     as_ls_L_option=L
    507   else
    508     as_ls_L_option=
    509   fi
    510   as_test_x='
    511     eval sh -c '\''
    512       if test -d "$1"; then
    513 	test -d "$1/.";
    514       else
    515 	case $1 in #(
    516 	-*)set "./$1";;
    517 	esac;
    518 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    519 	???[sx]*):;;*)false;;esac;fi
    520     '\'' sh
    521   '
    522 fi
    523 as_executable_p=$as_test_x
    524 
    525 # Sed expression to map a string onto a valid CPP name.
    526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    527 
    528 # Sed expression to map a string onto a valid variable name.
    529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    530 
    531 
    532 
    533 # Check that we are running under the correct shell.
    534 SHELL=${CONFIG_SHELL-/bin/sh}
    535 
    536 case X$lt_ECHO in
    537 X*--fallback-echo)
    538   # Remove one level of quotation (which was required for Make).
    539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    540   ;;
    541 esac
    542 
    543 ECHO=${lt_ECHO-echo}
    544 if test "X$1" = X--no-reexec; then
    545   # Discard the --no-reexec flag, and continue.
    546   shift
    547 elif test "X$1" = X--fallback-echo; then
    548   # Avoid inline document here, it may be left over
    549   :
    550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    551   # Yippee, $ECHO works!
    552   :
    553 else
    554   # Restart under the correct shell.
    555   exec $SHELL "$0" --no-reexec ${1+"$@"}
    556 fi
    557 
    558 if test "X$1" = X--fallback-echo; then
    559   # used as fallback echo
    560   shift
    561   cat <<_LT_EOF
    562 $*
    563 _LT_EOF
    564   exit 0
    565 fi
    566 
    567 # The HP-UX ksh and POSIX shell print the target directory to stdout
    568 # if CDPATH is set.
    569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    570 
    571 if test -z "$lt_ECHO"; then
    572   if test "X${echo_test_string+set}" != Xset; then
    573     # find a string as large as possible, as long as the shell can cope with it
    574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    577 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    578       then
    579         break
    580       fi
    581     done
    582   fi
    583 
    584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    586      test "X$echo_testing_string" = "X$echo_test_string"; then
    587     :
    588   else
    589     # The Solaris, AIX, and Digital Unix default echo programs unquote
    590     # backslashes.  This makes it impossible to quote backslashes using
    591     #   echo "$something" | sed 's/\\/\\\\/g'
    592     #
    593     # So, first we look for a working echo in the user's PATH.
    594 
    595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    596     for dir in $PATH /usr/ucb; do
    597       IFS="$lt_save_ifs"
    598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    601          test "X$echo_testing_string" = "X$echo_test_string"; then
    602         ECHO="$dir/echo"
    603         break
    604       fi
    605     done
    606     IFS="$lt_save_ifs"
    607 
    608     if test "X$ECHO" = Xecho; then
    609       # We didn't find a better echo, so look for alternatives.
    610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    612          test "X$echo_testing_string" = "X$echo_test_string"; then
    613         # This shell has a builtin print -r that does the trick.
    614         ECHO='print -r'
    615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    616 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    617         # If we have ksh, try running configure again with it.
    618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    619         export ORIGINAL_CONFIG_SHELL
    620         CONFIG_SHELL=/bin/ksh
    621         export CONFIG_SHELL
    622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    623       else
    624         # Try using printf.
    625         ECHO='printf %s\n'
    626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    627 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    628 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    629 	  # Cool, printf works
    630 	  :
    631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    632 	     test "X$echo_testing_string" = 'X\t' &&
    633 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    634 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    635 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    636 	  export CONFIG_SHELL
    637 	  SHELL="$CONFIG_SHELL"
    638 	  export SHELL
    639 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    641 	     test "X$echo_testing_string" = 'X\t' &&
    642 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    643 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    644 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    645         else
    646 	  # maybe with a smaller string...
    647 	  prev=:
    648 
    649 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    650 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    651 	    then
    652 	      break
    653 	    fi
    654 	    prev="$cmd"
    655 	  done
    656 
    657 	  if test "$prev" != 'sed 50q "$0"'; then
    658 	    echo_test_string=`eval $prev`
    659 	    export echo_test_string
    660 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    661 	  else
    662 	    # Oops.  We lost completely, so just stick with echo.
    663 	    ECHO=echo
    664 	  fi
    665         fi
    666       fi
    667     fi
    668   fi
    669 fi
    670 
    671 # Copy echo and quote the copy suitably for passing to libtool from
    672 # the Makefile, instead of quoting the original, which is used later.
    673 lt_ECHO=$ECHO
    674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    676 fi
    677 
    678 
    679 
    680 
    681 test -n "$DJDIR" || exec 7<&0 </dev/null
    682 exec 6>&1
    683 
    684 # Name of the host.
    685 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    686 # so uname gets run too.
    687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    688 
    689 #
    690 # Initializations.
    691 #
    692 ac_default_prefix=/usr/local
    693 ac_clean_files=
    694 ac_config_libobj_dir=.
    695 LIBOBJS=
    696 cross_compiling=no
    697 subdirs=
    698 MFLAGS=
    699 MAKEFLAGS=
    700 
    701 # Identity of this package.
    702 PACKAGE_NAME='gperftools'
    703 PACKAGE_TARNAME='gperftools'
    704 PACKAGE_VERSION='2.0'
    705 PACKAGE_STRING='gperftools 2.0'
    706 PACKAGE_BUGREPORT='google-perftools (at] googlegroups.com'
    707 PACKAGE_URL=''
    708 
    709 ac_unique_file="README"
    710 # Factoring default headers for most tests.
    711 ac_includes_default="\
    712 #include <stdio.h>
    713 #ifdef HAVE_SYS_TYPES_H
    714 # include <sys/types.h>
    715 #endif
    716 #ifdef HAVE_SYS_STAT_H
    717 # include <sys/stat.h>
    718 #endif
    719 #ifdef STDC_HEADERS
    720 # include <stdlib.h>
    721 # include <stddef.h>
    722 #else
    723 # ifdef HAVE_STDLIB_H
    724 #  include <stdlib.h>
    725 # endif
    726 #endif
    727 #ifdef HAVE_STRING_H
    728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    729 #  include <memory.h>
    730 # endif
    731 # include <string.h>
    732 #endif
    733 #ifdef HAVE_STRINGS_H
    734 # include <strings.h>
    735 #endif
    736 #ifdef HAVE_INTTYPES_H
    737 # include <inttypes.h>
    738 #endif
    739 #ifdef HAVE_STDINT_H
    740 # include <stdint.h>
    741 #endif
    742 #ifdef HAVE_UNISTD_H
    743 # include <unistd.h>
    744 #endif"
    745 
    746 ac_header_list=
    747 ac_subst_vars='LTLIBOBJS
    748 LIBOBJS
    749 WITH_STACK_TRACE_FALSE
    750 WITH_STACK_TRACE_TRUE
    751 WITH_HEAP_PROFILER_OR_CHECKER_FALSE
    752 WITH_HEAP_PROFILER_OR_CHECKER_TRUE
    753 WITH_DEBUGALLOC_FALSE
    754 WITH_DEBUGALLOC_TRUE
    755 WITH_HEAP_CHECKER_FALSE
    756 WITH_HEAP_CHECKER_TRUE
    757 WITH_HEAP_PROFILER_FALSE
    758 WITH_HEAP_PROFILER_TRUE
    759 WITH_CPU_PROFILER_FALSE
    760 WITH_CPU_PROFILER_TRUE
    761 OSX_FALSE
    762 OSX_TRUE
    763 MINGW_FALSE
    764 MINGW_TRUE
    765 PTHREAD_CFLAGS
    766 PTHREAD_LIBS
    767 PTHREAD_CC
    768 acx_pthread_config
    769 LIBSTDCXX_LA_LINKER_FLAG
    770 NANOSLEEP_LIBS
    771 HAVE_W_NO_UNUSED_RESULT_FALSE
    772 HAVE_W_NO_UNUSED_RESULT_TRUE
    773 I386_FALSE
    774 I386_TRUE
    775 X86_64_AND_NO_FP_BY_DEFAULT_FALSE
    776 X86_64_AND_NO_FP_BY_DEFAULT_TRUE
    777 ENABLE_FRAME_POINTERS_FALSE
    778 ENABLE_FRAME_POINTERS_TRUE
    779 UNWIND_LIBS
    780 ENABLE_STATIC_FALSE
    781 ENABLE_STATIC_TRUE
    782 ac_cv_have_struct_mallinfo
    783 USE_LIBTOOL_FALSE
    784 USE_LIBTOOL_TRUE
    785 LIBTOOL_DEPS
    786 CXXCPP
    787 OTOOL64
    788 OTOOL
    789 LIPO
    790 NMEDIT
    791 DSYMUTIL
    792 lt_ECHO
    793 RANLIB
    794 AR
    795 OBJDUMP
    796 LN_S
    797 NM
    798 ac_ct_DUMPBIN
    799 DUMPBIN
    800 LD
    801 FGREP
    802 EGREP
    803 GREP
    804 SED
    805 LIBTOOL
    806 HAVE_OBJCOPY_WEAKEN_FALSE
    807 HAVE_OBJCOPY_WEAKEN_TRUE
    808 OBJCOPY
    809 GCC_FALSE
    810 GCC_TRUE
    811 CPP
    812 am__fastdepCC_FALSE
    813 am__fastdepCC_TRUE
    814 CCDEPMODE
    815 ac_ct_CC
    816 CFLAGS
    817 CC
    818 am__fastdepCXX_FALSE
    819 am__fastdepCXX_TRUE
    820 CXXDEPMODE
    821 AMDEPBACKSLASH
    822 AMDEP_FALSE
    823 AMDEP_TRUE
    824 am__quote
    825 am__include
    826 DEPDIR
    827 OBJEXT
    828 EXEEXT
    829 ac_ct_CXX
    830 CPPFLAGS
    831 LDFLAGS
    832 CXXFLAGS
    833 CXX
    834 TC_VERSION_PATCH
    835 TC_VERSION_MINOR
    836 TC_VERSION_MAJOR
    837 am__untar
    838 am__tar
    839 AMTAR
    840 am__leading_dot
    841 SET_MAKE
    842 AWK
    843 mkdir_p
    844 MKDIR_P
    845 INSTALL_STRIP_PROGRAM
    846 STRIP
    847 install_sh
    848 MAKEINFO
    849 AUTOHEADER
    850 AUTOMAKE
    851 AUTOCONF
    852 ACLOCAL
    853 VERSION
    854 PACKAGE
    855 CYGPATH_W
    856 am__isrc
    857 INSTALL_DATA
    858 INSTALL_SCRIPT
    859 INSTALL_PROGRAM
    860 host_os
    861 host_vendor
    862 host_cpu
    863 host
    864 build_os
    865 build_vendor
    866 build_cpu
    867 build
    868 PROFILER_SO_VERSION
    869 TCMALLOC_SO_VERSION
    870 target_alias
    871 host_alias
    872 build_alias
    873 LIBS
    874 ECHO_T
    875 ECHO_N
    876 ECHO_C
    877 DEFS
    878 mandir
    879 localedir
    880 libdir
    881 psdir
    882 pdfdir
    883 dvidir
    884 htmldir
    885 infodir
    886 docdir
    887 oldincludedir
    888 includedir
    889 localstatedir
    890 sharedstatedir
    891 sysconfdir
    892 datadir
    893 datarootdir
    894 libexecdir
    895 sbindir
    896 bindir
    897 program_transform_name
    898 prefix
    899 exec_prefix
    900 PACKAGE_URL
    901 PACKAGE_BUGREPORT
    902 PACKAGE_STRING
    903 PACKAGE_VERSION
    904 PACKAGE_TARNAME
    905 PACKAGE_NAME
    906 PATH_SEPARATOR
    907 SHELL'
    908 ac_subst_files=''
    909 ac_user_opts='
    910 enable_option_checking
    911 enable_cpu_profiler
    912 enable_heap_profiler
    913 enable_heap_checker
    914 enable_debugalloc
    915 enable_minimal
    916 enable_dependency_tracking
    917 enable_fast_install
    918 enable_shared
    919 enable_static
    920 with_pic
    921 with_gnu_ld
    922 enable_libtool_lock
    923 enable_frame_pointers
    924 '
    925       ac_precious_vars='build_alias
    926 host_alias
    927 target_alias
    928 CXX
    929 CXXFLAGS
    930 LDFLAGS
    931 LIBS
    932 CPPFLAGS
    933 CCC
    934 CC
    935 CFLAGS
    936 CPP
    937 CXXCPP'
    938 
    939 
    940 # Initialize some variables set by options.
    941 ac_init_help=
    942 ac_init_version=false
    943 ac_unrecognized_opts=
    944 ac_unrecognized_sep=
    945 # The variables have the same names as the options, with
    946 # dashes changed to underlines.
    947 cache_file=/dev/null
    948 exec_prefix=NONE
    949 no_create=
    950 no_recursion=
    951 prefix=NONE
    952 program_prefix=NONE
    953 program_suffix=NONE
    954 program_transform_name=s,x,x,
    955 silent=
    956 site=
    957 srcdir=
    958 verbose=
    959 x_includes=NONE
    960 x_libraries=NONE
    961 
    962 # Installation directory options.
    963 # These are left unexpanded so users can "make install exec_prefix=/foo"
    964 # and all the variables that are supposed to be based on exec_prefix
    965 # by default will actually change.
    966 # Use braces instead of parens because sh, perl, etc. also accept them.
    967 # (The list follows the same order as the GNU Coding Standards.)
    968 bindir='${exec_prefix}/bin'
    969 sbindir='${exec_prefix}/sbin'
    970 libexecdir='${exec_prefix}/libexec'
    971 datarootdir='${prefix}/share'
    972 datadir='${datarootdir}'
    973 sysconfdir='${prefix}/etc'
    974 sharedstatedir='${prefix}/com'
    975 localstatedir='${prefix}/var'
    976 includedir='${prefix}/include'
    977 oldincludedir='/usr/include'
    978 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    979 infodir='${datarootdir}/info'
    980 htmldir='${docdir}'
    981 dvidir='${docdir}'
    982 pdfdir='${docdir}'
    983 psdir='${docdir}'
    984 libdir='${exec_prefix}/lib'
    985 localedir='${datarootdir}/locale'
    986 mandir='${datarootdir}/man'
    987 
    988 ac_prev=
    989 ac_dashdash=
    990 for ac_option
    991 do
    992   # If the previous option needs an argument, assign it.
    993   if test -n "$ac_prev"; then
    994     eval $ac_prev=\$ac_option
    995     ac_prev=
    996     continue
    997   fi
    998 
    999   case $ac_option in
   1000   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1001   *)	ac_optarg=yes ;;
   1002   esac
   1003 
   1004   # Accept the important Cygnus configure options, so we can diagnose typos.
   1005 
   1006   case $ac_dashdash$ac_option in
   1007   --)
   1008     ac_dashdash=yes ;;
   1009 
   1010   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1011     ac_prev=bindir ;;
   1012   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1013     bindir=$ac_optarg ;;
   1014 
   1015   -build | --build | --buil | --bui | --bu)
   1016     ac_prev=build_alias ;;
   1017   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1018     build_alias=$ac_optarg ;;
   1019 
   1020   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1021   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1022     ac_prev=cache_file ;;
   1023   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1024   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1025     cache_file=$ac_optarg ;;
   1026 
   1027   --config-cache | -C)
   1028     cache_file=config.cache ;;
   1029 
   1030   -datadir | --datadir | --datadi | --datad)
   1031     ac_prev=datadir ;;
   1032   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1033     datadir=$ac_optarg ;;
   1034 
   1035   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1036   | --dataroo | --dataro | --datar)
   1037     ac_prev=datarootdir ;;
   1038   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1039   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1040     datarootdir=$ac_optarg ;;
   1041 
   1042   -disable-* | --disable-*)
   1043     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1044     # Reject names that are not valid shell variable names.
   1045     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1046       as_fn_error "invalid feature name: $ac_useropt"
   1047     ac_useropt_orig=$ac_useropt
   1048     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1049     case $ac_user_opts in
   1050       *"
   1051 "enable_$ac_useropt"
   1052 "*) ;;
   1053       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1054 	 ac_unrecognized_sep=', ';;
   1055     esac
   1056     eval enable_$ac_useropt=no ;;
   1057 
   1058   -docdir | --docdir | --docdi | --doc | --do)
   1059     ac_prev=docdir ;;
   1060   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1061     docdir=$ac_optarg ;;
   1062 
   1063   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1064     ac_prev=dvidir ;;
   1065   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1066     dvidir=$ac_optarg ;;
   1067 
   1068   -enable-* | --enable-*)
   1069     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1070     # Reject names that are not valid shell variable names.
   1071     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1072       as_fn_error "invalid feature name: $ac_useropt"
   1073     ac_useropt_orig=$ac_useropt
   1074     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1075     case $ac_user_opts in
   1076       *"
   1077 "enable_$ac_useropt"
   1078 "*) ;;
   1079       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1080 	 ac_unrecognized_sep=', ';;
   1081     esac
   1082     eval enable_$ac_useropt=\$ac_optarg ;;
   1083 
   1084   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1085   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1086   | --exec | --exe | --ex)
   1087     ac_prev=exec_prefix ;;
   1088   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1089   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1090   | --exec=* | --exe=* | --ex=*)
   1091     exec_prefix=$ac_optarg ;;
   1092 
   1093   -gas | --gas | --ga | --g)
   1094     # Obsolete; use --with-gas.
   1095     with_gas=yes ;;
   1096 
   1097   -help | --help | --hel | --he | -h)
   1098     ac_init_help=long ;;
   1099   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1100     ac_init_help=recursive ;;
   1101   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1102     ac_init_help=short ;;
   1103 
   1104   -host | --host | --hos | --ho)
   1105     ac_prev=host_alias ;;
   1106   -host=* | --host=* | --hos=* | --ho=*)
   1107     host_alias=$ac_optarg ;;
   1108 
   1109   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1110     ac_prev=htmldir ;;
   1111   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1112   | --ht=*)
   1113     htmldir=$ac_optarg ;;
   1114 
   1115   -includedir | --includedir | --includedi | --included | --include \
   1116   | --includ | --inclu | --incl | --inc)
   1117     ac_prev=includedir ;;
   1118   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1119   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1120     includedir=$ac_optarg ;;
   1121 
   1122   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1123     ac_prev=infodir ;;
   1124   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1125     infodir=$ac_optarg ;;
   1126 
   1127   -libdir | --libdir | --libdi | --libd)
   1128     ac_prev=libdir ;;
   1129   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1130     libdir=$ac_optarg ;;
   1131 
   1132   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1133   | --libexe | --libex | --libe)
   1134     ac_prev=libexecdir ;;
   1135   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1136   | --libexe=* | --libex=* | --libe=*)
   1137     libexecdir=$ac_optarg ;;
   1138 
   1139   -localedir | --localedir | --localedi | --localed | --locale)
   1140     ac_prev=localedir ;;
   1141   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1142     localedir=$ac_optarg ;;
   1143 
   1144   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1145   | --localstate | --localstat | --localsta | --localst | --locals)
   1146     ac_prev=localstatedir ;;
   1147   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1148   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1149     localstatedir=$ac_optarg ;;
   1150 
   1151   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1152     ac_prev=mandir ;;
   1153   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1154     mandir=$ac_optarg ;;
   1155 
   1156   -nfp | --nfp | --nf)
   1157     # Obsolete; use --without-fp.
   1158     with_fp=no ;;
   1159 
   1160   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1161   | --no-cr | --no-c | -n)
   1162     no_create=yes ;;
   1163 
   1164   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1165   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1166     no_recursion=yes ;;
   1167 
   1168   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1169   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1170   | --oldin | --oldi | --old | --ol | --o)
   1171     ac_prev=oldincludedir ;;
   1172   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1173   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1174   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1175     oldincludedir=$ac_optarg ;;
   1176 
   1177   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1178     ac_prev=prefix ;;
   1179   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1180     prefix=$ac_optarg ;;
   1181 
   1182   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1183   | --program-pre | --program-pr | --program-p)
   1184     ac_prev=program_prefix ;;
   1185   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1186   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1187     program_prefix=$ac_optarg ;;
   1188 
   1189   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1190   | --program-suf | --program-su | --program-s)
   1191     ac_prev=program_suffix ;;
   1192   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1193   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1194     program_suffix=$ac_optarg ;;
   1195 
   1196   -program-transform-name | --program-transform-name \
   1197   | --program-transform-nam | --program-transform-na \
   1198   | --program-transform-n | --program-transform- \
   1199   | --program-transform | --program-transfor \
   1200   | --program-transfo | --program-transf \
   1201   | --program-trans | --program-tran \
   1202   | --progr-tra | --program-tr | --program-t)
   1203     ac_prev=program_transform_name ;;
   1204   -program-transform-name=* | --program-transform-name=* \
   1205   | --program-transform-nam=* | --program-transform-na=* \
   1206   | --program-transform-n=* | --program-transform-=* \
   1207   | --program-transform=* | --program-transfor=* \
   1208   | --program-transfo=* | --program-transf=* \
   1209   | --program-trans=* | --program-tran=* \
   1210   | --progr-tra=* | --program-tr=* | --program-t=*)
   1211     program_transform_name=$ac_optarg ;;
   1212 
   1213   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1214     ac_prev=pdfdir ;;
   1215   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1216     pdfdir=$ac_optarg ;;
   1217 
   1218   -psdir | --psdir | --psdi | --psd | --ps)
   1219     ac_prev=psdir ;;
   1220   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1221     psdir=$ac_optarg ;;
   1222 
   1223   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1224   | -silent | --silent | --silen | --sile | --sil)
   1225     silent=yes ;;
   1226 
   1227   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1228     ac_prev=sbindir ;;
   1229   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1230   | --sbi=* | --sb=*)
   1231     sbindir=$ac_optarg ;;
   1232 
   1233   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1234   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1235   | --sharedst | --shareds | --shared | --share | --shar \
   1236   | --sha | --sh)
   1237     ac_prev=sharedstatedir ;;
   1238   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1239   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1240   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1241   | --sha=* | --sh=*)
   1242     sharedstatedir=$ac_optarg ;;
   1243 
   1244   -site | --site | --sit)
   1245     ac_prev=site ;;
   1246   -site=* | --site=* | --sit=*)
   1247     site=$ac_optarg ;;
   1248 
   1249   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1250     ac_prev=srcdir ;;
   1251   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1252     srcdir=$ac_optarg ;;
   1253 
   1254   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1255   | --syscon | --sysco | --sysc | --sys | --sy)
   1256     ac_prev=sysconfdir ;;
   1257   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1258   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1259     sysconfdir=$ac_optarg ;;
   1260 
   1261   -target | --target | --targe | --targ | --tar | --ta | --t)
   1262     ac_prev=target_alias ;;
   1263   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1264     target_alias=$ac_optarg ;;
   1265 
   1266   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1267     verbose=yes ;;
   1268 
   1269   -version | --version | --versio | --versi | --vers | -V)
   1270     ac_init_version=: ;;
   1271 
   1272   -with-* | --with-*)
   1273     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1274     # Reject names that are not valid shell variable names.
   1275     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1276       as_fn_error "invalid package name: $ac_useropt"
   1277     ac_useropt_orig=$ac_useropt
   1278     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1279     case $ac_user_opts in
   1280       *"
   1281 "with_$ac_useropt"
   1282 "*) ;;
   1283       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1284 	 ac_unrecognized_sep=', ';;
   1285     esac
   1286     eval with_$ac_useropt=\$ac_optarg ;;
   1287 
   1288   -without-* | --without-*)
   1289     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1290     # Reject names that are not valid shell variable names.
   1291     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1292       as_fn_error "invalid package name: $ac_useropt"
   1293     ac_useropt_orig=$ac_useropt
   1294     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1295     case $ac_user_opts in
   1296       *"
   1297 "with_$ac_useropt"
   1298 "*) ;;
   1299       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1300 	 ac_unrecognized_sep=', ';;
   1301     esac
   1302     eval with_$ac_useropt=no ;;
   1303 
   1304   --x)
   1305     # Obsolete; use --with-x.
   1306     with_x=yes ;;
   1307 
   1308   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1309   | --x-incl | --x-inc | --x-in | --x-i)
   1310     ac_prev=x_includes ;;
   1311   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1312   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1313     x_includes=$ac_optarg ;;
   1314 
   1315   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1316   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1317     ac_prev=x_libraries ;;
   1318   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1319   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1320     x_libraries=$ac_optarg ;;
   1321 
   1322   -*) as_fn_error "unrecognized option: \`$ac_option'
   1323 Try \`$0 --help' for more information."
   1324     ;;
   1325 
   1326   *=*)
   1327     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1328     # Reject names that are not valid shell variable names.
   1329     case $ac_envvar in #(
   1330       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1331       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1332     esac
   1333     eval $ac_envvar=\$ac_optarg
   1334     export $ac_envvar ;;
   1335 
   1336   *)
   1337     # FIXME: should be removed in autoconf 3.0.
   1338     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1339     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1340       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1341     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1342     ;;
   1343 
   1344   esac
   1345 done
   1346 
   1347 if test -n "$ac_prev"; then
   1348   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1349   as_fn_error "missing argument to $ac_option"
   1350 fi
   1351 
   1352 if test -n "$ac_unrecognized_opts"; then
   1353   case $enable_option_checking in
   1354     no) ;;
   1355     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1356     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1357   esac
   1358 fi
   1359 
   1360 # Check all directory arguments for consistency.
   1361 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1362 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1363 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1364 		libdir localedir mandir
   1365 do
   1366   eval ac_val=\$$ac_var
   1367   # Remove trailing slashes.
   1368   case $ac_val in
   1369     */ )
   1370       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1371       eval $ac_var=\$ac_val;;
   1372   esac
   1373   # Be sure to have absolute directory names.
   1374   case $ac_val in
   1375     [\\/$]* | ?:[\\/]* )  continue;;
   1376     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1377   esac
   1378   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1379 done
   1380 
   1381 # There might be people who depend on the old broken behavior: `$host'
   1382 # used to hold the argument of --host etc.
   1383 # FIXME: To remove some day.
   1384 build=$build_alias
   1385 host=$host_alias
   1386 target=$target_alias
   1387 
   1388 # FIXME: To remove some day.
   1389 if test "x$host_alias" != x; then
   1390   if test "x$build_alias" = x; then
   1391     cross_compiling=maybe
   1392     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1393     If a cross compiler is detected then cross compile mode will be used." >&2
   1394   elif test "x$build_alias" != "x$host_alias"; then
   1395     cross_compiling=yes
   1396   fi
   1397 fi
   1398 
   1399 ac_tool_prefix=
   1400 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1401 
   1402 test "$silent" = yes && exec 6>/dev/null
   1403 
   1404 
   1405 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1406 ac_ls_di=`ls -di .` &&
   1407 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1408   as_fn_error "working directory cannot be determined"
   1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1410   as_fn_error "pwd does not report name of working directory"
   1411 
   1412 
   1413 # Find the source files, if location was not specified.
   1414 if test -z "$srcdir"; then
   1415   ac_srcdir_defaulted=yes
   1416   # Try the directory containing this script, then the parent directory.
   1417   ac_confdir=`$as_dirname -- "$as_myself" ||
   1418 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1419 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1420 	 X"$as_myself" : 'X\(//\)$' \| \
   1421 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1422 $as_echo X"$as_myself" |
   1423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1424 	    s//\1/
   1425 	    q
   1426 	  }
   1427 	  /^X\(\/\/\)[^/].*/{
   1428 	    s//\1/
   1429 	    q
   1430 	  }
   1431 	  /^X\(\/\/\)$/{
   1432 	    s//\1/
   1433 	    q
   1434 	  }
   1435 	  /^X\(\/\).*/{
   1436 	    s//\1/
   1437 	    q
   1438 	  }
   1439 	  s/.*/./; q'`
   1440   srcdir=$ac_confdir
   1441   if test ! -r "$srcdir/$ac_unique_file"; then
   1442     srcdir=..
   1443   fi
   1444 else
   1445   ac_srcdir_defaulted=no
   1446 fi
   1447 if test ! -r "$srcdir/$ac_unique_file"; then
   1448   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1449   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1450 fi
   1451 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1452 ac_abs_confdir=`(
   1453 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1454 	pwd)`
   1455 # When building in place, set srcdir=.
   1456 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1457   srcdir=.
   1458 fi
   1459 # Remove unnecessary trailing slashes from srcdir.
   1460 # Double slashes in file names in object file debugging info
   1461 # mess up M-x gdb in Emacs.
   1462 case $srcdir in
   1463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1464 esac
   1465 for ac_var in $ac_precious_vars; do
   1466   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1467   eval ac_env_${ac_var}_value=\$${ac_var}
   1468   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1469   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1470 done
   1471 
   1472 #
   1473 # Report the --help message.
   1474 #
   1475 if test "$ac_init_help" = "long"; then
   1476   # Omit some internal or obsolete options to make the list less imposing.
   1477   # This message is too long to be a string in the A/UX 3.1 sh.
   1478   cat <<_ACEOF
   1479 \`configure' configures gperftools 2.0 to adapt to many kinds of systems.
   1480 
   1481 Usage: $0 [OPTION]... [VAR=VALUE]...
   1482 
   1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1484 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1485 
   1486 Defaults for the options are specified in brackets.
   1487 
   1488 Configuration:
   1489   -h, --help              display this help and exit
   1490       --help=short        display options specific to this package
   1491       --help=recursive    display the short help of all the included packages
   1492   -V, --version           display version information and exit
   1493   -q, --quiet, --silent   do not print \`checking...' messages
   1494       --cache-file=FILE   cache test results in FILE [disabled]
   1495   -C, --config-cache      alias for \`--cache-file=config.cache'
   1496   -n, --no-create         do not create output files
   1497       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1498 
   1499 Installation directories:
   1500   --prefix=PREFIX         install architecture-independent files in PREFIX
   1501                           [$ac_default_prefix]
   1502   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1503                           [PREFIX]
   1504 
   1505 By default, \`make install' will install all the files in
   1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1508 for instance \`--prefix=\$HOME'.
   1509 
   1510 For better control, use the options below.
   1511 
   1512 Fine tuning of the installation directories:
   1513   --bindir=DIR            user executables [EPREFIX/bin]
   1514   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1515   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1516   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1517   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1518   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1519   --libdir=DIR            object code libraries [EPREFIX/lib]
   1520   --includedir=DIR        C header files [PREFIX/include]
   1521   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1522   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1523   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1524   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1525   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1526   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1527   --docdir=DIR            documentation root [DATAROOTDIR/doc/gperftools]
   1528   --htmldir=DIR           html documentation [DOCDIR]
   1529   --dvidir=DIR            dvi documentation [DOCDIR]
   1530   --pdfdir=DIR            pdf documentation [DOCDIR]
   1531   --psdir=DIR             ps documentation [DOCDIR]
   1532 _ACEOF
   1533 
   1534   cat <<\_ACEOF
   1535 
   1536 Program names:
   1537   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1538   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1539   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1540 
   1541 System types:
   1542   --build=BUILD     configure for building on BUILD [guessed]
   1543   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1544 _ACEOF
   1545 fi
   1546 
   1547 if test -n "$ac_init_help"; then
   1548   case $ac_init_help in
   1549      short | recursive ) echo "Configuration of gperftools 2.0:";;
   1550    esac
   1551   cat <<\_ACEOF
   1552 
   1553 Optional Features:
   1554   --disable-option-checking  ignore unrecognized --enable/--with options
   1555   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1556   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1557   --disable-cpu-profiler  do not build the cpu profiler
   1558   --disable-heap-profiler do not build the heap profiler
   1559   --disable-heap-checker  do not build the heap checker
   1560   --disable-debugalloc    do not build versions of libs with debugalloc
   1561   --enable-minimal        build only tcmalloc-minimal (and maybe
   1562                           tcmalloc-minimal-debug)
   1563   --disable-dependency-tracking  speeds up one-time build
   1564   --enable-dependency-tracking   do not reject slow dependency extractors
   1565   --enable-fast-install[=PKGS]
   1566                           optimize for fast installation [default=no]
   1567   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1568   --enable-static[=PKGS]  build static libraries [default=yes]
   1569   --disable-libtool-lock  avoid locking (might break parallel builds)
   1570   --enable-frame-pointers On x86_64 systems, compile with
   1571                           -fno-omit-frame-pointer (see INSTALL)
   1572 
   1573 Optional Packages:
   1574   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1575   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1576   --with-pic              try to use only PIC/non-PIC objects [default=use
   1577                           both]
   1578   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1579 
   1580 Some influential environment variables:
   1581   CXX         C++ compiler command
   1582   CXXFLAGS    C++ compiler flags
   1583   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1584               nonstandard directory <lib dir>
   1585   LIBS        libraries to pass to the linker, e.g. -l<library>
   1586   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1587               you have headers in a nonstandard directory <include dir>
   1588   CC          C compiler command
   1589   CFLAGS      C compiler flags
   1590   CPP         C preprocessor
   1591   CXXCPP      C++ preprocessor
   1592 
   1593 Use these variables to override the choices made by `configure' or to help
   1594 it to find libraries and programs with nonstandard names/locations.
   1595 
   1596 Report bugs to <google-perftools@googlegroups.com>.
   1597 _ACEOF
   1598 ac_status=$?
   1599 fi
   1600 
   1601 if test "$ac_init_help" = "recursive"; then
   1602   # If there are subdirs, report their specific --help.
   1603   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1604     test -d "$ac_dir" ||
   1605       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1606       continue
   1607     ac_builddir=.
   1608 
   1609 case "$ac_dir" in
   1610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1611 *)
   1612   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1613   # A ".." for each directory in $ac_dir_suffix.
   1614   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1615   case $ac_top_builddir_sub in
   1616   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1617   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1618   esac ;;
   1619 esac
   1620 ac_abs_top_builddir=$ac_pwd
   1621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1622 # for backward compatibility:
   1623 ac_top_builddir=$ac_top_build_prefix
   1624 
   1625 case $srcdir in
   1626   .)  # We are building in place.
   1627     ac_srcdir=.
   1628     ac_top_srcdir=$ac_top_builddir_sub
   1629     ac_abs_top_srcdir=$ac_pwd ;;
   1630   [\\/]* | ?:[\\/]* )  # Absolute name.
   1631     ac_srcdir=$srcdir$ac_dir_suffix;
   1632     ac_top_srcdir=$srcdir
   1633     ac_abs_top_srcdir=$srcdir ;;
   1634   *) # Relative name.
   1635     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1636     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1637     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1638 esac
   1639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1640 
   1641     cd "$ac_dir" || { ac_status=$?; continue; }
   1642     # Check for guested configure.
   1643     if test -f "$ac_srcdir/configure.gnu"; then
   1644       echo &&
   1645       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1646     elif test -f "$ac_srcdir/configure"; then
   1647       echo &&
   1648       $SHELL "$ac_srcdir/configure" --help=recursive
   1649     else
   1650       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1651     fi || ac_status=$?
   1652     cd "$ac_pwd" || { ac_status=$?; break; }
   1653   done
   1654 fi
   1655 
   1656 test -n "$ac_init_help" && exit $ac_status
   1657 if $ac_init_version; then
   1658   cat <<\_ACEOF
   1659 gperftools configure 2.0
   1660 generated by GNU Autoconf 2.65
   1661 
   1662 Copyright (C) 2009 Free Software Foundation, Inc.
   1663 This configure script is free software; the Free Software Foundation
   1664 gives unlimited permission to copy, distribute and modify it.
   1665 _ACEOF
   1666   exit
   1667 fi
   1668 
   1669 ## ------------------------ ##
   1670 ## Autoconf initialization. ##
   1671 ## ------------------------ ##
   1672 
   1673 # ac_fn_cxx_try_compile LINENO
   1674 # ----------------------------
   1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1676 ac_fn_cxx_try_compile ()
   1677 {
   1678   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1679   rm -f conftest.$ac_objext
   1680   if { { ac_try="$ac_compile"
   1681 case "(($ac_try" in
   1682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1683   *) ac_try_echo=$ac_try;;
   1684 esac
   1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1686 $as_echo "$ac_try_echo"; } >&5
   1687   (eval "$ac_compile") 2>conftest.err
   1688   ac_status=$?
   1689   if test -s conftest.err; then
   1690     grep -v '^ *+' conftest.err >conftest.er1
   1691     cat conftest.er1 >&5
   1692     mv -f conftest.er1 conftest.err
   1693   fi
   1694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1695   test $ac_status = 0; } && {
   1696 	 test -z "$ac_cxx_werror_flag" ||
   1697 	 test ! -s conftest.err
   1698        } && test -s conftest.$ac_objext; then :
   1699   ac_retval=0
   1700 else
   1701   $as_echo "$as_me: failed program was:" >&5
   1702 sed 's/^/| /' conftest.$ac_ext >&5
   1703 
   1704 	ac_retval=1
   1705 fi
   1706   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1707   as_fn_set_status $ac_retval
   1708 
   1709 } # ac_fn_cxx_try_compile
   1710 
   1711 # ac_fn_c_try_compile LINENO
   1712 # --------------------------
   1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1714 ac_fn_c_try_compile ()
   1715 {
   1716   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1717   rm -f conftest.$ac_objext
   1718   if { { ac_try="$ac_compile"
   1719 case "(($ac_try" in
   1720   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1721   *) ac_try_echo=$ac_try;;
   1722 esac
   1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1724 $as_echo "$ac_try_echo"; } >&5
   1725   (eval "$ac_compile") 2>conftest.err
   1726   ac_status=$?
   1727   if test -s conftest.err; then
   1728     grep -v '^ *+' conftest.err >conftest.er1
   1729     cat conftest.er1 >&5
   1730     mv -f conftest.er1 conftest.err
   1731   fi
   1732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1733   test $ac_status = 0; } && {
   1734 	 test -z "$ac_c_werror_flag" ||
   1735 	 test ! -s conftest.err
   1736        } && test -s conftest.$ac_objext; then :
   1737   ac_retval=0
   1738 else
   1739   $as_echo "$as_me: failed program was:" >&5
   1740 sed 's/^/| /' conftest.$ac_ext >&5
   1741 
   1742 	ac_retval=1
   1743 fi
   1744   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1745   as_fn_set_status $ac_retval
   1746 
   1747 } # ac_fn_c_try_compile
   1748 
   1749 # ac_fn_c_try_cpp LINENO
   1750 # ----------------------
   1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1752 ac_fn_c_try_cpp ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1756 case "(($ac_try" in
   1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1758   *) ac_try_echo=$ac_try;;
   1759 esac
   1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1761 $as_echo "$ac_try_echo"; } >&5
   1762   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1763   ac_status=$?
   1764   if test -s conftest.err; then
   1765     grep -v '^ *+' conftest.err >conftest.er1
   1766     cat conftest.er1 >&5
   1767     mv -f conftest.er1 conftest.err
   1768   fi
   1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1770   test $ac_status = 0; } >/dev/null && {
   1771 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1772 	 test ! -s conftest.err
   1773        }; then :
   1774   ac_retval=0
   1775 else
   1776   $as_echo "$as_me: failed program was:" >&5
   1777 sed 's/^/| /' conftest.$ac_ext >&5
   1778 
   1779     ac_retval=1
   1780 fi
   1781   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1782   as_fn_set_status $ac_retval
   1783 
   1784 } # ac_fn_c_try_cpp
   1785 
   1786 # ac_fn_c_try_link LINENO
   1787 # -----------------------
   1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1789 ac_fn_c_try_link ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   rm -f conftest.$ac_objext conftest$ac_exeext
   1793   if { { ac_try="$ac_link"
   1794 case "(($ac_try" in
   1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1796   *) ac_try_echo=$ac_try;;
   1797 esac
   1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1799 $as_echo "$ac_try_echo"; } >&5
   1800   (eval "$ac_link") 2>conftest.err
   1801   ac_status=$?
   1802   if test -s conftest.err; then
   1803     grep -v '^ *+' conftest.err >conftest.er1
   1804     cat conftest.er1 >&5
   1805     mv -f conftest.er1 conftest.err
   1806   fi
   1807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1808   test $ac_status = 0; } && {
   1809 	 test -z "$ac_c_werror_flag" ||
   1810 	 test ! -s conftest.err
   1811        } && test -s conftest$ac_exeext && {
   1812 	 test "$cross_compiling" = yes ||
   1813 	 $as_test_x conftest$ac_exeext
   1814        }; then :
   1815   ac_retval=0
   1816 else
   1817   $as_echo "$as_me: failed program was:" >&5
   1818 sed 's/^/| /' conftest.$ac_ext >&5
   1819 
   1820 	ac_retval=1
   1821 fi
   1822   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1823   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1824   # interfere with the next link command; also delete a directory that is
   1825   # left behind by Apple's compiler.  We do this before executing the actions.
   1826   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1827   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1828   as_fn_set_status $ac_retval
   1829 
   1830 } # ac_fn_c_try_link
   1831 
   1832 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1833 # -------------------------------------------------------
   1834 # Tests whether HEADER exists and can be compiled using the include files in
   1835 # INCLUDES, setting the cache variable VAR accordingly.
   1836 ac_fn_c_check_header_compile ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1840 $as_echo_n "checking for $2... " >&6; }
   1841 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1842   $as_echo_n "(cached) " >&6
   1843 else
   1844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1845 /* end confdefs.h.  */
   1846 $4
   1847 #include <$2>
   1848 _ACEOF
   1849 if ac_fn_c_try_compile "$LINENO"; then :
   1850   eval "$3=yes"
   1851 else
   1852   eval "$3=no"
   1853 fi
   1854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1855 fi
   1856 eval ac_res=\$$3
   1857 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1858 $as_echo "$ac_res" >&6; }
   1859   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1860 
   1861 } # ac_fn_c_check_header_compile
   1862 
   1863 # ac_fn_c_try_run LINENO
   1864 # ----------------------
   1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1866 # that executables *can* be run.
   1867 ac_fn_c_try_run ()
   1868 {
   1869   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1870   if { { ac_try="$ac_link"
   1871 case "(($ac_try" in
   1872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1873   *) ac_try_echo=$ac_try;;
   1874 esac
   1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1876 $as_echo "$ac_try_echo"; } >&5
   1877   (eval "$ac_link") 2>&5
   1878   ac_status=$?
   1879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1880   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1881   { { case "(($ac_try" in
   1882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1883   *) ac_try_echo=$ac_try;;
   1884 esac
   1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1886 $as_echo "$ac_try_echo"; } >&5
   1887   (eval "$ac_try") 2>&5
   1888   ac_status=$?
   1889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1890   test $ac_status = 0; }; }; then :
   1891   ac_retval=0
   1892 else
   1893   $as_echo "$as_me: program exited with status $ac_status" >&5
   1894        $as_echo "$as_me: failed program was:" >&5
   1895 sed 's/^/| /' conftest.$ac_ext >&5
   1896 
   1897        ac_retval=$ac_status
   1898 fi
   1899   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1900   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1901   as_fn_set_status $ac_retval
   1902 
   1903 } # ac_fn_c_try_run
   1904 
   1905 # ac_fn_c_check_func LINENO FUNC VAR
   1906 # ----------------------------------
   1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1908 ac_fn_c_check_func ()
   1909 {
   1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1912 $as_echo_n "checking for $2... " >&6; }
   1913 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1914   $as_echo_n "(cached) " >&6
   1915 else
   1916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1917 /* end confdefs.h.  */
   1918 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1919    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1920 #define $2 innocuous_$2
   1921 
   1922 /* System header to define __stub macros and hopefully few prototypes,
   1923     which can conflict with char $2 (); below.
   1924     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1925     <limits.h> exists even on freestanding compilers.  */
   1926 
   1927 #ifdef __STDC__
   1928 # include <limits.h>
   1929 #else
   1930 # include <assert.h>
   1931 #endif
   1932 
   1933 #undef $2
   1934 
   1935 /* Override any GCC internal prototype to avoid an error.
   1936    Use char because int might match the return type of a GCC
   1937    builtin and then its argument prototype would still apply.  */
   1938 #ifdef __cplusplus
   1939 extern "C"
   1940 #endif
   1941 char $2 ();
   1942 /* The GNU C library defines this for functions which it implements
   1943     to always fail with ENOSYS.  Some functions are actually named
   1944     something starting with __ and the normal name is an alias.  */
   1945 #if defined __stub_$2 || defined __stub___$2
   1946 choke me
   1947 #endif
   1948 
   1949 int
   1950 main ()
   1951 {
   1952 return $2 ();
   1953   ;
   1954   return 0;
   1955 }
   1956 _ACEOF
   1957 if ac_fn_c_try_link "$LINENO"; then :
   1958   eval "$3=yes"
   1959 else
   1960   eval "$3=no"
   1961 fi
   1962 rm -f core conftest.err conftest.$ac_objext \
   1963     conftest$ac_exeext conftest.$ac_ext
   1964 fi
   1965 eval ac_res=\$$3
   1966 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1967 $as_echo "$ac_res" >&6; }
   1968   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1969 
   1970 } # ac_fn_c_check_func
   1971 
   1972 # ac_fn_cxx_try_cpp LINENO
   1973 # ------------------------
   1974 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1975 ac_fn_cxx_try_cpp ()
   1976 {
   1977   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1978   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1979 case "(($ac_try" in
   1980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1981   *) ac_try_echo=$ac_try;;
   1982 esac
   1983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1984 $as_echo "$ac_try_echo"; } >&5
   1985   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1986   ac_status=$?
   1987   if test -s conftest.err; then
   1988     grep -v '^ *+' conftest.err >conftest.er1
   1989     cat conftest.er1 >&5
   1990     mv -f conftest.er1 conftest.err
   1991   fi
   1992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1993   test $ac_status = 0; } >/dev/null && {
   1994 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1995 	 test ! -s conftest.err
   1996        }; then :
   1997   ac_retval=0
   1998 else
   1999   $as_echo "$as_me: failed program was:" >&5
   2000 sed 's/^/| /' conftest.$ac_ext >&5
   2001 
   2002     ac_retval=1
   2003 fi
   2004   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2005   as_fn_set_status $ac_retval
   2006 
   2007 } # ac_fn_cxx_try_cpp
   2008 
   2009 # ac_fn_cxx_try_link LINENO
   2010 # -------------------------
   2011 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2012 ac_fn_cxx_try_link ()
   2013 {
   2014   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2015   rm -f conftest.$ac_objext conftest$ac_exeext
   2016   if { { ac_try="$ac_link"
   2017 case "(($ac_try" in
   2018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2019   *) ac_try_echo=$ac_try;;
   2020 esac
   2021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2022 $as_echo "$ac_try_echo"; } >&5
   2023   (eval "$ac_link") 2>conftest.err
   2024   ac_status=$?
   2025   if test -s conftest.err; then
   2026     grep -v '^ *+' conftest.err >conftest.er1
   2027     cat conftest.er1 >&5
   2028     mv -f conftest.er1 conftest.err
   2029   fi
   2030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2031   test $ac_status = 0; } && {
   2032 	 test -z "$ac_cxx_werror_flag" ||
   2033 	 test ! -s conftest.err
   2034        } && test -s conftest$ac_exeext && {
   2035 	 test "$cross_compiling" = yes ||
   2036 	 $as_test_x conftest$ac_exeext
   2037        }; then :
   2038   ac_retval=0
   2039 else
   2040   $as_echo "$as_me: failed program was:" >&5
   2041 sed 's/^/| /' conftest.$ac_ext >&5
   2042 
   2043 	ac_retval=1
   2044 fi
   2045   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2046   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2047   # interfere with the next link command; also delete a directory that is
   2048   # left behind by Apple's compiler.  We do this before executing the actions.
   2049   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2050   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2051   as_fn_set_status $ac_retval
   2052 
   2053 } # ac_fn_cxx_try_link
   2054 
   2055 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2056 # -------------------------------------------
   2057 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2058 # variable VAR accordingly.
   2059 ac_fn_c_check_type ()
   2060 {
   2061   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2063 $as_echo_n "checking for $2... " >&6; }
   2064 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2065   $as_echo_n "(cached) " >&6
   2066 else
   2067   eval "$3=no"
   2068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2069 /* end confdefs.h.  */
   2070 $4
   2071 int
   2072 main ()
   2073 {
   2074 if (sizeof ($2))
   2075 	 return 0;
   2076   ;
   2077   return 0;
   2078 }
   2079 _ACEOF
   2080 if ac_fn_c_try_compile "$LINENO"; then :
   2081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2082 /* end confdefs.h.  */
   2083 $4
   2084 int
   2085 main ()
   2086 {
   2087 if (sizeof (($2)))
   2088 	    return 0;
   2089   ;
   2090   return 0;
   2091 }
   2092 _ACEOF
   2093 if ac_fn_c_try_compile "$LINENO"; then :
   2094 
   2095 else
   2096   eval "$3=yes"
   2097 fi
   2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2099 fi
   2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2101 fi
   2102 eval ac_res=\$$3
   2103 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2104 $as_echo "$ac_res" >&6; }
   2105   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2106 
   2107 } # ac_fn_c_check_type
   2108 
   2109 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   2110 # -------------------------------------------------------
   2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   2112 # the include files in INCLUDES and setting the cache variable VAR
   2113 # accordingly.
   2114 ac_fn_c_check_header_mongrel ()
   2115 {
   2116   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2117   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2119 $as_echo_n "checking for $2... " >&6; }
   2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2121   $as_echo_n "(cached) " >&6
   2122 fi
   2123 eval ac_res=\$$3
   2124 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2125 $as_echo "$ac_res" >&6; }
   2126 else
   2127   # Is the header compilable?
   2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   2129 $as_echo_n "checking $2 usability... " >&6; }
   2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2131 /* end confdefs.h.  */
   2132 $4
   2133 #include <$2>
   2134 _ACEOF
   2135 if ac_fn_c_try_compile "$LINENO"; then :
   2136   ac_header_compiler=yes
   2137 else
   2138   ac_header_compiler=no
   2139 fi
   2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2142 $as_echo "$ac_header_compiler" >&6; }
   2143 
   2144 # Is the header present?
   2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2146 $as_echo_n "checking $2 presence... " >&6; }
   2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2148 /* end confdefs.h.  */
   2149 #include <$2>
   2150 _ACEOF
   2151 if ac_fn_c_try_cpp "$LINENO"; then :
   2152   ac_header_preproc=yes
   2153 else
   2154   ac_header_preproc=no
   2155 fi
   2156 rm -f conftest.err conftest.$ac_ext
   2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2158 $as_echo "$ac_header_preproc" >&6; }
   2159 
   2160 # So?  What about this header?
   2161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2162   yes:no: )
   2163     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2165     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2167     ;;
   2168   no:yes:* )
   2169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2172 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2176 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2179 ( cat <<\_ASBOX
   2180 ## ------------------------------------------------ ##
   2181 ## Report this to google-perftools (at] googlegroups.com ##
   2182 ## ------------------------------------------------ ##
   2183 _ASBOX
   2184      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2185     ;;
   2186 esac
   2187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2188 $as_echo_n "checking for $2... " >&6; }
   2189 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2190   $as_echo_n "(cached) " >&6
   2191 else
   2192   eval "$3=\$ac_header_compiler"
   2193 fi
   2194 eval ac_res=\$$3
   2195 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2196 $as_echo "$ac_res" >&6; }
   2197 fi
   2198   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2199 
   2200 } # ac_fn_c_check_header_mongrel
   2201 
   2202 # ac_fn_c_check_decl LINENO SYMBOL VAR
   2203 # ------------------------------------
   2204 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   2205 ac_fn_c_check_decl ()
   2206 {
   2207   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
   2209 $as_echo_n "checking whether $2 is declared... " >&6; }
   2210 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2211   $as_echo_n "(cached) " >&6
   2212 else
   2213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2214 /* end confdefs.h.  */
   2215 $4
   2216 int
   2217 main ()
   2218 {
   2219 #ifndef $2
   2220   (void) $2;
   2221 #endif
   2222 
   2223   ;
   2224   return 0;
   2225 }
   2226 _ACEOF
   2227 if ac_fn_c_try_compile "$LINENO"; then :
   2228   eval "$3=yes"
   2229 else
   2230   eval "$3=no"
   2231 fi
   2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2233 fi
   2234 eval ac_res=\$$3
   2235 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2236 $as_echo "$ac_res" >&6; }
   2237   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2238 
   2239 } # ac_fn_c_check_decl
   2240 cat >config.log <<_ACEOF
   2241 This file contains any messages produced by compilers while
   2242 running configure, to aid debugging if configure makes a mistake.
   2243 
   2244 It was created by gperftools $as_me 2.0, which was
   2245 generated by GNU Autoconf 2.65.  Invocation command line was
   2246 
   2247   $ $0 $@
   2248 
   2249 _ACEOF
   2250 exec 5>>config.log
   2251 {
   2252 cat <<_ASUNAME
   2253 ## --------- ##
   2254 ## Platform. ##
   2255 ## --------- ##
   2256 
   2257 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2258 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2259 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2260 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2261 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2262 
   2263 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2264 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2265 
   2266 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2267 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2268 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2269 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2270 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2271 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2272 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2273 
   2274 _ASUNAME
   2275 
   2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2277 for as_dir in $PATH
   2278 do
   2279   IFS=$as_save_IFS
   2280   test -z "$as_dir" && as_dir=.
   2281     $as_echo "PATH: $as_dir"
   2282   done
   2283 IFS=$as_save_IFS
   2284 
   2285 } >&5
   2286 
   2287 cat >&5 <<_ACEOF
   2288 
   2289 
   2290 ## ----------- ##
   2291 ## Core tests. ##
   2292 ## ----------- ##
   2293 
   2294 _ACEOF
   2295 
   2296 
   2297 # Keep a trace of the command line.
   2298 # Strip out --no-create and --no-recursion so they do not pile up.
   2299 # Strip out --silent because we don't want to record it for future runs.
   2300 # Also quote any args containing shell meta-characters.
   2301 # Make two passes to allow for proper duplicate-argument suppression.
   2302 ac_configure_args=
   2303 ac_configure_args0=
   2304 ac_configure_args1=
   2305 ac_must_keep_next=false
   2306 for ac_pass in 1 2
   2307 do
   2308   for ac_arg
   2309   do
   2310     case $ac_arg in
   2311     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2312     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2313     | -silent | --silent | --silen | --sile | --sil)
   2314       continue ;;
   2315     *\'*)
   2316       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2317     esac
   2318     case $ac_pass in
   2319     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2320     2)
   2321       as_fn_append ac_configure_args1 " '$ac_arg'"
   2322       if test $ac_must_keep_next = true; then
   2323 	ac_must_keep_next=false # Got value, back to normal.
   2324       else
   2325 	case $ac_arg in
   2326 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2327 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2328 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2329 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2330 	    case "$ac_configure_args0 " in
   2331 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2332 	    esac
   2333 	    ;;
   2334 	  -* ) ac_must_keep_next=true ;;
   2335 	esac
   2336       fi
   2337       as_fn_append ac_configure_args " '$ac_arg'"
   2338       ;;
   2339     esac
   2340   done
   2341 done
   2342 { ac_configure_args0=; unset ac_configure_args0;}
   2343 { ac_configure_args1=; unset ac_configure_args1;}
   2344 
   2345 # When interrupted or exit'd, cleanup temporary files, and complete
   2346 # config.log.  We remove comments because anyway the quotes in there
   2347 # would cause problems or look ugly.
   2348 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2349 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2350 trap 'exit_status=$?
   2351   # Save into config.log some information that might help in debugging.
   2352   {
   2353     echo
   2354 
   2355     cat <<\_ASBOX
   2356 ## ---------------- ##
   2357 ## Cache variables. ##
   2358 ## ---------------- ##
   2359 _ASBOX
   2360     echo
   2361     # The following way of writing the cache mishandles newlines in values,
   2362 (
   2363   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2364     eval ac_val=\$$ac_var
   2365     case $ac_val in #(
   2366     *${as_nl}*)
   2367       case $ac_var in #(
   2368       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2369 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2370       esac
   2371       case $ac_var in #(
   2372       _ | IFS | as_nl) ;; #(
   2373       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2374       *) { eval $ac_var=; unset $ac_var;} ;;
   2375       esac ;;
   2376     esac
   2377   done
   2378   (set) 2>&1 |
   2379     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2380     *${as_nl}ac_space=\ *)
   2381       sed -n \
   2382 	"s/'\''/'\''\\\\'\'''\''/g;
   2383 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2384       ;; #(
   2385     *)
   2386       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2387       ;;
   2388     esac |
   2389     sort
   2390 )
   2391     echo
   2392 
   2393     cat <<\_ASBOX
   2394 ## ----------------- ##
   2395 ## Output variables. ##
   2396 ## ----------------- ##
   2397 _ASBOX
   2398     echo
   2399     for ac_var in $ac_subst_vars
   2400     do
   2401       eval ac_val=\$$ac_var
   2402       case $ac_val in
   2403       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2404       esac
   2405       $as_echo "$ac_var='\''$ac_val'\''"
   2406     done | sort
   2407     echo
   2408 
   2409     if test -n "$ac_subst_files"; then
   2410       cat <<\_ASBOX
   2411 ## ------------------- ##
   2412 ## File substitutions. ##
   2413 ## ------------------- ##
   2414 _ASBOX
   2415       echo
   2416       for ac_var in $ac_subst_files
   2417       do
   2418 	eval ac_val=\$$ac_var
   2419 	case $ac_val in
   2420 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2421 	esac
   2422 	$as_echo "$ac_var='\''$ac_val'\''"
   2423       done | sort
   2424       echo
   2425     fi
   2426 
   2427     if test -s confdefs.h; then
   2428       cat <<\_ASBOX
   2429 ## ----------- ##
   2430 ## confdefs.h. ##
   2431 ## ----------- ##
   2432 _ASBOX
   2433       echo
   2434       cat confdefs.h
   2435       echo
   2436     fi
   2437     test "$ac_signal" != 0 &&
   2438       $as_echo "$as_me: caught signal $ac_signal"
   2439     $as_echo "$as_me: exit $exit_status"
   2440   } >&5
   2441   rm -f core *.core core.conftest.* &&
   2442     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2443     exit $exit_status
   2444 ' 0
   2445 for ac_signal in 1 2 13 15; do
   2446   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2447 done
   2448 ac_signal=0
   2449 
   2450 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2451 rm -f -r conftest* confdefs.h
   2452 
   2453 $as_echo "/* confdefs.h */" > confdefs.h
   2454 
   2455 # Predefined preprocessor variables.
   2456 
   2457 cat >>confdefs.h <<_ACEOF
   2458 #define PACKAGE_NAME "$PACKAGE_NAME"
   2459 _ACEOF
   2460 
   2461 cat >>confdefs.h <<_ACEOF
   2462 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2463 _ACEOF
   2464 
   2465 cat >>confdefs.h <<_ACEOF
   2466 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2467 _ACEOF
   2468 
   2469 cat >>confdefs.h <<_ACEOF
   2470 #define PACKAGE_STRING "$PACKAGE_STRING"
   2471 _ACEOF
   2472 
   2473 cat >>confdefs.h <<_ACEOF
   2474 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2475 _ACEOF
   2476 
   2477 cat >>confdefs.h <<_ACEOF
   2478 #define PACKAGE_URL "$PACKAGE_URL"
   2479 _ACEOF
   2480 
   2481 
   2482 # Let the site file select an alternate cache file if it wants to.
   2483 # Prefer an explicitly selected file to automatically selected ones.
   2484 ac_site_file1=NONE
   2485 ac_site_file2=NONE
   2486 if test -n "$CONFIG_SITE"; then
   2487   ac_site_file1=$CONFIG_SITE
   2488 elif test "x$prefix" != xNONE; then
   2489   ac_site_file1=$prefix/share/config.site
   2490   ac_site_file2=$prefix/etc/config.site
   2491 else
   2492   ac_site_file1=$ac_default_prefix/share/config.site
   2493   ac_site_file2=$ac_default_prefix/etc/config.site
   2494 fi
   2495 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2496 do
   2497   test "x$ac_site_file" = xNONE && continue
   2498   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2499     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2500 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2501     sed 's/^/| /' "$ac_site_file" >&5
   2502     . "$ac_site_file"
   2503   fi
   2504 done
   2505 
   2506 if test -r "$cache_file"; then
   2507   # Some versions of bash will fail to source /dev/null (special files
   2508   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2509   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2510     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2511 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2512     case $cache_file in
   2513       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2514       *)                      . "./$cache_file";;
   2515     esac
   2516   fi
   2517 else
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2519 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2520   >$cache_file
   2521 fi
   2522 
   2523 as_fn_append ac_header_list " stdlib.h"
   2524 as_fn_append ac_header_list " unistd.h"
   2525 as_fn_append ac_header_list " sys/param.h"
   2526 # Check that the precious variables saved in the cache have kept the same
   2527 # value.
   2528 ac_cache_corrupted=false
   2529 for ac_var in $ac_precious_vars; do
   2530   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2531   eval ac_new_set=\$ac_env_${ac_var}_set
   2532   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2533   eval ac_new_val=\$ac_env_${ac_var}_value
   2534   case $ac_old_set,$ac_new_set in
   2535     set,)
   2536       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2537 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2538       ac_cache_corrupted=: ;;
   2539     ,set)
   2540       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2541 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2542       ac_cache_corrupted=: ;;
   2543     ,);;
   2544     *)
   2545       if test "x$ac_old_val" != "x$ac_new_val"; then
   2546 	# differences in whitespace do not lead to failure.
   2547 	ac_old_val_w=`echo x $ac_old_val`
   2548 	ac_new_val_w=`echo x $ac_new_val`
   2549 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2550 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2551 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2552 	  ac_cache_corrupted=:
   2553 	else
   2554 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2555 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2556 	  eval $ac_var=\$ac_old_val
   2557 	fi
   2558 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2559 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2560 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2561 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2562       fi;;
   2563   esac
   2564   # Pass precious variables to config.status.
   2565   if test "$ac_new_set" = set; then
   2566     case $ac_new_val in
   2567     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2568     *) ac_arg=$ac_var=$ac_new_val ;;
   2569     esac
   2570     case " $ac_configure_args " in
   2571       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2572       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2573     esac
   2574   fi
   2575 done
   2576 if $ac_cache_corrupted; then
   2577   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2580 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2581   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2582 fi
   2583 ## -------------------- ##
   2584 ## Main body of script. ##
   2585 ## -------------------- ##
   2586 
   2587 ac_ext=c
   2588 ac_cpp='$CPP $CPPFLAGS'
   2589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2592 
   2593 
   2594 # Update this value for every release!  (A:B:C will map to foo.so.(A-C).C.B)
   2595 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
   2596 TCMALLOC_SO_VERSION=5:0:1
   2597 PROFILER_SO_VERSION=3:0:3
   2598 
   2599 
   2600 
   2601 
   2602 # The argument here is just something that should be in the current directory
   2603 # (for sanity checking)
   2604 
   2605 
   2606 ac_aux_dir=
   2607 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2608   for ac_t in install-sh install.sh shtool; do
   2609     if test -f "$ac_dir/$ac_t"; then
   2610       ac_aux_dir=$ac_dir
   2611       ac_install_sh="$ac_aux_dir/$ac_t -c"
   2612       break 2
   2613     fi
   2614   done
   2615 done
   2616 if test -z "$ac_aux_dir"; then
   2617   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2618 fi
   2619 
   2620 # These three variables are undocumented and unsupported,
   2621 # and are intended to be withdrawn in a future Autoconf release.
   2622 # They can cause serious problems if a builder's source tree is in a directory
   2623 # whose full name contains unusual characters.
   2624 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2625 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2626 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2627 
   2628 
   2629 # Make sure we can run config.sub.
   2630 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2631   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2632 
   2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2634 $as_echo_n "checking build system type... " >&6; }
   2635 if test "${ac_cv_build+set}" = set; then :
   2636   $as_echo_n "(cached) " >&6
   2637 else
   2638   ac_build_alias=$build_alias
   2639 test "x$ac_build_alias" = x &&
   2640   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2641 test "x$ac_build_alias" = x &&
   2642   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2643 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2644   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2645 
   2646 fi
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2648 $as_echo "$ac_cv_build" >&6; }
   2649 case $ac_cv_build in
   2650 *-*-*) ;;
   2651 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2652 esac
   2653 build=$ac_cv_build
   2654 ac_save_IFS=$IFS; IFS='-'
   2655 set x $ac_cv_build
   2656 shift
   2657 build_cpu=$1
   2658 build_vendor=$2
   2659 shift; shift
   2660 # Remember, the first character of IFS is used to create $*,
   2661 # except with old shells:
   2662 build_os=$*
   2663 IFS=$ac_save_IFS
   2664 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2665 
   2666 
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2668 $as_echo_n "checking host system type... " >&6; }
   2669 if test "${ac_cv_host+set}" = set; then :
   2670   $as_echo_n "(cached) " >&6
   2671 else
   2672   if test "x$host_alias" = x; then
   2673   ac_cv_host=$ac_cv_build
   2674 else
   2675   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2676     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2677 fi
   2678 
   2679 fi
   2680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2681 $as_echo "$ac_cv_host" >&6; }
   2682 case $ac_cv_host in
   2683 *-*-*) ;;
   2684 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2685 esac
   2686 host=$ac_cv_host
   2687 ac_save_IFS=$IFS; IFS='-'
   2688 set x $ac_cv_host
   2689 shift
   2690 host_cpu=$1
   2691 host_vendor=$2
   2692 shift; shift
   2693 # Remember, the first character of IFS is used to create $*,
   2694 # except with old shells:
   2695 host_os=$*
   2696 IFS=$ac_save_IFS
   2697 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2698 
   2699 
   2700 am__api_version='1.10'
   2701 
   2702 # Find a good install program.  We prefer a C program (faster),
   2703 # so one script is as good as another.  But avoid the broken or
   2704 # incompatible versions:
   2705 # SysV /etc/install, /usr/sbin/install
   2706 # SunOS /usr/etc/install
   2707 # IRIX /sbin/install
   2708 # AIX /bin/install
   2709 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2710 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2711 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2712 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2713 # OS/2's system install, which has a completely different semantic
   2714 # ./install, which can be erroneously created by make from ./install.sh.
   2715 # Reject install programs that cannot install multiple files.
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2717 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2718 if test -z "$INSTALL"; then
   2719 if test "${ac_cv_path_install+set}" = set; then :
   2720   $as_echo_n "(cached) " >&6
   2721 else
   2722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2723 for as_dir in $PATH
   2724 do
   2725   IFS=$as_save_IFS
   2726   test -z "$as_dir" && as_dir=.
   2727     # Account for people who put trailing slashes in PATH elements.
   2728 case $as_dir/ in #((
   2729   ./ | .// | /[cC]/* | \
   2730   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2731   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2732   /usr/ucb/* ) ;;
   2733   *)
   2734     # OSF1 and SCO ODT 3.0 have their own names for install.
   2735     # Don't use installbsd from OSF since it installs stuff as root
   2736     # by default.
   2737     for ac_prog in ginstall scoinst install; do
   2738       for ac_exec_ext in '' $ac_executable_extensions; do
   2739 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2740 	  if test $ac_prog = install &&
   2741 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2742 	    # AIX install.  It has an incompatible calling convention.
   2743 	    :
   2744 	  elif test $ac_prog = install &&
   2745 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2746 	    # program-specific install script used by HP pwplus--don't use.
   2747 	    :
   2748 	  else
   2749 	    rm -rf conftest.one conftest.two conftest.dir
   2750 	    echo one > conftest.one
   2751 	    echo two > conftest.two
   2752 	    mkdir conftest.dir
   2753 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2754 	      test -s conftest.one && test -s conftest.two &&
   2755 	      test -s conftest.dir/conftest.one &&
   2756 	      test -s conftest.dir/conftest.two
   2757 	    then
   2758 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2759 	      break 3
   2760 	    fi
   2761 	  fi
   2762 	fi
   2763       done
   2764     done
   2765     ;;
   2766 esac
   2767 
   2768   done
   2769 IFS=$as_save_IFS
   2770 
   2771 rm -rf conftest.one conftest.two conftest.dir
   2772 
   2773 fi
   2774   if test "${ac_cv_path_install+set}" = set; then
   2775     INSTALL=$ac_cv_path_install
   2776   else
   2777     # As a last resort, use the slow shell script.  Don't cache a
   2778     # value for INSTALL within a source directory, because that will
   2779     # break other packages using the cache if that directory is
   2780     # removed, or if the value is a relative name.
   2781     INSTALL=$ac_install_sh
   2782   fi
   2783 fi
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2785 $as_echo "$INSTALL" >&6; }
   2786 
   2787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2788 # It thinks the first close brace ends the variable substitution.
   2789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2790 
   2791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2792 
   2793 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2794 
   2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2796 $as_echo_n "checking whether build environment is sane... " >&6; }
   2797 # Just in case
   2798 sleep 1
   2799 echo timestamp > conftest.file
   2800 # Do `set' in a subshell so we don't clobber the current shell's
   2801 # arguments.  Must try -L first in case configure is actually a
   2802 # symlink; some systems play weird games with the mod time of symlinks
   2803 # (eg FreeBSD returns the mod time of the symlink's containing
   2804 # directory).
   2805 if (
   2806    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2807    if test "$*" = "X"; then
   2808       # -L didn't work.
   2809       set X `ls -t $srcdir/configure conftest.file`
   2810    fi
   2811    rm -f conftest.file
   2812    if test "$*" != "X $srcdir/configure conftest.file" \
   2813       && test "$*" != "X conftest.file $srcdir/configure"; then
   2814 
   2815       # If neither matched, then we have a broken ls.  This can happen
   2816       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2817       # broken ls alias from the environment.  This has actually
   2818       # happened.  Such a system could not be considered "sane".
   2819       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   2820 alias in your environment" "$LINENO" 5
   2821    fi
   2822 
   2823    test "$2" = conftest.file
   2824    )
   2825 then
   2826    # Ok.
   2827    :
   2828 else
   2829    as_fn_error "newly created file is older than distributed files!
   2830 Check your system clock" "$LINENO" 5
   2831 fi
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2833 $as_echo "yes" >&6; }
   2834 test "$program_prefix" != NONE &&
   2835   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2836 # Use a double $ so make ignores it.
   2837 test "$program_suffix" != NONE &&
   2838   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2839 # Double any \ or $.
   2840 # By default was `s,x,x', remove it if useless.
   2841 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2842 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2843 
   2844 # expand $ac_aux_dir to an absolute path
   2845 am_aux_dir=`cd $ac_aux_dir && pwd`
   2846 
   2847 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2848 # Use eval to expand $SHELL
   2849 if eval "$MISSING --run true"; then
   2850   am_missing_run="$MISSING --run "
   2851 else
   2852   am_missing_run=
   2853   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2854 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2855 fi
   2856 
   2857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2858 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2859 if test -z "$MKDIR_P"; then
   2860   if test "${ac_cv_path_mkdir+set}" = set; then :
   2861   $as_echo_n "(cached) " >&6
   2862 else
   2863   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2864 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2865 do
   2866   IFS=$as_save_IFS
   2867   test -z "$as_dir" && as_dir=.
   2868     for ac_prog in mkdir gmkdir; do
   2869 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2870 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2871 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2872 	     'mkdir (GNU coreutils) '* | \
   2873 	     'mkdir (coreutils) '* | \
   2874 	     'mkdir (fileutils) '4.1*)
   2875 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2876 	       break 3;;
   2877 	   esac
   2878 	 done
   2879        done
   2880   done
   2881 IFS=$as_save_IFS
   2882 
   2883 fi
   2884 
   2885   test -d ./--version && rmdir ./--version
   2886   if test "${ac_cv_path_mkdir+set}" = set; then
   2887     MKDIR_P="$ac_cv_path_mkdir -p"
   2888   else
   2889     # As a last resort, use the slow shell script.  Don't cache a
   2890     # value for MKDIR_P within a source directory, because that will
   2891     # break other packages using the cache if that directory is
   2892     # removed, or if the value is a relative name.
   2893     MKDIR_P="$ac_install_sh -d"
   2894   fi
   2895 fi
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2897 $as_echo "$MKDIR_P" >&6; }
   2898 
   2899 mkdir_p="$MKDIR_P"
   2900 case $mkdir_p in
   2901   [\\/$]* | ?:[\\/]*) ;;
   2902   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2903 esac
   2904 
   2905 for ac_prog in gawk mawk nawk awk
   2906 do
   2907   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2908 set dummy $ac_prog; ac_word=$2
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2910 $as_echo_n "checking for $ac_word... " >&6; }
   2911 if test "${ac_cv_prog_AWK+set}" = set; then :
   2912   $as_echo_n "(cached) " >&6
   2913 else
   2914   if test -n "$AWK"; then
   2915   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2916 else
   2917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2918 for as_dir in $PATH
   2919 do
   2920   IFS=$as_save_IFS
   2921   test -z "$as_dir" && as_dir=.
   2922     for ac_exec_ext in '' $ac_executable_extensions; do
   2923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2924     ac_cv_prog_AWK="$ac_prog"
   2925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2926     break 2
   2927   fi
   2928 done
   2929   done
   2930 IFS=$as_save_IFS
   2931 
   2932 fi
   2933 fi
   2934 AWK=$ac_cv_prog_AWK
   2935 if test -n "$AWK"; then
   2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2937 $as_echo "$AWK" >&6; }
   2938 else
   2939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2940 $as_echo "no" >&6; }
   2941 fi
   2942 
   2943 
   2944   test -n "$AWK" && break
   2945 done
   2946 
   2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2948 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2949 set x ${MAKE-make}
   2950 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2951 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   2952   $as_echo_n "(cached) " >&6
   2953 else
   2954   cat >conftest.make <<\_ACEOF
   2955 SHELL = /bin/sh
   2956 all:
   2957 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2958 _ACEOF
   2959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2960 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2961   *@@@%%%=?*=@@@%%%*)
   2962     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2963   *)
   2964     eval ac_cv_prog_make_${ac_make}_set=no;;
   2965 esac
   2966 rm -f conftest.make
   2967 fi
   2968 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2970 $as_echo "yes" >&6; }
   2971   SET_MAKE=
   2972 else
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2974 $as_echo "no" >&6; }
   2975   SET_MAKE="MAKE=${MAKE-make}"
   2976 fi
   2977 
   2978 rm -rf .tst 2>/dev/null
   2979 mkdir .tst 2>/dev/null
   2980 if test -d .tst; then
   2981   am__leading_dot=.
   2982 else
   2983   am__leading_dot=_
   2984 fi
   2985 rmdir .tst 2>/dev/null
   2986 
   2987 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2988   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2989   # is not polluted with repeated "-I."
   2990   am__isrc=' -I$(srcdir)'
   2991   # test to see if srcdir already configured
   2992   if test -f $srcdir/config.status; then
   2993     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2994   fi
   2995 fi
   2996 
   2997 # test whether we have cygpath
   2998 if test -z "$CYGPATH_W"; then
   2999   if (cygpath --version) >/dev/null 2>/dev/null; then
   3000     CYGPATH_W='cygpath -w'
   3001   else
   3002     CYGPATH_W=echo
   3003   fi
   3004 fi
   3005 
   3006 
   3007 # Define the identity of the package.
   3008  PACKAGE='gperftools'
   3009  VERSION='2.0'
   3010 
   3011 
   3012 cat >>confdefs.h <<_ACEOF
   3013 #define PACKAGE "$PACKAGE"
   3014 _ACEOF
   3015 
   3016 
   3017 cat >>confdefs.h <<_ACEOF
   3018 #define VERSION "$VERSION"
   3019 _ACEOF
   3020 
   3021 # Some tools Automake needs.
   3022 
   3023 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3024 
   3025 
   3026 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3027 
   3028 
   3029 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3030 
   3031 
   3032 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3033 
   3034 
   3035 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3036 
   3037 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   3038 
   3039 # Installed binaries are usually stripped using `strip' when the user
   3040 # run `make install-strip'.  However `strip' might not be the right
   3041 # tool to use in cross-compilation environments, therefore Automake
   3042 # will honor the `STRIP' environment variable to overrule this program.
   3043 if test "$cross_compiling" != no; then
   3044   if test -n "$ac_tool_prefix"; then
   3045   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3046 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 $as_echo_n "checking for $ac_word... " >&6; }
   3049 if test "${ac_cv_prog_STRIP+set}" = set; then :
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   if test -n "$STRIP"; then
   3053   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   test -z "$as_dir" && as_dir=.
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3062     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi
   3071 fi
   3072 STRIP=$ac_cv_prog_STRIP
   3073 if test -n "$STRIP"; then
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3075 $as_echo "$STRIP" >&6; }
   3076 else
   3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3078 $as_echo "no" >&6; }
   3079 fi
   3080 
   3081 
   3082 fi
   3083 if test -z "$ac_cv_prog_STRIP"; then
   3084   ac_ct_STRIP=$STRIP
   3085   # Extract the first word of "strip", so it can be a program name with args.
   3086 set dummy strip; ac_word=$2
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3088 $as_echo_n "checking for $ac_word... " >&6; }
   3089 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   3090   $as_echo_n "(cached) " >&6
   3091 else
   3092   if test -n "$ac_ct_STRIP"; then
   3093   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3094 else
   3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3096 for as_dir in $PATH
   3097 do
   3098   IFS=$as_save_IFS
   3099   test -z "$as_dir" && as_dir=.
   3100     for ac_exec_ext in '' $ac_executable_extensions; do
   3101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3102     ac_cv_prog_ac_ct_STRIP="strip"
   3103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3104     break 2
   3105   fi
   3106 done
   3107   done
   3108 IFS=$as_save_IFS
   3109 
   3110 fi
   3111 fi
   3112 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3113 if test -n "$ac_ct_STRIP"; then
   3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3115 $as_echo "$ac_ct_STRIP" >&6; }
   3116 else
   3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3118 $as_echo "no" >&6; }
   3119 fi
   3120 
   3121   if test "x$ac_ct_STRIP" = x; then
   3122     STRIP=":"
   3123   else
   3124     case $cross_compiling:$ac_tool_warned in
   3125 yes:)
   3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3128 ac_tool_warned=yes ;;
   3129 esac
   3130     STRIP=$ac_ct_STRIP
   3131   fi
   3132 else
   3133   STRIP="$ac_cv_prog_STRIP"
   3134 fi
   3135 
   3136 fi
   3137 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3138 
   3139 # We need awk for the "check" target.  The system "awk" is bad on
   3140 # some platforms.
   3141 # Always define AMTAR for backward compatibility.
   3142 
   3143 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3144 
   3145 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3146 
   3147 
   3148 
   3149 
   3150 
   3151 ac_config_headers="$ac_config_headers src/config.h"
   3152 
   3153 
   3154 # Export the version information (for tc_version and friends)
   3155 TC_VERSION_MAJOR=`expr "$PACKAGE_VERSION" : '\([0-9]*\)'`
   3156 TC_VERSION_MINOR=`expr "$PACKAGE_VERSION" : '[0-9]*\.\([0-9]*\)'`
   3157 TC_VERSION_PATCH=`expr "$PACKAGE_VERSION" : '[0-9]*\.[0-9]*\(.*\)$'`
   3158 
   3159 
   3160 
   3161 
   3162 
   3163 # The user can choose not to compile in the heap-profiler, the
   3164 # heap-checker, or the cpu-profiler.  There's also the possibility
   3165 # for a 'fully minimal' compile, which leaves out the stacktrace
   3166 # code as well.  By default, we include all of these that the
   3167 # target system supports.
   3168 default_enable_cpu_profiler=yes
   3169 default_enable_heap_profiler=yes
   3170 default_enable_heap_checker=yes
   3171 default_enable_debugalloc=yes
   3172 default_enable_minimal=no
   3173 need_nanosleep=yes   # Used later, to decide if to run ACX_NANOSLEEP
   3174 case "$host" in
   3175    *-mingw*) default_enable_minimal=yes; default_enable_debugalloc=no;
   3176              need_nanosleep=no;;
   3177    *-cygwin*) default_enable_heap_checker=no; default_enable_cpu_profiler=no;;
   3178    *-freebsd*) default_enable_heap_checker=no;;
   3179    *-darwin*) default_enable_heap_checker=no;;
   3180 esac
   3181 
   3182 # Check whether --enable-cpu-profiler was given.
   3183 if test "${enable_cpu_profiler+set}" = set; then :
   3184   enableval=$enable_cpu_profiler;
   3185 else
   3186   enable_cpu_profiler="$default_enable_cpu_profiler"
   3187 fi
   3188 
   3189 # Check whether --enable-heap-profiler was given.
   3190 if test "${enable_heap_profiler+set}" = set; then :
   3191   enableval=$enable_heap_profiler;
   3192 else
   3193   enable_heap_profiler="$default_enable_heap_profiler"
   3194 fi
   3195 
   3196 # Check whether --enable-heap-checker was given.
   3197 if test "${enable_heap_checker+set}" = set; then :
   3198   enableval=$enable_heap_checker;
   3199 else
   3200   enable_heap_checker="$default_enable_heap_checker"
   3201 fi
   3202 
   3203 # Check whether --enable-debugalloc was given.
   3204 if test "${enable_debugalloc+set}" = set; then :
   3205   enableval=$enable_debugalloc;
   3206 else
   3207   enable_debugalloc="$default_enable_debugalloc"
   3208 fi
   3209 
   3210 # Check whether --enable-minimal was given.
   3211 if test "${enable_minimal+set}" = set; then :
   3212   enableval=$enable_minimal;
   3213 else
   3214   enable_minimal="$default_enable_minimal"
   3215 fi
   3216 
   3217 if test "$enable_minimal" = yes; then
   3218   enable_cpu_profiler=no
   3219   enable_heap_profiler=no
   3220   enable_heap_checker=no
   3221 fi
   3222 
   3223 
   3224 # Checks for programs.
   3225 ac_ext=cpp
   3226 ac_cpp='$CXXCPP $CPPFLAGS'
   3227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3230 if test -z "$CXX"; then
   3231   if test -n "$CCC"; then
   3232     CXX=$CCC
   3233   else
   3234     if test -n "$ac_tool_prefix"; then
   3235   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3236   do
   3237     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3240 $as_echo_n "checking for $ac_word... " >&6; }
   3241 if test "${ac_cv_prog_CXX+set}" = set; then :
   3242   $as_echo_n "(cached) " >&6
   3243 else
   3244   if test -n "$CXX"; then
   3245   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3246 else
   3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3248 for as_dir in $PATH
   3249 do
   3250   IFS=$as_save_IFS
   3251   test -z "$as_dir" && as_dir=.
   3252     for ac_exec_ext in '' $ac_executable_extensions; do
   3253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3254     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3256     break 2
   3257   fi
   3258 done
   3259   done
   3260 IFS=$as_save_IFS
   3261 
   3262 fi
   3263 fi
   3264 CXX=$ac_cv_prog_CXX
   3265 if test -n "$CXX"; then
   3266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   3267 $as_echo "$CXX" >&6; }
   3268 else
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3270 $as_echo "no" >&6; }
   3271 fi
   3272 
   3273 
   3274     test -n "$CXX" && break
   3275   done
   3276 fi
   3277 if test -z "$CXX"; then
   3278   ac_ct_CXX=$CXX
   3279   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3280 do
   3281   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3282 set dummy $ac_prog; ac_word=$2
   3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3284 $as_echo_n "checking for $ac_word... " >&6; }
   3285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   3286   $as_echo_n "(cached) " >&6
   3287 else
   3288   if test -n "$ac_ct_CXX"; then
   3289   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3290 else
   3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3292 for as_dir in $PATH
   3293 do
   3294   IFS=$as_save_IFS
   3295   test -z "$as_dir" && as_dir=.
   3296     for ac_exec_ext in '' $ac_executable_extensions; do
   3297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3298     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3300     break 2
   3301   fi
   3302 done
   3303   done
   3304 IFS=$as_save_IFS
   3305 
   3306 fi
   3307 fi
   3308 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3309 if test -n "$ac_ct_CXX"; then
   3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   3311 $as_echo "$ac_ct_CXX" >&6; }
   3312 else
   3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3314 $as_echo "no" >&6; }
   3315 fi
   3316 
   3317 
   3318   test -n "$ac_ct_CXX" && break
   3319 done
   3320 
   3321   if test "x$ac_ct_CXX" = x; then
   3322     CXX="g++"
   3323   else
   3324     case $cross_compiling:$ac_tool_warned in
   3325 yes:)
   3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3328 ac_tool_warned=yes ;;
   3329 esac
   3330     CXX=$ac_ct_CXX
   3331   fi
   3332 fi
   3333 
   3334   fi
   3335 fi
   3336 # Provide some information about the compiler.
   3337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   3338 set X $ac_compile
   3339 ac_compiler=$2
   3340 for ac_option in --version -v -V -qversion; do
   3341   { { ac_try="$ac_compiler $ac_option >&5"
   3342 case "(($ac_try" in
   3343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3344   *) ac_try_echo=$ac_try;;
   3345 esac
   3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3347 $as_echo "$ac_try_echo"; } >&5
   3348   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3349   ac_status=$?
   3350   if test -s conftest.err; then
   3351     sed '10a\
   3352 ... rest of stderr output deleted ...
   3353          10q' conftest.err >conftest.er1
   3354     cat conftest.er1 >&5
   3355   fi
   3356   rm -f conftest.er1 conftest.err
   3357   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3358   test $ac_status = 0; }
   3359 done
   3360 
   3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3362 /* end confdefs.h.  */
   3363 
   3364 int
   3365 main ()
   3366 {
   3367 
   3368   ;
   3369   return 0;
   3370 }
   3371 _ACEOF
   3372 ac_clean_files_save=$ac_clean_files
   3373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3374 # Try to create an executable without -o first, disregard a.out.
   3375 # It will help us diagnose broken compilers, and finding out an intuition
   3376 # of exeext.
   3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
   3378 $as_echo_n "checking whether the C++ compiler works... " >&6; }
   3379 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3380 
   3381 # The possible output files:
   3382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3383 
   3384 ac_rmfiles=
   3385 for ac_file in $ac_files
   3386 do
   3387   case $ac_file in
   3388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3389     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3390   esac
   3391 done
   3392 rm -f $ac_rmfiles
   3393 
   3394 if { { ac_try="$ac_link_default"
   3395 case "(($ac_try" in
   3396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3397   *) ac_try_echo=$ac_try;;
   3398 esac
   3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3400 $as_echo "$ac_try_echo"; } >&5
   3401   (eval "$ac_link_default") 2>&5
   3402   ac_status=$?
   3403   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3404   test $ac_status = 0; }; then :
   3405   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3407 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3408 # so that the user can short-circuit this test for compilers unknown to
   3409 # Autoconf.
   3410 for ac_file in $ac_files ''
   3411 do
   3412   test -f "$ac_file" || continue
   3413   case $ac_file in
   3414     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3415 	;;
   3416     [ab].out )
   3417 	# We found the default executable, but exeext='' is most
   3418 	# certainly right.
   3419 	break;;
   3420     *.* )
   3421 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3422 	then :; else
   3423 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3424 	fi
   3425 	# We set ac_cv_exeext here because the later test for it is not
   3426 	# safe: cross compilers may not add the suffix if given an `-o'
   3427 	# argument, so we may need to know it at that point already.
   3428 	# Even if this section looks crufty: it has the advantage of
   3429 	# actually working.
   3430 	break;;
   3431     * )
   3432 	break;;
   3433   esac
   3434 done
   3435 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3436 
   3437 else
   3438   ac_file=''
   3439 fi
   3440 if test -z "$ac_file"; then :
   3441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3442 $as_echo "no" >&6; }
   3443 $as_echo "$as_me: failed program was:" >&5
   3444 sed 's/^/| /' conftest.$ac_ext >&5
   3445 
   3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3448 { as_fn_set_status 77
   3449 as_fn_error "C++ compiler cannot create executables
   3450 See \`config.log' for more details." "$LINENO" 5; }; }
   3451 else
   3452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3453 $as_echo "yes" >&6; }
   3454 fi
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
   3456 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3458 $as_echo "$ac_file" >&6; }
   3459 ac_exeext=$ac_cv_exeext
   3460 
   3461 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3462 ac_clean_files=$ac_clean_files_save
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3464 $as_echo_n "checking for suffix of executables... " >&6; }
   3465 if { { ac_try="$ac_link"
   3466 case "(($ac_try" in
   3467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3468   *) ac_try_echo=$ac_try;;
   3469 esac
   3470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3471 $as_echo "$ac_try_echo"; } >&5
   3472   (eval "$ac_link") 2>&5
   3473   ac_status=$?
   3474   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3475   test $ac_status = 0; }; then :
   3476   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3477 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3478 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3479 # `rm'.
   3480 for ac_file in conftest.exe conftest conftest.*; do
   3481   test -f "$ac_file" || continue
   3482   case $ac_file in
   3483     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3484     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3485 	  break;;
   3486     * ) break;;
   3487   esac
   3488 done
   3489 else
   3490   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3492 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3493 See \`config.log' for more details." "$LINENO" 5; }
   3494 fi
   3495 rm -f conftest conftest$ac_cv_exeext
   3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3497 $as_echo "$ac_cv_exeext" >&6; }
   3498 
   3499 rm -f conftest.$ac_ext
   3500 EXEEXT=$ac_cv_exeext
   3501 ac_exeext=$EXEEXT
   3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3503 /* end confdefs.h.  */
   3504 #include <stdio.h>
   3505 int
   3506 main ()
   3507 {
   3508 FILE *f = fopen ("conftest.out", "w");
   3509  return ferror (f) || fclose (f) != 0;
   3510 
   3511   ;
   3512   return 0;
   3513 }
   3514 _ACEOF
   3515 ac_clean_files="$ac_clean_files conftest.out"
   3516 # Check that the compiler produces executables we can run.  If not, either
   3517 # the compiler is broken, or we cross compile.
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3519 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3520 if test "$cross_compiling" != yes; then
   3521   { { ac_try="$ac_link"
   3522 case "(($ac_try" in
   3523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3524   *) ac_try_echo=$ac_try;;
   3525 esac
   3526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3527 $as_echo "$ac_try_echo"; } >&5
   3528   (eval "$ac_link") 2>&5
   3529   ac_status=$?
   3530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3531   test $ac_status = 0; }
   3532   if { ac_try='./conftest$ac_cv_exeext'
   3533   { { case "(($ac_try" in
   3534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3535   *) ac_try_echo=$ac_try;;
   3536 esac
   3537 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3538 $as_echo "$ac_try_echo"; } >&5
   3539   (eval "$ac_try") 2>&5
   3540   ac_status=$?
   3541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3542   test $ac_status = 0; }; }; then
   3543     cross_compiling=no
   3544   else
   3545     if test "$cross_compiling" = maybe; then
   3546 	cross_compiling=yes
   3547     else
   3548 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3550 as_fn_error "cannot run C++ compiled programs.
   3551 If you meant to cross compile, use \`--host'.
   3552 See \`config.log' for more details." "$LINENO" 5; }
   3553     fi
   3554   fi
   3555 fi
   3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3557 $as_echo "$cross_compiling" >&6; }
   3558 
   3559 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3560 ac_clean_files=$ac_clean_files_save
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3562 $as_echo_n "checking for suffix of object files... " >&6; }
   3563 if test "${ac_cv_objext+set}" = set; then :
   3564   $as_echo_n "(cached) " >&6
   3565 else
   3566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3567 /* end confdefs.h.  */
   3568 
   3569 int
   3570 main ()
   3571 {
   3572 
   3573   ;
   3574   return 0;
   3575 }
   3576 _ACEOF
   3577 rm -f conftest.o conftest.obj
   3578 if { { ac_try="$ac_compile"
   3579 case "(($ac_try" in
   3580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3581   *) ac_try_echo=$ac_try;;
   3582 esac
   3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3584 $as_echo "$ac_try_echo"; } >&5
   3585   (eval "$ac_compile") 2>&5
   3586   ac_status=$?
   3587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3588   test $ac_status = 0; }; then :
   3589   for ac_file in conftest.o conftest.obj conftest.*; do
   3590   test -f "$ac_file" || continue;
   3591   case $ac_file in
   3592     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3593     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3594        break;;
   3595   esac
   3596 done
   3597 else
   3598   $as_echo "$as_me: failed program was:" >&5
   3599 sed 's/^/| /' conftest.$ac_ext >&5
   3600 
   3601 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3603 as_fn_error "cannot compute suffix of object files: cannot compile
   3604 See \`config.log' for more details." "$LINENO" 5; }
   3605 fi
   3606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3607 fi
   3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3609 $as_echo "$ac_cv_objext" >&6; }
   3610 OBJEXT=$ac_cv_objext
   3611 ac_objext=$OBJEXT
   3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   3613 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   3614 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   3615   $as_echo_n "(cached) " >&6
   3616 else
   3617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3618 /* end confdefs.h.  */
   3619 
   3620 int
   3621 main ()
   3622 {
   3623 #ifndef __GNUC__
   3624        choke me
   3625 #endif
   3626 
   3627   ;
   3628   return 0;
   3629 }
   3630 _ACEOF
   3631 if ac_fn_cxx_try_compile "$LINENO"; then :
   3632   ac_compiler_gnu=yes
   3633 else
   3634   ac_compiler_gnu=no
   3635 fi
   3636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3637 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3638 
   3639 fi
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   3641 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   3642 if test $ac_compiler_gnu = yes; then
   3643   GXX=yes
   3644 else
   3645   GXX=
   3646 fi
   3647 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3648 ac_save_CXXFLAGS=$CXXFLAGS
   3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   3650 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   3651 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   3652   $as_echo_n "(cached) " >&6
   3653 else
   3654   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3655    ac_cxx_werror_flag=yes
   3656    ac_cv_prog_cxx_g=no
   3657    CXXFLAGS="-g"
   3658    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3659 /* end confdefs.h.  */
   3660 
   3661 int
   3662 main ()
   3663 {
   3664 
   3665   ;
   3666   return 0;
   3667 }
   3668 _ACEOF
   3669 if ac_fn_cxx_try_compile "$LINENO"; then :
   3670   ac_cv_prog_cxx_g=yes
   3671 else
   3672   CXXFLAGS=""
   3673       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3674 /* end confdefs.h.  */
   3675 
   3676 int
   3677 main ()
   3678 {
   3679 
   3680   ;
   3681   return 0;
   3682 }
   3683 _ACEOF
   3684 if ac_fn_cxx_try_compile "$LINENO"; then :
   3685 
   3686 else
   3687   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3688 	 CXXFLAGS="-g"
   3689 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3690 /* end confdefs.h.  */
   3691 
   3692 int
   3693 main ()
   3694 {
   3695 
   3696   ;
   3697   return 0;
   3698 }
   3699 _ACEOF
   3700 if ac_fn_cxx_try_compile "$LINENO"; then :
   3701   ac_cv_prog_cxx_g=yes
   3702 fi
   3703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3704 fi
   3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3706 fi
   3707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3708    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3709 fi
   3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   3711 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   3712 if test "$ac_test_CXXFLAGS" = set; then
   3713   CXXFLAGS=$ac_save_CXXFLAGS
   3714 elif test $ac_cv_prog_cxx_g = yes; then
   3715   if test "$GXX" = yes; then
   3716     CXXFLAGS="-g -O2"
   3717   else
   3718     CXXFLAGS="-g"
   3719   fi
   3720 else
   3721   if test "$GXX" = yes; then
   3722     CXXFLAGS="-O2"
   3723   else
   3724     CXXFLAGS=
   3725   fi
   3726 fi
   3727 ac_ext=c
   3728 ac_cpp='$CPP $CPPFLAGS'
   3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3732 DEPDIR="${am__leading_dot}deps"
   3733 
   3734 ac_config_commands="$ac_config_commands depfiles"
   3735 
   3736 
   3737 am_make=${MAKE-make}
   3738 cat > confinc << 'END'
   3739 am__doit:
   3740 	@echo done
   3741 .PHONY: am__doit
   3742 END
   3743 # If we don't find an include directive, just comment out the code.
   3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3745 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3746 am__include="#"
   3747 am__quote=
   3748 _am_result=none
   3749 # First try GNU make style include.
   3750 echo "include confinc" > confmf
   3751 # We grep out `Entering directory' and `Leaving directory'
   3752 # messages which can occur if `w' ends up in MAKEFLAGS.
   3753 # In particular we don't look at `^make:' because GNU make might
   3754 # be invoked under some other name (usually "gmake"), in which
   3755 # case it prints its new name instead of `make'.
   3756 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3757    am__include=include
   3758    am__quote=
   3759    _am_result=GNU
   3760 fi
   3761 # Now try BSD make style include.
   3762 if test "$am__include" = "#"; then
   3763    echo '.include "confinc"' > confmf
   3764    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3765       am__include=.include
   3766       am__quote="\""
   3767       _am_result=BSD
   3768    fi
   3769 fi
   3770 
   3771 
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3773 $as_echo "$_am_result" >&6; }
   3774 rm -f confinc confmf
   3775 
   3776 # Check whether --enable-dependency-tracking was given.
   3777 if test "${enable_dependency_tracking+set}" = set; then :
   3778   enableval=$enable_dependency_tracking;
   3779 fi
   3780 
   3781 if test "x$enable_dependency_tracking" != xno; then
   3782   am_depcomp="$ac_aux_dir/depcomp"
   3783   AMDEPBACKSLASH='\'
   3784 fi
   3785  if test "x$enable_dependency_tracking" != xno; then
   3786   AMDEP_TRUE=
   3787   AMDEP_FALSE='#'
   3788 else
   3789   AMDEP_TRUE='#'
   3790   AMDEP_FALSE=
   3791 fi
   3792 
   3793 
   3794 
   3795 depcc="$CXX"  am_compiler_list=
   3796 
   3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3798 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3799 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
   3800   $as_echo_n "(cached) " >&6
   3801 else
   3802   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3803   # We make a subdir and do the tests there.  Otherwise we can end up
   3804   # making bogus files that we don't know about and never remove.  For
   3805   # instance it was reported that on HP-UX the gcc test will end up
   3806   # making a dummy file named `D' -- because `-MD' means `put the output
   3807   # in D'.
   3808   mkdir conftest.dir
   3809   # Copy depcomp to subdir because otherwise we won't find it if we're
   3810   # using a relative directory.
   3811   cp "$am_depcomp" conftest.dir
   3812   cd conftest.dir
   3813   # We will build objects and dependencies in a subdirectory because
   3814   # it helps to detect inapplicable dependency modes.  For instance
   3815   # both Tru64's cc and ICC support -MD to output dependencies as a
   3816   # side effect of compilation, but ICC will put the dependencies in
   3817   # the current directory while Tru64 will put them in the object
   3818   # directory.
   3819   mkdir sub
   3820 
   3821   am_cv_CXX_dependencies_compiler_type=none
   3822   if test "$am_compiler_list" = ""; then
   3823      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3824   fi
   3825   for depmode in $am_compiler_list; do
   3826     # Setup a source with many dependencies, because some compilers
   3827     # like to wrap large dependency lists on column 80 (with \), and
   3828     # we should not choose a depcomp mode which is confused by this.
   3829     #
   3830     # We need to recreate these files for each test, as the compiler may
   3831     # overwrite some of them when testing with obscure command lines.
   3832     # This happens at least with the AIX C compiler.
   3833     : > sub/conftest.c
   3834     for i in 1 2 3 4 5 6; do
   3835       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3836       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3837       # Solaris 8's {/usr,}/bin/sh.
   3838       touch sub/conftst$i.h
   3839     done
   3840     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3841 
   3842     case $depmode in
   3843     nosideeffect)
   3844       # after this tag, mechanisms are not by side-effect, so they'll
   3845       # only be used when explicitly requested
   3846       if test "x$enable_dependency_tracking" = xyes; then
   3847 	continue
   3848       else
   3849 	break
   3850       fi
   3851       ;;
   3852     none) break ;;
   3853     esac
   3854     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3855     # mode.  It turns out that the SunPro C++ compiler does not properly
   3856     # handle `-M -o', and we need to detect this.
   3857     if depmode=$depmode \
   3858        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3859        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3860        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3861          >/dev/null 2>conftest.err &&
   3862        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3863        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3864        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3865        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3866       # icc doesn't choke on unknown options, it will just issue warnings
   3867       # or remarks (even with -Werror).  So we grep stderr for any message
   3868       # that says an option was ignored or not supported.
   3869       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3870       #   icc: Command line warning: ignoring option '-M'; no argument required
   3871       # The diagnosis changed in icc 8.0:
   3872       #   icc: Command line remark: option '-MP' not supported
   3873       if (grep 'ignoring option' conftest.err ||
   3874           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3875         am_cv_CXX_dependencies_compiler_type=$depmode
   3876         break
   3877       fi
   3878     fi
   3879   done
   3880 
   3881   cd ..
   3882   rm -rf conftest.dir
   3883 else
   3884   am_cv_CXX_dependencies_compiler_type=none
   3885 fi
   3886 
   3887 fi
   3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   3889 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   3890 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   3891 
   3892  if
   3893   test "x$enable_dependency_tracking" != xno \
   3894   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   3895   am__fastdepCXX_TRUE=
   3896   am__fastdepCXX_FALSE='#'
   3897 else
   3898   am__fastdepCXX_TRUE='#'
   3899   am__fastdepCXX_FALSE=
   3900 fi
   3901 
   3902 
   3903 ac_ext=c
   3904 ac_cpp='$CPP $CPPFLAGS'
   3905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3908 if test -n "$ac_tool_prefix"; then
   3909   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3910 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3912 $as_echo_n "checking for $ac_word... " >&6; }
   3913 if test "${ac_cv_prog_CC+set}" = set; then :
   3914   $as_echo_n "(cached) " >&6
   3915 else
   3916   if test -n "$CC"; then
   3917   ac_cv_prog_CC="$CC" # Let the user override the test.
   3918 else
   3919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3920 for as_dir in $PATH
   3921 do
   3922   IFS=$as_save_IFS
   3923   test -z "$as_dir" && as_dir=.
   3924     for ac_exec_ext in '' $ac_executable_extensions; do
   3925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3926     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3928     break 2
   3929   fi
   3930 done
   3931   done
   3932 IFS=$as_save_IFS
   3933 
   3934 fi
   3935 fi
   3936 CC=$ac_cv_prog_CC
   3937 if test -n "$CC"; then
   3938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3939 $as_echo "$CC" >&6; }
   3940 else
   3941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3942 $as_echo "no" >&6; }
   3943 fi
   3944 
   3945 
   3946 fi
   3947 if test -z "$ac_cv_prog_CC"; then
   3948   ac_ct_CC=$CC
   3949   # Extract the first word of "gcc", so it can be a program name with args.
   3950 set dummy gcc; ac_word=$2
   3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3952 $as_echo_n "checking for $ac_word... " >&6; }
   3953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3954   $as_echo_n "(cached) " >&6
   3955 else
   3956   if test -n "$ac_ct_CC"; then
   3957   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3958 else
   3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3960 for as_dir in $PATH
   3961 do
   3962   IFS=$as_save_IFS
   3963   test -z "$as_dir" && as_dir=.
   3964     for ac_exec_ext in '' $ac_executable_extensions; do
   3965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3966     ac_cv_prog_ac_ct_CC="gcc"
   3967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3968     break 2
   3969   fi
   3970 done
   3971   done
   3972 IFS=$as_save_IFS
   3973 
   3974 fi
   3975 fi
   3976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3977 if test -n "$ac_ct_CC"; then
   3978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3979 $as_echo "$ac_ct_CC" >&6; }
   3980 else
   3981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3982 $as_echo "no" >&6; }
   3983 fi
   3984 
   3985   if test "x$ac_ct_CC" = x; then
   3986     CC=""
   3987   else
   3988     case $cross_compiling:$ac_tool_warned in
   3989 yes:)
   3990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3992 ac_tool_warned=yes ;;
   3993 esac
   3994     CC=$ac_ct_CC
   3995   fi
   3996 else
   3997   CC="$ac_cv_prog_CC"
   3998 fi
   3999 
   4000 if test -z "$CC"; then
   4001           if test -n "$ac_tool_prefix"; then
   4002     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4003 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4005 $as_echo_n "checking for $ac_word... " >&6; }
   4006 if test "${ac_cv_prog_CC+set}" = set; then :
   4007   $as_echo_n "(cached) " >&6
   4008 else
   4009   if test -n "$CC"; then
   4010   ac_cv_prog_CC="$CC" # Let the user override the test.
   4011 else
   4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4013 for as_dir in $PATH
   4014 do
   4015   IFS=$as_save_IFS
   4016   test -z "$as_dir" && as_dir=.
   4017     for ac_exec_ext in '' $ac_executable_extensions; do
   4018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4019     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4021     break 2
   4022   fi
   4023 done
   4024   done
   4025 IFS=$as_save_IFS
   4026 
   4027 fi
   4028 fi
   4029 CC=$ac_cv_prog_CC
   4030 if test -n "$CC"; then
   4031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4032 $as_echo "$CC" >&6; }
   4033 else
   4034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4035 $as_echo "no" >&6; }
   4036 fi
   4037 
   4038 
   4039   fi
   4040 fi
   4041 if test -z "$CC"; then
   4042   # Extract the first word of "cc", so it can be a program name with args.
   4043 set dummy cc; ac_word=$2
   4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4045 $as_echo_n "checking for $ac_word... " >&6; }
   4046 if test "${ac_cv_prog_CC+set}" = set; then :
   4047   $as_echo_n "(cached) " >&6
   4048 else
   4049   if test -n "$CC"; then
   4050   ac_cv_prog_CC="$CC" # Let the user override the test.
   4051 else
   4052   ac_prog_rejected=no
   4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4054 for as_dir in $PATH
   4055 do
   4056   IFS=$as_save_IFS
   4057   test -z "$as_dir" && as_dir=.
   4058     for ac_exec_ext in '' $ac_executable_extensions; do
   4059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4060     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4061        ac_prog_rejected=yes
   4062        continue
   4063      fi
   4064     ac_cv_prog_CC="cc"
   4065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4066     break 2
   4067   fi
   4068 done
   4069   done
   4070 IFS=$as_save_IFS
   4071 
   4072 if test $ac_prog_rejected = yes; then
   4073   # We found a bogon in the path, so make sure we never use it.
   4074   set dummy $ac_cv_prog_CC
   4075   shift
   4076   if test $# != 0; then
   4077     # We chose a different compiler from the bogus one.
   4078     # However, it has the same basename, so the bogon will be chosen
   4079     # first if we set CC to just the basename; use the full file name.
   4080     shift
   4081     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4082   fi
   4083 fi
   4084 fi
   4085 fi
   4086 CC=$ac_cv_prog_CC
   4087 if test -n "$CC"; then
   4088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4089 $as_echo "$CC" >&6; }
   4090 else
   4091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4092 $as_echo "no" >&6; }
   4093 fi
   4094 
   4095 
   4096 fi
   4097 if test -z "$CC"; then
   4098   if test -n "$ac_tool_prefix"; then
   4099   for ac_prog in cl.exe
   4100   do
   4101     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4104 $as_echo_n "checking for $ac_word... " >&6; }
   4105 if test "${ac_cv_prog_CC+set}" = set; then :
   4106   $as_echo_n "(cached) " >&6
   4107 else
   4108   if test -n "$CC"; then
   4109   ac_cv_prog_CC="$CC" # Let the user override the test.
   4110 else
   4111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4112 for as_dir in $PATH
   4113 do
   4114   IFS=$as_save_IFS
   4115   test -z "$as_dir" && as_dir=.
   4116     for ac_exec_ext in '' $ac_executable_extensions; do
   4117   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4118     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4120     break 2
   4121   fi
   4122 done
   4123   done
   4124 IFS=$as_save_IFS
   4125 
   4126 fi
   4127 fi
   4128 CC=$ac_cv_prog_CC
   4129 if test -n "$CC"; then
   4130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4131 $as_echo "$CC" >&6; }
   4132 else
   4133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4134 $as_echo "no" >&6; }
   4135 fi
   4136 
   4137 
   4138     test -n "$CC" && break
   4139   done
   4140 fi
   4141 if test -z "$CC"; then
   4142   ac_ct_CC=$CC
   4143   for ac_prog in cl.exe
   4144 do
   4145   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4146 set dummy $ac_prog; ac_word=$2
   4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4148 $as_echo_n "checking for $ac_word... " >&6; }
   4149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4150   $as_echo_n "(cached) " >&6
   4151 else
   4152   if test -n "$ac_ct_CC"; then
   4153   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4154 else
   4155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4156 for as_dir in $PATH
   4157 do
   4158   IFS=$as_save_IFS
   4159   test -z "$as_dir" && as_dir=.
   4160     for ac_exec_ext in '' $ac_executable_extensions; do
   4161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4162     ac_cv_prog_ac_ct_CC="$ac_prog"
   4163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4164     break 2
   4165   fi
   4166 done
   4167   done
   4168 IFS=$as_save_IFS
   4169 
   4170 fi
   4171 fi
   4172 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4173 if test -n "$ac_ct_CC"; then
   4174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4175 $as_echo "$ac_ct_CC" >&6; }
   4176 else
   4177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4178 $as_echo "no" >&6; }
   4179 fi
   4180 
   4181 
   4182   test -n "$ac_ct_CC" && break
   4183 done
   4184 
   4185   if test "x$ac_ct_CC" = x; then
   4186     CC=""
   4187   else
   4188     case $cross_compiling:$ac_tool_warned in
   4189 yes:)
   4190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4192 ac_tool_warned=yes ;;
   4193 esac
   4194     CC=$ac_ct_CC
   4195   fi
   4196 fi
   4197 
   4198 fi
   4199 
   4200 
   4201 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4203 as_fn_error "no acceptable C compiler found in \$PATH
   4204 See \`config.log' for more details." "$LINENO" 5; }
   4205 
   4206 # Provide some information about the compiler.
   4207 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4208 set X $ac_compile
   4209 ac_compiler=$2
   4210 for ac_option in --version -v -V -qversion; do
   4211   { { ac_try="$ac_compiler $ac_option >&5"
   4212 case "(($ac_try" in
   4213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4214   *) ac_try_echo=$ac_try;;
   4215 esac
   4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4217 $as_echo "$ac_try_echo"; } >&5
   4218   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4219   ac_status=$?
   4220   if test -s conftest.err; then
   4221     sed '10a\
   4222 ... rest of stderr output deleted ...
   4223          10q' conftest.err >conftest.er1
   4224     cat conftest.er1 >&5
   4225   fi
   4226   rm -f conftest.er1 conftest.err
   4227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4228   test $ac_status = 0; }
   4229 done
   4230 
   4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4232 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4233 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   4234   $as_echo_n "(cached) " >&6
   4235 else
   4236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4237 /* end confdefs.h.  */
   4238 
   4239 int
   4240 main ()
   4241 {
   4242 #ifndef __GNUC__
   4243        choke me
   4244 #endif
   4245 
   4246   ;
   4247   return 0;
   4248 }
   4249 _ACEOF
   4250 if ac_fn_c_try_compile "$LINENO"; then :
   4251   ac_compiler_gnu=yes
   4252 else
   4253   ac_compiler_gnu=no
   4254 fi
   4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4256 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4257 
   4258 fi
   4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4260 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4261 if test $ac_compiler_gnu = yes; then
   4262   GCC=yes
   4263 else
   4264   GCC=
   4265 fi
   4266 ac_test_CFLAGS=${CFLAGS+set}
   4267 ac_save_CFLAGS=$CFLAGS
   4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4269 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4270 if test "${ac_cv_prog_cc_g+set}" = set; then :
   4271   $as_echo_n "(cached) " >&6
   4272 else
   4273   ac_save_c_werror_flag=$ac_c_werror_flag
   4274    ac_c_werror_flag=yes
   4275    ac_cv_prog_cc_g=no
   4276    CFLAGS="-g"
   4277    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4278 /* end confdefs.h.  */
   4279 
   4280 int
   4281 main ()
   4282 {
   4283 
   4284   ;
   4285   return 0;
   4286 }
   4287 _ACEOF
   4288 if ac_fn_c_try_compile "$LINENO"; then :
   4289   ac_cv_prog_cc_g=yes
   4290 else
   4291   CFLAGS=""
   4292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4293 /* end confdefs.h.  */
   4294 
   4295 int
   4296 main ()
   4297 {
   4298 
   4299   ;
   4300   return 0;
   4301 }
   4302 _ACEOF
   4303 if ac_fn_c_try_compile "$LINENO"; then :
   4304 
   4305 else
   4306   ac_c_werror_flag=$ac_save_c_werror_flag
   4307 	 CFLAGS="-g"
   4308 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4309 /* end confdefs.h.  */
   4310 
   4311 int
   4312 main ()
   4313 {
   4314 
   4315   ;
   4316   return 0;
   4317 }
   4318 _ACEOF
   4319 if ac_fn_c_try_compile "$LINENO"; then :
   4320   ac_cv_prog_cc_g=yes
   4321 fi
   4322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4323 fi
   4324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4325 fi
   4326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4327    ac_c_werror_flag=$ac_save_c_werror_flag
   4328 fi
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4330 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4331 if test "$ac_test_CFLAGS" = set; then
   4332   CFLAGS=$ac_save_CFLAGS
   4333 elif test $ac_cv_prog_cc_g = yes; then
   4334   if test "$GCC" = yes; then
   4335     CFLAGS="-g -O2"
   4336   else
   4337     CFLAGS="-g"
   4338   fi
   4339 else
   4340   if test "$GCC" = yes; then
   4341     CFLAGS="-O2"
   4342   else
   4343     CFLAGS=
   4344   fi
   4345 fi
   4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4347 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4348 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4349   $as_echo_n "(cached) " >&6
   4350 else
   4351   ac_cv_prog_cc_c89=no
   4352 ac_save_CC=$CC
   4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4354 /* end confdefs.h.  */
   4355 #include <stdarg.h>
   4356 #include <stdio.h>
   4357 #include <sys/types.h>
   4358 #include <sys/stat.h>
   4359 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4360 struct buf { int x; };
   4361 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4362 static char *e (p, i)
   4363      char **p;
   4364      int i;
   4365 {
   4366   return p[i];
   4367 }
   4368 static char *f (char * (*g) (char **, int), char **p, ...)
   4369 {
   4370   char *s;
   4371   va_list v;
   4372   va_start (v,p);
   4373   s = g (p, va_arg (v,int));
   4374   va_end (v);
   4375   return s;
   4376 }
   4377 
   4378 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4379    function prototypes and stuff, but not '\xHH' hex character constants.
   4380    These don't provoke an error unfortunately, instead are silently treated
   4381    as 'x'.  The following induces an error, until -std is added to get
   4382    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4383    array size at least.  It's necessary to write '\x00'==0 to get something
   4384    that's true only with -std.  */
   4385 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4386 
   4387 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4388    inside strings and character constants.  */
   4389 #define FOO(x) 'x'
   4390 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4391 
   4392 int test (int i, double x);
   4393 struct s1 {int (*f) (int a);};
   4394 struct s2 {int (*f) (double a);};
   4395 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4396 int argc;
   4397 char **argv;
   4398 int
   4399 main ()
   4400 {
   4401 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4402   ;
   4403   return 0;
   4404 }
   4405 _ACEOF
   4406 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4407 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4408 do
   4409   CC="$ac_save_CC $ac_arg"
   4410   if ac_fn_c_try_compile "$LINENO"; then :
   4411   ac_cv_prog_cc_c89=$ac_arg
   4412 fi
   4413 rm -f core conftest.err conftest.$ac_objext
   4414   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4415 done
   4416 rm -f conftest.$ac_ext
   4417 CC=$ac_save_CC
   4418 
   4419 fi
   4420 # AC_CACHE_VAL
   4421 case "x$ac_cv_prog_cc_c89" in
   4422   x)
   4423     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4424 $as_echo "none needed" >&6; } ;;
   4425   xno)
   4426     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4427 $as_echo "unsupported" >&6; } ;;
   4428   *)
   4429     CC="$CC $ac_cv_prog_cc_c89"
   4430     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4431 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4432 esac
   4433 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4434 
   4435 fi
   4436 
   4437 ac_ext=c
   4438 ac_cpp='$CPP $CPPFLAGS'
   4439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4442 
   4443 depcc="$CC"   am_compiler_list=
   4444 
   4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4446 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4447 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   4448   $as_echo_n "(cached) " >&6
   4449 else
   4450   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4451   # We make a subdir and do the tests there.  Otherwise we can end up
   4452   # making bogus files that we don't know about and never remove.  For
   4453   # instance it was reported that on HP-UX the gcc test will end up
   4454   # making a dummy file named `D' -- because `-MD' means `put the output
   4455   # in D'.
   4456   mkdir conftest.dir
   4457   # Copy depcomp to subdir because otherwise we won't find it if we're
   4458   # using a relative directory.
   4459   cp "$am_depcomp" conftest.dir
   4460   cd conftest.dir
   4461   # We will build objects and dependencies in a subdirectory because
   4462   # it helps to detect inapplicable dependency modes.  For instance
   4463   # both Tru64's cc and ICC support -MD to output dependencies as a
   4464   # side effect of compilation, but ICC will put the dependencies in
   4465   # the current directory while Tru64 will put them in the object
   4466   # directory.
   4467   mkdir sub
   4468 
   4469   am_cv_CC_dependencies_compiler_type=none
   4470   if test "$am_compiler_list" = ""; then
   4471      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4472   fi
   4473   for depmode in $am_compiler_list; do
   4474     # Setup a source with many dependencies, because some compilers
   4475     # like to wrap large dependency lists on column 80 (with \), and
   4476     # we should not choose a depcomp mode which is confused by this.
   4477     #
   4478     # We need to recreate these files for each test, as the compiler may
   4479     # overwrite some of them when testing with obscure command lines.
   4480     # This happens at least with the AIX C compiler.
   4481     : > sub/conftest.c
   4482     for i in 1 2 3 4 5 6; do
   4483       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4484       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4485       # Solaris 8's {/usr,}/bin/sh.
   4486       touch sub/conftst$i.h
   4487     done
   4488     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4489 
   4490     case $depmode in
   4491     nosideeffect)
   4492       # after this tag, mechanisms are not by side-effect, so they'll
   4493       # only be used when explicitly requested
   4494       if test "x$enable_dependency_tracking" = xyes; then
   4495 	continue
   4496       else
   4497 	break
   4498       fi
   4499       ;;
   4500     none) break ;;
   4501     esac
   4502     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4503     # mode.  It turns out that the SunPro C++ compiler does not properly
   4504     # handle `-M -o', and we need to detect this.
   4505     if depmode=$depmode \
   4506        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4507        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4508        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4509          >/dev/null 2>conftest.err &&
   4510        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4511        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4512        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4513        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4514       # icc doesn't choke on unknown options, it will just issue warnings
   4515       # or remarks (even with -Werror).  So we grep stderr for any message
   4516       # that says an option was ignored or not supported.
   4517       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4518       #   icc: Command line warning: ignoring option '-M'; no argument required
   4519       # The diagnosis changed in icc 8.0:
   4520       #   icc: Command line remark: option '-MP' not supported
   4521       if (grep 'ignoring option' conftest.err ||
   4522           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4523         am_cv_CC_dependencies_compiler_type=$depmode
   4524         break
   4525       fi
   4526     fi
   4527   done
   4528 
   4529   cd ..
   4530   rm -rf conftest.dir
   4531 else
   4532   am_cv_CC_dependencies_compiler_type=none
   4533 fi
   4534 
   4535 fi
   4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4537 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4538 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4539 
   4540  if
   4541   test "x$enable_dependency_tracking" != xno \
   4542   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4543   am__fastdepCC_TRUE=
   4544   am__fastdepCC_FALSE='#'
   4545 else
   4546   am__fastdepCC_TRUE='#'
   4547   am__fastdepCC_FALSE=
   4548 fi
   4549 
   4550 
   4551 ac_ext=c
   4552 ac_cpp='$CPP $CPPFLAGS'
   4553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4557 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4558 # On Suns, sometimes $CPP names a directory.
   4559 if test -n "$CPP" && test -d "$CPP"; then
   4560   CPP=
   4561 fi
   4562 if test -z "$CPP"; then
   4563   if test "${ac_cv_prog_CPP+set}" = set; then :
   4564   $as_echo_n "(cached) " >&6
   4565 else
   4566       # Double quotes because CPP needs to be expanded
   4567     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4568     do
   4569       ac_preproc_ok=false
   4570 for ac_c_preproc_warn_flag in '' yes
   4571 do
   4572   # Use a header file that comes with gcc, so configuring glibc
   4573   # with a fresh cross-compiler works.
   4574   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4575   # <limits.h> exists even on freestanding compilers.
   4576   # On the NeXT, cc -E runs the code through the compiler's parser,
   4577   # not just through cpp. "Syntax error" is here to catch this case.
   4578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4579 /* end confdefs.h.  */
   4580 #ifdef __STDC__
   4581 # include <limits.h>
   4582 #else
   4583 # include <assert.h>
   4584 #endif
   4585 		     Syntax error
   4586 _ACEOF
   4587 if ac_fn_c_try_cpp "$LINENO"; then :
   4588 
   4589 else
   4590   # Broken: fails on valid input.
   4591 continue
   4592 fi
   4593 rm -f conftest.err conftest.$ac_ext
   4594 
   4595   # OK, works on sane cases.  Now check whether nonexistent headers
   4596   # can be detected and how.
   4597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4598 /* end confdefs.h.  */
   4599 #include <ac_nonexistent.h>
   4600 _ACEOF
   4601 if ac_fn_c_try_cpp "$LINENO"; then :
   4602   # Broken: success on invalid input.
   4603 continue
   4604 else
   4605   # Passes both tests.
   4606 ac_preproc_ok=:
   4607 break
   4608 fi
   4609 rm -f conftest.err conftest.$ac_ext
   4610 
   4611 done
   4612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4613 rm -f conftest.err conftest.$ac_ext
   4614 if $ac_preproc_ok; then :
   4615   break
   4616 fi
   4617 
   4618     done
   4619     ac_cv_prog_CPP=$CPP
   4620 
   4621 fi
   4622   CPP=$ac_cv_prog_CPP
   4623 else
   4624   ac_cv_prog_CPP=$CPP
   4625 fi
   4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4627 $as_echo "$CPP" >&6; }
   4628 ac_preproc_ok=false
   4629 for ac_c_preproc_warn_flag in '' yes
   4630 do
   4631   # Use a header file that comes with gcc, so configuring glibc
   4632   # with a fresh cross-compiler works.
   4633   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4634   # <limits.h> exists even on freestanding compilers.
   4635   # On the NeXT, cc -E runs the code through the compiler's parser,
   4636   # not just through cpp. "Syntax error" is here to catch this case.
   4637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4638 /* end confdefs.h.  */
   4639 #ifdef __STDC__
   4640 # include <limits.h>
   4641 #else
   4642 # include <assert.h>
   4643 #endif
   4644 		     Syntax error
   4645 _ACEOF
   4646 if ac_fn_c_try_cpp "$LINENO"; then :
   4647 
   4648 else
   4649   # Broken: fails on valid input.
   4650 continue
   4651 fi
   4652 rm -f conftest.err conftest.$ac_ext
   4653 
   4654   # OK, works on sane cases.  Now check whether nonexistent headers
   4655   # can be detected and how.
   4656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4657 /* end confdefs.h.  */
   4658 #include <ac_nonexistent.h>
   4659 _ACEOF
   4660 if ac_fn_c_try_cpp "$LINENO"; then :
   4661   # Broken: success on invalid input.
   4662 continue
   4663 else
   4664   # Passes both tests.
   4665 ac_preproc_ok=:
   4666 break
   4667 fi
   4668 rm -f conftest.err conftest.$ac_ext
   4669 
   4670 done
   4671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4672 rm -f conftest.err conftest.$ac_ext
   4673 if $ac_preproc_ok; then :
   4674 
   4675 else
   4676   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4677 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4678 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   4679 See \`config.log' for more details." "$LINENO" 5; }
   4680 fi
   4681 
   4682 ac_ext=c
   4683 ac_cpp='$CPP $CPPFLAGS'
   4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4687 
   4688  if test "$GCC" = yes; then
   4689   GCC_TRUE=
   4690   GCC_FALSE='#'
   4691 else
   4692   GCC_TRUE='#'
   4693   GCC_FALSE=
   4694 fi
   4695    # let the Makefile know if we're gcc
   4696 if test "x$CC" != xcc; then
   4697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   4698 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   4699 else
   4700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   4701 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   4702 fi
   4703 set dummy $CC; ac_cc=`$as_echo "$2" |
   4704 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   4705 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
   4706   $as_echo_n "(cached) " >&6
   4707 else
   4708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4709 /* end confdefs.h.  */
   4710 
   4711 int
   4712 main ()
   4713 {
   4714 
   4715   ;
   4716   return 0;
   4717 }
   4718 _ACEOF
   4719 # Make sure it works both with $CC and with simple cc.
   4720 # We do the test twice because some compilers refuse to overwrite an
   4721 # existing .o file with -o, though they will create one.
   4722 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   4723 rm -f conftest2.*
   4724 if { { case "(($ac_try" in
   4725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4726   *) ac_try_echo=$ac_try;;
   4727 esac
   4728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4729 $as_echo "$ac_try_echo"; } >&5
   4730   (eval "$ac_try") 2>&5
   4731   ac_status=$?
   4732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4733   test $ac_status = 0; } &&
   4734    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   4735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4736   *) ac_try_echo=$ac_try;;
   4737 esac
   4738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4739 $as_echo "$ac_try_echo"; } >&5
   4740   (eval "$ac_try") 2>&5
   4741   ac_status=$?
   4742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4743   test $ac_status = 0; };
   4744 then
   4745   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   4746   if test "x$CC" != xcc; then
   4747     # Test first that cc exists at all.
   4748     if { ac_try='cc -c conftest.$ac_ext >&5'
   4749   { { case "(($ac_try" in
   4750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4751   *) ac_try_echo=$ac_try;;
   4752 esac
   4753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4754 $as_echo "$ac_try_echo"; } >&5
   4755   (eval "$ac_try") 2>&5
   4756   ac_status=$?
   4757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4758   test $ac_status = 0; }; }; then
   4759       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   4760       rm -f conftest2.*
   4761       if { { case "(($ac_try" in
   4762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4763   *) ac_try_echo=$ac_try;;
   4764 esac
   4765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4766 $as_echo "$ac_try_echo"; } >&5
   4767   (eval "$ac_try") 2>&5
   4768   ac_status=$?
   4769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4770   test $ac_status = 0; } &&
   4771 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   4772   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4773   *) ac_try_echo=$ac_try;;
   4774 esac
   4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4776 $as_echo "$ac_try_echo"; } >&5
   4777   (eval "$ac_try") 2>&5
   4778   ac_status=$?
   4779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4780   test $ac_status = 0; };
   4781       then
   4782 	# cc works too.
   4783 	:
   4784       else
   4785 	# cc exists but doesn't like -o.
   4786 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   4787       fi
   4788     fi
   4789   fi
   4790 else
   4791   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   4792 fi
   4793 rm -f core conftest*
   4794 
   4795 fi
   4796 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   4797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4798 $as_echo "yes" >&6; }
   4799 else
   4800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4801 $as_echo "no" >&6; }
   4802 
   4803 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   4804 
   4805 fi
   4806 
   4807 # FIXME: we rely on the cache variable name because
   4808 # there is no other way.
   4809 set dummy $CC
   4810 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   4811 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
   4812    # Losing compiler, so override with the script.
   4813    # FIXME: It is wrong to rewrite CC.
   4814    # But if we don't then we get into trouble of one sort or another.
   4815    # A longer-term fix would be to have automake use am__CC in this case,
   4816    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4817    CC="$am_aux_dir/compile $CC"
   4818 fi
   4819 
   4820       # shrug: autogen.sh suddenly needs this for some reason
   4821 
   4822 # Check if we have an objcopy installed that supports -W
   4823 if test -n "$ac_tool_prefix"; then
   4824   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
   4825 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
   4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4827 $as_echo_n "checking for $ac_word... " >&6; }
   4828 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   4829   $as_echo_n "(cached) " >&6
   4830 else
   4831   if test -n "$OBJCOPY"; then
   4832   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   4833 else
   4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4835 for as_dir in $PATH
   4836 do
   4837   IFS=$as_save_IFS
   4838   test -z "$as_dir" && as_dir=.
   4839     for ac_exec_ext in '' $ac_executable_extensions; do
   4840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4841     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
   4842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4843     break 2
   4844   fi
   4845 done
   4846   done
   4847 IFS=$as_save_IFS
   4848 
   4849 fi
   4850 fi
   4851 OBJCOPY=$ac_cv_prog_OBJCOPY
   4852 if test -n "$OBJCOPY"; then
   4853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   4854 $as_echo "$OBJCOPY" >&6; }
   4855 else
   4856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4857 $as_echo "no" >&6; }
   4858 fi
   4859 
   4860 
   4861 fi
   4862 if test -z "$ac_cv_prog_OBJCOPY"; then
   4863   ac_ct_OBJCOPY=$OBJCOPY
   4864   # Extract the first word of "objcopy", so it can be a program name with args.
   4865 set dummy objcopy; ac_word=$2
   4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4867 $as_echo_n "checking for $ac_word... " >&6; }
   4868 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
   4869   $as_echo_n "(cached) " >&6
   4870 else
   4871   if test -n "$ac_ct_OBJCOPY"; then
   4872   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
   4873 else
   4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4875 for as_dir in $PATH
   4876 do
   4877   IFS=$as_save_IFS
   4878   test -z "$as_dir" && as_dir=.
   4879     for ac_exec_ext in '' $ac_executable_extensions; do
   4880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4881     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
   4882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4883     break 2
   4884   fi
   4885 done
   4886   done
   4887 IFS=$as_save_IFS
   4888 
   4889 fi
   4890 fi
   4891 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
   4892 if test -n "$ac_ct_OBJCOPY"; then
   4893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
   4894 $as_echo "$ac_ct_OBJCOPY" >&6; }
   4895 else
   4896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4897 $as_echo "no" >&6; }
   4898 fi
   4899 
   4900   if test "x$ac_ct_OBJCOPY" = x; then
   4901     OBJCOPY=""
   4902   else
   4903     case $cross_compiling:$ac_tool_warned in
   4904 yes:)
   4905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4907 ac_tool_warned=yes ;;
   4908 esac
   4909     OBJCOPY=$ac_ct_OBJCOPY
   4910   fi
   4911 else
   4912   OBJCOPY="$ac_cv_prog_OBJCOPY"
   4913 fi
   4914 
   4915 
   4916 if test -n "$OBJCOPY"; then :
   4917     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $OBJCOPY supports -W" >&5
   4918 $as_echo_n "checking if $OBJCOPY supports -W... " >&6; }
   4919 if test "${gpt_cv_objcopy_weaken+set}" = set; then :
   4920   $as_echo_n "(cached) " >&6
   4921 else
   4922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4923 /* end confdefs.h.  */
   4924 void foo() {} int main() {return 0;}
   4925 _ACEOF
   4926 if ac_fn_c_try_link "$LINENO"; then :
   4927         if "$OBJCOPY" -W foo conftest$ac_exeext /dev/null; then :
   4928   gpt_cv_objcopy_weaken=yes
   4929 else
   4930   gpt_cv_objcopy_weaken=no
   4931 fi
   4932 else
   4933   gpt_cv_objcopy_weaken=no
   4934 fi
   4935 rm -f core conftest.err conftest.$ac_objext \
   4936     conftest$ac_exeext conftest.$ac_ext
   4937 fi
   4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gpt_cv_objcopy_weaken" >&5
   4939 $as_echo "$gpt_cv_objcopy_weaken" >&6; }
   4940 else
   4941   gpt_cv_objcopy_weaken=no
   4942 fi
   4943  if test $gpt_cv_objcopy_weaken = yes; then
   4944   HAVE_OBJCOPY_WEAKEN_TRUE=
   4945   HAVE_OBJCOPY_WEAKEN_FALSE='#'
   4946 else
   4947   HAVE_OBJCOPY_WEAKEN_TRUE='#'
   4948   HAVE_OBJCOPY_WEAKEN_FALSE=
   4949 fi
   4950 
   4951 
   4952 case $host_os in
   4953   *mingw*)
   4954     # Disabling fast install keeps libtool from creating wrapper scripts
   4955     # around the executables it builds.  Such scripts have caused failures on
   4956     # MinGW.  Using this option means an extra link step is executed during
   4957     # "make install".
   4958     # Check whether --enable-fast-install was given.
   4959 if test "${enable_fast_install+set}" = set; then :
   4960   enableval=$enable_fast_install; p=${PACKAGE-default}
   4961     case $enableval in
   4962     yes) enable_fast_install=yes ;;
   4963     no) enable_fast_install=no ;;
   4964     *)
   4965       enable_fast_install=no
   4966       # Look at the argument we got.  We use all the common list separators.
   4967       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4968       for pkg in $enableval; do
   4969 	IFS="$lt_save_ifs"
   4970 	if test "X$pkg" = "X$p"; then
   4971 	  enable_fast_install=yes
   4972 	fi
   4973       done
   4974       IFS="$lt_save_ifs"
   4975       ;;
   4976     esac
   4977 else
   4978   enable_fast_install=no
   4979 fi
   4980 
   4981 
   4982 
   4983 
   4984 
   4985 
   4986 
   4987 
   4988 
   4989     ;;
   4990    *)
   4991     # Check whether --enable-fast-install was given.
   4992 if test "${enable_fast_install+set}" = set; then :
   4993   enableval=$enable_fast_install; p=${PACKAGE-default}
   4994     case $enableval in
   4995     yes) enable_fast_install=yes ;;
   4996     no) enable_fast_install=no ;;
   4997     *)
   4998       enable_fast_install=no
   4999       # Look at the argument we got.  We use all the common list separators.
   5000       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5001       for pkg in $enableval; do
   5002 	IFS="$lt_save_ifs"
   5003 	if test "X$pkg" = "X$p"; then
   5004 	  enable_fast_install=yes
   5005 	fi
   5006       done
   5007       IFS="$lt_save_ifs"
   5008       ;;
   5009     esac
   5010 else
   5011   enable_fast_install=yes
   5012 fi
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019     ;;
   5020 esac
   5021 
   5022 case `pwd` in
   5023   *\ * | *\	*)
   5024     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5025 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5026 esac
   5027 
   5028 
   5029 
   5030 macro_version='2.2.6b'
   5031 macro_revision='1.3017'
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 ltmain="$ac_aux_dir/ltmain.sh"
   5046 
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5048 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5049 if test "${ac_cv_path_SED+set}" = set; then :
   5050   $as_echo_n "(cached) " >&6
   5051 else
   5052             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5053      for ac_i in 1 2 3 4 5 6 7; do
   5054        ac_script="$ac_script$as_nl$ac_script"
   5055      done
   5056      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5057      { ac_script=; unset ac_script;}
   5058      if test -z "$SED"; then
   5059   ac_path_SED_found=false
   5060   # Loop through the user's path and test for each of PROGNAME-LIST
   5061   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5062 for as_dir in $PATH
   5063 do
   5064   IFS=$as_save_IFS
   5065   test -z "$as_dir" && as_dir=.
   5066     for ac_prog in sed gsed; do
   5067     for ac_exec_ext in '' $ac_executable_extensions; do
   5068       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5069       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5070 # Check for GNU ac_path_SED and select it if it is found.
   5071   # Check for GNU $ac_path_SED
   5072 case `"$ac_path_SED" --version 2>&1` in
   5073 *GNU*)
   5074   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5075 *)
   5076   ac_count=0
   5077   $as_echo_n 0123456789 >"conftest.in"
   5078   while :
   5079   do
   5080     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5081     mv "conftest.tmp" "conftest.in"
   5082     cp "conftest.in" "conftest.nl"
   5083     $as_echo '' >> "conftest.nl"
   5084     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5085     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5086     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5087     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5088       # Best one so far, save it but keep looking for a better one
   5089       ac_cv_path_SED="$ac_path_SED"
   5090       ac_path_SED_max=$ac_count
   5091     fi
   5092     # 10*(2^10) chars as input seems more than enough
   5093     test $ac_count -gt 10 && break
   5094   done
   5095   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5096 esac
   5097 
   5098       $ac_path_SED_found && break 3
   5099     done
   5100   done
   5101   done
   5102 IFS=$as_save_IFS
   5103   if test -z "$ac_cv_path_SED"; then
   5104     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5105   fi
   5106 else
   5107   ac_cv_path_SED=$SED
   5108 fi
   5109 
   5110 fi
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5112 $as_echo "$ac_cv_path_SED" >&6; }
   5113  SED="$ac_cv_path_SED"
   5114   rm -f conftest.sed
   5115 
   5116 test -z "$SED" && SED=sed
   5117 Xsed="$SED -e 1s/^X//"
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 
   5126 
   5127 
   5128 
   5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   5130 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   5131 if test "${ac_cv_path_GREP+set}" = set; then :
   5132   $as_echo_n "(cached) " >&6
   5133 else
   5134   if test -z "$GREP"; then
   5135   ac_path_GREP_found=false
   5136   # Loop through the user's path and test for each of PROGNAME-LIST
   5137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5138 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5139 do
   5140   IFS=$as_save_IFS
   5141   test -z "$as_dir" && as_dir=.
   5142     for ac_prog in grep ggrep; do
   5143     for ac_exec_ext in '' $ac_executable_extensions; do
   5144       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   5145       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   5146 # Check for GNU ac_path_GREP and select it if it is found.
   5147   # Check for GNU $ac_path_GREP
   5148 case `"$ac_path_GREP" --version 2>&1` in
   5149 *GNU*)
   5150   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   5151 *)
   5152   ac_count=0
   5153   $as_echo_n 0123456789 >"conftest.in"
   5154   while :
   5155   do
   5156     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5157     mv "conftest.tmp" "conftest.in"
   5158     cp "conftest.in" "conftest.nl"
   5159     $as_echo 'GREP' >> "conftest.nl"
   5160     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5161     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5162     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5163     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   5164       # Best one so far, save it but keep looking for a better one
   5165       ac_cv_path_GREP="$ac_path_GREP"
   5166       ac_path_GREP_max=$ac_count
   5167     fi
   5168     # 10*(2^10) chars as input seems more than enough
   5169     test $ac_count -gt 10 && break
   5170   done
   5171   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5172 esac
   5173 
   5174       $ac_path_GREP_found && break 3
   5175     done
   5176   done
   5177   done
   5178 IFS=$as_save_IFS
   5179   if test -z "$ac_cv_path_GREP"; then
   5180     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5181   fi
   5182 else
   5183   ac_cv_path_GREP=$GREP
   5184 fi
   5185 
   5186 fi
   5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   5188 $as_echo "$ac_cv_path_GREP" >&6; }
   5189  GREP="$ac_cv_path_GREP"
   5190 
   5191 
   5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5193 $as_echo_n "checking for egrep... " >&6; }
   5194 if test "${ac_cv_path_EGREP+set}" = set; then :
   5195   $as_echo_n "(cached) " >&6
   5196 else
   5197   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5198    then ac_cv_path_EGREP="$GREP -E"
   5199    else
   5200      if test -z "$EGREP"; then
   5201   ac_path_EGREP_found=false
   5202   # Loop through the user's path and test for each of PROGNAME-LIST
   5203   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5204 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5205 do
   5206   IFS=$as_save_IFS
   5207   test -z "$as_dir" && as_dir=.
   5208     for ac_prog in egrep; do
   5209     for ac_exec_ext in '' $ac_executable_extensions; do
   5210       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5211       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   5212 # Check for GNU ac_path_EGREP and select it if it is found.
   5213   # Check for GNU $ac_path_EGREP
   5214 case `"$ac_path_EGREP" --version 2>&1` in
   5215 *GNU*)
   5216   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5217 *)
   5218   ac_count=0
   5219   $as_echo_n 0123456789 >"conftest.in"
   5220   while :
   5221   do
   5222     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5223     mv "conftest.tmp" "conftest.in"
   5224     cp "conftest.in" "conftest.nl"
   5225     $as_echo 'EGREP' >> "conftest.nl"
   5226     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5227     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5228     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5229     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5230       # Best one so far, save it but keep looking for a better one
   5231       ac_cv_path_EGREP="$ac_path_EGREP"
   5232       ac_path_EGREP_max=$ac_count
   5233     fi
   5234     # 10*(2^10) chars as input seems more than enough
   5235     test $ac_count -gt 10 && break
   5236   done
   5237   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5238 esac
   5239 
   5240       $ac_path_EGREP_found && break 3
   5241     done
   5242   done
   5243   done
   5244 IFS=$as_save_IFS
   5245   if test -z "$ac_cv_path_EGREP"; then
   5246     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5247   fi
   5248 else
   5249   ac_cv_path_EGREP=$EGREP
   5250 fi
   5251 
   5252    fi
   5253 fi
   5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5255 $as_echo "$ac_cv_path_EGREP" >&6; }
   5256  EGREP="$ac_cv_path_EGREP"
   5257 
   5258 
   5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5260 $as_echo_n "checking for fgrep... " >&6; }
   5261 if test "${ac_cv_path_FGREP+set}" = set; then :
   5262   $as_echo_n "(cached) " >&6
   5263 else
   5264   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5265    then ac_cv_path_FGREP="$GREP -F"
   5266    else
   5267      if test -z "$FGREP"; then
   5268   ac_path_FGREP_found=false
   5269   # Loop through the user's path and test for each of PROGNAME-LIST
   5270   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5271 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5272 do
   5273   IFS=$as_save_IFS
   5274   test -z "$as_dir" && as_dir=.
   5275     for ac_prog in fgrep; do
   5276     for ac_exec_ext in '' $ac_executable_extensions; do
   5277       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5278       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5279 # Check for GNU ac_path_FGREP and select it if it is found.
   5280   # Check for GNU $ac_path_FGREP
   5281 case `"$ac_path_FGREP" --version 2>&1` in
   5282 *GNU*)
   5283   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5284 *)
   5285   ac_count=0
   5286   $as_echo_n 0123456789 >"conftest.in"
   5287   while :
   5288   do
   5289     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5290     mv "conftest.tmp" "conftest.in"
   5291     cp "conftest.in" "conftest.nl"
   5292     $as_echo 'FGREP' >> "conftest.nl"
   5293     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5294     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5295     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5296     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5297       # Best one so far, save it but keep looking for a better one
   5298       ac_cv_path_FGREP="$ac_path_FGREP"
   5299       ac_path_FGREP_max=$ac_count
   5300     fi
   5301     # 10*(2^10) chars as input seems more than enough
   5302     test $ac_count -gt 10 && break
   5303   done
   5304   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5305 esac
   5306 
   5307       $ac_path_FGREP_found && break 3
   5308     done
   5309   done
   5310   done
   5311 IFS=$as_save_IFS
   5312   if test -z "$ac_cv_path_FGREP"; then
   5313     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5314   fi
   5315 else
   5316   ac_cv_path_FGREP=$FGREP
   5317 fi
   5318 
   5319    fi
   5320 fi
   5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5322 $as_echo "$ac_cv_path_FGREP" >&6; }
   5323  FGREP="$ac_cv_path_FGREP"
   5324 
   5325 
   5326 test -z "$GREP" && GREP=grep
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 # Check whether --with-gnu-ld was given.
   5347 if test "${with_gnu_ld+set}" = set; then :
   5348   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5349 else
   5350   with_gnu_ld=no
   5351 fi
   5352 
   5353 ac_prog=ld
   5354 if test "$GCC" = yes; then
   5355   # Check if gcc -print-prog-name=ld gives a path.
   5356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5357 $as_echo_n "checking for ld used by $CC... " >&6; }
   5358   case $host in
   5359   *-*-mingw*)
   5360     # gcc leaves a trailing carriage return which upsets mingw
   5361     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5362   *)
   5363     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5364   esac
   5365   case $ac_prog in
   5366     # Accept absolute paths.
   5367     [\\/]* | ?:[\\/]*)
   5368       re_direlt='/[^/][^/]*/\.\./'
   5369       # Canonicalize the pathname of ld
   5370       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5371       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5372 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5373       done
   5374       test -z "$LD" && LD="$ac_prog"
   5375       ;;
   5376   "")
   5377     # If it fails, then pretend we aren't using GCC.
   5378     ac_prog=ld
   5379     ;;
   5380   *)
   5381     # If it is relative, then search for the first ld in PATH.
   5382     with_gnu_ld=unknown
   5383     ;;
   5384   esac
   5385 elif test "$with_gnu_ld" = yes; then
   5386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5387 $as_echo_n "checking for GNU ld... " >&6; }
   5388 else
   5389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5390 $as_echo_n "checking for non-GNU ld... " >&6; }
   5391 fi
   5392 if test "${lt_cv_path_LD+set}" = set; then :
   5393   $as_echo_n "(cached) " >&6
   5394 else
   5395   if test -z "$LD"; then
   5396   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5397   for ac_dir in $PATH; do
   5398     IFS="$lt_save_ifs"
   5399     test -z "$ac_dir" && ac_dir=.
   5400     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5401       lt_cv_path_LD="$ac_dir/$ac_prog"
   5402       # Check to see if the program is GNU ld.  I'd rather use --version,
   5403       # but apparently some variants of GNU ld only accept -v.
   5404       # Break only if it was the GNU/non-GNU ld that we prefer.
   5405       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5406       *GNU* | *'with BFD'*)
   5407 	test "$with_gnu_ld" != no && break
   5408 	;;
   5409       *)
   5410 	test "$with_gnu_ld" != yes && break
   5411 	;;
   5412       esac
   5413     fi
   5414   done
   5415   IFS="$lt_save_ifs"
   5416 else
   5417   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5418 fi
   5419 fi
   5420 
   5421 LD="$lt_cv_path_LD"
   5422 if test -n "$LD"; then
   5423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5424 $as_echo "$LD" >&6; }
   5425 else
   5426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5427 $as_echo "no" >&6; }
   5428 fi
   5429 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5431 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5432 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5433   $as_echo_n "(cached) " >&6
   5434 else
   5435   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5436 case `$LD -v 2>&1 </dev/null` in
   5437 *GNU* | *'with BFD'*)
   5438   lt_cv_prog_gnu_ld=yes
   5439   ;;
   5440 *)
   5441   lt_cv_prog_gnu_ld=no
   5442   ;;
   5443 esac
   5444 fi
   5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5446 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5447 with_gnu_ld=$lt_cv_prog_gnu_ld
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5458 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5459 if test "${lt_cv_path_NM+set}" = set; then :
   5460   $as_echo_n "(cached) " >&6
   5461 else
   5462   if test -n "$NM"; then
   5463   # Let the user override the test.
   5464   lt_cv_path_NM="$NM"
   5465 else
   5466   lt_nm_to_check="${ac_tool_prefix}nm"
   5467   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5468     lt_nm_to_check="$lt_nm_to_check nm"
   5469   fi
   5470   for lt_tmp_nm in $lt_nm_to_check; do
   5471     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5472     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5473       IFS="$lt_save_ifs"
   5474       test -z "$ac_dir" && ac_dir=.
   5475       tmp_nm="$ac_dir/$lt_tmp_nm"
   5476       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5477 	# Check to see if the nm accepts a BSD-compat flag.
   5478 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5479 	#   nm: unknown option "B" ignored
   5480 	# Tru64's nm complains that /dev/null is an invalid object file
   5481 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5482 	*/dev/null* | *'Invalid file or object type'*)
   5483 	  lt_cv_path_NM="$tmp_nm -B"
   5484 	  break
   5485 	  ;;
   5486 	*)
   5487 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5488 	  */dev/null*)
   5489 	    lt_cv_path_NM="$tmp_nm -p"
   5490 	    break
   5491 	    ;;
   5492 	  *)
   5493 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5494 	    continue # so that we can try to find one that supports BSD flags
   5495 	    ;;
   5496 	  esac
   5497 	  ;;
   5498 	esac
   5499       fi
   5500     done
   5501     IFS="$lt_save_ifs"
   5502   done
   5503   : ${lt_cv_path_NM=no}
   5504 fi
   5505 fi
   5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5507 $as_echo "$lt_cv_path_NM" >&6; }
   5508 if test "$lt_cv_path_NM" != "no"; then
   5509   NM="$lt_cv_path_NM"
   5510 else
   5511   # Didn't find any BSD compatible name lister, look for dumpbin.
   5512   if test -n "$ac_tool_prefix"; then
   5513   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5514   do
   5515     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5516 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5518 $as_echo_n "checking for $ac_word... " >&6; }
   5519 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5520   $as_echo_n "(cached) " >&6
   5521 else
   5522   if test -n "$DUMPBIN"; then
   5523   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5524 else
   5525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5526 for as_dir in $PATH
   5527 do
   5528   IFS=$as_save_IFS
   5529   test -z "$as_dir" && as_dir=.
   5530     for ac_exec_ext in '' $ac_executable_extensions; do
   5531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5532     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5534     break 2
   5535   fi
   5536 done
   5537   done
   5538 IFS=$as_save_IFS
   5539 
   5540 fi
   5541 fi
   5542 DUMPBIN=$ac_cv_prog_DUMPBIN
   5543 if test -n "$DUMPBIN"; then
   5544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5545 $as_echo "$DUMPBIN" >&6; }
   5546 else
   5547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5548 $as_echo "no" >&6; }
   5549 fi
   5550 
   5551 
   5552     test -n "$DUMPBIN" && break
   5553   done
   5554 fi
   5555 if test -z "$DUMPBIN"; then
   5556   ac_ct_DUMPBIN=$DUMPBIN
   5557   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5558 do
   5559   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5560 set dummy $ac_prog; ac_word=$2
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5562 $as_echo_n "checking for $ac_word... " >&6; }
   5563 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   if test -n "$ac_ct_DUMPBIN"; then
   5567   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5568 else
   5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5570 for as_dir in $PATH
   5571 do
   5572   IFS=$as_save_IFS
   5573   test -z "$as_dir" && as_dir=.
   5574     for ac_exec_ext in '' $ac_executable_extensions; do
   5575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5576     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5578     break 2
   5579   fi
   5580 done
   5581   done
   5582 IFS=$as_save_IFS
   5583 
   5584 fi
   5585 fi
   5586 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5587 if test -n "$ac_ct_DUMPBIN"; then
   5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5589 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5590 else
   5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5592 $as_echo "no" >&6; }
   5593 fi
   5594 
   5595 
   5596   test -n "$ac_ct_DUMPBIN" && break
   5597 done
   5598 
   5599   if test "x$ac_ct_DUMPBIN" = x; then
   5600     DUMPBIN=":"
   5601   else
   5602     case $cross_compiling:$ac_tool_warned in
   5603 yes:)
   5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5606 ac_tool_warned=yes ;;
   5607 esac
   5608     DUMPBIN=$ac_ct_DUMPBIN
   5609   fi
   5610 fi
   5611 
   5612 
   5613   if test "$DUMPBIN" != ":"; then
   5614     NM="$DUMPBIN"
   5615   fi
   5616 fi
   5617 test -z "$NM" && NM=nm
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5625 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5626 if test "${lt_cv_nm_interface+set}" = set; then :
   5627   $as_echo_n "(cached) " >&6
   5628 else
   5629   lt_cv_nm_interface="BSD nm"
   5630   echo "int some_variable = 0;" > conftest.$ac_ext
   5631   (eval echo "\"\$as_me:5631: $ac_compile\"" >&5)
   5632   (eval "$ac_compile" 2>conftest.err)
   5633   cat conftest.err >&5
   5634   (eval echo "\"\$as_me:5634: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5635   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5636   cat conftest.err >&5
   5637   (eval echo "\"\$as_me:5637: output\"" >&5)
   5638   cat conftest.out >&5
   5639   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5640     lt_cv_nm_interface="MS dumpbin"
   5641   fi
   5642   rm -f conftest*
   5643 fi
   5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5645 $as_echo "$lt_cv_nm_interface" >&6; }
   5646 
   5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5648 $as_echo_n "checking whether ln -s works... " >&6; }
   5649 LN_S=$as_ln_s
   5650 if test "$LN_S" = "ln -s"; then
   5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5652 $as_echo "yes" >&6; }
   5653 else
   5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5655 $as_echo "no, using $LN_S" >&6; }
   5656 fi
   5657 
   5658 # find the maximum length of command line arguments
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5660 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5661 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5662   $as_echo_n "(cached) " >&6
   5663 else
   5664     i=0
   5665   teststring="ABCD"
   5666 
   5667   case $build_os in
   5668   msdosdjgpp*)
   5669     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5670     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5671     # during glob expansion).  Even if it were fixed, the result of this
   5672     # check would be larger than it should be.
   5673     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5674     ;;
   5675 
   5676   gnu*)
   5677     # Under GNU Hurd, this test is not required because there is
   5678     # no limit to the length of command line arguments.
   5679     # Libtool will interpret -1 as no limit whatsoever
   5680     lt_cv_sys_max_cmd_len=-1;
   5681     ;;
   5682 
   5683   cygwin* | mingw* | cegcc*)
   5684     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5685     # about 5 minutes as the teststring grows exponentially.
   5686     # Worse, since 9x/ME are not pre-emptively multitasking,
   5687     # you end up with a "frozen" computer, even though with patience
   5688     # the test eventually succeeds (with a max line length of 256k).
   5689     # Instead, let's just punt: use the minimum linelength reported by
   5690     # all of the supported platforms: 8192 (on NT/2K/XP).
   5691     lt_cv_sys_max_cmd_len=8192;
   5692     ;;
   5693 
   5694   amigaos*)
   5695     # On AmigaOS with pdksh, this test takes hours, literally.
   5696     # So we just punt and use a minimum line length of 8192.
   5697     lt_cv_sys_max_cmd_len=8192;
   5698     ;;
   5699 
   5700   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5701     # This has been around since 386BSD, at least.  Likely further.
   5702     if test -x /sbin/sysctl; then
   5703       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5704     elif test -x /usr/sbin/sysctl; then
   5705       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5706     else
   5707       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5708     fi
   5709     # And add a safety zone
   5710     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5711     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5712     ;;
   5713 
   5714   interix*)
   5715     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5716     lt_cv_sys_max_cmd_len=196608
   5717     ;;
   5718 
   5719   osf*)
   5720     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5721     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5722     # nice to cause kernel panics so lets avoid the loop below.
   5723     # First set a reasonable default.
   5724     lt_cv_sys_max_cmd_len=16384
   5725     #
   5726     if test -x /sbin/sysconfig; then
   5727       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5728         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5729       esac
   5730     fi
   5731     ;;
   5732   sco3.2v5*)
   5733     lt_cv_sys_max_cmd_len=102400
   5734     ;;
   5735   sysv5* | sco5v6* | sysv4.2uw2*)
   5736     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5737     if test -n "$kargmax"; then
   5738       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5739     else
   5740       lt_cv_sys_max_cmd_len=32768
   5741     fi
   5742     ;;
   5743   *)
   5744     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5745     if test -n "$lt_cv_sys_max_cmd_len"; then
   5746       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5747       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5748     else
   5749       # Make teststring a little bigger before we do anything with it.
   5750       # a 1K string should be a reasonable start.
   5751       for i in 1 2 3 4 5 6 7 8 ; do
   5752         teststring=$teststring$teststring
   5753       done
   5754       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5755       # If test is not a shell built-in, we'll probably end up computing a
   5756       # maximum length that is only half of the actual maximum length, but
   5757       # we can't tell.
   5758       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5759 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5760 	      test $i != 17 # 1/2 MB should be enough
   5761       do
   5762         i=`expr $i + 1`
   5763         teststring=$teststring$teststring
   5764       done
   5765       # Only check the string length outside the loop.
   5766       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5767       teststring=
   5768       # Add a significant safety factor because C++ compilers can tack on
   5769       # massive amounts of additional arguments before passing them to the
   5770       # linker.  It appears as though 1/2 is a usable value.
   5771       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5772     fi
   5773     ;;
   5774   esac
   5775 
   5776 fi
   5777 
   5778 if test -n $lt_cv_sys_max_cmd_len ; then
   5779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5780 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5781 else
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5783 $as_echo "none" >&6; }
   5784 fi
   5785 max_cmd_len=$lt_cv_sys_max_cmd_len
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 : ${CP="cp -f"}
   5793 : ${MV="mv -f"}
   5794 : ${RM="rm -f"}
   5795 
   5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5797 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5798 # Try some XSI features
   5799 xsi_shell=no
   5800 ( _lt_dummy="a/b/c"
   5801   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5802       = c,a/b,, \
   5803     && eval 'test $(( 1 + 1 )) -eq 2 \
   5804     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5805   && xsi_shell=yes
   5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5807 $as_echo "$xsi_shell" >&6; }
   5808 
   5809 
   5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5811 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5812 lt_shell_append=no
   5813 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5814     >/dev/null 2>&1 \
   5815   && lt_shell_append=yes
   5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5817 $as_echo "$lt_shell_append" >&6; }
   5818 
   5819 
   5820 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5821   lt_unset=unset
   5822 else
   5823   lt_unset=false
   5824 fi
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 # test EBCDIC or ASCII
   5831 case `echo X|tr X '\101'` in
   5832  A) # ASCII based system
   5833     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5834   lt_SP2NL='tr \040 \012'
   5835   lt_NL2SP='tr \015\012 \040\040'
   5836   ;;
   5837  *) # EBCDIC based system
   5838   lt_SP2NL='tr \100 \n'
   5839   lt_NL2SP='tr \r\n \100\100'
   5840   ;;
   5841 esac
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5852 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5853 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5854   $as_echo_n "(cached) " >&6
   5855 else
   5856   lt_cv_ld_reload_flag='-r'
   5857 fi
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5859 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5860 reload_flag=$lt_cv_ld_reload_flag
   5861 case $reload_flag in
   5862 "" | " "*) ;;
   5863 *) reload_flag=" $reload_flag" ;;
   5864 esac
   5865 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5866 case $host_os in
   5867   darwin*)
   5868     if test "$GCC" = yes; then
   5869       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5870     else
   5871       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5872     fi
   5873     ;;
   5874 esac
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 if test -n "$ac_tool_prefix"; then
   5885   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5886 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5888 $as_echo_n "checking for $ac_word... " >&6; }
   5889 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5890   $as_echo_n "(cached) " >&6
   5891 else
   5892   if test -n "$OBJDUMP"; then
   5893   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5894 else
   5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5896 for as_dir in $PATH
   5897 do
   5898   IFS=$as_save_IFS
   5899   test -z "$as_dir" && as_dir=.
   5900     for ac_exec_ext in '' $ac_executable_extensions; do
   5901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5902     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5904     break 2
   5905   fi
   5906 done
   5907   done
   5908 IFS=$as_save_IFS
   5909 
   5910 fi
   5911 fi
   5912 OBJDUMP=$ac_cv_prog_OBJDUMP
   5913 if test -n "$OBJDUMP"; then
   5914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5915 $as_echo "$OBJDUMP" >&6; }
   5916 else
   5917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5918 $as_echo "no" >&6; }
   5919 fi
   5920 
   5921 
   5922 fi
   5923 if test -z "$ac_cv_prog_OBJDUMP"; then
   5924   ac_ct_OBJDUMP=$OBJDUMP
   5925   # Extract the first word of "objdump", so it can be a program name with args.
   5926 set dummy objdump; ac_word=$2
   5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5928 $as_echo_n "checking for $ac_word... " >&6; }
   5929 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932   if test -n "$ac_ct_OBJDUMP"; then
   5933   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5934 else
   5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5936 for as_dir in $PATH
   5937 do
   5938   IFS=$as_save_IFS
   5939   test -z "$as_dir" && as_dir=.
   5940     for ac_exec_ext in '' $ac_executable_extensions; do
   5941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5942     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5944     break 2
   5945   fi
   5946 done
   5947   done
   5948 IFS=$as_save_IFS
   5949 
   5950 fi
   5951 fi
   5952 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5953 if test -n "$ac_ct_OBJDUMP"; then
   5954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5955 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5956 else
   5957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5958 $as_echo "no" >&6; }
   5959 fi
   5960 
   5961   if test "x$ac_ct_OBJDUMP" = x; then
   5962     OBJDUMP="false"
   5963   else
   5964     case $cross_compiling:$ac_tool_warned in
   5965 yes:)
   5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5968 ac_tool_warned=yes ;;
   5969 esac
   5970     OBJDUMP=$ac_ct_OBJDUMP
   5971   fi
   5972 else
   5973   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5974 fi
   5975 
   5976 test -z "$OBJDUMP" && OBJDUMP=objdump
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5987 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5988 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   5989   $as_echo_n "(cached) " >&6
   5990 else
   5991   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5992 lt_cv_file_magic_test_file=
   5993 lt_cv_deplibs_check_method='unknown'
   5994 # Need to set the preceding variable on all platforms that support
   5995 # interlibrary dependencies.
   5996 # 'none' -- dependencies not supported.
   5997 # `unknown' -- same as none, but documents that we really don't know.
   5998 # 'pass_all' -- all dependencies passed with no checks.
   5999 # 'test_compile' -- check by making test program.
   6000 # 'file_magic [[regex]]' -- check by looking for files in library path
   6001 # which responds to the $file_magic_cmd with a given extended regex.
   6002 # If you have `file' or equivalent on your system and you're not sure
   6003 # whether `pass_all' will *always* work, you probably want this one.
   6004 
   6005 case $host_os in
   6006 aix[4-9]*)
   6007   lt_cv_deplibs_check_method=pass_all
   6008   ;;
   6009 
   6010 beos*)
   6011   lt_cv_deplibs_check_method=pass_all
   6012   ;;
   6013 
   6014 bsdi[45]*)
   6015   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6016   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6017   lt_cv_file_magic_test_file=/shlib/libc.so
   6018   ;;
   6019 
   6020 cygwin*)
   6021   # func_win32_libid is a shell function defined in ltmain.sh
   6022   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6023   lt_cv_file_magic_cmd='func_win32_libid'
   6024   ;;
   6025 
   6026 mingw* | pw32*)
   6027   # Base MSYS/MinGW do not provide the 'file' command needed by
   6028   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6029   # unless we find 'file', for example because we are cross-compiling.
   6030   if ( file / ) >/dev/null 2>&1; then
   6031     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6032     lt_cv_file_magic_cmd='func_win32_libid'
   6033   else
   6034     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6035     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6036   fi
   6037   ;;
   6038 
   6039 cegcc)
   6040   # use the weaker test based on 'objdump'. See mingw*.
   6041   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6042   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6043   ;;
   6044 
   6045 darwin* | rhapsody*)
   6046   lt_cv_deplibs_check_method=pass_all
   6047   ;;
   6048 
   6049 freebsd* | dragonfly*)
   6050   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6051     case $host_cpu in
   6052     i*86 )
   6053       # Not sure whether the presence of OpenBSD here was a mistake.
   6054       # Let's accept both of them until this is cleared up.
   6055       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6056       lt_cv_file_magic_cmd=/usr/bin/file
   6057       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6058       ;;
   6059     esac
   6060   else
   6061     lt_cv_deplibs_check_method=pass_all
   6062   fi
   6063   ;;
   6064 
   6065 gnu*)
   6066   lt_cv_deplibs_check_method=pass_all
   6067   ;;
   6068 
   6069 hpux10.20* | hpux11*)
   6070   lt_cv_file_magic_cmd=/usr/bin/file
   6071   case $host_cpu in
   6072   ia64*)
   6073     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6074     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6075     ;;
   6076   hppa*64*)
   6077     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   6078     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6079     ;;
   6080   *)
   6081     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   6082     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6083     ;;
   6084   esac
   6085   ;;
   6086 
   6087 interix[3-9]*)
   6088   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6089   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6090   ;;
   6091 
   6092 irix5* | irix6* | nonstopux*)
   6093   case $LD in
   6094   *-32|*"-32 ") libmagic=32-bit;;
   6095   *-n32|*"-n32 ") libmagic=N32;;
   6096   *-64|*"-64 ") libmagic=64-bit;;
   6097   *) libmagic=never-match;;
   6098   esac
   6099   lt_cv_deplibs_check_method=pass_all
   6100   ;;
   6101 
   6102 # This must be Linux ELF.
   6103 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6104   lt_cv_deplibs_check_method=pass_all
   6105   ;;
   6106 
   6107 netbsd* | netbsdelf*-gnu)
   6108   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6109     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6110   else
   6111     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6112   fi
   6113   ;;
   6114 
   6115 newos6*)
   6116   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6117   lt_cv_file_magic_cmd=/usr/bin/file
   6118   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6119   ;;
   6120 
   6121 *nto* | *qnx*)
   6122   lt_cv_deplibs_check_method=pass_all
   6123   ;;
   6124 
   6125 openbsd*)
   6126   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6127     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6128   else
   6129     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6130   fi
   6131   ;;
   6132 
   6133 osf3* | osf4* | osf5*)
   6134   lt_cv_deplibs_check_method=pass_all
   6135   ;;
   6136 
   6137 rdos*)
   6138   lt_cv_deplibs_check_method=pass_all
   6139   ;;
   6140 
   6141 solaris*)
   6142   lt_cv_deplibs_check_method=pass_all
   6143   ;;
   6144 
   6145 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6146   lt_cv_deplibs_check_method=pass_all
   6147   ;;
   6148 
   6149 sysv4 | sysv4.3*)
   6150   case $host_vendor in
   6151   motorola)
   6152     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
   6153     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6154     ;;
   6155   ncr)
   6156     lt_cv_deplibs_check_method=pass_all
   6157     ;;
   6158   sequent)
   6159     lt_cv_file_magic_cmd='/bin/file'
   6160     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6161     ;;
   6162   sni)
   6163     lt_cv_file_magic_cmd='/bin/file'
   6164     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6165     lt_cv_file_magic_test_file=/lib/libc.so
   6166     ;;
   6167   siemens)
   6168     lt_cv_deplibs_check_method=pass_all
   6169     ;;
   6170   pc)
   6171     lt_cv_deplibs_check_method=pass_all
   6172     ;;
   6173   esac
   6174   ;;
   6175 
   6176 tpf*)
   6177   lt_cv_deplibs_check_method=pass_all
   6178   ;;
   6179 esac
   6180 
   6181 fi
   6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6183 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6184 file_magic_cmd=$lt_cv_file_magic_cmd
   6185 deplibs_check_method=$lt_cv_deplibs_check_method
   6186 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 if test -n "$ac_tool_prefix"; then
   6200   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6201 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6203 $as_echo_n "checking for $ac_word... " >&6; }
   6204 if test "${ac_cv_prog_AR+set}" = set; then :
   6205   $as_echo_n "(cached) " >&6
   6206 else
   6207   if test -n "$AR"; then
   6208   ac_cv_prog_AR="$AR" # Let the user override the test.
   6209 else
   6210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6211 for as_dir in $PATH
   6212 do
   6213   IFS=$as_save_IFS
   6214   test -z "$as_dir" && as_dir=.
   6215     for ac_exec_ext in '' $ac_executable_extensions; do
   6216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6217     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6219     break 2
   6220   fi
   6221 done
   6222   done
   6223 IFS=$as_save_IFS
   6224 
   6225 fi
   6226 fi
   6227 AR=$ac_cv_prog_AR
   6228 if test -n "$AR"; then
   6229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6230 $as_echo "$AR" >&6; }
   6231 else
   6232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6233 $as_echo "no" >&6; }
   6234 fi
   6235 
   6236 
   6237 fi
   6238 if test -z "$ac_cv_prog_AR"; then
   6239   ac_ct_AR=$AR
   6240   # Extract the first word of "ar", so it can be a program name with args.
   6241 set dummy ar; ac_word=$2
   6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6243 $as_echo_n "checking for $ac_word... " >&6; }
   6244 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   6245   $as_echo_n "(cached) " >&6
   6246 else
   6247   if test -n "$ac_ct_AR"; then
   6248   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6249 else
   6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6251 for as_dir in $PATH
   6252 do
   6253   IFS=$as_save_IFS
   6254   test -z "$as_dir" && as_dir=.
   6255     for ac_exec_ext in '' $ac_executable_extensions; do
   6256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6257     ac_cv_prog_ac_ct_AR="ar"
   6258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6259     break 2
   6260   fi
   6261 done
   6262   done
   6263 IFS=$as_save_IFS
   6264 
   6265 fi
   6266 fi
   6267 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6268 if test -n "$ac_ct_AR"; then
   6269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6270 $as_echo "$ac_ct_AR" >&6; }
   6271 else
   6272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6273 $as_echo "no" >&6; }
   6274 fi
   6275 
   6276   if test "x$ac_ct_AR" = x; then
   6277     AR="false"
   6278   else
   6279     case $cross_compiling:$ac_tool_warned in
   6280 yes:)
   6281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6283 ac_tool_warned=yes ;;
   6284 esac
   6285     AR=$ac_ct_AR
   6286   fi
   6287 else
   6288   AR="$ac_cv_prog_AR"
   6289 fi
   6290 
   6291 test -z "$AR" && AR=ar
   6292 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 if test -n "$ac_tool_prefix"; then
   6305   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6306 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6308 $as_echo_n "checking for $ac_word... " >&6; }
   6309 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6310   $as_echo_n "(cached) " >&6
   6311 else
   6312   if test -n "$STRIP"; then
   6313   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6314 else
   6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6316 for as_dir in $PATH
   6317 do
   6318   IFS=$as_save_IFS
   6319   test -z "$as_dir" && as_dir=.
   6320     for ac_exec_ext in '' $ac_executable_extensions; do
   6321   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6322     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6324     break 2
   6325   fi
   6326 done
   6327   done
   6328 IFS=$as_save_IFS
   6329 
   6330 fi
   6331 fi
   6332 STRIP=$ac_cv_prog_STRIP
   6333 if test -n "$STRIP"; then
   6334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6335 $as_echo "$STRIP" >&6; }
   6336 else
   6337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6338 $as_echo "no" >&6; }
   6339 fi
   6340 
   6341 
   6342 fi
   6343 if test -z "$ac_cv_prog_STRIP"; then
   6344   ac_ct_STRIP=$STRIP
   6345   # Extract the first word of "strip", so it can be a program name with args.
   6346 set dummy strip; ac_word=$2
   6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6348 $as_echo_n "checking for $ac_word... " >&6; }
   6349 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6350   $as_echo_n "(cached) " >&6
   6351 else
   6352   if test -n "$ac_ct_STRIP"; then
   6353   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6354 else
   6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6356 for as_dir in $PATH
   6357 do
   6358   IFS=$as_save_IFS
   6359   test -z "$as_dir" && as_dir=.
   6360     for ac_exec_ext in '' $ac_executable_extensions; do
   6361   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6362     ac_cv_prog_ac_ct_STRIP="strip"
   6363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6364     break 2
   6365   fi
   6366 done
   6367   done
   6368 IFS=$as_save_IFS
   6369 
   6370 fi
   6371 fi
   6372 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6373 if test -n "$ac_ct_STRIP"; then
   6374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6375 $as_echo "$ac_ct_STRIP" >&6; }
   6376 else
   6377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6378 $as_echo "no" >&6; }
   6379 fi
   6380 
   6381   if test "x$ac_ct_STRIP" = x; then
   6382     STRIP=":"
   6383   else
   6384     case $cross_compiling:$ac_tool_warned in
   6385 yes:)
   6386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6387 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6388 ac_tool_warned=yes ;;
   6389 esac
   6390     STRIP=$ac_ct_STRIP
   6391   fi
   6392 else
   6393   STRIP="$ac_cv_prog_STRIP"
   6394 fi
   6395 
   6396 test -z "$STRIP" && STRIP=:
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 if test -n "$ac_tool_prefix"; then
   6404   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6405 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6407 $as_echo_n "checking for $ac_word... " >&6; }
   6408 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6409   $as_echo_n "(cached) " >&6
   6410 else
   6411   if test -n "$RANLIB"; then
   6412   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6413 else
   6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6415 for as_dir in $PATH
   6416 do
   6417   IFS=$as_save_IFS
   6418   test -z "$as_dir" && as_dir=.
   6419     for ac_exec_ext in '' $ac_executable_extensions; do
   6420   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6421     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6423     break 2
   6424   fi
   6425 done
   6426   done
   6427 IFS=$as_save_IFS
   6428 
   6429 fi
   6430 fi
   6431 RANLIB=$ac_cv_prog_RANLIB
   6432 if test -n "$RANLIB"; then
   6433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6434 $as_echo "$RANLIB" >&6; }
   6435 else
   6436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6437 $as_echo "no" >&6; }
   6438 fi
   6439 
   6440 
   6441 fi
   6442 if test -z "$ac_cv_prog_RANLIB"; then
   6443   ac_ct_RANLIB=$RANLIB
   6444   # Extract the first word of "ranlib", so it can be a program name with args.
   6445 set dummy ranlib; ac_word=$2
   6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6447 $as_echo_n "checking for $ac_word... " >&6; }
   6448 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6449   $as_echo_n "(cached) " >&6
   6450 else
   6451   if test -n "$ac_ct_RANLIB"; then
   6452   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6453 else
   6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6455 for as_dir in $PATH
   6456 do
   6457   IFS=$as_save_IFS
   6458   test -z "$as_dir" && as_dir=.
   6459     for ac_exec_ext in '' $ac_executable_extensions; do
   6460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6461     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6463     break 2
   6464   fi
   6465 done
   6466   done
   6467 IFS=$as_save_IFS
   6468 
   6469 fi
   6470 fi
   6471 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6472 if test -n "$ac_ct_RANLIB"; then
   6473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6474 $as_echo "$ac_ct_RANLIB" >&6; }
   6475 else
   6476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6477 $as_echo "no" >&6; }
   6478 fi
   6479 
   6480   if test "x$ac_ct_RANLIB" = x; then
   6481     RANLIB=":"
   6482   else
   6483     case $cross_compiling:$ac_tool_warned in
   6484 yes:)
   6485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6487 ac_tool_warned=yes ;;
   6488 esac
   6489     RANLIB=$ac_ct_RANLIB
   6490   fi
   6491 else
   6492   RANLIB="$ac_cv_prog_RANLIB"
   6493 fi
   6494 
   6495 test -z "$RANLIB" && RANLIB=:
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 # Determine commands to create old-style static archives.
   6503 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6504 old_postinstall_cmds='chmod 644 $oldlib'
   6505 old_postuninstall_cmds=
   6506 
   6507 if test -n "$RANLIB"; then
   6508   case $host_os in
   6509   openbsd*)
   6510     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6511     ;;
   6512   *)
   6513     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6514     ;;
   6515   esac
   6516   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6517 fi
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 # If no C compiler was specified, use CC.
   6553 LTCC=${LTCC-"$CC"}
   6554 
   6555 # If no C compiler flags were specified, use CFLAGS.
   6556 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6557 
   6558 # Allow CC to be a program name with arguments.
   6559 compiler=$CC
   6560 
   6561 
   6562 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6564 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6565 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568 
   6569 # These are sane defaults that work on at least a few old systems.
   6570 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6571 
   6572 # Character class describing NM global symbol codes.
   6573 symcode='[BCDEGRST]'
   6574 
   6575 # Regexp to match symbols that can be accessed directly from C.
   6576 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6577 
   6578 # Define system-specific variables.
   6579 case $host_os in
   6580 aix*)
   6581   symcode='[BCDT]'
   6582   ;;
   6583 cygwin* | mingw* | pw32* | cegcc*)
   6584   symcode='[ABCDGISTW]'
   6585   ;;
   6586 hpux*)
   6587   if test "$host_cpu" = ia64; then
   6588     symcode='[ABCDEGRST]'
   6589   fi
   6590   ;;
   6591 irix* | nonstopux*)
   6592   symcode='[BCDEGRST]'
   6593   ;;
   6594 osf*)
   6595   symcode='[BCDEGQRST]'
   6596   ;;
   6597 solaris*)
   6598   symcode='[BDRT]'
   6599   ;;
   6600 sco3.2v5*)
   6601   symcode='[DT]'
   6602   ;;
   6603 sysv4.2uw2*)
   6604   symcode='[DT]'
   6605   ;;
   6606 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6607   symcode='[ABDT]'
   6608   ;;
   6609 sysv4)
   6610   symcode='[DFNSTU]'
   6611   ;;
   6612 esac
   6613 
   6614 # If we're using GNU nm, then use its standard symbol codes.
   6615 case `$NM -V 2>&1` in
   6616 *GNU* | *'with BFD'*)
   6617   symcode='[ABCDGIRSTW]' ;;
   6618 esac
   6619 
   6620 # Transform an extracted symbol line into a proper C declaration.
   6621 # Some systems (esp. on ia64) link data and code symbols differently,
   6622 # so use this general approach.
   6623 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6624 
   6625 # Transform an extracted symbol line into symbol name and symbol address
   6626 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6627 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   6628 
   6629 # Handle CRLF in mingw tool chain
   6630 opt_cr=
   6631 case $build_os in
   6632 mingw*)
   6633   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6634   ;;
   6635 esac
   6636 
   6637 # Try without a prefix underscore, then with it.
   6638 for ac_symprfx in "" "_"; do
   6639 
   6640   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6641   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6642 
   6643   # Write the raw and C identifiers.
   6644   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6645     # Fake it for dumpbin and say T for any non-static function
   6646     # and D for any global variable.
   6647     # Also find C++ and __fastcall symbols from MSVC++,
   6648     # which start with @ or ?.
   6649     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6650 "     {last_section=section; section=\$ 3};"\
   6651 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6652 "     \$ 0!~/External *\|/{next};"\
   6653 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6654 "     {if(hide[section]) next};"\
   6655 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6656 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6657 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6658 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6659 "     ' prfx=^$ac_symprfx"
   6660   else
   6661     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6662   fi
   6663 
   6664   # Check to see that the pipe works correctly.
   6665   pipe_works=no
   6666 
   6667   rm -f conftest*
   6668   cat > conftest.$ac_ext <<_LT_EOF
   6669 #ifdef __cplusplus
   6670 extern "C" {
   6671 #endif
   6672 char nm_test_var;
   6673 void nm_test_func(void);
   6674 void nm_test_func(void){}
   6675 #ifdef __cplusplus
   6676 }
   6677 #endif
   6678 int main(){nm_test_var='a';nm_test_func();return(0);}
   6679 _LT_EOF
   6680 
   6681   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6682   (eval $ac_compile) 2>&5
   6683   ac_status=$?
   6684   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6685   test $ac_status = 0; }; then
   6686     # Now try to grab the symbols.
   6687     nlist=conftest.nm
   6688     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   6689   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6690   ac_status=$?
   6691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6692   test $ac_status = 0; } && test -s "$nlist"; then
   6693       # Try sorting and uniquifying the output.
   6694       if sort "$nlist" | uniq > "$nlist"T; then
   6695 	mv -f "$nlist"T "$nlist"
   6696       else
   6697 	rm -f "$nlist"T
   6698       fi
   6699 
   6700       # Make sure that we snagged all the symbols we need.
   6701       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6702 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6703 	  cat <<_LT_EOF > conftest.$ac_ext
   6704 #ifdef __cplusplus
   6705 extern "C" {
   6706 #endif
   6707 
   6708 _LT_EOF
   6709 	  # Now generate the symbol file.
   6710 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6711 
   6712 	  cat <<_LT_EOF >> conftest.$ac_ext
   6713 
   6714 /* The mapping between symbol names and symbols.  */
   6715 const struct {
   6716   const char *name;
   6717   void       *address;
   6718 }
   6719 lt__PROGRAM__LTX_preloaded_symbols[] =
   6720 {
   6721   { "@PROGRAM@", (void *) 0 },
   6722 _LT_EOF
   6723 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6724 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6725   {0, (void *) 0}
   6726 };
   6727 
   6728 /* This works around a problem in FreeBSD linker */
   6729 #ifdef FREEBSD_WORKAROUND
   6730 static const void *lt_preloaded_setup() {
   6731   return lt__PROGRAM__LTX_preloaded_symbols;
   6732 }
   6733 #endif
   6734 
   6735 #ifdef __cplusplus
   6736 }
   6737 #endif
   6738 _LT_EOF
   6739 	  # Now try linking the two files.
   6740 	  mv conftest.$ac_objext conftstm.$ac_objext
   6741 	  lt_save_LIBS="$LIBS"
   6742 	  lt_save_CFLAGS="$CFLAGS"
   6743 	  LIBS="conftstm.$ac_objext"
   6744 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6745 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6746   (eval $ac_link) 2>&5
   6747   ac_status=$?
   6748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6749   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6750 	    pipe_works=yes
   6751 	  fi
   6752 	  LIBS="$lt_save_LIBS"
   6753 	  CFLAGS="$lt_save_CFLAGS"
   6754 	else
   6755 	  echo "cannot find nm_test_func in $nlist" >&5
   6756 	fi
   6757       else
   6758 	echo "cannot find nm_test_var in $nlist" >&5
   6759       fi
   6760     else
   6761       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6762     fi
   6763   else
   6764     echo "$progname: failed program was:" >&5
   6765     cat conftest.$ac_ext >&5
   6766   fi
   6767   rm -rf conftest* conftst*
   6768 
   6769   # Do not use the global_symbol_pipe unless it works.
   6770   if test "$pipe_works" = yes; then
   6771     break
   6772   else
   6773     lt_cv_sys_global_symbol_pipe=
   6774   fi
   6775 done
   6776 
   6777 fi
   6778 
   6779 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6780   lt_cv_sys_global_symbol_to_cdecl=
   6781 fi
   6782 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6784 $as_echo "failed" >&6; }
   6785 else
   6786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6787 $as_echo "ok" >&6; }
   6788 fi
   6789 
   6790 
   6791 
   6792 
   6793 
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 # Check whether --enable-libtool-lock was given.
   6812 if test "${enable_libtool_lock+set}" = set; then :
   6813   enableval=$enable_libtool_lock;
   6814 fi
   6815 
   6816 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6817 
   6818 # Some flags need to be propagated to the compiler or linker for good
   6819 # libtool support.
   6820 case $host in
   6821 ia64-*-hpux*)
   6822   # Find out which ABI we are using.
   6823   echo 'int i;' > conftest.$ac_ext
   6824   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6825   (eval $ac_compile) 2>&5
   6826   ac_status=$?
   6827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6828   test $ac_status = 0; }; then
   6829     case `/usr/bin/file conftest.$ac_objext` in
   6830       *ELF-32*)
   6831 	HPUX_IA64_MODE="32"
   6832 	;;
   6833       *ELF-64*)
   6834 	HPUX_IA64_MODE="64"
   6835 	;;
   6836     esac
   6837   fi
   6838   rm -rf conftest*
   6839   ;;
   6840 *-*-irix6*)
   6841   # Find out which ABI we are using.
   6842   echo '#line 6842 "configure"' > conftest.$ac_ext
   6843   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6844   (eval $ac_compile) 2>&5
   6845   ac_status=$?
   6846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6847   test $ac_status = 0; }; then
   6848     if test "$lt_cv_prog_gnu_ld" = yes; then
   6849       case `/usr/bin/file conftest.$ac_objext` in
   6850 	*32-bit*)
   6851 	  LD="${LD-ld} -melf32bsmip"
   6852 	  ;;
   6853 	*N32*)
   6854 	  LD="${LD-ld} -melf32bmipn32"
   6855 	  ;;
   6856 	*64-bit*)
   6857 	  LD="${LD-ld} -melf64bmip"
   6858 	;;
   6859       esac
   6860     else
   6861       case `/usr/bin/file conftest.$ac_objext` in
   6862 	*32-bit*)
   6863 	  LD="${LD-ld} -32"
   6864 	  ;;
   6865 	*N32*)
   6866 	  LD="${LD-ld} -n32"
   6867 	  ;;
   6868 	*64-bit*)
   6869 	  LD="${LD-ld} -64"
   6870 	  ;;
   6871       esac
   6872     fi
   6873   fi
   6874   rm -rf conftest*
   6875   ;;
   6876 
   6877 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6878 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6879   # Find out which ABI we are using.
   6880   echo 'int i;' > conftest.$ac_ext
   6881   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6882   (eval $ac_compile) 2>&5
   6883   ac_status=$?
   6884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6885   test $ac_status = 0; }; then
   6886     case `/usr/bin/file conftest.o` in
   6887       *32-bit*)
   6888 	case $host in
   6889 	  x86_64-*kfreebsd*-gnu)
   6890 	    LD="${LD-ld} -m elf_i386_fbsd"
   6891 	    ;;
   6892 	  x86_64-*linux*)
   6893 	    LD="${LD-ld} -m elf_i386"
   6894 	    ;;
   6895 	  ppc64-*linux*|powerpc64-*linux*)
   6896 	    LD="${LD-ld} -m elf32ppclinux"
   6897 	    ;;
   6898 	  s390x-*linux*)
   6899 	    LD="${LD-ld} -m elf_s390"
   6900 	    ;;
   6901 	  sparc64-*linux*)
   6902 	    LD="${LD-ld} -m elf32_sparc"
   6903 	    ;;
   6904 	esac
   6905 	;;
   6906       *64-bit*)
   6907 	case $host in
   6908 	  x86_64-*kfreebsd*-gnu)
   6909 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6910 	    ;;
   6911 	  x86_64-*linux*)
   6912 	    LD="${LD-ld} -m elf_x86_64"
   6913 	    ;;
   6914 	  ppc*-*linux*|powerpc*-*linux*)
   6915 	    LD="${LD-ld} -m elf64ppc"
   6916 	    ;;
   6917 	  s390*-*linux*|s390*-*tpf*)
   6918 	    LD="${LD-ld} -m elf64_s390"
   6919 	    ;;
   6920 	  sparc*-*linux*)
   6921 	    LD="${LD-ld} -m elf64_sparc"
   6922 	    ;;
   6923 	esac
   6924 	;;
   6925     esac
   6926   fi
   6927   rm -rf conftest*
   6928   ;;
   6929 
   6930 *-*-sco3.2v5*)
   6931   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6932   SAVE_CFLAGS="$CFLAGS"
   6933   CFLAGS="$CFLAGS -belf"
   6934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6935 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6936 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6937   $as_echo_n "(cached) " >&6
   6938 else
   6939   ac_ext=c
   6940 ac_cpp='$CPP $CPPFLAGS'
   6941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6944 
   6945      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6946 /* end confdefs.h.  */
   6947 
   6948 int
   6949 main ()
   6950 {
   6951 
   6952   ;
   6953   return 0;
   6954 }
   6955 _ACEOF
   6956 if ac_fn_c_try_link "$LINENO"; then :
   6957   lt_cv_cc_needs_belf=yes
   6958 else
   6959   lt_cv_cc_needs_belf=no
   6960 fi
   6961 rm -f core conftest.err conftest.$ac_objext \
   6962     conftest$ac_exeext conftest.$ac_ext
   6963      ac_ext=c
   6964 ac_cpp='$CPP $CPPFLAGS'
   6965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6968 
   6969 fi
   6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6971 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6972   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6973     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6974     CFLAGS="$SAVE_CFLAGS"
   6975   fi
   6976   ;;
   6977 sparc*-*solaris*)
   6978   # Find out which ABI we are using.
   6979   echo 'int i;' > conftest.$ac_ext
   6980   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6981   (eval $ac_compile) 2>&5
   6982   ac_status=$?
   6983   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6984   test $ac_status = 0; }; then
   6985     case `/usr/bin/file conftest.o` in
   6986     *64-bit*)
   6987       case $lt_cv_prog_gnu_ld in
   6988       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6989       *)
   6990 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6991 	  LD="${LD-ld} -64"
   6992 	fi
   6993 	;;
   6994       esac
   6995       ;;
   6996     esac
   6997   fi
   6998   rm -rf conftest*
   6999   ;;
   7000 esac
   7001 
   7002 need_locks="$enable_libtool_lock"
   7003 
   7004 
   7005   case $host_os in
   7006     rhapsody* | darwin*)
   7007     if test -n "$ac_tool_prefix"; then
   7008   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7009 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7011 $as_echo_n "checking for $ac_word... " >&6; }
   7012 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   7013   $as_echo_n "(cached) " >&6
   7014 else
   7015   if test -n "$DSYMUTIL"; then
   7016   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7017 else
   7018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7019 for as_dir in $PATH
   7020 do
   7021   IFS=$as_save_IFS
   7022   test -z "$as_dir" && as_dir=.
   7023     for ac_exec_ext in '' $ac_executable_extensions; do
   7024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7025     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7027     break 2
   7028   fi
   7029 done
   7030   done
   7031 IFS=$as_save_IFS
   7032 
   7033 fi
   7034 fi
   7035 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7036 if test -n "$DSYMUTIL"; then
   7037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7038 $as_echo "$DSYMUTIL" >&6; }
   7039 else
   7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7041 $as_echo "no" >&6; }
   7042 fi
   7043 
   7044 
   7045 fi
   7046 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7047   ac_ct_DSYMUTIL=$DSYMUTIL
   7048   # Extract the first word of "dsymutil", so it can be a program name with args.
   7049 set dummy dsymutil; ac_word=$2
   7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7051 $as_echo_n "checking for $ac_word... " >&6; }
   7052 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   7053   $as_echo_n "(cached) " >&6
   7054 else
   7055   if test -n "$ac_ct_DSYMUTIL"; then
   7056   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7057 else
   7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7059 for as_dir in $PATH
   7060 do
   7061   IFS=$as_save_IFS
   7062   test -z "$as_dir" && as_dir=.
   7063     for ac_exec_ext in '' $ac_executable_extensions; do
   7064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7065     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7067     break 2
   7068   fi
   7069 done
   7070   done
   7071 IFS=$as_save_IFS
   7072 
   7073 fi
   7074 fi
   7075 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7076 if test -n "$ac_ct_DSYMUTIL"; then
   7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7078 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7079 else
   7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7081 $as_echo "no" >&6; }
   7082 fi
   7083 
   7084   if test "x$ac_ct_DSYMUTIL" = x; then
   7085     DSYMUTIL=":"
   7086   else
   7087     case $cross_compiling:$ac_tool_warned in
   7088 yes:)
   7089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7090 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7091 ac_tool_warned=yes ;;
   7092 esac
   7093     DSYMUTIL=$ac_ct_DSYMUTIL
   7094   fi
   7095 else
   7096   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7097 fi
   7098 
   7099     if test -n "$ac_tool_prefix"; then
   7100   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7101 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7103 $as_echo_n "checking for $ac_word... " >&6; }
   7104 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   7105   $as_echo_n "(cached) " >&6
   7106 else
   7107   if test -n "$NMEDIT"; then
   7108   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7109 else
   7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7111 for as_dir in $PATH
   7112 do
   7113   IFS=$as_save_IFS
   7114   test -z "$as_dir" && as_dir=.
   7115     for ac_exec_ext in '' $ac_executable_extensions; do
   7116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7117     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7119     break 2
   7120   fi
   7121 done
   7122   done
   7123 IFS=$as_save_IFS
   7124 
   7125 fi
   7126 fi
   7127 NMEDIT=$ac_cv_prog_NMEDIT
   7128 if test -n "$NMEDIT"; then
   7129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7130 $as_echo "$NMEDIT" >&6; }
   7131 else
   7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7133 $as_echo "no" >&6; }
   7134 fi
   7135 
   7136 
   7137 fi
   7138 if test -z "$ac_cv_prog_NMEDIT"; then
   7139   ac_ct_NMEDIT=$NMEDIT
   7140   # Extract the first word of "nmedit", so it can be a program name with args.
   7141 set dummy nmedit; ac_word=$2
   7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7143 $as_echo_n "checking for $ac_word... " >&6; }
   7144 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   7145   $as_echo_n "(cached) " >&6
   7146 else
   7147   if test -n "$ac_ct_NMEDIT"; then
   7148   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7149 else
   7150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7151 for as_dir in $PATH
   7152 do
   7153   IFS=$as_save_IFS
   7154   test -z "$as_dir" && as_dir=.
   7155     for ac_exec_ext in '' $ac_executable_extensions; do
   7156   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7157     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7158     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7159     break 2
   7160   fi
   7161 done
   7162   done
   7163 IFS=$as_save_IFS
   7164 
   7165 fi
   7166 fi
   7167 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7168 if test -n "$ac_ct_NMEDIT"; then
   7169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7170 $as_echo "$ac_ct_NMEDIT" >&6; }
   7171 else
   7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7173 $as_echo "no" >&6; }
   7174 fi
   7175 
   7176   if test "x$ac_ct_NMEDIT" = x; then
   7177     NMEDIT=":"
   7178   else
   7179     case $cross_compiling:$ac_tool_warned in
   7180 yes:)
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7183 ac_tool_warned=yes ;;
   7184 esac
   7185     NMEDIT=$ac_ct_NMEDIT
   7186   fi
   7187 else
   7188   NMEDIT="$ac_cv_prog_NMEDIT"
   7189 fi
   7190 
   7191     if test -n "$ac_tool_prefix"; then
   7192   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7193 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7195 $as_echo_n "checking for $ac_word... " >&6; }
   7196 if test "${ac_cv_prog_LIPO+set}" = set; then :
   7197   $as_echo_n "(cached) " >&6
   7198 else
   7199   if test -n "$LIPO"; then
   7200   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7201 else
   7202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7203 for as_dir in $PATH
   7204 do
   7205   IFS=$as_save_IFS
   7206   test -z "$as_dir" && as_dir=.
   7207     for ac_exec_ext in '' $ac_executable_extensions; do
   7208   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7209     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7210     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7211     break 2
   7212   fi
   7213 done
   7214   done
   7215 IFS=$as_save_IFS
   7216 
   7217 fi
   7218 fi
   7219 LIPO=$ac_cv_prog_LIPO
   7220 if test -n "$LIPO"; then
   7221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7222 $as_echo "$LIPO" >&6; }
   7223 else
   7224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7225 $as_echo "no" >&6; }
   7226 fi
   7227 
   7228 
   7229 fi
   7230 if test -z "$ac_cv_prog_LIPO"; then
   7231   ac_ct_LIPO=$LIPO
   7232   # Extract the first word of "lipo", so it can be a program name with args.
   7233 set dummy lipo; ac_word=$2
   7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7235 $as_echo_n "checking for $ac_word... " >&6; }
   7236 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   7237   $as_echo_n "(cached) " >&6
   7238 else
   7239   if test -n "$ac_ct_LIPO"; then
   7240   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7241 else
   7242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7243 for as_dir in $PATH
   7244 do
   7245   IFS=$as_save_IFS
   7246   test -z "$as_dir" && as_dir=.
   7247     for ac_exec_ext in '' $ac_executable_extensions; do
   7248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7249     ac_cv_prog_ac_ct_LIPO="lipo"
   7250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7251     break 2
   7252   fi
   7253 done
   7254   done
   7255 IFS=$as_save_IFS
   7256 
   7257 fi
   7258 fi
   7259 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7260 if test -n "$ac_ct_LIPO"; then
   7261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7262 $as_echo "$ac_ct_LIPO" >&6; }
   7263 else
   7264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7265 $as_echo "no" >&6; }
   7266 fi
   7267 
   7268   if test "x$ac_ct_LIPO" = x; then
   7269     LIPO=":"
   7270   else
   7271     case $cross_compiling:$ac_tool_warned in
   7272 yes:)
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7275 ac_tool_warned=yes ;;
   7276 esac
   7277     LIPO=$ac_ct_LIPO
   7278   fi
   7279 else
   7280   LIPO="$ac_cv_prog_LIPO"
   7281 fi
   7282 
   7283     if test -n "$ac_tool_prefix"; then
   7284   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7285 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7287 $as_echo_n "checking for $ac_word... " >&6; }
   7288 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   7289   $as_echo_n "(cached) " >&6
   7290 else
   7291   if test -n "$OTOOL"; then
   7292   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7293 else
   7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7295 for as_dir in $PATH
   7296 do
   7297   IFS=$as_save_IFS
   7298   test -z "$as_dir" && as_dir=.
   7299     for ac_exec_ext in '' $ac_executable_extensions; do
   7300   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7301     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7302     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7303     break 2
   7304   fi
   7305 done
   7306   done
   7307 IFS=$as_save_IFS
   7308 
   7309 fi
   7310 fi
   7311 OTOOL=$ac_cv_prog_OTOOL
   7312 if test -n "$OTOOL"; then
   7313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7314 $as_echo "$OTOOL" >&6; }
   7315 else
   7316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7317 $as_echo "no" >&6; }
   7318 fi
   7319 
   7320 
   7321 fi
   7322 if test -z "$ac_cv_prog_OTOOL"; then
   7323   ac_ct_OTOOL=$OTOOL
   7324   # Extract the first word of "otool", so it can be a program name with args.
   7325 set dummy otool; ac_word=$2
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7327 $as_echo_n "checking for $ac_word... " >&6; }
   7328 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7329   $as_echo_n "(cached) " >&6
   7330 else
   7331   if test -n "$ac_ct_OTOOL"; then
   7332   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7333 else
   7334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7335 for as_dir in $PATH
   7336 do
   7337   IFS=$as_save_IFS
   7338   test -z "$as_dir" && as_dir=.
   7339     for ac_exec_ext in '' $ac_executable_extensions; do
   7340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7341     ac_cv_prog_ac_ct_OTOOL="otool"
   7342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7343     break 2
   7344   fi
   7345 done
   7346   done
   7347 IFS=$as_save_IFS
   7348 
   7349 fi
   7350 fi
   7351 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7352 if test -n "$ac_ct_OTOOL"; then
   7353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7354 $as_echo "$ac_ct_OTOOL" >&6; }
   7355 else
   7356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7357 $as_echo "no" >&6; }
   7358 fi
   7359 
   7360   if test "x$ac_ct_OTOOL" = x; then
   7361     OTOOL=":"
   7362   else
   7363     case $cross_compiling:$ac_tool_warned in
   7364 yes:)
   7365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7367 ac_tool_warned=yes ;;
   7368 esac
   7369     OTOOL=$ac_ct_OTOOL
   7370   fi
   7371 else
   7372   OTOOL="$ac_cv_prog_OTOOL"
   7373 fi
   7374 
   7375     if test -n "$ac_tool_prefix"; then
   7376   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7377 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7379 $as_echo_n "checking for $ac_word... " >&6; }
   7380 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7381   $as_echo_n "(cached) " >&6
   7382 else
   7383   if test -n "$OTOOL64"; then
   7384   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7385 else
   7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7387 for as_dir in $PATH
   7388 do
   7389   IFS=$as_save_IFS
   7390   test -z "$as_dir" && as_dir=.
   7391     for ac_exec_ext in '' $ac_executable_extensions; do
   7392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7393     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7394     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7395     break 2
   7396   fi
   7397 done
   7398   done
   7399 IFS=$as_save_IFS
   7400 
   7401 fi
   7402 fi
   7403 OTOOL64=$ac_cv_prog_OTOOL64
   7404 if test -n "$OTOOL64"; then
   7405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7406 $as_echo "$OTOOL64" >&6; }
   7407 else
   7408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7409 $as_echo "no" >&6; }
   7410 fi
   7411 
   7412 
   7413 fi
   7414 if test -z "$ac_cv_prog_OTOOL64"; then
   7415   ac_ct_OTOOL64=$OTOOL64
   7416   # Extract the first word of "otool64", so it can be a program name with args.
   7417 set dummy otool64; ac_word=$2
   7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7419 $as_echo_n "checking for $ac_word... " >&6; }
   7420 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7421   $as_echo_n "(cached) " >&6
   7422 else
   7423   if test -n "$ac_ct_OTOOL64"; then
   7424   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7425 else
   7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7427 for as_dir in $PATH
   7428 do
   7429   IFS=$as_save_IFS
   7430   test -z "$as_dir" && as_dir=.
   7431     for ac_exec_ext in '' $ac_executable_extensions; do
   7432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7433     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7434     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7435     break 2
   7436   fi
   7437 done
   7438   done
   7439 IFS=$as_save_IFS
   7440 
   7441 fi
   7442 fi
   7443 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7444 if test -n "$ac_ct_OTOOL64"; then
   7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7446 $as_echo "$ac_ct_OTOOL64" >&6; }
   7447 else
   7448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7449 $as_echo "no" >&6; }
   7450 fi
   7451 
   7452   if test "x$ac_ct_OTOOL64" = x; then
   7453     OTOOL64=":"
   7454   else
   7455     case $cross_compiling:$ac_tool_warned in
   7456 yes:)
   7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7459 ac_tool_warned=yes ;;
   7460 esac
   7461     OTOOL64=$ac_ct_OTOOL64
   7462   fi
   7463 else
   7464   OTOOL64="$ac_cv_prog_OTOOL64"
   7465 fi
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7494 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7495 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7496   $as_echo_n "(cached) " >&6
   7497 else
   7498   lt_cv_apple_cc_single_mod=no
   7499       if test -z "${LT_MULTI_MODULE}"; then
   7500 	# By default we will add the -single_module flag. You can override
   7501 	# by either setting the environment variable LT_MULTI_MODULE
   7502 	# non-empty at configure time, or by adding -multi_module to the
   7503 	# link flags.
   7504 	rm -rf libconftest.dylib*
   7505 	echo "int foo(void){return 1;}" > conftest.c
   7506 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7507 -dynamiclib -Wl,-single_module conftest.c" >&5
   7508 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7509 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7510         _lt_result=$?
   7511 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7512 	  lt_cv_apple_cc_single_mod=yes
   7513 	else
   7514 	  cat conftest.err >&5
   7515 	fi
   7516 	rm -rf libconftest.dylib*
   7517 	rm -f conftest.*
   7518       fi
   7519 fi
   7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7521 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7522     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7523 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7524 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7525   $as_echo_n "(cached) " >&6
   7526 else
   7527   lt_cv_ld_exported_symbols_list=no
   7528       save_LDFLAGS=$LDFLAGS
   7529       echo "_main" > conftest.sym
   7530       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7532 /* end confdefs.h.  */
   7533 
   7534 int
   7535 main ()
   7536 {
   7537 
   7538   ;
   7539   return 0;
   7540 }
   7541 _ACEOF
   7542 if ac_fn_c_try_link "$LINENO"; then :
   7543   lt_cv_ld_exported_symbols_list=yes
   7544 else
   7545   lt_cv_ld_exported_symbols_list=no
   7546 fi
   7547 rm -f core conftest.err conftest.$ac_objext \
   7548     conftest$ac_exeext conftest.$ac_ext
   7549 	LDFLAGS="$save_LDFLAGS"
   7550 
   7551 fi
   7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7553 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7554     case $host_os in
   7555     rhapsody* | darwin1.[012])
   7556       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7557     darwin1.*)
   7558       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7559     darwin*) # darwin 5.x on
   7560       # if running on 10.5 or later, the deployment target defaults
   7561       # to the OS version, if on x86, and 10.4, the deployment
   7562       # target defaults to 10.4. Don't you love it?
   7563       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7564 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7565 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7566 	10.[012]*)
   7567 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7568 	10.*)
   7569 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7570       esac
   7571     ;;
   7572   esac
   7573     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7574       _lt_dar_single_mod='$single_module'
   7575     fi
   7576     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7577       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7578     else
   7579       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7580     fi
   7581     if test "$DSYMUTIL" != ":"; then
   7582       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7583     else
   7584       _lt_dsymutil=
   7585     fi
   7586     ;;
   7587   esac
   7588 
   7589 
   7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7591 $as_echo_n "checking for ANSI C header files... " >&6; }
   7592 if test "${ac_cv_header_stdc+set}" = set; then :
   7593   $as_echo_n "(cached) " >&6
   7594 else
   7595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7596 /* end confdefs.h.  */
   7597 #include <stdlib.h>
   7598 #include <stdarg.h>
   7599 #include <string.h>
   7600 #include <float.h>
   7601 
   7602 int
   7603 main ()
   7604 {
   7605 
   7606   ;
   7607   return 0;
   7608 }
   7609 _ACEOF
   7610 if ac_fn_c_try_compile "$LINENO"; then :
   7611   ac_cv_header_stdc=yes
   7612 else
   7613   ac_cv_header_stdc=no
   7614 fi
   7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7616 
   7617 if test $ac_cv_header_stdc = yes; then
   7618   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7620 /* end confdefs.h.  */
   7621 #include <string.h>
   7622 
   7623 _ACEOF
   7624 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7625   $EGREP "memchr" >/dev/null 2>&1; then :
   7626 
   7627 else
   7628   ac_cv_header_stdc=no
   7629 fi
   7630 rm -f conftest*
   7631 
   7632 fi
   7633 
   7634 if test $ac_cv_header_stdc = yes; then
   7635   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 #include <stdlib.h>
   7639 
   7640 _ACEOF
   7641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7642   $EGREP "free" >/dev/null 2>&1; then :
   7643 
   7644 else
   7645   ac_cv_header_stdc=no
   7646 fi
   7647 rm -f conftest*
   7648 
   7649 fi
   7650 
   7651 if test $ac_cv_header_stdc = yes; then
   7652   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7653   if test "$cross_compiling" = yes; then :
   7654   :
   7655 else
   7656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7657 /* end confdefs.h.  */
   7658 #include <ctype.h>
   7659 #include <stdlib.h>
   7660 #if ((' ' & 0x0FF) == 0x020)
   7661 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7662 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7663 #else
   7664 # define ISLOWER(c) \
   7665 		   (('a' <= (c) && (c) <= 'i') \
   7666 		     || ('j' <= (c) && (c) <= 'r') \
   7667 		     || ('s' <= (c) && (c) <= 'z'))
   7668 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7669 #endif
   7670 
   7671 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7672 int
   7673 main ()
   7674 {
   7675   int i;
   7676   for (i = 0; i < 256; i++)
   7677     if (XOR (islower (i), ISLOWER (i))
   7678 	|| toupper (i) != TOUPPER (i))
   7679       return 2;
   7680   return 0;
   7681 }
   7682 _ACEOF
   7683 if ac_fn_c_try_run "$LINENO"; then :
   7684 
   7685 else
   7686   ac_cv_header_stdc=no
   7687 fi
   7688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7689   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7690 fi
   7691 
   7692 fi
   7693 fi
   7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7695 $as_echo "$ac_cv_header_stdc" >&6; }
   7696 if test $ac_cv_header_stdc = yes; then
   7697 
   7698 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7699 
   7700 fi
   7701 
   7702 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7703 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7704 		  inttypes.h stdint.h unistd.h
   7705 do :
   7706   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7707 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7708 "
   7709 eval as_val=\$$as_ac_Header
   7710    if test "x$as_val" = x""yes; then :
   7711   cat >>confdefs.h <<_ACEOF
   7712 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7713 _ACEOF
   7714 
   7715 fi
   7716 
   7717 done
   7718 
   7719 
   7720 for ac_header in dlfcn.h
   7721 do :
   7722   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7723 "
   7724 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7725   cat >>confdefs.h <<_ACEOF
   7726 #define HAVE_DLFCN_H 1
   7727 _ACEOF
   7728 
   7729 fi
   7730 
   7731 done
   7732 
   7733 
   7734 
   7735 ac_ext=cpp
   7736 ac_cpp='$CXXCPP $CPPFLAGS'
   7737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   7740 if test -z "$CXX"; then
   7741   if test -n "$CCC"; then
   7742     CXX=$CCC
   7743   else
   7744     if test -n "$ac_tool_prefix"; then
   7745   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   7746   do
   7747     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7750 $as_echo_n "checking for $ac_word... " >&6; }
   7751 if test "${ac_cv_prog_CXX+set}" = set; then :
   7752   $as_echo_n "(cached) " >&6
   7753 else
   7754   if test -n "$CXX"; then
   7755   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   7756 else
   7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7758 for as_dir in $PATH
   7759 do
   7760   IFS=$as_save_IFS
   7761   test -z "$as_dir" && as_dir=.
   7762     for ac_exec_ext in '' $ac_executable_extensions; do
   7763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7764     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   7765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7766     break 2
   7767   fi
   7768 done
   7769   done
   7770 IFS=$as_save_IFS
   7771 
   7772 fi
   7773 fi
   7774 CXX=$ac_cv_prog_CXX
   7775 if test -n "$CXX"; then
   7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   7777 $as_echo "$CXX" >&6; }
   7778 else
   7779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7780 $as_echo "no" >&6; }
   7781 fi
   7782 
   7783 
   7784     test -n "$CXX" && break
   7785   done
   7786 fi
   7787 if test -z "$CXX"; then
   7788   ac_ct_CXX=$CXX
   7789   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   7790 do
   7791   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7792 set dummy $ac_prog; ac_word=$2
   7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7794 $as_echo_n "checking for $ac_word... " >&6; }
   7795 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   7796   $as_echo_n "(cached) " >&6
   7797 else
   7798   if test -n "$ac_ct_CXX"; then
   7799   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   7800 else
   7801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7802 for as_dir in $PATH
   7803 do
   7804   IFS=$as_save_IFS
   7805   test -z "$as_dir" && as_dir=.
   7806     for ac_exec_ext in '' $ac_executable_extensions; do
   7807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7808     ac_cv_prog_ac_ct_CXX="$ac_prog"
   7809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7810     break 2
   7811   fi
   7812 done
   7813   done
   7814 IFS=$as_save_IFS
   7815 
   7816 fi
   7817 fi
   7818 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   7819 if test -n "$ac_ct_CXX"; then
   7820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   7821 $as_echo "$ac_ct_CXX" >&6; }
   7822 else
   7823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7824 $as_echo "no" >&6; }
   7825 fi
   7826 
   7827 
   7828   test -n "$ac_ct_CXX" && break
   7829 done
   7830 
   7831   if test "x$ac_ct_CXX" = x; then
   7832     CXX="g++"
   7833   else
   7834     case $cross_compiling:$ac_tool_warned in
   7835 yes:)
   7836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7838 ac_tool_warned=yes ;;
   7839 esac
   7840     CXX=$ac_ct_CXX
   7841   fi
   7842 fi
   7843 
   7844   fi
   7845 fi
   7846 # Provide some information about the compiler.
   7847 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   7848 set X $ac_compile
   7849 ac_compiler=$2
   7850 for ac_option in --version -v -V -qversion; do
   7851   { { ac_try="$ac_compiler $ac_option >&5"
   7852 case "(($ac_try" in
   7853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7854   *) ac_try_echo=$ac_try;;
   7855 esac
   7856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   7857 $as_echo "$ac_try_echo"; } >&5
   7858   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   7859   ac_status=$?
   7860   if test -s conftest.err; then
   7861     sed '10a\
   7862 ... rest of stderr output deleted ...
   7863          10q' conftest.err >conftest.er1
   7864     cat conftest.er1 >&5
   7865   fi
   7866   rm -f conftest.er1 conftest.err
   7867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7868   test $ac_status = 0; }
   7869 done
   7870 
   7871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   7872 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   7873 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   7874   $as_echo_n "(cached) " >&6
   7875 else
   7876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7877 /* end confdefs.h.  */
   7878 
   7879 int
   7880 main ()
   7881 {
   7882 #ifndef __GNUC__
   7883        choke me
   7884 #endif
   7885 
   7886   ;
   7887   return 0;
   7888 }
   7889 _ACEOF
   7890 if ac_fn_cxx_try_compile "$LINENO"; then :
   7891   ac_compiler_gnu=yes
   7892 else
   7893   ac_compiler_gnu=no
   7894 fi
   7895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7896 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   7897 
   7898 fi
   7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   7900 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   7901 if test $ac_compiler_gnu = yes; then
   7902   GXX=yes
   7903 else
   7904   GXX=
   7905 fi
   7906 ac_test_CXXFLAGS=${CXXFLAGS+set}
   7907 ac_save_CXXFLAGS=$CXXFLAGS
   7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   7909 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   7910 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   7911   $as_echo_n "(cached) " >&6
   7912 else
   7913   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   7914    ac_cxx_werror_flag=yes
   7915    ac_cv_prog_cxx_g=no
   7916    CXXFLAGS="-g"
   7917    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7918 /* end confdefs.h.  */
   7919 
   7920 int
   7921 main ()
   7922 {
   7923 
   7924   ;
   7925   return 0;
   7926 }
   7927 _ACEOF
   7928 if ac_fn_cxx_try_compile "$LINENO"; then :
   7929   ac_cv_prog_cxx_g=yes
   7930 else
   7931   CXXFLAGS=""
   7932       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7933 /* end confdefs.h.  */
   7934 
   7935 int
   7936 main ()
   7937 {
   7938 
   7939   ;
   7940   return 0;
   7941 }
   7942 _ACEOF
   7943 if ac_fn_cxx_try_compile "$LINENO"; then :
   7944 
   7945 else
   7946   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   7947 	 CXXFLAGS="-g"
   7948 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7949 /* end confdefs.h.  */
   7950 
   7951 int
   7952 main ()
   7953 {
   7954 
   7955   ;
   7956   return 0;
   7957 }
   7958 _ACEOF
   7959 if ac_fn_cxx_try_compile "$LINENO"; then :
   7960   ac_cv_prog_cxx_g=yes
   7961 fi
   7962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7963 fi
   7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7965 fi
   7966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7967    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   7968 fi
   7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   7970 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   7971 if test "$ac_test_CXXFLAGS" = set; then
   7972   CXXFLAGS=$ac_save_CXXFLAGS
   7973 elif test $ac_cv_prog_cxx_g = yes; then
   7974   if test "$GXX" = yes; then
   7975     CXXFLAGS="-g -O2"
   7976   else
   7977     CXXFLAGS="-g"
   7978   fi
   7979 else
   7980   if test "$GXX" = yes; then
   7981     CXXFLAGS="-O2"
   7982   else
   7983     CXXFLAGS=
   7984   fi
   7985 fi
   7986 ac_ext=c
   7987 ac_cpp='$CPP $CPPFLAGS'
   7988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7991 
   7992 depcc="$CXX"  am_compiler_list=
   7993 
   7994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   7995 $as_echo_n "checking dependency style of $depcc... " >&6; }
   7996 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
   7997   $as_echo_n "(cached) " >&6
   7998 else
   7999   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   8000   # We make a subdir and do the tests there.  Otherwise we can end up
   8001   # making bogus files that we don't know about and never remove.  For
   8002   # instance it was reported that on HP-UX the gcc test will end up
   8003   # making a dummy file named `D' -- because `-MD' means `put the output
   8004   # in D'.
   8005   mkdir conftest.dir
   8006   # Copy depcomp to subdir because otherwise we won't find it if we're
   8007   # using a relative directory.
   8008   cp "$am_depcomp" conftest.dir
   8009   cd conftest.dir
   8010   # We will build objects and dependencies in a subdirectory because
   8011   # it helps to detect inapplicable dependency modes.  For instance
   8012   # both Tru64's cc and ICC support -MD to output dependencies as a
   8013   # side effect of compilation, but ICC will put the dependencies in
   8014   # the current directory while Tru64 will put them in the object
   8015   # directory.
   8016   mkdir sub
   8017 
   8018   am_cv_CXX_dependencies_compiler_type=none
   8019   if test "$am_compiler_list" = ""; then
   8020      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   8021   fi
   8022   for depmode in $am_compiler_list; do
   8023     # Setup a source with many dependencies, because some compilers
   8024     # like to wrap large dependency lists on column 80 (with \), and
   8025     # we should not choose a depcomp mode which is confused by this.
   8026     #
   8027     # We need to recreate these files for each test, as the compiler may
   8028     # overwrite some of them when testing with obscure command lines.
   8029     # This happens at least with the AIX C compiler.
   8030     : > sub/conftest.c
   8031     for i in 1 2 3 4 5 6; do
   8032       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   8033       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   8034       # Solaris 8's {/usr,}/bin/sh.
   8035       touch sub/conftst$i.h
   8036     done
   8037     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   8038 
   8039     case $depmode in
   8040     nosideeffect)
   8041       # after this tag, mechanisms are not by side-effect, so they'll
   8042       # only be used when explicitly requested
   8043       if test "x$enable_dependency_tracking" = xyes; then
   8044 	continue
   8045       else
   8046 	break
   8047       fi
   8048       ;;
   8049     none) break ;;
   8050     esac
   8051     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   8052     # mode.  It turns out that the SunPro C++ compiler does not properly
   8053     # handle `-M -o', and we need to detect this.
   8054     if depmode=$depmode \
   8055        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   8056        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   8057        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   8058          >/dev/null 2>conftest.err &&
   8059        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   8060        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   8061        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   8062        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   8063       # icc doesn't choke on unknown options, it will just issue warnings
   8064       # or remarks (even with -Werror).  So we grep stderr for any message
   8065       # that says an option was ignored or not supported.
   8066       # When given -MP, icc 7.0 and 7.1 complain thusly:
   8067       #   icc: Command line warning: ignoring option '-M'; no argument required
   8068       # The diagnosis changed in icc 8.0:
   8069       #   icc: Command line remark: option '-MP' not supported
   8070       if (grep 'ignoring option' conftest.err ||
   8071           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   8072         am_cv_CXX_dependencies_compiler_type=$depmode
   8073         break
   8074       fi
   8075     fi
   8076   done
   8077 
   8078   cd ..
   8079   rm -rf conftest.dir
   8080 else
   8081   am_cv_CXX_dependencies_compiler_type=none
   8082 fi
   8083 
   8084 fi
   8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   8086 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   8087 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   8088 
   8089  if
   8090   test "x$enable_dependency_tracking" != xno \
   8091   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   8092   am__fastdepCXX_TRUE=
   8093   am__fastdepCXX_FALSE='#'
   8094 else
   8095   am__fastdepCXX_TRUE='#'
   8096   am__fastdepCXX_FALSE=
   8097 fi
   8098 
   8099 
   8100 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   8101     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   8102     (test "X$CXX" != "Xg++"))) ; then
   8103   ac_ext=cpp
   8104 ac_cpp='$CXXCPP $CPPFLAGS'
   8105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   8109 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   8110 if test -z "$CXXCPP"; then
   8111   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
   8112   $as_echo_n "(cached) " >&6
   8113 else
   8114       # Double quotes because CXXCPP needs to be expanded
   8115     for CXXCPP in "$CXX -E" "/lib/cpp"
   8116     do
   8117       ac_preproc_ok=false
   8118 for ac_cxx_preproc_warn_flag in '' yes
   8119 do
   8120   # Use a header file that comes with gcc, so configuring glibc
   8121   # with a fresh cross-compiler works.
   8122   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8123   # <limits.h> exists even on freestanding compilers.
   8124   # On the NeXT, cc -E runs the code through the compiler's parser,
   8125   # not just through cpp. "Syntax error" is here to catch this case.
   8126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8127 /* end confdefs.h.  */
   8128 #ifdef __STDC__
   8129 # include <limits.h>
   8130 #else
   8131 # include <assert.h>
   8132 #endif
   8133 		     Syntax error
   8134 _ACEOF
   8135 if ac_fn_cxx_try_cpp "$LINENO"; then :
   8136 
   8137 else
   8138   # Broken: fails on valid input.
   8139 continue
   8140 fi
   8141 rm -f conftest.err conftest.$ac_ext
   8142 
   8143   # OK, works on sane cases.  Now check whether nonexistent headers
   8144   # can be detected and how.
   8145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8146 /* end confdefs.h.  */
   8147 #include <ac_nonexistent.h>
   8148 _ACEOF
   8149 if ac_fn_cxx_try_cpp "$LINENO"; then :
   8150   # Broken: success on invalid input.
   8151 continue
   8152 else
   8153   # Passes both tests.
   8154 ac_preproc_ok=:
   8155 break
   8156 fi
   8157 rm -f conftest.err conftest.$ac_ext
   8158 
   8159 done
   8160 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8161 rm -f conftest.err conftest.$ac_ext
   8162 if $ac_preproc_ok; then :
   8163   break
   8164 fi
   8165 
   8166     done
   8167     ac_cv_prog_CXXCPP=$CXXCPP
   8168 
   8169 fi
   8170   CXXCPP=$ac_cv_prog_CXXCPP
   8171 else
   8172   ac_cv_prog_CXXCPP=$CXXCPP
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   8175 $as_echo "$CXXCPP" >&6; }
   8176 ac_preproc_ok=false
   8177 for ac_cxx_preproc_warn_flag in '' yes
   8178 do
   8179   # Use a header file that comes with gcc, so configuring glibc
   8180   # with a fresh cross-compiler works.
   8181   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8182   # <limits.h> exists even on freestanding compilers.
   8183   # On the NeXT, cc -E runs the code through the compiler's parser,
   8184   # not just through cpp. "Syntax error" is here to catch this case.
   8185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8186 /* end confdefs.h.  */
   8187 #ifdef __STDC__
   8188 # include <limits.h>
   8189 #else
   8190 # include <assert.h>
   8191 #endif
   8192 		     Syntax error
   8193 _ACEOF
   8194 if ac_fn_cxx_try_cpp "$LINENO"; then :
   8195 
   8196 else
   8197   # Broken: fails on valid input.
   8198 continue
   8199 fi
   8200 rm -f conftest.err conftest.$ac_ext
   8201 
   8202   # OK, works on sane cases.  Now check whether nonexistent headers
   8203   # can be detected and how.
   8204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8205 /* end confdefs.h.  */
   8206 #include <ac_nonexistent.h>
   8207 _ACEOF
   8208 if ac_fn_cxx_try_cpp "$LINENO"; then :
   8209   # Broken: success on invalid input.
   8210 continue
   8211 else
   8212   # Passes both tests.
   8213 ac_preproc_ok=:
   8214 break
   8215 fi
   8216 rm -f conftest.err conftest.$ac_ext
   8217 
   8218 done
   8219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   8220 rm -f conftest.err conftest.$ac_ext
   8221 if $ac_preproc_ok; then :
   8222 
   8223 else
   8224   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   8225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   8226 _lt_caught_CXX_error=yes; }
   8227 fi
   8228 
   8229 ac_ext=c
   8230 ac_cpp='$CPP $CPPFLAGS'
   8231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8234 
   8235 else
   8236   _lt_caught_CXX_error=yes
   8237 fi
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 # Set options
   8244 
   8245 
   8246 
   8247         enable_dlopen=no
   8248 
   8249 
   8250   enable_win32_dll=no
   8251 
   8252 
   8253             # Check whether --enable-shared was given.
   8254 if test "${enable_shared+set}" = set; then :
   8255   enableval=$enable_shared; p=${PACKAGE-default}
   8256     case $enableval in
   8257     yes) enable_shared=yes ;;
   8258     no) enable_shared=no ;;
   8259     *)
   8260       enable_shared=no
   8261       # Look at the argument we got.  We use all the common list separators.
   8262       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8263       for pkg in $enableval; do
   8264 	IFS="$lt_save_ifs"
   8265 	if test "X$pkg" = "X$p"; then
   8266 	  enable_shared=yes
   8267 	fi
   8268       done
   8269       IFS="$lt_save_ifs"
   8270       ;;
   8271     esac
   8272 else
   8273   enable_shared=yes
   8274 fi
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284   # Check whether --enable-static was given.
   8285 if test "${enable_static+set}" = set; then :
   8286   enableval=$enable_static; p=${PACKAGE-default}
   8287     case $enableval in
   8288     yes) enable_static=yes ;;
   8289     no) enable_static=no ;;
   8290     *)
   8291      enable_static=no
   8292       # Look at the argument we got.  We use all the common list separators.
   8293       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8294       for pkg in $enableval; do
   8295 	IFS="$lt_save_ifs"
   8296 	if test "X$pkg" = "X$p"; then
   8297 	  enable_static=yes
   8298 	fi
   8299       done
   8300       IFS="$lt_save_ifs"
   8301       ;;
   8302     esac
   8303 else
   8304   enable_static=yes
   8305 fi
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 # Check whether --with-pic was given.
   8317 if test "${with_pic+set}" = set; then :
   8318   withval=$with_pic; pic_mode="$withval"
   8319 else
   8320   pic_mode=default
   8321 fi
   8322 
   8323 
   8324 test -z "$pic_mode" && pic_mode=default
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 # This can be used to rebuild libtool when needed
   8337 LIBTOOL_DEPS="$ltmain"
   8338 
   8339 # Always use our own libtool.
   8340 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 
   8347 
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 test -z "$LN_S" && LN_S="ln -s"
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 if test -n "${ZSH_VERSION+set}" ; then
   8382    setopt NO_GLOB_SUBST
   8383 fi
   8384 
   8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8386 $as_echo_n "checking for objdir... " >&6; }
   8387 if test "${lt_cv_objdir+set}" = set; then :
   8388   $as_echo_n "(cached) " >&6
   8389 else
   8390   rm -f .libs 2>/dev/null
   8391 mkdir .libs 2>/dev/null
   8392 if test -d .libs; then
   8393   lt_cv_objdir=.libs
   8394 else
   8395   # MS-DOS does not allow filenames that begin with a dot.
   8396   lt_cv_objdir=_libs
   8397 fi
   8398 rmdir .libs 2>/dev/null
   8399 fi
   8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8401 $as_echo "$lt_cv_objdir" >&6; }
   8402 objdir=$lt_cv_objdir
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 cat >>confdefs.h <<_ACEOF
   8409 #define LT_OBJDIR "$lt_cv_objdir/"
   8410 _ACEOF
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 case $host_os in
   8429 aix3*)
   8430   # AIX sometimes has problems with the GCC collect2 program.  For some
   8431   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8432   # vanish in a puff of smoke.
   8433   if test "X${COLLECT_NAMES+set}" != Xset; then
   8434     COLLECT_NAMES=
   8435     export COLLECT_NAMES
   8436   fi
   8437   ;;
   8438 esac
   8439 
   8440 # Sed substitution that helps us do robust quoting.  It backslashifies
   8441 # metacharacters that are still active within double-quoted strings.
   8442 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   8443 
   8444 # Same as above, but do not quote variable references.
   8445 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   8446 
   8447 # Sed substitution to delay expansion of an escaped shell variable in a
   8448 # double_quote_subst'ed string.
   8449 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   8450 
   8451 # Sed substitution to delay expansion of an escaped single quote.
   8452 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   8453 
   8454 # Sed substitution to avoid accidental globbing in evaled expressions
   8455 no_glob_subst='s/\*/\\\*/g'
   8456 
   8457 # Global variables:
   8458 ofile=libtool
   8459 can_build_shared=yes
   8460 
   8461 # All known linkers require a `.a' archive for static linking (except MSVC,
   8462 # which needs '.lib').
   8463 libext=a
   8464 
   8465 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8466 
   8467 old_CC="$CC"
   8468 old_CFLAGS="$CFLAGS"
   8469 
   8470 # Set sane defaults for various variables
   8471 test -z "$CC" && CC=cc
   8472 test -z "$LTCC" && LTCC=$CC
   8473 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8474 test -z "$LD" && LD=ld
   8475 test -z "$ac_objext" && ac_objext=o
   8476 
   8477 for cc_temp in $compiler""; do
   8478   case $cc_temp in
   8479     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8480     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8481     \-*) ;;
   8482     *) break;;
   8483   esac
   8484 done
   8485 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8486 
   8487 
   8488 # Only perform the check for file, if the check method requires it
   8489 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8490 case $deplibs_check_method in
   8491 file_magic*)
   8492   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8494 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8495 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   8496   $as_echo_n "(cached) " >&6
   8497 else
   8498   case $MAGIC_CMD in
   8499 [\\/*] |  ?:[\\/]*)
   8500   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8501   ;;
   8502 *)
   8503   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8504   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8505   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8506   for ac_dir in $ac_dummy; do
   8507     IFS="$lt_save_ifs"
   8508     test -z "$ac_dir" && ac_dir=.
   8509     if test -f $ac_dir/${ac_tool_prefix}file; then
   8510       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8511       if test -n "$file_magic_test_file"; then
   8512 	case $deplibs_check_method in
   8513 	"file_magic "*)
   8514 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8515 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8516 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8517 	    $EGREP "$file_magic_regex" > /dev/null; then
   8518 	    :
   8519 	  else
   8520 	    cat <<_LT_EOF 1>&2
   8521 
   8522 *** Warning: the command libtool uses to detect shared libraries,
   8523 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8524 *** The result is that libtool may fail to recognize shared libraries
   8525 *** as such.  This will affect the creation of libtool libraries that
   8526 *** depend on shared libraries, but programs linked with such libtool
   8527 *** libraries will work regardless of this problem.  Nevertheless, you
   8528 *** may want to report the problem to your system manager and/or to
   8529 *** bug-libtool (at] gnu.org
   8530 
   8531 _LT_EOF
   8532 	  fi ;;
   8533 	esac
   8534       fi
   8535       break
   8536     fi
   8537   done
   8538   IFS="$lt_save_ifs"
   8539   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8540   ;;
   8541 esac
   8542 fi
   8543 
   8544 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8545 if test -n "$MAGIC_CMD"; then
   8546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8547 $as_echo "$MAGIC_CMD" >&6; }
   8548 else
   8549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8550 $as_echo "no" >&6; }
   8551 fi
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8558   if test -n "$ac_tool_prefix"; then
   8559     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8560 $as_echo_n "checking for file... " >&6; }
   8561 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   8562   $as_echo_n "(cached) " >&6
   8563 else
   8564   case $MAGIC_CMD in
   8565 [\\/*] |  ?:[\\/]*)
   8566   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8567   ;;
   8568 *)
   8569   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8570   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8571   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8572   for ac_dir in $ac_dummy; do
   8573     IFS="$lt_save_ifs"
   8574     test -z "$ac_dir" && ac_dir=.
   8575     if test -f $ac_dir/file; then
   8576       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8577       if test -n "$file_magic_test_file"; then
   8578 	case $deplibs_check_method in
   8579 	"file_magic "*)
   8580 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8581 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8582 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8583 	    $EGREP "$file_magic_regex" > /dev/null; then
   8584 	    :
   8585 	  else
   8586 	    cat <<_LT_EOF 1>&2
   8587 
   8588 *** Warning: the command libtool uses to detect shared libraries,
   8589 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8590 *** The result is that libtool may fail to recognize shared libraries
   8591 *** as such.  This will affect the creation of libtool libraries that
   8592 *** depend on shared libraries, but programs linked with such libtool
   8593 *** libraries will work regardless of this problem.  Nevertheless, you
   8594 *** may want to report the problem to your system manager and/or to
   8595 *** bug-libtool (at] gnu.org
   8596 
   8597 _LT_EOF
   8598 	  fi ;;
   8599 	esac
   8600       fi
   8601       break
   8602     fi
   8603   done
   8604   IFS="$lt_save_ifs"
   8605   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8606   ;;
   8607 esac
   8608 fi
   8609 
   8610 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8611 if test -n "$MAGIC_CMD"; then
   8612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8613 $as_echo "$MAGIC_CMD" >&6; }
   8614 else
   8615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8616 $as_echo "no" >&6; }
   8617 fi
   8618 
   8619 
   8620   else
   8621     MAGIC_CMD=:
   8622   fi
   8623 fi
   8624 
   8625   fi
   8626   ;;
   8627 esac
   8628 
   8629 # Use C for the default configuration in the libtool script
   8630 
   8631 lt_save_CC="$CC"
   8632 ac_ext=c
   8633 ac_cpp='$CPP $CPPFLAGS'
   8634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8637 
   8638 
   8639 # Source file extension for C test sources.
   8640 ac_ext=c
   8641 
   8642 # Object file extension for compiled C test sources.
   8643 objext=o
   8644 objext=$objext
   8645 
   8646 # Code to be used in simple compile tests
   8647 lt_simple_compile_test_code="int some_variable = 0;"
   8648 
   8649 # Code to be used in simple link tests
   8650 lt_simple_link_test_code='int main(){return(0);}'
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 # If no C compiler was specified, use CC.
   8659 LTCC=${LTCC-"$CC"}
   8660 
   8661 # If no C compiler flags were specified, use CFLAGS.
   8662 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8663 
   8664 # Allow CC to be a program name with arguments.
   8665 compiler=$CC
   8666 
   8667 # Save the default compiler, since it gets overwritten when the other
   8668 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8669 compiler_DEFAULT=$CC
   8670 
   8671 # save warnings/boilerplate of simple test code
   8672 ac_outfile=conftest.$ac_objext
   8673 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8674 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8675 _lt_compiler_boilerplate=`cat conftest.err`
   8676 $RM conftest*
   8677 
   8678 ac_outfile=conftest.$ac_objext
   8679 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8680 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8681 _lt_linker_boilerplate=`cat conftest.err`
   8682 $RM -r conftest*
   8683 
   8684 
   8685 ## CAVEAT EMPTOR:
   8686 ## There is no encapsulation within the following macros, do not change
   8687 ## the running order or otherwise move them around unless you know exactly
   8688 ## what you are doing...
   8689 if test -n "$compiler"; then
   8690 
   8691 lt_prog_compiler_no_builtin_flag=
   8692 
   8693 if test "$GCC" = yes; then
   8694   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   8695 
   8696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8697 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8698 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   8699   $as_echo_n "(cached) " >&6
   8700 else
   8701   lt_cv_prog_compiler_rtti_exceptions=no
   8702    ac_outfile=conftest.$ac_objext
   8703    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8704    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8705    # Insert the option either (1) after the last *FLAGS variable, or
   8706    # (2) before a word containing "conftest.", or (3) at the end.
   8707    # Note that $ac_compile itself does not contain backslashes and begins
   8708    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8709    # The option is referenced via a variable to avoid confusing sed.
   8710    lt_compile=`echo "$ac_compile" | $SED \
   8711    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8712    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8713    -e 's:$: $lt_compiler_flag:'`
   8714    (eval echo "\"\$as_me:8714: $lt_compile\"" >&5)
   8715    (eval "$lt_compile" 2>conftest.err)
   8716    ac_status=$?
   8717    cat conftest.err >&5
   8718    echo "$as_me:8718: \$? = $ac_status" >&5
   8719    if (exit $ac_status) && test -s "$ac_outfile"; then
   8720      # The compiler can only warn and ignore the option if not recognized
   8721      # So say no if there are warnings other than the usual output.
   8722      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   8723      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8724      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8725        lt_cv_prog_compiler_rtti_exceptions=yes
   8726      fi
   8727    fi
   8728    $RM conftest*
   8729 
   8730 fi
   8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8732 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8733 
   8734 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8735     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8736 else
   8737     :
   8738 fi
   8739 
   8740 fi
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747   lt_prog_compiler_wl=
   8748 lt_prog_compiler_pic=
   8749 lt_prog_compiler_static=
   8750 
   8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8752 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8753 
   8754   if test "$GCC" = yes; then
   8755     lt_prog_compiler_wl='-Wl,'
   8756     lt_prog_compiler_static='-static'
   8757 
   8758     case $host_os in
   8759       aix*)
   8760       # All AIX code is PIC.
   8761       if test "$host_cpu" = ia64; then
   8762 	# AIX 5 now supports IA64 processor
   8763 	lt_prog_compiler_static='-Bstatic'
   8764       fi
   8765       ;;
   8766 
   8767     amigaos*)
   8768       case $host_cpu in
   8769       powerpc)
   8770             # see comment about AmigaOS4 .so support
   8771             lt_prog_compiler_pic='-fPIC'
   8772         ;;
   8773       m68k)
   8774             # FIXME: we need at least 68020 code to build shared libraries, but
   8775             # adding the `-m68020' flag to GCC prevents building anything better,
   8776             # like `-m68040'.
   8777             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8778         ;;
   8779       esac
   8780       ;;
   8781 
   8782     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8783       # PIC is the default for these OSes.
   8784       ;;
   8785 
   8786     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8787       # This hack is so that the source file can tell whether it is being
   8788       # built for inclusion in a dll (and should export symbols for example).
   8789       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8790       # (--disable-auto-import) libraries
   8791       lt_prog_compiler_pic='-DDLL_EXPORT'
   8792       ;;
   8793 
   8794     darwin* | rhapsody*)
   8795       # PIC is the default on this platform
   8796       # Common symbols not allowed in MH_DYLIB files
   8797       lt_prog_compiler_pic='-fno-common'
   8798       ;;
   8799 
   8800     hpux*)
   8801       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8802       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8803       # sets the default TLS model and affects inlining.
   8804       case $host_cpu in
   8805       hppa*64*)
   8806 	# +Z the default
   8807 	;;
   8808       *)
   8809 	lt_prog_compiler_pic='-fPIC'
   8810 	;;
   8811       esac
   8812       ;;
   8813 
   8814     interix[3-9]*)
   8815       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8816       # Instead, we relocate shared libraries at runtime.
   8817       ;;
   8818 
   8819     msdosdjgpp*)
   8820       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8821       # on systems that don't support them.
   8822       lt_prog_compiler_can_build_shared=no
   8823       enable_shared=no
   8824       ;;
   8825 
   8826     *nto* | *qnx*)
   8827       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8828       # it will coredump.
   8829       lt_prog_compiler_pic='-fPIC -shared'
   8830       ;;
   8831 
   8832     sysv4*MP*)
   8833       if test -d /usr/nec; then
   8834 	lt_prog_compiler_pic=-Kconform_pic
   8835       fi
   8836       ;;
   8837 
   8838     *)
   8839       lt_prog_compiler_pic='-fPIC'
   8840       ;;
   8841     esac
   8842   else
   8843     # PORTME Check for flag to pass linker flags through the system compiler.
   8844     case $host_os in
   8845     aix*)
   8846       lt_prog_compiler_wl='-Wl,'
   8847       if test "$host_cpu" = ia64; then
   8848 	# AIX 5 now supports IA64 processor
   8849 	lt_prog_compiler_static='-Bstatic'
   8850       else
   8851 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8852       fi
   8853       ;;
   8854 
   8855     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8856       # This hack is so that the source file can tell whether it is being
   8857       # built for inclusion in a dll (and should export symbols for example).
   8858       lt_prog_compiler_pic='-DDLL_EXPORT'
   8859       ;;
   8860 
   8861     hpux9* | hpux10* | hpux11*)
   8862       lt_prog_compiler_wl='-Wl,'
   8863       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8864       # not for PA HP-UX.
   8865       case $host_cpu in
   8866       hppa*64*|ia64*)
   8867 	# +Z the default
   8868 	;;
   8869       *)
   8870 	lt_prog_compiler_pic='+Z'
   8871 	;;
   8872       esac
   8873       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8874       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8875       ;;
   8876 
   8877     irix5* | irix6* | nonstopux*)
   8878       lt_prog_compiler_wl='-Wl,'
   8879       # PIC (with -KPIC) is the default.
   8880       lt_prog_compiler_static='-non_shared'
   8881       ;;
   8882 
   8883     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8884       case $cc_basename in
   8885       # old Intel for x86_64 which still supported -KPIC.
   8886       ecc*)
   8887 	lt_prog_compiler_wl='-Wl,'
   8888 	lt_prog_compiler_pic='-KPIC'
   8889 	lt_prog_compiler_static='-static'
   8890         ;;
   8891       # icc used to be incompatible with GCC.
   8892       # ICC 10 doesn't accept -KPIC any more.
   8893       icc* | ifort*)
   8894 	lt_prog_compiler_wl='-Wl,'
   8895 	lt_prog_compiler_pic='-fPIC'
   8896 	lt_prog_compiler_static='-static'
   8897         ;;
   8898       # Lahey Fortran 8.1.
   8899       lf95*)
   8900 	lt_prog_compiler_wl='-Wl,'
   8901 	lt_prog_compiler_pic='--shared'
   8902 	lt_prog_compiler_static='--static'
   8903 	;;
   8904       pgcc* | pgf77* | pgf90* | pgf95*)
   8905         # Portland Group compilers (*not* the Pentium gcc compiler,
   8906 	# which looks to be a dead project)
   8907 	lt_prog_compiler_wl='-Wl,'
   8908 	lt_prog_compiler_pic='-fpic'
   8909 	lt_prog_compiler_static='-Bstatic'
   8910         ;;
   8911       ccc*)
   8912         lt_prog_compiler_wl='-Wl,'
   8913         # All Alpha code is PIC.
   8914         lt_prog_compiler_static='-non_shared'
   8915         ;;
   8916       xl*)
   8917 	# IBM XL C 8.0/Fortran 10.1 on PPC
   8918 	lt_prog_compiler_wl='-Wl,'
   8919 	lt_prog_compiler_pic='-qpic'
   8920 	lt_prog_compiler_static='-qstaticlink'
   8921 	;;
   8922       *)
   8923 	case `$CC -V 2>&1 | sed 5q` in
   8924 	*Sun\ C*)
   8925 	  # Sun C 5.9
   8926 	  lt_prog_compiler_pic='-KPIC'
   8927 	  lt_prog_compiler_static='-Bstatic'
   8928 	  lt_prog_compiler_wl='-Wl,'
   8929 	  ;;
   8930 	*Sun\ F*)
   8931 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8932 	  lt_prog_compiler_pic='-KPIC'
   8933 	  lt_prog_compiler_static='-Bstatic'
   8934 	  lt_prog_compiler_wl=''
   8935 	  ;;
   8936 	esac
   8937 	;;
   8938       esac
   8939       ;;
   8940 
   8941     newsos6)
   8942       lt_prog_compiler_pic='-KPIC'
   8943       lt_prog_compiler_static='-Bstatic'
   8944       ;;
   8945 
   8946     *nto* | *qnx*)
   8947       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8948       # it will coredump.
   8949       lt_prog_compiler_pic='-fPIC -shared'
   8950       ;;
   8951 
   8952     osf3* | osf4* | osf5*)
   8953       lt_prog_compiler_wl='-Wl,'
   8954       # All OSF/1 code is PIC.
   8955       lt_prog_compiler_static='-non_shared'
   8956       ;;
   8957 
   8958     rdos*)
   8959       lt_prog_compiler_static='-non_shared'
   8960       ;;
   8961 
   8962     solaris*)
   8963       lt_prog_compiler_pic='-KPIC'
   8964       lt_prog_compiler_static='-Bstatic'
   8965       case $cc_basename in
   8966       f77* | f90* | f95*)
   8967 	lt_prog_compiler_wl='-Qoption ld ';;
   8968       *)
   8969 	lt_prog_compiler_wl='-Wl,';;
   8970       esac
   8971       ;;
   8972 
   8973     sunos4*)
   8974       lt_prog_compiler_wl='-Qoption ld '
   8975       lt_prog_compiler_pic='-PIC'
   8976       lt_prog_compiler_static='-Bstatic'
   8977       ;;
   8978 
   8979     sysv4 | sysv4.2uw2* | sysv4.3*)
   8980       lt_prog_compiler_wl='-Wl,'
   8981       lt_prog_compiler_pic='-KPIC'
   8982       lt_prog_compiler_static='-Bstatic'
   8983       ;;
   8984 
   8985     sysv4*MP*)
   8986       if test -d /usr/nec ;then
   8987 	lt_prog_compiler_pic='-Kconform_pic'
   8988 	lt_prog_compiler_static='-Bstatic'
   8989       fi
   8990       ;;
   8991 
   8992     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8993       lt_prog_compiler_wl='-Wl,'
   8994       lt_prog_compiler_pic='-KPIC'
   8995       lt_prog_compiler_static='-Bstatic'
   8996       ;;
   8997 
   8998     unicos*)
   8999       lt_prog_compiler_wl='-Wl,'
   9000       lt_prog_compiler_can_build_shared=no
   9001       ;;
   9002 
   9003     uts4*)
   9004       lt_prog_compiler_pic='-pic'
   9005       lt_prog_compiler_static='-Bstatic'
   9006       ;;
   9007 
   9008     *)
   9009       lt_prog_compiler_can_build_shared=no
   9010       ;;
   9011     esac
   9012   fi
   9013 
   9014 case $host_os in
   9015   # For platforms which do not support PIC, -DPIC is meaningless:
   9016   *djgpp*)
   9017     lt_prog_compiler_pic=
   9018     ;;
   9019   *)
   9020     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9021     ;;
   9022 esac
   9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9024 $as_echo "$lt_prog_compiler_pic" >&6; }
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 #
   9032 # Check to make sure the PIC flag actually works.
   9033 #
   9034 if test -n "$lt_prog_compiler_pic"; then
   9035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9036 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9037 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   lt_cv_prog_compiler_pic_works=no
   9041    ac_outfile=conftest.$ac_objext
   9042    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9043    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9044    # Insert the option either (1) after the last *FLAGS variable, or
   9045    # (2) before a word containing "conftest.", or (3) at the end.
   9046    # Note that $ac_compile itself does not contain backslashes and begins
   9047    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9048    # The option is referenced via a variable to avoid confusing sed.
   9049    lt_compile=`echo "$ac_compile" | $SED \
   9050    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9051    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9052    -e 's:$: $lt_compiler_flag:'`
   9053    (eval echo "\"\$as_me:9053: $lt_compile\"" >&5)
   9054    (eval "$lt_compile" 2>conftest.err)
   9055    ac_status=$?
   9056    cat conftest.err >&5
   9057    echo "$as_me:9057: \$? = $ac_status" >&5
   9058    if (exit $ac_status) && test -s "$ac_outfile"; then
   9059      # The compiler can only warn and ignore the option if not recognized
   9060      # So say no if there are warnings other than the usual output.
   9061      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   9062      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9063      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9064        lt_cv_prog_compiler_pic_works=yes
   9065      fi
   9066    fi
   9067    $RM conftest*
   9068 
   9069 fi
   9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9071 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9072 
   9073 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9074     case $lt_prog_compiler_pic in
   9075      "" | " "*) ;;
   9076      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9077      esac
   9078 else
   9079     lt_prog_compiler_pic=
   9080      lt_prog_compiler_can_build_shared=no
   9081 fi
   9082 
   9083 fi
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 #
   9091 # Check to make sure the static flag actually works.
   9092 #
   9093 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9095 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9096 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   9097   $as_echo_n "(cached) " >&6
   9098 else
   9099   lt_cv_prog_compiler_static_works=no
   9100    save_LDFLAGS="$LDFLAGS"
   9101    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9102    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9103    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9104      # The linker can only warn and ignore the option if not recognized
   9105      # So say no if there are warnings
   9106      if test -s conftest.err; then
   9107        # Append any errors to the config.log.
   9108        cat conftest.err 1>&5
   9109        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   9110        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9111        if diff conftest.exp conftest.er2 >/dev/null; then
   9112          lt_cv_prog_compiler_static_works=yes
   9113        fi
   9114      else
   9115        lt_cv_prog_compiler_static_works=yes
   9116      fi
   9117    fi
   9118    $RM -r conftest*
   9119    LDFLAGS="$save_LDFLAGS"
   9120 
   9121 fi
   9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9123 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9124 
   9125 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9126     :
   9127 else
   9128     lt_prog_compiler_static=
   9129 fi
   9130 
   9131 
   9132 
   9133 
   9134 
   9135 
   9136 
   9137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9138 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9139 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   9140   $as_echo_n "(cached) " >&6
   9141 else
   9142   lt_cv_prog_compiler_c_o=no
   9143    $RM -r conftest 2>/dev/null
   9144    mkdir conftest
   9145    cd conftest
   9146    mkdir out
   9147    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9148 
   9149    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9150    # Insert the option either (1) after the last *FLAGS variable, or
   9151    # (2) before a word containing "conftest.", or (3) at the end.
   9152    # Note that $ac_compile itself does not contain backslashes and begins
   9153    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9154    lt_compile=`echo "$ac_compile" | $SED \
   9155    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9156    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9157    -e 's:$: $lt_compiler_flag:'`
   9158    (eval echo "\"\$as_me:9158: $lt_compile\"" >&5)
   9159    (eval "$lt_compile" 2>out/conftest.err)
   9160    ac_status=$?
   9161    cat out/conftest.err >&5
   9162    echo "$as_me:9162: \$? = $ac_status" >&5
   9163    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9164    then
   9165      # The compiler can only warn and ignore the option if not recognized
   9166      # So say no if there are warnings
   9167      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9168      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9169      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9170        lt_cv_prog_compiler_c_o=yes
   9171      fi
   9172    fi
   9173    chmod u+w . 2>&5
   9174    $RM conftest*
   9175    # SGI C++ compiler will create directory out/ii_files/ for
   9176    # template instantiation
   9177    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9178    $RM out/* && rmdir out
   9179    cd ..
   9180    $RM -r conftest
   9181    $RM conftest*
   9182 
   9183 fi
   9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9185 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9186 
   9187 
   9188 
   9189 
   9190 
   9191 
   9192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9193 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9194 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   9195   $as_echo_n "(cached) " >&6
   9196 else
   9197   lt_cv_prog_compiler_c_o=no
   9198    $RM -r conftest 2>/dev/null
   9199    mkdir conftest
   9200    cd conftest
   9201    mkdir out
   9202    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9203 
   9204    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9205    # Insert the option either (1) after the last *FLAGS variable, or
   9206    # (2) before a word containing "conftest.", or (3) at the end.
   9207    # Note that $ac_compile itself does not contain backslashes and begins
   9208    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9209    lt_compile=`echo "$ac_compile" | $SED \
   9210    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9211    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9212    -e 's:$: $lt_compiler_flag:'`
   9213    (eval echo "\"\$as_me:9213: $lt_compile\"" >&5)
   9214    (eval "$lt_compile" 2>out/conftest.err)
   9215    ac_status=$?
   9216    cat out/conftest.err >&5
   9217    echo "$as_me:9217: \$? = $ac_status" >&5
   9218    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9219    then
   9220      # The compiler can only warn and ignore the option if not recognized
   9221      # So say no if there are warnings
   9222      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   9223      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9224      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9225        lt_cv_prog_compiler_c_o=yes
   9226      fi
   9227    fi
   9228    chmod u+w . 2>&5
   9229    $RM conftest*
   9230    # SGI C++ compiler will create directory out/ii_files/ for
   9231    # template instantiation
   9232    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9233    $RM out/* && rmdir out
   9234    cd ..
   9235    $RM -r conftest
   9236    $RM conftest*
   9237 
   9238 fi
   9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9240 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9241 
   9242 
   9243 
   9244 
   9245 hard_links="nottested"
   9246 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9247   # do not overwrite the value of need_locks provided by the user
   9248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9249 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9250   hard_links=yes
   9251   $RM conftest*
   9252   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9253   touch conftest.a
   9254   ln conftest.a conftest.b 2>&5 || hard_links=no
   9255   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9257 $as_echo "$hard_links" >&6; }
   9258   if test "$hard_links" = no; then
   9259     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9260 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9261     need_locks=warn
   9262   fi
   9263 else
   9264   need_locks=no
   9265 fi
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9274 
   9275   runpath_var=
   9276   allow_undefined_flag=
   9277   always_export_symbols=no
   9278   archive_cmds=
   9279   archive_expsym_cmds=
   9280   compiler_needs_object=no
   9281   enable_shared_with_static_runtimes=no
   9282   export_dynamic_flag_spec=
   9283   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9284   hardcode_automatic=no
   9285   hardcode_direct=no
   9286   hardcode_direct_absolute=no
   9287   hardcode_libdir_flag_spec=
   9288   hardcode_libdir_flag_spec_ld=
   9289   hardcode_libdir_separator=
   9290   hardcode_minus_L=no
   9291   hardcode_shlibpath_var=unsupported
   9292   inherit_rpath=no
   9293   link_all_deplibs=unknown
   9294   module_cmds=
   9295   module_expsym_cmds=
   9296   old_archive_from_new_cmds=
   9297   old_archive_from_expsyms_cmds=
   9298   thread_safe_flag_spec=
   9299   whole_archive_flag_spec=
   9300   # include_expsyms should be a list of space-separated symbols to be *always*
   9301   # included in the symbol list
   9302   include_expsyms=
   9303   # exclude_expsyms can be an extended regexp of symbols to exclude
   9304   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9305   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9306   # as well as any symbol that contains `d'.
   9307   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9308   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9309   # platforms (ab)use it in PIC code, but their linkers get confused if
   9310   # the symbol is explicitly referenced.  Since portable code cannot
   9311   # rely on this symbol name, it's probably fine to never include it in
   9312   # preloaded symbol tables.
   9313   # Exclude shared library initialization/finalization symbols.
   9314   extract_expsyms_cmds=
   9315 
   9316   case $host_os in
   9317   cygwin* | mingw* | pw32* | cegcc*)
   9318     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9319     # When not using gcc, we currently assume that we are using
   9320     # Microsoft Visual C++.
   9321     if test "$GCC" != yes; then
   9322       with_gnu_ld=no
   9323     fi
   9324     ;;
   9325   interix*)
   9326     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9327     with_gnu_ld=yes
   9328     ;;
   9329   openbsd*)
   9330     with_gnu_ld=no
   9331     ;;
   9332   linux* | k*bsd*-gnu)
   9333     link_all_deplibs=no
   9334     ;;
   9335   esac
   9336 
   9337   ld_shlibs=yes
   9338   if test "$with_gnu_ld" = yes; then
   9339     # If archive_cmds runs LD, not CC, wlarc should be empty
   9340     wlarc='${wl}'
   9341 
   9342     # Set some defaults for GNU ld with shared library support. These
   9343     # are reset later if shared libraries are not supported. Putting them
   9344     # here allows them to be overridden if necessary.
   9345     runpath_var=LD_RUN_PATH
   9346     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9347     export_dynamic_flag_spec='${wl}--export-dynamic'
   9348     # ancient GNU ld didn't support --whole-archive et. al.
   9349     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9350       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9351     else
   9352       whole_archive_flag_spec=
   9353     fi
   9354     supports_anon_versioning=no
   9355     case `$LD -v 2>&1` in
   9356       *GNU\ gold*) supports_anon_versioning=yes ;;
   9357       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9358       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9359       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9360       *\ 2.11.*) ;; # other 2.11 versions
   9361       *) supports_anon_versioning=yes ;;
   9362     esac
   9363 
   9364     # See if GNU ld supports shared libraries.
   9365     case $host_os in
   9366     aix[3-9]*)
   9367       # On AIX/PPC, the GNU linker is very broken
   9368       if test "$host_cpu" != ia64; then
   9369 	ld_shlibs=no
   9370 	cat <<_LT_EOF 1>&2
   9371 
   9372 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   9373 *** to be unable to reliably create shared libraries on AIX.
   9374 *** Therefore, libtool is disabling shared libraries support.  If you
   9375 *** really care for shared libraries, you may want to modify your PATH
   9376 *** so that a non-GNU linker is found, and then restart.
   9377 
   9378 _LT_EOF
   9379       fi
   9380       ;;
   9381 
   9382     amigaos*)
   9383       case $host_cpu in
   9384       powerpc)
   9385             # see comment about AmigaOS4 .so support
   9386             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9387             archive_expsym_cmds=''
   9388         ;;
   9389       m68k)
   9390             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9391             hardcode_libdir_flag_spec='-L$libdir'
   9392             hardcode_minus_L=yes
   9393         ;;
   9394       esac
   9395       ;;
   9396 
   9397     beos*)
   9398       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9399 	allow_undefined_flag=unsupported
   9400 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9401 	# support --undefined.  This deserves some investigation.  FIXME
   9402 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9403       else
   9404 	ld_shlibs=no
   9405       fi
   9406       ;;
   9407 
   9408     cygwin* | mingw* | pw32* | cegcc*)
   9409       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9410       # as there is no search path for DLLs.
   9411       hardcode_libdir_flag_spec='-L$libdir'
   9412       allow_undefined_flag=unsupported
   9413       always_export_symbols=no
   9414       enable_shared_with_static_runtimes=yes
   9415       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9416 
   9417       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9418         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9419 	# If the export-symbols file already is a .def file (1st line
   9420 	# is EXPORTS), use it as is; otherwise, prepend...
   9421 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9422 	  cp $export_symbols $output_objdir/$soname.def;
   9423 	else
   9424 	  echo EXPORTS > $output_objdir/$soname.def;
   9425 	  cat $export_symbols >> $output_objdir/$soname.def;
   9426 	fi~
   9427 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9428       else
   9429 	ld_shlibs=no
   9430       fi
   9431       ;;
   9432 
   9433     interix[3-9]*)
   9434       hardcode_direct=no
   9435       hardcode_shlibpath_var=no
   9436       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9437       export_dynamic_flag_spec='${wl}-E'
   9438       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9439       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9440       # default) and relocated if they conflict, which is a slow very memory
   9441       # consuming and fragmenting process.  To avoid this, we pick a random,
   9442       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9443       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9444       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9445       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9446       ;;
   9447 
   9448     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9449       tmp_diet=no
   9450       if test "$host_os" = linux-dietlibc; then
   9451 	case $cc_basename in
   9452 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9453 	esac
   9454       fi
   9455       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9456 	 && test "$tmp_diet" = no
   9457       then
   9458 	tmp_addflag=
   9459 	tmp_sharedflag='-shared'
   9460 	case $cc_basename,$host_cpu in
   9461         pgcc*)				# Portland Group C compiler
   9462 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   9463 	  tmp_addflag=' $pic_flag'
   9464 	  ;;
   9465 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   9466 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   9467 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9468 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9469 	  tmp_addflag=' -i_dynamic' ;;
   9470 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9471 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9472 	ifc* | ifort*)			# Intel Fortran compiler
   9473 	  tmp_addflag=' -nofor_main' ;;
   9474 	lf95*)				# Lahey Fortran 8.1
   9475 	  whole_archive_flag_spec=
   9476 	  tmp_sharedflag='--shared' ;;
   9477 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   9478 	  tmp_sharedflag='-qmkshrobj'
   9479 	  tmp_addflag= ;;
   9480 	esac
   9481 	case `$CC -V 2>&1 | sed 5q` in
   9482 	*Sun\ C*)			# Sun C 5.9
   9483 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   9484 	  compiler_needs_object=yes
   9485 	  tmp_sharedflag='-G' ;;
   9486 	*Sun\ F*)			# Sun Fortran 8.3
   9487 	  tmp_sharedflag='-G' ;;
   9488 	esac
   9489 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9490 
   9491         if test "x$supports_anon_versioning" = xyes; then
   9492           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9493 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9494 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9495 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9496         fi
   9497 
   9498 	case $cc_basename in
   9499 	xlf*)
   9500 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9501 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9502 	  hardcode_libdir_flag_spec=
   9503 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9504 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9505 	  if test "x$supports_anon_versioning" = xyes; then
   9506 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9507 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9508 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9509 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9510 	  fi
   9511 	  ;;
   9512 	esac
   9513       else
   9514         ld_shlibs=no
   9515       fi
   9516       ;;
   9517 
   9518     netbsd* | netbsdelf*-gnu)
   9519       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9520 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9521 	wlarc=
   9522       else
   9523 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9524 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9525       fi
   9526       ;;
   9527 
   9528     solaris*)
   9529       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9530 	ld_shlibs=no
   9531 	cat <<_LT_EOF 1>&2
   9532 
   9533 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9534 *** create shared libraries on Solaris systems.  Therefore, libtool
   9535 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9536 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9537 *** your PATH or compiler configuration so that the native linker is
   9538 *** used, and then restart.
   9539 
   9540 _LT_EOF
   9541       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9542 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9543 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9544       else
   9545 	ld_shlibs=no
   9546       fi
   9547       ;;
   9548 
   9549     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9550       case `$LD -v 2>&1` in
   9551         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9552 	ld_shlibs=no
   9553 	cat <<_LT_EOF 1>&2
   9554 
   9555 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9556 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9557 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9558 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9559 *** your PATH or compiler configuration so that the native linker is
   9560 *** used, and then restart.
   9561 
   9562 _LT_EOF
   9563 	;;
   9564 	*)
   9565 	  # For security reasons, it is highly recommended that you always
   9566 	  # use absolute paths for naming shared libraries, and exclude the
   9567 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9568 	  # requires that you compile everything twice, which is a pain.
   9569 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9570 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9571 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9572 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9573 	  else
   9574 	    ld_shlibs=no
   9575 	  fi
   9576 	;;
   9577       esac
   9578       ;;
   9579 
   9580     sunos4*)
   9581       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9582       wlarc=
   9583       hardcode_direct=yes
   9584       hardcode_shlibpath_var=no
   9585       ;;
   9586 
   9587     *)
   9588       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9589 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9590 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9591       else
   9592 	ld_shlibs=no
   9593       fi
   9594       ;;
   9595     esac
   9596 
   9597     if test "$ld_shlibs" = no; then
   9598       runpath_var=
   9599       hardcode_libdir_flag_spec=
   9600       export_dynamic_flag_spec=
   9601       whole_archive_flag_spec=
   9602     fi
   9603   else
   9604     # PORTME fill in a description of your system's linker (not GNU ld)
   9605     case $host_os in
   9606     aix3*)
   9607       allow_undefined_flag=unsupported
   9608       always_export_symbols=yes
   9609       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
   9610       # Note: this linker hardcodes the directories in LIBPATH if there
   9611       # are no directories specified by -L.
   9612       hardcode_minus_L=yes
   9613       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9614 	# Neither direct hardcoding nor static linking is supported with a
   9615 	# broken collect2.
   9616 	hardcode_direct=unsupported
   9617       fi
   9618       ;;
   9619 
   9620     aix[4-9]*)
   9621       if test "$host_cpu" = ia64; then
   9622 	# On IA64, the linker does run time linking by default, so we don't
   9623 	# have to do anything special.
   9624 	aix_use_runtimelinking=no
   9625 	exp_sym_flag='-Bexport'
   9626 	no_entry_flag=""
   9627       else
   9628 	# If we're using GNU nm, then we don't want the "-C" option.
   9629 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9630 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9631 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9632 	else
   9633 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9634 	fi
   9635 	aix_use_runtimelinking=no
   9636 
   9637 	# Test if we are trying to use run time linking or normal
   9638 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9639 	# need to do runtime linking.
   9640 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9641 	  for ld_flag in $LDFLAGS; do
   9642 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9643 	    aix_use_runtimelinking=yes
   9644 	    break
   9645 	  fi
   9646 	  done
   9647 	  ;;
   9648 	esac
   9649 
   9650 	exp_sym_flag='-bexport'
   9651 	no_entry_flag='-bnoentry'
   9652       fi
   9653 
   9654       # When large executables or shared objects are built, AIX ld can
   9655       # have problems creating the table of contents.  If linking a library
   9656       # or program results in "error TOC overflow" add -mminimal-toc to
   9657       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9658       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9659 
   9660       archive_cmds=''
   9661       hardcode_direct=yes
   9662       hardcode_direct_absolute=yes
   9663       hardcode_libdir_separator=':'
   9664       link_all_deplibs=yes
   9665       file_list_spec='${wl}-f,'
   9666 
   9667       if test "$GCC" = yes; then
   9668 	case $host_os in aix4.[012]|aix4.[012].*)
   9669 	# We only want to do this on AIX 4.2 and lower, the check
   9670 	# below for broken collect2 doesn't work under 4.3+
   9671 	  collect2name=`${CC} -print-prog-name=collect2`
   9672 	  if test -f "$collect2name" &&
   9673 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9674 	  then
   9675 	  # We have reworked collect2
   9676 	  :
   9677 	  else
   9678 	  # We have old collect2
   9679 	  hardcode_direct=unsupported
   9680 	  # It fails to find uninstalled libraries when the uninstalled
   9681 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9682 	  # to unsupported forces relinking
   9683 	  hardcode_minus_L=yes
   9684 	  hardcode_libdir_flag_spec='-L$libdir'
   9685 	  hardcode_libdir_separator=
   9686 	  fi
   9687 	  ;;
   9688 	esac
   9689 	shared_flag='-shared'
   9690 	if test "$aix_use_runtimelinking" = yes; then
   9691 	  shared_flag="$shared_flag "'${wl}-G'
   9692 	fi
   9693 	link_all_deplibs=no
   9694       else
   9695 	# not using gcc
   9696 	if test "$host_cpu" = ia64; then
   9697 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9698 	# chokes on -Wl,-G. The following line is correct:
   9699 	  shared_flag='-G'
   9700 	else
   9701 	  if test "$aix_use_runtimelinking" = yes; then
   9702 	    shared_flag='${wl}-G'
   9703 	  else
   9704 	    shared_flag='${wl}-bM:SRE'
   9705 	  fi
   9706 	fi
   9707       fi
   9708 
   9709       export_dynamic_flag_spec='${wl}-bexpall'
   9710       # It seems that -bexpall does not export symbols beginning with
   9711       # underscore (_), so it is better to generate a list of symbols to export.
   9712       always_export_symbols=yes
   9713       if test "$aix_use_runtimelinking" = yes; then
   9714 	# Warning - without using the other runtime loading flags (-brtl),
   9715 	# -berok will link without error, but may produce a broken library.
   9716 	allow_undefined_flag='-berok'
   9717         # Determine the default libpath from the value encoded in an
   9718         # empty executable.
   9719         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9720 /* end confdefs.h.  */
   9721 
   9722 int
   9723 main ()
   9724 {
   9725 
   9726   ;
   9727   return 0;
   9728 }
   9729 _ACEOF
   9730 if ac_fn_c_try_link "$LINENO"; then :
   9731 
   9732 lt_aix_libpath_sed='
   9733     /Import File Strings/,/^$/ {
   9734 	/^0/ {
   9735 	    s/^0  *\(.*\)$/\1/
   9736 	    p
   9737 	}
   9738     }'
   9739 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9740 # Check for a 64-bit object if we didn't find anything.
   9741 if test -z "$aix_libpath"; then
   9742   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9743 fi
   9744 fi
   9745 rm -f core conftest.err conftest.$ac_objext \
   9746     conftest$ac_exeext conftest.$ac_ext
   9747 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9748 
   9749         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9750         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9751       else
   9752 	if test "$host_cpu" = ia64; then
   9753 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9754 	  allow_undefined_flag="-z nodefs"
   9755 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   9756 	else
   9757 	 # Determine the default libpath from the value encoded in an
   9758 	 # empty executable.
   9759 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9760 /* end confdefs.h.  */
   9761 
   9762 int
   9763 main ()
   9764 {
   9765 
   9766   ;
   9767   return 0;
   9768 }
   9769 _ACEOF
   9770 if ac_fn_c_try_link "$LINENO"; then :
   9771 
   9772 lt_aix_libpath_sed='
   9773     /Import File Strings/,/^$/ {
   9774 	/^0/ {
   9775 	    s/^0  *\(.*\)$/\1/
   9776 	    p
   9777 	}
   9778     }'
   9779 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9780 # Check for a 64-bit object if we didn't find anything.
   9781 if test -z "$aix_libpath"; then
   9782   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9783 fi
   9784 fi
   9785 rm -f core conftest.err conftest.$ac_objext \
   9786     conftest$ac_exeext conftest.$ac_ext
   9787 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9788 
   9789 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9790 	  # Warning - without using the other run time loading flags,
   9791 	  # -berok will link without error, but may produce a broken library.
   9792 	  no_undefined_flag=' ${wl}-bernotok'
   9793 	  allow_undefined_flag=' ${wl}-berok'
   9794 	  # Exported symbols can be pulled into shared objects from archives
   9795 	  whole_archive_flag_spec='$convenience'
   9796 	  archive_cmds_need_lc=yes
   9797 	  # This is similar to how AIX traditionally builds its shared libraries.
   9798 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   9799 	fi
   9800       fi
   9801       ;;
   9802 
   9803     amigaos*)
   9804       case $host_cpu in
   9805       powerpc)
   9806             # see comment about AmigaOS4 .so support
   9807             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9808             archive_expsym_cmds=''
   9809         ;;
   9810       m68k)
   9811             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
   9812             hardcode_libdir_flag_spec='-L$libdir'
   9813             hardcode_minus_L=yes
   9814         ;;
   9815       esac
   9816       ;;
   9817 
   9818     bsdi[45]*)
   9819       export_dynamic_flag_spec=-rdynamic
   9820       ;;
   9821 
   9822     cygwin* | mingw* | pw32* | cegcc*)
   9823       # When not using gcc, we currently assume that we are using
   9824       # Microsoft Visual C++.
   9825       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9826       # no search path for DLLs.
   9827       hardcode_libdir_flag_spec=' '
   9828       allow_undefined_flag=unsupported
   9829       # Tell ltmain to make .lib files, not .a files.
   9830       libext=lib
   9831       # Tell ltmain to make .dll files, not .so files.
   9832       shrext_cmds=".dll"
   9833       # FIXME: Setting linknames here is a bad hack.
   9834       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   9835       # The linker will automatically build a .lib file if we build a DLL.
   9836       old_archive_from_new_cmds='true'
   9837       # FIXME: Should let the user specify the lib program.
   9838       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9839       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9840       enable_shared_with_static_runtimes=yes
   9841       ;;
   9842 
   9843     darwin* | rhapsody*)
   9844 
   9845 
   9846   archive_cmds_need_lc=no
   9847   hardcode_direct=no
   9848   hardcode_automatic=yes
   9849   hardcode_shlibpath_var=unsupported
   9850   whole_archive_flag_spec=''
   9851   link_all_deplibs=yes
   9852   allow_undefined_flag="$_lt_dar_allow_undefined"
   9853   case $cc_basename in
   9854      ifort*) _lt_dar_can_shared=yes ;;
   9855      *) _lt_dar_can_shared=$GCC ;;
   9856   esac
   9857   if test "$_lt_dar_can_shared" = "yes"; then
   9858     output_verbose_link_cmd=echo
   9859     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9860     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9861     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   9862     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   9863 
   9864   else
   9865   ld_shlibs=no
   9866   fi
   9867 
   9868       ;;
   9869 
   9870     dgux*)
   9871       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9872       hardcode_libdir_flag_spec='-L$libdir'
   9873       hardcode_shlibpath_var=no
   9874       ;;
   9875 
   9876     freebsd1*)
   9877       ld_shlibs=no
   9878       ;;
   9879 
   9880     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9881     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9882     # does not break anything, and helps significantly (at the cost of a little
   9883     # extra space).
   9884     freebsd2.2*)
   9885       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9886       hardcode_libdir_flag_spec='-R$libdir'
   9887       hardcode_direct=yes
   9888       hardcode_shlibpath_var=no
   9889       ;;
   9890 
   9891     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9892     freebsd2*)
   9893       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9894       hardcode_direct=yes
   9895       hardcode_minus_L=yes
   9896       hardcode_shlibpath_var=no
   9897       ;;
   9898 
   9899     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9900     freebsd* | dragonfly*)
   9901       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9902       hardcode_libdir_flag_spec='-R$libdir'
   9903       hardcode_direct=yes
   9904       hardcode_shlibpath_var=no
   9905       ;;
   9906 
   9907     hpux9*)
   9908       if test "$GCC" = yes; then
   9909 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9910       else
   9911 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9912       fi
   9913       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9914       hardcode_libdir_separator=:
   9915       hardcode_direct=yes
   9916 
   9917       # hardcode_minus_L: Not really in the search PATH,
   9918       # but as the default location of the library.
   9919       hardcode_minus_L=yes
   9920       export_dynamic_flag_spec='${wl}-E'
   9921       ;;
   9922 
   9923     hpux10*)
   9924       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9925 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9926       else
   9927 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9928       fi
   9929       if test "$with_gnu_ld" = no; then
   9930 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9931 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9932 	hardcode_libdir_separator=:
   9933 	hardcode_direct=yes
   9934 	hardcode_direct_absolute=yes
   9935 	export_dynamic_flag_spec='${wl}-E'
   9936 	# hardcode_minus_L: Not really in the search PATH,
   9937 	# but as the default location of the library.
   9938 	hardcode_minus_L=yes
   9939       fi
   9940       ;;
   9941 
   9942     hpux11*)
   9943       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   9944 	case $host_cpu in
   9945 	hppa*64*)
   9946 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9947 	  ;;
   9948 	ia64*)
   9949 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9950 	  ;;
   9951 	*)
   9952 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9953 	  ;;
   9954 	esac
   9955       else
   9956 	case $host_cpu in
   9957 	hppa*64*)
   9958 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9959 	  ;;
   9960 	ia64*)
   9961 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9962 	  ;;
   9963 	*)
   9964 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9965 	  ;;
   9966 	esac
   9967       fi
   9968       if test "$with_gnu_ld" = no; then
   9969 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9970 	hardcode_libdir_separator=:
   9971 
   9972 	case $host_cpu in
   9973 	hppa*64*|ia64*)
   9974 	  hardcode_direct=no
   9975 	  hardcode_shlibpath_var=no
   9976 	  ;;
   9977 	*)
   9978 	  hardcode_direct=yes
   9979 	  hardcode_direct_absolute=yes
   9980 	  export_dynamic_flag_spec='${wl}-E'
   9981 
   9982 	  # hardcode_minus_L: Not really in the search PATH,
   9983 	  # but as the default location of the library.
   9984 	  hardcode_minus_L=yes
   9985 	  ;;
   9986 	esac
   9987       fi
   9988       ;;
   9989 
   9990     irix5* | irix6* | nonstopux*)
   9991       if test "$GCC" = yes; then
   9992 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9993 	# Try to use the -exported_symbol ld option, if it does not
   9994 	# work, assume that -exports_file does not work either and
   9995 	# implicitly export all symbols.
   9996         save_LDFLAGS="$LDFLAGS"
   9997         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9998         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9999 /* end confdefs.h.  */
   10000 int foo(void) {}
   10001 _ACEOF
   10002 if ac_fn_c_try_link "$LINENO"; then :
   10003   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   10004 
   10005 fi
   10006 rm -f core conftest.err conftest.$ac_objext \
   10007     conftest$ac_exeext conftest.$ac_ext
   10008         LDFLAGS="$save_LDFLAGS"
   10009       else
   10010 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   10011 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   10012       fi
   10013       archive_cmds_need_lc='no'
   10014       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10015       hardcode_libdir_separator=:
   10016       inherit_rpath=yes
   10017       link_all_deplibs=yes
   10018       ;;
   10019 
   10020     netbsd* | netbsdelf*-gnu)
   10021       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10022 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10023       else
   10024 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10025       fi
   10026       hardcode_libdir_flag_spec='-R$libdir'
   10027       hardcode_direct=yes
   10028       hardcode_shlibpath_var=no
   10029       ;;
   10030 
   10031     newsos6)
   10032       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10033       hardcode_direct=yes
   10034       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10035       hardcode_libdir_separator=:
   10036       hardcode_shlibpath_var=no
   10037       ;;
   10038 
   10039     *nto* | *qnx*)
   10040       ;;
   10041 
   10042     openbsd*)
   10043       if test -f /usr/libexec/ld.so; then
   10044 	hardcode_direct=yes
   10045 	hardcode_shlibpath_var=no
   10046 	hardcode_direct_absolute=yes
   10047 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10048 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10049 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10050 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10051 	  export_dynamic_flag_spec='${wl}-E'
   10052 	else
   10053 	  case $host_os in
   10054 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10055 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10056 	     hardcode_libdir_flag_spec='-R$libdir'
   10057 	     ;;
   10058 	   *)
   10059 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10060 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10061 	     ;;
   10062 	  esac
   10063 	fi
   10064       else
   10065 	ld_shlibs=no
   10066       fi
   10067       ;;
   10068 
   10069     os2*)
   10070       hardcode_libdir_flag_spec='-L$libdir'
   10071       hardcode_minus_L=yes
   10072       allow_undefined_flag=unsupported
   10073       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   10074       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10075       ;;
   10076 
   10077     osf3*)
   10078       if test "$GCC" = yes; then
   10079 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10080 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10081       else
   10082 	allow_undefined_flag=' -expect_unresolved \*'
   10083 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   10084       fi
   10085       archive_cmds_need_lc='no'
   10086       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10087       hardcode_libdir_separator=:
   10088       ;;
   10089 
   10090     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10091       if test "$GCC" = yes; then
   10092 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10093 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   10094 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10095       else
   10096 	allow_undefined_flag=' -expect_unresolved \*'
   10097 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   10098 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   10099 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   10100 
   10101 	# Both c and cxx compiler support -rpath directly
   10102 	hardcode_libdir_flag_spec='-rpath $libdir'
   10103       fi
   10104       archive_cmds_need_lc='no'
   10105       hardcode_libdir_separator=:
   10106       ;;
   10107 
   10108     solaris*)
   10109       no_undefined_flag=' -z defs'
   10110       if test "$GCC" = yes; then
   10111 	wlarc='${wl}'
   10112 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10113 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10114 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10115       else
   10116 	case `$CC -V 2>&1` in
   10117 	*"Compilers 5.0"*)
   10118 	  wlarc=''
   10119 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10120 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10121 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10122 	  ;;
   10123 	*)
   10124 	  wlarc='${wl}'
   10125 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10126 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10127 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10128 	  ;;
   10129 	esac
   10130       fi
   10131       hardcode_libdir_flag_spec='-R$libdir'
   10132       hardcode_shlibpath_var=no
   10133       case $host_os in
   10134       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10135       *)
   10136 	# The compiler driver will combine and reorder linker options,
   10137 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10138 	# but is careful enough not to reorder.
   10139 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10140 	if test "$GCC" = yes; then
   10141 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10142 	else
   10143 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10144 	fi
   10145 	;;
   10146       esac
   10147       link_all_deplibs=yes
   10148       ;;
   10149 
   10150     sunos4*)
   10151       if test "x$host_vendor" = xsequent; then
   10152 	# Use $CC to link under sequent, because it throws in some extra .o
   10153 	# files that make .init and .fini sections work.
   10154 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10155       else
   10156 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10157       fi
   10158       hardcode_libdir_flag_spec='-L$libdir'
   10159       hardcode_direct=yes
   10160       hardcode_minus_L=yes
   10161       hardcode_shlibpath_var=no
   10162       ;;
   10163 
   10164     sysv4)
   10165       case $host_vendor in
   10166 	sni)
   10167 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10168 	  hardcode_direct=yes # is this really true???
   10169 	;;
   10170 	siemens)
   10171 	  ## LD is ld it makes a PLAMLIB
   10172 	  ## CC just makes a GrossModule.
   10173 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10174 	  reload_cmds='$CC -r -o $output$reload_objs'
   10175 	  hardcode_direct=no
   10176         ;;
   10177 	motorola)
   10178 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10179 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10180 	;;
   10181       esac
   10182       runpath_var='LD_RUN_PATH'
   10183       hardcode_shlibpath_var=no
   10184       ;;
   10185 
   10186     sysv4.3*)
   10187       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10188       hardcode_shlibpath_var=no
   10189       export_dynamic_flag_spec='-Bexport'
   10190       ;;
   10191 
   10192     sysv4*MP*)
   10193       if test -d /usr/nec; then
   10194 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10195 	hardcode_shlibpath_var=no
   10196 	runpath_var=LD_RUN_PATH
   10197 	hardcode_runpath_var=yes
   10198 	ld_shlibs=yes
   10199       fi
   10200       ;;
   10201 
   10202     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10203       no_undefined_flag='${wl}-z,text'
   10204       archive_cmds_need_lc=no
   10205       hardcode_shlibpath_var=no
   10206       runpath_var='LD_RUN_PATH'
   10207 
   10208       if test "$GCC" = yes; then
   10209 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10210 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10211       else
   10212 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10213 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10214       fi
   10215       ;;
   10216 
   10217     sysv5* | sco3.2v5* | sco5v6*)
   10218       # Note: We can NOT use -z defs as we might desire, because we do not
   10219       # link with -lc, and that would cause any symbols used from libc to
   10220       # always be unresolved, which means just about no library would
   10221       # ever link correctly.  If we're not using GNU ld we use -z text
   10222       # though, which does catch some bad symbols but isn't as heavy-handed
   10223       # as -z defs.
   10224       no_undefined_flag='${wl}-z,text'
   10225       allow_undefined_flag='${wl}-z,nodefs'
   10226       archive_cmds_need_lc=no
   10227       hardcode_shlibpath_var=no
   10228       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10229       hardcode_libdir_separator=':'
   10230       link_all_deplibs=yes
   10231       export_dynamic_flag_spec='${wl}-Bexport'
   10232       runpath_var='LD_RUN_PATH'
   10233 
   10234       if test "$GCC" = yes; then
   10235 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10236 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10237       else
   10238 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10239 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10240       fi
   10241       ;;
   10242 
   10243     uts4*)
   10244       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10245       hardcode_libdir_flag_spec='-L$libdir'
   10246       hardcode_shlibpath_var=no
   10247       ;;
   10248 
   10249     *)
   10250       ld_shlibs=no
   10251       ;;
   10252     esac
   10253 
   10254     if test x$host_vendor = xsni; then
   10255       case $host in
   10256       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10257 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10258 	;;
   10259       esac
   10260     fi
   10261   fi
   10262 
   10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10264 $as_echo "$ld_shlibs" >&6; }
   10265 test "$ld_shlibs" = no && can_build_shared=no
   10266 
   10267 with_gnu_ld=$with_gnu_ld
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 #
   10284 # Do we need to explicitly link libc?
   10285 #
   10286 case "x$archive_cmds_need_lc" in
   10287 x|xyes)
   10288   # Assume -lc should be added
   10289   archive_cmds_need_lc=yes
   10290 
   10291   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10292     case $archive_cmds in
   10293     *'~'*)
   10294       # FIXME: we may have to deal with multi-command sequences.
   10295       ;;
   10296     '$CC '*)
   10297       # Test whether the compiler implicitly links with -lc since on some
   10298       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10299       # to ld, don't add -lc before -lgcc.
   10300       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10301 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10302       $RM conftest*
   10303       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10304 
   10305       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10306   (eval $ac_compile) 2>&5
   10307   ac_status=$?
   10308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10309   test $ac_status = 0; } 2>conftest.err; then
   10310         soname=conftest
   10311         lib=conftest
   10312         libobjs=conftest.$ac_objext
   10313         deplibs=
   10314         wl=$lt_prog_compiler_wl
   10315 	pic_flag=$lt_prog_compiler_pic
   10316         compiler_flags=-v
   10317         linker_flags=-v
   10318         verstring=
   10319         output_objdir=.
   10320         libname=conftest
   10321         lt_save_allow_undefined_flag=$allow_undefined_flag
   10322         allow_undefined_flag=
   10323         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10324   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10325   ac_status=$?
   10326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10327   test $ac_status = 0; }
   10328         then
   10329 	  archive_cmds_need_lc=no
   10330         else
   10331 	  archive_cmds_need_lc=yes
   10332         fi
   10333         allow_undefined_flag=$lt_save_allow_undefined_flag
   10334       else
   10335         cat conftest.err 1>&5
   10336       fi
   10337       $RM conftest*
   10338       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   10339 $as_echo "$archive_cmds_need_lc" >&6; }
   10340       ;;
   10341     esac
   10342   fi
   10343   ;;
   10344 esac
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10503 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10504 
   10505 if test "$GCC" = yes; then
   10506   case $host_os in
   10507     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10508     *) lt_awk_arg="/^libraries:/" ;;
   10509   esac
   10510   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10511   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   10512     # if the path contains ";" then we assume it to be the separator
   10513     # otherwise default to the standard path separator (i.e. ":") - it is
   10514     # assumed that no part of a normal pathname contains ";" but that should
   10515     # okay in the real world where ";" in dirpaths is itself problematic.
   10516     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   10517   else
   10518     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10519   fi
   10520   # Ok, now we have the path, separated by spaces, we can step through it
   10521   # and add multilib dir if necessary.
   10522   lt_tmp_lt_search_path_spec=
   10523   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10524   for lt_sys_path in $lt_search_path_spec; do
   10525     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10526       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10527     else
   10528       test -d "$lt_sys_path" && \
   10529 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10530     fi
   10531   done
   10532   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   10533 BEGIN {RS=" "; FS="/|\n";} {
   10534   lt_foo="";
   10535   lt_count=0;
   10536   for (lt_i = NF; lt_i > 0; lt_i--) {
   10537     if ($lt_i != "" && $lt_i != ".") {
   10538       if ($lt_i == "..") {
   10539         lt_count++;
   10540       } else {
   10541         if (lt_count == 0) {
   10542           lt_foo="/" $lt_i lt_foo;
   10543         } else {
   10544           lt_count--;
   10545         }
   10546       }
   10547     }
   10548   }
   10549   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10550   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10551 }'`
   10552   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   10553 else
   10554   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10555 fi
   10556 library_names_spec=
   10557 libname_spec='lib$name'
   10558 soname_spec=
   10559 shrext_cmds=".so"
   10560 postinstall_cmds=
   10561 postuninstall_cmds=
   10562 finish_cmds=
   10563 finish_eval=
   10564 shlibpath_var=
   10565 shlibpath_overrides_runpath=unknown
   10566 version_type=none
   10567 dynamic_linker="$host_os ld.so"
   10568 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10569 need_lib_prefix=unknown
   10570 hardcode_into_libs=no
   10571 
   10572 # when you set need_version to no, make sure it does not cause -set_version
   10573 # flags to be left without arguments
   10574 need_version=unknown
   10575 
   10576 case $host_os in
   10577 aix3*)
   10578   version_type=linux
   10579   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10580   shlibpath_var=LIBPATH
   10581 
   10582   # AIX 3 has no versioning support, so we append a major version to the name.
   10583   soname_spec='${libname}${release}${shared_ext}$major'
   10584   ;;
   10585 
   10586 aix[4-9]*)
   10587   version_type=linux
   10588   need_lib_prefix=no
   10589   need_version=no
   10590   hardcode_into_libs=yes
   10591   if test "$host_cpu" = ia64; then
   10592     # AIX 5 supports IA64
   10593     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10594     shlibpath_var=LD_LIBRARY_PATH
   10595   else
   10596     # With GCC up to 2.95.x, collect2 would create an import file
   10597     # for dependence libraries.  The import file would start with
   10598     # the line `#! .'.  This would cause the generated library to
   10599     # depend on `.', always an invalid library.  This was fixed in
   10600     # development snapshots of GCC prior to 3.0.
   10601     case $host_os in
   10602       aix4 | aix4.[01] | aix4.[01].*)
   10603       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10604 	   echo ' yes '
   10605 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10606 	:
   10607       else
   10608 	can_build_shared=no
   10609       fi
   10610       ;;
   10611     esac
   10612     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10613     # soname into executable. Probably we can add versioning support to
   10614     # collect2, so additional links can be useful in future.
   10615     if test "$aix_use_runtimelinking" = yes; then
   10616       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10617       # instead of lib<name>.a to let people know that these are not
   10618       # typical AIX shared libraries.
   10619       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10620     else
   10621       # We preserve .a as extension for shared libraries through AIX4.2
   10622       # and later when we are not doing run time linking.
   10623       library_names_spec='${libname}${release}.a $libname.a'
   10624       soname_spec='${libname}${release}${shared_ext}$major'
   10625     fi
   10626     shlibpath_var=LIBPATH
   10627   fi
   10628   ;;
   10629 
   10630 amigaos*)
   10631   case $host_cpu in
   10632   powerpc)
   10633     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10634     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10635     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10636     ;;
   10637   m68k)
   10638     library_names_spec='$libname.ixlibrary $libname.a'
   10639     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10640     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10641     ;;
   10642   esac
   10643   ;;
   10644 
   10645 beos*)
   10646   library_names_spec='${libname}${shared_ext}'
   10647   dynamic_linker="$host_os ld.so"
   10648   shlibpath_var=LIBRARY_PATH
   10649   ;;
   10650 
   10651 bsdi[45]*)
   10652   version_type=linux
   10653   need_version=no
   10654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10655   soname_spec='${libname}${release}${shared_ext}$major'
   10656   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10657   shlibpath_var=LD_LIBRARY_PATH
   10658   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10659   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10660   # the default ld.so.conf also contains /usr/contrib/lib and
   10661   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10662   # libtool to hard-code these into programs
   10663   ;;
   10664 
   10665 cygwin* | mingw* | pw32* | cegcc*)
   10666   version_type=windows
   10667   shrext_cmds=".dll"
   10668   need_version=no
   10669   need_lib_prefix=no
   10670 
   10671   case $GCC,$host_os in
   10672   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10673     library_names_spec='$libname.dll.a'
   10674     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10675     postinstall_cmds='base_file=`basename \${file}`~
   10676       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10677       dldir=$destdir/`dirname \$dlpath`~
   10678       test -d \$dldir || mkdir -p \$dldir~
   10679       $install_prog $dir/$dlname \$dldir/$dlname~
   10680       chmod a+x \$dldir/$dlname~
   10681       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10682         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10683       fi'
   10684     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10685       dlpath=$dir/\$dldll~
   10686        $RM \$dlpath'
   10687     shlibpath_overrides_runpath=yes
   10688 
   10689     case $host_os in
   10690     cygwin*)
   10691       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10692       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10693       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   10694       ;;
   10695     mingw* | cegcc*)
   10696       # MinGW DLLs use traditional 'lib' prefix
   10697       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10698       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   10699       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10700         # It is most probably a Windows format PATH printed by
   10701         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   10702         # path with ; separators, and with drive letters. We can handle the
   10703         # drive letters (cygwin fileutils understands them), so leave them,
   10704         # especially as we might pass files found there to a mingw objdump,
   10705         # which wouldn't understand a cygwinified path. Ahh.
   10706         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10707       else
   10708         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   10709       fi
   10710       ;;
   10711     pw32*)
   10712       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10713       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10714       ;;
   10715     esac
   10716     ;;
   10717 
   10718   *)
   10719     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10720     ;;
   10721   esac
   10722   dynamic_linker='Win32 ld.exe'
   10723   # FIXME: first we should search . and the directory the executable is in
   10724   shlibpath_var=PATH
   10725   ;;
   10726 
   10727 darwin* | rhapsody*)
   10728   dynamic_linker="$host_os dyld"
   10729   version_type=darwin
   10730   need_lib_prefix=no
   10731   need_version=no
   10732   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10733   soname_spec='${libname}${release}${major}$shared_ext'
   10734   shlibpath_overrides_runpath=yes
   10735   shlibpath_var=DYLD_LIBRARY_PATH
   10736   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10737 
   10738   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10739   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10740   ;;
   10741 
   10742 dgux*)
   10743   version_type=linux
   10744   need_lib_prefix=no
   10745   need_version=no
   10746   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10747   soname_spec='${libname}${release}${shared_ext}$major'
   10748   shlibpath_var=LD_LIBRARY_PATH
   10749   ;;
   10750 
   10751 freebsd1*)
   10752   dynamic_linker=no
   10753   ;;
   10754 
   10755 freebsd* | dragonfly*)
   10756   # DragonFly does not have aout.  When/if they implement a new
   10757   # versioning mechanism, adjust this.
   10758   if test -x /usr/bin/objformat; then
   10759     objformat=`/usr/bin/objformat`
   10760   else
   10761     case $host_os in
   10762     freebsd[123]*) objformat=aout ;;
   10763     *) objformat=elf ;;
   10764     esac
   10765   fi
   10766   version_type=freebsd-$objformat
   10767   case $version_type in
   10768     freebsd-elf*)
   10769       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10770       need_version=no
   10771       need_lib_prefix=no
   10772       ;;
   10773     freebsd-*)
   10774       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10775       need_version=yes
   10776       ;;
   10777   esac
   10778   shlibpath_var=LD_LIBRARY_PATH
   10779   case $host_os in
   10780   freebsd2*)
   10781     shlibpath_overrides_runpath=yes
   10782     ;;
   10783   freebsd3.[01]* | freebsdelf3.[01]*)
   10784     shlibpath_overrides_runpath=yes
   10785     hardcode_into_libs=yes
   10786     ;;
   10787   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10788   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10789     shlibpath_overrides_runpath=no
   10790     hardcode_into_libs=yes
   10791     ;;
   10792   *) # from 4.6 on, and DragonFly
   10793     shlibpath_overrides_runpath=yes
   10794     hardcode_into_libs=yes
   10795     ;;
   10796   esac
   10797   ;;
   10798 
   10799 gnu*)
   10800   version_type=linux
   10801   need_lib_prefix=no
   10802   need_version=no
   10803   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10804   soname_spec='${libname}${release}${shared_ext}$major'
   10805   shlibpath_var=LD_LIBRARY_PATH
   10806   hardcode_into_libs=yes
   10807   ;;
   10808 
   10809 hpux9* | hpux10* | hpux11*)
   10810   # Give a soname corresponding to the major version so that dld.sl refuses to
   10811   # link against other versions.
   10812   version_type=sunos
   10813   need_lib_prefix=no
   10814   need_version=no
   10815   case $host_cpu in
   10816   ia64*)
   10817     shrext_cmds='.so'
   10818     hardcode_into_libs=yes
   10819     dynamic_linker="$host_os dld.so"
   10820     shlibpath_var=LD_LIBRARY_PATH
   10821     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10822     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10823     soname_spec='${libname}${release}${shared_ext}$major'
   10824     if test "X$HPUX_IA64_MODE" = X32; then
   10825       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10826     else
   10827       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10828     fi
   10829     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10830     ;;
   10831   hppa*64*)
   10832     shrext_cmds='.sl'
   10833     hardcode_into_libs=yes
   10834     dynamic_linker="$host_os dld.sl"
   10835     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10836     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10837     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10838     soname_spec='${libname}${release}${shared_ext}$major'
   10839     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10840     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10841     ;;
   10842   *)
   10843     shrext_cmds='.sl'
   10844     dynamic_linker="$host_os dld.sl"
   10845     shlibpath_var=SHLIB_PATH
   10846     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10847     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10848     soname_spec='${libname}${release}${shared_ext}$major'
   10849     ;;
   10850   esac
   10851   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   10852   postinstall_cmds='chmod 555 $lib'
   10853   ;;
   10854 
   10855 interix[3-9]*)
   10856   version_type=linux
   10857   need_lib_prefix=no
   10858   need_version=no
   10859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10860   soname_spec='${libname}${release}${shared_ext}$major'
   10861   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10862   shlibpath_var=LD_LIBRARY_PATH
   10863   shlibpath_overrides_runpath=no
   10864   hardcode_into_libs=yes
   10865   ;;
   10866 
   10867 irix5* | irix6* | nonstopux*)
   10868   case $host_os in
   10869     nonstopux*) version_type=nonstopux ;;
   10870     *)
   10871 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10872 		version_type=linux
   10873 	else
   10874 		version_type=irix
   10875 	fi ;;
   10876   esac
   10877   need_lib_prefix=no
   10878   need_version=no
   10879   soname_spec='${libname}${release}${shared_ext}$major'
   10880   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10881   case $host_os in
   10882   irix5* | nonstopux*)
   10883     libsuff= shlibsuff=
   10884     ;;
   10885   *)
   10886     case $LD in # libtool.m4 will add one of these switches to LD
   10887     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10888       libsuff= shlibsuff= libmagic=32-bit;;
   10889     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10890       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10891     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10892       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10893     *) libsuff= shlibsuff= libmagic=never-match;;
   10894     esac
   10895     ;;
   10896   esac
   10897   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10898   shlibpath_overrides_runpath=no
   10899   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10900   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10901   hardcode_into_libs=yes
   10902   ;;
   10903 
   10904 # No shared lib support for Linux oldld, aout, or coff.
   10905 linux*oldld* | linux*aout* | linux*coff*)
   10906   dynamic_linker=no
   10907   ;;
   10908 
   10909 # This must be Linux ELF.
   10910 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10911   version_type=linux
   10912   need_lib_prefix=no
   10913   need_version=no
   10914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10915   soname_spec='${libname}${release}${shared_ext}$major'
   10916   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10917   shlibpath_var=LD_LIBRARY_PATH
   10918   shlibpath_overrides_runpath=no
   10919   # Some binutils ld are patched to set DT_RUNPATH
   10920   save_LDFLAGS=$LDFLAGS
   10921   save_libdir=$libdir
   10922   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10923        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10925 /* end confdefs.h.  */
   10926 
   10927 int
   10928 main ()
   10929 {
   10930 
   10931   ;
   10932   return 0;
   10933 }
   10934 _ACEOF
   10935 if ac_fn_c_try_link "$LINENO"; then :
   10936   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10937   shlibpath_overrides_runpath=yes
   10938 fi
   10939 fi
   10940 rm -f core conftest.err conftest.$ac_objext \
   10941     conftest$ac_exeext conftest.$ac_ext
   10942   LDFLAGS=$save_LDFLAGS
   10943   libdir=$save_libdir
   10944 
   10945   # This implies no fast_install, which is unacceptable.
   10946   # Some rework will be needed to allow for fast_install
   10947   # before this can be enabled.
   10948   hardcode_into_libs=yes
   10949 
   10950   # Append ld.so.conf contents to the search path
   10951   if test -f /etc/ld.so.conf; then
   10952     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   10953     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10954   fi
   10955 
   10956   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10957   # powerpc, because MkLinux only supported shared libraries with the
   10958   # GNU dynamic linker.  Since this was broken with cross compilers,
   10959   # most powerpc-linux boxes support dynamic linking these days and
   10960   # people can always --disable-shared, the test was removed, and we
   10961   # assume the GNU/Linux dynamic linker is in use.
   10962   dynamic_linker='GNU/Linux ld.so'
   10963   ;;
   10964 
   10965 netbsdelf*-gnu)
   10966   version_type=linux
   10967   need_lib_prefix=no
   10968   need_version=no
   10969   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10970   soname_spec='${libname}${release}${shared_ext}$major'
   10971   shlibpath_var=LD_LIBRARY_PATH
   10972   shlibpath_overrides_runpath=no
   10973   hardcode_into_libs=yes
   10974   dynamic_linker='NetBSD ld.elf_so'
   10975   ;;
   10976 
   10977 netbsd*)
   10978   version_type=sunos
   10979   need_lib_prefix=no
   10980   need_version=no
   10981   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10982     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10983     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10984     dynamic_linker='NetBSD (a.out) ld.so'
   10985   else
   10986     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10987     soname_spec='${libname}${release}${shared_ext}$major'
   10988     dynamic_linker='NetBSD ld.elf_so'
   10989   fi
   10990   shlibpath_var=LD_LIBRARY_PATH
   10991   shlibpath_overrides_runpath=yes
   10992   hardcode_into_libs=yes
   10993   ;;
   10994 
   10995 newsos6)
   10996   version_type=linux
   10997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10998   shlibpath_var=LD_LIBRARY_PATH
   10999   shlibpath_overrides_runpath=yes
   11000   ;;
   11001 
   11002 *nto* | *qnx*)
   11003   version_type=qnx
   11004   need_lib_prefix=no
   11005   need_version=no
   11006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11007   soname_spec='${libname}${release}${shared_ext}$major'
   11008   shlibpath_var=LD_LIBRARY_PATH
   11009   shlibpath_overrides_runpath=no
   11010   hardcode_into_libs=yes
   11011   dynamic_linker='ldqnx.so'
   11012   ;;
   11013 
   11014 openbsd*)
   11015   version_type=sunos
   11016   sys_lib_dlsearch_path_spec="/usr/lib"
   11017   need_lib_prefix=no
   11018   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11019   case $host_os in
   11020     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11021     *)				need_version=no  ;;
   11022   esac
   11023   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11024   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11025   shlibpath_var=LD_LIBRARY_PATH
   11026   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11027     case $host_os in
   11028       openbsd2.[89] | openbsd2.[89].*)
   11029 	shlibpath_overrides_runpath=no
   11030 	;;
   11031       *)
   11032 	shlibpath_overrides_runpath=yes
   11033 	;;
   11034       esac
   11035   else
   11036     shlibpath_overrides_runpath=yes
   11037   fi
   11038   ;;
   11039 
   11040 os2*)
   11041   libname_spec='$name'
   11042   shrext_cmds=".dll"
   11043   need_lib_prefix=no
   11044   library_names_spec='$libname${shared_ext} $libname.a'
   11045   dynamic_linker='OS/2 ld.exe'
   11046   shlibpath_var=LIBPATH
   11047   ;;
   11048 
   11049 osf3* | osf4* | osf5*)
   11050   version_type=osf
   11051   need_lib_prefix=no
   11052   need_version=no
   11053   soname_spec='${libname}${release}${shared_ext}$major'
   11054   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11055   shlibpath_var=LD_LIBRARY_PATH
   11056   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11057   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11058   ;;
   11059 
   11060 rdos*)
   11061   dynamic_linker=no
   11062   ;;
   11063 
   11064 solaris*)
   11065   version_type=linux
   11066   need_lib_prefix=no
   11067   need_version=no
   11068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11069   soname_spec='${libname}${release}${shared_ext}$major'
   11070   shlibpath_var=LD_LIBRARY_PATH
   11071   shlibpath_overrides_runpath=yes
   11072   hardcode_into_libs=yes
   11073   # ldd complains unless libraries are executable
   11074   postinstall_cmds='chmod +x $lib'
   11075   ;;
   11076 
   11077 sunos4*)
   11078   version_type=sunos
   11079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11080   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11081   shlibpath_var=LD_LIBRARY_PATH
   11082   shlibpath_overrides_runpath=yes
   11083   if test "$with_gnu_ld" = yes; then
   11084     need_lib_prefix=no
   11085   fi
   11086   need_version=yes
   11087   ;;
   11088 
   11089 sysv4 | sysv4.3*)
   11090   version_type=linux
   11091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11092   soname_spec='${libname}${release}${shared_ext}$major'
   11093   shlibpath_var=LD_LIBRARY_PATH
   11094   case $host_vendor in
   11095     sni)
   11096       shlibpath_overrides_runpath=no
   11097       need_lib_prefix=no
   11098       runpath_var=LD_RUN_PATH
   11099       ;;
   11100     siemens)
   11101       need_lib_prefix=no
   11102       ;;
   11103     motorola)
   11104       need_lib_prefix=no
   11105       need_version=no
   11106       shlibpath_overrides_runpath=no
   11107       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11108       ;;
   11109   esac
   11110   ;;
   11111 
   11112 sysv4*MP*)
   11113   if test -d /usr/nec ;then
   11114     version_type=linux
   11115     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11116     soname_spec='$libname${shared_ext}.$major'
   11117     shlibpath_var=LD_LIBRARY_PATH
   11118   fi
   11119   ;;
   11120 
   11121 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11122   version_type=freebsd-elf
   11123   need_lib_prefix=no
   11124   need_version=no
   11125   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11126   soname_spec='${libname}${release}${shared_ext}$major'
   11127   shlibpath_var=LD_LIBRARY_PATH
   11128   shlibpath_overrides_runpath=yes
   11129   hardcode_into_libs=yes
   11130   if test "$with_gnu_ld" = yes; then
   11131     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11132   else
   11133     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11134     case $host_os in
   11135       sco3.2v5*)
   11136         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11137 	;;
   11138     esac
   11139   fi
   11140   sys_lib_dlsearch_path_spec='/usr/lib'
   11141   ;;
   11142 
   11143 tpf*)
   11144   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11145   version_type=linux
   11146   need_lib_prefix=no
   11147   need_version=no
   11148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11149   shlibpath_var=LD_LIBRARY_PATH
   11150   shlibpath_overrides_runpath=no
   11151   hardcode_into_libs=yes
   11152   ;;
   11153 
   11154 uts4*)
   11155   version_type=linux
   11156   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11157   soname_spec='${libname}${release}${shared_ext}$major'
   11158   shlibpath_var=LD_LIBRARY_PATH
   11159   ;;
   11160 
   11161 *)
   11162   dynamic_linker=no
   11163   ;;
   11164 esac
   11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11166 $as_echo "$dynamic_linker" >&6; }
   11167 test "$dynamic_linker" = no && can_build_shared=no
   11168 
   11169 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11170 if test "$GCC" = yes; then
   11171   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11172 fi
   11173 
   11174 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11175   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11176 fi
   11177 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11178   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11179 fi
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265 
   11266 
   11267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11268 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11269 hardcode_action=
   11270 if test -n "$hardcode_libdir_flag_spec" ||
   11271    test -n "$runpath_var" ||
   11272    test "X$hardcode_automatic" = "Xyes" ; then
   11273 
   11274   # We can hardcode non-existent directories.
   11275   if test "$hardcode_direct" != no &&
   11276      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11277      # have to relink, otherwise we might link with an installed library
   11278      # when we should be linking with a yet-to-be-installed one
   11279      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11280      test "$hardcode_minus_L" != no; then
   11281     # Linking always hardcodes the temporary library directory.
   11282     hardcode_action=relink
   11283   else
   11284     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11285     hardcode_action=immediate
   11286   fi
   11287 else
   11288   # We cannot hardcode anything, or else we can only hardcode existing
   11289   # directories.
   11290   hardcode_action=unsupported
   11291 fi
   11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11293 $as_echo "$hardcode_action" >&6; }
   11294 
   11295 if test "$hardcode_action" = relink ||
   11296    test "$inherit_rpath" = yes; then
   11297   # Fast installation is not supported
   11298   enable_fast_install=no
   11299 elif test "$shlibpath_overrides_runpath" = yes ||
   11300      test "$enable_shared" = no; then
   11301   # Fast installation is not necessary
   11302   enable_fast_install=needless
   11303 fi
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310   if test "x$enable_dlopen" != xyes; then
   11311   enable_dlopen=unknown
   11312   enable_dlopen_self=unknown
   11313   enable_dlopen_self_static=unknown
   11314 else
   11315   lt_cv_dlopen=no
   11316   lt_cv_dlopen_libs=
   11317 
   11318   case $host_os in
   11319   beos*)
   11320     lt_cv_dlopen="load_add_on"
   11321     lt_cv_dlopen_libs=
   11322     lt_cv_dlopen_self=yes
   11323     ;;
   11324 
   11325   mingw* | pw32* | cegcc*)
   11326     lt_cv_dlopen="LoadLibrary"
   11327     lt_cv_dlopen_libs=
   11328     ;;
   11329 
   11330   cygwin*)
   11331     lt_cv_dlopen="dlopen"
   11332     lt_cv_dlopen_libs=
   11333     ;;
   11334 
   11335   darwin*)
   11336   # if libdl is installed we need to link against it
   11337     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11338 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   11340   $as_echo_n "(cached) " >&6
   11341 else
   11342   ac_check_lib_save_LIBS=$LIBS
   11343 LIBS="-ldl  $LIBS"
   11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11345 /* end confdefs.h.  */
   11346 
   11347 /* Override any GCC internal prototype to avoid an error.
   11348    Use char because int might match the return type of a GCC
   11349    builtin and then its argument prototype would still apply.  */
   11350 #ifdef __cplusplus
   11351 extern "C"
   11352 #endif
   11353 char dlopen ();
   11354 int
   11355 main ()
   11356 {
   11357 return dlopen ();
   11358   ;
   11359   return 0;
   11360 }
   11361 _ACEOF
   11362 if ac_fn_c_try_link "$LINENO"; then :
   11363   ac_cv_lib_dl_dlopen=yes
   11364 else
   11365   ac_cv_lib_dl_dlopen=no
   11366 fi
   11367 rm -f core conftest.err conftest.$ac_objext \
   11368     conftest$ac_exeext conftest.$ac_ext
   11369 LIBS=$ac_check_lib_save_LIBS
   11370 fi
   11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11373 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   11374   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11375 else
   11376 
   11377     lt_cv_dlopen="dyld"
   11378     lt_cv_dlopen_libs=
   11379     lt_cv_dlopen_self=yes
   11380 
   11381 fi
   11382 
   11383     ;;
   11384 
   11385   *)
   11386     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11387 if test "x$ac_cv_func_shl_load" = x""yes; then :
   11388   lt_cv_dlopen="shl_load"
   11389 else
   11390   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11391 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11392 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   11393   $as_echo_n "(cached) " >&6
   11394 else
   11395   ac_check_lib_save_LIBS=$LIBS
   11396 LIBS="-ldld  $LIBS"
   11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11398 /* end confdefs.h.  */
   11399 
   11400 /* Override any GCC internal prototype to avoid an error.
   11401    Use char because int might match the return type of a GCC
   11402    builtin and then its argument prototype would still apply.  */
   11403 #ifdef __cplusplus
   11404 extern "C"
   11405 #endif
   11406 char shl_load ();
   11407 int
   11408 main ()
   11409 {
   11410 return shl_load ();
   11411   ;
   11412   return 0;
   11413 }
   11414 _ACEOF
   11415 if ac_fn_c_try_link "$LINENO"; then :
   11416   ac_cv_lib_dld_shl_load=yes
   11417 else
   11418   ac_cv_lib_dld_shl_load=no
   11419 fi
   11420 rm -f core conftest.err conftest.$ac_objext \
   11421     conftest$ac_exeext conftest.$ac_ext
   11422 LIBS=$ac_check_lib_save_LIBS
   11423 fi
   11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11425 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11426 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   11427   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11428 else
   11429   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11430 if test "x$ac_cv_func_dlopen" = x""yes; then :
   11431   lt_cv_dlopen="dlopen"
   11432 else
   11433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11434 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11435 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   11436   $as_echo_n "(cached) " >&6
   11437 else
   11438   ac_check_lib_save_LIBS=$LIBS
   11439 LIBS="-ldl  $LIBS"
   11440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11441 /* end confdefs.h.  */
   11442 
   11443 /* Override any GCC internal prototype to avoid an error.
   11444    Use char because int might match the return type of a GCC
   11445    builtin and then its argument prototype would still apply.  */
   11446 #ifdef __cplusplus
   11447 extern "C"
   11448 #endif
   11449 char dlopen ();
   11450 int
   11451 main ()
   11452 {
   11453 return dlopen ();
   11454   ;
   11455   return 0;
   11456 }
   11457 _ACEOF
   11458 if ac_fn_c_try_link "$LINENO"; then :
   11459   ac_cv_lib_dl_dlopen=yes
   11460 else
   11461   ac_cv_lib_dl_dlopen=no
   11462 fi
   11463 rm -f core conftest.err conftest.$ac_objext \
   11464     conftest$ac_exeext conftest.$ac_ext
   11465 LIBS=$ac_check_lib_save_LIBS
   11466 fi
   11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11468 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11469 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   11470   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11471 else
   11472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11473 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11474 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   11475   $as_echo_n "(cached) " >&6
   11476 else
   11477   ac_check_lib_save_LIBS=$LIBS
   11478 LIBS="-lsvld  $LIBS"
   11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11480 /* end confdefs.h.  */
   11481 
   11482 /* Override any GCC internal prototype to avoid an error.
   11483    Use char because int might match the return type of a GCC
   11484    builtin and then its argument prototype would still apply.  */
   11485 #ifdef __cplusplus
   11486 extern "C"
   11487 #endif
   11488 char dlopen ();
   11489 int
   11490 main ()
   11491 {
   11492 return dlopen ();
   11493   ;
   11494   return 0;
   11495 }
   11496 _ACEOF
   11497 if ac_fn_c_try_link "$LINENO"; then :
   11498   ac_cv_lib_svld_dlopen=yes
   11499 else
   11500   ac_cv_lib_svld_dlopen=no
   11501 fi
   11502 rm -f core conftest.err conftest.$ac_objext \
   11503     conftest$ac_exeext conftest.$ac_ext
   11504 LIBS=$ac_check_lib_save_LIBS
   11505 fi
   11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11507 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11508 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   11509   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11510 else
   11511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11512 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11513 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   11514   $as_echo_n "(cached) " >&6
   11515 else
   11516   ac_check_lib_save_LIBS=$LIBS
   11517 LIBS="-ldld  $LIBS"
   11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11519 /* end confdefs.h.  */
   11520 
   11521 /* Override any GCC internal prototype to avoid an error.
   11522    Use char because int might match the return type of a GCC
   11523    builtin and then its argument prototype would still apply.  */
   11524 #ifdef __cplusplus
   11525 extern "C"
   11526 #endif
   11527 char dld_link ();
   11528 int
   11529 main ()
   11530 {
   11531 return dld_link ();
   11532   ;
   11533   return 0;
   11534 }
   11535 _ACEOF
   11536 if ac_fn_c_try_link "$LINENO"; then :
   11537   ac_cv_lib_dld_dld_link=yes
   11538 else
   11539   ac_cv_lib_dld_dld_link=no
   11540 fi
   11541 rm -f core conftest.err conftest.$ac_objext \
   11542     conftest$ac_exeext conftest.$ac_ext
   11543 LIBS=$ac_check_lib_save_LIBS
   11544 fi
   11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   11548   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11549 fi
   11550 
   11551 
   11552 fi
   11553 
   11554 
   11555 fi
   11556 
   11557 
   11558 fi
   11559 
   11560 
   11561 fi
   11562 
   11563 
   11564 fi
   11565 
   11566     ;;
   11567   esac
   11568 
   11569   if test "x$lt_cv_dlopen" != xno; then
   11570     enable_dlopen=yes
   11571   else
   11572     enable_dlopen=no
   11573   fi
   11574 
   11575   case $lt_cv_dlopen in
   11576   dlopen)
   11577     save_CPPFLAGS="$CPPFLAGS"
   11578     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11579 
   11580     save_LDFLAGS="$LDFLAGS"
   11581     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11582 
   11583     save_LIBS="$LIBS"
   11584     LIBS="$lt_cv_dlopen_libs $LIBS"
   11585 
   11586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11588 if test "${lt_cv_dlopen_self+set}" = set; then :
   11589   $as_echo_n "(cached) " >&6
   11590 else
   11591   	  if test "$cross_compiling" = yes; then :
   11592   lt_cv_dlopen_self=cross
   11593 else
   11594   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11595   lt_status=$lt_dlunknown
   11596   cat > conftest.$ac_ext <<_LT_EOF
   11597 #line 11597 "configure"
   11598 #include "confdefs.h"
   11599 
   11600 #if HAVE_DLFCN_H
   11601 #include <dlfcn.h>
   11602 #endif
   11603 
   11604 #include <stdio.h>
   11605 
   11606 #ifdef RTLD_GLOBAL
   11607 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11608 #else
   11609 #  ifdef DL_GLOBAL
   11610 #    define LT_DLGLOBAL		DL_GLOBAL
   11611 #  else
   11612 #    define LT_DLGLOBAL		0
   11613 #  endif
   11614 #endif
   11615 
   11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11617    find out it does not work in some platform. */
   11618 #ifndef LT_DLLAZY_OR_NOW
   11619 #  ifdef RTLD_LAZY
   11620 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11621 #  else
   11622 #    ifdef DL_LAZY
   11623 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11624 #    else
   11625 #      ifdef RTLD_NOW
   11626 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11627 #      else
   11628 #        ifdef DL_NOW
   11629 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11630 #        else
   11631 #          define LT_DLLAZY_OR_NOW	0
   11632 #        endif
   11633 #      endif
   11634 #    endif
   11635 #  endif
   11636 #endif
   11637 
   11638 void fnord() { int i=42;}
   11639 int main ()
   11640 {
   11641   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11642   int status = $lt_dlunknown;
   11643 
   11644   if (self)
   11645     {
   11646       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11647       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11648       /* dlclose (self); */
   11649     }
   11650   else
   11651     puts (dlerror ());
   11652 
   11653   return status;
   11654 }
   11655 _LT_EOF
   11656   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11657   (eval $ac_link) 2>&5
   11658   ac_status=$?
   11659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11660   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11661     (./conftest; exit; ) >&5 2>/dev/null
   11662     lt_status=$?
   11663     case x$lt_status in
   11664       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11665       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11666       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11667     esac
   11668   else :
   11669     # compilation failed
   11670     lt_cv_dlopen_self=no
   11671   fi
   11672 fi
   11673 rm -fr conftest*
   11674 
   11675 
   11676 fi
   11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11678 $as_echo "$lt_cv_dlopen_self" >&6; }
   11679 
   11680     if test "x$lt_cv_dlopen_self" = xyes; then
   11681       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11682       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11683 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11684 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   11685   $as_echo_n "(cached) " >&6
   11686 else
   11687   	  if test "$cross_compiling" = yes; then :
   11688   lt_cv_dlopen_self_static=cross
   11689 else
   11690   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11691   lt_status=$lt_dlunknown
   11692   cat > conftest.$ac_ext <<_LT_EOF
   11693 #line 11693 "configure"
   11694 #include "confdefs.h"
   11695 
   11696 #if HAVE_DLFCN_H
   11697 #include <dlfcn.h>
   11698 #endif
   11699 
   11700 #include <stdio.h>
   11701 
   11702 #ifdef RTLD_GLOBAL
   11703 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11704 #else
   11705 #  ifdef DL_GLOBAL
   11706 #    define LT_DLGLOBAL		DL_GLOBAL
   11707 #  else
   11708 #    define LT_DLGLOBAL		0
   11709 #  endif
   11710 #endif
   11711 
   11712 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11713    find out it does not work in some platform. */
   11714 #ifndef LT_DLLAZY_OR_NOW
   11715 #  ifdef RTLD_LAZY
   11716 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11717 #  else
   11718 #    ifdef DL_LAZY
   11719 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11720 #    else
   11721 #      ifdef RTLD_NOW
   11722 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11723 #      else
   11724 #        ifdef DL_NOW
   11725 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11726 #        else
   11727 #          define LT_DLLAZY_OR_NOW	0
   11728 #        endif
   11729 #      endif
   11730 #    endif
   11731 #  endif
   11732 #endif
   11733 
   11734 void fnord() { int i=42;}
   11735 int main ()
   11736 {
   11737   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11738   int status = $lt_dlunknown;
   11739 
   11740   if (self)
   11741     {
   11742       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11743       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   11744       /* dlclose (self); */
   11745     }
   11746   else
   11747     puts (dlerror ());
   11748 
   11749   return status;
   11750 }
   11751 _LT_EOF
   11752   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11753   (eval $ac_link) 2>&5
   11754   ac_status=$?
   11755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11756   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11757     (./conftest; exit; ) >&5 2>/dev/null
   11758     lt_status=$?
   11759     case x$lt_status in
   11760       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11761       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11762       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11763     esac
   11764   else :
   11765     # compilation failed
   11766     lt_cv_dlopen_self_static=no
   11767   fi
   11768 fi
   11769 rm -fr conftest*
   11770 
   11771 
   11772 fi
   11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11774 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11775     fi
   11776 
   11777     CPPFLAGS="$save_CPPFLAGS"
   11778     LDFLAGS="$save_LDFLAGS"
   11779     LIBS="$save_LIBS"
   11780     ;;
   11781   esac
   11782 
   11783   case $lt_cv_dlopen_self in
   11784   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11785   *) enable_dlopen_self=unknown ;;
   11786   esac
   11787 
   11788   case $lt_cv_dlopen_self_static in
   11789   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11790   *) enable_dlopen_self_static=unknown ;;
   11791   esac
   11792 fi
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 striplib=
   11811 old_striplib=
   11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11813 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11814 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11815   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11816   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11818 $as_echo "yes" >&6; }
   11819 else
   11820 # FIXME - insert some real tests, host_os isn't really good enough
   11821   case $host_os in
   11822   darwin*)
   11823     if test -n "$STRIP" ; then
   11824       striplib="$STRIP -x"
   11825       old_striplib="$STRIP -S"
   11826       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11827 $as_echo "yes" >&6; }
   11828     else
   11829       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11830 $as_echo "no" >&6; }
   11831     fi
   11832     ;;
   11833   *)
   11834     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11835 $as_echo "no" >&6; }
   11836     ;;
   11837   esac
   11838 fi
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851   # Report which library types will actually be built
   11852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11853 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11855 $as_echo "$can_build_shared" >&6; }
   11856 
   11857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11858 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11859   test "$can_build_shared" = "no" && enable_shared=no
   11860 
   11861   # On AIX, shared libraries and static libraries use the same namespace, and
   11862   # are all built from PIC.
   11863   case $host_os in
   11864   aix3*)
   11865     test "$enable_shared" = yes && enable_static=no
   11866     if test -n "$RANLIB"; then
   11867       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11868       postinstall_cmds='$RANLIB $lib'
   11869     fi
   11870     ;;
   11871 
   11872   aix[4-9]*)
   11