Home | History | Annotate | Download | only in gtest
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for Google C++ Testing Framework 1.4.0.
      4 #
      5 # Report bugs to <googletestframework (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, 2010 Free Software
     10 # Foundation, 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 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: googletestframework (at] googlegroups.com about your system,
    251 $0: including any error possibly output before this
    252 $0: message. Then install a modern shell, or manually run
    253 $0: the script under such a shell if you do have one."
    254   fi
    255   exit 1
    256 fi
    257 fi
    258 fi
    259 SHELL=${CONFIG_SHELL-/bin/sh}
    260 export SHELL
    261 # Unset more variables known to interfere with behavior of common tools.
    262 CLICOLOR_FORCE= GREP_OPTIONS=
    263 unset CLICOLOR_FORCE GREP_OPTIONS
    264 
    265 ## --------------------- ##
    266 ## M4sh Shell Functions. ##
    267 ## --------------------- ##
    268 # as_fn_unset VAR
    269 # ---------------
    270 # Portably unset VAR.
    271 as_fn_unset ()
    272 {
    273   { eval $1=; unset $1;}
    274 }
    275 as_unset=as_fn_unset
    276 
    277 # as_fn_set_status STATUS
    278 # -----------------------
    279 # Set $? to STATUS, without forking.
    280 as_fn_set_status ()
    281 {
    282   return $1
    283 } # as_fn_set_status
    284 
    285 # as_fn_exit STATUS
    286 # -----------------
    287 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    288 as_fn_exit ()
    289 {
    290   set +e
    291   as_fn_set_status $1
    292   exit $1
    293 } # as_fn_exit
    294 
    295 # as_fn_mkdir_p
    296 # -------------
    297 # Create "$as_dir" as a directory, including parents if necessary.
    298 as_fn_mkdir_p ()
    299 {
    300 
    301   case $as_dir in #(
    302   -*) as_dir=./$as_dir;;
    303   esac
    304   test -d "$as_dir" || eval $as_mkdir_p || {
    305     as_dirs=
    306     while :; do
    307       case $as_dir in #(
    308       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    309       *) as_qdir=$as_dir;;
    310       esac
    311       as_dirs="'$as_qdir' $as_dirs"
    312       as_dir=`$as_dirname -- "$as_dir" ||
    313 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    314 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    315 	 X"$as_dir" : 'X\(//\)$' \| \
    316 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    317 $as_echo X"$as_dir" |
    318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    319 	    s//\1/
    320 	    q
    321 	  }
    322 	  /^X\(\/\/\)[^/].*/{
    323 	    s//\1/
    324 	    q
    325 	  }
    326 	  /^X\(\/\/\)$/{
    327 	    s//\1/
    328 	    q
    329 	  }
    330 	  /^X\(\/\).*/{
    331 	    s//\1/
    332 	    q
    333 	  }
    334 	  s/.*/./; q'`
    335       test -d "$as_dir" && break
    336     done
    337     test -z "$as_dirs" || eval "mkdir $as_dirs"
    338   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    339 
    340 
    341 } # as_fn_mkdir_p
    342 # as_fn_append VAR VALUE
    343 # ----------------------
    344 # Append the text in VALUE to the end of the definition contained in VAR. Take
    345 # advantage of any shell optimizations that allow amortized linear growth over
    346 # repeated appends, instead of the typical quadratic growth present in naive
    347 # implementations.
    348 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    349   eval 'as_fn_append ()
    350   {
    351     eval $1+=\$2
    352   }'
    353 else
    354   as_fn_append ()
    355   {
    356     eval $1=\$$1\$2
    357   }
    358 fi # as_fn_append
    359 
    360 # as_fn_arith ARG...
    361 # ------------------
    362 # Perform arithmetic evaluation on the ARGs, and store the result in the
    363 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    364 # must be portable across $(()) and expr.
    365 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    366   eval 'as_fn_arith ()
    367   {
    368     as_val=$(( $* ))
    369   }'
    370 else
    371   as_fn_arith ()
    372   {
    373     as_val=`expr "$@" || test $? -eq 1`
    374   }
    375 fi # as_fn_arith
    376 
    377 
    378 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    379 # ----------------------------------------
    380 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    381 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    382 # script with STATUS, using 1 if that was 0.
    383 as_fn_error ()
    384 {
    385   as_status=$1; test $as_status -eq 0 && as_status=1
    386   if test "$4"; then
    387     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    388     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    389   fi
    390   $as_echo "$as_me: error: $2" >&2
    391   as_fn_exit $as_status
    392 } # as_fn_error
    393 
    394 if expr a : '\(a\)' >/dev/null 2>&1 &&
    395    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    396   as_expr=expr
    397 else
    398   as_expr=false
    399 fi
    400 
    401 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    402   as_basename=basename
    403 else
    404   as_basename=false
    405 fi
    406 
    407 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    408   as_dirname=dirname
    409 else
    410   as_dirname=false
    411 fi
    412 
    413 as_me=`$as_basename -- "$0" ||
    414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    415 	 X"$0" : 'X\(//\)$' \| \
    416 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    417 $as_echo X/"$0" |
    418     sed '/^.*\/\([^/][^/]*\)\/*$/{
    419 	    s//\1/
    420 	    q
    421 	  }
    422 	  /^X\/\(\/\/\)$/{
    423 	    s//\1/
    424 	    q
    425 	  }
    426 	  /^X\/\(\/\).*/{
    427 	    s//\1/
    428 	    q
    429 	  }
    430 	  s/.*/./; q'`
    431 
    432 # Avoid depending upon Character Ranges.
    433 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    434 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    435 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    436 as_cr_digits='0123456789'
    437 as_cr_alnum=$as_cr_Letters$as_cr_digits
    438 
    439 
    440   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    441   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    442   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    443   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    444   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    445   sed -n '
    446     p
    447     /[$]LINENO/=
    448   ' <$as_myself |
    449     sed '
    450       s/[$]LINENO.*/&-/
    451       t lineno
    452       b
    453       :lineno
    454       N
    455       :loop
    456       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    457       t loop
    458       s/-\n.*//
    459     ' >$as_me.lineno &&
    460   chmod +x "$as_me.lineno" ||
    461     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    462 
    463   # Don't try to exec as it changes $[0], causing all sort of problems
    464   # (the dirname of $[0] is not the place where we might find the
    465   # original and so on.  Autoconf is especially sensitive to this).
    466   . "./$as_me.lineno"
    467   # Exit status is that of the last command.
    468   exit
    469 }
    470 
    471 ECHO_C= ECHO_N= ECHO_T=
    472 case `echo -n x` in #(((((
    473 -n*)
    474   case `echo 'xy\c'` in
    475   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    476   xy)  ECHO_C='\c';;
    477   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    478        ECHO_T='	';;
    479   esac;;
    480 *)
    481   ECHO_N='-n';;
    482 esac
    483 
    484 rm -f conf$$ conf$$.exe conf$$.file
    485 if test -d conf$$.dir; then
    486   rm -f conf$$.dir/conf$$.file
    487 else
    488   rm -f conf$$.dir
    489   mkdir conf$$.dir 2>/dev/null
    490 fi
    491 if (echo >conf$$.file) 2>/dev/null; then
    492   if ln -s conf$$.file conf$$ 2>/dev/null; then
    493     as_ln_s='ln -s'
    494     # ... but there are two gotchas:
    495     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    496     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    497     # In both cases, we have to default to `cp -p'.
    498     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    499       as_ln_s='cp -p'
    500   elif ln conf$$.file conf$$ 2>/dev/null; then
    501     as_ln_s=ln
    502   else
    503     as_ln_s='cp -p'
    504   fi
    505 else
    506   as_ln_s='cp -p'
    507 fi
    508 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    509 rmdir conf$$.dir 2>/dev/null
    510 
    511 if mkdir -p . 2>/dev/null; then
    512   as_mkdir_p='mkdir -p "$as_dir"'
    513 else
    514   test -d ./-p && rmdir ./-p
    515   as_mkdir_p=false
    516 fi
    517 
    518 if test -x / >/dev/null 2>&1; then
    519   as_test_x='test -x'
    520 else
    521   if ls -dL / >/dev/null 2>&1; then
    522     as_ls_L_option=L
    523   else
    524     as_ls_L_option=
    525   fi
    526   as_test_x='
    527     eval sh -c '\''
    528       if test -d "$1"; then
    529 	test -d "$1/.";
    530       else
    531 	case $1 in #(
    532 	-*)set "./$1";;
    533 	esac;
    534 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    535 	???[sx]*):;;*)false;;esac;fi
    536     '\'' sh
    537   '
    538 fi
    539 as_executable_p=$as_test_x
    540 
    541 # Sed expression to map a string onto a valid CPP name.
    542 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    543 
    544 # Sed expression to map a string onto a valid variable name.
    545 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    546 
    547 SHELL=${CONFIG_SHELL-/bin/sh}
    548 
    549 
    550 test -n "$DJDIR" || exec 7<&0 </dev/null
    551 exec 6>&1
    552 
    553 # Name of the host.
    554 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    555 # so uname gets run too.
    556 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    557 
    558 #
    559 # Initializations.
    560 #
    561 ac_default_prefix=/usr/local
    562 ac_clean_files=
    563 ac_config_libobj_dir=.
    564 LIBOBJS=
    565 cross_compiling=no
    566 subdirs=
    567 MFLAGS=
    568 MAKEFLAGS=
    569 
    570 # Identity of this package.
    571 PACKAGE_NAME='Google C++ Testing Framework'
    572 PACKAGE_TARNAME='gtest'
    573 PACKAGE_VERSION='1.4.0'
    574 PACKAGE_STRING='Google C++ Testing Framework 1.4.0'
    575 PACKAGE_BUGREPORT='googletestframework@googlegroups.com'
    576 PACKAGE_URL=''
    577 
    578 ac_unique_file="./COPYING"
    579 # Factoring default headers for most tests.
    580 ac_includes_default="\
    581 #include <stdio.h>
    582 #ifdef HAVE_SYS_TYPES_H
    583 # include <sys/types.h>
    584 #endif
    585 #ifdef HAVE_SYS_STAT_H
    586 # include <sys/stat.h>
    587 #endif
    588 #ifdef STDC_HEADERS
    589 # include <stdlib.h>
    590 # include <stddef.h>
    591 #else
    592 # ifdef HAVE_STDLIB_H
    593 #  include <stdlib.h>
    594 # endif
    595 #endif
    596 #ifdef HAVE_STRING_H
    597 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    598 #  include <memory.h>
    599 # endif
    600 # include <string.h>
    601 #endif
    602 #ifdef HAVE_STRINGS_H
    603 # include <strings.h>
    604 #endif
    605 #ifdef HAVE_INTTYPES_H
    606 # include <inttypes.h>
    607 #endif
    608 #ifdef HAVE_STDINT_H
    609 # include <stdint.h>
    610 #endif
    611 #ifdef HAVE_UNISTD_H
    612 # include <unistd.h>
    613 #endif"
    614 
    615 ac_subst_vars='am__EXEEXT_FALSE
    616 am__EXEEXT_TRUE
    617 LTLIBOBJS
    618 LIBOBJS
    619 PTHREAD_CFLAGS
    620 PTHREAD_LIBS
    621 PTHREAD_CC
    622 acx_pthread_config
    623 HAVE_PYTHON_FALSE
    624 HAVE_PYTHON_TRUE
    625 PYTHON
    626 CXXCPP
    627 CPP
    628 OTOOL64
    629 OTOOL
    630 LIPO
    631 NMEDIT
    632 DSYMUTIL
    633 MANIFEST_TOOL
    634 RANLIB
    635 ac_ct_AR
    636 AR
    637 DLLTOOL
    638 OBJDUMP
    639 LN_S
    640 NM
    641 ac_ct_DUMPBIN
    642 DUMPBIN
    643 LD
    644 FGREP
    645 EGREP
    646 GREP
    647 SED
    648 host_os
    649 host_vendor
    650 host_cpu
    651 host
    652 build_os
    653 build_vendor
    654 build_cpu
    655 build
    656 LIBTOOL
    657 am__fastdepCXX_FALSE
    658 am__fastdepCXX_TRUE
    659 CXXDEPMODE
    660 ac_ct_CXX
    661 CXXFLAGS
    662 CXX
    663 am__fastdepCC_FALSE
    664 am__fastdepCC_TRUE
    665 CCDEPMODE
    666 am__nodep
    667 AMDEPBACKSLASH
    668 AMDEP_FALSE
    669 AMDEP_TRUE
    670 am__quote
    671 am__include
    672 DEPDIR
    673 OBJEXT
    674 EXEEXT
    675 ac_ct_CC
    676 CPPFLAGS
    677 LDFLAGS
    678 CFLAGS
    679 CC
    680 am__untar
    681 am__tar
    682 AMTAR
    683 am__leading_dot
    684 SET_MAKE
    685 AWK
    686 mkdir_p
    687 MKDIR_P
    688 INSTALL_STRIP_PROGRAM
    689 STRIP
    690 install_sh
    691 MAKEINFO
    692 AUTOHEADER
    693 AUTOMAKE
    694 AUTOCONF
    695 ACLOCAL
    696 VERSION
    697 PACKAGE
    698 CYGPATH_W
    699 am__isrc
    700 INSTALL_DATA
    701 INSTALL_SCRIPT
    702 INSTALL_PROGRAM
    703 target_alias
    704 host_alias
    705 build_alias
    706 LIBS
    707 ECHO_T
    708 ECHO_N
    709 ECHO_C
    710 DEFS
    711 mandir
    712 localedir
    713 libdir
    714 psdir
    715 pdfdir
    716 dvidir
    717 htmldir
    718 infodir
    719 docdir
    720 oldincludedir
    721 includedir
    722 localstatedir
    723 sharedstatedir
    724 sysconfdir
    725 datadir
    726 datarootdir
    727 libexecdir
    728 sbindir
    729 bindir
    730 program_transform_name
    731 prefix
    732 exec_prefix
    733 PACKAGE_URL
    734 PACKAGE_BUGREPORT
    735 PACKAGE_STRING
    736 PACKAGE_VERSION
    737 PACKAGE_TARNAME
    738 PACKAGE_NAME
    739 PATH_SEPARATOR
    740 SHELL'
    741 ac_subst_files=''
    742 ac_user_opts='
    743 enable_option_checking
    744 enable_dependency_tracking
    745 enable_shared
    746 enable_static
    747 with_pic
    748 enable_fast_install
    749 with_gnu_ld
    750 with_sysroot
    751 enable_libtool_lock
    752 '
    753       ac_precious_vars='build_alias
    754 host_alias
    755 target_alias
    756 CC
    757 CFLAGS
    758 LDFLAGS
    759 LIBS
    760 CPPFLAGS
    761 CXX
    762 CXXFLAGS
    763 CCC
    764 CPP
    765 CXXCPP'
    766 
    767 
    768 # Initialize some variables set by options.
    769 ac_init_help=
    770 ac_init_version=false
    771 ac_unrecognized_opts=
    772 ac_unrecognized_sep=
    773 # The variables have the same names as the options, with
    774 # dashes changed to underlines.
    775 cache_file=/dev/null
    776 exec_prefix=NONE
    777 no_create=
    778 no_recursion=
    779 prefix=NONE
    780 program_prefix=NONE
    781 program_suffix=NONE
    782 program_transform_name=s,x,x,
    783 silent=
    784 site=
    785 srcdir=
    786 verbose=
    787 x_includes=NONE
    788 x_libraries=NONE
    789 
    790 # Installation directory options.
    791 # These are left unexpanded so users can "make install exec_prefix=/foo"
    792 # and all the variables that are supposed to be based on exec_prefix
    793 # by default will actually change.
    794 # Use braces instead of parens because sh, perl, etc. also accept them.
    795 # (The list follows the same order as the GNU Coding Standards.)
    796 bindir='${exec_prefix}/bin'
    797 sbindir='${exec_prefix}/sbin'
    798 libexecdir='${exec_prefix}/libexec'
    799 datarootdir='${prefix}/share'
    800 datadir='${datarootdir}'
    801 sysconfdir='${prefix}/etc'
    802 sharedstatedir='${prefix}/com'
    803 localstatedir='${prefix}/var'
    804 includedir='${prefix}/include'
    805 oldincludedir='/usr/include'
    806 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    807 infodir='${datarootdir}/info'
    808 htmldir='${docdir}'
    809 dvidir='${docdir}'
    810 pdfdir='${docdir}'
    811 psdir='${docdir}'
    812 libdir='${exec_prefix}/lib'
    813 localedir='${datarootdir}/locale'
    814 mandir='${datarootdir}/man'
    815 
    816 ac_prev=
    817 ac_dashdash=
    818 for ac_option
    819 do
    820   # If the previous option needs an argument, assign it.
    821   if test -n "$ac_prev"; then
    822     eval $ac_prev=\$ac_option
    823     ac_prev=
    824     continue
    825   fi
    826 
    827   case $ac_option in
    828   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    829   *=)   ac_optarg= ;;
    830   *)    ac_optarg=yes ;;
    831   esac
    832 
    833   # Accept the important Cygnus configure options, so we can diagnose typos.
    834 
    835   case $ac_dashdash$ac_option in
    836   --)
    837     ac_dashdash=yes ;;
    838 
    839   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    840     ac_prev=bindir ;;
    841   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    842     bindir=$ac_optarg ;;
    843 
    844   -build | --build | --buil | --bui | --bu)
    845     ac_prev=build_alias ;;
    846   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    847     build_alias=$ac_optarg ;;
    848 
    849   -cache-file | --cache-file | --cache-fil | --cache-fi \
    850   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    851     ac_prev=cache_file ;;
    852   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    853   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    854     cache_file=$ac_optarg ;;
    855 
    856   --config-cache | -C)
    857     cache_file=config.cache ;;
    858 
    859   -datadir | --datadir | --datadi | --datad)
    860     ac_prev=datadir ;;
    861   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    862     datadir=$ac_optarg ;;
    863 
    864   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    865   | --dataroo | --dataro | --datar)
    866     ac_prev=datarootdir ;;
    867   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    868   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    869     datarootdir=$ac_optarg ;;
    870 
    871   -disable-* | --disable-*)
    872     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    873     # Reject names that are not valid shell variable names.
    874     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    875       as_fn_error $? "invalid feature name: $ac_useropt"
    876     ac_useropt_orig=$ac_useropt
    877     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    878     case $ac_user_opts in
    879       *"
    880 "enable_$ac_useropt"
    881 "*) ;;
    882       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    883 	 ac_unrecognized_sep=', ';;
    884     esac
    885     eval enable_$ac_useropt=no ;;
    886 
    887   -docdir | --docdir | --docdi | --doc | --do)
    888     ac_prev=docdir ;;
    889   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    890     docdir=$ac_optarg ;;
    891 
    892   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    893     ac_prev=dvidir ;;
    894   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    895     dvidir=$ac_optarg ;;
    896 
    897   -enable-* | --enable-*)
    898     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    899     # Reject names that are not valid shell variable names.
    900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    901       as_fn_error $? "invalid feature name: $ac_useropt"
    902     ac_useropt_orig=$ac_useropt
    903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    904     case $ac_user_opts in
    905       *"
    906 "enable_$ac_useropt"
    907 "*) ;;
    908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    909 	 ac_unrecognized_sep=', ';;
    910     esac
    911     eval enable_$ac_useropt=\$ac_optarg ;;
    912 
    913   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    914   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    915   | --exec | --exe | --ex)
    916     ac_prev=exec_prefix ;;
    917   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    918   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    919   | --exec=* | --exe=* | --ex=*)
    920     exec_prefix=$ac_optarg ;;
    921 
    922   -gas | --gas | --ga | --g)
    923     # Obsolete; use --with-gas.
    924     with_gas=yes ;;
    925 
    926   -help | --help | --hel | --he | -h)
    927     ac_init_help=long ;;
    928   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    929     ac_init_help=recursive ;;
    930   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    931     ac_init_help=short ;;
    932 
    933   -host | --host | --hos | --ho)
    934     ac_prev=host_alias ;;
    935   -host=* | --host=* | --hos=* | --ho=*)
    936     host_alias=$ac_optarg ;;
    937 
    938   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    939     ac_prev=htmldir ;;
    940   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    941   | --ht=*)
    942     htmldir=$ac_optarg ;;
    943 
    944   -includedir | --includedir | --includedi | --included | --include \
    945   | --includ | --inclu | --incl | --inc)
    946     ac_prev=includedir ;;
    947   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    948   | --includ=* | --inclu=* | --incl=* | --inc=*)
    949     includedir=$ac_optarg ;;
    950 
    951   -infodir | --infodir | --infodi | --infod | --info | --inf)
    952     ac_prev=infodir ;;
    953   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    954     infodir=$ac_optarg ;;
    955 
    956   -libdir | --libdir | --libdi | --libd)
    957     ac_prev=libdir ;;
    958   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    959     libdir=$ac_optarg ;;
    960 
    961   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    962   | --libexe | --libex | --libe)
    963     ac_prev=libexecdir ;;
    964   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    965   | --libexe=* | --libex=* | --libe=*)
    966     libexecdir=$ac_optarg ;;
    967 
    968   -localedir | --localedir | --localedi | --localed | --locale)
    969     ac_prev=localedir ;;
    970   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    971     localedir=$ac_optarg ;;
    972 
    973   -localstatedir | --localstatedir | --localstatedi | --localstated \
    974   | --localstate | --localstat | --localsta | --localst | --locals)
    975     ac_prev=localstatedir ;;
    976   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    977   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    978     localstatedir=$ac_optarg ;;
    979 
    980   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    981     ac_prev=mandir ;;
    982   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    983     mandir=$ac_optarg ;;
    984 
    985   -nfp | --nfp | --nf)
    986     # Obsolete; use --without-fp.
    987     with_fp=no ;;
    988 
    989   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    990   | --no-cr | --no-c | -n)
    991     no_create=yes ;;
    992 
    993   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    994   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    995     no_recursion=yes ;;
    996 
    997   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    998   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    999   | --oldin | --oldi | --old | --ol | --o)
   1000     ac_prev=oldincludedir ;;
   1001   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1002   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1003   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1004     oldincludedir=$ac_optarg ;;
   1005 
   1006   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1007     ac_prev=prefix ;;
   1008   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1009     prefix=$ac_optarg ;;
   1010 
   1011   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1012   | --program-pre | --program-pr | --program-p)
   1013     ac_prev=program_prefix ;;
   1014   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1015   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1016     program_prefix=$ac_optarg ;;
   1017 
   1018   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1019   | --program-suf | --program-su | --program-s)
   1020     ac_prev=program_suffix ;;
   1021   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1022   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1023     program_suffix=$ac_optarg ;;
   1024 
   1025   -program-transform-name | --program-transform-name \
   1026   | --program-transform-nam | --program-transform-na \
   1027   | --program-transform-n | --program-transform- \
   1028   | --program-transform | --program-transfor \
   1029   | --program-transfo | --program-transf \
   1030   | --program-trans | --program-tran \
   1031   | --progr-tra | --program-tr | --program-t)
   1032     ac_prev=program_transform_name ;;
   1033   -program-transform-name=* | --program-transform-name=* \
   1034   | --program-transform-nam=* | --program-transform-na=* \
   1035   | --program-transform-n=* | --program-transform-=* \
   1036   | --program-transform=* | --program-transfor=* \
   1037   | --program-transfo=* | --program-transf=* \
   1038   | --program-trans=* | --program-tran=* \
   1039   | --progr-tra=* | --program-tr=* | --program-t=*)
   1040     program_transform_name=$ac_optarg ;;
   1041 
   1042   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1043     ac_prev=pdfdir ;;
   1044   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1045     pdfdir=$ac_optarg ;;
   1046 
   1047   -psdir | --psdir | --psdi | --psd | --ps)
   1048     ac_prev=psdir ;;
   1049   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1050     psdir=$ac_optarg ;;
   1051 
   1052   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1053   | -silent | --silent | --silen | --sile | --sil)
   1054     silent=yes ;;
   1055 
   1056   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1057     ac_prev=sbindir ;;
   1058   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1059   | --sbi=* | --sb=*)
   1060     sbindir=$ac_optarg ;;
   1061 
   1062   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1063   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1064   | --sharedst | --shareds | --shared | --share | --shar \
   1065   | --sha | --sh)
   1066     ac_prev=sharedstatedir ;;
   1067   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1068   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1069   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1070   | --sha=* | --sh=*)
   1071     sharedstatedir=$ac_optarg ;;
   1072 
   1073   -site | --site | --sit)
   1074     ac_prev=site ;;
   1075   -site=* | --site=* | --sit=*)
   1076     site=$ac_optarg ;;
   1077 
   1078   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1079     ac_prev=srcdir ;;
   1080   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1081     srcdir=$ac_optarg ;;
   1082 
   1083   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1084   | --syscon | --sysco | --sysc | --sys | --sy)
   1085     ac_prev=sysconfdir ;;
   1086   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1087   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1088     sysconfdir=$ac_optarg ;;
   1089 
   1090   -target | --target | --targe | --targ | --tar | --ta | --t)
   1091     ac_prev=target_alias ;;
   1092   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1093     target_alias=$ac_optarg ;;
   1094 
   1095   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1096     verbose=yes ;;
   1097 
   1098   -version | --version | --versio | --versi | --vers | -V)
   1099     ac_init_version=: ;;
   1100 
   1101   -with-* | --with-*)
   1102     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1103     # Reject names that are not valid shell variable names.
   1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1105       as_fn_error $? "invalid package name: $ac_useropt"
   1106     ac_useropt_orig=$ac_useropt
   1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1108     case $ac_user_opts in
   1109       *"
   1110 "with_$ac_useropt"
   1111 "*) ;;
   1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1113 	 ac_unrecognized_sep=', ';;
   1114     esac
   1115     eval with_$ac_useropt=\$ac_optarg ;;
   1116 
   1117   -without-* | --without-*)
   1118     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1119     # Reject names that are not valid shell variable names.
   1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1121       as_fn_error $? "invalid package name: $ac_useropt"
   1122     ac_useropt_orig=$ac_useropt
   1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1124     case $ac_user_opts in
   1125       *"
   1126 "with_$ac_useropt"
   1127 "*) ;;
   1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1129 	 ac_unrecognized_sep=', ';;
   1130     esac
   1131     eval with_$ac_useropt=no ;;
   1132 
   1133   --x)
   1134     # Obsolete; use --with-x.
   1135     with_x=yes ;;
   1136 
   1137   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1138   | --x-incl | --x-inc | --x-in | --x-i)
   1139     ac_prev=x_includes ;;
   1140   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1141   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1142     x_includes=$ac_optarg ;;
   1143 
   1144   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1145   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1146     ac_prev=x_libraries ;;
   1147   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1148   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1149     x_libraries=$ac_optarg ;;
   1150 
   1151   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1152 Try \`$0 --help' for more information"
   1153     ;;
   1154 
   1155   *=*)
   1156     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1157     # Reject names that are not valid shell variable names.
   1158     case $ac_envvar in #(
   1159       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1160       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1161     esac
   1162     eval $ac_envvar=\$ac_optarg
   1163     export $ac_envvar ;;
   1164 
   1165   *)
   1166     # FIXME: should be removed in autoconf 3.0.
   1167     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1168     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1169       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1170     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1171     ;;
   1172 
   1173   esac
   1174 done
   1175 
   1176 if test -n "$ac_prev"; then
   1177   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1178   as_fn_error $? "missing argument to $ac_option"
   1179 fi
   1180 
   1181 if test -n "$ac_unrecognized_opts"; then
   1182   case $enable_option_checking in
   1183     no) ;;
   1184     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1185     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1186   esac
   1187 fi
   1188 
   1189 # Check all directory arguments for consistency.
   1190 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1191 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1192 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1193 		libdir localedir mandir
   1194 do
   1195   eval ac_val=\$$ac_var
   1196   # Remove trailing slashes.
   1197   case $ac_val in
   1198     */ )
   1199       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1200       eval $ac_var=\$ac_val;;
   1201   esac
   1202   # Be sure to have absolute directory names.
   1203   case $ac_val in
   1204     [\\/$]* | ?:[\\/]* )  continue;;
   1205     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1206   esac
   1207   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1208 done
   1209 
   1210 # There might be people who depend on the old broken behavior: `$host'
   1211 # used to hold the argument of --host etc.
   1212 # FIXME: To remove some day.
   1213 build=$build_alias
   1214 host=$host_alias
   1215 target=$target_alias
   1216 
   1217 # FIXME: To remove some day.
   1218 if test "x$host_alias" != x; then
   1219   if test "x$build_alias" = x; then
   1220     cross_compiling=maybe
   1221     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1222     If a cross compiler is detected then cross compile mode will be used" >&2
   1223   elif test "x$build_alias" != "x$host_alias"; then
   1224     cross_compiling=yes
   1225   fi
   1226 fi
   1227 
   1228 ac_tool_prefix=
   1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1230 
   1231 test "$silent" = yes && exec 6>/dev/null
   1232 
   1233 
   1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1235 ac_ls_di=`ls -di .` &&
   1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1237   as_fn_error $? "working directory cannot be determined"
   1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1239   as_fn_error $? "pwd does not report name of working directory"
   1240 
   1241 
   1242 # Find the source files, if location was not specified.
   1243 if test -z "$srcdir"; then
   1244   ac_srcdir_defaulted=yes
   1245   # Try the directory containing this script, then the parent directory.
   1246   ac_confdir=`$as_dirname -- "$as_myself" ||
   1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1248 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1249 	 X"$as_myself" : 'X\(//\)$' \| \
   1250 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1251 $as_echo X"$as_myself" |
   1252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1253 	    s//\1/
   1254 	    q
   1255 	  }
   1256 	  /^X\(\/\/\)[^/].*/{
   1257 	    s//\1/
   1258 	    q
   1259 	  }
   1260 	  /^X\(\/\/\)$/{
   1261 	    s//\1/
   1262 	    q
   1263 	  }
   1264 	  /^X\(\/\).*/{
   1265 	    s//\1/
   1266 	    q
   1267 	  }
   1268 	  s/.*/./; q'`
   1269   srcdir=$ac_confdir
   1270   if test ! -r "$srcdir/$ac_unique_file"; then
   1271     srcdir=..
   1272   fi
   1273 else
   1274   ac_srcdir_defaulted=no
   1275 fi
   1276 if test ! -r "$srcdir/$ac_unique_file"; then
   1277   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1278   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1279 fi
   1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1281 ac_abs_confdir=`(
   1282 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1283 	pwd)`
   1284 # When building in place, set srcdir=.
   1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1286   srcdir=.
   1287 fi
   1288 # Remove unnecessary trailing slashes from srcdir.
   1289 # Double slashes in file names in object file debugging info
   1290 # mess up M-x gdb in Emacs.
   1291 case $srcdir in
   1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1293 esac
   1294 for ac_var in $ac_precious_vars; do
   1295   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1296   eval ac_env_${ac_var}_value=\$${ac_var}
   1297   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1298   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1299 done
   1300 
   1301 #
   1302 # Report the --help message.
   1303 #
   1304 if test "$ac_init_help" = "long"; then
   1305   # Omit some internal or obsolete options to make the list less imposing.
   1306   # This message is too long to be a string in the A/UX 3.1 sh.
   1307   cat <<_ACEOF
   1308 \`configure' configures Google C++ Testing Framework 1.4.0 to adapt to many kinds of systems.
   1309 
   1310 Usage: $0 [OPTION]... [VAR=VALUE]...
   1311 
   1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1313 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1314 
   1315 Defaults for the options are specified in brackets.
   1316 
   1317 Configuration:
   1318   -h, --help              display this help and exit
   1319       --help=short        display options specific to this package
   1320       --help=recursive    display the short help of all the included packages
   1321   -V, --version           display version information and exit
   1322   -q, --quiet, --silent   do not print \`checking ...' messages
   1323       --cache-file=FILE   cache test results in FILE [disabled]
   1324   -C, --config-cache      alias for \`--cache-file=config.cache'
   1325   -n, --no-create         do not create output files
   1326       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1327 
   1328 Installation directories:
   1329   --prefix=PREFIX         install architecture-independent files in PREFIX
   1330                           [$ac_default_prefix]
   1331   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1332                           [PREFIX]
   1333 
   1334 By default, \`make install' will install all the files in
   1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1337 for instance \`--prefix=\$HOME'.
   1338 
   1339 For better control, use the options below.
   1340 
   1341 Fine tuning of the installation directories:
   1342   --bindir=DIR            user executables [EPREFIX/bin]
   1343   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1344   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1345   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1346   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1347   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1348   --libdir=DIR            object code libraries [EPREFIX/lib]
   1349   --includedir=DIR        C header files [PREFIX/include]
   1350   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1351   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1352   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1353   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1354   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1355   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1356   --docdir=DIR            documentation root [DATAROOTDIR/doc/gtest]
   1357   --htmldir=DIR           html documentation [DOCDIR]
   1358   --dvidir=DIR            dvi documentation [DOCDIR]
   1359   --pdfdir=DIR            pdf documentation [DOCDIR]
   1360   --psdir=DIR             ps documentation [DOCDIR]
   1361 _ACEOF
   1362 
   1363   cat <<\_ACEOF
   1364 
   1365 Program names:
   1366   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1367   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1368   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1369 
   1370 System types:
   1371   --build=BUILD     configure for building on BUILD [guessed]
   1372   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1373 _ACEOF
   1374 fi
   1375 
   1376 if test -n "$ac_init_help"; then
   1377   case $ac_init_help in
   1378      short | recursive ) echo "Configuration of Google C++ Testing Framework 1.4.0:";;
   1379    esac
   1380   cat <<\_ACEOF
   1381 
   1382 Optional Features:
   1383   --disable-option-checking  ignore unrecognized --enable/--with options
   1384   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1385   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1386   --disable-dependency-tracking  speeds up one-time build
   1387   --enable-dependency-tracking   do not reject slow dependency extractors
   1388   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1389   --enable-static[=PKGS]  build static libraries [default=yes]
   1390   --enable-fast-install[=PKGS]
   1391                           optimize for fast installation [default=yes]
   1392   --disable-libtool-lock  avoid locking (might break parallel builds)
   1393 
   1394 Optional Packages:
   1395   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1396   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1397   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1398                           both]
   1399   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1400   --with-sysroot=DIR Search for dependent libraries within DIR
   1401                         (or the compiler's sysroot if not specified).
   1402 
   1403 Some influential environment variables:
   1404   CC          C compiler command
   1405   CFLAGS      C compiler flags
   1406   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1407               nonstandard directory <lib dir>
   1408   LIBS        libraries to pass to the linker, e.g. -l<library>
   1409   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1410               you have headers in a nonstandard directory <include dir>
   1411   CXX         C++ compiler command
   1412   CXXFLAGS    C++ compiler flags
   1413   CPP         C preprocessor
   1414   CXXCPP      C++ preprocessor
   1415 
   1416 Use these variables to override the choices made by `configure' or to help
   1417 it to find libraries and programs with nonstandard names/locations.
   1418 
   1419 Report bugs to <googletestframework (at] googlegroups.com>.
   1420 _ACEOF
   1421 ac_status=$?
   1422 fi
   1423 
   1424 if test "$ac_init_help" = "recursive"; then
   1425   # If there are subdirs, report their specific --help.
   1426   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1427     test -d "$ac_dir" ||
   1428       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1429       continue
   1430     ac_builddir=.
   1431 
   1432 case "$ac_dir" in
   1433 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1434 *)
   1435   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1436   # A ".." for each directory in $ac_dir_suffix.
   1437   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1438   case $ac_top_builddir_sub in
   1439   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1440   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1441   esac ;;
   1442 esac
   1443 ac_abs_top_builddir=$ac_pwd
   1444 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1445 # for backward compatibility:
   1446 ac_top_builddir=$ac_top_build_prefix
   1447 
   1448 case $srcdir in
   1449   .)  # We are building in place.
   1450     ac_srcdir=.
   1451     ac_top_srcdir=$ac_top_builddir_sub
   1452     ac_abs_top_srcdir=$ac_pwd ;;
   1453   [\\/]* | ?:[\\/]* )  # Absolute name.
   1454     ac_srcdir=$srcdir$ac_dir_suffix;
   1455     ac_top_srcdir=$srcdir
   1456     ac_abs_top_srcdir=$srcdir ;;
   1457   *) # Relative name.
   1458     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1459     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1460     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1461 esac
   1462 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1463 
   1464     cd "$ac_dir" || { ac_status=$?; continue; }
   1465     # Check for guested configure.
   1466     if test -f "$ac_srcdir/configure.gnu"; then
   1467       echo &&
   1468       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1469     elif test -f "$ac_srcdir/configure"; then
   1470       echo &&
   1471       $SHELL "$ac_srcdir/configure" --help=recursive
   1472     else
   1473       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1474     fi || ac_status=$?
   1475     cd "$ac_pwd" || { ac_status=$?; break; }
   1476   done
   1477 fi
   1478 
   1479 test -n "$ac_init_help" && exit $ac_status
   1480 if $ac_init_version; then
   1481   cat <<\_ACEOF
   1482 Google C++ Testing Framework configure 1.4.0
   1483 generated by GNU Autoconf 2.68
   1484 
   1485 Copyright (C) 2010 Free Software Foundation, Inc.
   1486 This configure script is free software; the Free Software Foundation
   1487 gives unlimited permission to copy, distribute and modify it.
   1488 _ACEOF
   1489   exit
   1490 fi
   1491 
   1492 ## ------------------------ ##
   1493 ## Autoconf initialization. ##
   1494 ## ------------------------ ##
   1495 
   1496 # ac_fn_c_try_compile LINENO
   1497 # --------------------------
   1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1499 ac_fn_c_try_compile ()
   1500 {
   1501   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1502   rm -f conftest.$ac_objext
   1503   if { { ac_try="$ac_compile"
   1504 case "(($ac_try" in
   1505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1506   *) ac_try_echo=$ac_try;;
   1507 esac
   1508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1509 $as_echo "$ac_try_echo"; } >&5
   1510   (eval "$ac_compile") 2>conftest.err
   1511   ac_status=$?
   1512   if test -s conftest.err; then
   1513     grep -v '^ *+' conftest.err >conftest.er1
   1514     cat conftest.er1 >&5
   1515     mv -f conftest.er1 conftest.err
   1516   fi
   1517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1518   test $ac_status = 0; } && {
   1519 	 test -z "$ac_c_werror_flag" ||
   1520 	 test ! -s conftest.err
   1521        } && test -s conftest.$ac_objext; then :
   1522   ac_retval=0
   1523 else
   1524   $as_echo "$as_me: failed program was:" >&5
   1525 sed 's/^/| /' conftest.$ac_ext >&5
   1526 
   1527 	ac_retval=1
   1528 fi
   1529   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1530   as_fn_set_status $ac_retval
   1531 
   1532 } # ac_fn_c_try_compile
   1533 
   1534 # ac_fn_cxx_try_compile LINENO
   1535 # ----------------------------
   1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1537 ac_fn_cxx_try_compile ()
   1538 {
   1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1540   rm -f conftest.$ac_objext
   1541   if { { ac_try="$ac_compile"
   1542 case "(($ac_try" in
   1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1544   *) ac_try_echo=$ac_try;;
   1545 esac
   1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1547 $as_echo "$ac_try_echo"; } >&5
   1548   (eval "$ac_compile") 2>conftest.err
   1549   ac_status=$?
   1550   if test -s conftest.err; then
   1551     grep -v '^ *+' conftest.err >conftest.er1
   1552     cat conftest.er1 >&5
   1553     mv -f conftest.er1 conftest.err
   1554   fi
   1555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1556   test $ac_status = 0; } && {
   1557 	 test -z "$ac_cxx_werror_flag" ||
   1558 	 test ! -s conftest.err
   1559        } && test -s conftest.$ac_objext; then :
   1560   ac_retval=0
   1561 else
   1562   $as_echo "$as_me: failed program was:" >&5
   1563 sed 's/^/| /' conftest.$ac_ext >&5
   1564 
   1565 	ac_retval=1
   1566 fi
   1567   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1568   as_fn_set_status $ac_retval
   1569 
   1570 } # ac_fn_cxx_try_compile
   1571 
   1572 # ac_fn_c_try_link LINENO
   1573 # -----------------------
   1574 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1575 ac_fn_c_try_link ()
   1576 {
   1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1578   rm -f conftest.$ac_objext conftest$ac_exeext
   1579   if { { ac_try="$ac_link"
   1580 case "(($ac_try" in
   1581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1582   *) ac_try_echo=$ac_try;;
   1583 esac
   1584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1585 $as_echo "$ac_try_echo"; } >&5
   1586   (eval "$ac_link") 2>conftest.err
   1587   ac_status=$?
   1588   if test -s conftest.err; then
   1589     grep -v '^ *+' conftest.err >conftest.er1
   1590     cat conftest.er1 >&5
   1591     mv -f conftest.er1 conftest.err
   1592   fi
   1593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1594   test $ac_status = 0; } && {
   1595 	 test -z "$ac_c_werror_flag" ||
   1596 	 test ! -s conftest.err
   1597        } && test -s conftest$ac_exeext && {
   1598 	 test "$cross_compiling" = yes ||
   1599 	 $as_test_x conftest$ac_exeext
   1600        }; then :
   1601   ac_retval=0
   1602 else
   1603   $as_echo "$as_me: failed program was:" >&5
   1604 sed 's/^/| /' conftest.$ac_ext >&5
   1605 
   1606 	ac_retval=1
   1607 fi
   1608   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1609   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1610   # interfere with the next link command; also delete a directory that is
   1611   # left behind by Apple's compiler.  We do this before executing the actions.
   1612   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1613   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1614   as_fn_set_status $ac_retval
   1615 
   1616 } # ac_fn_c_try_link
   1617 
   1618 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1619 # -------------------------------------------------------
   1620 # Tests whether HEADER exists and can be compiled using the include files in
   1621 # INCLUDES, setting the cache variable VAR accordingly.
   1622 ac_fn_c_check_header_compile ()
   1623 {
   1624   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1626 $as_echo_n "checking for $2... " >&6; }
   1627 if eval \${$3+:} false; then :
   1628   $as_echo_n "(cached) " >&6
   1629 else
   1630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1631 /* end confdefs.h.  */
   1632 $4
   1633 #include <$2>
   1634 _ACEOF
   1635 if ac_fn_c_try_compile "$LINENO"; then :
   1636   eval "$3=yes"
   1637 else
   1638   eval "$3=no"
   1639 fi
   1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1641 fi
   1642 eval ac_res=\$$3
   1643 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1644 $as_echo "$ac_res" >&6; }
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646 
   1647 } # ac_fn_c_check_header_compile
   1648 
   1649 # ac_fn_c_try_cpp LINENO
   1650 # ----------------------
   1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1652 ac_fn_c_try_cpp ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1656 case "(($ac_try" in
   1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1658   *) ac_try_echo=$ac_try;;
   1659 esac
   1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1661 $as_echo "$ac_try_echo"; } >&5
   1662   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1663   ac_status=$?
   1664   if test -s conftest.err; then
   1665     grep -v '^ *+' conftest.err >conftest.er1
   1666     cat conftest.er1 >&5
   1667     mv -f conftest.er1 conftest.err
   1668   fi
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } > conftest.i && {
   1671 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1672 	 test ! -s conftest.err
   1673        }; then :
   1674   ac_retval=0
   1675 else
   1676   $as_echo "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679     ac_retval=1
   1680 fi
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682   as_fn_set_status $ac_retval
   1683 
   1684 } # ac_fn_c_try_cpp
   1685 
   1686 # ac_fn_c_try_run LINENO
   1687 # ----------------------
   1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1689 # that executables *can* be run.
   1690 ac_fn_c_try_run ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   if { { ac_try="$ac_link"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_link") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1704   { { case "(($ac_try" in
   1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1706   *) ac_try_echo=$ac_try;;
   1707 esac
   1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1709 $as_echo "$ac_try_echo"; } >&5
   1710   (eval "$ac_try") 2>&5
   1711   ac_status=$?
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; }; }; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: program exited with status $ac_status" >&5
   1717        $as_echo "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720        ac_retval=$ac_status
   1721 fi
   1722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1724   as_fn_set_status $ac_retval
   1725 
   1726 } # ac_fn_c_try_run
   1727 
   1728 # ac_fn_c_check_func LINENO FUNC VAR
   1729 # ----------------------------------
   1730 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1731 ac_fn_c_check_func ()
   1732 {
   1733   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1735 $as_echo_n "checking for $2... " >&6; }
   1736 if eval \${$3+:} false; then :
   1737   $as_echo_n "(cached) " >&6
   1738 else
   1739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1740 /* end confdefs.h.  */
   1741 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1742    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1743 #define $2 innocuous_$2
   1744 
   1745 /* System header to define __stub macros and hopefully few prototypes,
   1746     which can conflict with char $2 (); below.
   1747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1748     <limits.h> exists even on freestanding compilers.  */
   1749 
   1750 #ifdef __STDC__
   1751 # include <limits.h>
   1752 #else
   1753 # include <assert.h>
   1754 #endif
   1755 
   1756 #undef $2
   1757 
   1758 /* Override any GCC internal prototype to avoid an error.
   1759    Use char because int might match the return type of a GCC
   1760    builtin and then its argument prototype would still apply.  */
   1761 #ifdef __cplusplus
   1762 extern "C"
   1763 #endif
   1764 char $2 ();
   1765 /* The GNU C library defines this for functions which it implements
   1766     to always fail with ENOSYS.  Some functions are actually named
   1767     something starting with __ and the normal name is an alias.  */
   1768 #if defined __stub_$2 || defined __stub___$2
   1769 choke me
   1770 #endif
   1771 
   1772 int
   1773 main ()
   1774 {
   1775 return $2 ();
   1776   ;
   1777   return 0;
   1778 }
   1779 _ACEOF
   1780 if ac_fn_c_try_link "$LINENO"; then :
   1781   eval "$3=yes"
   1782 else
   1783   eval "$3=no"
   1784 fi
   1785 rm -f core conftest.err conftest.$ac_objext \
   1786     conftest$ac_exeext conftest.$ac_ext
   1787 fi
   1788 eval ac_res=\$$3
   1789 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1790 $as_echo "$ac_res" >&6; }
   1791   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1792 
   1793 } # ac_fn_c_check_func
   1794 
   1795 # ac_fn_cxx_try_cpp LINENO
   1796 # ------------------------
   1797 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1798 ac_fn_cxx_try_cpp ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1802 case "(($ac_try" in
   1803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1804   *) ac_try_echo=$ac_try;;
   1805 esac
   1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1807 $as_echo "$ac_try_echo"; } >&5
   1808   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1809   ac_status=$?
   1810   if test -s conftest.err; then
   1811     grep -v '^ *+' conftest.err >conftest.er1
   1812     cat conftest.er1 >&5
   1813     mv -f conftest.er1 conftest.err
   1814   fi
   1815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1816   test $ac_status = 0; } > conftest.i && {
   1817 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1818 	 test ! -s conftest.err
   1819        }; then :
   1820   ac_retval=0
   1821 else
   1822   $as_echo "$as_me: failed program was:" >&5
   1823 sed 's/^/| /' conftest.$ac_ext >&5
   1824 
   1825     ac_retval=1
   1826 fi
   1827   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1828   as_fn_set_status $ac_retval
   1829 
   1830 } # ac_fn_cxx_try_cpp
   1831 
   1832 # ac_fn_cxx_try_link LINENO
   1833 # -------------------------
   1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1835 ac_fn_cxx_try_link ()
   1836 {
   1837   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1838   rm -f conftest.$ac_objext conftest$ac_exeext
   1839   if { { ac_try="$ac_link"
   1840 case "(($ac_try" in
   1841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1842   *) ac_try_echo=$ac_try;;
   1843 esac
   1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1845 $as_echo "$ac_try_echo"; } >&5
   1846   (eval "$ac_link") 2>conftest.err
   1847   ac_status=$?
   1848   if test -s conftest.err; then
   1849     grep -v '^ *+' conftest.err >conftest.er1
   1850     cat conftest.er1 >&5
   1851     mv -f conftest.er1 conftest.err
   1852   fi
   1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1854   test $ac_status = 0; } && {
   1855 	 test -z "$ac_cxx_werror_flag" ||
   1856 	 test ! -s conftest.err
   1857        } && test -s conftest$ac_exeext && {
   1858 	 test "$cross_compiling" = yes ||
   1859 	 $as_test_x conftest$ac_exeext
   1860        }; then :
   1861   ac_retval=0
   1862 else
   1863   $as_echo "$as_me: failed program was:" >&5
   1864 sed 's/^/| /' conftest.$ac_ext >&5
   1865 
   1866 	ac_retval=1
   1867 fi
   1868   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1869   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1870   # interfere with the next link command; also delete a directory that is
   1871   # left behind by Apple's compiler.  We do this before executing the actions.
   1872   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1873   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1874   as_fn_set_status $ac_retval
   1875 
   1876 } # ac_fn_cxx_try_link
   1877 cat >config.log <<_ACEOF
   1878 This file contains any messages produced by compilers while
   1879 running configure, to aid debugging if configure makes a mistake.
   1880 
   1881 It was created by Google C++ Testing Framework $as_me 1.4.0, which was
   1882 generated by GNU Autoconf 2.68.  Invocation command line was
   1883 
   1884   $ $0 $@
   1885 
   1886 _ACEOF
   1887 exec 5>>config.log
   1888 {
   1889 cat <<_ASUNAME
   1890 ## --------- ##
   1891 ## Platform. ##
   1892 ## --------- ##
   1893 
   1894 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1895 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1896 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1897 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1898 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1899 
   1900 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1901 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1902 
   1903 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1904 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1905 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1906 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1907 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1908 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1909 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1910 
   1911 _ASUNAME
   1912 
   1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1914 for as_dir in $PATH
   1915 do
   1916   IFS=$as_save_IFS
   1917   test -z "$as_dir" && as_dir=.
   1918     $as_echo "PATH: $as_dir"
   1919   done
   1920 IFS=$as_save_IFS
   1921 
   1922 } >&5
   1923 
   1924 cat >&5 <<_ACEOF
   1925 
   1926 
   1927 ## ----------- ##
   1928 ## Core tests. ##
   1929 ## ----------- ##
   1930 
   1931 _ACEOF
   1932 
   1933 
   1934 # Keep a trace of the command line.
   1935 # Strip out --no-create and --no-recursion so they do not pile up.
   1936 # Strip out --silent because we don't want to record it for future runs.
   1937 # Also quote any args containing shell meta-characters.
   1938 # Make two passes to allow for proper duplicate-argument suppression.
   1939 ac_configure_args=
   1940 ac_configure_args0=
   1941 ac_configure_args1=
   1942 ac_must_keep_next=false
   1943 for ac_pass in 1 2
   1944 do
   1945   for ac_arg
   1946   do
   1947     case $ac_arg in
   1948     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1949     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1950     | -silent | --silent | --silen | --sile | --sil)
   1951       continue ;;
   1952     *\'*)
   1953       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1954     esac
   1955     case $ac_pass in
   1956     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1957     2)
   1958       as_fn_append ac_configure_args1 " '$ac_arg'"
   1959       if test $ac_must_keep_next = true; then
   1960 	ac_must_keep_next=false # Got value, back to normal.
   1961       else
   1962 	case $ac_arg in
   1963 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1964 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1965 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1966 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1967 	    case "$ac_configure_args0 " in
   1968 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1969 	    esac
   1970 	    ;;
   1971 	  -* ) ac_must_keep_next=true ;;
   1972 	esac
   1973       fi
   1974       as_fn_append ac_configure_args " '$ac_arg'"
   1975       ;;
   1976     esac
   1977   done
   1978 done
   1979 { ac_configure_args0=; unset ac_configure_args0;}
   1980 { ac_configure_args1=; unset ac_configure_args1;}
   1981 
   1982 # When interrupted or exit'd, cleanup temporary files, and complete
   1983 # config.log.  We remove comments because anyway the quotes in there
   1984 # would cause problems or look ugly.
   1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1987 trap 'exit_status=$?
   1988   # Save into config.log some information that might help in debugging.
   1989   {
   1990     echo
   1991 
   1992     $as_echo "## ---------------- ##
   1993 ## Cache variables. ##
   1994 ## ---------------- ##"
   1995     echo
   1996     # The following way of writing the cache mishandles newlines in values,
   1997 (
   1998   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1999     eval ac_val=\$$ac_var
   2000     case $ac_val in #(
   2001     *${as_nl}*)
   2002       case $ac_var in #(
   2003       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2004 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2005       esac
   2006       case $ac_var in #(
   2007       _ | IFS | as_nl) ;; #(
   2008       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2009       *) { eval $ac_var=; unset $ac_var;} ;;
   2010       esac ;;
   2011     esac
   2012   done
   2013   (set) 2>&1 |
   2014     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2015     *${as_nl}ac_space=\ *)
   2016       sed -n \
   2017 	"s/'\''/'\''\\\\'\'''\''/g;
   2018 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2019       ;; #(
   2020     *)
   2021       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2022       ;;
   2023     esac |
   2024     sort
   2025 )
   2026     echo
   2027 
   2028     $as_echo "## ----------------- ##
   2029 ## Output variables. ##
   2030 ## ----------------- ##"
   2031     echo
   2032     for ac_var in $ac_subst_vars
   2033     do
   2034       eval ac_val=\$$ac_var
   2035       case $ac_val in
   2036       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2037       esac
   2038       $as_echo "$ac_var='\''$ac_val'\''"
   2039     done | sort
   2040     echo
   2041 
   2042     if test -n "$ac_subst_files"; then
   2043       $as_echo "## ------------------- ##
   2044 ## File substitutions. ##
   2045 ## ------------------- ##"
   2046       echo
   2047       for ac_var in $ac_subst_files
   2048       do
   2049 	eval ac_val=\$$ac_var
   2050 	case $ac_val in
   2051 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2052 	esac
   2053 	$as_echo "$ac_var='\''$ac_val'\''"
   2054       done | sort
   2055       echo
   2056     fi
   2057 
   2058     if test -s confdefs.h; then
   2059       $as_echo "## ----------- ##
   2060 ## confdefs.h. ##
   2061 ## ----------- ##"
   2062       echo
   2063       cat confdefs.h
   2064       echo
   2065     fi
   2066     test "$ac_signal" != 0 &&
   2067       $as_echo "$as_me: caught signal $ac_signal"
   2068     $as_echo "$as_me: exit $exit_status"
   2069   } >&5
   2070   rm -f core *.core core.conftest.* &&
   2071     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2072     exit $exit_status
   2073 ' 0
   2074 for ac_signal in 1 2 13 15; do
   2075   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2076 done
   2077 ac_signal=0
   2078 
   2079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2080 rm -f -r conftest* confdefs.h
   2081 
   2082 $as_echo "/* confdefs.h */" > confdefs.h
   2083 
   2084 # Predefined preprocessor variables.
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_NAME "$PACKAGE_NAME"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2092 _ACEOF
   2093 
   2094 cat >>confdefs.h <<_ACEOF
   2095 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2096 _ACEOF
   2097 
   2098 cat >>confdefs.h <<_ACEOF
   2099 #define PACKAGE_STRING "$PACKAGE_STRING"
   2100 _ACEOF
   2101 
   2102 cat >>confdefs.h <<_ACEOF
   2103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2104 _ACEOF
   2105 
   2106 cat >>confdefs.h <<_ACEOF
   2107 #define PACKAGE_URL "$PACKAGE_URL"
   2108 _ACEOF
   2109 
   2110 
   2111 # Let the site file select an alternate cache file if it wants to.
   2112 # Prefer an explicitly selected file to automatically selected ones.
   2113 ac_site_file1=NONE
   2114 ac_site_file2=NONE
   2115 if test -n "$CONFIG_SITE"; then
   2116   # We do not want a PATH search for config.site.
   2117   case $CONFIG_SITE in #((
   2118     -*)  ac_site_file1=./$CONFIG_SITE;;
   2119     */*) ac_site_file1=$CONFIG_SITE;;
   2120     *)   ac_site_file1=./$CONFIG_SITE;;
   2121   esac
   2122 elif test "x$prefix" != xNONE; then
   2123   ac_site_file1=$prefix/share/config.site
   2124   ac_site_file2=$prefix/etc/config.site
   2125 else
   2126   ac_site_file1=$ac_default_prefix/share/config.site
   2127   ac_site_file2=$ac_default_prefix/etc/config.site
   2128 fi
   2129 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2130 do
   2131   test "x$ac_site_file" = xNONE && continue
   2132   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2133     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2135     sed 's/^/| /' "$ac_site_file" >&5
   2136     . "$ac_site_file" \
   2137       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2139 as_fn_error $? "failed to load site script $ac_site_file
   2140 See \`config.log' for more details" "$LINENO" 5; }
   2141   fi
   2142 done
   2143 
   2144 if test -r "$cache_file"; then
   2145   # Some versions of bash will fail to source /dev/null (special files
   2146   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2147   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2148     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2149 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2150     case $cache_file in
   2151       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2152       *)                      . "./$cache_file";;
   2153     esac
   2154   fi
   2155 else
   2156   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2157 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2158   >$cache_file
   2159 fi
   2160 
   2161 # Check that the precious variables saved in the cache have kept the same
   2162 # value.
   2163 ac_cache_corrupted=false
   2164 for ac_var in $ac_precious_vars; do
   2165   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2166   eval ac_new_set=\$ac_env_${ac_var}_set
   2167   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2168   eval ac_new_val=\$ac_env_${ac_var}_value
   2169   case $ac_old_set,$ac_new_set in
   2170     set,)
   2171       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2172 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2173       ac_cache_corrupted=: ;;
   2174     ,set)
   2175       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2176 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2177       ac_cache_corrupted=: ;;
   2178     ,);;
   2179     *)
   2180       if test "x$ac_old_val" != "x$ac_new_val"; then
   2181 	# differences in whitespace do not lead to failure.
   2182 	ac_old_val_w=`echo x $ac_old_val`
   2183 	ac_new_val_w=`echo x $ac_new_val`
   2184 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2185 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2186 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2187 	  ac_cache_corrupted=:
   2188 	else
   2189 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2190 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2191 	  eval $ac_var=\$ac_old_val
   2192 	fi
   2193 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2194 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2195 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2196 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2197       fi;;
   2198   esac
   2199   # Pass precious variables to config.status.
   2200   if test "$ac_new_set" = set; then
   2201     case $ac_new_val in
   2202     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2203     *) ac_arg=$ac_var=$ac_new_val ;;
   2204     esac
   2205     case " $ac_configure_args " in
   2206       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2207       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2208     esac
   2209   fi
   2210 done
   2211 if $ac_cache_corrupted; then
   2212   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2214   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2215 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2216   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2217 fi
   2218 ## -------------------- ##
   2219 ## Main body of script. ##
   2220 ## -------------------- ##
   2221 
   2222 ac_ext=c
   2223 ac_cpp='$CPP $CPPFLAGS'
   2224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2227 
   2228 
   2229 
   2230 # Provide various options to initialize the Autoconf and configure processes.
   2231 
   2232 
   2233 ac_aux_dir=
   2234 for ac_dir in build-aux "$srcdir"/build-aux; do
   2235   if test -f "$ac_dir/install-sh"; then
   2236     ac_aux_dir=$ac_dir
   2237     ac_install_sh="$ac_aux_dir/install-sh -c"
   2238     break
   2239   elif test -f "$ac_dir/install.sh"; then
   2240     ac_aux_dir=$ac_dir
   2241     ac_install_sh="$ac_aux_dir/install.sh -c"
   2242     break
   2243   elif test -f "$ac_dir/shtool"; then
   2244     ac_aux_dir=$ac_dir
   2245     ac_install_sh="$ac_aux_dir/shtool install -c"
   2246     break
   2247   fi
   2248 done
   2249 if test -z "$ac_aux_dir"; then
   2250   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2251 fi
   2252 
   2253 # These three variables are undocumented and unsupported,
   2254 # and are intended to be withdrawn in a future Autoconf release.
   2255 # They can cause serious problems if a builder's source tree is in a directory
   2256 # whose full name contains unusual characters.
   2257 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2258 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2259 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2260 
   2261 
   2262 ac_config_headers="$ac_config_headers build-aux/config.h"
   2263 
   2264 ac_config_files="$ac_config_files Makefile"
   2265 
   2266 ac_config_files="$ac_config_files scripts/gtest-config"
   2267 
   2268 
   2269 # Initialize Automake with various options. We require at least v1.9, prevent
   2270 # pedantic complaints about package files, and enable various distribution
   2271 # targets.
   2272 am__api_version='1.11'
   2273 
   2274 # Find a good install program.  We prefer a C program (faster),
   2275 # so one script is as good as another.  But avoid the broken or
   2276 # incompatible versions:
   2277 # SysV /etc/install, /usr/sbin/install
   2278 # SunOS /usr/etc/install
   2279 # IRIX /sbin/install
   2280 # AIX /bin/install
   2281 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2282 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2283 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2284 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2285 # OS/2's system install, which has a completely different semantic
   2286 # ./install, which can be erroneously created by make from ./install.sh.
   2287 # Reject install programs that cannot install multiple files.
   2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2289 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2290 if test -z "$INSTALL"; then
   2291 if ${ac_cv_path_install+:} false; then :
   2292   $as_echo_n "(cached) " >&6
   2293 else
   2294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2295 for as_dir in $PATH
   2296 do
   2297   IFS=$as_save_IFS
   2298   test -z "$as_dir" && as_dir=.
   2299     # Account for people who put trailing slashes in PATH elements.
   2300 case $as_dir/ in #((
   2301   ./ | .// | /[cC]/* | \
   2302   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2303   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2304   /usr/ucb/* ) ;;
   2305   *)
   2306     # OSF1 and SCO ODT 3.0 have their own names for install.
   2307     # Don't use installbsd from OSF since it installs stuff as root
   2308     # by default.
   2309     for ac_prog in ginstall scoinst install; do
   2310       for ac_exec_ext in '' $ac_executable_extensions; do
   2311 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2312 	  if test $ac_prog = install &&
   2313 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2314 	    # AIX install.  It has an incompatible calling convention.
   2315 	    :
   2316 	  elif test $ac_prog = install &&
   2317 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2318 	    # program-specific install script used by HP pwplus--don't use.
   2319 	    :
   2320 	  else
   2321 	    rm -rf conftest.one conftest.two conftest.dir
   2322 	    echo one > conftest.one
   2323 	    echo two > conftest.two
   2324 	    mkdir conftest.dir
   2325 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2326 	      test -s conftest.one && test -s conftest.two &&
   2327 	      test -s conftest.dir/conftest.one &&
   2328 	      test -s conftest.dir/conftest.two
   2329 	    then
   2330 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2331 	      break 3
   2332 	    fi
   2333 	  fi
   2334 	fi
   2335       done
   2336     done
   2337     ;;
   2338 esac
   2339 
   2340   done
   2341 IFS=$as_save_IFS
   2342 
   2343 rm -rf conftest.one conftest.two conftest.dir
   2344 
   2345 fi
   2346   if test "${ac_cv_path_install+set}" = set; then
   2347     INSTALL=$ac_cv_path_install
   2348   else
   2349     # As a last resort, use the slow shell script.  Don't cache a
   2350     # value for INSTALL within a source directory, because that will
   2351     # break other packages using the cache if that directory is
   2352     # removed, or if the value is a relative name.
   2353     INSTALL=$ac_install_sh
   2354   fi
   2355 fi
   2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2357 $as_echo "$INSTALL" >&6; }
   2358 
   2359 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2360 # It thinks the first close brace ends the variable substitution.
   2361 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2362 
   2363 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2364 
   2365 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2366 
   2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2368 $as_echo_n "checking whether build environment is sane... " >&6; }
   2369 # Just in case
   2370 sleep 1
   2371 echo timestamp > conftest.file
   2372 # Reject unsafe characters in $srcdir or the absolute working directory
   2373 # name.  Accept space and tab only in the latter.
   2374 am_lf='
   2375 '
   2376 case `pwd` in
   2377   *[\\\"\#\$\&\'\`$am_lf]*)
   2378     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2379 esac
   2380 case $srcdir in
   2381   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2382     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2383 esac
   2384 
   2385 # Do `set' in a subshell so we don't clobber the current shell's
   2386 # arguments.  Must try -L first in case configure is actually a
   2387 # symlink; some systems play weird games with the mod time of symlinks
   2388 # (eg FreeBSD returns the mod time of the symlink's containing
   2389 # directory).
   2390 if (
   2391    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2392    if test "$*" = "X"; then
   2393       # -L didn't work.
   2394       set X `ls -t "$srcdir/configure" conftest.file`
   2395    fi
   2396    rm -f conftest.file
   2397    if test "$*" != "X $srcdir/configure conftest.file" \
   2398       && test "$*" != "X conftest.file $srcdir/configure"; then
   2399 
   2400       # If neither matched, then we have a broken ls.  This can happen
   2401       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2402       # broken ls alias from the environment.  This has actually
   2403       # happened.  Such a system could not be considered "sane".
   2404       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2405 alias in your environment" "$LINENO" 5
   2406    fi
   2407 
   2408    test "$2" = conftest.file
   2409    )
   2410 then
   2411    # Ok.
   2412    :
   2413 else
   2414    as_fn_error $? "newly created file is older than distributed files!
   2415 Check your system clock" "$LINENO" 5
   2416 fi
   2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2418 $as_echo "yes" >&6; }
   2419 test "$program_prefix" != NONE &&
   2420   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2421 # Use a double $ so make ignores it.
   2422 test "$program_suffix" != NONE &&
   2423   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2424 # Double any \ or $.
   2425 # By default was `s,x,x', remove it if useless.
   2426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2428 
   2429 # expand $ac_aux_dir to an absolute path
   2430 am_aux_dir=`cd $ac_aux_dir && pwd`
   2431 
   2432 if test x"${MISSING+set}" != xset; then
   2433   case $am_aux_dir in
   2434   *\ * | *\	*)
   2435     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2436   *)
   2437     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2438   esac
   2439 fi
   2440 # Use eval to expand $SHELL
   2441 if eval "$MISSING --run true"; then
   2442   am_missing_run="$MISSING --run "
   2443 else
   2444   am_missing_run=
   2445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2446 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2447 fi
   2448 
   2449 if test x"${install_sh}" != xset; then
   2450   case $am_aux_dir in
   2451   *\ * | *\	*)
   2452     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2453   *)
   2454     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2455   esac
   2456 fi
   2457 
   2458 # Installed binaries are usually stripped using `strip' when the user
   2459 # run `make install-strip'.  However `strip' might not be the right
   2460 # tool to use in cross-compilation environments, therefore Automake
   2461 # will honor the `STRIP' environment variable to overrule this program.
   2462 if test "$cross_compiling" != no; then
   2463   if test -n "$ac_tool_prefix"; then
   2464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2465 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2467 $as_echo_n "checking for $ac_word... " >&6; }
   2468 if ${ac_cv_prog_STRIP+:} false; then :
   2469   $as_echo_n "(cached) " >&6
   2470 else
   2471   if test -n "$STRIP"; then
   2472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2473 else
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 for as_dir in $PATH
   2476 do
   2477   IFS=$as_save_IFS
   2478   test -z "$as_dir" && as_dir=.
   2479     for ac_exec_ext in '' $ac_executable_extensions; do
   2480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2483     break 2
   2484   fi
   2485 done
   2486   done
   2487 IFS=$as_save_IFS
   2488 
   2489 fi
   2490 fi
   2491 STRIP=$ac_cv_prog_STRIP
   2492 if test -n "$STRIP"; then
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2494 $as_echo "$STRIP" >&6; }
   2495 else
   2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2497 $as_echo "no" >&6; }
   2498 fi
   2499 
   2500 
   2501 fi
   2502 if test -z "$ac_cv_prog_STRIP"; then
   2503   ac_ct_STRIP=$STRIP
   2504   # Extract the first word of "strip", so it can be a program name with args.
   2505 set dummy strip; ac_word=$2
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2507 $as_echo_n "checking for $ac_word... " >&6; }
   2508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   if test -n "$ac_ct_STRIP"; then
   2512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2513 else
   2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2515 for as_dir in $PATH
   2516 do
   2517   IFS=$as_save_IFS
   2518   test -z "$as_dir" && as_dir=.
   2519     for ac_exec_ext in '' $ac_executable_extensions; do
   2520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2521     ac_cv_prog_ac_ct_STRIP="strip"
   2522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2523     break 2
   2524   fi
   2525 done
   2526   done
   2527 IFS=$as_save_IFS
   2528 
   2529 fi
   2530 fi
   2531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2532 if test -n "$ac_ct_STRIP"; then
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2534 $as_echo "$ac_ct_STRIP" >&6; }
   2535 else
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538 fi
   2539 
   2540   if test "x$ac_ct_STRIP" = x; then
   2541     STRIP=":"
   2542   else
   2543     case $cross_compiling:$ac_tool_warned in
   2544 yes:)
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2547 ac_tool_warned=yes ;;
   2548 esac
   2549     STRIP=$ac_ct_STRIP
   2550   fi
   2551 else
   2552   STRIP="$ac_cv_prog_STRIP"
   2553 fi
   2554 
   2555 fi
   2556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2557 
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2560 if test -z "$MKDIR_P"; then
   2561   if ${ac_cv_path_mkdir+:} false; then :
   2562   $as_echo_n "(cached) " >&6
   2563 else
   2564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2566 do
   2567   IFS=$as_save_IFS
   2568   test -z "$as_dir" && as_dir=.
   2569     for ac_prog in mkdir gmkdir; do
   2570 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2571 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2572 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2573 	     'mkdir (GNU coreutils) '* | \
   2574 	     'mkdir (coreutils) '* | \
   2575 	     'mkdir (fileutils) '4.1*)
   2576 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2577 	       break 3;;
   2578 	   esac
   2579 	 done
   2580        done
   2581   done
   2582 IFS=$as_save_IFS
   2583 
   2584 fi
   2585 
   2586   test -d ./--version && rmdir ./--version
   2587   if test "${ac_cv_path_mkdir+set}" = set; then
   2588     MKDIR_P="$ac_cv_path_mkdir -p"
   2589   else
   2590     # As a last resort, use the slow shell script.  Don't cache a
   2591     # value for MKDIR_P within a source directory, because that will
   2592     # break other packages using the cache if that directory is
   2593     # removed, or if the value is a relative name.
   2594     MKDIR_P="$ac_install_sh -d"
   2595   fi
   2596 fi
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2598 $as_echo "$MKDIR_P" >&6; }
   2599 
   2600 mkdir_p="$MKDIR_P"
   2601 case $mkdir_p in
   2602   [\\/$]* | ?:[\\/]*) ;;
   2603   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2604 esac
   2605 
   2606 for ac_prog in gawk mawk nawk awk
   2607 do
   2608   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2609 set dummy $ac_prog; ac_word=$2
   2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2611 $as_echo_n "checking for $ac_word... " >&6; }
   2612 if ${ac_cv_prog_AWK+:} false; then :
   2613   $as_echo_n "(cached) " >&6
   2614 else
   2615   if test -n "$AWK"; then
   2616   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2617 else
   2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2619 for as_dir in $PATH
   2620 do
   2621   IFS=$as_save_IFS
   2622   test -z "$as_dir" && as_dir=.
   2623     for ac_exec_ext in '' $ac_executable_extensions; do
   2624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2625     ac_cv_prog_AWK="$ac_prog"
   2626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2627     break 2
   2628   fi
   2629 done
   2630   done
   2631 IFS=$as_save_IFS
   2632 
   2633 fi
   2634 fi
   2635 AWK=$ac_cv_prog_AWK
   2636 if test -n "$AWK"; then
   2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2638 $as_echo "$AWK" >&6; }
   2639 else
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2641 $as_echo "no" >&6; }
   2642 fi
   2643 
   2644 
   2645   test -n "$AWK" && break
   2646 done
   2647 
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2650 set x ${MAKE-make}
   2651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2652 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2653   $as_echo_n "(cached) " >&6
   2654 else
   2655   cat >conftest.make <<\_ACEOF
   2656 SHELL = /bin/sh
   2657 all:
   2658 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2659 _ACEOF
   2660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2662   *@@@%%%=?*=@@@%%%*)
   2663     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2664   *)
   2665     eval ac_cv_prog_make_${ac_make}_set=no;;
   2666 esac
   2667 rm -f conftest.make
   2668 fi
   2669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2671 $as_echo "yes" >&6; }
   2672   SET_MAKE=
   2673 else
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2675 $as_echo "no" >&6; }
   2676   SET_MAKE="MAKE=${MAKE-make}"
   2677 fi
   2678 
   2679 rm -rf .tst 2>/dev/null
   2680 mkdir .tst 2>/dev/null
   2681 if test -d .tst; then
   2682   am__leading_dot=.
   2683 else
   2684   am__leading_dot=_
   2685 fi
   2686 rmdir .tst 2>/dev/null
   2687 
   2688 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2689   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2690   # is not polluted with repeated "-I."
   2691   am__isrc=' -I$(srcdir)'
   2692   # test to see if srcdir already configured
   2693   if test -f $srcdir/config.status; then
   2694     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2695   fi
   2696 fi
   2697 
   2698 # test whether we have cygpath
   2699 if test -z "$CYGPATH_W"; then
   2700   if (cygpath --version) >/dev/null 2>/dev/null; then
   2701     CYGPATH_W='cygpath -w'
   2702   else
   2703     CYGPATH_W=echo
   2704   fi
   2705 fi
   2706 
   2707 
   2708 # Define the identity of the package.
   2709  PACKAGE='gtest'
   2710  VERSION='1.4.0'
   2711 
   2712 
   2713 cat >>confdefs.h <<_ACEOF
   2714 #define PACKAGE "$PACKAGE"
   2715 _ACEOF
   2716 
   2717 
   2718 cat >>confdefs.h <<_ACEOF
   2719 #define VERSION "$VERSION"
   2720 _ACEOF
   2721 
   2722 # Some tools Automake needs.
   2723 
   2724 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2725 
   2726 
   2727 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2728 
   2729 
   2730 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2731 
   2732 
   2733 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2734 
   2735 
   2736 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2737 
   2738 # We need awk for the "check" target.  The system "awk" is bad on
   2739 # some platforms.
   2740 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2741 # in the wild :-(  We should find a proper way to deprecate it ...
   2742 AMTAR='$${TAR-tar}'
   2743 
   2744 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2745 
   2746 
   2747 
   2748 
   2749 
   2750 
   2751 # Check for programs used in building Google Test.
   2752 ac_ext=c
   2753 ac_cpp='$CPP $CPPFLAGS'
   2754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2757 if test -n "$ac_tool_prefix"; then
   2758   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2761 $as_echo_n "checking for $ac_word... " >&6; }
   2762 if ${ac_cv_prog_CC+:} false; then :
   2763   $as_echo_n "(cached) " >&6
   2764 else
   2765   if test -n "$CC"; then
   2766   ac_cv_prog_CC="$CC" # Let the user override the test.
   2767 else
   2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2769 for as_dir in $PATH
   2770 do
   2771   IFS=$as_save_IFS
   2772   test -z "$as_dir" && as_dir=.
   2773     for ac_exec_ext in '' $ac_executable_extensions; do
   2774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2775     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2777     break 2
   2778   fi
   2779 done
   2780   done
   2781 IFS=$as_save_IFS
   2782 
   2783 fi
   2784 fi
   2785 CC=$ac_cv_prog_CC
   2786 if test -n "$CC"; then
   2787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2788 $as_echo "$CC" >&6; }
   2789 else
   2790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2791 $as_echo "no" >&6; }
   2792 fi
   2793 
   2794 
   2795 fi
   2796 if test -z "$ac_cv_prog_CC"; then
   2797   ac_ct_CC=$CC
   2798   # Extract the first word of "gcc", so it can be a program name with args.
   2799 set dummy gcc; ac_word=$2
   2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2801 $as_echo_n "checking for $ac_word... " >&6; }
   2802 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2803   $as_echo_n "(cached) " >&6
   2804 else
   2805   if test -n "$ac_ct_CC"; then
   2806   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2807 else
   2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2809 for as_dir in $PATH
   2810 do
   2811   IFS=$as_save_IFS
   2812   test -z "$as_dir" && as_dir=.
   2813     for ac_exec_ext in '' $ac_executable_extensions; do
   2814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2815     ac_cv_prog_ac_ct_CC="gcc"
   2816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2817     break 2
   2818   fi
   2819 done
   2820   done
   2821 IFS=$as_save_IFS
   2822 
   2823 fi
   2824 fi
   2825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2826 if test -n "$ac_ct_CC"; then
   2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2828 $as_echo "$ac_ct_CC" >&6; }
   2829 else
   2830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2831 $as_echo "no" >&6; }
   2832 fi
   2833 
   2834   if test "x$ac_ct_CC" = x; then
   2835     CC=""
   2836   else
   2837     case $cross_compiling:$ac_tool_warned in
   2838 yes:)
   2839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2841 ac_tool_warned=yes ;;
   2842 esac
   2843     CC=$ac_ct_CC
   2844   fi
   2845 else
   2846   CC="$ac_cv_prog_CC"
   2847 fi
   2848 
   2849 if test -z "$CC"; then
   2850           if test -n "$ac_tool_prefix"; then
   2851     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2852 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2854 $as_echo_n "checking for $ac_word... " >&6; }
   2855 if ${ac_cv_prog_CC+:} false; then :
   2856   $as_echo_n "(cached) " >&6
   2857 else
   2858   if test -n "$CC"; then
   2859   ac_cv_prog_CC="$CC" # Let the user override the test.
   2860 else
   2861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2862 for as_dir in $PATH
   2863 do
   2864   IFS=$as_save_IFS
   2865   test -z "$as_dir" && as_dir=.
   2866     for ac_exec_ext in '' $ac_executable_extensions; do
   2867   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2868     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2869     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2870     break 2
   2871   fi
   2872 done
   2873   done
   2874 IFS=$as_save_IFS
   2875 
   2876 fi
   2877 fi
   2878 CC=$ac_cv_prog_CC
   2879 if test -n "$CC"; then
   2880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2881 $as_echo "$CC" >&6; }
   2882 else
   2883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2884 $as_echo "no" >&6; }
   2885 fi
   2886 
   2887 
   2888   fi
   2889 fi
   2890 if test -z "$CC"; then
   2891   # Extract the first word of "cc", so it can be a program name with args.
   2892 set dummy cc; ac_word=$2
   2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2894 $as_echo_n "checking for $ac_word... " >&6; }
   2895 if ${ac_cv_prog_CC+:} false; then :
   2896   $as_echo_n "(cached) " >&6
   2897 else
   2898   if test -n "$CC"; then
   2899   ac_cv_prog_CC="$CC" # Let the user override the test.
   2900 else
   2901   ac_prog_rejected=no
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2910        ac_prog_rejected=yes
   2911        continue
   2912      fi
   2913     ac_cv_prog_CC="cc"
   2914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2915     break 2
   2916   fi
   2917 done
   2918   done
   2919 IFS=$as_save_IFS
   2920 
   2921 if test $ac_prog_rejected = yes; then
   2922   # We found a bogon in the path, so make sure we never use it.
   2923   set dummy $ac_cv_prog_CC
   2924   shift
   2925   if test $# != 0; then
   2926     # We chose a different compiler from the bogus one.
   2927     # However, it has the same basename, so the bogon will be chosen
   2928     # first if we set CC to just the basename; use the full file name.
   2929     shift
   2930     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2931   fi
   2932 fi
   2933 fi
   2934 fi
   2935 CC=$ac_cv_prog_CC
   2936 if test -n "$CC"; then
   2937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2938 $as_echo "$CC" >&6; }
   2939 else
   2940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2941 $as_echo "no" >&6; }
   2942 fi
   2943 
   2944 
   2945 fi
   2946 if test -z "$CC"; then
   2947   if test -n "$ac_tool_prefix"; then
   2948   for ac_prog in cl.exe
   2949   do
   2950     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2951 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2953 $as_echo_n "checking for $ac_word... " >&6; }
   2954 if ${ac_cv_prog_CC+:} false; then :
   2955   $as_echo_n "(cached) " >&6
   2956 else
   2957   if test -n "$CC"; then
   2958   ac_cv_prog_CC="$CC" # Let the user override the test.
   2959 else
   2960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2961 for as_dir in $PATH
   2962 do
   2963   IFS=$as_save_IFS
   2964   test -z "$as_dir" && as_dir=.
   2965     for ac_exec_ext in '' $ac_executable_extensions; do
   2966   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2967     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2969     break 2
   2970   fi
   2971 done
   2972   done
   2973 IFS=$as_save_IFS
   2974 
   2975 fi
   2976 fi
   2977 CC=$ac_cv_prog_CC
   2978 if test -n "$CC"; then
   2979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2980 $as_echo "$CC" >&6; }
   2981 else
   2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2983 $as_echo "no" >&6; }
   2984 fi
   2985 
   2986 
   2987     test -n "$CC" && break
   2988   done
   2989 fi
   2990 if test -z "$CC"; then
   2991   ac_ct_CC=$CC
   2992   for ac_prog in cl.exe
   2993 do
   2994   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2995 set dummy $ac_prog; ac_word=$2
   2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2997 $as_echo_n "checking for $ac_word... " >&6; }
   2998 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2999   $as_echo_n "(cached) " >&6
   3000 else
   3001   if test -n "$ac_ct_CC"; then
   3002   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3003 else
   3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3005 for as_dir in $PATH
   3006 do
   3007   IFS=$as_save_IFS
   3008   test -z "$as_dir" && as_dir=.
   3009     for ac_exec_ext in '' $ac_executable_extensions; do
   3010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3011     ac_cv_prog_ac_ct_CC="$ac_prog"
   3012     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3013     break 2
   3014   fi
   3015 done
   3016   done
   3017 IFS=$as_save_IFS
   3018 
   3019 fi
   3020 fi
   3021 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3022 if test -n "$ac_ct_CC"; then
   3023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3024 $as_echo "$ac_ct_CC" >&6; }
   3025 else
   3026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3027 $as_echo "no" >&6; }
   3028 fi
   3029 
   3030 
   3031   test -n "$ac_ct_CC" && break
   3032 done
   3033 
   3034   if test "x$ac_ct_CC" = x; then
   3035     CC=""
   3036   else
   3037     case $cross_compiling:$ac_tool_warned in
   3038 yes:)
   3039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3041 ac_tool_warned=yes ;;
   3042 esac
   3043     CC=$ac_ct_CC
   3044   fi
   3045 fi
   3046 
   3047 fi
   3048 
   3049 
   3050 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3052 as_fn_error $? "no acceptable C compiler found in \$PATH
   3053 See \`config.log' for more details" "$LINENO" 5; }
   3054 
   3055 # Provide some information about the compiler.
   3056 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3057 set X $ac_compile
   3058 ac_compiler=$2
   3059 for ac_option in --version -v -V -qversion; do
   3060   { { ac_try="$ac_compiler $ac_option >&5"
   3061 case "(($ac_try" in
   3062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3063   *) ac_try_echo=$ac_try;;
   3064 esac
   3065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3066 $as_echo "$ac_try_echo"; } >&5
   3067   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3068   ac_status=$?
   3069   if test -s conftest.err; then
   3070     sed '10a\
   3071 ... rest of stderr output deleted ...
   3072          10q' conftest.err >conftest.er1
   3073     cat conftest.er1 >&5
   3074   fi
   3075   rm -f conftest.er1 conftest.err
   3076   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3077   test $ac_status = 0; }
   3078 done
   3079 
   3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3081 /* end confdefs.h.  */
   3082 
   3083 int
   3084 main ()
   3085 {
   3086 
   3087   ;
   3088   return 0;
   3089 }
   3090 _ACEOF
   3091 ac_clean_files_save=$ac_clean_files
   3092 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3093 # Try to create an executable without -o first, disregard a.out.
   3094 # It will help us diagnose broken compilers, and finding out an intuition
   3095 # of exeext.
   3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3097 $as_echo_n "checking whether the C compiler works... " >&6; }
   3098 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3099 
   3100 # The possible output files:
   3101 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3102 
   3103 ac_rmfiles=
   3104 for ac_file in $ac_files
   3105 do
   3106   case $ac_file in
   3107     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3108     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3109   esac
   3110 done
   3111 rm -f $ac_rmfiles
   3112 
   3113 if { { ac_try="$ac_link_default"
   3114 case "(($ac_try" in
   3115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3116   *) ac_try_echo=$ac_try;;
   3117 esac
   3118 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3119 $as_echo "$ac_try_echo"; } >&5
   3120   (eval "$ac_link_default") 2>&5
   3121   ac_status=$?
   3122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3123   test $ac_status = 0; }; then :
   3124   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3125 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3126 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3127 # so that the user can short-circuit this test for compilers unknown to
   3128 # Autoconf.
   3129 for ac_file in $ac_files ''
   3130 do
   3131   test -f "$ac_file" || continue
   3132   case $ac_file in
   3133     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3134 	;;
   3135     [ab].out )
   3136 	# We found the default executable, but exeext='' is most
   3137 	# certainly right.
   3138 	break;;
   3139     *.* )
   3140 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3141 	then :; else
   3142 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3143 	fi
   3144 	# We set ac_cv_exeext here because the later test for it is not
   3145 	# safe: cross compilers may not add the suffix if given an `-o'
   3146 	# argument, so we may need to know it at that point already.
   3147 	# Even if this section looks crufty: it has the advantage of
   3148 	# actually working.
   3149 	break;;
   3150     * )
   3151 	break;;
   3152   esac
   3153 done
   3154 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3155 
   3156 else
   3157   ac_file=''
   3158 fi
   3159 if test -z "$ac_file"; then :
   3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3161 $as_echo "no" >&6; }
   3162 $as_echo "$as_me: failed program was:" >&5
   3163 sed 's/^/| /' conftest.$ac_ext >&5
   3164 
   3165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3167 as_fn_error 77 "C compiler cannot create executables
   3168 See \`config.log' for more details" "$LINENO" 5; }
   3169 else
   3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3171 $as_echo "yes" >&6; }
   3172 fi
   3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3174 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3176 $as_echo "$ac_file" >&6; }
   3177 ac_exeext=$ac_cv_exeext
   3178 
   3179 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3180 ac_clean_files=$ac_clean_files_save
   3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3182 $as_echo_n "checking for suffix of executables... " >&6; }
   3183 if { { ac_try="$ac_link"
   3184 case "(($ac_try" in
   3185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3186   *) ac_try_echo=$ac_try;;
   3187 esac
   3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3189 $as_echo "$ac_try_echo"; } >&5
   3190   (eval "$ac_link") 2>&5
   3191   ac_status=$?
   3192   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3193   test $ac_status = 0; }; then :
   3194   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3195 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3196 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3197 # `rm'.
   3198 for ac_file in conftest.exe conftest conftest.*; do
   3199   test -f "$ac_file" || continue
   3200   case $ac_file in
   3201     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3202     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3203 	  break;;
   3204     * ) break;;
   3205   esac
   3206 done
   3207 else
   3208   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3210 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3211 See \`config.log' for more details" "$LINENO" 5; }
   3212 fi
   3213 rm -f conftest conftest$ac_cv_exeext
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3215 $as_echo "$ac_cv_exeext" >&6; }
   3216 
   3217 rm -f conftest.$ac_ext
   3218 EXEEXT=$ac_cv_exeext
   3219 ac_exeext=$EXEEXT
   3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3221 /* end confdefs.h.  */
   3222 #include <stdio.h>
   3223 int
   3224 main ()
   3225 {
   3226 FILE *f = fopen ("conftest.out", "w");
   3227  return ferror (f) || fclose (f) != 0;
   3228 
   3229   ;
   3230   return 0;
   3231 }
   3232 _ACEOF
   3233 ac_clean_files="$ac_clean_files conftest.out"
   3234 # Check that the compiler produces executables we can run.  If not, either
   3235 # the compiler is broken, or we cross compile.
   3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3237 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3238 if test "$cross_compiling" != yes; then
   3239   { { ac_try="$ac_link"
   3240 case "(($ac_try" in
   3241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3242   *) ac_try_echo=$ac_try;;
   3243 esac
   3244 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3245 $as_echo "$ac_try_echo"; } >&5
   3246   (eval "$ac_link") 2>&5
   3247   ac_status=$?
   3248   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3249   test $ac_status = 0; }
   3250   if { ac_try='./conftest$ac_cv_exeext'
   3251   { { case "(($ac_try" in
   3252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3253   *) ac_try_echo=$ac_try;;
   3254 esac
   3255 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3256 $as_echo "$ac_try_echo"; } >&5
   3257   (eval "$ac_try") 2>&5
   3258   ac_status=$?
   3259   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3260   test $ac_status = 0; }; }; then
   3261     cross_compiling=no
   3262   else
   3263     if test "$cross_compiling" = maybe; then
   3264 	cross_compiling=yes
   3265     else
   3266 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3268 as_fn_error $? "cannot run C compiled programs.
   3269 If you meant to cross compile, use \`--host'.
   3270 See \`config.log' for more details" "$LINENO" 5; }
   3271     fi
   3272   fi
   3273 fi
   3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3275 $as_echo "$cross_compiling" >&6; }
   3276 
   3277 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3278 ac_clean_files=$ac_clean_files_save
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3280 $as_echo_n "checking for suffix of object files... " >&6; }
   3281 if ${ac_cv_objext+:} false; then :
   3282   $as_echo_n "(cached) " >&6
   3283 else
   3284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3285 /* end confdefs.h.  */
   3286 
   3287 int
   3288 main ()
   3289 {
   3290 
   3291   ;
   3292   return 0;
   3293 }
   3294 _ACEOF
   3295 rm -f conftest.o conftest.obj
   3296 if { { ac_try="$ac_compile"
   3297 case "(($ac_try" in
   3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3299   *) ac_try_echo=$ac_try;;
   3300 esac
   3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3302 $as_echo "$ac_try_echo"; } >&5
   3303   (eval "$ac_compile") 2>&5
   3304   ac_status=$?
   3305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3306   test $ac_status = 0; }; then :
   3307   for ac_file in conftest.o conftest.obj conftest.*; do
   3308   test -f "$ac_file" || continue;
   3309   case $ac_file in
   3310     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3311     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3312        break;;
   3313   esac
   3314 done
   3315 else
   3316   $as_echo "$as_me: failed program was:" >&5
   3317 sed 's/^/| /' conftest.$ac_ext >&5
   3318 
   3319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3321 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3322 See \`config.log' for more details" "$LINENO" 5; }
   3323 fi
   3324 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3325 fi
   3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3327 $as_echo "$ac_cv_objext" >&6; }
   3328 OBJEXT=$ac_cv_objext
   3329 ac_objext=$OBJEXT
   3330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3331 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3332 if ${ac_cv_c_compiler_gnu+:} false; then :
   3333   $as_echo_n "(cached) " >&6
   3334 else
   3335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3336 /* end confdefs.h.  */
   3337 
   3338 int
   3339 main ()
   3340 {
   3341 #ifndef __GNUC__
   3342        choke me
   3343 #endif
   3344 
   3345   ;
   3346   return 0;
   3347 }
   3348 _ACEOF
   3349 if ac_fn_c_try_compile "$LINENO"; then :
   3350   ac_compiler_gnu=yes
   3351 else
   3352   ac_compiler_gnu=no
   3353 fi
   3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3356 
   3357 fi
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3359 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3360 if test $ac_compiler_gnu = yes; then
   3361   GCC=yes
   3362 else
   3363   GCC=
   3364 fi
   3365 ac_test_CFLAGS=${CFLAGS+set}
   3366 ac_save_CFLAGS=$CFLAGS
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3368 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3369 if ${ac_cv_prog_cc_g+:} false; then :
   3370   $as_echo_n "(cached) " >&6
   3371 else
   3372   ac_save_c_werror_flag=$ac_c_werror_flag
   3373    ac_c_werror_flag=yes
   3374    ac_cv_prog_cc_g=no
   3375    CFLAGS="-g"
   3376    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 if ac_fn_c_try_compile "$LINENO"; then :
   3388   ac_cv_prog_cc_g=yes
   3389 else
   3390   CFLAGS=""
   3391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3392 /* end confdefs.h.  */
   3393 
   3394 int
   3395 main ()
   3396 {
   3397 
   3398   ;
   3399   return 0;
   3400 }
   3401 _ACEOF
   3402 if ac_fn_c_try_compile "$LINENO"; then :
   3403 
   3404 else
   3405   ac_c_werror_flag=$ac_save_c_werror_flag
   3406 	 CFLAGS="-g"
   3407 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3408 /* end confdefs.h.  */
   3409 
   3410 int
   3411 main ()
   3412 {
   3413 
   3414   ;
   3415   return 0;
   3416 }
   3417 _ACEOF
   3418 if ac_fn_c_try_compile "$LINENO"; then :
   3419   ac_cv_prog_cc_g=yes
   3420 fi
   3421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3422 fi
   3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3424 fi
   3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3426    ac_c_werror_flag=$ac_save_c_werror_flag
   3427 fi
   3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3429 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3430 if test "$ac_test_CFLAGS" = set; then
   3431   CFLAGS=$ac_save_CFLAGS
   3432 elif test $ac_cv_prog_cc_g = yes; then
   3433   if test "$GCC" = yes; then
   3434     CFLAGS="-g -O2"
   3435   else
   3436     CFLAGS="-g"
   3437   fi
   3438 else
   3439   if test "$GCC" = yes; then
   3440     CFLAGS="-O2"
   3441   else
   3442     CFLAGS=
   3443   fi
   3444 fi
   3445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3446 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3447 if ${ac_cv_prog_cc_c89+:} false; then :
   3448   $as_echo_n "(cached) " >&6
   3449 else
   3450   ac_cv_prog_cc_c89=no
   3451 ac_save_CC=$CC
   3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3453 /* end confdefs.h.  */
   3454 #include <stdarg.h>
   3455 #include <stdio.h>
   3456 #include <sys/types.h>
   3457 #include <sys/stat.h>
   3458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3459 struct buf { int x; };
   3460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3461 static char *e (p, i)
   3462      char **p;
   3463      int i;
   3464 {
   3465   return p[i];
   3466 }
   3467 static char *f (char * (*g) (char **, int), char **p, ...)
   3468 {
   3469   char *s;
   3470   va_list v;
   3471   va_start (v,p);
   3472   s = g (p, va_arg (v,int));
   3473   va_end (v);
   3474   return s;
   3475 }
   3476 
   3477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3478    function prototypes and stuff, but not '\xHH' hex character constants.
   3479    These don't provoke an error unfortunately, instead are silently treated
   3480    as 'x'.  The following induces an error, until -std is added to get
   3481    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3482    array size at least.  It's necessary to write '\x00'==0 to get something
   3483    that's true only with -std.  */
   3484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3485 
   3486 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3487    inside strings and character constants.  */
   3488 #define FOO(x) 'x'
   3489 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3490 
   3491 int test (int i, double x);
   3492 struct s1 {int (*f) (int a);};
   3493 struct s2 {int (*f) (double a);};
   3494 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3495 int argc;
   3496 char **argv;
   3497 int
   3498 main ()
   3499 {
   3500 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3506 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3507 do
   3508   CC="$ac_save_CC $ac_arg"
   3509   if ac_fn_c_try_compile "$LINENO"; then :
   3510   ac_cv_prog_cc_c89=$ac_arg
   3511 fi
   3512 rm -f core conftest.err conftest.$ac_objext
   3513   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3514 done
   3515 rm -f conftest.$ac_ext
   3516 CC=$ac_save_CC
   3517 
   3518 fi
   3519 # AC_CACHE_VAL
   3520 case "x$ac_cv_prog_cc_c89" in
   3521   x)
   3522     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3523 $as_echo "none needed" >&6; } ;;
   3524   xno)
   3525     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3526 $as_echo "unsupported" >&6; } ;;
   3527   *)
   3528     CC="$CC $ac_cv_prog_cc_c89"
   3529     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3530 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3531 esac
   3532 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3533 
   3534 fi
   3535 
   3536 ac_ext=c
   3537 ac_cpp='$CPP $CPPFLAGS'
   3538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3541 DEPDIR="${am__leading_dot}deps"
   3542 
   3543 ac_config_commands="$ac_config_commands depfiles"
   3544 
   3545 
   3546 am_make=${MAKE-make}
   3547 cat > confinc << 'END'
   3548 am__doit:
   3549 	@echo this is the am__doit target
   3550 .PHONY: am__doit
   3551 END
   3552 # If we don't find an include directive, just comment out the code.
   3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3554 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3555 am__include="#"
   3556 am__quote=
   3557 _am_result=none
   3558 # First try GNU make style include.
   3559 echo "include confinc" > confmf
   3560 # Ignore all kinds of additional output from `make'.
   3561 case `$am_make -s -f confmf 2> /dev/null` in #(
   3562 *the\ am__doit\ target*)
   3563   am__include=include
   3564   am__quote=
   3565   _am_result=GNU
   3566   ;;
   3567 esac
   3568 # Now try BSD make style include.
   3569 if test "$am__include" = "#"; then
   3570    echo '.include "confinc"' > confmf
   3571    case `$am_make -s -f confmf 2> /dev/null` in #(
   3572    *the\ am__doit\ target*)
   3573      am__include=.include
   3574      am__quote="\""
   3575      _am_result=BSD
   3576      ;;
   3577    esac
   3578 fi
   3579 
   3580 
   3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3582 $as_echo "$_am_result" >&6; }
   3583 rm -f confinc confmf
   3584 
   3585 # Check whether --enable-dependency-tracking was given.
   3586 if test "${enable_dependency_tracking+set}" = set; then :
   3587   enableval=$enable_dependency_tracking;
   3588 fi
   3589 
   3590 if test "x$enable_dependency_tracking" != xno; then
   3591   am_depcomp="$ac_aux_dir/depcomp"
   3592   AMDEPBACKSLASH='\'
   3593   am__nodep='_no'
   3594 fi
   3595  if test "x$enable_dependency_tracking" != xno; then
   3596   AMDEP_TRUE=
   3597   AMDEP_FALSE='#'
   3598 else
   3599   AMDEP_TRUE='#'
   3600   AMDEP_FALSE=
   3601 fi
   3602 
   3603 
   3604 
   3605 depcc="$CC"   am_compiler_list=
   3606 
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3608 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3609 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3610   $as_echo_n "(cached) " >&6
   3611 else
   3612   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3613   # We make a subdir and do the tests there.  Otherwise we can end up
   3614   # making bogus files that we don't know about and never remove.  For
   3615   # instance it was reported that on HP-UX the gcc test will end up
   3616   # making a dummy file named `D' -- because `-MD' means `put the output
   3617   # in D'.
   3618   rm -rf conftest.dir
   3619   mkdir conftest.dir
   3620   # Copy depcomp to subdir because otherwise we won't find it if we're
   3621   # using a relative directory.
   3622   cp "$am_depcomp" conftest.dir
   3623   cd conftest.dir
   3624   # We will build objects and dependencies in a subdirectory because
   3625   # it helps to detect inapplicable dependency modes.  For instance
   3626   # both Tru64's cc and ICC support -MD to output dependencies as a
   3627   # side effect of compilation, but ICC will put the dependencies in
   3628   # the current directory while Tru64 will put them in the object
   3629   # directory.
   3630   mkdir sub
   3631 
   3632   am_cv_CC_dependencies_compiler_type=none
   3633   if test "$am_compiler_list" = ""; then
   3634      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3635   fi
   3636   am__universal=false
   3637   case " $depcc " in #(
   3638      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3639      esac
   3640 
   3641   for depmode in $am_compiler_list; do
   3642     # Setup a source with many dependencies, because some compilers
   3643     # like to wrap large dependency lists on column 80 (with \), and
   3644     # we should not choose a depcomp mode which is confused by this.
   3645     #
   3646     # We need to recreate these files for each test, as the compiler may
   3647     # overwrite some of them when testing with obscure command lines.
   3648     # This happens at least with the AIX C compiler.
   3649     : > sub/conftest.c
   3650     for i in 1 2 3 4 5 6; do
   3651       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3652       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3653       # Solaris 8's {/usr,}/bin/sh.
   3654       touch sub/conftst$i.h
   3655     done
   3656     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3657 
   3658     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3659     # mode.  It turns out that the SunPro C++ compiler does not properly
   3660     # handle `-M -o', and we need to detect this.  Also, some Intel
   3661     # versions had trouble with output in subdirs
   3662     am__obj=sub/conftest.${OBJEXT-o}
   3663     am__minus_obj="-o $am__obj"
   3664     case $depmode in
   3665     gcc)
   3666       # This depmode causes a compiler race in universal mode.
   3667       test "$am__universal" = false || continue
   3668       ;;
   3669     nosideeffect)
   3670       # after this tag, mechanisms are not by side-effect, so they'll
   3671       # only be used when explicitly requested
   3672       if test "x$enable_dependency_tracking" = xyes; then
   3673 	continue
   3674       else
   3675 	break
   3676       fi
   3677       ;;
   3678     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3679       # This compiler won't grok `-c -o', but also, the minuso test has
   3680       # not run yet.  These depmodes are late enough in the game, and
   3681       # so weak that their functioning should not be impacted.
   3682       am__obj=conftest.${OBJEXT-o}
   3683       am__minus_obj=
   3684       ;;
   3685     none) break ;;
   3686     esac
   3687     if depmode=$depmode \
   3688        source=sub/conftest.c object=$am__obj \
   3689        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3690        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3691          >/dev/null 2>conftest.err &&
   3692        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3693        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3694        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3695        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3696       # icc doesn't choke on unknown options, it will just issue warnings
   3697       # or remarks (even with -Werror).  So we grep stderr for any message
   3698       # that says an option was ignored or not supported.
   3699       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3700       #   icc: Command line warning: ignoring option '-M'; no argument required
   3701       # The diagnosis changed in icc 8.0:
   3702       #   icc: Command line remark: option '-MP' not supported
   3703       if (grep 'ignoring option' conftest.err ||
   3704           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3705         am_cv_CC_dependencies_compiler_type=$depmode
   3706         break
   3707       fi
   3708     fi
   3709   done
   3710 
   3711   cd ..
   3712   rm -rf conftest.dir
   3713 else
   3714   am_cv_CC_dependencies_compiler_type=none
   3715 fi
   3716 
   3717 fi
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3719 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3720 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3721 
   3722  if
   3723   test "x$enable_dependency_tracking" != xno \
   3724   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3725   am__fastdepCC_TRUE=
   3726   am__fastdepCC_FALSE='#'
   3727 else
   3728   am__fastdepCC_TRUE='#'
   3729   am__fastdepCC_FALSE=
   3730 fi
   3731 
   3732 
   3733 ac_ext=cpp
   3734 ac_cpp='$CXXCPP $CPPFLAGS'
   3735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3738 if test -z "$CXX"; then
   3739   if test -n "$CCC"; then
   3740     CXX=$CCC
   3741   else
   3742     if test -n "$ac_tool_prefix"; then
   3743   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3744   do
   3745     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3746 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3748 $as_echo_n "checking for $ac_word... " >&6; }
   3749 if ${ac_cv_prog_CXX+:} false; then :
   3750   $as_echo_n "(cached) " >&6
   3751 else
   3752   if test -n "$CXX"; then
   3753   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3754 else
   3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3756 for as_dir in $PATH
   3757 do
   3758   IFS=$as_save_IFS
   3759   test -z "$as_dir" && as_dir=.
   3760     for ac_exec_ext in '' $ac_executable_extensions; do
   3761   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3762     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3764     break 2
   3765   fi
   3766 done
   3767   done
   3768 IFS=$as_save_IFS
   3769 
   3770 fi
   3771 fi
   3772 CXX=$ac_cv_prog_CXX
   3773 if test -n "$CXX"; then
   3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   3775 $as_echo "$CXX" >&6; }
   3776 else
   3777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3778 $as_echo "no" >&6; }
   3779 fi
   3780 
   3781 
   3782     test -n "$CXX" && break
   3783   done
   3784 fi
   3785 if test -z "$CXX"; then
   3786   ac_ct_CXX=$CXX
   3787   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3788 do
   3789   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3790 set dummy $ac_prog; ac_word=$2
   3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3792 $as_echo_n "checking for $ac_word... " >&6; }
   3793 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   3794   $as_echo_n "(cached) " >&6
   3795 else
   3796   if test -n "$ac_ct_CXX"; then
   3797   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3798 else
   3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3800 for as_dir in $PATH
   3801 do
   3802   IFS=$as_save_IFS
   3803   test -z "$as_dir" && as_dir=.
   3804     for ac_exec_ext in '' $ac_executable_extensions; do
   3805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3806     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3808     break 2
   3809   fi
   3810 done
   3811   done
   3812 IFS=$as_save_IFS
   3813 
   3814 fi
   3815 fi
   3816 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3817 if test -n "$ac_ct_CXX"; then
   3818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   3819 $as_echo "$ac_ct_CXX" >&6; }
   3820 else
   3821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3822 $as_echo "no" >&6; }
   3823 fi
   3824 
   3825 
   3826   test -n "$ac_ct_CXX" && break
   3827 done
   3828 
   3829   if test "x$ac_ct_CXX" = x; then
   3830     CXX="g++"
   3831   else
   3832     case $cross_compiling:$ac_tool_warned in
   3833 yes:)
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3836 ac_tool_warned=yes ;;
   3837 esac
   3838     CXX=$ac_ct_CXX
   3839   fi
   3840 fi
   3841 
   3842   fi
   3843 fi
   3844 # Provide some information about the compiler.
   3845 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   3846 set X $ac_compile
   3847 ac_compiler=$2
   3848 for ac_option in --version -v -V -qversion; do
   3849   { { ac_try="$ac_compiler $ac_option >&5"
   3850 case "(($ac_try" in
   3851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3852   *) ac_try_echo=$ac_try;;
   3853 esac
   3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3855 $as_echo "$ac_try_echo"; } >&5
   3856   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3857   ac_status=$?
   3858   if test -s conftest.err; then
   3859     sed '10a\
   3860 ... rest of stderr output deleted ...
   3861          10q' conftest.err >conftest.er1
   3862     cat conftest.er1 >&5
   3863   fi
   3864   rm -f conftest.er1 conftest.err
   3865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3866   test $ac_status = 0; }
   3867 done
   3868 
   3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   3870 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   3871 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   3872   $as_echo_n "(cached) " >&6
   3873 else
   3874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3875 /* end confdefs.h.  */
   3876 
   3877 int
   3878 main ()
   3879 {
   3880 #ifndef __GNUC__
   3881        choke me
   3882 #endif
   3883 
   3884   ;
   3885   return 0;
   3886 }
   3887 _ACEOF
   3888 if ac_fn_cxx_try_compile "$LINENO"; then :
   3889   ac_compiler_gnu=yes
   3890 else
   3891   ac_compiler_gnu=no
   3892 fi
   3893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3894 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3895 
   3896 fi
   3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   3898 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   3899 if test $ac_compiler_gnu = yes; then
   3900   GXX=yes
   3901 else
   3902   GXX=
   3903 fi
   3904 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3905 ac_save_CXXFLAGS=$CXXFLAGS
   3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   3907 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   3908 if ${ac_cv_prog_cxx_g+:} false; then :
   3909   $as_echo_n "(cached) " >&6
   3910 else
   3911   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3912    ac_cxx_werror_flag=yes
   3913    ac_cv_prog_cxx_g=no
   3914    CXXFLAGS="-g"
   3915    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3916 /* end confdefs.h.  */
   3917 
   3918 int
   3919 main ()
   3920 {
   3921 
   3922   ;
   3923   return 0;
   3924 }
   3925 _ACEOF
   3926 if ac_fn_cxx_try_compile "$LINENO"; then :
   3927   ac_cv_prog_cxx_g=yes
   3928 else
   3929   CXXFLAGS=""
   3930       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3931 /* end confdefs.h.  */
   3932 
   3933 int
   3934 main ()
   3935 {
   3936 
   3937   ;
   3938   return 0;
   3939 }
   3940 _ACEOF
   3941 if ac_fn_cxx_try_compile "$LINENO"; then :
   3942 
   3943 else
   3944   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3945 	 CXXFLAGS="-g"
   3946 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3947 /* end confdefs.h.  */
   3948 
   3949 int
   3950 main ()
   3951 {
   3952 
   3953   ;
   3954   return 0;
   3955 }
   3956 _ACEOF
   3957 if ac_fn_cxx_try_compile "$LINENO"; then :
   3958   ac_cv_prog_cxx_g=yes
   3959 fi
   3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3961 fi
   3962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3963 fi
   3964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3965    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3966 fi
   3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   3968 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   3969 if test "$ac_test_CXXFLAGS" = set; then
   3970   CXXFLAGS=$ac_save_CXXFLAGS
   3971 elif test $ac_cv_prog_cxx_g = yes; then
   3972   if test "$GXX" = yes; then
   3973     CXXFLAGS="-g -O2"
   3974   else
   3975     CXXFLAGS="-g"
   3976   fi
   3977 else
   3978   if test "$GXX" = yes; then
   3979     CXXFLAGS="-O2"
   3980   else
   3981     CXXFLAGS=
   3982   fi
   3983 fi
   3984 ac_ext=c
   3985 ac_cpp='$CPP $CPPFLAGS'
   3986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3989 
   3990 depcc="$CXX"  am_compiler_list=
   3991 
   3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3993 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3994 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   3995   $as_echo_n "(cached) " >&6
   3996 else
   3997   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3998   # We make a subdir and do the tests there.  Otherwise we can end up
   3999   # making bogus files that we don't know about and never remove.  For
   4000   # instance it was reported that on HP-UX the gcc test will end up
   4001   # making a dummy file named `D' -- because `-MD' means `put the output
   4002   # in D'.
   4003   rm -rf conftest.dir
   4004   mkdir conftest.dir
   4005   # Copy depcomp to subdir because otherwise we won't find it if we're
   4006   # using a relative directory.
   4007   cp "$am_depcomp" conftest.dir
   4008   cd conftest.dir
   4009   # We will build objects and dependencies in a subdirectory because
   4010   # it helps to detect inapplicable dependency modes.  For instance
   4011   # both Tru64's cc and ICC support -MD to output dependencies as a
   4012   # side effect of compilation, but ICC will put the dependencies in
   4013   # the current directory while Tru64 will put them in the object
   4014   # directory.
   4015   mkdir sub
   4016 
   4017   am_cv_CXX_dependencies_compiler_type=none
   4018   if test "$am_compiler_list" = ""; then
   4019      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4020   fi
   4021   am__universal=false
   4022   case " $depcc " in #(
   4023      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4024      esac
   4025 
   4026   for depmode in $am_compiler_list; do
   4027     # Setup a source with many dependencies, because some compilers
   4028     # like to wrap large dependency lists on column 80 (with \), and
   4029     # we should not choose a depcomp mode which is confused by this.
   4030     #
   4031     # We need to recreate these files for each test, as the compiler may
   4032     # overwrite some of them when testing with obscure command lines.
   4033     # This happens at least with the AIX C compiler.
   4034     : > sub/conftest.c
   4035     for i in 1 2 3 4 5 6; do
   4036       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4037       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4038       # Solaris 8's {/usr,}/bin/sh.
   4039       touch sub/conftst$i.h
   4040     done
   4041     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4042 
   4043     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4044     # mode.  It turns out that the SunPro C++ compiler does not properly
   4045     # handle `-M -o', and we need to detect this.  Also, some Intel
   4046     # versions had trouble with output in subdirs
   4047     am__obj=sub/conftest.${OBJEXT-o}
   4048     am__minus_obj="-o $am__obj"
   4049     case $depmode in
   4050     gcc)
   4051       # This depmode causes a compiler race in universal mode.
   4052       test "$am__universal" = false || continue
   4053       ;;
   4054     nosideeffect)
   4055       # after this tag, mechanisms are not by side-effect, so they'll
   4056       # only be used when explicitly requested
   4057       if test "x$enable_dependency_tracking" = xyes; then
   4058 	continue
   4059       else
   4060 	break
   4061       fi
   4062       ;;
   4063     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4064       # This compiler won't grok `-c -o', but also, the minuso test has
   4065       # not run yet.  These depmodes are late enough in the game, and
   4066       # so weak that their functioning should not be impacted.
   4067       am__obj=conftest.${OBJEXT-o}
   4068       am__minus_obj=
   4069       ;;
   4070     none) break ;;
   4071     esac
   4072     if depmode=$depmode \
   4073        source=sub/conftest.c object=$am__obj \
   4074        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4075        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4076          >/dev/null 2>conftest.err &&
   4077        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4078        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4079        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4080        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4081       # icc doesn't choke on unknown options, it will just issue warnings
   4082       # or remarks (even with -Werror).  So we grep stderr for any message
   4083       # that says an option was ignored or not supported.
   4084       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4085       #   icc: Command line warning: ignoring option '-M'; no argument required
   4086       # The diagnosis changed in icc 8.0:
   4087       #   icc: Command line remark: option '-MP' not supported
   4088       if (grep 'ignoring option' conftest.err ||
   4089           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4090         am_cv_CXX_dependencies_compiler_type=$depmode
   4091         break
   4092       fi
   4093     fi
   4094   done
   4095 
   4096   cd ..
   4097   rm -rf conftest.dir
   4098 else
   4099   am_cv_CXX_dependencies_compiler_type=none
   4100 fi
   4101 
   4102 fi
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4104 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   4105 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4106 
   4107  if
   4108   test "x$enable_dependency_tracking" != xno \
   4109   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   4110   am__fastdepCXX_TRUE=
   4111   am__fastdepCXX_FALSE='#'
   4112 else
   4113   am__fastdepCXX_TRUE='#'
   4114   am__fastdepCXX_FALSE=
   4115 fi
   4116 
   4117 
   4118 ac_ext=cpp
   4119 ac_cpp='$CXXCPP $CPPFLAGS'
   4120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4123 
   4124 case `pwd` in
   4125   *\ * | *\	*)
   4126     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4127 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4128 esac
   4129 
   4130 
   4131 
   4132 macro_version='2.4.2'
   4133 macro_revision='1.3337'
   4134 
   4135 
   4136 
   4137 
   4138 
   4139 
   4140 
   4141 
   4142 
   4143 
   4144 
   4145 
   4146 
   4147 ltmain="$ac_aux_dir/ltmain.sh"
   4148 
   4149 # Make sure we can run config.sub.
   4150 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4151   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4152 
   4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4154 $as_echo_n "checking build system type... " >&6; }
   4155 if ${ac_cv_build+:} false; then :
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   ac_build_alias=$build_alias
   4159 test "x$ac_build_alias" = x &&
   4160   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4161 test "x$ac_build_alias" = x &&
   4162   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4163 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4164   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4165 
   4166 fi
   4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4168 $as_echo "$ac_cv_build" >&6; }
   4169 case $ac_cv_build in
   4170 *-*-*) ;;
   4171 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4172 esac
   4173 build=$ac_cv_build
   4174 ac_save_IFS=$IFS; IFS='-'
   4175 set x $ac_cv_build
   4176 shift
   4177 build_cpu=$1
   4178 build_vendor=$2
   4179 shift; shift
   4180 # Remember, the first character of IFS is used to create $*,
   4181 # except with old shells:
   4182 build_os=$*
   4183 IFS=$ac_save_IFS
   4184 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4185 
   4186 
   4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4188 $as_echo_n "checking host system type... " >&6; }
   4189 if ${ac_cv_host+:} false; then :
   4190   $as_echo_n "(cached) " >&6
   4191 else
   4192   if test "x$host_alias" = x; then
   4193   ac_cv_host=$ac_cv_build
   4194 else
   4195   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4196     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4197 fi
   4198 
   4199 fi
   4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4201 $as_echo "$ac_cv_host" >&6; }
   4202 case $ac_cv_host in
   4203 *-*-*) ;;
   4204 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4205 esac
   4206 host=$ac_cv_host
   4207 ac_save_IFS=$IFS; IFS='-'
   4208 set x $ac_cv_host
   4209 shift
   4210 host_cpu=$1
   4211 host_vendor=$2
   4212 shift; shift
   4213 # Remember, the first character of IFS is used to create $*,
   4214 # except with old shells:
   4215 host_os=$*
   4216 IFS=$ac_save_IFS
   4217 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4218 
   4219 
   4220 # Backslashify metacharacters that are still active within
   4221 # double-quoted strings.
   4222 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4223 
   4224 # Same as above, but do not quote variable references.
   4225 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4226 
   4227 # Sed substitution to delay expansion of an escaped shell variable in a
   4228 # double_quote_subst'ed string.
   4229 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4230 
   4231 # Sed substitution to delay expansion of an escaped single quote.
   4232 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4233 
   4234 # Sed substitution to avoid accidental globbing in evaled expressions
   4235 no_glob_subst='s/\*/\\\*/g'
   4236 
   4237 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4238 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4239 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4240 
   4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4242 $as_echo_n "checking how to print strings... " >&6; }
   4243 # Test print first, because it will be a builtin if present.
   4244 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4245    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4246   ECHO='print -r --'
   4247 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4248   ECHO='printf %s\n'
   4249 else
   4250   # Use this function as a fallback that always works.
   4251   func_fallback_echo ()
   4252   {
   4253     eval 'cat <<_LTECHO_EOF
   4254 $1
   4255 _LTECHO_EOF'
   4256   }
   4257   ECHO='func_fallback_echo'
   4258 fi
   4259 
   4260 # func_echo_all arg...
   4261 # Invoke $ECHO with all args, space-separated.
   4262 func_echo_all ()
   4263 {
   4264     $ECHO ""
   4265 }
   4266 
   4267 case "$ECHO" in
   4268   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4269 $as_echo "printf" >&6; } ;;
   4270   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4271 $as_echo "print -r" >&6; } ;;
   4272   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4273 $as_echo "cat" >&6; } ;;
   4274 esac
   4275 
   4276 
   4277 
   4278 
   4279 
   4280 
   4281 
   4282 
   4283 
   4284 
   4285 
   4286 
   4287 
   4288 
   4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4290 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4291 if ${ac_cv_path_SED+:} false; then :
   4292   $as_echo_n "(cached) " >&6
   4293 else
   4294             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4295      for ac_i in 1 2 3 4 5 6 7; do
   4296        ac_script="$ac_script$as_nl$ac_script"
   4297      done
   4298      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4299      { ac_script=; unset ac_script;}
   4300      if test -z "$SED"; then
   4301   ac_path_SED_found=false
   4302   # Loop through the user's path and test for each of PROGNAME-LIST
   4303   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4304 for as_dir in $PATH
   4305 do
   4306   IFS=$as_save_IFS
   4307   test -z "$as_dir" && as_dir=.
   4308     for ac_prog in sed gsed; do
   4309     for ac_exec_ext in '' $ac_executable_extensions; do
   4310       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4311       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4312 # Check for GNU ac_path_SED and select it if it is found.
   4313   # Check for GNU $ac_path_SED
   4314 case `"$ac_path_SED" --version 2>&1` in
   4315 *GNU*)
   4316   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4317 *)
   4318   ac_count=0
   4319   $as_echo_n 0123456789 >"conftest.in"
   4320   while :
   4321   do
   4322     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4323     mv "conftest.tmp" "conftest.in"
   4324     cp "conftest.in" "conftest.nl"
   4325     $as_echo '' >> "conftest.nl"
   4326     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4327     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4328     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4329     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4330       # Best one so far, save it but keep looking for a better one
   4331       ac_cv_path_SED="$ac_path_SED"
   4332       ac_path_SED_max=$ac_count
   4333     fi
   4334     # 10*(2^10) chars as input seems more than enough
   4335     test $ac_count -gt 10 && break
   4336   done
   4337   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4338 esac
   4339 
   4340       $ac_path_SED_found && break 3
   4341     done
   4342   done
   4343   done
   4344 IFS=$as_save_IFS
   4345   if test -z "$ac_cv_path_SED"; then
   4346     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4347   fi
   4348 else
   4349   ac_cv_path_SED=$SED
   4350 fi
   4351 
   4352 fi
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4354 $as_echo "$ac_cv_path_SED" >&6; }
   4355  SED="$ac_cv_path_SED"
   4356   rm -f conftest.sed
   4357 
   4358 test -z "$SED" && SED=sed
   4359 Xsed="$SED -e 1s/^X//"
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4372 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4373 if ${ac_cv_path_GREP+:} false; then :
   4374   $as_echo_n "(cached) " >&6
   4375 else
   4376   if test -z "$GREP"; then
   4377   ac_path_GREP_found=false
   4378   # Loop through the user's path and test for each of PROGNAME-LIST
   4379   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4380 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4381 do
   4382   IFS=$as_save_IFS
   4383   test -z "$as_dir" && as_dir=.
   4384     for ac_prog in grep ggrep; do
   4385     for ac_exec_ext in '' $ac_executable_extensions; do
   4386       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4387       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4388 # Check for GNU ac_path_GREP and select it if it is found.
   4389   # Check for GNU $ac_path_GREP
   4390 case `"$ac_path_GREP" --version 2>&1` in
   4391 *GNU*)
   4392   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4393 *)
   4394   ac_count=0
   4395   $as_echo_n 0123456789 >"conftest.in"
   4396   while :
   4397   do
   4398     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4399     mv "conftest.tmp" "conftest.in"
   4400     cp "conftest.in" "conftest.nl"
   4401     $as_echo 'GREP' >> "conftest.nl"
   4402     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4403     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4404     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4405     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4406       # Best one so far, save it but keep looking for a better one
   4407       ac_cv_path_GREP="$ac_path_GREP"
   4408       ac_path_GREP_max=$ac_count
   4409     fi
   4410     # 10*(2^10) chars as input seems more than enough
   4411     test $ac_count -gt 10 && break
   4412   done
   4413   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4414 esac
   4415 
   4416       $ac_path_GREP_found && break 3
   4417     done
   4418   done
   4419   done
   4420 IFS=$as_save_IFS
   4421   if test -z "$ac_cv_path_GREP"; then
   4422     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4423   fi
   4424 else
   4425   ac_cv_path_GREP=$GREP
   4426 fi
   4427 
   4428 fi
   4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4430 $as_echo "$ac_cv_path_GREP" >&6; }
   4431  GREP="$ac_cv_path_GREP"
   4432 
   4433 
   4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4435 $as_echo_n "checking for egrep... " >&6; }
   4436 if ${ac_cv_path_EGREP+:} false; then :
   4437   $as_echo_n "(cached) " >&6
   4438 else
   4439   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4440    then ac_cv_path_EGREP="$GREP -E"
   4441    else
   4442      if test -z "$EGREP"; then
   4443   ac_path_EGREP_found=false
   4444   # Loop through the user's path and test for each of PROGNAME-LIST
   4445   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4446 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4447 do
   4448   IFS=$as_save_IFS
   4449   test -z "$as_dir" && as_dir=.
   4450     for ac_prog in egrep; do
   4451     for ac_exec_ext in '' $ac_executable_extensions; do
   4452       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4453       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4454 # Check for GNU ac_path_EGREP and select it if it is found.
   4455   # Check for GNU $ac_path_EGREP
   4456 case `"$ac_path_EGREP" --version 2>&1` in
   4457 *GNU*)
   4458   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4459 *)
   4460   ac_count=0
   4461   $as_echo_n 0123456789 >"conftest.in"
   4462   while :
   4463   do
   4464     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4465     mv "conftest.tmp" "conftest.in"
   4466     cp "conftest.in" "conftest.nl"
   4467     $as_echo 'EGREP' >> "conftest.nl"
   4468     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4469     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4470     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4471     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4472       # Best one so far, save it but keep looking for a better one
   4473       ac_cv_path_EGREP="$ac_path_EGREP"
   4474       ac_path_EGREP_max=$ac_count
   4475     fi
   4476     # 10*(2^10) chars as input seems more than enough
   4477     test $ac_count -gt 10 && break
   4478   done
   4479   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4480 esac
   4481 
   4482       $ac_path_EGREP_found && break 3
   4483     done
   4484   done
   4485   done
   4486 IFS=$as_save_IFS
   4487   if test -z "$ac_cv_path_EGREP"; then
   4488     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4489   fi
   4490 else
   4491   ac_cv_path_EGREP=$EGREP
   4492 fi
   4493 
   4494    fi
   4495 fi
   4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4497 $as_echo "$ac_cv_path_EGREP" >&6; }
   4498  EGREP="$ac_cv_path_EGREP"
   4499 
   4500 
   4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4502 $as_echo_n "checking for fgrep... " >&6; }
   4503 if ${ac_cv_path_FGREP+:} false; then :
   4504   $as_echo_n "(cached) " >&6
   4505 else
   4506   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4507    then ac_cv_path_FGREP="$GREP -F"
   4508    else
   4509      if test -z "$FGREP"; then
   4510   ac_path_FGREP_found=false
   4511   # Loop through the user's path and test for each of PROGNAME-LIST
   4512   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4513 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4514 do
   4515   IFS=$as_save_IFS
   4516   test -z "$as_dir" && as_dir=.
   4517     for ac_prog in fgrep; do
   4518     for ac_exec_ext in '' $ac_executable_extensions; do
   4519       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4520       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4521 # Check for GNU ac_path_FGREP and select it if it is found.
   4522   # Check for GNU $ac_path_FGREP
   4523 case `"$ac_path_FGREP" --version 2>&1` in
   4524 *GNU*)
   4525   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4526 *)
   4527   ac_count=0
   4528   $as_echo_n 0123456789 >"conftest.in"
   4529   while :
   4530   do
   4531     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4532     mv "conftest.tmp" "conftest.in"
   4533     cp "conftest.in" "conftest.nl"
   4534     $as_echo 'FGREP' >> "conftest.nl"
   4535     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4536     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4537     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4538     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4539       # Best one so far, save it but keep looking for a better one
   4540       ac_cv_path_FGREP="$ac_path_FGREP"
   4541       ac_path_FGREP_max=$ac_count
   4542     fi
   4543     # 10*(2^10) chars as input seems more than enough
   4544     test $ac_count -gt 10 && break
   4545   done
   4546   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4547 esac
   4548 
   4549       $ac_path_FGREP_found && break 3
   4550     done
   4551   done
   4552   done
   4553 IFS=$as_save_IFS
   4554   if test -z "$ac_cv_path_FGREP"; then
   4555     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4556   fi
   4557 else
   4558   ac_cv_path_FGREP=$FGREP
   4559 fi
   4560 
   4561    fi
   4562 fi
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4564 $as_echo "$ac_cv_path_FGREP" >&6; }
   4565  FGREP="$ac_cv_path_FGREP"
   4566 
   4567 
   4568 test -z "$GREP" && GREP=grep
   4569 
   4570 
   4571 
   4572 
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 
   4586 
   4587 
   4588 # Check whether --with-gnu-ld was given.
   4589 if test "${with_gnu_ld+set}" = set; then :
   4590   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4591 else
   4592   with_gnu_ld=no
   4593 fi
   4594 
   4595 ac_prog=ld
   4596 if test "$GCC" = yes; then
   4597   # Check if gcc -print-prog-name=ld gives a path.
   4598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4599 $as_echo_n "checking for ld used by $CC... " >&6; }
   4600   case $host in
   4601   *-*-mingw*)
   4602     # gcc leaves a trailing carriage return which upsets mingw
   4603     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4604   *)
   4605     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4606   esac
   4607   case $ac_prog in
   4608     # Accept absolute paths.
   4609     [\\/]* | ?:[\\/]*)
   4610       re_direlt='/[^/][^/]*/\.\./'
   4611       # Canonicalize the pathname of ld
   4612       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4613       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4614 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4615       done
   4616       test -z "$LD" && LD="$ac_prog"
   4617       ;;
   4618   "")
   4619     # If it fails, then pretend we aren't using GCC.
   4620     ac_prog=ld
   4621     ;;
   4622   *)
   4623     # If it is relative, then search for the first ld in PATH.
   4624     with_gnu_ld=unknown
   4625     ;;
   4626   esac
   4627 elif test "$with_gnu_ld" = yes; then
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4629 $as_echo_n "checking for GNU ld... " >&6; }
   4630 else
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4632 $as_echo_n "checking for non-GNU ld... " >&6; }
   4633 fi
   4634 if ${lt_cv_path_LD+:} false; then :
   4635   $as_echo_n "(cached) " >&6
   4636 else
   4637   if test -z "$LD"; then
   4638   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4639   for ac_dir in $PATH; do
   4640     IFS="$lt_save_ifs"
   4641     test -z "$ac_dir" && ac_dir=.
   4642     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4643       lt_cv_path_LD="$ac_dir/$ac_prog"
   4644       # Check to see if the program is GNU ld.  I'd rather use --version,
   4645       # but apparently some variants of GNU ld only accept -v.
   4646       # Break only if it was the GNU/non-GNU ld that we prefer.
   4647       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4648       *GNU* | *'with BFD'*)
   4649 	test "$with_gnu_ld" != no && break
   4650 	;;
   4651       *)
   4652 	test "$with_gnu_ld" != yes && break
   4653 	;;
   4654       esac
   4655     fi
   4656   done
   4657   IFS="$lt_save_ifs"
   4658 else
   4659   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4660 fi
   4661 fi
   4662 
   4663 LD="$lt_cv_path_LD"
   4664 if test -n "$LD"; then
   4665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4666 $as_echo "$LD" >&6; }
   4667 else
   4668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4669 $as_echo "no" >&6; }
   4670 fi
   4671 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4673 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4674 if ${lt_cv_prog_gnu_ld+:} false; then :
   4675   $as_echo_n "(cached) " >&6
   4676 else
   4677   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4678 case `$LD -v 2>&1 </dev/null` in
   4679 *GNU* | *'with BFD'*)
   4680   lt_cv_prog_gnu_ld=yes
   4681   ;;
   4682 *)
   4683   lt_cv_prog_gnu_ld=no
   4684   ;;
   4685 esac
   4686 fi
   4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4688 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4689 with_gnu_ld=$lt_cv_prog_gnu_ld
   4690 
   4691 
   4692 
   4693 
   4694 
   4695 
   4696 
   4697 
   4698 
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4700 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4701 if ${lt_cv_path_NM+:} false; then :
   4702   $as_echo_n "(cached) " >&6
   4703 else
   4704   if test -n "$NM"; then
   4705   # Let the user override the test.
   4706   lt_cv_path_NM="$NM"
   4707 else
   4708   lt_nm_to_check="${ac_tool_prefix}nm"
   4709   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4710     lt_nm_to_check="$lt_nm_to_check nm"
   4711   fi
   4712   for lt_tmp_nm in $lt_nm_to_check; do
   4713     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4714     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4715       IFS="$lt_save_ifs"
   4716       test -z "$ac_dir" && ac_dir=.
   4717       tmp_nm="$ac_dir/$lt_tmp_nm"
   4718       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4719 	# Check to see if the nm accepts a BSD-compat flag.
   4720 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4721 	#   nm: unknown option "B" ignored
   4722 	# Tru64's nm complains that /dev/null is an invalid object file
   4723 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4724 	*/dev/null* | *'Invalid file or object type'*)
   4725 	  lt_cv_path_NM="$tmp_nm -B"
   4726 	  break
   4727 	  ;;
   4728 	*)
   4729 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4730 	  */dev/null*)
   4731 	    lt_cv_path_NM="$tmp_nm -p"
   4732 	    break
   4733 	    ;;
   4734 	  *)
   4735 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4736 	    continue # so that we can try to find one that supports BSD flags
   4737 	    ;;
   4738 	  esac
   4739 	  ;;
   4740 	esac
   4741       fi
   4742     done
   4743     IFS="$lt_save_ifs"
   4744   done
   4745   : ${lt_cv_path_NM=no}
   4746 fi
   4747 fi
   4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4749 $as_echo "$lt_cv_path_NM" >&6; }
   4750 if test "$lt_cv_path_NM" != "no"; then
   4751   NM="$lt_cv_path_NM"
   4752 else
   4753   # Didn't find any BSD compatible name lister, look for dumpbin.
   4754   if test -n "$DUMPBIN"; then :
   4755     # Let the user override the test.
   4756   else
   4757     if test -n "$ac_tool_prefix"; then
   4758   for ac_prog in dumpbin "link -dump"
   4759   do
   4760     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4761 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4763 $as_echo_n "checking for $ac_word... " >&6; }
   4764 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4765   $as_echo_n "(cached) " >&6
   4766 else
   4767   if test -n "$DUMPBIN"; then
   4768   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4769 else
   4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4771 for as_dir in $PATH
   4772 do
   4773   IFS=$as_save_IFS
   4774   test -z "$as_dir" && as_dir=.
   4775     for ac_exec_ext in '' $ac_executable_extensions; do
   4776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4777     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4779     break 2
   4780   fi
   4781 done
   4782   done
   4783 IFS=$as_save_IFS
   4784 
   4785 fi
   4786 fi
   4787 DUMPBIN=$ac_cv_prog_DUMPBIN
   4788 if test -n "$DUMPBIN"; then
   4789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4790 $as_echo "$DUMPBIN" >&6; }
   4791 else
   4792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4793 $as_echo "no" >&6; }
   4794 fi
   4795 
   4796 
   4797     test -n "$DUMPBIN" && break
   4798   done
   4799 fi
   4800 if test -z "$DUMPBIN"; then
   4801   ac_ct_DUMPBIN=$DUMPBIN
   4802   for ac_prog in dumpbin "link -dump"
   4803 do
   4804   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4805 set dummy $ac_prog; ac_word=$2
   4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4807 $as_echo_n "checking for $ac_word... " >&6; }
   4808 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4809   $as_echo_n "(cached) " >&6
   4810 else
   4811   if test -n "$ac_ct_DUMPBIN"; then
   4812   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4813 else
   4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4815 for as_dir in $PATH
   4816 do
   4817   IFS=$as_save_IFS
   4818   test -z "$as_dir" && as_dir=.
   4819     for ac_exec_ext in '' $ac_executable_extensions; do
   4820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4821     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4823     break 2
   4824   fi
   4825 done
   4826   done
   4827 IFS=$as_save_IFS
   4828 
   4829 fi
   4830 fi
   4831 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4832 if test -n "$ac_ct_DUMPBIN"; then
   4833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4834 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4835 else
   4836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4837 $as_echo "no" >&6; }
   4838 fi
   4839 
   4840 
   4841   test -n "$ac_ct_DUMPBIN" && break
   4842 done
   4843 
   4844   if test "x$ac_ct_DUMPBIN" = x; then
   4845     DUMPBIN=":"
   4846   else
   4847     case $cross_compiling:$ac_tool_warned in
   4848 yes:)
   4849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4851 ac_tool_warned=yes ;;
   4852 esac
   4853     DUMPBIN=$ac_ct_DUMPBIN
   4854   fi
   4855 fi
   4856 
   4857     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4858     *COFF*)
   4859       DUMPBIN="$DUMPBIN -symbols"
   4860       ;;
   4861     *)
   4862       DUMPBIN=:
   4863       ;;
   4864     esac
   4865   fi
   4866 
   4867   if test "$DUMPBIN" != ":"; then
   4868     NM="$DUMPBIN"
   4869   fi
   4870 fi
   4871 test -z "$NM" && NM=nm
   4872 
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4879 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4880 if ${lt_cv_nm_interface+:} false; then :
   4881   $as_echo_n "(cached) " >&6
   4882 else
   4883   lt_cv_nm_interface="BSD nm"
   4884   echo "int some_variable = 0;" > conftest.$ac_ext
   4885   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4886   (eval "$ac_compile" 2>conftest.err)
   4887   cat conftest.err >&5
   4888   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4889   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4890   cat conftest.err >&5
   4891   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4892   cat conftest.out >&5
   4893   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4894     lt_cv_nm_interface="MS dumpbin"
   4895   fi
   4896   rm -f conftest*
   4897 fi
   4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4899 $as_echo "$lt_cv_nm_interface" >&6; }
   4900 
   4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4902 $as_echo_n "checking whether ln -s works... " >&6; }
   4903 LN_S=$as_ln_s
   4904 if test "$LN_S" = "ln -s"; then
   4905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4906 $as_echo "yes" >&6; }
   4907 else
   4908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4909 $as_echo "no, using $LN_S" >&6; }
   4910 fi
   4911 
   4912 # find the maximum length of command line arguments
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4914 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4915 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4916   $as_echo_n "(cached) " >&6
   4917 else
   4918     i=0
   4919   teststring="ABCD"
   4920 
   4921   case $build_os in
   4922   msdosdjgpp*)
   4923     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4924     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4925     # during glob expansion).  Even if it were fixed, the result of this
   4926     # check would be larger than it should be.
   4927     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4928     ;;
   4929 
   4930   gnu*)
   4931     # Under GNU Hurd, this test is not required because there is
   4932     # no limit to the length of command line arguments.
   4933     # Libtool will interpret -1 as no limit whatsoever
   4934     lt_cv_sys_max_cmd_len=-1;
   4935     ;;
   4936 
   4937   cygwin* | mingw* | cegcc*)
   4938     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4939     # about 5 minutes as the teststring grows exponentially.
   4940     # Worse, since 9x/ME are not pre-emptively multitasking,
   4941     # you end up with a "frozen" computer, even though with patience
   4942     # the test eventually succeeds (with a max line length of 256k).
   4943     # Instead, let's just punt: use the minimum linelength reported by
   4944     # all of the supported platforms: 8192 (on NT/2K/XP).
   4945     lt_cv_sys_max_cmd_len=8192;
   4946     ;;
   4947 
   4948   mint*)
   4949     # On MiNT this can take a long time and run out of memory.
   4950     lt_cv_sys_max_cmd_len=8192;
   4951     ;;
   4952 
   4953   amigaos*)
   4954     # On AmigaOS with pdksh, this test takes hours, literally.
   4955     # So we just punt and use a minimum line length of 8192.
   4956     lt_cv_sys_max_cmd_len=8192;
   4957     ;;
   4958 
   4959   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4960     # This has been around since 386BSD, at least.  Likely further.
   4961     if test -x /sbin/sysctl; then
   4962       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4963     elif test -x /usr/sbin/sysctl; then
   4964       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4965     else
   4966       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4967     fi
   4968     # And add a safety zone
   4969     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4970     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4971     ;;
   4972 
   4973   interix*)
   4974     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4975     lt_cv_sys_max_cmd_len=196608
   4976     ;;
   4977 
   4978   os2*)
   4979     # The test takes a long time on OS/2.
   4980     lt_cv_sys_max_cmd_len=8192
   4981     ;;
   4982 
   4983   osf*)
   4984     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4985     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4986     # nice to cause kernel panics so lets avoid the loop below.
   4987     # First set a reasonable default.
   4988     lt_cv_sys_max_cmd_len=16384
   4989     #
   4990     if test -x /sbin/sysconfig; then
   4991       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4992         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4993       esac
   4994     fi
   4995     ;;
   4996   sco3.2v5*)
   4997     lt_cv_sys_max_cmd_len=102400
   4998     ;;
   4999   sysv5* | sco5v6* | sysv4.2uw2*)
   5000     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5001     if test -n "$kargmax"; then
   5002       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5003     else
   5004       lt_cv_sys_max_cmd_len=32768
   5005     fi
   5006     ;;
   5007   *)
   5008     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5009     if test -n "$lt_cv_sys_max_cmd_len"; then
   5010       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5011       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5012     else
   5013       # Make teststring a little bigger before we do anything with it.
   5014       # a 1K string should be a reasonable start.
   5015       for i in 1 2 3 4 5 6 7 8 ; do
   5016         teststring=$teststring$teststring
   5017       done
   5018       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5019       # If test is not a shell built-in, we'll probably end up computing a
   5020       # maximum length that is only half of the actual maximum length, but
   5021       # we can't tell.
   5022       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5023 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5024 	      test $i != 17 # 1/2 MB should be enough
   5025       do
   5026         i=`expr $i + 1`
   5027         teststring=$teststring$teststring
   5028       done
   5029       # Only check the string length outside the loop.
   5030       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5031       teststring=
   5032       # Add a significant safety factor because C++ compilers can tack on
   5033       # massive amounts of additional arguments before passing them to the
   5034       # linker.  It appears as though 1/2 is a usable value.
   5035       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5036     fi
   5037     ;;
   5038   esac
   5039 
   5040 fi
   5041 
   5042 if test -n $lt_cv_sys_max_cmd_len ; then
   5043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5044 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5045 else
   5046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5047 $as_echo "none" >&6; }
   5048 fi
   5049 max_cmd_len=$lt_cv_sys_max_cmd_len
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 : ${CP="cp -f"}
   5057 : ${MV="mv -f"}
   5058 : ${RM="rm -f"}
   5059 
   5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5061 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5062 # Try some XSI features
   5063 xsi_shell=no
   5064 ( _lt_dummy="a/b/c"
   5065   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5066       = c,a/b,b/c, \
   5067     && eval 'test $(( 1 + 1 )) -eq 2 \
   5068     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5069   && xsi_shell=yes
   5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5071 $as_echo "$xsi_shell" >&6; }
   5072 
   5073 
   5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5075 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5076 lt_shell_append=no
   5077 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5078     >/dev/null 2>&1 \
   5079   && lt_shell_append=yes
   5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5081 $as_echo "$lt_shell_append" >&6; }
   5082 
   5083 
   5084 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5085   lt_unset=unset
   5086 else
   5087   lt_unset=false
   5088 fi
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 # test EBCDIC or ASCII
   5095 case `echo X|tr X '\101'` in
   5096  A) # ASCII based system
   5097     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5098   lt_SP2NL='tr \040 \012'
   5099   lt_NL2SP='tr \015\012 \040\040'
   5100   ;;
   5101  *) # EBCDIC based system
   5102   lt_SP2NL='tr \100 \n'
   5103   lt_NL2SP='tr \r\n \100\100'
   5104   ;;
   5105 esac
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5116 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5117 if ${lt_cv_to_host_file_cmd+:} false; then :
   5118   $as_echo_n "(cached) " >&6
   5119 else
   5120   case $host in
   5121   *-*-mingw* )
   5122     case $build in
   5123       *-*-mingw* ) # actually msys
   5124         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5125         ;;
   5126       *-*-cygwin* )
   5127         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5128         ;;
   5129       * ) # otherwise, assume *nix
   5130         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5131         ;;
   5132     esac
   5133     ;;
   5134   *-*-cygwin* )
   5135     case $build in
   5136       *-*-mingw* ) # actually msys
   5137         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5138         ;;
   5139       *-*-cygwin* )
   5140         lt_cv_to_host_file_cmd=func_convert_file_noop
   5141         ;;
   5142       * ) # otherwise, assume *nix
   5143         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5144         ;;
   5145     esac
   5146     ;;
   5147   * ) # unhandled hosts (and "normal" native builds)
   5148     lt_cv_to_host_file_cmd=func_convert_file_noop
   5149     ;;
   5150 esac
   5151 
   5152 fi
   5153 
   5154 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5156 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5163 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5164 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5165   $as_echo_n "(cached) " >&6
   5166 else
   5167   #assume ordinary cross tools, or native build.
   5168 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5169 case $host in
   5170   *-*-mingw* )
   5171     case $build in
   5172       *-*-mingw* ) # actually msys
   5173         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5174         ;;
   5175     esac
   5176     ;;
   5177 esac
   5178 
   5179 fi
   5180 
   5181 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5183 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5184 
   5185 
   5186 
   5187 
   5188 
   5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5190 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5191 if ${lt_cv_ld_reload_flag+:} false; then :
   5192   $as_echo_n "(cached) " >&6
   5193 else
   5194   lt_cv_ld_reload_flag='-r'
   5195 fi
   5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5197 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5198 reload_flag=$lt_cv_ld_reload_flag
   5199 case $reload_flag in
   5200 "" | " "*) ;;
   5201 *) reload_flag=" $reload_flag" ;;
   5202 esac
   5203 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5204 case $host_os in
   5205   cygwin* | mingw* | pw32* | cegcc*)
   5206     if test "$GCC" != yes; then
   5207       reload_cmds=false
   5208     fi
   5209     ;;
   5210   darwin*)
   5211     if test "$GCC" = yes; then
   5212       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5213     else
   5214       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5215     fi
   5216     ;;
   5217 esac
   5218 
   5219 
   5220 
   5221 
   5222 
   5223 
   5224 
   5225 
   5226 
   5227 if test -n "$ac_tool_prefix"; then
   5228   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5229 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5231 $as_echo_n "checking for $ac_word... " >&6; }
   5232 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5233   $as_echo_n "(cached) " >&6
   5234 else
   5235   if test -n "$OBJDUMP"; then
   5236   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5237 else
   5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5239 for as_dir in $PATH
   5240 do
   5241   IFS=$as_save_IFS
   5242   test -z "$as_dir" && as_dir=.
   5243     for ac_exec_ext in '' $ac_executable_extensions; do
   5244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5245     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5247     break 2
   5248   fi
   5249 done
   5250   done
   5251 IFS=$as_save_IFS
   5252 
   5253 fi
   5254 fi
   5255 OBJDUMP=$ac_cv_prog_OBJDUMP
   5256 if test -n "$OBJDUMP"; then
   5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5258 $as_echo "$OBJDUMP" >&6; }
   5259 else
   5260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5261 $as_echo "no" >&6; }
   5262 fi
   5263 
   5264 
   5265 fi
   5266 if test -z "$ac_cv_prog_OBJDUMP"; then
   5267   ac_ct_OBJDUMP=$OBJDUMP
   5268   # Extract the first word of "objdump", so it can be a program name with args.
   5269 set dummy objdump; ac_word=$2
   5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5271 $as_echo_n "checking for $ac_word... " >&6; }
   5272 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5273   $as_echo_n "(cached) " >&6
   5274 else
   5275   if test -n "$ac_ct_OBJDUMP"; then
   5276   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5277 else
   5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5279 for as_dir in $PATH
   5280 do
   5281   IFS=$as_save_IFS
   5282   test -z "$as_dir" && as_dir=.
   5283     for ac_exec_ext in '' $ac_executable_extensions; do
   5284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5285     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5287     break 2
   5288   fi
   5289 done
   5290   done
   5291 IFS=$as_save_IFS
   5292 
   5293 fi
   5294 fi
   5295 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5296 if test -n "$ac_ct_OBJDUMP"; then
   5297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5298 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5299 else
   5300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5301 $as_echo "no" >&6; }
   5302 fi
   5303 
   5304   if test "x$ac_ct_OBJDUMP" = x; then
   5305     OBJDUMP="false"
   5306   else
   5307     case $cross_compiling:$ac_tool_warned in
   5308 yes:)
   5309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5311 ac_tool_warned=yes ;;
   5312 esac
   5313     OBJDUMP=$ac_ct_OBJDUMP
   5314   fi
   5315 else
   5316   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5317 fi
   5318 
   5319 test -z "$OBJDUMP" && OBJDUMP=objdump
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5330 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5331 if ${lt_cv_deplibs_check_method+:} false; then :
   5332   $as_echo_n "(cached) " >&6
   5333 else
   5334   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5335 lt_cv_file_magic_test_file=
   5336 lt_cv_deplibs_check_method='unknown'
   5337 # Need to set the preceding variable on all platforms that support
   5338 # interlibrary dependencies.
   5339 # 'none' -- dependencies not supported.
   5340 # `unknown' -- same as none, but documents that we really don't know.
   5341 # 'pass_all' -- all dependencies passed with no checks.
   5342 # 'test_compile' -- check by making test program.
   5343 # 'file_magic [[regex]]' -- check by looking for files in library path
   5344 # which responds to the $file_magic_cmd with a given extended regex.
   5345 # If you have `file' or equivalent on your system and you're not sure
   5346 # whether `pass_all' will *always* work, you probably want this one.
   5347 
   5348 case $host_os in
   5349 aix[4-9]*)
   5350   lt_cv_deplibs_check_method=pass_all
   5351   ;;
   5352 
   5353 beos*)
   5354   lt_cv_deplibs_check_method=pass_all
   5355   ;;
   5356 
   5357 bsdi[45]*)
   5358   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5359   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5360   lt_cv_file_magic_test_file=/shlib/libc.so
   5361   ;;
   5362 
   5363 cygwin*)
   5364   # func_win32_libid is a shell function defined in ltmain.sh
   5365   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5366   lt_cv_file_magic_cmd='func_win32_libid'
   5367   ;;
   5368 
   5369 mingw* | pw32*)
   5370   # Base MSYS/MinGW do not provide the 'file' command needed by
   5371   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5372   # unless we find 'file', for example because we are cross-compiling.
   5373   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5374   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5375     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5376     lt_cv_file_magic_cmd='func_win32_libid'
   5377   else
   5378     # Keep this pattern in sync with the one in func_win32_libid.
   5379     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5380     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5381   fi
   5382   ;;
   5383 
   5384 cegcc*)
   5385   # use the weaker test based on 'objdump'. See mingw*.
   5386   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5387   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5388   ;;
   5389 
   5390 darwin* | rhapsody*)
   5391   lt_cv_deplibs_check_method=pass_all
   5392   ;;
   5393 
   5394 freebsd* | dragonfly*)
   5395   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5396     case $host_cpu in
   5397     i*86 )
   5398       # Not sure whether the presence of OpenBSD here was a mistake.
   5399       # Let's accept both of them until this is cleared up.
   5400       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5401       lt_cv_file_magic_cmd=/usr/bin/file
   5402       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5403       ;;
   5404     esac
   5405   else
   5406     lt_cv_deplibs_check_method=pass_all
   5407   fi
   5408   ;;
   5409 
   5410 gnu*)
   5411   lt_cv_deplibs_check_method=pass_all
   5412   ;;
   5413 
   5414 haiku*)
   5415   lt_cv_deplibs_check_method=pass_all
   5416   ;;
   5417 
   5418 hpux10.20* | hpux11*)
   5419   lt_cv_file_magic_cmd=/usr/bin/file
   5420   case $host_cpu in
   5421   ia64*)
   5422     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5423     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5424     ;;
   5425   hppa*64*)
   5426     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
   5427     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5428     ;;
   5429   *)
   5430     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5431     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5432     ;;
   5433   esac
   5434   ;;
   5435 
   5436 interix[3-9]*)
   5437   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5438   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5439   ;;
   5440 
   5441 irix5* | irix6* | nonstopux*)
   5442   case $LD in
   5443   *-32|*"-32 ") libmagic=32-bit;;
   5444   *-n32|*"-n32 ") libmagic=N32;;
   5445   *-64|*"-64 ") libmagic=64-bit;;
   5446   *) libmagic=never-match;;
   5447   esac
   5448   lt_cv_deplibs_check_method=pass_all
   5449   ;;
   5450 
   5451 # This must be glibc/ELF.
   5452 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5453   lt_cv_deplibs_check_method=pass_all
   5454   ;;
   5455 
   5456 netbsd* | netbsdelf*-gnu)
   5457   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5458     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5459   else
   5460     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5461   fi
   5462   ;;
   5463 
   5464 newos6*)
   5465   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5466   lt_cv_file_magic_cmd=/usr/bin/file
   5467   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5468   ;;
   5469 
   5470 *nto* | *qnx*)
   5471   lt_cv_deplibs_check_method=pass_all
   5472   ;;
   5473 
   5474 openbsd*)
   5475   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5476     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5477   else
   5478     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5479   fi
   5480   ;;
   5481 
   5482 osf3* | osf4* | osf5*)
   5483   lt_cv_deplibs_check_method=pass_all
   5484   ;;
   5485 
   5486 rdos*)
   5487   lt_cv_deplibs_check_method=pass_all
   5488   ;;
   5489 
   5490 solaris*)
   5491   lt_cv_deplibs_check_method=pass_all
   5492   ;;
   5493 
   5494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5495   lt_cv_deplibs_check_method=pass_all
   5496   ;;
   5497 
   5498 sysv4 | sysv4.3*)
   5499   case $host_vendor in
   5500   motorola)
   5501     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]'
   5502     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5503     ;;
   5504   ncr)
   5505     lt_cv_deplibs_check_method=pass_all
   5506     ;;
   5507   sequent)
   5508     lt_cv_file_magic_cmd='/bin/file'
   5509     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5510     ;;
   5511   sni)
   5512     lt_cv_file_magic_cmd='/bin/file'
   5513     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5514     lt_cv_file_magic_test_file=/lib/libc.so
   5515     ;;
   5516   siemens)
   5517     lt_cv_deplibs_check_method=pass_all
   5518     ;;
   5519   pc)
   5520     lt_cv_deplibs_check_method=pass_all
   5521     ;;
   5522   esac
   5523   ;;
   5524 
   5525 tpf*)
   5526   lt_cv_deplibs_check_method=pass_all
   5527   ;;
   5528 esac
   5529 
   5530 fi
   5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5532 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5533 
   5534 file_magic_glob=
   5535 want_nocaseglob=no
   5536 if test "$build" = "$host"; then
   5537   case $host_os in
   5538   mingw* | pw32*)
   5539     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5540       want_nocaseglob=yes
   5541     else
   5542       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5543     fi
   5544     ;;
   5545   esac
   5546 fi
   5547 
   5548 file_magic_cmd=$lt_cv_file_magic_cmd
   5549 deplibs_check_method=$lt_cv_deplibs_check_method
   5550 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 if test -n "$ac_tool_prefix"; then
   5574   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5575 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5577 $as_echo_n "checking for $ac_word... " >&6; }
   5578 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5579   $as_echo_n "(cached) " >&6
   5580 else
   5581   if test -n "$DLLTOOL"; then
   5582   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5583 else
   5584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5585 for as_dir in $PATH
   5586 do
   5587   IFS=$as_save_IFS
   5588   test -z "$as_dir" && as_dir=.
   5589     for ac_exec_ext in '' $ac_executable_extensions; do
   5590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5591     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5593     break 2
   5594   fi
   5595 done
   5596   done
   5597 IFS=$as_save_IFS
   5598 
   5599 fi
   5600 fi
   5601 DLLTOOL=$ac_cv_prog_DLLTOOL
   5602 if test -n "$DLLTOOL"; then
   5603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5604 $as_echo "$DLLTOOL" >&6; }
   5605 else
   5606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5607 $as_echo "no" >&6; }
   5608 fi
   5609 
   5610 
   5611 fi
   5612 if test -z "$ac_cv_prog_DLLTOOL"; then
   5613   ac_ct_DLLTOOL=$DLLTOOL
   5614   # Extract the first word of "dlltool", so it can be a program name with args.
   5615 set dummy dlltool; ac_word=$2
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5617 $as_echo_n "checking for $ac_word... " >&6; }
   5618 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5619   $as_echo_n "(cached) " >&6
   5620 else
   5621   if test -n "$ac_ct_DLLTOOL"; then
   5622   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5623 else
   5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5625 for as_dir in $PATH
   5626 do
   5627   IFS=$as_save_IFS
   5628   test -z "$as_dir" && as_dir=.
   5629     for ac_exec_ext in '' $ac_executable_extensions; do
   5630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5631     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5633     break 2
   5634   fi
   5635 done
   5636   done
   5637 IFS=$as_save_IFS
   5638 
   5639 fi
   5640 fi
   5641 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5642 if test -n "$ac_ct_DLLTOOL"; then
   5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5644 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5645 else
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5647 $as_echo "no" >&6; }
   5648 fi
   5649 
   5650   if test "x$ac_ct_DLLTOOL" = x; then
   5651     DLLTOOL="false"
   5652   else
   5653     case $cross_compiling:$ac_tool_warned in
   5654 yes:)
   5655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5657 ac_tool_warned=yes ;;
   5658 esac
   5659     DLLTOOL=$ac_ct_DLLTOOL
   5660   fi
   5661 else
   5662   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5663 fi
   5664 
   5665 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5677 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5678 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5679   $as_echo_n "(cached) " >&6
   5680 else
   5681   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5682 
   5683 case $host_os in
   5684 cygwin* | mingw* | pw32* | cegcc*)
   5685   # two different shell functions defined in ltmain.sh
   5686   # decide which to use based on capabilities of $DLLTOOL
   5687   case `$DLLTOOL --help 2>&1` in
   5688   *--identify-strict*)
   5689     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5690     ;;
   5691   *)
   5692     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5693     ;;
   5694   esac
   5695   ;;
   5696 *)
   5697   # fallback: assume linklib IS sharedlib
   5698   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5699   ;;
   5700 esac
   5701 
   5702 fi
   5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5704 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5705 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5706 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 
   5714 
   5715 if test -n "$ac_tool_prefix"; then
   5716   for ac_prog in ar
   5717   do
   5718     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5719 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5721 $as_echo_n "checking for $ac_word... " >&6; }
   5722 if ${ac_cv_prog_AR+:} false; then :
   5723   $as_echo_n "(cached) " >&6
   5724 else
   5725   if test -n "$AR"; then
   5726   ac_cv_prog_AR="$AR" # Let the user override the test.
   5727 else
   5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5729 for as_dir in $PATH
   5730 do
   5731   IFS=$as_save_IFS
   5732   test -z "$as_dir" && as_dir=.
   5733     for ac_exec_ext in '' $ac_executable_extensions; do
   5734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5735     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5737     break 2
   5738   fi
   5739 done
   5740   done
   5741 IFS=$as_save_IFS
   5742 
   5743 fi
   5744 fi
   5745 AR=$ac_cv_prog_AR
   5746 if test -n "$AR"; then
   5747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5748 $as_echo "$AR" >&6; }
   5749 else
   5750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5751 $as_echo "no" >&6; }
   5752 fi
   5753 
   5754 
   5755     test -n "$AR" && break
   5756   done
   5757 fi
   5758 if test -z "$AR"; then
   5759   ac_ct_AR=$AR
   5760   for ac_prog in ar
   5761 do
   5762   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5763 set dummy $ac_prog; ac_word=$2
   5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5765 $as_echo_n "checking for $ac_word... " >&6; }
   5766 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5767   $as_echo_n "(cached) " >&6
   5768 else
   5769   if test -n "$ac_ct_AR"; then
   5770   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5771 else
   5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5773 for as_dir in $PATH
   5774 do
   5775   IFS=$as_save_IFS
   5776   test -z "$as_dir" && as_dir=.
   5777     for ac_exec_ext in '' $ac_executable_extensions; do
   5778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5779     ac_cv_prog_ac_ct_AR="$ac_prog"
   5780     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5781     break 2
   5782   fi
   5783 done
   5784   done
   5785 IFS=$as_save_IFS
   5786 
   5787 fi
   5788 fi
   5789 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5790 if test -n "$ac_ct_AR"; then
   5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5792 $as_echo "$ac_ct_AR" >&6; }
   5793 else
   5794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5795 $as_echo "no" >&6; }
   5796 fi
   5797 
   5798 
   5799   test -n "$ac_ct_AR" && break
   5800 done
   5801 
   5802   if test "x$ac_ct_AR" = x; then
   5803     AR="false"
   5804   else
   5805     case $cross_compiling:$ac_tool_warned in
   5806 yes:)
   5807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5809 ac_tool_warned=yes ;;
   5810 esac
   5811     AR=$ac_ct_AR
   5812   fi
   5813 fi
   5814 
   5815 : ${AR=ar}
   5816 : ${AR_FLAGS=cru}
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 
   5826 
   5827 
   5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5829 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5830 if ${lt_cv_ar_at_file+:} false; then :
   5831   $as_echo_n "(cached) " >&6
   5832 else
   5833   lt_cv_ar_at_file=no
   5834    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5835 /* end confdefs.h.  */
   5836 
   5837 int
   5838 main ()
   5839 {
   5840 
   5841   ;
   5842   return 0;
   5843 }
   5844 _ACEOF
   5845 if ac_fn_cxx_try_compile "$LINENO"; then :
   5846   echo conftest.$ac_objext > conftest.lst
   5847       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5848       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5849   (eval $lt_ar_try) 2>&5
   5850   ac_status=$?
   5851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5852   test $ac_status = 0; }
   5853       if test "$ac_status" -eq 0; then
   5854 	# Ensure the archiver fails upon bogus file names.
   5855 	rm -f conftest.$ac_objext libconftest.a
   5856 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5857   (eval $lt_ar_try) 2>&5
   5858   ac_status=$?
   5859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5860   test $ac_status = 0; }
   5861 	if test "$ac_status" -ne 0; then
   5862           lt_cv_ar_at_file=@
   5863         fi
   5864       fi
   5865       rm -f conftest.* libconftest.a
   5866 
   5867 fi
   5868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5869 
   5870 fi
   5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5872 $as_echo "$lt_cv_ar_at_file" >&6; }
   5873 
   5874 if test "x$lt_cv_ar_at_file" = xno; then
   5875   archiver_list_spec=
   5876 else
   5877   archiver_list_spec=$lt_cv_ar_at_file
   5878 fi
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 if test -n "$ac_tool_prefix"; then
   5887   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5888 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5890 $as_echo_n "checking for $ac_word... " >&6; }
   5891 if ${ac_cv_prog_STRIP+:} false; then :
   5892   $as_echo_n "(cached) " >&6
   5893 else
   5894   if test -n "$STRIP"; then
   5895   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5896 else
   5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5898 for as_dir in $PATH
   5899 do
   5900   IFS=$as_save_IFS
   5901   test -z "$as_dir" && as_dir=.
   5902     for ac_exec_ext in '' $ac_executable_extensions; do
   5903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5904     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5906     break 2
   5907   fi
   5908 done
   5909   done
   5910 IFS=$as_save_IFS
   5911 
   5912 fi
   5913 fi
   5914 STRIP=$ac_cv_prog_STRIP
   5915 if test -n "$STRIP"; then
   5916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5917 $as_echo "$STRIP" >&6; }
   5918 else
   5919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5920 $as_echo "no" >&6; }
   5921 fi
   5922 
   5923 
   5924 fi
   5925 if test -z "$ac_cv_prog_STRIP"; then
   5926   ac_ct_STRIP=$STRIP
   5927   # Extract the first word of "strip", so it can be a program name with args.
   5928 set dummy strip; ac_word=$2
   5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5930 $as_echo_n "checking for $ac_word... " >&6; }
   5931 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5932   $as_echo_n "(cached) " >&6
   5933 else
   5934   if test -n "$ac_ct_STRIP"; then
   5935   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5936 else
   5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5938 for as_dir in $PATH
   5939 do
   5940   IFS=$as_save_IFS
   5941   test -z "$as_dir" && as_dir=.
   5942     for ac_exec_ext in '' $ac_executable_extensions; do
   5943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5944     ac_cv_prog_ac_ct_STRIP="strip"
   5945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5946     break 2
   5947   fi
   5948 done
   5949   done
   5950 IFS=$as_save_IFS
   5951 
   5952 fi
   5953 fi
   5954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5955 if test -n "$ac_ct_STRIP"; then
   5956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5957 $as_echo "$ac_ct_STRIP" >&6; }
   5958 else
   5959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5960 $as_echo "no" >&6; }
   5961 fi
   5962 
   5963   if test "x$ac_ct_STRIP" = x; then
   5964     STRIP=":"
   5965   else
   5966     case $cross_compiling:$ac_tool_warned in
   5967 yes:)
   5968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5970 ac_tool_warned=yes ;;
   5971 esac
   5972     STRIP=$ac_ct_STRIP
   5973   fi
   5974 else
   5975   STRIP="$ac_cv_prog_STRIP"
   5976 fi
   5977 
   5978 test -z "$STRIP" && STRIP=:
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 if test -n "$ac_tool_prefix"; then
   5986   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5989 $as_echo_n "checking for $ac_word... " >&6; }
   5990 if ${ac_cv_prog_RANLIB+:} false; then :
   5991   $as_echo_n "(cached) " >&6
   5992 else
   5993   if test -n "$RANLIB"; then
   5994   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5995 else
   5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5997 for as_dir in $PATH
   5998 do
   5999   IFS=$as_save_IFS
   6000   test -z "$as_dir" && as_dir=.
   6001     for ac_exec_ext in '' $ac_executable_extensions; do
   6002   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6003     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6004     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6005     break 2
   6006   fi
   6007 done
   6008   done
   6009 IFS=$as_save_IFS
   6010 
   6011 fi
   6012 fi
   6013 RANLIB=$ac_cv_prog_RANLIB
   6014 if test -n "$RANLIB"; then
   6015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6016 $as_echo "$RANLIB" >&6; }
   6017 else
   6018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6019 $as_echo "no" >&6; }
   6020 fi
   6021 
   6022 
   6023 fi
   6024 if test -z "$ac_cv_prog_RANLIB"; then
   6025   ac_ct_RANLIB=$RANLIB
   6026   # Extract the first word of "ranlib", so it can be a program name with args.
   6027 set dummy ranlib; ac_word=$2
   6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6029 $as_echo_n "checking for $ac_word... " >&6; }
   6030 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6031   $as_echo_n "(cached) " >&6
   6032 else
   6033   if test -n "$ac_ct_RANLIB"; then
   6034   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6035 else
   6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6037 for as_dir in $PATH
   6038 do
   6039   IFS=$as_save_IFS
   6040   test -z "$as_dir" && as_dir=.
   6041     for ac_exec_ext in '' $ac_executable_extensions; do
   6042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6043     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6045     break 2
   6046   fi
   6047 done
   6048   done
   6049 IFS=$as_save_IFS
   6050 
   6051 fi
   6052 fi
   6053 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6054 if test -n "$ac_ct_RANLIB"; then
   6055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6056 $as_echo "$ac_ct_RANLIB" >&6; }
   6057 else
   6058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6059 $as_echo "no" >&6; }
   6060 fi
   6061 
   6062   if test "x$ac_ct_RANLIB" = x; then
   6063     RANLIB=":"
   6064   else
   6065     case $cross_compiling:$ac_tool_warned in
   6066 yes:)
   6067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6068 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6069 ac_tool_warned=yes ;;
   6070 esac
   6071     RANLIB=$ac_ct_RANLIB
   6072   fi
   6073 else
   6074   RANLIB="$ac_cv_prog_RANLIB"
   6075 fi
   6076 
   6077 test -z "$RANLIB" && RANLIB=:
   6078 
   6079 
   6080 
   6081 
   6082 
   6083 
   6084 # Determine commands to create old-style static archives.
   6085 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6086 old_postinstall_cmds='chmod 644 $oldlib'
   6087 old_postuninstall_cmds=
   6088 
   6089 if test -n "$RANLIB"; then
   6090   case $host_os in
   6091   openbsd*)
   6092     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6093     ;;
   6094   *)
   6095     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6096     ;;
   6097   esac
   6098   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6099 fi
   6100 
   6101 case $host_os in
   6102   darwin*)
   6103     lock_old_archive_extraction=yes ;;
   6104   *)
   6105     lock_old_archive_extraction=no ;;
   6106 esac
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 # If no C compiler was specified, use CC.
   6147 LTCC=${LTCC-"$CC"}
   6148 
   6149 # If no C compiler flags were specified, use CFLAGS.
   6150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6151 
   6152 # Allow CC to be a program name with arguments.
   6153 compiler=$CC
   6154 
   6155 
   6156 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6158 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6159 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6160   $as_echo_n "(cached) " >&6
   6161 else
   6162 
   6163 # These are sane defaults that work on at least a few old systems.
   6164 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6165 
   6166 # Character class describing NM global symbol codes.
   6167 symcode='[BCDEGRST]'
   6168 
   6169 # Regexp to match symbols that can be accessed directly from C.
   6170 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6171 
   6172 # Define system-specific variables.
   6173 case $host_os in
   6174 aix*)
   6175   symcode='[BCDT]'
   6176   ;;
   6177 cygwin* | mingw* | pw32* | cegcc*)
   6178   symcode='[ABCDGISTW]'
   6179   ;;
   6180 hpux*)
   6181   if test "$host_cpu" = ia64; then
   6182     symcode='[ABCDEGRST]'
   6183   fi
   6184   ;;
   6185 irix* | nonstopux*)
   6186   symcode='[BCDEGRST]'
   6187   ;;
   6188 osf*)
   6189   symcode='[BCDEGQRST]'
   6190   ;;
   6191 solaris*)
   6192   symcode='[BDRT]'
   6193   ;;
   6194 sco3.2v5*)
   6195   symcode='[DT]'
   6196   ;;
   6197 sysv4.2uw2*)
   6198   symcode='[DT]'
   6199   ;;
   6200 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6201   symcode='[ABDT]'
   6202   ;;
   6203 sysv4)
   6204   symcode='[DFNSTU]'
   6205   ;;
   6206 esac
   6207 
   6208 # If we're using GNU nm, then use its standard symbol codes.
   6209 case `$NM -V 2>&1` in
   6210 *GNU* | *'with BFD'*)
   6211   symcode='[ABCDGIRSTW]' ;;
   6212 esac
   6213 
   6214 # Transform an extracted symbol line into a proper C declaration.
   6215 # Some systems (esp. on ia64) link data and code symbols differently,
   6216 # so use this general approach.
   6217 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6218 
   6219 # Transform an extracted symbol line into symbol name and symbol address
   6220 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6221 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'"
   6222 
   6223 # Handle CRLF in mingw tool chain
   6224 opt_cr=
   6225 case $build_os in
   6226 mingw*)
   6227   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6228   ;;
   6229 esac
   6230 
   6231 # Try without a prefix underscore, then with it.
   6232 for ac_symprfx in "" "_"; do
   6233 
   6234   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6235   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6236 
   6237   # Write the raw and C identifiers.
   6238   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6239     # Fake it for dumpbin and say T for any non-static function
   6240     # and D for any global variable.
   6241     # Also find C++ and __fastcall symbols from MSVC++,
   6242     # which start with @ or ?.
   6243     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6244 "     {last_section=section; section=\$ 3};"\
   6245 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6246 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6247 "     \$ 0!~/External *\|/{next};"\
   6248 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6249 "     {if(hide[section]) next};"\
   6250 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6251 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6252 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6253 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6254 "     ' prfx=^$ac_symprfx"
   6255   else
   6256     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6257   fi
   6258   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6259 
   6260   # Check to see that the pipe works correctly.
   6261   pipe_works=no
   6262 
   6263   rm -f conftest*
   6264   cat > conftest.$ac_ext <<_LT_EOF
   6265 #ifdef __cplusplus
   6266 extern "C" {
   6267 #endif
   6268 char nm_test_var;
   6269 void nm_test_func(void);
   6270 void nm_test_func(void){}
   6271 #ifdef __cplusplus
   6272 }
   6273 #endif
   6274 int main(){nm_test_var='a';nm_test_func();return(0);}
   6275 _LT_EOF
   6276 
   6277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6278   (eval $ac_compile) 2>&5
   6279   ac_status=$?
   6280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6281   test $ac_status = 0; }; then
   6282     # Now try to grab the symbols.
   6283     nlist=conftest.nm
   6284     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6285   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6286   ac_status=$?
   6287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6288   test $ac_status = 0; } && test -s "$nlist"; then
   6289       # Try sorting and uniquifying the output.
   6290       if sort "$nlist" | uniq > "$nlist"T; then
   6291 	mv -f "$nlist"T "$nlist"
   6292       else
   6293 	rm -f "$nlist"T
   6294       fi
   6295 
   6296       # Make sure that we snagged all the symbols we need.
   6297       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6298 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6299 	  cat <<_LT_EOF > conftest.$ac_ext
   6300 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6301 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6302 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6303    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6304 # define LT_DLSYM_CONST
   6305 #elif defined(__osf__)
   6306 /* This system does not cope well with relocations in const data.  */
   6307 # define LT_DLSYM_CONST
   6308 #else
   6309 # define LT_DLSYM_CONST const
   6310 #endif
   6311 
   6312 #ifdef __cplusplus
   6313 extern "C" {
   6314 #endif
   6315 
   6316 _LT_EOF
   6317 	  # Now generate the symbol file.
   6318 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6319 
   6320 	  cat <<_LT_EOF >> conftest.$ac_ext
   6321 
   6322 /* The mapping between symbol names and symbols.  */
   6323 LT_DLSYM_CONST struct {
   6324   const char *name;
   6325   void       *address;
   6326 }
   6327 lt__PROGRAM__LTX_preloaded_symbols[] =
   6328 {
   6329   { "@PROGRAM@", (void *) 0 },
   6330 _LT_EOF
   6331 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6332 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6333   {0, (void *) 0}
   6334 };
   6335 
   6336 /* This works around a problem in FreeBSD linker */
   6337 #ifdef FREEBSD_WORKAROUND
   6338 static const void *lt_preloaded_setup() {
   6339   return lt__PROGRAM__LTX_preloaded_symbols;
   6340 }
   6341 #endif
   6342 
   6343 #ifdef __cplusplus
   6344 }
   6345 #endif
   6346 _LT_EOF
   6347 	  # Now try linking the two files.
   6348 	  mv conftest.$ac_objext conftstm.$ac_objext
   6349 	  lt_globsym_save_LIBS=$LIBS
   6350 	  lt_globsym_save_CFLAGS=$CFLAGS
   6351 	  LIBS="conftstm.$ac_objext"
   6352 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6353 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6354   (eval $ac_link) 2>&5
   6355   ac_status=$?
   6356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6357   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6358 	    pipe_works=yes
   6359 	  fi
   6360 	  LIBS=$lt_globsym_save_LIBS
   6361 	  CFLAGS=$lt_globsym_save_CFLAGS
   6362 	else
   6363 	  echo "cannot find nm_test_func in $nlist" >&5
   6364 	fi
   6365       else
   6366 	echo "cannot find nm_test_var in $nlist" >&5
   6367       fi
   6368     else
   6369       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6370     fi
   6371   else
   6372     echo "$progname: failed program was:" >&5
   6373     cat conftest.$ac_ext >&5
   6374   fi
   6375   rm -rf conftest* conftst*
   6376 
   6377   # Do not use the global_symbol_pipe unless it works.
   6378   if test "$pipe_works" = yes; then
   6379     break
   6380   else
   6381     lt_cv_sys_global_symbol_pipe=
   6382   fi
   6383 done
   6384 
   6385 fi
   6386 
   6387 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6388   lt_cv_sys_global_symbol_to_cdecl=
   6389 fi
   6390 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6392 $as_echo "failed" >&6; }
   6393 else
   6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6395 $as_echo "ok" >&6; }
   6396 fi
   6397 
   6398 # Response file support.
   6399 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6400   nm_file_list_spec='@'
   6401 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6402   nm_file_list_spec='@'
   6403 fi
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6432 $as_echo_n "checking for sysroot... " >&6; }
   6433 
   6434 # Check whether --with-sysroot was given.
   6435 if test "${with_sysroot+set}" = set; then :
   6436   withval=$with_sysroot;
   6437 else
   6438   with_sysroot=no
   6439 fi
   6440 
   6441 
   6442 lt_sysroot=
   6443 case ${with_sysroot} in #(
   6444  yes)
   6445    if test "$GCC" = yes; then
   6446      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6447    fi
   6448    ;; #(
   6449  /*)
   6450    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6451    ;; #(
   6452  no|'')
   6453    ;; #(
   6454  *)
   6455    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6456 $as_echo "${with_sysroot}" >&6; }
   6457    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6458    ;;
   6459 esac
   6460 
   6461  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6462 $as_echo "${lt_sysroot:-no}" >&6; }
   6463 
   6464 
   6465 
   6466 
   6467 
   6468 
   6469 # Check whether --enable-libtool-lock was given.
   6470 if test "${enable_libtool_lock+set}" = set; then :
   6471   enableval=$enable_libtool_lock;
   6472 fi
   6473 
   6474 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6475 
   6476 # Some flags need to be propagated to the compiler or linker for good
   6477 # libtool support.
   6478 case $host in
   6479 ia64-*-hpux*)
   6480   # Find out which ABI we are using.
   6481   echo 'int i;' > conftest.$ac_ext
   6482   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6483   (eval $ac_compile) 2>&5
   6484   ac_status=$?
   6485   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6486   test $ac_status = 0; }; then
   6487     case `/usr/bin/file conftest.$ac_objext` in
   6488       *ELF-32*)
   6489 	HPUX_IA64_MODE="32"
   6490 	;;
   6491       *ELF-64*)
   6492 	HPUX_IA64_MODE="64"
   6493 	;;
   6494     esac
   6495   fi
   6496   rm -rf conftest*
   6497   ;;
   6498 *-*-irix6*)
   6499   # Find out which ABI we are using.
   6500   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6501   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6502   (eval $ac_compile) 2>&5
   6503   ac_status=$?
   6504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6505   test $ac_status = 0; }; then
   6506     if test "$lt_cv_prog_gnu_ld" = yes; then
   6507       case `/usr/bin/file conftest.$ac_objext` in
   6508 	*32-bit*)
   6509 	  LD="${LD-ld} -melf32bsmip"
   6510 	  ;;
   6511 	*N32*)
   6512 	  LD="${LD-ld} -melf32bmipn32"
   6513 	  ;;
   6514 	*64-bit*)
   6515 	  LD="${LD-ld} -melf64bmip"
   6516 	;;
   6517       esac
   6518     else
   6519       case `/usr/bin/file conftest.$ac_objext` in
   6520 	*32-bit*)
   6521 	  LD="${LD-ld} -32"
   6522 	  ;;
   6523 	*N32*)
   6524 	  LD="${LD-ld} -n32"
   6525 	  ;;
   6526 	*64-bit*)
   6527 	  LD="${LD-ld} -64"
   6528 	  ;;
   6529       esac
   6530     fi
   6531   fi
   6532   rm -rf conftest*
   6533   ;;
   6534 
   6535 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6536 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6537   # Find out which ABI we are using.
   6538   echo 'int i;' > conftest.$ac_ext
   6539   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6540   (eval $ac_compile) 2>&5
   6541   ac_status=$?
   6542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6543   test $ac_status = 0; }; then
   6544     case `/usr/bin/file conftest.o` in
   6545       *32-bit*)
   6546 	case $host in
   6547 	  x86_64-*kfreebsd*-gnu)
   6548 	    LD="${LD-ld} -m elf_i386_fbsd"
   6549 	    ;;
   6550 	  x86_64-*linux*)
   6551 	    LD="${LD-ld} -m elf_i386"
   6552 	    ;;
   6553 	  ppc64-*linux*|powerpc64-*linux*)
   6554 	    LD="${LD-ld} -m elf32ppclinux"
   6555 	    ;;
   6556 	  s390x-*linux*)
   6557 	    LD="${LD-ld} -m elf_s390"
   6558 	    ;;
   6559 	  sparc64-*linux*)
   6560 	    LD="${LD-ld} -m elf32_sparc"
   6561 	    ;;
   6562 	esac
   6563 	;;
   6564       *64-bit*)
   6565 	case $host in
   6566 	  x86_64-*kfreebsd*-gnu)
   6567 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6568 	    ;;
   6569 	  x86_64-*linux*)
   6570 	    LD="${LD-ld} -m elf_x86_64"
   6571 	    ;;
   6572 	  ppc*-*linux*|powerpc*-*linux*)
   6573 	    LD="${LD-ld} -m elf64ppc"
   6574 	    ;;
   6575 	  s390*-*linux*|s390*-*tpf*)
   6576 	    LD="${LD-ld} -m elf64_s390"
   6577 	    ;;
   6578 	  sparc*-*linux*)
   6579 	    LD="${LD-ld} -m elf64_sparc"
   6580 	    ;;
   6581 	esac
   6582 	;;
   6583     esac
   6584   fi
   6585   rm -rf conftest*
   6586   ;;
   6587 
   6588 *-*-sco3.2v5*)
   6589   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6590   SAVE_CFLAGS="$CFLAGS"
   6591   CFLAGS="$CFLAGS -belf"
   6592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6593 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6594 if ${lt_cv_cc_needs_belf+:} false; then :
   6595   $as_echo_n "(cached) " >&6
   6596 else
   6597   ac_ext=c
   6598 ac_cpp='$CPP $CPPFLAGS'
   6599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6602 
   6603      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6604 /* end confdefs.h.  */
   6605 
   6606 int
   6607 main ()
   6608 {
   6609 
   6610   ;
   6611   return 0;
   6612 }
   6613 _ACEOF
   6614 if ac_fn_c_try_link "$LINENO"; then :
   6615   lt_cv_cc_needs_belf=yes
   6616 else
   6617   lt_cv_cc_needs_belf=no
   6618 fi
   6619 rm -f core conftest.err conftest.$ac_objext \
   6620     conftest$ac_exeext conftest.$ac_ext
   6621      ac_ext=c
   6622 ac_cpp='$CPP $CPPFLAGS'
   6623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6626 
   6627 fi
   6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6629 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6630   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6631     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6632     CFLAGS="$SAVE_CFLAGS"
   6633   fi
   6634   ;;
   6635 *-*solaris*)
   6636   # Find out which ABI we are using.
   6637   echo 'int i;' > conftest.$ac_ext
   6638   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6639   (eval $ac_compile) 2>&5
   6640   ac_status=$?
   6641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6642   test $ac_status = 0; }; then
   6643     case `/usr/bin/file conftest.o` in
   6644     *64-bit*)
   6645       case $lt_cv_prog_gnu_ld in
   6646       yes*)
   6647         case $host in
   6648         i?86-*-solaris*)
   6649           LD="${LD-ld} -m elf_x86_64"
   6650           ;;
   6651         sparc*-*-solaris*)
   6652           LD="${LD-ld} -m elf64_sparc"
   6653           ;;
   6654         esac
   6655         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6656         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6657           LD="${LD-ld}_sol2"
   6658         fi
   6659         ;;
   6660       *)
   6661 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6662 	  LD="${LD-ld} -64"
   6663 	fi
   6664 	;;
   6665       esac
   6666       ;;
   6667     esac
   6668   fi
   6669   rm -rf conftest*
   6670   ;;
   6671 esac
   6672 
   6673 need_locks="$enable_libtool_lock"
   6674 
   6675 if test -n "$ac_tool_prefix"; then
   6676   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6677 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6679 $as_echo_n "checking for $ac_word... " >&6; }
   6680 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6681   $as_echo_n "(cached) " >&6
   6682 else
   6683   if test -n "$MANIFEST_TOOL"; then
   6684   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6685 else
   6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6687 for as_dir in $PATH
   6688 do
   6689   IFS=$as_save_IFS
   6690   test -z "$as_dir" && as_dir=.
   6691     for ac_exec_ext in '' $ac_executable_extensions; do
   6692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6693     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6695     break 2
   6696   fi
   6697 done
   6698   done
   6699 IFS=$as_save_IFS
   6700 
   6701 fi
   6702 fi
   6703 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6704 if test -n "$MANIFEST_TOOL"; then
   6705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6706 $as_echo "$MANIFEST_TOOL" >&6; }
   6707 else
   6708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6709 $as_echo "no" >&6; }
   6710 fi
   6711 
   6712 
   6713 fi
   6714 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6715   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6716   # Extract the first word of "mt", so it can be a program name with args.
   6717 set dummy mt; ac_word=$2
   6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6719 $as_echo_n "checking for $ac_word... " >&6; }
   6720 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6721   $as_echo_n "(cached) " >&6
   6722 else
   6723   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6724   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6725 else
   6726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6727 for as_dir in $PATH
   6728 do
   6729   IFS=$as_save_IFS
   6730   test -z "$as_dir" && as_dir=.
   6731     for ac_exec_ext in '' $ac_executable_extensions; do
   6732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6733     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6735     break 2
   6736   fi
   6737 done
   6738   done
   6739 IFS=$as_save_IFS
   6740 
   6741 fi
   6742 fi
   6743 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6744 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6746 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6747 else
   6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6749 $as_echo "no" >&6; }
   6750 fi
   6751 
   6752   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6753     MANIFEST_TOOL=":"
   6754   else
   6755     case $cross_compiling:$ac_tool_warned in
   6756 yes:)
   6757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6759 ac_tool_warned=yes ;;
   6760 esac
   6761     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6762   fi
   6763 else
   6764   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6765 fi
   6766 
   6767 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6769 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6770 if ${lt_cv_path_mainfest_tool+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   lt_cv_path_mainfest_tool=no
   6774   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6775   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6776   cat conftest.err >&5
   6777   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6778     lt_cv_path_mainfest_tool=yes
   6779   fi
   6780   rm -f conftest*
   6781 fi
   6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6783 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6784 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6785   MANIFEST_TOOL=:
   6786 fi
   6787 
   6788 
   6789 
   6790 
   6791 
   6792 
   6793   case $host_os in
   6794     rhapsody* | darwin*)
   6795     if test -n "$ac_tool_prefix"; then
   6796   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6797 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6799 $as_echo_n "checking for $ac_word... " >&6; }
   6800 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6801   $as_echo_n "(cached) " >&6
   6802 else
   6803   if test -n "$DSYMUTIL"; then
   6804   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6805 else
   6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6807 for as_dir in $PATH
   6808 do
   6809   IFS=$as_save_IFS
   6810   test -z "$as_dir" && as_dir=.
   6811     for ac_exec_ext in '' $ac_executable_extensions; do
   6812   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6813     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6815     break 2
   6816   fi
   6817 done
   6818   done
   6819 IFS=$as_save_IFS
   6820 
   6821 fi
   6822 fi
   6823 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6824 if test -n "$DSYMUTIL"; then
   6825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6826 $as_echo "$DSYMUTIL" >&6; }
   6827 else
   6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6829 $as_echo "no" >&6; }
   6830 fi
   6831 
   6832 
   6833 fi
   6834 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6835   ac_ct_DSYMUTIL=$DSYMUTIL
   6836   # Extract the first word of "dsymutil", so it can be a program name with args.
   6837 set dummy dsymutil; ac_word=$2
   6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6839 $as_echo_n "checking for $ac_word... " >&6; }
   6840 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6841   $as_echo_n "(cached) " >&6
   6842 else
   6843   if test -n "$ac_ct_DSYMUTIL"; then
   6844   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6845 else
   6846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6847 for as_dir in $PATH
   6848 do
   6849   IFS=$as_save_IFS
   6850   test -z "$as_dir" && as_dir=.
   6851     for ac_exec_ext in '' $ac_executable_extensions; do
   6852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6853     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6855     break 2
   6856   fi
   6857 done
   6858   done
   6859 IFS=$as_save_IFS
   6860 
   6861 fi
   6862 fi
   6863 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6864 if test -n "$ac_ct_DSYMUTIL"; then
   6865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6866 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6867 else
   6868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6869 $as_echo "no" >&6; }
   6870 fi
   6871 
   6872   if test "x$ac_ct_DSYMUTIL" = x; then
   6873     DSYMUTIL=":"
   6874   else
   6875     case $cross_compiling:$ac_tool_warned in
   6876 yes:)
   6877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6879 ac_tool_warned=yes ;;
   6880 esac
   6881     DSYMUTIL=$ac_ct_DSYMUTIL
   6882   fi
   6883 else
   6884   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6885 fi
   6886 
   6887     if test -n "$ac_tool_prefix"; then
   6888   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6889 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6891 $as_echo_n "checking for $ac_word... " >&6; }
   6892 if ${ac_cv_prog_NMEDIT+:} false; then :
   6893   $as_echo_n "(cached) " >&6
   6894 else
   6895   if test -n "$NMEDIT"; then
   6896   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6897 else
   6898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6899 for as_dir in $PATH
   6900 do
   6901   IFS=$as_save_IFS
   6902   test -z "$as_dir" && as_dir=.
   6903     for ac_exec_ext in '' $ac_executable_extensions; do
   6904   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6905     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6906     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6907     break 2
   6908   fi
   6909 done
   6910   done
   6911 IFS=$as_save_IFS
   6912 
   6913 fi
   6914 fi
   6915 NMEDIT=$ac_cv_prog_NMEDIT
   6916 if test -n "$NMEDIT"; then
   6917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6918 $as_echo "$NMEDIT" >&6; }
   6919 else
   6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6921 $as_echo "no" >&6; }
   6922 fi
   6923 
   6924 
   6925 fi
   6926 if test -z "$ac_cv_prog_NMEDIT"; then
   6927   ac_ct_NMEDIT=$NMEDIT
   6928   # Extract the first word of "nmedit", so it can be a program name with args.
   6929 set dummy nmedit; ac_word=$2
   6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6931 $as_echo_n "checking for $ac_word... " >&6; }
   6932 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6933   $as_echo_n "(cached) " >&6
   6934 else
   6935   if test -n "$ac_ct_NMEDIT"; then
   6936   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6937 else
   6938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6939 for as_dir in $PATH
   6940 do
   6941   IFS=$as_save_IFS
   6942   test -z "$as_dir" && as_dir=.
   6943     for ac_exec_ext in '' $ac_executable_extensions; do
   6944   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6945     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6947     break 2
   6948   fi
   6949 done
   6950   done
   6951 IFS=$as_save_IFS
   6952 
   6953 fi
   6954 fi
   6955 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6956 if test -n "$ac_ct_NMEDIT"; then
   6957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6958 $as_echo "$ac_ct_NMEDIT" >&6; }
   6959 else
   6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6961 $as_echo "no" >&6; }
   6962 fi
   6963 
   6964   if test "x$ac_ct_NMEDIT" = x; then
   6965     NMEDIT=":"
   6966   else
   6967     case $cross_compiling:$ac_tool_warned in
   6968 yes:)
   6969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6971 ac_tool_warned=yes ;;
   6972 esac
   6973     NMEDIT=$ac_ct_NMEDIT
   6974   fi
   6975 else
   6976   NMEDIT="$ac_cv_prog_NMEDIT"
   6977 fi
   6978 
   6979     if test -n "$ac_tool_prefix"; then
   6980   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6981 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6983 $as_echo_n "checking for $ac_word... " >&6; }
   6984 if ${ac_cv_prog_LIPO+:} false; then :
   6985   $as_echo_n "(cached) " >&6
   6986 else
   6987   if test -n "$LIPO"; then
   6988   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6989 else
   6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6991 for as_dir in $PATH
   6992 do
   6993   IFS=$as_save_IFS
   6994   test -z "$as_dir" && as_dir=.
   6995     for ac_exec_ext in '' $ac_executable_extensions; do
   6996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6997     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6999     break 2
   7000   fi
   7001 done
   7002   done
   7003 IFS=$as_save_IFS
   7004 
   7005 fi
   7006 fi
   7007 LIPO=$ac_cv_prog_LIPO
   7008 if test -n "$LIPO"; then
   7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7010 $as_echo "$LIPO" >&6; }
   7011 else
   7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7013 $as_echo "no" >&6; }
   7014 fi
   7015 
   7016 
   7017 fi
   7018 if test -z "$ac_cv_prog_LIPO"; then
   7019   ac_ct_LIPO=$LIPO
   7020   # Extract the first word of "lipo", so it can be a program name with args.
   7021 set dummy lipo; ac_word=$2
   7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7023 $as_echo_n "checking for $ac_word... " >&6; }
   7024 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7025   $as_echo_n "(cached) " >&6
   7026 else
   7027   if test -n "$ac_ct_LIPO"; then
   7028   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7029 else
   7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7031 for as_dir in $PATH
   7032 do
   7033   IFS=$as_save_IFS
   7034   test -z "$as_dir" && as_dir=.
   7035     for ac_exec_ext in '' $ac_executable_extensions; do
   7036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7037     ac_cv_prog_ac_ct_LIPO="lipo"
   7038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7039     break 2
   7040   fi
   7041 done
   7042   done
   7043 IFS=$as_save_IFS
   7044 
   7045 fi
   7046 fi
   7047 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7048 if test -n "$ac_ct_LIPO"; then
   7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7050 $as_echo "$ac_ct_LIPO" >&6; }
   7051 else
   7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7053 $as_echo "no" >&6; }
   7054 fi
   7055 
   7056   if test "x$ac_ct_LIPO" = x; then
   7057     LIPO=":"
   7058   else
   7059     case $cross_compiling:$ac_tool_warned in
   7060 yes:)
   7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7063 ac_tool_warned=yes ;;
   7064 esac
   7065     LIPO=$ac_ct_LIPO
   7066   fi
   7067 else
   7068   LIPO="$ac_cv_prog_LIPO"
   7069 fi
   7070 
   7071     if test -n "$ac_tool_prefix"; then
   7072   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7073 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7075 $as_echo_n "checking for $ac_word... " >&6; }
   7076 if ${ac_cv_prog_OTOOL+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   if test -n "$OTOOL"; then
   7080   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7081 else
   7082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7083 for as_dir in $PATH
   7084 do
   7085   IFS=$as_save_IFS
   7086   test -z "$as_dir" && as_dir=.
   7087     for ac_exec_ext in '' $ac_executable_extensions; do
   7088   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7089     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7090     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7091     break 2
   7092   fi
   7093 done
   7094   done
   7095 IFS=$as_save_IFS
   7096 
   7097 fi
   7098 fi
   7099 OTOOL=$ac_cv_prog_OTOOL
   7100 if test -n "$OTOOL"; then
   7101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7102 $as_echo "$OTOOL" >&6; }
   7103 else
   7104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7105 $as_echo "no" >&6; }
   7106 fi
   7107 
   7108 
   7109 fi
   7110 if test -z "$ac_cv_prog_OTOOL"; then
   7111   ac_ct_OTOOL=$OTOOL
   7112   # Extract the first word of "otool", so it can be a program name with args.
   7113 set dummy otool; ac_word=$2
   7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7115 $as_echo_n "checking for $ac_word... " >&6; }
   7116 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7117   $as_echo_n "(cached) " >&6
   7118 else
   7119   if test -n "$ac_ct_OTOOL"; then
   7120   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7121 else
   7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7123 for as_dir in $PATH
   7124 do
   7125   IFS=$as_save_IFS
   7126   test -z "$as_dir" && as_dir=.
   7127     for ac_exec_ext in '' $ac_executable_extensions; do
   7128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7129     ac_cv_prog_ac_ct_OTOOL="otool"
   7130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7131     break 2
   7132   fi
   7133 done
   7134   done
   7135 IFS=$as_save_IFS
   7136 
   7137 fi
   7138 fi
   7139 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7140 if test -n "$ac_ct_OTOOL"; then
   7141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7142 $as_echo "$ac_ct_OTOOL" >&6; }
   7143 else
   7144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7145 $as_echo "no" >&6; }
   7146 fi
   7147 
   7148   if test "x$ac_ct_OTOOL" = x; then
   7149     OTOOL=":"
   7150   else
   7151     case $cross_compiling:$ac_tool_warned in
   7152 yes:)
   7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7155 ac_tool_warned=yes ;;
   7156 esac
   7157     OTOOL=$ac_ct_OTOOL
   7158   fi
   7159 else
   7160   OTOOL="$ac_cv_prog_OTOOL"
   7161 fi
   7162 
   7163     if test -n "$ac_tool_prefix"; then
   7164   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7165 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7167 $as_echo_n "checking for $ac_word... " >&6; }
   7168 if ${ac_cv_prog_OTOOL64+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   if test -n "$OTOOL64"; then
   7172   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7173 else
   7174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7175 for as_dir in $PATH
   7176 do
   7177   IFS=$as_save_IFS
   7178   test -z "$as_dir" && as_dir=.
   7179     for ac_exec_ext in '' $ac_executable_extensions; do
   7180   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7181     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7182     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7183     break 2
   7184   fi
   7185 done
   7186   done
   7187 IFS=$as_save_IFS
   7188 
   7189 fi
   7190 fi
   7191 OTOOL64=$ac_cv_prog_OTOOL64
   7192 if test -n "$OTOOL64"; then
   7193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7194 $as_echo "$OTOOL64" >&6; }
   7195 else
   7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7197 $as_echo "no" >&6; }
   7198 fi
   7199 
   7200 
   7201 fi
   7202 if test -z "$ac_cv_prog_OTOOL64"; then
   7203   ac_ct_OTOOL64=$OTOOL64
   7204   # Extract the first word of "otool64", so it can be a program name with args.
   7205 set dummy otool64; ac_word=$2
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7207 $as_echo_n "checking for $ac_word... " >&6; }
   7208 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7209   $as_echo_n "(cached) " >&6
   7210 else
   7211   if test -n "$ac_ct_OTOOL64"; then
   7212   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7213 else
   7214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7215 for as_dir in $PATH
   7216 do
   7217   IFS=$as_save_IFS
   7218   test -z "$as_dir" && as_dir=.
   7219     for ac_exec_ext in '' $ac_executable_extensions; do
   7220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7221     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7223     break 2
   7224   fi
   7225 done
   7226   done
   7227 IFS=$as_save_IFS
   7228 
   7229 fi
   7230 fi
   7231 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7232 if test -n "$ac_ct_OTOOL64"; then
   7233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7234 $as_echo "$ac_ct_OTOOL64" >&6; }
   7235 else
   7236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7237 $as_echo "no" >&6; }
   7238 fi
   7239 
   7240   if test "x$ac_ct_OTOOL64" = x; then
   7241     OTOOL64=":"
   7242   else
   7243     case $cross_compiling:$ac_tool_warned in
   7244 yes:)
   7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7247 ac_tool_warned=yes ;;
   7248 esac
   7249     OTOOL64=$ac_ct_OTOOL64
   7250   fi
   7251 else
   7252   OTOOL64="$ac_cv_prog_OTOOL64"
   7253 fi
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 
   7280 
   7281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7282 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7283 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7284   $as_echo_n "(cached) " >&6
   7285 else
   7286   lt_cv_apple_cc_single_mod=no
   7287       if test -z "${LT_MULTI_MODULE}"; then
   7288 	# By default we will add the -single_module flag. You can override
   7289 	# by either setting the environment variable LT_MULTI_MODULE
   7290 	# non-empty at configure time, or by adding -multi_module to the
   7291 	# link flags.
   7292 	rm -rf libconftest.dylib*
   7293 	echo "int foo(void){return 1;}" > conftest.c
   7294 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7295 -dynamiclib -Wl,-single_module conftest.c" >&5
   7296 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7297 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7298         _lt_result=$?
   7299 	# If there is a non-empty error log, and "single_module"
   7300 	# appears in it, assume the flag caused a linker warning
   7301         if test -s conftest.err && $GREP single_module conftest.err; then
   7302 	  cat conftest.err >&5
   7303 	# Otherwise, if the output was created with a 0 exit code from
   7304 	# the compiler, it worked.
   7305 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7306 	  lt_cv_apple_cc_single_mod=yes
   7307 	else
   7308 	  cat conftest.err >&5
   7309 	fi
   7310 	rm -rf libconftest.dylib*
   7311 	rm -f conftest.*
   7312       fi
   7313 fi
   7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7315 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7316 
   7317     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7318 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7319 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7320   $as_echo_n "(cached) " >&6
   7321 else
   7322   lt_cv_ld_exported_symbols_list=no
   7323       save_LDFLAGS=$LDFLAGS
   7324       echo "_main" > conftest.sym
   7325       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 
   7329 int
   7330 main ()
   7331 {
   7332 
   7333   ;
   7334   return 0;
   7335 }
   7336 _ACEOF
   7337 if ac_fn_c_try_link "$LINENO"; then :
   7338   lt_cv_ld_exported_symbols_list=yes
   7339 else
   7340   lt_cv_ld_exported_symbols_list=no
   7341 fi
   7342 rm -f core conftest.err conftest.$ac_objext \
   7343     conftest$ac_exeext conftest.$ac_ext
   7344 	LDFLAGS="$save_LDFLAGS"
   7345 
   7346 fi
   7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7348 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7349 
   7350     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7351 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7352 if ${lt_cv_ld_force_load+:} false; then :
   7353   $as_echo_n "(cached) " >&6
   7354 else
   7355   lt_cv_ld_force_load=no
   7356       cat > conftest.c << _LT_EOF
   7357 int forced_loaded() { return 2;}
   7358 _LT_EOF
   7359       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7360       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7361       echo "$AR cru libconftest.a conftest.o" >&5
   7362       $AR cru libconftest.a conftest.o 2>&5
   7363       echo "$RANLIB libconftest.a" >&5
   7364       $RANLIB libconftest.a 2>&5
   7365       cat > conftest.c << _LT_EOF
   7366 int main() { return 0;}
   7367 _LT_EOF
   7368       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7369       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7370       _lt_result=$?
   7371       if test -s conftest.err && $GREP force_load conftest.err; then
   7372 	cat conftest.err >&5
   7373       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7374 	lt_cv_ld_force_load=yes
   7375       else
   7376 	cat conftest.err >&5
   7377       fi
   7378         rm -f conftest.err libconftest.a conftest conftest.c
   7379         rm -rf conftest.dSYM
   7380 
   7381 fi
   7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7383 $as_echo "$lt_cv_ld_force_load" >&6; }
   7384     case $host_os in
   7385     rhapsody* | darwin1.[012])
   7386       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7387     darwin1.*)
   7388       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7389     darwin*) # darwin 5.x on
   7390       # if running on 10.5 or later, the deployment target defaults
   7391       # to the OS version, if on x86, and 10.4, the deployment
   7392       # target defaults to 10.4. Don't you love it?
   7393       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7394 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7395 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7396 	10.[012]*)
   7397 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7398 	10.*)
   7399 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7400       esac
   7401     ;;
   7402   esac
   7403     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7404       _lt_dar_single_mod='$single_module'
   7405     fi
   7406     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7407       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7408     else
   7409       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7410     fi
   7411     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7412       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7413     else
   7414       _lt_dsymutil=
   7415     fi
   7416     ;;
   7417   esac
   7418 
   7419 ac_ext=c
   7420 ac_cpp='$CPP $CPPFLAGS'
   7421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7425 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7426 # On Suns, sometimes $CPP names a directory.
   7427 if test -n "$CPP" && test -d "$CPP"; then
   7428   CPP=
   7429 fi
   7430 if test -z "$CPP"; then
   7431   if ${ac_cv_prog_CPP+:} false; then :
   7432   $as_echo_n "(cached) " >&6
   7433 else
   7434       # Double quotes because CPP needs to be expanded
   7435     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7436     do
   7437       ac_preproc_ok=false
   7438 for ac_c_preproc_warn_flag in '' yes
   7439 do
   7440   # Use a header file that comes with gcc, so configuring glibc
   7441   # with a fresh cross-compiler works.
   7442   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7443   # <limits.h> exists even on freestanding compilers.
   7444   # On the NeXT, cc -E runs the code through the compiler's parser,
   7445   # not just through cpp. "Syntax error" is here to catch this case.
   7446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7447 /* end confdefs.h.  */
   7448 #ifdef __STDC__
   7449 # include <limits.h>
   7450 #else
   7451 # include <assert.h>
   7452 #endif
   7453 		     Syntax error
   7454 _ACEOF
   7455 if ac_fn_c_try_cpp "$LINENO"; then :
   7456 
   7457 else
   7458   # Broken: fails on valid input.
   7459 continue
   7460 fi
   7461 rm -f conftest.err conftest.i conftest.$ac_ext
   7462 
   7463   # OK, works on sane cases.  Now check whether nonexistent headers
   7464   # can be detected and how.
   7465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7466 /* end confdefs.h.  */
   7467 #include <ac_nonexistent.h>
   7468 _ACEOF
   7469 if ac_fn_c_try_cpp "$LINENO"; then :
   7470   # Broken: success on invalid input.
   7471 continue
   7472 else
   7473   # Passes both tests.
   7474 ac_preproc_ok=:
   7475 break
   7476 fi
   7477 rm -f conftest.err conftest.i conftest.$ac_ext
   7478 
   7479 done
   7480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7481 rm -f conftest.i conftest.err conftest.$ac_ext
   7482 if $ac_preproc_ok; then :
   7483   break
   7484 fi
   7485 
   7486     done
   7487     ac_cv_prog_CPP=$CPP
   7488 
   7489 fi
   7490   CPP=$ac_cv_prog_CPP
   7491 else
   7492   ac_cv_prog_CPP=$CPP
   7493 fi
   7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7495 $as_echo "$CPP" >&6; }
   7496 ac_preproc_ok=false
   7497 for ac_c_preproc_warn_flag in '' yes
   7498 do
   7499   # Use a header file that comes with gcc, so configuring glibc
   7500   # with a fresh cross-compiler works.
   7501   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7502   # <limits.h> exists even on freestanding compilers.
   7503   # On the NeXT, cc -E runs the code through the compiler's parser,
   7504   # not just through cpp. "Syntax error" is here to catch this case.
   7505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7506 /* end confdefs.h.  */
   7507 #ifdef __STDC__
   7508 # include <limits.h>
   7509 #else
   7510 # include <assert.h>
   7511 #endif
   7512 		     Syntax error
   7513 _ACEOF
   7514 if ac_fn_c_try_cpp "$LINENO"; then :
   7515 
   7516 else
   7517   # Broken: fails on valid input.
   7518 continue
   7519 fi
   7520 rm -f conftest.err conftest.i conftest.$ac_ext
   7521 
   7522   # OK, works on sane cases.  Now check whether nonexistent headers
   7523   # can be detected and how.
   7524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7525 /* end confdefs.h.  */
   7526 #include <ac_nonexistent.h>
   7527 _ACEOF
   7528 if ac_fn_c_try_cpp "$LINENO"; then :
   7529   # Broken: success on invalid input.
   7530 continue
   7531 else
   7532   # Passes both tests.
   7533 ac_preproc_ok=:
   7534 break
   7535 fi
   7536 rm -f conftest.err conftest.i conftest.$ac_ext
   7537 
   7538 done
   7539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7540 rm -f conftest.i conftest.err conftest.$ac_ext
   7541 if $ac_preproc_ok; then :
   7542 
   7543 else
   7544   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7546 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7547 See \`config.log' for more details" "$LINENO" 5; }
   7548 fi
   7549 
   7550 ac_ext=c
   7551 ac_cpp='$CPP $CPPFLAGS'
   7552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7555 
   7556 
   7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7558 $as_echo_n "checking for ANSI C header files... " >&6; }
   7559 if ${ac_cv_header_stdc+:} false; then :
   7560   $as_echo_n "(cached) " >&6
   7561 else
   7562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7563 /* end confdefs.h.  */
   7564 #include <stdlib.h>
   7565 #include <stdarg.h>
   7566 #include <string.h>
   7567 #include <float.h>
   7568 
   7569 int
   7570 main ()
   7571 {
   7572 
   7573   ;
   7574   return 0;
   7575 }
   7576 _ACEOF
   7577 if ac_fn_c_try_compile "$LINENO"; then :
   7578   ac_cv_header_stdc=yes
   7579 else
   7580   ac_cv_header_stdc=no
   7581 fi
   7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7583 
   7584 if test $ac_cv_header_stdc = yes; then
   7585   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7587 /* end confdefs.h.  */
   7588 #include <string.h>
   7589 
   7590 _ACEOF
   7591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7592   $EGREP "memchr" >/dev/null 2>&1; then :
   7593 
   7594 else
   7595   ac_cv_header_stdc=no
   7596 fi
   7597 rm -f conftest*
   7598 
   7599 fi
   7600 
   7601 if test $ac_cv_header_stdc = yes; then
   7602   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7604 /* end confdefs.h.  */
   7605 #include <stdlib.h>
   7606 
   7607 _ACEOF
   7608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7609   $EGREP "free" >/dev/null 2>&1; then :
   7610 
   7611 else
   7612   ac_cv_header_stdc=no
   7613 fi
   7614 rm -f conftest*
   7615 
   7616 fi
   7617 
   7618 if test $ac_cv_header_stdc = yes; then
   7619   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7620   if test "$cross_compiling" = yes; then :
   7621   :
   7622 else
   7623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7624 /* end confdefs.h.  */
   7625 #include <ctype.h>
   7626 #include <stdlib.h>
   7627 #if ((' ' & 0x0FF) == 0x020)
   7628 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7629 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7630 #else
   7631 # define ISLOWER(c) \
   7632 		   (('a' <= (c) && (c) <= 'i') \
   7633 		     || ('j' <= (c) && (c) <= 'r') \
   7634 		     || ('s' <= (c) && (c) <= 'z'))
   7635 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7636 #endif
   7637 
   7638 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7639 int
   7640 main ()
   7641 {
   7642   int i;
   7643   for (i = 0; i < 256; i++)
   7644     if (XOR (islower (i), ISLOWER (i))
   7645 	|| toupper (i) != TOUPPER (i))
   7646       return 2;
   7647   return 0;
   7648 }
   7649 _ACEOF
   7650 if ac_fn_c_try_run "$LINENO"; then :
   7651 
   7652 else
   7653   ac_cv_header_stdc=no
   7654 fi
   7655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7656   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7657 fi
   7658 
   7659 fi
   7660 fi
   7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7662 $as_echo "$ac_cv_header_stdc" >&6; }
   7663 if test $ac_cv_header_stdc = yes; then
   7664 
   7665 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7666 
   7667 fi
   7668 
   7669 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7670 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7671 		  inttypes.h stdint.h unistd.h
   7672 do :
   7673   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7675 "
   7676 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7677   cat >>confdefs.h <<_ACEOF
   7678 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7679 _ACEOF
   7680 
   7681 fi
   7682 
   7683 done
   7684 
   7685 
   7686 for ac_header in dlfcn.h
   7687 do :
   7688   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7689 "
   7690 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7691   cat >>confdefs.h <<_ACEOF
   7692 #define HAVE_DLFCN_H 1
   7693 _ACEOF
   7694 
   7695 fi
   7696 
   7697 done
   7698 
   7699 
   7700 
   7701 func_stripname_cnf ()
   7702 {
   7703   case ${2} in
   7704   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   7705   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   7706   esac
   7707 } # func_stripname_cnf
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 # Set options
   7714 
   7715 
   7716 
   7717         enable_dlopen=no
   7718 
   7719 
   7720   enable_win32_dll=no
   7721 
   7722 
   7723             # Check whether --enable-shared was given.
   7724 if test "${enable_shared+set}" = set; then :
   7725   enableval=$enable_shared; p=${PACKAGE-default}
   7726     case $enableval in
   7727     yes) enable_shared=yes ;;
   7728     no) enable_shared=no ;;
   7729     *)
   7730       enable_shared=no
   7731       # Look at the argument we got.  We use all the common list separators.
   7732       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7733       for pkg in $enableval; do
   7734 	IFS="$lt_save_ifs"
   7735 	if test "X$pkg" = "X$p"; then
   7736 	  enable_shared=yes
   7737 	fi
   7738       done
   7739       IFS="$lt_save_ifs"
   7740       ;;
   7741     esac
   7742 else
   7743   enable_shared=yes
   7744 fi
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754   # Check whether --enable-static was given.
   7755 if test "${enable_static+set}" = set; then :
   7756   enableval=$enable_static; p=${PACKAGE-default}
   7757     case $enableval in
   7758     yes) enable_static=yes ;;
   7759     no) enable_static=no ;;
   7760     *)
   7761      enable_static=no
   7762       # Look at the argument we got.  We use all the common list separators.
   7763       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7764       for pkg in $enableval; do
   7765 	IFS="$lt_save_ifs"
   7766 	if test "X$pkg" = "X$p"; then
   7767 	  enable_static=yes
   7768 	fi
   7769       done
   7770       IFS="$lt_save_ifs"
   7771       ;;
   7772     esac
   7773 else
   7774   enable_static=yes
   7775 fi
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 # Check whether --with-pic was given.
   7787 if test "${with_pic+set}" = set; then :
   7788   withval=$with_pic; lt_p=${PACKAGE-default}
   7789     case $withval in
   7790     yes|no) pic_mode=$withval ;;
   7791     *)
   7792       pic_mode=default
   7793       # Look at the argument we got.  We use all the common list separators.
   7794       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7795       for lt_pkg in $withval; do
   7796 	IFS="$lt_save_ifs"
   7797 	if test "X$lt_pkg" = "X$lt_p"; then
   7798 	  pic_mode=yes
   7799 	fi
   7800       done
   7801       IFS="$lt_save_ifs"
   7802       ;;
   7803     esac
   7804 else
   7805   pic_mode=default
   7806 fi
   7807 
   7808 
   7809 test -z "$pic_mode" && pic_mode=default
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817   # Check whether --enable-fast-install was given.
   7818 if test "${enable_fast_install+set}" = set; then :
   7819   enableval=$enable_fast_install; p=${PACKAGE-default}
   7820     case $enableval in
   7821     yes) enable_fast_install=yes ;;
   7822     no) enable_fast_install=no ;;
   7823     *)
   7824       enable_fast_install=no
   7825       # Look at the argument we got.  We use all the common list separators.
   7826       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7827       for pkg in $enableval; do
   7828 	IFS="$lt_save_ifs"
   7829 	if test "X$pkg" = "X$p"; then
   7830 	  enable_fast_install=yes
   7831 	fi
   7832       done
   7833       IFS="$lt_save_ifs"
   7834       ;;
   7835     esac
   7836 else
   7837   enable_fast_install=yes
   7838 fi
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 # This can be used to rebuild libtool when needed
   7851 LIBTOOL_DEPS="$ltmain"
   7852 
   7853 # Always use our own libtool.
   7854 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 test -z "$LN_S" && LN_S="ln -s"
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 if test -n "${ZSH_VERSION+set}" ; then
   7901    setopt NO_GLOB_SUBST
   7902 fi
   7903 
   7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7905 $as_echo_n "checking for objdir... " >&6; }
   7906 if ${lt_cv_objdir+:} false; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   rm -f .libs 2>/dev/null
   7910 mkdir .libs 2>/dev/null
   7911 if test -d .libs; then
   7912   lt_cv_objdir=.libs
   7913 else
   7914   # MS-DOS does not allow filenames that begin with a dot.
   7915   lt_cv_objdir=_libs
   7916 fi
   7917 rmdir .libs 2>/dev/null
   7918 fi
   7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7920 $as_echo "$lt_cv_objdir" >&6; }
   7921 objdir=$lt_cv_objdir
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 cat >>confdefs.h <<_ACEOF
   7928 #define LT_OBJDIR "$lt_cv_objdir/"
   7929 _ACEOF
   7930 
   7931 
   7932 
   7933 
   7934 case $host_os in
   7935 aix3*)
   7936   # AIX sometimes has problems with the GCC collect2 program.  For some
   7937   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7938   # vanish in a puff of smoke.
   7939   if test "X${COLLECT_NAMES+set}" != Xset; then
   7940     COLLECT_NAMES=
   7941     export COLLECT_NAMES
   7942   fi
   7943   ;;
   7944 esac
   7945 
   7946 # Global variables:
   7947 ofile=libtool
   7948 can_build_shared=yes
   7949 
   7950 # All known linkers require a `.a' archive for static linking (except MSVC,
   7951 # which needs '.lib').
   7952 libext=a
   7953 
   7954 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7955 
   7956 old_CC="$CC"
   7957 old_CFLAGS="$CFLAGS"
   7958 
   7959 # Set sane defaults for various variables
   7960 test -z "$CC" && CC=cc
   7961 test -z "$LTCC" && LTCC=$CC
   7962 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7963 test -z "$LD" && LD=ld
   7964 test -z "$ac_objext" && ac_objext=o
   7965 
   7966 for cc_temp in $compiler""; do
   7967   case $cc_temp in
   7968     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7969     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7970     \-*) ;;
   7971     *) break;;
   7972   esac
   7973 done
   7974 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7975 
   7976 
   7977 # Only perform the check for file, if the check method requires it
   7978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7979 case $deplibs_check_method in
   7980 file_magic*)
   7981   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7983 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7984 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7985   $as_echo_n "(cached) " >&6
   7986 else
   7987   case $MAGIC_CMD in
   7988 [\\/*] |  ?:[\\/]*)
   7989   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7990   ;;
   7991 *)
   7992   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7993   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7994   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7995   for ac_dir in $ac_dummy; do
   7996     IFS="$lt_save_ifs"
   7997     test -z "$ac_dir" && ac_dir=.
   7998     if test -f $ac_dir/${ac_tool_prefix}file; then
   7999       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8000       if test -n "$file_magic_test_file"; then
   8001 	case $deplibs_check_method in
   8002 	"file_magic "*)
   8003 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8004 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8005 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8006 	    $EGREP "$file_magic_regex" > /dev/null; then
   8007 	    :
   8008 	  else
   8009 	    cat <<_LT_EOF 1>&2
   8010 
   8011 *** Warning: the command libtool uses to detect shared libraries,
   8012 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8013 *** The result is that libtool may fail to recognize shared libraries
   8014 *** as such.  This will affect the creation of libtool libraries that
   8015 *** depend on shared libraries, but programs linked with such libtool
   8016 *** libraries will work regardless of this problem.  Nevertheless, you
   8017 *** may want to report the problem to your system manager and/or to
   8018 *** bug-libtool@gnu.org
   8019 
   8020 _LT_EOF
   8021 	  fi ;;
   8022 	esac
   8023       fi
   8024       break
   8025     fi
   8026   done
   8027   IFS="$lt_save_ifs"
   8028   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8029   ;;
   8030 esac
   8031 fi
   8032 
   8033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8034 if test -n "$MAGIC_CMD"; then
   8035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8036 $as_echo "$MAGIC_CMD" >&6; }
   8037 else
   8038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8039 $as_echo "no" >&6; }
   8040 fi
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8047   if test -n "$ac_tool_prefix"; then
   8048     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8049 $as_echo_n "checking for file... " >&6; }
   8050 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8051   $as_echo_n "(cached) " >&6
   8052 else
   8053   case $MAGIC_CMD in
   8054 [\\/*] |  ?:[\\/]*)
   8055   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8056   ;;
   8057 *)
   8058   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8059   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8060   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8061   for ac_dir in $ac_dummy; do
   8062     IFS="$lt_save_ifs"
   8063     test -z "$ac_dir" && ac_dir=.
   8064     if test -f $ac_dir/file; then
   8065       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8066       if test -n "$file_magic_test_file"; then
   8067 	case $deplibs_check_method in
   8068 	"file_magic "*)
   8069 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8070 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8071 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8072 	    $EGREP "$file_magic_regex" > /dev/null; then
   8073 	    :
   8074 	  else
   8075 	    cat <<_LT_EOF 1>&2
   8076 
   8077 *** Warning: the command libtool uses to detect shared libraries,
   8078 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8079 *** The result is that libtool may fail to recognize shared libraries
   8080 *** as such.  This will affect the creation of libtool libraries that
   8081 *** depend on shared libraries, but programs linked with such libtool
   8082 *** libraries will work regardless of this problem.  Nevertheless, you
   8083 *** may want to report the problem to your system manager and/or to
   8084 *** bug-libtool@gnu.org
   8085 
   8086 _LT_EOF
   8087 	  fi ;;
   8088 	esac
   8089       fi
   8090       break
   8091     fi
   8092   done
   8093   IFS="$lt_save_ifs"
   8094   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8095   ;;
   8096 esac
   8097 fi
   8098 
   8099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8100 if test -n "$MAGIC_CMD"; then
   8101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8102 $as_echo "$MAGIC_CMD" >&6; }
   8103 else
   8104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8105 $as_echo "no" >&6; }
   8106 fi
   8107 
   8108 
   8109   else
   8110     MAGIC_CMD=:
   8111   fi
   8112 fi
   8113 
   8114   fi
   8115   ;;
   8116 esac
   8117 
   8118 # Use C for the default configuration in the libtool script
   8119 
   8120 lt_save_CC="$CC"
   8121 ac_ext=c
   8122 ac_cpp='$CPP $CPPFLAGS'
   8123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8126 
   8127 
   8128 # Source file extension for C test sources.
   8129 ac_ext=c
   8130 
   8131 # Object file extension for compiled C test sources.
   8132 objext=o
   8133 objext=$objext
   8134 
   8135 # Code to be used in simple compile tests
   8136 lt_simple_compile_test_code="int some_variable = 0;"
   8137 
   8138 # Code to be used in simple link tests
   8139 lt_simple_link_test_code='int main(){return(0);}'
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 # If no C compiler was specified, use CC.
   8148 LTCC=${LTCC-"$CC"}
   8149 
   8150 # If no C compiler flags were specified, use CFLAGS.
   8151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8152 
   8153 # Allow CC to be a program name with arguments.
   8154 compiler=$CC
   8155 
   8156 # Save the default compiler, since it gets overwritten when the other
   8157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8158 compiler_DEFAULT=$CC
   8159 
   8160 # save warnings/boilerplate of simple test code
   8161 ac_outfile=conftest.$ac_objext
   8162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8164 _lt_compiler_boilerplate=`cat conftest.err`
   8165 $RM conftest*
   8166 
   8167 ac_outfile=conftest.$ac_objext
   8168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8170 _lt_linker_boilerplate=`cat conftest.err`
   8171 $RM -r conftest*
   8172 
   8173 
   8174 if test -n "$compiler"; then
   8175 
   8176 lt_prog_compiler_no_builtin_flag=
   8177 
   8178 if test "$GCC" = yes; then
   8179   case $cc_basename in
   8180   nvcc*)
   8181     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8182   *)
   8183     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8184   esac
   8185 
   8186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8187 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8188 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8189   $as_echo_n "(cached) " >&6
   8190 else
   8191   lt_cv_prog_compiler_rtti_exceptions=no
   8192    ac_outfile=conftest.$ac_objext
   8193    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8194    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8195    # Insert the option either (1) after the last *FLAGS variable, or
   8196    # (2) before a word containing "conftest.", or (3) at the end.
   8197    # Note that $ac_compile itself does not contain backslashes and begins
   8198    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8199    # The option is referenced via a variable to avoid confusing sed.
   8200    lt_compile=`echo "$ac_compile" | $SED \
   8201    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8202    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8203    -e 's:$: $lt_compiler_flag:'`
   8204    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8205    (eval "$lt_compile" 2>conftest.err)
   8206    ac_status=$?
   8207    cat conftest.err >&5
   8208    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8209    if (exit $ac_status) && test -s "$ac_outfile"; then
   8210      # The compiler can only warn and ignore the option if not recognized
   8211      # So say no if there are warnings other than the usual output.
   8212      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8213      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8214      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8215        lt_cv_prog_compiler_rtti_exceptions=yes
   8216      fi
   8217    fi
   8218    $RM conftest*
   8219 
   8220 fi
   8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8222 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8223 
   8224 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8225     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8226 else
   8227     :
   8228 fi
   8229 
   8230 fi
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237   lt_prog_compiler_wl=
   8238 lt_prog_compiler_pic=
   8239 lt_prog_compiler_static=
   8240 
   8241 
   8242   if test "$GCC" = yes; then
   8243     lt_prog_compiler_wl='-Wl,'
   8244     lt_prog_compiler_static='-static'
   8245 
   8246     case $host_os in
   8247       aix*)
   8248       # All AIX code is PIC.
   8249       if test "$host_cpu" = ia64; then
   8250 	# AIX 5 now supports IA64 processor
   8251 	lt_prog_compiler_static='-Bstatic'
   8252       fi
   8253       ;;
   8254 
   8255     amigaos*)
   8256       case $host_cpu in
   8257       powerpc)
   8258             # see comment about AmigaOS4 .so support
   8259             lt_prog_compiler_pic='-fPIC'
   8260         ;;
   8261       m68k)
   8262             # FIXME: we need at least 68020 code to build shared libraries, but
   8263             # adding the `-m68020' flag to GCC prevents building anything better,
   8264             # like `-m68040'.
   8265             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8266         ;;
   8267       esac
   8268       ;;
   8269 
   8270     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8271       # PIC is the default for these OSes.
   8272       ;;
   8273 
   8274     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8275       # This hack is so that the source file can tell whether it is being
   8276       # built for inclusion in a dll (and should export symbols for example).
   8277       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8278       # (--disable-auto-import) libraries
   8279       lt_prog_compiler_pic='-DDLL_EXPORT'
   8280       ;;
   8281 
   8282     darwin* | rhapsody*)
   8283       # PIC is the default on this platform
   8284       # Common symbols not allowed in MH_DYLIB files
   8285       lt_prog_compiler_pic='-fno-common'
   8286       ;;
   8287 
   8288     haiku*)
   8289       # PIC is the default for Haiku.
   8290       # The "-static" flag exists, but is broken.
   8291       lt_prog_compiler_static=
   8292       ;;
   8293 
   8294     hpux*)
   8295       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8296       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8297       # sets the default TLS model and affects inlining.
   8298       case $host_cpu in
   8299       hppa*64*)
   8300 	# +Z the default
   8301 	;;
   8302       *)
   8303 	lt_prog_compiler_pic='-fPIC'
   8304 	;;
   8305       esac
   8306       ;;
   8307 
   8308     interix[3-9]*)
   8309       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8310       # Instead, we relocate shared libraries at runtime.
   8311       ;;
   8312 
   8313     msdosdjgpp*)
   8314       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8315       # on systems that don't support them.
   8316       lt_prog_compiler_can_build_shared=no
   8317       enable_shared=no
   8318       ;;
   8319 
   8320     *nto* | *qnx*)
   8321       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8322       # it will coredump.
   8323       lt_prog_compiler_pic='-fPIC -shared'
   8324       ;;
   8325 
   8326     sysv4*MP*)
   8327       if test -d /usr/nec; then
   8328 	lt_prog_compiler_pic=-Kconform_pic
   8329       fi
   8330       ;;
   8331 
   8332     *)
   8333       lt_prog_compiler_pic='-fPIC'
   8334       ;;
   8335     esac
   8336 
   8337     case $cc_basename in
   8338     nvcc*) # Cuda Compiler Driver 2.2
   8339       lt_prog_compiler_wl='-Xlinker '
   8340       if test -n "$lt_prog_compiler_pic"; then
   8341         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8342       fi
   8343       ;;
   8344     esac
   8345   else
   8346     # PORTME Check for flag to pass linker flags through the system compiler.
   8347     case $host_os in
   8348     aix*)
   8349       lt_prog_compiler_wl='-Wl,'
   8350       if test "$host_cpu" = ia64; then
   8351 	# AIX 5 now supports IA64 processor
   8352 	lt_prog_compiler_static='-Bstatic'
   8353       else
   8354 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8355       fi
   8356       ;;
   8357 
   8358     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8359       # This hack is so that the source file can tell whether it is being
   8360       # built for inclusion in a dll (and should export symbols for example).
   8361       lt_prog_compiler_pic='-DDLL_EXPORT'
   8362       ;;
   8363 
   8364     hpux9* | hpux10* | hpux11*)
   8365       lt_prog_compiler_wl='-Wl,'
   8366       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8367       # not for PA HP-UX.
   8368       case $host_cpu in
   8369       hppa*64*|ia64*)
   8370 	# +Z the default
   8371 	;;
   8372       *)
   8373 	lt_prog_compiler_pic='+Z'
   8374 	;;
   8375       esac
   8376       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8377       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8378       ;;
   8379 
   8380     irix5* | irix6* | nonstopux*)
   8381       lt_prog_compiler_wl='-Wl,'
   8382       # PIC (with -KPIC) is the default.
   8383       lt_prog_compiler_static='-non_shared'
   8384       ;;
   8385 
   8386     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8387       case $cc_basename in
   8388       # old Intel for x86_64 which still supported -KPIC.
   8389       ecc*)
   8390 	lt_prog_compiler_wl='-Wl,'
   8391 	lt_prog_compiler_pic='-KPIC'
   8392 	lt_prog_compiler_static='-static'
   8393         ;;
   8394       # icc used to be incompatible with GCC.
   8395       # ICC 10 doesn't accept -KPIC any more.
   8396       icc* | ifort*)
   8397 	lt_prog_compiler_wl='-Wl,'
   8398 	lt_prog_compiler_pic='-fPIC'
   8399 	lt_prog_compiler_static='-static'
   8400         ;;
   8401       # Lahey Fortran 8.1.
   8402       lf95*)
   8403 	lt_prog_compiler_wl='-Wl,'
   8404 	lt_prog_compiler_pic='--shared'
   8405 	lt_prog_compiler_static='--static'
   8406 	;;
   8407       nagfor*)
   8408 	# NAG Fortran compiler
   8409 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8410 	lt_prog_compiler_pic='-PIC'
   8411 	lt_prog_compiler_static='-Bstatic'
   8412 	;;
   8413       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8414         # Portland Group compilers (*not* the Pentium gcc compiler,
   8415 	# which looks to be a dead project)
   8416 	lt_prog_compiler_wl='-Wl,'
   8417 	lt_prog_compiler_pic='-fpic'
   8418 	lt_prog_compiler_static='-Bstatic'
   8419         ;;
   8420       ccc*)
   8421         lt_prog_compiler_wl='-Wl,'
   8422         # All Alpha code is PIC.
   8423         lt_prog_compiler_static='-non_shared'
   8424         ;;
   8425       xl* | bgxl* | bgf* | mpixl*)
   8426 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8427 	lt_prog_compiler_wl='-Wl,'
   8428 	lt_prog_compiler_pic='-qpic'
   8429 	lt_prog_compiler_static='-qstaticlink'
   8430 	;;
   8431       *)
   8432 	case `$CC -V 2>&1 | sed 5q` in
   8433 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8434 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8435 	  lt_prog_compiler_pic='-KPIC'
   8436 	  lt_prog_compiler_static='-Bstatic'
   8437 	  lt_prog_compiler_wl=''
   8438 	  ;;
   8439 	*Sun\ F* | *Sun*Fortran*)
   8440 	  lt_prog_compiler_pic='-KPIC'
   8441 	  lt_prog_compiler_static='-Bstatic'
   8442 	  lt_prog_compiler_wl='-Qoption ld '
   8443 	  ;;
   8444 	*Sun\ C*)
   8445 	  # Sun C 5.9
   8446 	  lt_prog_compiler_pic='-KPIC'
   8447 	  lt_prog_compiler_static='-Bstatic'
   8448 	  lt_prog_compiler_wl='-Wl,'
   8449 	  ;;
   8450         *Intel*\ [CF]*Compiler*)
   8451 	  lt_prog_compiler_wl='-Wl,'
   8452 	  lt_prog_compiler_pic='-fPIC'
   8453 	  lt_prog_compiler_static='-static'
   8454 	  ;;
   8455 	*Portland\ Group*)
   8456 	  lt_prog_compiler_wl='-Wl,'
   8457 	  lt_prog_compiler_pic='-fpic'
   8458 	  lt_prog_compiler_static='-Bstatic'
   8459 	  ;;
   8460 	esac
   8461 	;;
   8462       esac
   8463       ;;
   8464 
   8465     newsos6)
   8466       lt_prog_compiler_pic='-KPIC'
   8467       lt_prog_compiler_static='-Bstatic'
   8468       ;;
   8469 
   8470     *nto* | *qnx*)
   8471       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8472       # it will coredump.
   8473       lt_prog_compiler_pic='-fPIC -shared'
   8474       ;;
   8475 
   8476     osf3* | osf4* | osf5*)
   8477       lt_prog_compiler_wl='-Wl,'
   8478       # All OSF/1 code is PIC.
   8479       lt_prog_compiler_static='-non_shared'
   8480       ;;
   8481 
   8482     rdos*)
   8483       lt_prog_compiler_static='-non_shared'
   8484       ;;
   8485 
   8486     solaris*)
   8487       lt_prog_compiler_pic='-KPIC'
   8488       lt_prog_compiler_static='-Bstatic'
   8489       case $cc_basename in
   8490       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8491 	lt_prog_compiler_wl='-Qoption ld ';;
   8492       *)
   8493 	lt_prog_compiler_wl='-Wl,';;
   8494       esac
   8495       ;;
   8496 
   8497     sunos4*)
   8498       lt_prog_compiler_wl='-Qoption ld '
   8499       lt_prog_compiler_pic='-PIC'
   8500       lt_prog_compiler_static='-Bstatic'
   8501       ;;
   8502 
   8503     sysv4 | sysv4.2uw2* | sysv4.3*)
   8504       lt_prog_compiler_wl='-Wl,'
   8505       lt_prog_compiler_pic='-KPIC'
   8506       lt_prog_compiler_static='-Bstatic'
   8507       ;;
   8508 
   8509     sysv4*MP*)
   8510       if test -d /usr/nec ;then
   8511 	lt_prog_compiler_pic='-Kconform_pic'
   8512 	lt_prog_compiler_static='-Bstatic'
   8513       fi
   8514       ;;
   8515 
   8516     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8517       lt_prog_compiler_wl='-Wl,'
   8518       lt_prog_compiler_pic='-KPIC'
   8519       lt_prog_compiler_static='-Bstatic'
   8520       ;;
   8521 
   8522     unicos*)
   8523       lt_prog_compiler_wl='-Wl,'
   8524       lt_prog_compiler_can_build_shared=no
   8525       ;;
   8526 
   8527     uts4*)
   8528       lt_prog_compiler_pic='-pic'
   8529       lt_prog_compiler_static='-Bstatic'
   8530       ;;
   8531 
   8532     *)
   8533       lt_prog_compiler_can_build_shared=no
   8534       ;;
   8535     esac
   8536   fi
   8537 
   8538 case $host_os in
   8539   # For platforms which do not support PIC, -DPIC is meaningless:
   8540   *djgpp*)
   8541     lt_prog_compiler_pic=
   8542     ;;
   8543   *)
   8544     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8545     ;;
   8546 esac
   8547 
   8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8549 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8550 if ${lt_cv_prog_compiler_pic+:} false; then :
   8551   $as_echo_n "(cached) " >&6
   8552 else
   8553   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8554 fi
   8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8556 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8557 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8558 
   8559 #
   8560 # Check to make sure the PIC flag actually works.
   8561 #
   8562 if test -n "$lt_prog_compiler_pic"; then
   8563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8564 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8565 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8566   $as_echo_n "(cached) " >&6
   8567 else
   8568   lt_cv_prog_compiler_pic_works=no
   8569    ac_outfile=conftest.$ac_objext
   8570    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8571    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8572    # Insert the option either (1) after the last *FLAGS variable, or
   8573    # (2) before a word containing "conftest.", or (3) at the end.
   8574    # Note that $ac_compile itself does not contain backslashes and begins
   8575    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8576    # The option is referenced via a variable to avoid confusing sed.
   8577    lt_compile=`echo "$ac_compile" | $SED \
   8578    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8579    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8580    -e 's:$: $lt_compiler_flag:'`
   8581    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8582    (eval "$lt_compile" 2>conftest.err)
   8583    ac_status=$?
   8584    cat conftest.err >&5
   8585    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8586    if (exit $ac_status) && test -s "$ac_outfile"; then
   8587      # The compiler can only warn and ignore the option if not recognized
   8588      # So say no if there are warnings other than the usual output.
   8589      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8590      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8591      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8592        lt_cv_prog_compiler_pic_works=yes
   8593      fi
   8594    fi
   8595    $RM conftest*
   8596 
   8597 fi
   8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8599 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8600 
   8601 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8602     case $lt_prog_compiler_pic in
   8603      "" | " "*) ;;
   8604      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8605      esac
   8606 else
   8607     lt_prog_compiler_pic=
   8608      lt_prog_compiler_can_build_shared=no
   8609 fi
   8610 
   8611 fi
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 #
   8624 # Check to make sure the static flag actually works.
   8625 #
   8626 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8628 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8629 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8630   $as_echo_n "(cached) " >&6
   8631 else
   8632   lt_cv_prog_compiler_static_works=no
   8633    save_LDFLAGS="$LDFLAGS"
   8634    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8635    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8636    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8637      # The linker can only warn and ignore the option if not recognized
   8638      # So say no if there are warnings
   8639      if test -s conftest.err; then
   8640        # Append any errors to the config.log.
   8641        cat conftest.err 1>&5
   8642        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8643        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8644        if diff conftest.exp conftest.er2 >/dev/null; then
   8645          lt_cv_prog_compiler_static_works=yes
   8646        fi
   8647      else
   8648        lt_cv_prog_compiler_static_works=yes
   8649      fi
   8650    fi
   8651    $RM -r conftest*
   8652    LDFLAGS="$save_LDFLAGS"
   8653 
   8654 fi
   8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8656 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8657 
   8658 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8659     :
   8660 else
   8661     lt_prog_compiler_static=
   8662 fi
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8671 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8672 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8673   $as_echo_n "(cached) " >&6
   8674 else
   8675   lt_cv_prog_compiler_c_o=no
   8676    $RM -r conftest 2>/dev/null
   8677    mkdir conftest
   8678    cd conftest
   8679    mkdir out
   8680    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8681 
   8682    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8683    # Insert the option either (1) after the last *FLAGS variable, or
   8684    # (2) before a word containing "conftest.", or (3) at the end.
   8685    # Note that $ac_compile itself does not contain backslashes and begins
   8686    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8687    lt_compile=`echo "$ac_compile" | $SED \
   8688    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8689    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8690    -e 's:$: $lt_compiler_flag:'`
   8691    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8692    (eval "$lt_compile" 2>out/conftest.err)
   8693    ac_status=$?
   8694    cat out/conftest.err >&5
   8695    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8696    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8697    then
   8698      # The compiler can only warn and ignore the option if not recognized
   8699      # So say no if there are warnings
   8700      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8701      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8702      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8703        lt_cv_prog_compiler_c_o=yes
   8704      fi
   8705    fi
   8706    chmod u+w . 2>&5
   8707    $RM conftest*
   8708    # SGI C++ compiler will create directory out/ii_files/ for
   8709    # template instantiation
   8710    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8711    $RM out/* && rmdir out
   8712    cd ..
   8713    $RM -r conftest
   8714    $RM conftest*
   8715 
   8716 fi
   8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8718 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8726 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8727 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8728   $as_echo_n "(cached) " >&6
   8729 else
   8730   lt_cv_prog_compiler_c_o=no
   8731    $RM -r conftest 2>/dev/null
   8732    mkdir conftest
   8733    cd conftest
   8734    mkdir out
   8735    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8736 
   8737    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8738    # Insert the option either (1) after the last *FLAGS variable, or
   8739    # (2) before a word containing "conftest.", or (3) at the end.
   8740    # Note that $ac_compile itself does not contain backslashes and begins
   8741    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8742    lt_compile=`echo "$ac_compile" | $SED \
   8743    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8744    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8745    -e 's:$: $lt_compiler_flag:'`
   8746    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8747    (eval "$lt_compile" 2>out/conftest.err)
   8748    ac_status=$?
   8749    cat out/conftest.err >&5
   8750    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8751    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8752    then
   8753      # The compiler can only warn and ignore the option if not recognized
   8754      # So say no if there are warnings
   8755      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8756      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8757      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8758        lt_cv_prog_compiler_c_o=yes
   8759      fi
   8760    fi
   8761    chmod u+w . 2>&5
   8762    $RM conftest*
   8763    # SGI C++ compiler will create directory out/ii_files/ for
   8764    # template instantiation
   8765    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8766    $RM out/* && rmdir out
   8767    cd ..
   8768    $RM -r conftest
   8769    $RM conftest*
   8770 
   8771 fi
   8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8773 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8774 
   8775 
   8776 
   8777 
   8778 hard_links="nottested"
   8779 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8780   # do not overwrite the value of need_locks provided by the user
   8781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8782 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8783   hard_links=yes
   8784   $RM conftest*
   8785   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8786   touch conftest.a
   8787   ln conftest.a conftest.b 2>&5 || hard_links=no
   8788   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8790 $as_echo "$hard_links" >&6; }
   8791   if test "$hard_links" = no; then
   8792     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8793 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8794     need_locks=warn
   8795   fi
   8796 else
   8797   need_locks=no
   8798 fi
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8806 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8807 
   8808   runpath_var=
   8809   allow_undefined_flag=
   8810   always_export_symbols=no
   8811   archive_cmds=
   8812   archive_expsym_cmds=
   8813   compiler_needs_object=no
   8814   enable_shared_with_static_runtimes=no
   8815   export_dynamic_flag_spec=
   8816   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8817   hardcode_automatic=no
   8818   hardcode_direct=no
   8819   hardcode_direct_absolute=no
   8820   hardcode_libdir_flag_spec=
   8821   hardcode_libdir_separator=
   8822   hardcode_minus_L=no
   8823   hardcode_shlibpath_var=unsupported
   8824   inherit_rpath=no
   8825   link_all_deplibs=unknown
   8826   module_cmds=
   8827   module_expsym_cmds=
   8828   old_archive_from_new_cmds=
   8829   old_archive_from_expsyms_cmds=
   8830   thread_safe_flag_spec=
   8831   whole_archive_flag_spec=
   8832   # include_expsyms should be a list of space-separated symbols to be *always*
   8833   # included in the symbol list
   8834   include_expsyms=
   8835   # exclude_expsyms can be an extended regexp of symbols to exclude
   8836   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8837   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8838   # as well as any symbol that contains `d'.
   8839   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8840   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8841   # platforms (ab)use it in PIC code, but their linkers get confused if
   8842   # the symbol is explicitly referenced.  Since portable code cannot
   8843   # rely on this symbol name, it's probably fine to never include it in
   8844   # preloaded symbol tables.
   8845   # Exclude shared library initialization/finalization symbols.
   8846   extract_expsyms_cmds=
   8847 
   8848   case $host_os in
   8849   cygwin* | mingw* | pw32* | cegcc*)
   8850     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8851     # When not using gcc, we currently assume that we are using
   8852     # Microsoft Visual C++.
   8853     if test "$GCC" != yes; then
   8854       with_gnu_ld=no
   8855     fi
   8856     ;;
   8857   interix*)
   8858     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8859     with_gnu_ld=yes
   8860     ;;
   8861   openbsd*)
   8862     with_gnu_ld=no
   8863     ;;
   8864   linux* | k*bsd*-gnu | gnu*)
   8865     link_all_deplibs=no
   8866     ;;
   8867   esac
   8868 
   8869   ld_shlibs=yes
   8870 
   8871   # On some targets, GNU ld is compatible enough with the native linker
   8872   # that we're better off using the native interface for both.
   8873   lt_use_gnu_ld_interface=no
   8874   if test "$with_gnu_ld" = yes; then
   8875     case $host_os in
   8876       aix*)
   8877 	# The AIX port of GNU ld has always aspired to compatibility
   8878 	# with the native linker.  However, as the warning in the GNU ld
   8879 	# block says, versions before 2.19.5* couldn't really create working
   8880 	# shared libraries, regardless of the interface used.
   8881 	case `$LD -v 2>&1` in
   8882 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8883 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8884 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8885 	  *)
   8886 	    lt_use_gnu_ld_interface=yes
   8887 	    ;;
   8888 	esac
   8889 	;;
   8890       *)
   8891 	lt_use_gnu_ld_interface=yes
   8892 	;;
   8893     esac
   8894   fi
   8895 
   8896   if test "$lt_use_gnu_ld_interface" = yes; then
   8897     # If archive_cmds runs LD, not CC, wlarc should be empty
   8898     wlarc='${wl}'
   8899 
   8900     # Set some defaults for GNU ld with shared library support. These
   8901     # are reset later if shared libraries are not supported. Putting them
   8902     # here allows them to be overridden if necessary.
   8903     runpath_var=LD_RUN_PATH
   8904     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8905     export_dynamic_flag_spec='${wl}--export-dynamic'
   8906     # ancient GNU ld didn't support --whole-archive et. al.
   8907     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8908       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8909     else
   8910       whole_archive_flag_spec=
   8911     fi
   8912     supports_anon_versioning=no
   8913     case `$LD -v 2>&1` in
   8914       *GNU\ gold*) supports_anon_versioning=yes ;;
   8915       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8916       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8917       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8918       *\ 2.11.*) ;; # other 2.11 versions
   8919       *) supports_anon_versioning=yes ;;
   8920     esac
   8921 
   8922     # See if GNU ld supports shared libraries.
   8923     case $host_os in
   8924     aix[3-9]*)
   8925       # On AIX/PPC, the GNU linker is very broken
   8926       if test "$host_cpu" != ia64; then
   8927 	ld_shlibs=no
   8928 	cat <<_LT_EOF 1>&2
   8929 
   8930 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8931 *** to be unable to reliably create shared libraries on AIX.
   8932 *** Therefore, libtool is disabling shared libraries support.  If you
   8933 *** really care for shared libraries, you may want to install binutils
   8934 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8935 *** You will then need to restart the configuration process.
   8936 
   8937 _LT_EOF
   8938       fi
   8939       ;;
   8940 
   8941     amigaos*)
   8942       case $host_cpu in
   8943       powerpc)
   8944             # see comment about AmigaOS4 .so support
   8945             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8946             archive_expsym_cmds=''
   8947         ;;
   8948       m68k)
   8949             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)'
   8950             hardcode_libdir_flag_spec='-L$libdir'
   8951             hardcode_minus_L=yes
   8952         ;;
   8953       esac
   8954       ;;
   8955 
   8956     beos*)
   8957       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8958 	allow_undefined_flag=unsupported
   8959 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8960 	# support --undefined.  This deserves some investigation.  FIXME
   8961 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8962       else
   8963 	ld_shlibs=no
   8964       fi
   8965       ;;
   8966 
   8967     cygwin* | mingw* | pw32* | cegcc*)
   8968       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8969       # as there is no search path for DLLs.
   8970       hardcode_libdir_flag_spec='-L$libdir'
   8971       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8972       allow_undefined_flag=unsupported
   8973       always_export_symbols=no
   8974       enable_shared_with_static_runtimes=yes
   8975       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   8976       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8977 
   8978       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8979         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8980 	# If the export-symbols file already is a .def file (1st line
   8981 	# is EXPORTS), use it as is; otherwise, prepend...
   8982 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8983 	  cp $export_symbols $output_objdir/$soname.def;
   8984 	else
   8985 	  echo EXPORTS > $output_objdir/$soname.def;
   8986 	  cat $export_symbols >> $output_objdir/$soname.def;
   8987 	fi~
   8988 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8989       else
   8990 	ld_shlibs=no
   8991       fi
   8992       ;;
   8993 
   8994     haiku*)
   8995       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8996       link_all_deplibs=yes
   8997       ;;
   8998 
   8999     interix[3-9]*)
   9000       hardcode_direct=no
   9001       hardcode_shlibpath_var=no
   9002       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9003       export_dynamic_flag_spec='${wl}-E'
   9004       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9005       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9006       # default) and relocated if they conflict, which is a slow very memory
   9007       # consuming and fragmenting process.  To avoid this, we pick a random,
   9008       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9009       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9010       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9011       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'
   9012       ;;
   9013 
   9014     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9015       tmp_diet=no
   9016       if test "$host_os" = linux-dietlibc; then
   9017 	case $cc_basename in
   9018 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9019 	esac
   9020       fi
   9021       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9022 	 && test "$tmp_diet" = no
   9023       then
   9024 	tmp_addflag=' $pic_flag'
   9025 	tmp_sharedflag='-shared'
   9026 	case $cc_basename,$host_cpu in
   9027         pgcc*)				# Portland Group C compiler
   9028 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9029 	  tmp_addflag=' $pic_flag'
   9030 	  ;;
   9031 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9032 					# Portland Group f77 and f90 compilers
   9033 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9034 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9035 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9036 	  tmp_addflag=' -i_dynamic' ;;
   9037 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9038 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9039 	ifc* | ifort*)			# Intel Fortran compiler
   9040 	  tmp_addflag=' -nofor_main' ;;
   9041 	lf95*)				# Lahey Fortran 8.1
   9042 	  whole_archive_flag_spec=
   9043 	  tmp_sharedflag='--shared' ;;
   9044 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9045 	  tmp_sharedflag='-qmkshrobj'
   9046 	  tmp_addflag= ;;
   9047 	nvcc*)	# Cuda Compiler Driver 2.2
   9048 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9049 	  compiler_needs_object=yes
   9050 	  ;;
   9051 	esac
   9052 	case `$CC -V 2>&1 | sed 5q` in
   9053 	*Sun\ C*)			# Sun C 5.9
   9054 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   9055 	  compiler_needs_object=yes
   9056 	  tmp_sharedflag='-G' ;;
   9057 	*Sun\ F*)			# Sun Fortran 8.3
   9058 	  tmp_sharedflag='-G' ;;
   9059 	esac
   9060 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9061 
   9062         if test "x$supports_anon_versioning" = xyes; then
   9063           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9064 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9065 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9066 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9067         fi
   9068 
   9069 	case $cc_basename in
   9070 	xlf* | bgf* | bgxlf* | mpixlf*)
   9071 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9072 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9073 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9074 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9075 	  if test "x$supports_anon_versioning" = xyes; then
   9076 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9077 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9078 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9079 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9080 	  fi
   9081 	  ;;
   9082 	esac
   9083       else
   9084         ld_shlibs=no
   9085       fi
   9086       ;;
   9087 
   9088     netbsd* | netbsdelf*-gnu)
   9089       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9090 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9091 	wlarc=
   9092       else
   9093 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9094 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9095       fi
   9096       ;;
   9097 
   9098     solaris*)
   9099       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9100 	ld_shlibs=no
   9101 	cat <<_LT_EOF 1>&2
   9102 
   9103 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9104 *** create shared libraries on Solaris systems.  Therefore, libtool
   9105 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9106 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9107 *** your PATH or compiler configuration so that the native linker is
   9108 *** used, and then restart.
   9109 
   9110 _LT_EOF
   9111       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9112 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9113 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9114       else
   9115 	ld_shlibs=no
   9116       fi
   9117       ;;
   9118 
   9119     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9120       case `$LD -v 2>&1` in
   9121         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9122 	ld_shlibs=no
   9123 	cat <<_LT_EOF 1>&2
   9124 
   9125 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9126 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9127 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9128 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9129 *** your PATH or compiler configuration so that the native linker is
   9130 *** used, and then restart.
   9131 
   9132 _LT_EOF
   9133 	;;
   9134 	*)
   9135 	  # For security reasons, it is highly recommended that you always
   9136 	  # use absolute paths for naming shared libraries, and exclude the
   9137 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9138 	  # requires that you compile everything twice, which is a pain.
   9139 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9140 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9141 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9142 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9143 	  else
   9144 	    ld_shlibs=no
   9145 	  fi
   9146 	;;
   9147       esac
   9148       ;;
   9149 
   9150     sunos4*)
   9151       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9152       wlarc=
   9153       hardcode_direct=yes
   9154       hardcode_shlibpath_var=no
   9155       ;;
   9156 
   9157     *)
   9158       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9159 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9160 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9161       else
   9162 	ld_shlibs=no
   9163       fi
   9164       ;;
   9165     esac
   9166 
   9167     if test "$ld_shlibs" = no; then
   9168       runpath_var=
   9169       hardcode_libdir_flag_spec=
   9170       export_dynamic_flag_spec=
   9171       whole_archive_flag_spec=
   9172     fi
   9173   else
   9174     # PORTME fill in a description of your system's linker (not GNU ld)
   9175     case $host_os in
   9176     aix3*)
   9177       allow_undefined_flag=unsupported
   9178       always_export_symbols=yes
   9179       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'
   9180       # Note: this linker hardcodes the directories in LIBPATH if there
   9181       # are no directories specified by -L.
   9182       hardcode_minus_L=yes
   9183       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9184 	# Neither direct hardcoding nor static linking is supported with a
   9185 	# broken collect2.
   9186 	hardcode_direct=unsupported
   9187       fi
   9188       ;;
   9189 
   9190     aix[4-9]*)
   9191       if test "$host_cpu" = ia64; then
   9192 	# On IA64, the linker does run time linking by default, so we don't
   9193 	# have to do anything special.
   9194 	aix_use_runtimelinking=no
   9195 	exp_sym_flag='-Bexport'
   9196 	no_entry_flag=""
   9197       else
   9198 	# If we're using GNU nm, then we don't want the "-C" option.
   9199 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9200 	# Also, AIX nm treats weak defined symbols like other global
   9201 	# defined symbols, whereas GNU nm marks them as "W".
   9202 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9203 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   9204 	else
   9205 	  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'
   9206 	fi
   9207 	aix_use_runtimelinking=no
   9208 
   9209 	# Test if we are trying to use run time linking or normal
   9210 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9211 	# need to do runtime linking.
   9212 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9213 	  for ld_flag in $LDFLAGS; do
   9214 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9215 	    aix_use_runtimelinking=yes
   9216 	    break
   9217 	  fi
   9218 	  done
   9219 	  ;;
   9220 	esac
   9221 
   9222 	exp_sym_flag='-bexport'
   9223 	no_entry_flag='-bnoentry'
   9224       fi
   9225 
   9226       # When large executables or shared objects are built, AIX ld can
   9227       # have problems creating the table of contents.  If linking a library
   9228       # or program results in "error TOC overflow" add -mminimal-toc to
   9229       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9230       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9231 
   9232       archive_cmds=''
   9233       hardcode_direct=yes
   9234       hardcode_direct_absolute=yes
   9235       hardcode_libdir_separator=':'
   9236       link_all_deplibs=yes
   9237       file_list_spec='${wl}-f,'
   9238 
   9239       if test "$GCC" = yes; then
   9240 	case $host_os in aix4.[012]|aix4.[012].*)
   9241 	# We only want to do this on AIX 4.2 and lower, the check
   9242 	# below for broken collect2 doesn't work under 4.3+
   9243 	  collect2name=`${CC} -print-prog-name=collect2`
   9244 	  if test -f "$collect2name" &&
   9245 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9246 	  then
   9247 	  # We have reworked collect2
   9248 	  :
   9249 	  else
   9250 	  # We have old collect2
   9251 	  hardcode_direct=unsupported
   9252 	  # It fails to find uninstalled libraries when the uninstalled
   9253 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9254 	  # to unsupported forces relinking
   9255 	  hardcode_minus_L=yes
   9256 	  hardcode_libdir_flag_spec='-L$libdir'
   9257 	  hardcode_libdir_separator=
   9258 	  fi
   9259 	  ;;
   9260 	esac
   9261 	shared_flag='-shared'
   9262 	if test "$aix_use_runtimelinking" = yes; then
   9263 	  shared_flag="$shared_flag "'${wl}-G'
   9264 	fi
   9265 	link_all_deplibs=no
   9266       else
   9267 	# not using gcc
   9268 	if test "$host_cpu" = ia64; then
   9269 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9270 	# chokes on -Wl,-G. The following line is correct:
   9271 	  shared_flag='-G'
   9272 	else
   9273 	  if test "$aix_use_runtimelinking" = yes; then
   9274 	    shared_flag='${wl}-G'
   9275 	  else
   9276 	    shared_flag='${wl}-bM:SRE'
   9277 	  fi
   9278 	fi
   9279       fi
   9280 
   9281       export_dynamic_flag_spec='${wl}-bexpall'
   9282       # It seems that -bexpall does not export symbols beginning with
   9283       # underscore (_), so it is better to generate a list of symbols to export.
   9284       always_export_symbols=yes
   9285       if test "$aix_use_runtimelinking" = yes; then
   9286 	# Warning - without using the other runtime loading flags (-brtl),
   9287 	# -berok will link without error, but may produce a broken library.
   9288 	allow_undefined_flag='-berok'
   9289         # Determine the default libpath from the value encoded in an
   9290         # empty executable.
   9291         if test "${lt_cv_aix_libpath+set}" = set; then
   9292   aix_libpath=$lt_cv_aix_libpath
   9293 else
   9294   if ${lt_cv_aix_libpath_+:} false; then :
   9295   $as_echo_n "(cached) " >&6
   9296 else
   9297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9298 /* end confdefs.h.  */
   9299 
   9300 int
   9301 main ()
   9302 {
   9303 
   9304   ;
   9305   return 0;
   9306 }
   9307 _ACEOF
   9308 if ac_fn_c_try_link "$LINENO"; then :
   9309 
   9310   lt_aix_libpath_sed='
   9311       /Import File Strings/,/^$/ {
   9312 	  /^0/ {
   9313 	      s/^0  *\([^ ]*\) *$/\1/
   9314 	      p
   9315 	  }
   9316       }'
   9317   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9318   # Check for a 64-bit object if we didn't find anything.
   9319   if test -z "$lt_cv_aix_libpath_"; then
   9320     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9321   fi
   9322 fi
   9323 rm -f core conftest.err conftest.$ac_objext \
   9324     conftest$ac_exeext conftest.$ac_ext
   9325   if test -z "$lt_cv_aix_libpath_"; then
   9326     lt_cv_aix_libpath_="/usr/lib:/lib"
   9327   fi
   9328 
   9329 fi
   9330 
   9331   aix_libpath=$lt_cv_aix_libpath_
   9332 fi
   9333 
   9334         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9335         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   9336       else
   9337 	if test "$host_cpu" = ia64; then
   9338 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9339 	  allow_undefined_flag="-z nodefs"
   9340 	  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"
   9341 	else
   9342 	 # Determine the default libpath from the value encoded in an
   9343 	 # empty executable.
   9344 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9345   aix_libpath=$lt_cv_aix_libpath
   9346 else
   9347   if ${lt_cv_aix_libpath_+:} false; then :
   9348   $as_echo_n "(cached) " >&6
   9349 else
   9350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9351 /* end confdefs.h.  */
   9352 
   9353 int
   9354 main ()
   9355 {
   9356 
   9357   ;
   9358   return 0;
   9359 }
   9360 _ACEOF
   9361 if ac_fn_c_try_link "$LINENO"; then :
   9362 
   9363   lt_aix_libpath_sed='
   9364       /Import File Strings/,/^$/ {
   9365 	  /^0/ {
   9366 	      s/^0  *\([^ ]*\) *$/\1/
   9367 	      p
   9368 	  }
   9369       }'
   9370   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9371   # Check for a 64-bit object if we didn't find anything.
   9372   if test -z "$lt_cv_aix_libpath_"; then
   9373     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9374   fi
   9375 fi
   9376 rm -f core conftest.err conftest.$ac_objext \
   9377     conftest$ac_exeext conftest.$ac_ext
   9378   if test -z "$lt_cv_aix_libpath_"; then
   9379     lt_cv_aix_libpath_="/usr/lib:/lib"
   9380   fi
   9381 
   9382 fi
   9383 
   9384   aix_libpath=$lt_cv_aix_libpath_
   9385 fi
   9386 
   9387 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9388 	  # Warning - without using the other run time loading flags,
   9389 	  # -berok will link without error, but may produce a broken library.
   9390 	  no_undefined_flag=' ${wl}-bernotok'
   9391 	  allow_undefined_flag=' ${wl}-berok'
   9392 	  if test "$with_gnu_ld" = yes; then
   9393 	    # We only use this code for GNU lds that support --whole-archive.
   9394 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9395 	  else
   9396 	    # Exported symbols can be pulled into shared objects from archives
   9397 	    whole_archive_flag_spec='$convenience'
   9398 	  fi
   9399 	  archive_cmds_need_lc=yes
   9400 	  # This is similar to how AIX traditionally builds its shared libraries.
   9401 	  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'
   9402 	fi
   9403       fi
   9404       ;;
   9405 
   9406     amigaos*)
   9407       case $host_cpu in
   9408       powerpc)
   9409             # see comment about AmigaOS4 .so support
   9410             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9411             archive_expsym_cmds=''
   9412         ;;
   9413       m68k)
   9414             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)'
   9415             hardcode_libdir_flag_spec='-L$libdir'
   9416             hardcode_minus_L=yes
   9417         ;;
   9418       esac
   9419       ;;
   9420 
   9421     bsdi[45]*)
   9422       export_dynamic_flag_spec=-rdynamic
   9423       ;;
   9424 
   9425     cygwin* | mingw* | pw32* | cegcc*)
   9426       # When not using gcc, we currently assume that we are using
   9427       # Microsoft Visual C++.
   9428       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9429       # no search path for DLLs.
   9430       case $cc_basename in
   9431       cl*)
   9432 	# Native MSVC
   9433 	hardcode_libdir_flag_spec=' '
   9434 	allow_undefined_flag=unsupported
   9435 	always_export_symbols=yes
   9436 	file_list_spec='@'
   9437 	# Tell ltmain to make .lib files, not .a files.
   9438 	libext=lib
   9439 	# Tell ltmain to make .dll files, not .so files.
   9440 	shrext_cmds=".dll"
   9441 	# FIXME: Setting linknames here is a bad hack.
   9442 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9443 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9444 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9445 	  else
   9446 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9447 	  fi~
   9448 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9449 	  linknames='
   9450 	# The linker will not automatically build a static lib if we build a DLL.
   9451 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9452 	enable_shared_with_static_runtimes=yes
   9453 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9454 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9455 	# Don't use ranlib
   9456 	old_postinstall_cmds='chmod 644 $oldlib'
   9457 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9458 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9459 	  case $lt_outputfile in
   9460 	    *.exe|*.EXE) ;;
   9461 	    *)
   9462 	      lt_outputfile="$lt_outputfile.exe"
   9463 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9464 	      ;;
   9465 	  esac~
   9466 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9467 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9468 	    $RM "$lt_outputfile.manifest";
   9469 	  fi'
   9470 	;;
   9471       *)
   9472 	# Assume MSVC wrapper
   9473 	hardcode_libdir_flag_spec=' '
   9474 	allow_undefined_flag=unsupported
   9475 	# Tell ltmain to make .lib files, not .a files.
   9476 	libext=lib
   9477 	# Tell ltmain to make .dll files, not .so files.
   9478 	shrext_cmds=".dll"
   9479 	# FIXME: Setting linknames here is a bad hack.
   9480 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9481 	# The linker will automatically build a .lib file if we build a DLL.
   9482 	old_archive_from_new_cmds='true'
   9483 	# FIXME: Should let the user specify the lib program.
   9484 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9485 	enable_shared_with_static_runtimes=yes
   9486 	;;
   9487       esac
   9488       ;;
   9489 
   9490     darwin* | rhapsody*)
   9491 
   9492 
   9493   archive_cmds_need_lc=no
   9494   hardcode_direct=no
   9495   hardcode_automatic=yes
   9496   hardcode_shlibpath_var=unsupported
   9497   if test "$lt_cv_ld_force_load" = "yes"; then
   9498     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   9499 
   9500   else
   9501     whole_archive_flag_spec=''
   9502   fi
   9503   link_all_deplibs=yes
   9504   allow_undefined_flag="$_lt_dar_allow_undefined"
   9505   case $cc_basename in
   9506      ifort*) _lt_dar_can_shared=yes ;;
   9507      *) _lt_dar_can_shared=$GCC ;;
   9508   esac
   9509   if test "$_lt_dar_can_shared" = "yes"; then
   9510     output_verbose_link_cmd=func_echo_all
   9511     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9512     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9513     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}"
   9514     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}"
   9515 
   9516   else
   9517   ld_shlibs=no
   9518   fi
   9519 
   9520       ;;
   9521 
   9522     dgux*)
   9523       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9524       hardcode_libdir_flag_spec='-L$libdir'
   9525       hardcode_shlibpath_var=no
   9526       ;;
   9527 
   9528     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9529     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9530     # does not break anything, and helps significantly (at the cost of a little
   9531     # extra space).
   9532     freebsd2.2*)
   9533       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9534       hardcode_libdir_flag_spec='-R$libdir'
   9535       hardcode_direct=yes
   9536       hardcode_shlibpath_var=no
   9537       ;;
   9538 
   9539     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9540     freebsd2.*)
   9541       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9542       hardcode_direct=yes
   9543       hardcode_minus_L=yes
   9544       hardcode_shlibpath_var=no
   9545       ;;
   9546 
   9547     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9548     freebsd* | dragonfly*)
   9549       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9550       hardcode_libdir_flag_spec='-R$libdir'
   9551       hardcode_direct=yes
   9552       hardcode_shlibpath_var=no
   9553       ;;
   9554 
   9555     hpux9*)
   9556       if test "$GCC" = yes; then
   9557 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9558       else
   9559 	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'
   9560       fi
   9561       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9562       hardcode_libdir_separator=:
   9563       hardcode_direct=yes
   9564 
   9565       # hardcode_minus_L: Not really in the search PATH,
   9566       # but as the default location of the library.
   9567       hardcode_minus_L=yes
   9568       export_dynamic_flag_spec='${wl}-E'
   9569       ;;
   9570 
   9571     hpux10*)
   9572       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9573 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9574       else
   9575 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9576       fi
   9577       if test "$with_gnu_ld" = no; then
   9578 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9579 	hardcode_libdir_separator=:
   9580 	hardcode_direct=yes
   9581 	hardcode_direct_absolute=yes
   9582 	export_dynamic_flag_spec='${wl}-E'
   9583 	# hardcode_minus_L: Not really in the search PATH,
   9584 	# but as the default location of the library.
   9585 	hardcode_minus_L=yes
   9586       fi
   9587       ;;
   9588 
   9589     hpux11*)
   9590       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9591 	case $host_cpu in
   9592 	hppa*64*)
   9593 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9594 	  ;;
   9595 	ia64*)
   9596 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9597 	  ;;
   9598 	*)
   9599 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9600 	  ;;
   9601 	esac
   9602       else
   9603 	case $host_cpu in
   9604 	hppa*64*)
   9605 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9606 	  ;;
   9607 	ia64*)
   9608 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9609 	  ;;
   9610 	*)
   9611 
   9612 	  # Older versions of the 11.00 compiler do not understand -b yet
   9613 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9614 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9615 $as_echo_n "checking if $CC understands -b... " >&6; }
   9616 if ${lt_cv_prog_compiler__b+:} false; then :
   9617   $as_echo_n "(cached) " >&6
   9618 else
   9619   lt_cv_prog_compiler__b=no
   9620    save_LDFLAGS="$LDFLAGS"
   9621    LDFLAGS="$LDFLAGS -b"
   9622    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9623    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9624      # The linker can only warn and ignore the option if not recognized
   9625      # So say no if there are warnings
   9626      if test -s conftest.err; then
   9627        # Append any errors to the config.log.
   9628        cat conftest.err 1>&5
   9629        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9630        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9631        if diff conftest.exp conftest.er2 >/dev/null; then
   9632          lt_cv_prog_compiler__b=yes
   9633        fi
   9634      else
   9635        lt_cv_prog_compiler__b=yes
   9636      fi
   9637    fi
   9638    $RM -r conftest*
   9639    LDFLAGS="$save_LDFLAGS"
   9640 
   9641 fi
   9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9643 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9644 
   9645 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9646     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9647 else
   9648     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9649 fi
   9650 
   9651 	  ;;
   9652 	esac
   9653       fi
   9654       if test "$with_gnu_ld" = no; then
   9655 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9656 	hardcode_libdir_separator=:
   9657 
   9658 	case $host_cpu in
   9659 	hppa*64*|ia64*)
   9660 	  hardcode_direct=no
   9661 	  hardcode_shlibpath_var=no
   9662 	  ;;
   9663 	*)
   9664 	  hardcode_direct=yes
   9665 	  hardcode_direct_absolute=yes
   9666 	  export_dynamic_flag_spec='${wl}-E'
   9667 
   9668 	  # hardcode_minus_L: Not really in the search PATH,
   9669 	  # but as the default location of the library.
   9670 	  hardcode_minus_L=yes
   9671 	  ;;
   9672 	esac
   9673       fi
   9674       ;;
   9675 
   9676     irix5* | irix6* | nonstopux*)
   9677       if test "$GCC" = yes; then
   9678 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9679 	# Try to use the -exported_symbol ld option, if it does not
   9680 	# work, assume that -exports_file does not work either and
   9681 	# implicitly export all symbols.
   9682 	# This should be the same for all languages, so no per-tag cache variable.
   9683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9684 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9685 if ${lt_cv_irix_exported_symbol+:} false; then :
   9686   $as_echo_n "(cached) " >&6
   9687 else
   9688   save_LDFLAGS="$LDFLAGS"
   9689 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9690 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9691 /* end confdefs.h.  */
   9692 int foo (void) { return 0; }
   9693 _ACEOF
   9694 if ac_fn_c_try_link "$LINENO"; then :
   9695   lt_cv_irix_exported_symbol=yes
   9696 else
   9697   lt_cv_irix_exported_symbol=no
   9698 fi
   9699 rm -f core conftest.err conftest.$ac_objext \
   9700     conftest$ac_exeext conftest.$ac_ext
   9701            LDFLAGS="$save_LDFLAGS"
   9702 fi
   9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9704 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9705 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9706           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   9707 	fi
   9708       else
   9709 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9710 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   9711       fi
   9712       archive_cmds_need_lc='no'
   9713       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9714       hardcode_libdir_separator=:
   9715       inherit_rpath=yes
   9716       link_all_deplibs=yes
   9717       ;;
   9718 
   9719     netbsd* | netbsdelf*-gnu)
   9720       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9721 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9722       else
   9723 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9724       fi
   9725       hardcode_libdir_flag_spec='-R$libdir'
   9726       hardcode_direct=yes
   9727       hardcode_shlibpath_var=no
   9728       ;;
   9729 
   9730     newsos6)
   9731       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9732       hardcode_direct=yes
   9733       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9734       hardcode_libdir_separator=:
   9735       hardcode_shlibpath_var=no
   9736       ;;
   9737 
   9738     *nto* | *qnx*)
   9739       ;;
   9740 
   9741     openbsd*)
   9742       if test -f /usr/libexec/ld.so; then
   9743 	hardcode_direct=yes
   9744 	hardcode_shlibpath_var=no
   9745 	hardcode_direct_absolute=yes
   9746 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9747 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9748 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9749 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9750 	  export_dynamic_flag_spec='${wl}-E'
   9751 	else
   9752 	  case $host_os in
   9753 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9754 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9755 	     hardcode_libdir_flag_spec='-R$libdir'
   9756 	     ;;
   9757 	   *)
   9758 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9759 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9760 	     ;;
   9761 	  esac
   9762 	fi
   9763       else
   9764 	ld_shlibs=no
   9765       fi
   9766       ;;
   9767 
   9768     os2*)
   9769       hardcode_libdir_flag_spec='-L$libdir'
   9770       hardcode_minus_L=yes
   9771       allow_undefined_flag=unsupported
   9772       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'
   9773       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9774       ;;
   9775 
   9776     osf3*)
   9777       if test "$GCC" = yes; then
   9778 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9779 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9780       else
   9781 	allow_undefined_flag=' -expect_unresolved \*'
   9782 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9783       fi
   9784       archive_cmds_need_lc='no'
   9785       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9786       hardcode_libdir_separator=:
   9787       ;;
   9788 
   9789     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9790       if test "$GCC" = yes; then
   9791 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9792 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   9793 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9794       else
   9795 	allow_undefined_flag=' -expect_unresolved \*'
   9796 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   9797 	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~
   9798 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   9799 
   9800 	# Both c and cxx compiler support -rpath directly
   9801 	hardcode_libdir_flag_spec='-rpath $libdir'
   9802       fi
   9803       archive_cmds_need_lc='no'
   9804       hardcode_libdir_separator=:
   9805       ;;
   9806 
   9807     solaris*)
   9808       no_undefined_flag=' -z defs'
   9809       if test "$GCC" = yes; then
   9810 	wlarc='${wl}'
   9811 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9812 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9813 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9814       else
   9815 	case `$CC -V 2>&1` in
   9816 	*"Compilers 5.0"*)
   9817 	  wlarc=''
   9818 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9819 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9820 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9821 	  ;;
   9822 	*)
   9823 	  wlarc='${wl}'
   9824 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9825 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9826 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9827 	  ;;
   9828 	esac
   9829       fi
   9830       hardcode_libdir_flag_spec='-R$libdir'
   9831       hardcode_shlibpath_var=no
   9832       case $host_os in
   9833       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9834       *)
   9835 	# The compiler driver will combine and reorder linker options,
   9836 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9837 	# but is careful enough not to reorder.
   9838 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9839 	if test "$GCC" = yes; then
   9840 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9841 	else
   9842 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9843 	fi
   9844 	;;
   9845       esac
   9846       link_all_deplibs=yes
   9847       ;;
   9848 
   9849     sunos4*)
   9850       if test "x$host_vendor" = xsequent; then
   9851 	# Use $CC to link under sequent, because it throws in some extra .o
   9852 	# files that make .init and .fini sections work.
   9853 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9854       else
   9855 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9856       fi
   9857       hardcode_libdir_flag_spec='-L$libdir'
   9858       hardcode_direct=yes
   9859       hardcode_minus_L=yes
   9860       hardcode_shlibpath_var=no
   9861       ;;
   9862 
   9863     sysv4)
   9864       case $host_vendor in
   9865 	sni)
   9866 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9867 	  hardcode_direct=yes # is this really true???
   9868 	;;
   9869 	siemens)
   9870 	  ## LD is ld it makes a PLAMLIB
   9871 	  ## CC just makes a GrossModule.
   9872 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9873 	  reload_cmds='$CC -r -o $output$reload_objs'
   9874 	  hardcode_direct=no
   9875         ;;
   9876 	motorola)
   9877 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9878 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9879 	;;
   9880       esac
   9881       runpath_var='LD_RUN_PATH'
   9882       hardcode_shlibpath_var=no
   9883       ;;
   9884 
   9885     sysv4.3*)
   9886       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9887       hardcode_shlibpath_var=no
   9888       export_dynamic_flag_spec='-Bexport'
   9889       ;;
   9890 
   9891     sysv4*MP*)
   9892       if test -d /usr/nec; then
   9893 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9894 	hardcode_shlibpath_var=no
   9895 	runpath_var=LD_RUN_PATH
   9896 	hardcode_runpath_var=yes
   9897 	ld_shlibs=yes
   9898       fi
   9899       ;;
   9900 
   9901     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9902       no_undefined_flag='${wl}-z,text'
   9903       archive_cmds_need_lc=no
   9904       hardcode_shlibpath_var=no
   9905       runpath_var='LD_RUN_PATH'
   9906 
   9907       if test "$GCC" = yes; then
   9908 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9909 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9910       else
   9911 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9912 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9913       fi
   9914       ;;
   9915 
   9916     sysv5* | sco3.2v5* | sco5v6*)
   9917       # Note: We can NOT use -z defs as we might desire, because we do not
   9918       # link with -lc, and that would cause any symbols used from libc to
   9919       # always be unresolved, which means just about no library would
   9920       # ever link correctly.  If we're not using GNU ld we use -z text
   9921       # though, which does catch some bad symbols but isn't as heavy-handed
   9922       # as -z defs.
   9923       no_undefined_flag='${wl}-z,text'
   9924       allow_undefined_flag='${wl}-z,nodefs'
   9925       archive_cmds_need_lc=no
   9926       hardcode_shlibpath_var=no
   9927       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9928       hardcode_libdir_separator=':'
   9929       link_all_deplibs=yes
   9930       export_dynamic_flag_spec='${wl}-Bexport'
   9931       runpath_var='LD_RUN_PATH'
   9932 
   9933       if test "$GCC" = yes; then
   9934 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9935 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9936       else
   9937 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9938 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9939       fi
   9940       ;;
   9941 
   9942     uts4*)
   9943       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9944       hardcode_libdir_flag_spec='-L$libdir'
   9945       hardcode_shlibpath_var=no
   9946       ;;
   9947 
   9948     *)
   9949       ld_shlibs=no
   9950       ;;
   9951     esac
   9952 
   9953     if test x$host_vendor = xsni; then
   9954       case $host in
   9955       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9956 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9957 	;;
   9958       esac
   9959     fi
   9960   fi
   9961 
   9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9963 $as_echo "$ld_shlibs" >&6; }
   9964 test "$ld_shlibs" = no && can_build_shared=no
   9965 
   9966 with_gnu_ld=$with_gnu_ld
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 #
   9983 # Do we need to explicitly link libc?
   9984 #
   9985 case "x$archive_cmds_need_lc" in
   9986 x|xyes)
   9987   # Assume -lc should be added
   9988   archive_cmds_need_lc=yes
   9989 
   9990   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9991     case $archive_cmds in
   9992     *'~'*)
   9993       # FIXME: we may have to deal with multi-command sequences.
   9994       ;;
   9995     '$CC '*)
   9996       # Test whether the compiler implicitly links with -lc since on some
   9997       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9998       # to ld, don't add -lc before -lgcc.
   9999       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10000 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10001 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10002   $as_echo_n "(cached) " >&6
   10003 else
   10004   $RM conftest*
   10005 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10006 
   10007 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10008   (eval $ac_compile) 2>&5
   10009   ac_status=$?
   10010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10011   test $ac_status = 0; } 2>conftest.err; then
   10012 	  soname=conftest
   10013 	  lib=conftest
   10014 	  libobjs=conftest.$ac_objext
   10015 	  deplibs=
   10016 	  wl=$lt_prog_compiler_wl
   10017 	  pic_flag=$lt_prog_compiler_pic
   10018 	  compiler_flags=-v
   10019 	  linker_flags=-v
   10020 	  verstring=
   10021 	  output_objdir=.
   10022 	  libname=conftest
   10023 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10024 	  allow_undefined_flag=
   10025 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10026   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10027   ac_status=$?
   10028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10029   test $ac_status = 0; }
   10030 	  then
   10031 	    lt_cv_archive_cmds_need_lc=no
   10032 	  else
   10033 	    lt_cv_archive_cmds_need_lc=yes
   10034 	  fi
   10035 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10036 	else
   10037 	  cat conftest.err 1>&5
   10038 	fi
   10039 	$RM conftest*
   10040 
   10041 fi
   10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10043 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10044       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10045       ;;
   10046     esac
   10047   fi
   10048   ;;
   10049 esac
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 
   10066 
   10067 
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 
   10074 
   10075 
   10076 
   10077 
   10078 
   10079 
   10080 
   10081 
   10082 
   10083 
   10084 
   10085 
   10086 
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10203 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10204 
   10205 if test "$GCC" = yes; then
   10206   case $host_os in
   10207     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10208     *) lt_awk_arg="/^libraries:/" ;;
   10209   esac
   10210   case $host_os in
   10211     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10212     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10213   esac
   10214   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10215   case $lt_search_path_spec in
   10216   *\;*)
   10217     # if the path contains ";" then we assume it to be the separator
   10218     # otherwise default to the standard path separator (i.e. ":") - it is
   10219     # assumed that no part of a normal pathname contains ";" but that should
   10220     # okay in the real world where ";" in dirpaths is itself problematic.
   10221     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10222     ;;
   10223   *)
   10224     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10225     ;;
   10226   esac
   10227   # Ok, now we have the path, separated by spaces, we can step through it
   10228   # and add multilib dir if necessary.
   10229   lt_tmp_lt_search_path_spec=
   10230   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10231   for lt_sys_path in $lt_search_path_spec; do
   10232     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10233       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10234     else
   10235       test -d "$lt_sys_path" && \
   10236 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10237     fi
   10238   done
   10239   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10240 BEGIN {RS=" "; FS="/|\n";} {
   10241   lt_foo="";
   10242   lt_count=0;
   10243   for (lt_i = NF; lt_i > 0; lt_i--) {
   10244     if ($lt_i != "" && $lt_i != ".") {
   10245       if ($lt_i == "..") {
   10246         lt_count++;
   10247       } else {
   10248         if (lt_count == 0) {
   10249           lt_foo="/" $lt_i lt_foo;
   10250         } else {
   10251           lt_count--;
   10252         }
   10253       }
   10254     }
   10255   }
   10256   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10257   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10258 }'`
   10259   # AWK program above erroneously prepends '/' to C:/dos/paths
   10260   # for these hosts.
   10261   case $host_os in
   10262     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10263       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10264   esac
   10265   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10266 else
   10267   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10268 fi
   10269 library_names_spec=
   10270 libname_spec='lib$name'
   10271 soname_spec=
   10272 shrext_cmds=".so"
   10273 postinstall_cmds=
   10274 postuninstall_cmds=
   10275 finish_cmds=
   10276 finish_eval=
   10277 shlibpath_var=
   10278 shlibpath_overrides_runpath=unknown
   10279 version_type=none
   10280 dynamic_linker="$host_os ld.so"
   10281 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10282 need_lib_prefix=unknown
   10283 hardcode_into_libs=no
   10284 
   10285 # when you set need_version to no, make sure it does not cause -set_version
   10286 # flags to be left without arguments
   10287 need_version=unknown
   10288 
   10289 case $host_os in
   10290 aix3*)
   10291   version_type=linux # correct to gnu/linux during the next big refactor
   10292   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10293   shlibpath_var=LIBPATH
   10294 
   10295   # AIX 3 has no versioning support, so we append a major version to the name.
   10296   soname_spec='${libname}${release}${shared_ext}$major'
   10297   ;;
   10298 
   10299 aix[4-9]*)
   10300   version_type=linux # correct to gnu/linux during the next big refactor
   10301   need_lib_prefix=no
   10302   need_version=no
   10303   hardcode_into_libs=yes
   10304   if test "$host_cpu" = ia64; then
   10305     # AIX 5 supports IA64
   10306     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10307     shlibpath_var=LD_LIBRARY_PATH
   10308   else
   10309     # With GCC up to 2.95.x, collect2 would create an import file
   10310     # for dependence libraries.  The import file would start with
   10311     # the line `#! .'.  This would cause the generated library to
   10312     # depend on `.', always an invalid library.  This was fixed in
   10313     # development snapshots of GCC prior to 3.0.
   10314     case $host_os in
   10315       aix4 | aix4.[01] | aix4.[01].*)
   10316       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10317 	   echo ' yes '
   10318 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10319 	:
   10320       else
   10321 	can_build_shared=no
   10322       fi
   10323       ;;
   10324     esac
   10325     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10326     # soname into executable. Probably we can add versioning support to
   10327     # collect2, so additional links can be useful in future.
   10328     if test "$aix_use_runtimelinking" = yes; then
   10329       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10330       # instead of lib<name>.a to let people know that these are not
   10331       # typical AIX shared libraries.
   10332       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10333     else
   10334       # We preserve .a as extension for shared libraries through AIX4.2
   10335       # and later when we are not doing run time linking.
   10336       library_names_spec='${libname}${release}.a $libname.a'
   10337       soname_spec='${libname}${release}${shared_ext}$major'
   10338     fi
   10339     shlibpath_var=LIBPATH
   10340   fi
   10341   ;;
   10342 
   10343 amigaos*)
   10344   case $host_cpu in
   10345   powerpc)
   10346     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10347     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10349     ;;
   10350   m68k)
   10351     library_names_spec='$libname.ixlibrary $libname.a'
   10352     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10353     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
   10354     ;;
   10355   esac
   10356   ;;
   10357 
   10358 beos*)
   10359   library_names_spec='${libname}${shared_ext}'
   10360   dynamic_linker="$host_os ld.so"
   10361   shlibpath_var=LIBRARY_PATH
   10362   ;;
   10363 
   10364 bsdi[45]*)
   10365   version_type=linux # correct to gnu/linux during the next big refactor
   10366   need_version=no
   10367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10368   soname_spec='${libname}${release}${shared_ext}$major'
   10369   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10370   shlibpath_var=LD_LIBRARY_PATH
   10371   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10372   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10373   # the default ld.so.conf also contains /usr/contrib/lib and
   10374   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10375   # libtool to hard-code these into programs
   10376   ;;
   10377 
   10378 cygwin* | mingw* | pw32* | cegcc*)
   10379   version_type=windows
   10380   shrext_cmds=".dll"
   10381   need_version=no
   10382   need_lib_prefix=no
   10383 
   10384   case $GCC,$cc_basename in
   10385   yes,*)
   10386     # gcc
   10387     library_names_spec='$libname.dll.a'
   10388     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10389     postinstall_cmds='base_file=`basename \${file}`~
   10390       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10391       dldir=$destdir/`dirname \$dlpath`~
   10392       test -d \$dldir || mkdir -p \$dldir~
   10393       $install_prog $dir/$dlname \$dldir/$dlname~
   10394       chmod a+x \$dldir/$dlname~
   10395       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10396         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10397       fi'
   10398     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10399       dlpath=$dir/\$dldll~
   10400        $RM \$dlpath'
   10401     shlibpath_overrides_runpath=yes
   10402 
   10403     case $host_os in
   10404     cygwin*)
   10405       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10406       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10407 
   10408       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10409       ;;
   10410     mingw* | cegcc*)
   10411       # MinGW DLLs use traditional 'lib' prefix
   10412       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10413       ;;
   10414     pw32*)
   10415       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10416       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10417       ;;
   10418     esac
   10419     dynamic_linker='Win32 ld.exe'
   10420     ;;
   10421 
   10422   *,cl*)
   10423     # Native MSVC
   10424     libname_spec='$name'
   10425     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10426     library_names_spec='${libname}.dll.lib'
   10427 
   10428     case $build_os in
   10429     mingw*)
   10430       sys_lib_search_path_spec=
   10431       lt_save_ifs=$IFS
   10432       IFS=';'
   10433       for lt_path in $LIB
   10434       do
   10435         IFS=$lt_save_ifs
   10436         # Let DOS variable expansion print the short 8.3 style file name.
   10437         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10438         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10439       done
   10440       IFS=$lt_save_ifs
   10441       # Convert to MSYS style.
   10442       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10443       ;;
   10444     cygwin*)
   10445       # Convert to unix form, then to dos form, then back to unix form
   10446       # but this time dos style (no spaces!) so that the unix form looks
   10447       # like /cygdrive/c/PROGRA~1:/cygdr...
   10448       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10449       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10450       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10451       ;;
   10452     *)
   10453       sys_lib_search_path_spec="$LIB"
   10454       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10455         # It is most probably a Windows format PATH.
   10456         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10457       else
   10458         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10459       fi
   10460       # FIXME: find the short name or the path components, as spaces are
   10461       # common. (e.g. "Program Files" -> "PROGRA~1")
   10462       ;;
   10463     esac
   10464 
   10465     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10466     postinstall_cmds='base_file=`basename \${file}`~
   10467       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10468       dldir=$destdir/`dirname \$dlpath`~
   10469       test -d \$dldir || mkdir -p \$dldir~
   10470       $install_prog $dir/$dlname \$dldir/$dlname'
   10471     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10472       dlpath=$dir/\$dldll~
   10473        $RM \$dlpath'
   10474     shlibpath_overrides_runpath=yes
   10475     dynamic_linker='Win32 link.exe'
   10476     ;;
   10477 
   10478   *)
   10479     # Assume MSVC wrapper
   10480     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10481     dynamic_linker='Win32 ld.exe'
   10482     ;;
   10483   esac
   10484   # FIXME: first we should search . and the directory the executable is in
   10485   shlibpath_var=PATH
   10486   ;;
   10487 
   10488 darwin* | rhapsody*)
   10489   dynamic_linker="$host_os dyld"
   10490   version_type=darwin
   10491   need_lib_prefix=no
   10492   need_version=no
   10493   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10494   soname_spec='${libname}${release}${major}$shared_ext'
   10495   shlibpath_overrides_runpath=yes
   10496   shlibpath_var=DYLD_LIBRARY_PATH
   10497   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10498 
   10499   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10500   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10501   ;;
   10502 
   10503 dgux*)
   10504   version_type=linux # correct to gnu/linux during the next big refactor
   10505   need_lib_prefix=no
   10506   need_version=no
   10507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10508   soname_spec='${libname}${release}${shared_ext}$major'
   10509   shlibpath_var=LD_LIBRARY_PATH
   10510   ;;
   10511 
   10512 freebsd* | dragonfly*)
   10513   # DragonFly does not have aout.  When/if they implement a new
   10514   # versioning mechanism, adjust this.
   10515   if test -x /usr/bin/objformat; then
   10516     objformat=`/usr/bin/objformat`
   10517   else
   10518     case $host_os in
   10519     freebsd[23].*) objformat=aout ;;
   10520     *) objformat=elf ;;
   10521     esac
   10522   fi
   10523   version_type=freebsd-$objformat
   10524   case $version_type in
   10525     freebsd-elf*)
   10526       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10527       need_version=no
   10528       need_lib_prefix=no
   10529       ;;
   10530     freebsd-*)
   10531       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10532       need_version=yes
   10533       ;;
   10534   esac
   10535   shlibpath_var=LD_LIBRARY_PATH
   10536   case $host_os in
   10537   freebsd2.*)
   10538     shlibpath_overrides_runpath=yes
   10539     ;;
   10540   freebsd3.[01]* | freebsdelf3.[01]*)
   10541     shlibpath_overrides_runpath=yes
   10542     hardcode_into_libs=yes
   10543     ;;
   10544   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10545   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10546     shlibpath_overrides_runpath=no
   10547     hardcode_into_libs=yes
   10548     ;;
   10549   *) # from 4.6 on, and DragonFly
   10550     shlibpath_overrides_runpath=yes
   10551     hardcode_into_libs=yes
   10552     ;;
   10553   esac
   10554   ;;
   10555 
   10556 gnu*)
   10557   version_type=linux # correct to gnu/linux during the next big refactor
   10558   need_lib_prefix=no
   10559   need_version=no
   10560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10561   soname_spec='${libname}${release}${shared_ext}$major'
   10562   shlibpath_var=LD_LIBRARY_PATH
   10563   shlibpath_overrides_runpath=no
   10564   hardcode_into_libs=yes
   10565   ;;
   10566 
   10567 haiku*)
   10568   version_type=linux # correct to gnu/linux during the next big refactor
   10569   need_lib_prefix=no
   10570   need_version=no
   10571   dynamic_linker="$host_os runtime_loader"
   10572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10573   soname_spec='${libname}${release}${shared_ext}$major'
   10574   shlibpath_var=LIBRARY_PATH
   10575   shlibpath_overrides_runpath=yes
   10576   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10577   hardcode_into_libs=yes
   10578   ;;
   10579 
   10580 hpux9* | hpux10* | hpux11*)
   10581   # Give a soname corresponding to the major version so that dld.sl refuses to
   10582   # link against other versions.
   10583   version_type=sunos
   10584   need_lib_prefix=no
   10585   need_version=no
   10586   case $host_cpu in
   10587   ia64*)
   10588     shrext_cmds='.so'
   10589     hardcode_into_libs=yes
   10590     dynamic_linker="$host_os dld.so"
   10591     shlibpath_var=LD_LIBRARY_PATH
   10592     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10594     soname_spec='${libname}${release}${shared_ext}$major'
   10595     if test "X$HPUX_IA64_MODE" = X32; then
   10596       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10597     else
   10598       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10599     fi
   10600     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10601     ;;
   10602   hppa*64*)
   10603     shrext_cmds='.sl'
   10604     hardcode_into_libs=yes
   10605     dynamic_linker="$host_os dld.sl"
   10606     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10607     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10608     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10609     soname_spec='${libname}${release}${shared_ext}$major'
   10610     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10611     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10612     ;;
   10613   *)
   10614     shrext_cmds='.sl'
   10615     dynamic_linker="$host_os dld.sl"
   10616     shlibpath_var=SHLIB_PATH
   10617     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10619     soname_spec='${libname}${release}${shared_ext}$major'
   10620     ;;
   10621   esac
   10622   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10623   postinstall_cmds='chmod 555 $lib'
   10624   # or fails outright, so override atomically:
   10625   install_override_mode=555
   10626   ;;
   10627 
   10628 interix[3-9]*)
   10629   version_type=linux # correct to gnu/linux during the next big refactor
   10630   need_lib_prefix=no
   10631   need_version=no
   10632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10633   soname_spec='${libname}${release}${shared_ext}$major'
   10634   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10635   shlibpath_var=LD_LIBRARY_PATH
   10636   shlibpath_overrides_runpath=no
   10637   hardcode_into_libs=yes
   10638   ;;
   10639 
   10640 irix5* | irix6* | nonstopux*)
   10641   case $host_os in
   10642     nonstopux*) version_type=nonstopux ;;
   10643     *)
   10644 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10645 		version_type=linux # correct to gnu/linux during the next big refactor
   10646 	else
   10647 		version_type=irix
   10648 	fi ;;
   10649   esac
   10650   need_lib_prefix=no
   10651   need_version=no
   10652   soname_spec='${libname}${release}${shared_ext}$major'
   10653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10654   case $host_os in
   10655   irix5* | nonstopux*)
   10656     libsuff= shlibsuff=
   10657     ;;
   10658   *)
   10659     case $LD in # libtool.m4 will add one of these switches to LD
   10660     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10661       libsuff= shlibsuff= libmagic=32-bit;;
   10662     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10663       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10664     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10665       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10666     *) libsuff= shlibsuff= libmagic=never-match;;
   10667     esac
   10668     ;;
   10669   esac
   10670   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10671   shlibpath_overrides_runpath=no
   10672   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10673   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10674   hardcode_into_libs=yes
   10675   ;;
   10676 
   10677 # No shared lib support for Linux oldld, aout, or coff.
   10678 linux*oldld* | linux*aout* | linux*coff*)
   10679   dynamic_linker=no
   10680   ;;
   10681 
   10682 # This must be glibc/ELF.
   10683 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10684   version_type=linux # correct to gnu/linux during the next big refactor
   10685   need_lib_prefix=no
   10686   need_version=no
   10687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10688   soname_spec='${libname}${release}${shared_ext}$major'
   10689   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10690   shlibpath_var=LD_LIBRARY_PATH
   10691   shlibpath_overrides_runpath=no
   10692 
   10693   # Some binutils ld are patched to set DT_RUNPATH
   10694   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10695   $as_echo_n "(cached) " >&6
   10696 else
   10697   lt_cv_shlibpath_overrides_runpath=no
   10698     save_LDFLAGS=$LDFLAGS
   10699     save_libdir=$libdir
   10700     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10701 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10702     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10703 /* end confdefs.h.  */
   10704 
   10705 int
   10706 main ()
   10707 {
   10708 
   10709   ;
   10710   return 0;
   10711 }
   10712 _ACEOF
   10713 if ac_fn_c_try_link "$LINENO"; then :
   10714   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10715   lt_cv_shlibpath_overrides_runpath=yes
   10716 fi
   10717 fi
   10718 rm -f core conftest.err conftest.$ac_objext \
   10719     conftest$ac_exeext conftest.$ac_ext
   10720     LDFLAGS=$save_LDFLAGS
   10721     libdir=$save_libdir
   10722 
   10723 fi
   10724 
   10725   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10726 
   10727   # This implies no fast_install, which is unacceptable.
   10728   # Some rework will be needed to allow for fast_install
   10729   # before this can be enabled.
   10730   hardcode_into_libs=yes
   10731 
   10732   # Append ld.so.conf contents to the search path
   10733   if test -f /etc/ld.so.conf; then
   10734     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;s/"//g;/^$/d' | tr '\n' ' '`
   10735     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10736   fi
   10737 
   10738   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10739   # powerpc, because MkLinux only supported shared libraries with the
   10740   # GNU dynamic linker.  Since this was broken with cross compilers,
   10741   # most powerpc-linux boxes support dynamic linking these days and
   10742   # people can always --disable-shared, the test was removed, and we
   10743   # assume the GNU/Linux dynamic linker is in use.
   10744   dynamic_linker='GNU/Linux ld.so'
   10745   ;;
   10746 
   10747 netbsdelf*-gnu)
   10748   version_type=linux
   10749   need_lib_prefix=no
   10750   need_version=no
   10751   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10752   soname_spec='${libname}${release}${shared_ext}$major'
   10753   shlibpath_var=LD_LIBRARY_PATH
   10754   shlibpath_overrides_runpath=no
   10755   hardcode_into_libs=yes
   10756   dynamic_linker='NetBSD ld.elf_so'
   10757   ;;
   10758 
   10759 netbsd*)
   10760   version_type=sunos
   10761   need_lib_prefix=no
   10762   need_version=no
   10763   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10764     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10765     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10766     dynamic_linker='NetBSD (a.out) ld.so'
   10767   else
   10768     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10769     soname_spec='${libname}${release}${shared_ext}$major'
   10770     dynamic_linker='NetBSD ld.elf_so'
   10771   fi
   10772   shlibpath_var=LD_LIBRARY_PATH
   10773   shlibpath_overrides_runpath=yes
   10774   hardcode_into_libs=yes
   10775   ;;
   10776 
   10777 newsos6)
   10778   version_type=linux # correct to gnu/linux during the next big refactor
   10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10780   shlibpath_var=LD_LIBRARY_PATH
   10781   shlibpath_overrides_runpath=yes
   10782   ;;
   10783 
   10784 *nto* | *qnx*)
   10785   version_type=qnx
   10786   need_lib_prefix=no
   10787   need_version=no
   10788   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10789   soname_spec='${libname}${release}${shared_ext}$major'
   10790   shlibpath_var=LD_LIBRARY_PATH
   10791   shlibpath_overrides_runpath=no
   10792   hardcode_into_libs=yes
   10793   dynamic_linker='ldqnx.so'
   10794   ;;
   10795 
   10796 openbsd*)
   10797   version_type=sunos
   10798   sys_lib_dlsearch_path_spec="/usr/lib"
   10799   need_lib_prefix=no
   10800   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10801   case $host_os in
   10802     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10803     *)				need_version=no  ;;
   10804   esac
   10805   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10806   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10807   shlibpath_var=LD_LIBRARY_PATH
   10808   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10809     case $host_os in
   10810       openbsd2.[89] | openbsd2.[89].*)
   10811 	shlibpath_overrides_runpath=no
   10812 	;;
   10813       *)
   10814 	shlibpath_overrides_runpath=yes
   10815 	;;
   10816       esac
   10817   else
   10818     shlibpath_overrides_runpath=yes
   10819   fi
   10820   ;;
   10821 
   10822 os2*)
   10823   libname_spec='$name'
   10824   shrext_cmds=".dll"
   10825   need_lib_prefix=no
   10826   library_names_spec='$libname${shared_ext} $libname.a'
   10827   dynamic_linker='OS/2 ld.exe'
   10828   shlibpath_var=LIBPATH
   10829   ;;
   10830 
   10831 osf3* | osf4* | osf5*)
   10832   version_type=osf
   10833   need_lib_prefix=no
   10834   need_version=no
   10835   soname_spec='${libname}${release}${shared_ext}$major'
   10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10837   shlibpath_var=LD_LIBRARY_PATH
   10838   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10839   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10840   ;;
   10841 
   10842 rdos*)
   10843   dynamic_linker=no
   10844   ;;
   10845 
   10846 solaris*)
   10847   version_type=linux # correct to gnu/linux during the next big refactor
   10848   need_lib_prefix=no
   10849   need_version=no
   10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10851   soname_spec='${libname}${release}${shared_ext}$major'
   10852   shlibpath_var=LD_LIBRARY_PATH
   10853   shlibpath_overrides_runpath=yes
   10854   hardcode_into_libs=yes
   10855   # ldd complains unless libraries are executable
   10856   postinstall_cmds='chmod +x $lib'
   10857   ;;
   10858 
   10859 sunos4*)
   10860   version_type=sunos
   10861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10862   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10863   shlibpath_var=LD_LIBRARY_PATH
   10864   shlibpath_overrides_runpath=yes
   10865   if test "$with_gnu_ld" = yes; then
   10866     need_lib_prefix=no
   10867   fi
   10868   need_version=yes
   10869   ;;
   10870 
   10871 sysv4 | sysv4.3*)
   10872   version_type=linux # correct to gnu/linux during the next big refactor
   10873   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10874   soname_spec='${libname}${release}${shared_ext}$major'
   10875   shlibpath_var=LD_LIBRARY_PATH
   10876   case $host_vendor in
   10877     sni)
   10878       shlibpath_overrides_runpath=no
   10879       need_lib_prefix=no
   10880       runpath_var=LD_RUN_PATH
   10881       ;;
   10882     siemens)
   10883       need_lib_prefix=no
   10884       ;;
   10885     motorola)
   10886       need_lib_prefix=no
   10887       need_version=no
   10888       shlibpath_overrides_runpath=no
   10889       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10890       ;;
   10891   esac
   10892   ;;
   10893 
   10894 sysv4*MP*)
   10895   if test -d /usr/nec ;then
   10896     version_type=linux # correct to gnu/linux during the next big refactor
   10897     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10898     soname_spec='$libname${shared_ext}.$major'
   10899     shlibpath_var=LD_LIBRARY_PATH
   10900   fi
   10901   ;;
   10902 
   10903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10904   version_type=freebsd-elf
   10905   need_lib_prefix=no
   10906   need_version=no
   10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10908   soname_spec='${libname}${release}${shared_ext}$major'
   10909   shlibpath_var=LD_LIBRARY_PATH
   10910   shlibpath_overrides_runpath=yes
   10911   hardcode_into_libs=yes
   10912   if test "$with_gnu_ld" = yes; then
   10913     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10914   else
   10915     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10916     case $host_os in
   10917       sco3.2v5*)
   10918         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10919 	;;
   10920     esac
   10921   fi
   10922   sys_lib_dlsearch_path_spec='/usr/lib'
   10923   ;;
   10924 
   10925 tpf*)
   10926   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10927   version_type=linux # correct to gnu/linux during the next big refactor
   10928   need_lib_prefix=no
   10929   need_version=no
   10930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10931   shlibpath_var=LD_LIBRARY_PATH
   10932   shlibpath_overrides_runpath=no
   10933   hardcode_into_libs=yes
   10934   ;;
   10935 
   10936 uts4*)
   10937   version_type=linux # correct to gnu/linux during the next big refactor
   10938   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10939   soname_spec='${libname}${release}${shared_ext}$major'
   10940   shlibpath_var=LD_LIBRARY_PATH
   10941   ;;
   10942 
   10943 *)
   10944   dynamic_linker=no
   10945   ;;
   10946 esac
   10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10948 $as_echo "$dynamic_linker" >&6; }
   10949 test "$dynamic_linker" = no && can_build_shared=no
   10950 
   10951 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10952 if test "$GCC" = yes; then
   10953   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10954 fi
   10955 
   10956 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10957   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10958 fi
   10959 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10960   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10961 fi
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11055 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11056 hardcode_action=
   11057 if test -n "$hardcode_libdir_flag_spec" ||
   11058    test -n "$runpath_var" ||
   11059    test "X$hardcode_automatic" = "Xyes" ; then
   11060 
   11061   # We can hardcode non-existent directories.
   11062   if test "$hardcode_direct" != no &&
   11063      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11064      # have to relink, otherwise we might link with an installed library
   11065      # when we should be linking with a yet-to-be-installed one
   11066      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11067      test "$hardcode_minus_L" != no; then
   11068     # Linking always hardcodes the temporary library directory.
   11069     hardcode_action=relink
   11070   else
   11071     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11072     hardcode_action=immediate
   11073   fi
   11074 else
   11075   # We cannot hardcode anything, or else we can only hardcode existing
   11076   # directories.
   11077   hardcode_action=unsupported
   11078 fi
   11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11080 $as_echo "$hardcode_action" >&6; }
   11081 
   11082 if test "$hardcode_action" = relink ||
   11083    test "$inherit_rpath" = yes; then
   11084   # Fast installation is not supported
   11085   enable_fast_install=no
   11086 elif test "$shlibpath_overrides_runpath" = yes ||
   11087      test "$enable_shared" = no; then
   11088   # Fast installation is not necessary
   11089   enable_fast_install=needless
   11090 fi
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097   if test "x$enable_dlopen" != xyes; then
   11098   enable_dlopen=unknown
   11099   enable_dlopen_self=unknown
   11100   enable_dlopen_self_static=unknown
   11101 else
   11102   lt_cv_dlopen=no
   11103   lt_cv_dlopen_libs=
   11104 
   11105   case $host_os in
   11106   beos*)
   11107     lt_cv_dlopen="load_add_on"
   11108     lt_cv_dlopen_libs=
   11109     lt_cv_dlopen_self=yes
   11110     ;;
   11111 
   11112   mingw* | pw32* | cegcc*)
   11113     lt_cv_dlopen="LoadLibrary"
   11114     lt_cv_dlopen_libs=
   11115     ;;
   11116 
   11117   cygwin*)
   11118     lt_cv_dlopen="dlopen"
   11119     lt_cv_dlopen_libs=
   11120     ;;
   11121 
   11122   darwin*)
   11123   # if libdl is installed we need to link against it
   11124     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11126 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11127   $as_echo_n "(cached) " >&6
   11128 else
   11129   ac_check_lib_save_LIBS=$LIBS
   11130 LIBS="-ldl  $LIBS"
   11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11132 /* end confdefs.h.  */
   11133 
   11134 /* Override any GCC internal prototype to avoid an error.
   11135    Use char because int might match the return type of a GCC
   11136    builtin and then its argument prototype would still apply.  */
   11137 #ifdef __cplusplus
   11138 extern "C"
   11139 #endif
   11140 char dlopen ();
   11141 int
   11142 main ()
   11143 {
   11144 return dlopen ();
   11145   ;
   11146   return 0;
   11147 }
   11148 _ACEOF
   11149 if ac_fn_c_try_link "$LINENO"; then :
   11150   ac_cv_lib_dl_dlopen=yes
   11151 else
   11152   ac_cv_lib_dl_dlopen=no
   11153 fi
   11154 rm -f core conftest.err conftest.$ac_objext \
   11155     conftest$ac_exeext conftest.$ac_ext
   11156 LIBS=$ac_check_lib_save_LIBS
   11157 fi
   11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11160 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11161   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11162 else
   11163 
   11164     lt_cv_dlopen="dyld"
   11165     lt_cv_dlopen_libs=
   11166     lt_cv_dlopen_self=yes
   11167 
   11168 fi
   11169 
   11170     ;;
   11171 
   11172   *)
   11173     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11174 if test "x$ac_cv_func_shl_load" = xyes; then :
   11175   lt_cv_dlopen="shl_load"
   11176 else
   11177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11178 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11179 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11180   $as_echo_n "(cached) " >&6
   11181 else
   11182   ac_check_lib_save_LIBS=$LIBS
   11183 LIBS="-ldld  $LIBS"
   11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11185 /* end confdefs.h.  */
   11186 
   11187 /* Override any GCC internal prototype to avoid an error.
   11188    Use char because int might match the return type of a GCC
   11189    builtin and then its argument prototype would still apply.  */
   11190 #ifdef __cplusplus
   11191 extern "C"
   11192 #endif
   11193 char shl_load ();
   11194 int
   11195 main ()
   11196 {
   11197 return shl_load ();
   11198   ;
   11199   return 0;
   11200 }
   11201 _ACEOF
   11202 if ac_fn_c_try_link "$LINENO"; then :
   11203   ac_cv_lib_dld_shl_load=yes
   11204 else
   11205   ac_cv_lib_dld_shl_load=no
   11206 fi
   11207 rm -f core conftest.err conftest.$ac_objext \
   11208     conftest$ac_exeext conftest.$ac_ext
   11209 LIBS=$ac_check_lib_save_LIBS
   11210 fi
   11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11213 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11214   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11215 else
   11216   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11217 if test "x$ac_cv_func_dlopen" = xyes; then :
   11218   lt_cv_dlopen="dlopen"
   11219 else
   11220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11222 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11223   $as_echo_n "(cached) " >&6
   11224 else
   11225   ac_check_lib_save_LIBS=$LIBS
   11226 LIBS="-ldl  $LIBS"
   11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11228 /* end confdefs.h.  */
   11229 
   11230 /* Override any GCC internal prototype to avoid an error.
   11231    Use char because int might match the return type of a GCC
   11232    builtin and then its argument prototype would still apply.  */
   11233 #ifdef __cplusplus
   11234 extern "C"
   11235 #endif
   11236 char dlopen ();
   11237 int
   11238 main ()
   11239 {
   11240 return dlopen ();
   11241   ;
   11242   return 0;
   11243 }
   11244 _ACEOF
   11245 if ac_fn_c_try_link "$LINENO"; then :
   11246   ac_cv_lib_dl_dlopen=yes
   11247 else
   11248   ac_cv_lib_dl_dlopen=no
   11249 fi
   11250 rm -f core conftest.err conftest.$ac_objext \
   11251     conftest$ac_exeext conftest.$ac_ext
   11252 LIBS=$ac_check_lib_save_LIBS
   11253 fi
   11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11256 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11257   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11258 else
   11259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11260 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11261 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11262   $as_echo_n "(cached) " >&6
   11263 else
   11264   ac_check_lib_save_LIBS=$LIBS
   11265 LIBS="-lsvld  $LIBS"
   11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11267 /* end confdefs.h.  */
   11268 
   11269 /* Override any GCC internal prototype to avoid an error.
   11270    Use char because int might match the return type of a GCC
   11271    builtin and then its argument prototype would still apply.  */
   11272 #ifdef __cplusplus
   11273 extern "C"
   11274 #endif
   11275 char dlopen ();
   11276 int
   11277 main ()
   11278 {
   11279 return dlopen ();
   11280   ;
   11281   return 0;
   11282 }
   11283 _ACEOF
   11284 if ac_fn_c_try_link "$LINENO"; then :
   11285   ac_cv_lib_svld_dlopen=yes
   11286 else
   11287   ac_cv_lib_svld_dlopen=no
   11288 fi
   11289 rm -f core conftest.err conftest.$ac_objext \
   11290     conftest$ac_exeext conftest.$ac_ext
   11291 LIBS=$ac_check_lib_save_LIBS
   11292 fi
   11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11294 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11295 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11296   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11297 else
   11298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11299 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11300 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11301   $as_echo_n "(cached) " >&6
   11302 else
   11303   ac_check_lib_save_LIBS=$LIBS
   11304 LIBS="-ldld  $LIBS"
   11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11306 /* end confdefs.h.  */
   11307 
   11308 /* Override any GCC internal prototype to avoid an error.
   11309    Use char because int might match the return type of a GCC
   11310    builtin and then its argument prototype would still apply.  */
   11311 #ifdef __cplusplus
   11312 extern "C"
   11313 #endif
   11314 char dld_link ();
   11315 int
   11316 main ()
   11317 {
   11318 return dld_link ();
   11319   ;
   11320   return 0;
   11321 }
   11322 _ACEOF
   11323 if ac_fn_c_try_link "$LINENO"; then :
   11324   ac_cv_lib_dld_dld_link=yes
   11325 else
   11326   ac_cv_lib_dld_dld_link=no
   11327 fi
   11328 rm -f core conftest.err conftest.$ac_objext \
   11329     conftest$ac_exeext conftest.$ac_ext
   11330 LIBS=$ac_check_lib_save_LIBS
   11331 fi
   11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11333 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11334 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11335   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11336 fi
   11337 
   11338 
   11339 fi
   11340 
   11341 
   11342 fi
   11343 
   11344 
   11345 fi
   11346 
   11347 
   11348 fi
   11349 
   11350 
   11351 fi
   11352 
   11353     ;;
   11354   esac
   11355 
   11356   if test "x$lt_cv_dlopen" != xno; then
   11357     enable_dlopen=yes
   11358   else
   11359     enable_dlopen=no
   11360   fi
   11361 
   11362   case $lt_cv_dlopen in
   11363   dlopen)
   11364     save_CPPFLAGS="$CPPFLAGS"
   11365     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11366 
   11367     save_LDFLAGS="$LDFLAGS"
   11368     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11369 
   11370     save_LIBS="$LIBS"
   11371     LIBS="$lt_cv_dlopen_libs $LIBS"
   11372 
   11373     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11374 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11375 if ${lt_cv_dlopen_self+:} false; then :
   11376   $as_echo_n "(cached) " >&6
   11377 else
   11378   	  if test "$cross_compiling" = yes; then :
   11379   lt_cv_dlopen_self=cross
   11380 else
   11381   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11382   lt_status=$lt_dlunknown
   11383   cat > conftest.$ac_ext <<_LT_EOF
   11384 #line $LINENO "configure"
   11385 #include "confdefs.h"
   11386 
   11387 #if HAVE_DLFCN_H
   11388 #include <dlfcn.h>
   11389 #endif
   11390 
   11391 #include <stdio.h>
   11392 
   11393 #ifdef RTLD_GLOBAL
   11394 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11395 #else
   11396 #  ifdef DL_GLOBAL
   11397 #    define LT_DLGLOBAL		DL_GLOBAL
   11398 #  else
   11399 #    define LT_DLGLOBAL		0
   11400 #  endif
   11401 #endif
   11402 
   11403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11404    find out it does not work in some platform. */
   11405 #ifndef LT_DLLAZY_OR_NOW
   11406 #  ifdef RTLD_LAZY
   11407 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11408 #  else
   11409 #    ifdef DL_LAZY
   11410 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11411 #    else
   11412 #      ifdef RTLD_NOW
   11413 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11414 #      else
   11415 #        ifdef DL_NOW
   11416 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11417 #        else
   11418 #          define LT_DLLAZY_OR_NOW	0
   11419 #        endif
   11420 #      endif
   11421 #    endif
   11422 #  endif
   11423 #endif
   11424 
   11425 /* When -fvisbility=hidden is used, assume the code has been annotated
   11426    correspondingly for the symbols needed.  */
   11427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11428 int fnord () __attribute__((visibility("default")));
   11429 #endif
   11430 
   11431 int fnord () { return 42; }
   11432 int main ()
   11433 {
   11434   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11435   int status = $lt_dlunknown;
   11436 
   11437   if (self)
   11438     {
   11439       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11440       else
   11441         {
   11442 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11443           else puts (dlerror ());
   11444 	}
   11445       /* dlclose (self); */
   11446     }
   11447   else
   11448     puts (dlerror ());
   11449 
   11450   return status;
   11451 }
   11452 _LT_EOF
   11453   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11454   (eval $ac_link) 2>&5
   11455   ac_status=$?
   11456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11457   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11458     (./conftest; exit; ) >&5 2>/dev/null
   11459     lt_status=$?
   11460     case x$lt_status in
   11461       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11462       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11463       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11464     esac
   11465   else :
   11466     # compilation failed
   11467     lt_cv_dlopen_self=no
   11468   fi
   11469 fi
   11470 rm -fr conftest*
   11471 
   11472 
   11473 fi
   11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11475 $as_echo "$lt_cv_dlopen_self" >&6; }
   11476 
   11477     if test "x$lt_cv_dlopen_self" = xyes; then
   11478       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11479       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11480 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11481 if ${lt_cv_dlopen_self_static+:} false; then :
   11482   $as_echo_n "(cached) " >&6
   11483 else
   11484   	  if test "$cross_compiling" = yes; then :
   11485   lt_cv_dlopen_self_static=cross
   11486 else
   11487   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11488   lt_status=$lt_dlunknown
   11489   cat > conftest.$ac_ext <<_LT_EOF
   11490 #line $LINENO "configure"
   11491 #include "confdefs.h"
   11492 
   11493 #if HAVE_DLFCN_H
   11494 #include <dlfcn.h>
   11495 #endif
   11496 
   11497 #include <stdio.h>
   11498 
   11499 #ifdef RTLD_GLOBAL
   11500 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11501 #else
   11502 #  ifdef DL_GLOBAL
   11503 #    define LT_DLGLOBAL		DL_GLOBAL
   11504 #  else
   11505 #    define LT_DLGLOBAL		0
   11506 #  endif
   11507 #endif
   11508 
   11509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11510    find out it does not work in some platform. */
   11511 #ifndef LT_DLLAZY_OR_NOW
   11512 #  ifdef RTLD_LAZY
   11513 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11514 #  else
   11515 #    ifdef DL_LAZY
   11516 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11517 #    else
   11518 #      ifdef RTLD_NOW
   11519 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11520 #      else
   11521 #        ifdef DL_NOW
   11522 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11523 #        else
   11524 #          define LT_DLLAZY_OR_NOW	0
   11525 #        endif
   11526 #      endif
   11527 #    endif
   11528 #  endif
   11529 #endif
   11530 
   11531 /* When -fvisbility=hidden is used, assume the code has been annotated
   11532    correspondingly for the symbols needed.  */
   11533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11534 int fnord () __attribute__((visibility("default")));
   11535 #endif
   11536 
   11537 int fnord () { return 42; }
   11538 int main ()
   11539 {
   11540   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11541   int status = $lt_dlunknown;
   11542 
   11543   if (self)
   11544     {
   11545       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11546       else
   11547         {
   11548 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11549           else puts (dlerror ());
   11550 	}
   11551       /* dlclose (self); */
   11552     }
   11553   else
   11554     puts (dlerror ());
   11555 
   11556   return status;
   11557 }
   11558 _LT_EOF
   11559   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11560   (eval $ac_link) 2>&5
   11561   ac_status=$?
   11562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11563   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11564     (./conftest; exit; ) >&5 2>/dev/null
   11565     lt_status=$?
   11566     case x$lt_status in
   11567       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11568       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11569       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11570     esac
   11571   else :
   11572     # compilation failed
   11573     lt_cv_dlopen_self_static=no
   11574   fi
   11575 fi
   11576 rm -fr conftest*
   11577 
   11578 
   11579 fi
   11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11581 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11582     fi
   11583 
   11584     CPPFLAGS="$save_CPPFLAGS"
   11585     LDFLAGS="$save_LDFLAGS"
   11586     LIBS="$save_LIBS"
   11587     ;;
   11588   esac
   11589 
   11590   case $lt_cv_dlopen_self in
   11591   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11592   *) enable_dlopen_self=unknown ;;
   11593   esac
   11594 
   11595   case $lt_cv_dlopen_self_static in
   11596   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11597   *) enable_dlopen_self_static=unknown ;;
   11598   esac
   11599 fi
   11600 
   11601 
   11602 
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 striplib=
   11618 old_striplib=
   11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11620 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11621 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11622   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11623   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11625 $as_echo "yes" >&6; }
   11626 else
   11627 # FIXME - insert some real tests, host_os isn't really good enough
   11628   case $host_os in
   11629   darwin*)
   11630     if test -n "$STRIP" ; then
   11631       striplib="$STRIP -x"
   11632       old_striplib="$STRIP -S"
   11633       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11634 $as_echo "yes" >&6; }
   11635     else
   11636       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11637 $as_echo "no" >&6; }
   11638     fi
   11639     ;;
   11640   *)
   11641     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11642 $as_echo "no" >&6; }
   11643     ;;
   11644   esac
   11645 fi
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658   # Report which library types will actually be built
   11659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11660 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11662 $as_echo "$can_build_shared" >&6; }
   11663 
   11664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11665 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11666   test "$can_build_shared" = "no" && enable_shared=no
   11667 
   11668   # On AIX, shared libraries and static libraries use the same namespace, and
   11669   # are all built from PIC.
   11670   case $host_os in
   11671   aix3*)
   11672     test "$enable_shared" = yes && enable_static=no
   11673     if test -n "$RANLIB"; then
   11674       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11675       postinstall_cmds='$RANLIB $lib'
   11676     fi
   11677     ;;
   11678 
   11679   aix[4-9]*)
   11680     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11681       test "$enable_shared" = yes && enable_static=no
   11682     fi
   11683     ;;
   11684   esac
   11685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11686 $as_echo "$enable_shared" >&6; }
   11687 
   11688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11689 $as_echo_n "checking whether to build static libraries... " >&6; }
   11690   # Make sure either enable_shared or enable_static is yes.
   11691   test "$enable_shared" = yes || enable_static=yes
   11692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11693 $as_echo "$enable_static" >&6; }
   11694 
   11695 
   11696 
   11697 
   11698 fi
   11699 ac_ext=cpp
   11700 ac_cpp='$CXXCPP $CPPFLAGS'
   11701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11704 
   11705 CC="$lt_save_CC"
   11706 
   11707       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11708     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11709     (test "X$CXX" != "Xg++"))) ; then
   11710   ac_ext=cpp
   11711 ac_cpp='$CXXCPP $CPPFLAGS'
   11712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   11716 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   11717 if test -z "$CXXCPP"; then
   11718   if ${ac_cv_prog_CXXCPP+:} false; then :
   11719   $as_echo_n "(cached) " >&6
   11720 else
   11721       # Double quotes because CXXCPP needs to be expanded
   11722     for CXXCPP in "$CXX -E" "/lib/cpp"
   11723     do
   11724       ac_preproc_ok=false
   11725 for ac_cxx_preproc_warn_flag in '' yes
   11726 do
   11727   # Use a header file that comes with gcc, so configuring glibc
   11728   # with a fresh cross-compiler works.
   11729   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11730   # <limits.h> exists even on freestanding compilers.
   11731   # On the NeXT, cc -E runs the code through the compiler's parser,
   11732   # not just through cpp. "Syntax error" is here to catch this case.
   11733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11734 /* end confdefs.h.  */
   11735 #ifdef __STDC__
   11736 # include <limits.h>
   11737 #else
   11738 # include <assert.h>
   11739 #endif
   11740 		     Syntax error
   11741 _ACEOF
   11742 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11743 
   11744 else
   11745   # Broken: fails on valid input.
   11746 continue
   11747 fi
   11748 rm -f conftest.err conftest.i conftest.$ac_ext
   11749 
   11750   # OK, works on sane cases.  Now check whether nonexistent headers
   11751   # can be detected and how.
   11752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11753 /* end confdefs.h.  */
   11754 #include <ac_nonexistent.h>
   11755 _ACEOF
   11756 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11757   # Broken: success on invalid input.
   11758 continue
   11759 else
   11760   # Passes both tests.
   11761 ac_preproc_ok=:
   11762 break
   11763 fi
   11764 rm -f conftest.err conftest.i conftest.$ac_ext
   11765 
   11766 done
   11767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11768 rm -f conftest.i conftest.err conftest.$ac_ext
   11769 if $ac_preproc_ok; then :
   11770   break
   11771 fi
   11772 
   11773     done
   11774     ac_cv_prog_CXXCPP=$CXXCPP
   11775 
   11776 fi
   11777   CXXCPP=$ac_cv_prog_CXXCPP
   11778 else
   11779   ac_cv_prog_CXXCPP=$CXXCPP
   11780 fi
   11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   11782 $as_echo "$CXXCPP" >&6; }
   11783 ac_preproc_ok=false
   11784 for ac_cxx_preproc_warn_flag in '' yes
   11785 do
   11786   # Use a header file that comes with gcc, so configuring glibc
   11787   # with a fresh cross-compiler works.
   11788   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11789   # <limits.h> exists even on freestanding compilers.
   11790   # On the NeXT, cc -E runs the code through the compiler's parser,
   11791   # not just through cpp. "Syntax error" is here to catch this case.
   11792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11793 /* end confdefs.h.  */
   11794 #ifdef __STDC__
   11795 # include <limits.h>
   11796 #else
   11797 # include <assert.h>
   11798 #endif
   11799 		     Syntax error
   11800 _ACEOF
   11801 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11802 
   11803 else
   11804   # Broken: fails on valid input.
   11805 continue
   11806 fi
   11807 rm -f conftest.err conftest.i conftest.$ac_ext
   11808 
   11809   # OK, works on sane cases.  Now check whether nonexistent headers
   11810   # can be detected and how.
   11811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11812 /* end confdefs.h.  */
   11813 #include <ac_nonexistent.h>
   11814 _ACEOF
   11815 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11816   # Broken: success on invalid input.
   11817 continue
   11818 else
   11819   # Passes both tests.
   11820 ac_preproc_ok=:
   11821 break
   11822 fi
   11823 rm -f conftest.err conftest.i conftest.$ac_ext
   11824 
   11825 done
   11826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11827 rm -f conftest.i conftest.err conftest.$ac_ext
   11828 if $ac_preproc_ok; then :
   11829 
   11830 else
   11831   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11833 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   11834 See \`config.log' for more details" "$LINENO" 5; }
   11835 fi
   11836 
   11837 ac_ext=cpp
   11838 ac_cpp='$CXXCPP $CPPFLAGS'
   11839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11842 
   11843 else
   11844   _lt_caught_CXX_error=yes
   11845 fi
   11846 
   11847 ac_ext=cpp
   11848 ac_cpp='$CXXCPP $CPPFLAGS'
   11849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11852 
   11853 archive_cmds_need_lc_CXX=no
   11854 allow_undefined_flag_CXX=
   11855 always_export_symbols_CXX=no
   11856 archive_expsym_cmds_CXX=
   11857 compiler_needs_object_CXX=no
   11858 export_dynamic_flag_spec_CXX=
   11859 hardcode_direct_CXX=no
   11860 hardcode_direct_absolute_CXX=no
   11861 hardcode_libdir_flag_spec_CXX=
   11862 hardcode_libdir_separator_CXX=
   11863 hardcode_minus_L_CXX=no
   11864 hardcode_shlibpath_var_CXX=unsupported
   11865 hardcode_automatic_CXX=no
   11866 inherit_rpath_CXX=no
   11867 module_cmds_CXX=
   11868 module_expsym_cmds_CXX=
   11869 link_all_deplibs_CXX=unknown
   11870 old_archive_cmds_CXX=$old_archive_cmds
   11871 reload_flag_CXX=$reload_flag
   11872 reload_cmds_CXX=$reload_cmds
   11873 no_undefined_flag_CXX=
   11874 whole_archive_flag_spec_CXX=
   11875 enable_shared_with_static_runtimes_CXX=no
   11876 
   11877 # Source file extension for C++ test sources.
   11878 ac_ext=cpp
   11879 
   11880 # Object file extension for compiled C++ test sources.
   11881 objext=o
   11882 objext_CXX=$objext
   11883 
   11884 # No sense in running all these tests if we already determined that
   11885 # the CXX compiler isn't working.  Some variables (like enable_shared)
   11886 # are currently assumed to apply to all compilers on this platform,
   11887 # and will be corrupted by setting them based on a non-working compiler.
   11888 if test "$_lt_caught_CXX_error" != yes; then
   11889   # Code to be used in simple compile tests
   11890   lt_simple_compile_test_code="int some_variable = 0;"
   11891 
   11892   # Code to be used in simple link tests
   11893   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11894 
   11895   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 # If no C compiler was specified, use CC.
   11903 LTCC=${LTCC-"$CC"}
   11904 
   11905 # If no C compiler flags were specified, use CFLAGS.
   11906 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11907 
   11908 # Allow CC to be a program name with arguments.
   11909 compiler=$CC
   11910 
   11911 
   11912   # save warnings/boilerplate of simple test code
   11913   ac_outfile=conftest.$ac_objext
   11914 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11915 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11916 _lt_compiler_boilerplate=`cat conftest.err`
   11917 $RM conftest*
   11918 
   11919   ac_outfile=conftest.$ac_objext
   11920 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11921 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11922 _lt_linker_boilerplate=`cat conftest.err`
   11923 $RM -r conftest*
   11924 
   11925 
   11926   # Allow CC to be a program name with arguments.
   11927   lt_save_CC=$CC
   11928   lt_save_CFLAGS=$CFLAGS
   11929   lt_save_LD=$LD
   11930   lt_save_GCC=$GCC
   11931   GCC=$GXX
   11932   lt_save_with_gnu_ld=$with_gnu_ld
   11933   lt_save_path_LD=$lt_cv_path_LD
   11934   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11935     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11936   else
   11937     $as_unset lt_cv_prog_gnu_ld
   11938   fi
   11939   if test -n "${lt_cv_path_LDCXX+set}"; then
   11940     lt_cv_path_LD=$lt_cv_path_LDCXX
   11941   else
   11942     $as_unset lt_cv_path_LD
   11943   fi
   11944   test -z "${LDCXX+set}" || LD=$LDCXX
   11945   CC=${CXX-"c++"}
   11946   CFLAGS=$CXXFLAGS
   11947   compiler=$CC
   11948   compiler_CXX=$CC
   11949   for cc_temp in $compiler""; do
   11950   case $cc_temp in
   11951     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11952     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11953     \-*) ;;
   11954     *) break;;
   11955   esac
   11956 done
   11957 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   11958 
   11959 
   11960   if test -n "$compiler"; then
   11961     # We don't want -fno-exception when compiling C++ code, so set the
   11962     # no_builtin_flag separately
   11963     if test "$GXX" = yes; then
   11964       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11965     else
   11966       lt_prog_compiler_no_builtin_flag_CXX=
   11967     fi
   11968 
   11969     if test "$GXX" = yes; then
   11970       # Set up default GNU C++ configuration
   11971 
   11972 
   11973 
   11974 # Check whether --with-gnu-ld was given.
   11975 if test "${with_gnu_ld+set}" = set; then :
   11976   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11977 else
   11978   with_gnu_ld=no
   11979 fi
   11980 
   11981 ac_prog=ld
   11982 if test "$GCC" = yes; then
   11983   # Check if gcc -print-prog-name=ld gives a path.
   11984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11985 $as_echo_n "checking for ld used by $CC... " >&6; }
   11986   case $host in
   11987   *-*-mingw*)
   11988     # gcc leaves a trailing carriage return which upsets mingw
   11989     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11990   *)
   11991     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11992   esac
   11993   case $ac_prog in
   11994     # Accept absolute paths.
   11995     [\\/]* | ?:[\\/]*)
   11996       re_direlt='/[^/][^/]*/\.\./'
   11997       # Canonicalize the pathname of ld
   11998       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11999       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12000 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12001       done
   12002       test -z "$LD" && LD="$ac_prog"
   12003       ;;
   12004   "")
   12005     # If it fails, then pretend we aren't using GCC.
   12006     ac_prog=ld
   12007     ;;
   12008   *)
   12009     # If it is relative, then search for the first ld in PATH.
   12010     with_gnu_ld=unknown
   12011     ;;
   12012   esac
   12013 elif test "$with_gnu_ld" = yes; then
   12014   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12015 $as_echo_n "checking for GNU ld... " >&6; }
   12016 else
   12017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12018 $as_echo_n "checking for non-GNU ld... " >&6; }
   12019 fi
   12020 if ${lt_cv_path_LD+:} false; then :
   12021   $as_echo_n "(cached) " >&6
   12022 else
   12023   if test -z "$LD"; then
   12024   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12025   for ac_dir in $PATH; do
   12026     IFS="$lt_save_ifs"
   12027     test -z "$ac_dir" && ac_dir=.
   12028     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12029       lt_cv_path_LD="$ac_dir/$ac_prog"
   12030       # Check to see if the program is GNU ld.  I'd rather use --version,
   12031       # but apparently some variants of GNU ld only accept -v.
   12032       # Break only if it was the GNU/non-GNU ld that we prefer.
   12033       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12034       *GNU* | *'with BFD'*)
   12035 	test "$with_gnu_ld" != no && break
   12036 	;;
   12037       *)
   12038 	test "$with_gnu_ld" != yes && break
   12039 	;;
   12040       esac
   12041     fi
   12042   done
   12043   IFS="$lt_save_ifs"
   12044 else
   12045   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12046 fi
   12047 fi
   12048 
   12049 LD="$lt_cv_path_LD"
   12050 if test -n "$LD"; then
   12051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12052 $as_echo "$LD" >&6; }
   12053 else
   12054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12055 $as_echo "no" >&6; }
   12056 fi
   12057 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12059 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12060 if ${lt_cv_prog_gnu_ld+:} false; then :
   12061   $as_echo_n "(cached) " >&6
   12062 else
   12063   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12064 case `$LD -v 2>&1 </dev/null` in
   12065 *GNU* | *'with BFD'*)
   12066   lt_cv_prog_gnu_ld=yes
   12067   ;;
   12068 *)
   12069   lt_cv_prog_gnu_ld=no
   12070   ;;
   12071 esac
   12072 fi
   12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12074 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12075 with_gnu_ld=$lt_cv_prog_gnu_ld
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12084       # archiving commands below assume that GNU ld is being used.
   12085       if test "$with_gnu_ld" = yes; then
   12086         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12087         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12088 
   12089         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12090         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12091 
   12092         # If archive_cmds runs LD, not CC, wlarc should be empty
   12093         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12094         #     investigate it a little bit more. (MM)
   12095         wlarc='${wl}'
   12096 
   12097         # ancient GNU ld didn't support --whole-archive et. al.
   12098         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12099 	  $GREP 'no-whole-archive' > /dev/null; then
   12100           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12101         else
   12102           whole_archive_flag_spec_CXX=
   12103         fi
   12104       else
   12105         with_gnu_ld=no
   12106         wlarc=
   12107 
   12108         # A generic and very simple default shared library creation
   12109         # command for GNU C++ for the case where it uses the native
   12110         # linker, instead of GNU ld.  If possible, this setting should
   12111         # overridden to take advantage of the native linker features on
   12112         # the platform it is being used on.
   12113         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12114       fi
   12115 
   12116       # Commands to make compiler produce verbose output that lists
   12117       # what "hidden" libraries, object files and flags are used when
   12118       # linking a shared library.
   12119       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12120 
   12121     else
   12122       GXX=no
   12123       with_gnu_ld=no
   12124       wlarc=
   12125     fi
   12126 
   12127     # PORTME: fill in a description of your system's C++ link characteristics
   12128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12129 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12130     ld_shlibs_CXX=yes
   12131     case $host_os in
   12132       aix3*)
   12133         # FIXME: insert proper C++ library support
   12134         ld_shlibs_CXX=no
   12135         ;;
   12136       aix[4-9]*)
   12137         if test "$host_cpu" = ia64; then
   12138           # On IA64, the linker does run time linking by default, so we don't
   12139           # have to do anything special.
   12140           aix_use_runtimelinking=no
   12141           exp_sym_flag='-Bexport'
   12142           no_entry_flag=""
   12143         else
   12144           aix_use_runtimelinking=no
   12145 
   12146           # Test if we are trying to use run time linking or normal
   12147           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   12148           # need to do runtime linking.
   12149           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   12150 	    for ld_flag in $LDFLAGS; do
   12151 	      case $ld_flag in
   12152 	      *-brtl*)
   12153 	        aix_use_runtimelinking=yes
   12154 	        break
   12155 	        ;;
   12156 	      esac
   12157 	    done
   12158 	    ;;
   12159           esac
   12160 
   12161           exp_sym_flag='-bexport'
   12162           no_entry_flag='-bnoentry'
   12163         fi
   12164 
   12165         # When large executables or shared objects are built, AIX ld can
   12166         # have problems creating the table of contents.  If linking a library
   12167         # or program results in "error TOC overflow" add -mminimal-toc to
   12168         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   12169         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   12170 
   12171         archive_cmds_CXX=''
   12172         hardcode_direct_CXX=yes
   12173         hardcode_direct_absolute_CXX=yes
   12174         hardcode_libdir_separator_CXX=':'
   12175         link_all_deplibs_CXX=yes
   12176         file_list_spec_CXX='${wl}-f,'
   12177 
   12178         if test "$GXX" = yes; then
   12179           case $host_os in aix4.[012]|aix4.[012].*)
   12180           # We only want to do this on AIX 4.2 and lower, the check
   12181           # below for broken collect2 doesn't work under 4.3+
   12182 	  collect2name=`${CC} -print-prog-name=collect2`
   12183 	  if test -f "$collect2name" &&
   12184 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   12185 	  then
   12186 	    # We have reworked collect2
   12187 	    :
   12188 	  else
   12189 	    # We have old collect2
   12190 	    hardcode_direct_CXX=unsupported
   12191 	    # It fails to find uninstalled libraries when the uninstalled
   12192 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   12193 	    # to unsupported forces relinking
   12194 	    hardcode_minus_L_CXX=yes
   12195 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   12196 	    hardcode_libdir_separator_CXX=
   12197 	  fi
   12198           esac
   12199           shared_flag='-shared'
   12200 	  if test "$aix_use_runtimelinking" = yes; then
   12201 	    shared_flag="$shared_flag "'${wl}-G'
   12202 	  fi
   12203         else
   12204           # not using gcc
   12205           if test "$host_cpu" = ia64; then
   12206 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   12207 	  # chokes on -Wl,-G. The following line is correct:
   12208 	  shared_flag='-G'
   12209           else
   12210 	    if test "$aix_use_runtimelinking" = yes; then
   12211 	      shared_flag='${wl}-G'
   12212 	    else
   12213 	      shared_flag='${wl}-bM:SRE'
   12214 	    fi
   12215           fi
   12216         fi
   12217 
   12218         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   12219         # It seems that -bexpall does not export symbols beginning with
   12220         # underscore (_), so it is better to generate a list of symbols to
   12221 	# export.
   12222         always_export_symbols_CXX=yes
   12223         if test "$aix_use_runtimelinking" = yes; then
   12224           # Warning - without using the other runtime loading flags (-brtl),
   12225           # -berok will link without error, but may produce a broken library.
   12226           allow_undefined_flag_CXX='-berok'
   12227           # Determine the default libpath from the value encoded in an empty
   12228           # executable.
   12229           if test "${lt_cv_aix_libpath+set}" = set; then
   12230   aix_libpath=$lt_cv_aix_libpath
   12231 else
   12232   if ${lt_cv_aix_libpath__CXX+:} false; then :
   12233   $as_echo_n "(cached) " >&6
   12234 else
   12235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12236 /* end confdefs.h.  */
   12237 
   12238 int
   12239 main ()
   12240 {
   12241 
   12242   ;
   12243   return 0;
   12244 }
   12245 _ACEOF
   12246 if ac_fn_cxx_try_link "$LINENO"; then :
   12247 
   12248   lt_aix_libpath_sed='
   12249       /Import File Strings/,/^$/ {
   12250 	  /^0/ {
   12251 	      s/^0  *\([^ ]*\) *$/\1/
   12252 	      p
   12253 	  }
   12254       }'
   12255   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12256   # Check for a 64-bit object if we didn't find anything.
   12257   if test -z "$lt_cv_aix_libpath__CXX"; then
   12258     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12259   fi
   12260 fi
   12261 rm -f core conftest.err conftest.$ac_objext \
   12262     conftest$ac_exeext conftest.$ac_ext
   12263   if test -z "$lt_cv_aix_libpath__CXX"; then
   12264     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
   12265   fi
   12266 
   12267 fi
   12268 
   12269   aix_libpath=$lt_cv_aix_libpath__CXX
   12270 fi
   12271 
   12272           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12273 
   12274           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   12275         else
   12276           if test "$host_cpu" = ia64; then
   12277 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   12278 	    allow_undefined_flag_CXX="-z nodefs"
   12279 	    archive_expsym_cmds_CXX="\$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"
   12280           else
   12281 	    # Determine the default libpath from the value encoded in an
   12282 	    # empty executable.
   12283 	    if test "${lt_cv_aix_libpath+set}" = set; then
   12284   aix_libpath=$lt_cv_aix_libpath
   12285 else
   12286   if ${lt_cv_aix_libpath__CXX+:} false; then :
   12287   $as_echo_n "(cached) " >&6
   12288 else
   12289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12290 /* end confdefs.h.  */
   12291 
   12292 int
   12293 main ()
   12294 {
   12295 
   12296   ;
   12297   return 0;
   12298 }
   12299 _ACEOF
   12300 if ac_fn_cxx_try_link "$LINENO"; then :
   12301 
   12302   lt_aix_libpath_sed='
   12303       /Import File Strings/,/^$/ {
   12304 	  /^0/ {
   12305 	      s/^0  *\([^ ]*\) *$/\1/
   12306 	      p
   12307 	  }
   12308       }'
   12309   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12310   # Check for a 64-bit object if we didn't find anything.
   12311   if test -z "$lt_cv_aix_libpath__CXX"; then
   12312     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12313   fi
   12314 fi
   12315 rm -f core conftest.err conftest.$ac_objext \
   12316     conftest$ac_exeext conftest.$ac_ext
   12317   if test -z "$lt_cv_aix_libpath__CXX"; then
   12318     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
   12319   fi
   12320 
   12321 fi
   12322 
   12323   aix_libpath=$lt_cv_aix_libpath__CXX
   12324 fi
   12325 
   12326 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12327 	    # Warning - without using the other run time loading flags,
   12328 	    # -berok will link without error, but may produce a broken library.
   12329 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   12330 	    allow_undefined_flag_CXX=' ${wl}-berok'
   12331 	    if test "$with_gnu_ld" = yes; then
   12332 	      # We only use this code for GNU lds that support --whole-archive.
   12333 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12334 	    else
   12335 	      # Exported symbols can be pulled into shared objects from archives
   12336 	      whole_archive_flag_spec_CXX='$convenience'
   12337 	    fi
   12338 	    archive_cmds_need_lc_CXX=yes
   12339 	    # This is similar to how AIX traditionally builds its shared
   12340 	    # libraries.
   12341 	    archive_expsym_cmds_CXX="\$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'
   12342           fi
   12343         fi
   12344         ;;
   12345 
   12346       beos*)
   12347 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12348 	  allow_undefined_flag_CXX=unsupported
   12349 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   12350 	  # support --undefined.  This deserves some investigation.  FIXME
   12351 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12352 	else
   12353 	  ld_shlibs_CXX=no
   12354 	fi
   12355 	;;
   12356 
   12357       chorus*)
   12358         case $cc_basename in
   12359           *)
   12360 	  # FIXME: insert proper C++ library support
   12361 	  ld_shlibs_CXX=no
   12362 	  ;;
   12363         esac
   12364         ;;
   12365 
   12366       cygwin* | mingw* | pw32* | cegcc*)
   12367 	case $GXX,$cc_basename in
   12368 	,cl* | no,cl*)
   12369 	  # Native MSVC
   12370 	  # hardcode_libdir_flag_spec is actually meaningless, as there is
   12371 	  # no search path for DLLs.
   12372 	  hardcode_libdir_flag_spec_CXX=' '
   12373 	  allow_undefined_flag_CXX=unsupported
   12374 	  always_export_symbols_CXX=yes
   12375 	  file_list_spec_CXX='@'
   12376 	  # Tell ltmain to make .lib files, not .a files.
   12377 	  libext=lib
   12378 	  # Tell ltmain to make .dll files, not .so files.
   12379 	  shrext_cmds=".dll"
   12380 	  # FIXME: Setting linknames here is a bad hack.
   12381 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   12382 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   12383 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   12384 	    else
   12385 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   12386 	    fi~
   12387 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   12388 	    linknames='
   12389 	  # The linker will not automatically build a static lib if we build a DLL.
   12390 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
   12391 	  enable_shared_with_static_runtimes_CXX=yes
   12392 	  # Don't use ranlib
   12393 	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
   12394 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
   12395 	    lt_tool_outputfile="@TOOL_OUTPUT@"~
   12396 	    case $lt_outputfile in
   12397 	      *.exe|*.EXE) ;;
   12398 	      *)
   12399 		lt_outputfile="$lt_outputfile.exe"
   12400 		lt_tool_outputfile="$lt_tool_outputfile.exe"
   12401 		;;
   12402 	    esac~
   12403 	    func_to_tool_file "$lt_outputfile"~
   12404 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   12405 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   12406 	      $RM "$lt_outputfile.manifest";
   12407 	    fi'
   12408 	  ;;
   12409 	*)
   12410 	  # g++
   12411 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   12412 	  # as there is no search path for DLLs.
   12413 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   12414 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   12415 	  allow_undefined_flag_CXX=unsupported
   12416 	  always_export_symbols_CXX=no
   12417 	  enable_shared_with_static_runtimes_CXX=yes
   12418 
   12419 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   12420 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   12421 	    # If the export-symbols file already is a .def file (1st line
   12422 	    # is EXPORTS), use it as is; otherwise, prepend...
   12423 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   12424 	      cp $export_symbols $output_objdir/$soname.def;
   12425 	    else
   12426 	      echo EXPORTS > $output_objdir/$soname.def;
   12427 	      cat $export_symbols >> $output_objdir/$soname.def;
   12428 	    fi~
   12429 	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   12430 	  else
   12431 	    ld_shlibs_CXX=no
   12432 	  fi
   12433 	  ;;
   12434 	esac
   12435 	;;
   12436       darwin* | rhapsody*)
   12437 
   12438 
   12439   archive_cmds_need_lc_CXX=no
   12440   hardcode_direct_CXX=no
   12441   hardcode_automatic_CXX=yes
   12442   hardcode_shlibpath_var_CXX=unsupported
   12443   if test "$lt_cv_ld_force_load" = "yes"; then
   12444     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   12445 
   12446   else
   12447     whole_archive_flag_spec_CXX=''
   12448   fi
   12449   link_all_deplibs_CXX=yes
   12450   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   12451   case $cc_basename in
   12452      ifort*) _lt_dar_can_shared=yes ;;
   12453      *) _lt_dar_can_shared=$GCC ;;
   12454   esac
   12455   if test "$_lt_dar_can_shared" = "yes"; then
   12456     output_verbose_link_cmd=func_echo_all
   12457     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   12458     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   12459     archive_expsym_cmds_CXX="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}"
   12460     module_expsym_cmds_CXX="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}"
   12461        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   12462       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   12463       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   12464     fi
   12465 
   12466   else
   12467   ld_shlibs_CXX=no
   12468   fi
   12469 
   12470 	;;
   12471 
   12472       dgux*)
   12473         case $cc_basename in
   12474           ec++*)
   12475 	    # FIXME: insert proper C++ library support
   12476 	    ld_shlibs_CXX=no
   12477 	    ;;
   12478           ghcx*)
   12479 	    # Green Hills C++ Compiler
   12480 	    # FIXME: insert proper C++ library support
   12481 	    ld_shlibs_CXX=no
   12482 	    ;;
   12483           *)
   12484 	    # FIXME: insert proper C++ library support
   12485 	    ld_shlibs_CXX=no
   12486 	    ;;
   12487         esac
   12488         ;;
   12489 
   12490       freebsd2.*)
   12491         # C++ shared libraries reported to be fairly broken before
   12492 	# switch to ELF
   12493         ld_shlibs_CXX=no
   12494         ;;
   12495 
   12496       freebsd-elf*)
   12497         archive_cmds_need_lc_CXX=no
   12498         ;;
   12499 
   12500       freebsd* | dragonfly*)
   12501         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   12502         # conventions
   12503         ld_shlibs_CXX=yes
   12504         ;;
   12505 
   12506       gnu*)
   12507         ;;
   12508 
   12509       haiku*)
   12510         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12511         link_all_deplibs_CXX=yes
   12512         ;;
   12513 
   12514       hpux9*)
   12515         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12516         hardcode_libdir_separator_CXX=:
   12517         export_dynamic_flag_spec_CXX='${wl}-E'
   12518         hardcode_direct_CXX=yes
   12519         hardcode_minus_L_CXX=yes # Not in the search PATH,
   12520 				             # but as the default
   12521 				             # location of the library.
   12522 
   12523         case $cc_basename in
   12524           CC*)
   12525             # FIXME: insert proper C++ library support
   12526             ld_shlibs_CXX=no
   12527             ;;
   12528           aCC*)
   12529             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   12530             # Commands to make compiler produce verbose output that lists
   12531             # what "hidden" libraries, object files and flags are used when
   12532             # linking a shared library.
   12533             #
   12534             # There doesn't appear to be a way to prevent this compiler from
   12535             # explicitly linking system object files so we need to strip them
   12536             # from the output so that they don't get included in the library
   12537             # dependencies.
   12538             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   12539             ;;
   12540           *)
   12541             if test "$GXX" = yes; then
   12542               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   12543             else
   12544               # FIXME: insert proper C++ library support
   12545               ld_shlibs_CXX=no
   12546             fi
   12547             ;;
   12548         esac
   12549         ;;
   12550 
   12551       hpux10*|hpux11*)
   12552         if test $with_gnu_ld = no; then
   12553 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12554 	  hardcode_libdir_separator_CXX=:
   12555 
   12556           case $host_cpu in
   12557             hppa*64*|ia64*)
   12558               ;;
   12559             *)
   12560 	      export_dynamic_flag_spec_CXX='${wl}-E'
   12561               ;;
   12562           esac
   12563         fi
   12564         case $host_cpu in
   12565           hppa*64*|ia64*)
   12566             hardcode_direct_CXX=no
   12567             hardcode_shlibpath_var_CXX=no
   12568             ;;
   12569           *)
   12570             hardcode_direct_CXX=yes
   12571             hardcode_direct_absolute_CXX=yes
   12572             hardcode_minus_L_CXX=yes # Not in the search PATH,
   12573 					         # but as the default
   12574 					         # location of the library.
   12575             ;;
   12576         esac
   12577 
   12578         case $cc_basename in
   12579           CC*)
   12580 	    # FIXME: insert proper C++ library support
   12581 	    ld_shlibs_CXX=no
   12582 	    ;;
   12583           aCC*)
   12584 	    case $host_cpu in
   12585 	      hppa*64*)
   12586 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12587 	        ;;
   12588 	      ia64*)
   12589 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12590 	        ;;
   12591 	      *)
   12592 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12593 	        ;;
   12594 	    esac
   12595 	    # Commands to make compiler produce verbose output that lists
   12596 	    # what "hidden" libraries, object files and flags are used when
   12597 	    # linking a shared library.
   12598 	    #
   12599 	    # There doesn't appear to be a way to prevent this compiler from
   12600 	    # explicitly linking system object files so we need to strip them
   12601 	    # from the output so that they don't get included in the library
   12602 	    # dependencies.
   12603 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   12604 	    ;;
   12605           *)
   12606 	    if test "$GXX" = yes; then
   12607 	      if test $with_gnu_ld = no; then
   12608 	        case $host_cpu in
   12609 	          hppa*64*)
   12610 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12611 	            ;;
   12612 	          ia64*)
   12613 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12614 	            ;;
   12615 	          *)
   12616 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12617 	            ;;
   12618 	        esac
   12619 	      fi
   12620 	    else
   12621 	      # FIXME: insert proper C++ library support
   12622 	      ld_shlibs_CXX=no
   12623 	    fi
   12624 	    ;;
   12625         esac
   12626         ;;
   12627 
   12628       interix[3-9]*)
   12629 	hardcode_direct_CXX=no
   12630 	hardcode_shlibpath_var_CXX=no
   12631 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12632 	export_dynamic_flag_spec_CXX='${wl}-E'
   12633 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12634 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   12635 	# default) and relocated if they conflict, which is a slow very memory
   12636 	# consuming and fragmenting process.  To avoid this, we pick a random,
   12637 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12638 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12639 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   12640 	archive_expsym_cmds_CXX='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'
   12641 	;;
   12642       irix5* | irix6*)
   12643         case $cc_basename in
   12644           CC*)
   12645 	    # SGI C++
   12646 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   12647 
   12648 	    # Archives containing C++ object files must be created using
   12649 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12650 	    # necessary to make sure instantiated templates are included
   12651 	    # in the archive.
   12652 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12653 	    ;;
   12654           *)
   12655 	    if test "$GXX" = yes; then
   12656 	      if test "$with_gnu_ld" = no; then
   12657 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12658 	      else
   12659 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
   12660 	      fi
   12661 	    fi
   12662 	    link_all_deplibs_CXX=yes
   12663 	    ;;
   12664         esac
   12665         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12666         hardcode_libdir_separator_CXX=:
   12667         inherit_rpath_CXX=yes
   12668         ;;
   12669 
   12670       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12671         case $cc_basename in
   12672           KCC*)
   12673 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12674 
   12675 	    # KCC will only create a shared library if the output file
   12676 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12677 	    # to its proper name (with version) after linking.
   12678 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12679 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   12680 	    # Commands to make compiler produce verbose output that lists
   12681 	    # what "hidden" libraries, object files and flags are used when
   12682 	    # linking a shared library.
   12683 	    #
   12684 	    # There doesn't appear to be a way to prevent this compiler from
   12685 	    # explicitly linking system object files so we need to strip them
   12686 	    # from the output so that they don't get included in the library
   12687 	    # dependencies.
   12688 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   12689 
   12690 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12691 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12692 
   12693 	    # Archives containing C++ object files must be created using
   12694 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12695 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12696 	    ;;
   12697 	  icpc* | ecpc* )
   12698 	    # Intel C++
   12699 	    with_gnu_ld=yes
   12700 	    # version 8.0 and above of icpc choke on multiply defined symbols
   12701 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   12702 	    # earlier do not add the objects themselves.
   12703 	    case `$CC -V 2>&1` in
   12704 	      *"Version 7."*)
   12705 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12706 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12707 		;;
   12708 	      *)  # Version 8.0 or newer
   12709 	        tmp_idyn=
   12710 	        case $host_cpu in
   12711 		  ia64*) tmp_idyn=' -i_dynamic';;
   12712 		esac
   12713 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12714 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12715 		;;
   12716 	    esac
   12717 	    archive_cmds_need_lc_CXX=no
   12718 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12719 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12720 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12721 	    ;;
   12722           pgCC* | pgcpp*)
   12723             # Portland Group C++ compiler
   12724 	    case `$CC -V` in
   12725 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   12726 	      prelink_cmds_CXX='tpldir=Template.dir~
   12727 		rm -rf $tpldir~
   12728 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   12729 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   12730 	      old_archive_cmds_CXX='tpldir=Template.dir~
   12731 		rm -rf $tpldir~
   12732 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   12733 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   12734 		$RANLIB $oldlib'
   12735 	      archive_cmds_CXX='tpldir=Template.dir~
   12736 		rm -rf $tpldir~
   12737 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12738 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12739 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   12740 		rm -rf $tpldir~
   12741 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12742 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12743 	      ;;
   12744 	    *) # Version 6 and above use weak symbols
   12745 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12746 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12747 	      ;;
   12748 	    esac
   12749 
   12750 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12751 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12752 	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   12753             ;;
   12754 	  cxx*)
   12755 	    # Compaq C++
   12756 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12757 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   12758 
   12759 	    runpath_var=LD_RUN_PATH
   12760 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12761 	    hardcode_libdir_separator_CXX=:
   12762 
   12763 	    # Commands to make compiler produce verbose output that lists
   12764 	    # what "hidden" libraries, object files and flags are used when
   12765 	    # linking a shared library.
   12766 	    #
   12767 	    # There doesn't appear to be a way to prevent this compiler from
   12768 	    # explicitly linking system object files so we need to strip them
   12769 	    # from the output so that they don't get included in the library
   12770 	    # dependencies.
   12771 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   12772 	    ;;
   12773 	  xl* | mpixl* | bgxl*)
   12774 	    # IBM XL 8.0 on PPC, with GNU ld
   12775 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12776 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12777 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12778 	    if test "x$supports_anon_versioning" = xyes; then
   12779 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   12780 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   12781 		echo "local: *; };" >> $output_objdir/$libname.ver~
   12782 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   12783 	    fi
   12784 	    ;;
   12785 	  *)
   12786 	    case `$CC -V 2>&1 | sed 5q` in
   12787 	    *Sun\ C*)
   12788 	      # Sun C++ 5.9
   12789 	      no_undefined_flag_CXX=' -zdefs'
   12790 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12791 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12792 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   12793 	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   12794 	      compiler_needs_object_CXX=yes
   12795 
   12796 	      # Not sure whether something based on
   12797 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12798 	      # would be better.
   12799 	      output_verbose_link_cmd='func_echo_all'
   12800 
   12801 	      # Archives containing C++ object files must be created using
   12802 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12803 	      # necessary to make sure instantiated templates are included
   12804 	      # in the archive.
   12805 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12806 	      ;;
   12807 	    esac
   12808 	    ;;
   12809 	esac
   12810 	;;
   12811 
   12812       lynxos*)
   12813         # FIXME: insert proper C++ library support
   12814 	ld_shlibs_CXX=no
   12815 	;;
   12816 
   12817       m88k*)
   12818         # FIXME: insert proper C++ library support
   12819         ld_shlibs_CXX=no
   12820 	;;
   12821 
   12822       mvs*)
   12823         case $cc_basename in
   12824           cxx*)
   12825 	    # FIXME: insert proper C++ library support
   12826 	    ld_shlibs_CXX=no
   12827 	    ;;
   12828 	  *)
   12829 	    # FIXME: insert proper C++ library support
   12830 	    ld_shlibs_CXX=no
   12831 	    ;;
   12832 	esac
   12833 	;;
   12834 
   12835       netbsd*)
   12836         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12837 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12838 	  wlarc=
   12839 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12840 	  hardcode_direct_CXX=yes
   12841 	  hardcode_shlibpath_var_CXX=no
   12842 	fi
   12843 	# Workaround some broken pre-1.5 toolchains
   12844 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12845 	;;
   12846 
   12847       *nto* | *qnx*)
   12848         ld_shlibs_CXX=yes
   12849 	;;
   12850 
   12851       openbsd2*)
   12852         # C++ shared libraries are fairly broken
   12853 	ld_shlibs_CXX=no
   12854 	;;
   12855 
   12856       openbsd*)
   12857 	if test -f /usr/libexec/ld.so; then
   12858 	  hardcode_direct_CXX=yes
   12859 	  hardcode_shlibpath_var_CXX=no
   12860 	  hardcode_direct_absolute_CXX=yes
   12861 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12862 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12863 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12864 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12865 	    export_dynamic_flag_spec_CXX='${wl}-E'
   12866 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12867 	  fi
   12868 	  output_verbose_link_cmd=func_echo_all
   12869 	else
   12870 	  ld_shlibs_CXX=no
   12871 	fi
   12872 	;;
   12873 
   12874       osf3* | osf4* | osf5*)
   12875         case $cc_basename in
   12876           KCC*)
   12877 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12878 
   12879 	    # KCC will only create a shared library if the output file
   12880 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12881 	    # to its proper name (with version) after linking.
   12882 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   12883 
   12884 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12885 	    hardcode_libdir_separator_CXX=:
   12886 
   12887 	    # Archives containing C++ object files must be created using
   12888 	    # the KAI C++ compiler.
   12889 	    case $host in
   12890 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   12891 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   12892 	    esac
   12893 	    ;;
   12894           RCC*)
   12895 	    # Rational C++ 2.4.1
   12896 	    # FIXME: insert proper C++ library support
   12897 	    ld_shlibs_CXX=no
   12898 	    ;;
   12899           cxx*)
   12900 	    case $host in
   12901 	      osf3*)
   12902 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12903 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   12904 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12905 		;;
   12906 	      *)
   12907 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   12908 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   12909 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12910 	          echo "-hidden">> $lib.exp~
   12911 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
   12912 	          $RM $lib.exp'
   12913 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12914 		;;
   12915 	    esac
   12916 
   12917 	    hardcode_libdir_separator_CXX=:
   12918 
   12919 	    # Commands to make compiler produce verbose output that lists
   12920 	    # what "hidden" libraries, object files and flags are used when
   12921 	    # linking a shared library.
   12922 	    #
   12923 	    # There doesn't appear to be a way to prevent this compiler from
   12924 	    # explicitly linking system object files so we need to strip them
   12925 	    # from the output so that they don't get included in the library
   12926 	    # dependencies.
   12927 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   12928 	    ;;
   12929 	  *)
   12930 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12931 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12932 	      case $host in
   12933 	        osf3*)
   12934 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12935 		  ;;
   12936 	        *)
   12937 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   12938 		  ;;
   12939 	      esac
   12940 
   12941 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12942 	      hardcode_libdir_separator_CXX=:
   12943 
   12944 	      # Commands to make compiler produce verbose output that lists
   12945 	      # what "hidden" libraries, object files and flags are used when
   12946 	      # linking a shared library.
   12947 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12948 
   12949 	    else
   12950 	      # FIXME: insert proper C++ library support
   12951 	      ld_shlibs_CXX=no
   12952 	    fi
   12953 	    ;;
   12954         esac
   12955         ;;
   12956 
   12957       psos*)
   12958         # FIXME: insert proper C++ library support
   12959         ld_shlibs_CXX=no
   12960         ;;
   12961 
   12962       sunos4*)
   12963         case $cc_basename in
   12964           CC*)
   12965 	    # Sun C++ 4.x
   12966 	    # FIXME: insert proper C++ library support
   12967 	    ld_shlibs_CXX=no
   12968 	    ;;
   12969           lcc*)
   12970 	    # Lucid
   12971 	    # FIXME: insert proper C++ library support
   12972 	    ld_shlibs_CXX=no
   12973 	    ;;
   12974           *)
   12975 	    # FIXME: insert proper C++ library support
   12976 	    ld_shlibs_CXX=no
   12977 	    ;;
   12978         esac
   12979         ;;
   12980 
   12981       solaris*)
   12982         case $cc_basename in
   12983           CC* | sunCC*)
   12984 	    # Sun C++ 4.2, 5.x and Centerline C++
   12985             archive_cmds_need_lc_CXX=yes
   12986 	    no_undefined_flag_CXX=' -zdefs'
   12987 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12988 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   12989 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   12990 
   12991 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   12992 	    hardcode_shlibpath_var_CXX=no
   12993 	    case $host_os in
   12994 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   12995 	      *)
   12996 		# The compiler driver will combine and reorder linker options,
   12997 		# but understands `-z linker_flag'.
   12998 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   12999 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13000 	        ;;
   13001 	    esac
   13002 	    link_all_deplibs_CXX=yes
   13003 
   13004 	    output_verbose_link_cmd='func_echo_all'
   13005 
   13006 	    # Archives containing C++ object files must be created using
   13007 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13008 	    # necessary to make sure instantiated templates are included
   13009 	    # in the archive.
   13010 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13011 	    ;;
   13012           gcx*)
   13013 	    # Green Hills C++ Compiler
   13014 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13015 
   13016 	    # The C++ compiler must be used to create the archive.
   13017 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13018 	    ;;
   13019           *)
   13020 	    # GNU C++ compiler with Solaris linker
   13021 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13022 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13023 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13024 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13025 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13026 		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13027 
   13028 	        # Commands to make compiler produce verbose output that lists
   13029 	        # what "hidden" libraries, object files and flags are used when
   13030 	        # linking a shared library.
   13031 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13032 	      else
   13033 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13034 	        # platform.
   13035 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13036 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13037 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13038 
   13039 	        # Commands to make compiler produce verbose output that lists
   13040 	        # what "hidden" libraries, object files and flags are used when
   13041 	        # linking a shared library.
   13042 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13043 	      fi
   13044 
   13045 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13046 	      case $host_os in
   13047 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13048 		*)
   13049 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13050 		  ;;
   13051 	      esac
   13052 	    fi
   13053 	    ;;
   13054         esac
   13055         ;;
   13056 
   13057     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13058       no_undefined_flag_CXX='${wl}-z,text'
   13059       archive_cmds_need_lc_CXX=no
   13060       hardcode_shlibpath_var_CXX=no
   13061       runpath_var='LD_RUN_PATH'
   13062 
   13063       case $cc_basename in
   13064         CC*)
   13065 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13066 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13067 	  ;;
   13068 	*)
   13069 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13070 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13071 	  ;;
   13072       esac
   13073       ;;
   13074 
   13075       sysv5* | sco3.2v5* | sco5v6*)
   13076 	# Note: We can NOT use -z defs as we might desire, because we do not
   13077 	# link with -lc, and that would cause any symbols used from libc to
   13078 	# always be unresolved, which means just about no library would
   13079 	# ever link correctly.  If we're not using GNU ld we use -z text
   13080 	# though, which does catch some bad symbols but isn't as heavy-handed
   13081 	# as -z defs.
   13082 	no_undefined_flag_CXX='${wl}-z,text'
   13083 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13084 	archive_cmds_need_lc_CXX=no
   13085 	hardcode_shlibpath_var_CXX=no
   13086 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13087 	hardcode_libdir_separator_CXX=':'
   13088 	link_all_deplibs_CXX=yes
   13089 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13090 	runpath_var='LD_RUN_PATH'
   13091 
   13092 	case $cc_basename in
   13093           CC*)
   13094 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13095 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13096 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13097 	      '"$old_archive_cmds_CXX"
   13098 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13099 	      '"$reload_cmds_CXX"
   13100 	    ;;
   13101 	  *)
   13102 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13103 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13104 	    ;;
   13105 	esac
   13106       ;;
   13107 
   13108       tandem*)
   13109         case $cc_basename in
   13110           NCC*)
   13111 	    # NonStop-UX NCC 3.20
   13112 	    # FIXME: insert proper C++ library support
   13113 	    ld_shlibs_CXX=no
   13114 	    ;;
   13115           *)
   13116 	    # FIXME: insert proper C++ library support
   13117 	    ld_shlibs_CXX=no
   13118 	    ;;
   13119         esac
   13120         ;;
   13121 
   13122       vxworks*)
   13123         # FIXME: insert proper C++ library support
   13124         ld_shlibs_CXX=no
   13125         ;;
   13126 
   13127       *)
   13128         # FIXME: insert proper C++ library support
   13129         ld_shlibs_CXX=no
   13130         ;;
   13131     esac
   13132 
   13133     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13134 $as_echo "$ld_shlibs_CXX" >&6; }
   13135     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13136 
   13137     GCC_CXX="$GXX"
   13138     LD_CXX="$LD"
   13139 
   13140     ## CAVEAT EMPTOR:
   13141     ## There is no encapsulation within the following macros, do not change
   13142     ## the running order or otherwise move them around unless you know exactly
   13143     ## what you are doing...
   13144     # Dependencies to place before and after the object being linked:
   13145 predep_objects_CXX=
   13146 postdep_objects_CXX=
   13147 predeps_CXX=
   13148 postdeps_CXX=
   13149 compiler_lib_search_path_CXX=
   13150 
   13151 cat > conftest.$ac_ext <<_LT_EOF
   13152 class Foo
   13153 {
   13154 public:
   13155   Foo (void) { a = 0; }
   13156 private:
   13157   int a;
   13158 };
   13159 _LT_EOF
   13160 
   13161 
   13162 _lt_libdeps_save_CFLAGS=$CFLAGS
   13163 case "$CC $CFLAGS " in #(
   13164 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
   13165 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
   13166 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
   13167 esac
   13168 
   13169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13170   (eval $ac_compile) 2>&5
   13171   ac_status=$?
   13172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13173   test $ac_status = 0; }; then
   13174   # Parse the compiler output and extract the necessary
   13175   # objects, libraries and library flags.
   13176 
   13177   # Sentinel used to keep track of whether or not we are before
   13178   # the conftest object file.
   13179   pre_test_object_deps_done=no
   13180 
   13181   for p in `eval "$output_verbose_link_cmd"`; do
   13182     case ${prev}${p} in
   13183 
   13184     -L* | -R* | -l*)
   13185        # Some compilers place space between "-{L,R}" and the path.
   13186        # Remove the space.
   13187        if test $p = "-L" ||
   13188           test $p = "-R"; then
   13189 	 prev=$p
   13190 	 continue
   13191        fi
   13192 
   13193        # Expand the sysroot to ease extracting the directories later.
   13194        if test -z "$prev"; then
   13195          case $p in
   13196          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
   13197          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
   13198          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
   13199          esac
   13200        fi
   13201        case $p in
   13202        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
   13203        esac
   13204        if test "$pre_test_object_deps_done" = no; then
   13205 	 case ${prev} in
   13206 	 -L | -R)
   13207 	   # Internal compiler library paths should come after those
   13208 	   # provided the user.  The postdeps already come after the
   13209 	   # user supplied libs so there is no need to process them.
   13210 	   if test -z "$compiler_lib_search_path_CXX"; then
   13211 	     compiler_lib_search_path_CXX="${prev}${p}"
   13212 	   else
   13213 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13214 	   fi
   13215 	   ;;
   13216 	 # The "-l" case would never come before the object being
   13217 	 # linked, so don't bother handling this case.
   13218 	 esac
   13219        else
   13220 	 if test -z "$postdeps_CXX"; then
   13221 	   postdeps_CXX="${prev}${p}"
   13222 	 else
   13223 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   13224 	 fi
   13225        fi
   13226        prev=
   13227        ;;
   13228 
   13229     *.lto.$objext) ;; # Ignore GCC LTO objects
   13230     *.$objext)
   13231        # This assumes that the test object file only shows up
   13232        # once in the compiler output.
   13233        if test "$p" = "conftest.$objext"; then
   13234 	 pre_test_object_deps_done=yes
   13235 	 continue
   13236        fi
   13237 
   13238        if test "$pre_test_object_deps_done" = no; then
   13239 	 if test -z "$predep_objects_CXX"; then
   13240 	   predep_objects_CXX="$p"
   13241 	 else
   13242 	   predep_objects_CXX="$predep_objects_CXX $p"
   13243 	 fi
   13244        else
   13245 	 if test -z "$postdep_objects_CXX"; then
   13246 	   postdep_objects_CXX="$p"
   13247 	 else
   13248 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   13249 	 fi
   13250        fi
   13251        ;;
   13252 
   13253     *) ;; # Ignore the rest.
   13254 
   13255     esac
   13256   done
   13257 
   13258   # Clean up.
   13259   rm -f a.out a.exe
   13260 else
   13261   echo "libtool.m4: error: problem compiling CXX test program"
   13262 fi
   13263 
   13264 $RM -f confest.$objext
   13265 CFLAGS=$_lt_libdeps_save_CFLAGS
   13266 
   13267 # PORTME: override above test on systems where it is broken
   13268 case $host_os in
   13269 interix[3-9]*)
   13270   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   13271   # hack all around it, let's just trust "g++" to DTRT.
   13272   predep_objects_CXX=
   13273   postdep_objects_CXX=
   13274   postdeps_CXX=
   13275   ;;
   13276 
   13277 linux*)
   13278   case `$CC -V 2>&1 | sed 5q` in
   13279   *Sun\ C*)
   13280     # Sun C++ 5.9
   13281 
   13282     # The more standards-conforming stlport4 library is
   13283     # incompatible with the Cstd library. Avoid specifying
   13284     # it if it's in CXXFLAGS. Ignore libCrun as
   13285     # -library=stlport4 depends on it.
   13286     case " $CXX $CXXFLAGS " in
   13287     *" -library=stlport4 "*)
   13288       solaris_use_stlport4=yes
   13289       ;;
   13290     esac
   13291 
   13292     if test "$solaris_use_stlport4" != yes; then
   13293       postdeps_CXX='-library=Cstd -library=Crun'
   13294     fi
   13295     ;;
   13296   esac
   13297   ;;
   13298 
   13299 solaris*)
   13300   case $cc_basename in
   13301   CC* | sunCC*)
   13302     # The more standards-conforming stlport4 library is
   13303     # incompatible with the Cstd library. Avoid specifying
   13304     # it if it's in CXXFLAGS. Ignore libCrun as
   13305     # -library=stlport4 depends on it.
   13306     case " $CXX $CXXFLAGS " in
   13307     *" -library=stlport4 "*)
   13308       solaris_use_stlport4=yes
   13309       ;;
   13310     esac
   13311 
   13312     # Adding this requires a known-good setup of shared libraries for
   13313     # Sun compiler versions before 5.6, else PIC objects from an old
   13314     # archive will be linked into the output, leading to subtle bugs.
   13315     if test "$solaris_use_stlport4" != yes; then
   13316       postdeps_CXX='-library=Cstd -library=Crun'
   13317     fi
   13318     ;;
   13319   esac
   13320   ;;
   13321 esac
   13322 
   13323 
   13324 case " $postdeps_CXX " in
   13325 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   13326 esac
   13327  compiler_lib_search_dirs_CXX=
   13328 if test -n "${compiler_lib_search_path_CXX}"; then
   13329  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   13330 fi
   13331 
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362     lt_prog_compiler_wl_CXX=
   13363 lt_prog_compiler_pic_CXX=
   13364 lt_prog_compiler_static_CXX=
   13365 
   13366 
   13367   # C++ specific cases for pic, static, wl, etc.
   13368   if test "$GXX" = yes; then
   13369     lt_prog_compiler_wl_CXX='-Wl,'
   13370     lt_prog_compiler_static_CXX='-static'
   13371 
   13372     case $host_os in
   13373     aix*)
   13374       # All AIX code is PIC.
   13375       if test "$host_cpu" = ia64; then
   13376 	# AIX 5 now supports IA64 processor
   13377 	lt_prog_compiler_static_CXX='-Bstatic'
   13378       fi
   13379       ;;
   13380 
   13381     amigaos*)
   13382       case $host_cpu in
   13383       powerpc)
   13384             # see comment about AmigaOS4 .so support
   13385             lt_prog_compiler_pic_CXX='-fPIC'
   13386         ;;
   13387       m68k)
   13388             # FIXME: we need at least 68020 code to build shared libraries, but
   13389             # adding the `-m68020' flag to GCC prevents building anything better,
   13390             # like `-m68040'.
   13391             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   13392         ;;
   13393       esac
   13394       ;;
   13395 
   13396     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13397       # PIC is the default for these OSes.
   13398       ;;
   13399     mingw* | cygwin* | os2* | pw32* | cegcc*)
   13400       # This hack is so that the source file can tell whether it is being
   13401       # built for inclusion in a dll (and should export symbols for example).
   13402       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13403       # (--disable-auto-import) libraries
   13404       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   13405       ;;
   13406     darwin* | rhapsody*)
   13407       # PIC is the default on this platform
   13408       # Common symbols not allowed in MH_DYLIB files
   13409       lt_prog_compiler_pic_CXX='-fno-common'
   13410       ;;
   13411     *djgpp*)
   13412       # DJGPP does not support shared libraries at all
   13413       lt_prog_compiler_pic_CXX=
   13414       ;;
   13415     haiku*)
   13416       # PIC is the default for Haiku.
   13417       # The "-static" flag exists, but is broken.
   13418       lt_prog_compiler_static_CXX=
   13419       ;;
   13420     interix[3-9]*)
   13421       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13422       # Instead, we relocate shared libraries at runtime.
   13423       ;;
   13424     sysv4*MP*)
   13425       if test -d /usr/nec; then
   13426 	lt_prog_compiler_pic_CXX=-Kconform_pic
   13427       fi
   13428       ;;
   13429     hpux*)
   13430       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13431       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13432       # sets the default TLS model and affects inlining.
   13433       case $host_cpu in
   13434       hppa*64*)
   13435 	;;
   13436       *)
   13437 	lt_prog_compiler_pic_CXX='-fPIC'
   13438 	;;
   13439       esac
   13440       ;;
   13441     *qnx* | *nto*)
   13442       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13443       # it will coredump.
   13444       lt_prog_compiler_pic_CXX='-fPIC -shared'
   13445       ;;
   13446     *)
   13447       lt_prog_compiler_pic_CXX='-fPIC'
   13448       ;;
   13449     esac
   13450   else
   13451     case $host_os in
   13452       aix[4-9]*)
   13453 	# All AIX code is PIC.
   13454 	if test "$host_cpu" = ia64; then
   13455 	  # AIX 5 now supports IA64 processor
   13456 	  lt_prog_compiler_static_CXX='-Bstatic'
   13457 	else
   13458 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   13459 	fi
   13460 	;;
   13461       chorus*)
   13462 	case $cc_basename in
   13463 	cxch68*)
   13464 	  # Green Hills C++ Compiler
   13465 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   13466 	  ;;
   13467 	esac
   13468 	;;
   13469       mingw* | cygwin* | os2* | pw32* | cegcc*)
   13470 	# This hack is so that the source file can tell whether it is being
   13471 	# built for inclusion in a dll (and should export symbols for example).
   13472 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   13473 	;;
   13474       dgux*)
   13475 	case $cc_basename in
   13476 	  ec++*)
   13477 	    lt_prog_compiler_pic_CXX='-KPIC'
   13478 	    ;;
   13479 	  ghcx*)
   13480 	    # Green Hills C++ Compiler
   13481 	    lt_prog_compiler_pic_CXX='-pic'
   13482 	    ;;
   13483 	  *)
   13484 	    ;;
   13485 	esac
   13486 	;;
   13487       freebsd* | dragonfly*)
   13488 	# FreeBSD uses GNU C++
   13489 	;;
   13490       hpux9* | hpux10* | hpux11*)
   13491 	case $cc_basename in
   13492 	  CC*)
   13493 	    lt_prog_compiler_wl_CXX='-Wl,'
   13494 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   13495 	    if test "$host_cpu" != ia64; then
   13496 	      lt_prog_compiler_pic_CXX='+Z'
   13497 	    fi
   13498 	    ;;
   13499 	  aCC*)
   13500 	    lt_prog_compiler_wl_CXX='-Wl,'
   13501 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   13502 	    case $host_cpu in
   13503 	    hppa*64*|ia64*)
   13504 	      # +Z the default
   13505 	      ;;
   13506 	    *)
   13507 	      lt_prog_compiler_pic_CXX='+Z'
   13508 	      ;;
   13509 	    esac
   13510 	    ;;
   13511 	  *)
   13512 	    ;;
   13513 	esac
   13514 	;;
   13515       interix*)
   13516 	# This is c89, which is MS Visual C++ (no shared libs)
   13517 	# Anyone wants to do a port?
   13518 	;;
   13519       irix5* | irix6* | nonstopux*)
   13520 	case $cc_basename in
   13521 	  CC*)
   13522 	    lt_prog_compiler_wl_CXX='-Wl,'
   13523 	    lt_prog_compiler_static_CXX='-non_shared'
   13524 	    # CC pic flag -KPIC is the default.
   13525 	    ;;
   13526 	  *)
   13527 	    ;;
   13528 	esac
   13529 	;;
   13530       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13531 	case $cc_basename in
   13532 	  KCC*)
   13533 	    # KAI C++ Compiler
   13534 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13535 	    lt_prog_compiler_pic_CXX='-fPIC'
   13536 	    ;;
   13537 	  ecpc* )
   13538 	    # old Intel C++ for x86_64 which still supported -KPIC.
   13539 	    lt_prog_compiler_wl_CXX='-Wl,'
   13540 	    lt_prog_compiler_pic_CXX='-KPIC'
   13541 	    lt_prog_compiler_static_CXX='-static'
   13542 	    ;;
   13543 	  icpc* )
   13544 	    # Intel C++, used to be incompatible with GCC.
   13545 	    # ICC 10 doesn't accept -KPIC any more.
   13546 	    lt_prog_compiler_wl_CXX='-Wl,'
   13547 	    lt_prog_compiler_pic_CXX='-fPIC'
   13548 	    lt_prog_compiler_static_CXX='-static'
   13549 	    ;;
   13550 	  pgCC* | pgcpp*)
   13551 	    # Portland Group C++ compiler
   13552 	    lt_prog_compiler_wl_CXX='-Wl,'
   13553 	    lt_prog_compiler_pic_CXX='-fpic'
   13554 	    lt_prog_compiler_static_CXX='-Bstatic'
   13555 	    ;;
   13556 	  cxx*)
   13557 	    # Compaq C++
   13558 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13559 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13560 	    lt_prog_compiler_pic_CXX=
   13561 	    lt_prog_compiler_static_CXX='-non_shared'
   13562 	    ;;
   13563 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   13564 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   13565 	    lt_prog_compiler_wl_CXX='-Wl,'
   13566 	    lt_prog_compiler_pic_CXX='-qpic'
   13567 	    lt_prog_compiler_static_CXX='-qstaticlink'
   13568 	    ;;
   13569 	  *)
   13570 	    case `$CC -V 2>&1 | sed 5q` in
   13571 	    *Sun\ C*)
   13572 	      # Sun C++ 5.9
   13573 	      lt_prog_compiler_pic_CXX='-KPIC'
   13574 	      lt_prog_compiler_static_CXX='-Bstatic'
   13575 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   13576 	      ;;
   13577 	    esac
   13578 	    ;;
   13579 	esac
   13580 	;;
   13581       lynxos*)
   13582 	;;
   13583       m88k*)
   13584 	;;
   13585       mvs*)
   13586 	case $cc_basename in
   13587 	  cxx*)
   13588 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   13589 	    ;;
   13590 	  *)
   13591 	    ;;
   13592 	esac
   13593 	;;
   13594       netbsd* | netbsdelf*-gnu)
   13595 	;;
   13596       *qnx* | *nto*)
   13597         # QNX uses GNU C++, but need to define -shared option too, otherwise
   13598         # it will coredump.
   13599         lt_prog_compiler_pic_CXX='-fPIC -shared'
   13600         ;;
   13601       osf3* | osf4* | osf5*)
   13602 	case $cc_basename in
   13603 	  KCC*)
   13604 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13605 	    ;;
   13606 	  RCC*)
   13607 	    # Rational C++ 2.4.1
   13608 	    lt_prog_compiler_pic_CXX='-pic'
   13609 	    ;;
   13610 	  cxx*)
   13611 	    # Digital/Compaq C++
   13612 	    lt_prog_compiler_wl_CXX='-Wl,'
   13613 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13614 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13615 	    lt_prog_compiler_pic_CXX=
   13616 	    lt_prog_compiler_static_CXX='-non_shared'
   13617 	    ;;
   13618 	  *)
   13619 	    ;;
   13620 	esac
   13621 	;;
   13622       psos*)
   13623 	;;
   13624       solaris*)
   13625 	case $cc_basename in
   13626 	  CC* | sunCC*)
   13627 	    # Sun C++ 4.2, 5.x and Centerline C++
   13628 	    lt_prog_compiler_pic_CXX='-KPIC'
   13629 	    lt_prog_compiler_static_CXX='-Bstatic'
   13630 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   13631 	    ;;
   13632 	  gcx*)
   13633 	    # Green Hills C++ Compiler
   13634 	    lt_prog_compiler_pic_CXX='-PIC'
   13635 	    ;;
   13636 	  *)
   13637 	    ;;
   13638 	esac
   13639 	;;
   13640       sunos4*)
   13641 	case $cc_basename in
   13642 	  CC*)
   13643 	    # Sun C++ 4.x
   13644 	    lt_prog_compiler_pic_CXX='-pic'
   13645 	    lt_prog_compiler_static_CXX='-Bstatic'
   13646 	    ;;
   13647 	  lcc*)
   13648 	    # Lucid
   13649 	    lt_prog_compiler_pic_CXX='-pic'
   13650 	    ;;
   13651 	  *)
   13652 	    ;;
   13653 	esac
   13654 	;;
   13655       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13656 	case $cc_basename in
   13657 	  CC*)
   13658 	    lt_prog_compiler_wl_CXX='-Wl,'
   13659 	    lt_prog_compiler_pic_CXX='-KPIC'
   13660 	    lt_prog_compiler_static_CXX='-Bstatic'
   13661 	    ;;
   13662 	esac
   13663 	;;
   13664       tandem*)
   13665 	case $cc_basename in
   13666 	  NCC*)
   13667 	    # NonStop-UX NCC 3.20
   13668 	    lt_prog_compiler_pic_CXX='-KPIC'
   13669 	    ;;
   13670 	  *)
   13671 	    ;;
   13672 	esac
   13673 	;;
   13674       vxworks*)
   13675 	;;
   13676       *)
   13677 	lt_prog_compiler_can_build_shared_CXX=no
   13678 	;;
   13679     esac
   13680   fi
   13681 
   13682 case $host_os in
   13683   # For platforms which do not support PIC, -DPIC is meaningless:
   13684   *djgpp*)
   13685     lt_prog_compiler_pic_CXX=
   13686     ;;
   13687   *)
   13688     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13689     ;;
   13690 esac
   13691 
   13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13693 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13694 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
   13695   $as_echo_n "(cached) " >&6
   13696 else
   13697   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
   13698 fi
   13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
   13700 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
   13701 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
   13702 
   13703 #
   13704 # Check to make sure the PIC flag actually works.
   13705 #
   13706 if test -n "$lt_prog_compiler_pic_CXX"; then
   13707   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   13708 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   13709 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   13710   $as_echo_n "(cached) " >&6
   13711 else
   13712   lt_cv_prog_compiler_pic_works_CXX=no
   13713    ac_outfile=conftest.$ac_objext
   13714    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13715    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   13716    # Insert the option either (1) after the last *FLAGS variable, or
   13717    # (2) before a word containing "conftest.", or (3) at the end.
   13718    # Note that $ac_compile itself does not contain backslashes and begins
   13719    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13720    # The option is referenced via a variable to avoid confusing sed.
   13721    lt_compile=`echo "$ac_compile" | $SED \
   13722    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13723    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13724    -e 's:$: $lt_compiler_flag:'`
   13725    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13726    (eval "$lt_compile" 2>conftest.err)
   13727    ac_status=$?
   13728    cat conftest.err >&5
   13729    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13730    if (exit $ac_status) && test -s "$ac_outfile"; then
   13731      # The compiler can only warn and ignore the option if not recognized
   13732      # So say no if there are warnings other than the usual output.
   13733      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13734      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13735      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13736        lt_cv_prog_compiler_pic_works_CXX=yes
   13737      fi
   13738    fi
   13739    $RM conftest*
   13740 
   13741 fi
   13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13743 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13744 
   13745 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13746     case $lt_prog_compiler_pic_CXX in
   13747      "" | " "*) ;;
   13748      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13749      esac
   13750 else
   13751     lt_prog_compiler_pic_CXX=
   13752      lt_prog_compiler_can_build_shared_CXX=no
   13753 fi
   13754 
   13755 fi
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 #
   13762 # Check to make sure the static flag actually works.
   13763 #
   13764 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13766 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13767 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   13768   $as_echo_n "(cached) " >&6
   13769 else
   13770   lt_cv_prog_compiler_static_works_CXX=no
   13771    save_LDFLAGS="$LDFLAGS"
   13772    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13773    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13774    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13775      # The linker can only warn and ignore the option if not recognized
   13776      # So say no if there are warnings
   13777      if test -s conftest.err; then
   13778        # Append any errors to the config.log.
   13779        cat conftest.err 1>&5
   13780        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13781        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13782        if diff conftest.exp conftest.er2 >/dev/null; then
   13783          lt_cv_prog_compiler_static_works_CXX=yes
   13784        fi
   13785      else
   13786        lt_cv_prog_compiler_static_works_CXX=yes
   13787      fi
   13788    fi
   13789    $RM -r conftest*
   13790    LDFLAGS="$save_LDFLAGS"
   13791 
   13792 fi
   13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13794 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13795 
   13796 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13797     :
   13798 else
   13799     lt_prog_compiler_static_CXX=
   13800 fi
   13801 
   13802 
   13803 
   13804 
   13805     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13806 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13807 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   13808   $as_echo_n "(cached) " >&6
   13809 else
   13810   lt_cv_prog_compiler_c_o_CXX=no
   13811    $RM -r conftest 2>/dev/null
   13812    mkdir conftest
   13813    cd conftest
   13814    mkdir out
   13815    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13816 
   13817    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13818    # Insert the option either (1) after the last *FLAGS variable, or
   13819    # (2) before a word containing "conftest.", or (3) at the end.
   13820    # Note that $ac_compile itself does not contain backslashes and begins
   13821    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13822    lt_compile=`echo "$ac_compile" | $SED \
   13823    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13824    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13825    -e 's:$: $lt_compiler_flag:'`
   13826    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13827    (eval "$lt_compile" 2>out/conftest.err)
   13828    ac_status=$?
   13829    cat out/conftest.err >&5
   13830    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13831    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13832    then
   13833      # The compiler can only warn and ignore the option if not recognized
   13834      # So say no if there are warnings
   13835      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13836      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13837      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13838        lt_cv_prog_compiler_c_o_CXX=yes
   13839      fi
   13840    fi
   13841    chmod u+w . 2>&5
   13842    $RM conftest*
   13843    # SGI C++ compiler will create directory out/ii_files/ for
   13844    # template instantiation
   13845    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13846    $RM out/* && rmdir out
   13847    cd ..
   13848    $RM -r conftest
   13849    $RM conftest*
   13850 
   13851 fi
   13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13853 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13854 
   13855 
   13856 
   13857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13859 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   13860   $as_echo_n "(cached) " >&6
   13861 else
   13862   lt_cv_prog_compiler_c_o_CXX=no
   13863    $RM -r conftest 2>/dev/null
   13864    mkdir conftest
   13865    cd conftest
   13866    mkdir out
   13867    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13868 
   13869    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13870    # Insert the option either (1) after the last *FLAGS variable, or
   13871    # (2) before a word containing "conftest.", or (3) at the end.
   13872    # Note that $ac_compile itself does not contain backslashes and begins
   13873    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13874    lt_compile=`echo "$ac_compile" | $SED \
   13875    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13876    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13877    -e 's:$: $lt_compiler_flag:'`
   13878    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13879    (eval "$lt_compile" 2>out/conftest.err)
   13880    ac_status=$?
   13881    cat out/conftest.err >&5
   13882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13883    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13884    then
   13885      # The compiler can only warn and ignore the option if not recognized
   13886      # So say no if there are warnings
   13887      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13888      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13889      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13890        lt_cv_prog_compiler_c_o_CXX=yes
   13891      fi
   13892    fi
   13893    chmod u+w . 2>&5
   13894    $RM conftest*
   13895    # SGI C++ compiler will create directory out/ii_files/ for
   13896    # template instantiation
   13897    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13898    $RM out/* && rmdir out
   13899    cd ..
   13900    $RM -r conftest
   13901    $RM conftest*
   13902 
   13903 fi
   13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13905 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13906 
   13907 
   13908 
   13909 
   13910 hard_links="nottested"
   13911 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13912   # do not overwrite the value of need_locks provided by the user
   13913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13914 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13915   hard_links=yes
   13916   $RM conftest*
   13917   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13918   touch conftest.a
   13919   ln conftest.a conftest.b 2>&5 || hard_links=no
   13920   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13922 $as_echo "$hard_links" >&6; }
   13923   if test "$hard_links" = no; then
   13924     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13925 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13926     need_locks=warn
   13927   fi
   13928 else
   13929   need_locks=no
   13930 fi
   13931 
   13932 
   13933 
   13934     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13935 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13936 
   13937   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13938   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13939   case $host_os in
   13940   aix[4-9]*)
   13941     # If we're using GNU nm, then we don't want the "-C" option.
   13942     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13943     # Also, AIX nm treats weak defined symbols like other global defined
   13944     # symbols, whereas GNU nm marks them as "W".
   13945     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13946       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   13947     else
   13948       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   13949     fi
   13950     ;;
   13951   pw32*)
   13952     export_symbols_cmds_CXX="$ltdll_cmds"
   13953     ;;
   13954   cygwin* | mingw* | cegcc*)
   13955     case $cc_basename in
   13956     cl*)
   13957       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   13958       ;;
   13959     *)
   13960       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   13961       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   13962       ;;
   13963     esac
   13964     ;;
   13965   linux* | k*bsd*-gnu | gnu*)
   13966     link_all_deplibs_CXX=no
   13967     ;;
   13968   *)
   13969     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13970     ;;
   13971   esac
   13972 
   13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13974 $as_echo "$ld_shlibs_CXX" >&6; }
   13975 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13976 
   13977 with_gnu_ld_CXX=$with_gnu_ld
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 #
   13985 # Do we need to explicitly link libc?
   13986 #
   13987 case "x$archive_cmds_need_lc_CXX" in
   13988 x|xyes)
   13989   # Assume -lc should be added
   13990   archive_cmds_need_lc_CXX=yes
   13991 
   13992   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13993     case $archive_cmds_CXX in
   13994     *'~'*)
   13995       # FIXME: we may have to deal with multi-command sequences.
   13996       ;;
   13997     '$CC '*)
   13998       # Test whether the compiler implicitly links with -lc since on some
   13999       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14000       # to ld, don't add -lc before -lgcc.
   14001       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14002 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14003 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14004   $as_echo_n "(cached) " >&6
   14005 else
   14006   $RM conftest*
   14007 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14008 
   14009 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14010   (eval $ac_compile) 2>&5
   14011   ac_status=$?
   14012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14013   test $ac_status = 0; } 2>conftest.err; then
   14014 	  soname=conftest
   14015 	  lib=conftest
   14016 	  libobjs=conftest.$ac_objext
   14017 	  deplibs=
   14018 	  wl=$lt_prog_compiler_wl_CXX
   14019 	  pic_flag=$lt_prog_compiler_pic_CXX
   14020 	  compiler_flags=-v
   14021 	  linker_flags=-v
   14022 	  verstring=
   14023 	  output_objdir=.
   14024 	  libname=conftest
   14025 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14026 	  allow_undefined_flag_CXX=
   14027 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14028   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14029   ac_status=$?
   14030   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14031   test $ac_status = 0; }
   14032 	  then
   14033 	    lt_cv_archive_cmds_need_lc_CXX=no
   14034 	  else
   14035 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14036 	  fi
   14037 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14038 	else
   14039 	  cat conftest.err 1>&5
   14040 	fi
   14041 	$RM conftest*
   14042 
   14043 fi
   14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14045 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14046       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14047       ;;
   14048     esac
   14049   fi
   14050   ;;
   14051 esac
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14115 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14116 
   14117 library_names_spec=
   14118 libname_spec='lib$name'
   14119 soname_spec=
   14120 shrext_cmds=".so"
   14121 postinstall_cmds=
   14122 postuninstall_cmds=
   14123 finish_cmds=
   14124 finish_eval=
   14125 shlibpath_var=
   14126 shlibpath_overrides_runpath=unknown
   14127 version_type=none
   14128 dynamic_linker="$host_os ld.so"
   14129 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14130 need_lib_prefix=unknown
   14131 hardcode_into_libs=no
   14132 
   14133 # when you set need_version to no, make sure it does not cause -set_version
   14134 # flags to be left without arguments
   14135 need_version=unknown
   14136 
   14137 case $host_os in
   14138 aix3*)
   14139   version_type=linux # correct to gnu/linux during the next big refactor
   14140   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14141   shlibpath_var=LIBPATH
   14142 
   14143   # AIX 3 has no versioning support, so we append a major version to the name.
   14144   soname_spec='${libname}${release}${shared_ext}$major'
   14145   ;;
   14146 
   14147 aix[4-9]*)
   14148   version_type=linux # correct to gnu/linux during the next big refactor
   14149   need_lib_prefix=no
   14150   need_version=no
   14151   hardcode_into_libs=yes
   14152   if test "$host_cpu" = ia64; then
   14153     # AIX 5 supports IA64
   14154     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14155     shlibpath_var=LD_LIBRARY_PATH
   14156   else
   14157     # With GCC up to 2.95.x, collect2 would create an import file
   14158     # for dependence libraries.  The import file would start with
   14159     # the line `#! .'.  This would cause the generated library to
   14160     # depend on `.', always an invalid library.  This was fixed in
   14161     # development snapshots of GCC prior to 3.0.
   14162     case $host_os in
   14163       aix4 | aix4.[01] | aix4.[01].*)
   14164       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14165 	   echo ' yes '
   14166 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14167 	:
   14168       else
   14169 	can_build_shared=no
   14170       fi
   14171       ;;
   14172     esac
   14173     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14174     # soname into executable. Probably we can add versioning support to
   14175     # collect2, so additional links can be useful in future.
   14176     if test "$aix_use_runtimelinking" = yes; then
   14177       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14178       # instead of lib<name>.a to let people know that these are not
   14179       # typical AIX shared libraries.
   14180       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14181     else
   14182       # We preserve .a as extension for shared libraries through AIX4.2
   14183       # and later when we are not doing run time linking.
   14184       library_names_spec='${libname}${release}.a $libname.a'
   14185       soname_spec='${libname}${release}${shared_ext}$major'
   14186     fi
   14187     shlibpath_var=LIBPATH
   14188   fi
   14189   ;;
   14190 
   14191 amigaos*)
   14192   case $host_cpu in
   14193   powerpc)
   14194     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14195     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14196     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14197     ;;
   14198   m68k)
   14199     library_names_spec='$libname.ixlibrary $libname.a'
   14200     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14201     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
   14202     ;;
   14203   esac
   14204   ;;
   14205 
   14206 beos*)
   14207   library_names_spec='${libname}${shared_ext}'
   14208   dynamic_linker="$host_os ld.so"
   14209   shlibpath_var=LIBRARY_PATH
   14210   ;;
   14211 
   14212 bsdi[45]*)
   14213   version_type=linux # correct to gnu/linux during the next big refactor
   14214   need_version=no
   14215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14216   soname_spec='${libname}${release}${shared_ext}$major'
   14217   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14218   shlibpath_var=LD_LIBRARY_PATH
   14219   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14220   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14221   # the default ld.so.conf also contains /usr/contrib/lib and
   14222   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14223   # libtool to hard-code these into programs
   14224   ;;
   14225 
   14226 cygwin* | mingw* | pw32* | cegcc*)
   14227   version_type=windows
   14228   shrext_cmds=".dll"
   14229   need_version=no
   14230   need_lib_prefix=no
   14231 
   14232   case $GCC,$cc_basename in
   14233   yes,*)
   14234     # gcc
   14235     library_names_spec='$libname.dll.a'
   14236     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14237     postinstall_cmds='base_file=`basename \${file}`~
   14238       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14239       dldir=$destdir/`dirname \$dlpath`~
   14240       test -d \$dldir || mkdir -p \$dldir~
   14241       $install_prog $dir/$dlname \$dldir/$dlname~
   14242       chmod a+x \$dldir/$dlname~
   14243       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14244         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14245       fi'
   14246     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14247       dlpath=$dir/\$dldll~
   14248        $RM \$dlpath'
   14249     shlibpath_overrides_runpath=yes
   14250 
   14251     case $host_os in
   14252     cygwin*)
   14253       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14254       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14255 
   14256       ;;
   14257     mingw* | cegcc*)
   14258       # MinGW DLLs use traditional 'lib' prefix
   14259       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14260       ;;
   14261     pw32*)
   14262       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14263       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14264       ;;
   14265     esac
   14266     dynamic_linker='Win32 ld.exe'
   14267     ;;
   14268 
   14269   *,cl*)
   14270     # Native MSVC
   14271     libname_spec='$name'
   14272     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14273     library_names_spec='${libname}.dll.lib'
   14274 
   14275     case $build_os in
   14276     mingw*)
   14277       sys_lib_search_path_spec=
   14278       lt_save_ifs=$IFS
   14279       IFS=';'
   14280       for lt_path in $LIB
   14281       do
   14282         IFS=$lt_save_ifs
   14283         # Let DOS variable expansion print the short 8.3 style file name.
   14284         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   14285         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   14286       done
   14287       IFS=$lt_save_ifs
   14288       # Convert to MSYS style.
   14289       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   14290       ;;
   14291     cygwin*)
   14292       # Convert to unix form, then to dos form, then back to unix form
   14293       # but this time dos style (no spaces!) so that the unix form looks
   14294       # like /cygdrive/c/PROGRA~1:/cygdr...
   14295       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   14296       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   14297       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   14298       ;;
   14299     *)
   14300       sys_lib_search_path_spec="$LIB"
   14301       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   14302         # It is most probably a Windows format PATH.
   14303         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   14304       else
   14305         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   14306       fi
   14307       # FIXME: find the short name or the path components, as spaces are
   14308       # common. (e.g. "Program Files" -> "PROGRA~1")
   14309       ;;
   14310     esac
   14311 
   14312     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14313     postinstall_cmds='base_file=`basename \${file}`~
   14314       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14315       dldir=$destdir/`dirname \$dlpath`~
   14316       test -d \$dldir || mkdir -p \$dldir~
   14317       $install_prog $dir/$dlname \$dldir/$dlname'
   14318     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14319       dlpath=$dir/\$dldll~
   14320        $RM \$dlpath'
   14321     shlibpath_overrides_runpath=yes
   14322     dynamic_linker='Win32 link.exe'
   14323     ;;
   14324 
   14325   *)
   14326     # Assume MSVC wrapper
   14327     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14328     dynamic_linker='Win32 ld.exe'
   14329     ;;
   14330   esac
   14331   # FIXME: first we should search . and the directory the executable is in
   14332   shlibpath_var=PATH
   14333   ;;
   14334 
   14335 darwin* | rhapsody*)
   14336   dynamic_linker="$host_os dyld"
   14337   version_type=darwin
   14338   need_lib_prefix=no
   14339   need_version=no
   14340   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14341   soname_spec='${libname}${release}${major}$shared_ext'
   14342   shlibpath_overrides_runpath=yes
   14343   shlibpath_var=DYLD_LIBRARY_PATH
   14344   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14345 
   14346   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14347   ;;
   14348 
   14349 dgux*)
   14350   version_type=linux # correct to gnu/linux during the next big refactor
   14351   need_lib_prefix=no
   14352   need_version=no
   14353   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14354   soname_spec='${libname}${release}${shared_ext}$major'
   14355   shlibpath_var=LD_LIBRARY_PATH
   14356   ;;
   14357 
   14358 freebsd* | dragonfly*)
   14359   # DragonFly does not have aout.  When/if they implement a new
   14360   # versioning mechanism, adjust this.
   14361   if test -x /usr/bin/objformat; then
   14362     objformat=`/usr/bin/objformat`
   14363   else
   14364     case $host_os in
   14365     freebsd[23].*) objformat=aout ;;
   14366     *) objformat=elf ;;
   14367     esac
   14368   fi
   14369   version_type=freebsd-$objformat
   14370   case $version_type in
   14371     freebsd-elf*)
   14372       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14373       need_version=no
   14374       need_lib_prefix=no
   14375       ;;
   14376     freebsd-*)
   14377       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14378       need_version=yes
   14379       ;;
   14380   esac
   14381   shlibpath_var=LD_LIBRARY_PATH
   14382   case $host_os in
   14383   freebsd2.*)
   14384     shlibpath_overrides_runpath=yes
   14385     ;;
   14386   freebsd3.[01]* | freebsdelf3.[01]*)
   14387     shlibpath_overrides_runpath=yes
   14388     hardcode_into_libs=yes
   14389     ;;
   14390   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14391   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14392     shlibpath_overrides_runpath=no
   14393     hardcode_into_libs=yes
   14394     ;;
   14395   *) # from 4.6 on, and DragonFly
   14396     shlibpath_overrides_runpath=yes
   14397     hardcode_into_libs=yes
   14398     ;;
   14399   esac
   14400   ;;
   14401 
   14402 gnu*)
   14403   version_type=linux # correct to gnu/linux during the next big refactor
   14404   need_lib_prefix=no
   14405   need_version=no
   14406   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14407   soname_spec='${libname}${release}${shared_ext}$major'
   14408   shlibpath_var=LD_LIBRARY_PATH
   14409   shlibpath_overrides_runpath=no
   14410   hardcode_into_libs=yes
   14411   ;;
   14412 
   14413 haiku*)
   14414   version_type=linux # correct to gnu/linux during the next big refactor
   14415   need_lib_prefix=no
   14416   need_version=no
   14417   dynamic_linker="$host_os runtime_loader"
   14418   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14419   soname_spec='${libname}${release}${shared_ext}$major'
   14420   shlibpath_var=LIBRARY_PATH
   14421   shlibpath_overrides_runpath=yes
   14422   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   14423   hardcode_into_libs=yes
   14424   ;;
   14425 
   14426 hpux9* | hpux10* | hpux11*)
   14427   # Give a soname corresponding to the major version so that dld.sl refuses to
   14428   # link against other versions.
   14429   version_type=sunos
   14430   need_lib_prefix=no
   14431   need_version=no
   14432   case $host_cpu in
   14433   ia64*)
   14434     shrext_cmds='.so'
   14435     hardcode_into_libs=yes
   14436     dynamic_linker="$host_os dld.so"
   14437     shlibpath_var=LD_LIBRARY_PATH
   14438     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14439     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14440     soname_spec='${libname}${release}${shared_ext}$major'
   14441     if test "X$HPUX_IA64_MODE" = X32; then
   14442       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14443     else
   14444       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14445     fi
   14446     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14447     ;;
   14448   hppa*64*)
   14449     shrext_cmds='.sl'
   14450     hardcode_into_libs=yes
   14451     dynamic_linker="$host_os dld.sl"
   14452     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14453     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14454     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14455     soname_spec='${libname}${release}${shared_ext}$major'
   14456     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14457     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14458     ;;
   14459   *)
   14460     shrext_cmds='.sl'
   14461     dynamic_linker="$host_os dld.sl"
   14462     shlibpath_var=SHLIB_PATH
   14463     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14465     soname_spec='${libname}${release}${shared_ext}$major'
   14466     ;;
   14467   esac
   14468   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   14469   postinstall_cmds='chmod 555 $lib'
   14470   # or fails outright, so override atomically:
   14471   install_override_mode=555
   14472   ;;
   14473 
   14474 interix[3-9]*)
   14475   version_type=linux # correct to gnu/linux during the next big refactor
   14476   need_lib_prefix=no
   14477   need_version=no
   14478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14479   soname_spec='${libname}${release}${shared_ext}$major'
   14480   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14481   shlibpath_var=LD_LIBRARY_PATH
   14482   shlibpath_overrides_runpath=no
   14483   hardcode_into_libs=yes
   14484   ;;
   14485 
   14486 irix5* | irix6* | nonstopux*)
   14487   case $host_os in
   14488     nonstopux*) version_type=nonstopux ;;
   14489     *)
   14490 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14491 		version_type=linux # correct to gnu/linux during the next big refactor
   14492 	else
   14493 		version_type=irix
   14494 	fi ;;
   14495   esac
   14496   need_lib_prefix=no
   14497   need_version=no
   14498   soname_spec='${libname}${release}${shared_ext}$major'
   14499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14500   case $host_os in
   14501   irix5* | nonstopux*)
   14502     libsuff= shlibsuff=
   14503     ;;
   14504   *)
   14505     case $LD in # libtool.m4 will add one of these switches to LD
   14506     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14507       libsuff= shlibsuff= libmagic=32-bit;;
   14508     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14509       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14510     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14511       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14512     *) libsuff= shlibsuff= libmagic=never-match;;
   14513     esac
   14514     ;;
   14515   esac
   14516   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14517   shlibpath_overrides_runpath=no
   14518   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14519   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14520   hardcode_into_libs=yes
   14521   ;;
   14522 
   14523 # No shared lib support for Linux oldld, aout, or coff.
   14524 linux*oldld* | linux*aout* | linux*coff*)
   14525   dynamic_linker=no
   14526   ;;
   14527 
   14528 # This must be glibc/ELF.
   14529 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14530   version_type=linux # correct to gnu/linux during the next big refactor
   14531   need_lib_prefix=no
   14532   need_version=no
   14533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14534   soname_spec='${libname}${release}${shared_ext}$major'
   14535   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14536   shlibpath_var=LD_LIBRARY_PATH
   14537   shlibpath_overrides_runpath=no
   14538 
   14539   # Some binutils ld are patched to set DT_RUNPATH
   14540   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   14541   $as_echo_n "(cached) " >&6
   14542 else
   14543   lt_cv_shlibpath_overrides_runpath=no
   14544     save_LDFLAGS=$LDFLAGS
   14545     save_libdir=$libdir
   14546     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   14547 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   14548     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14549 /* end confdefs.h.  */
   14550 
   14551 int
   14552 main ()
   14553 {
   14554 
   14555   ;
   14556   return 0;
   14557 }
   14558 _ACEOF
   14559 if ac_fn_cxx_try_link "$LINENO"; then :
   14560   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   14561   lt_cv_shlibpath_overrides_runpath=yes
   14562 fi
   14563 fi
   14564 rm -f core conftest.err conftest.$ac_objext \
   14565     conftest$ac_exeext conftest.$ac_ext
   14566     LDFLAGS=$save_LDFLAGS
   14567     libdir=$save_libdir
   14568 
   14569 fi
   14570 
   14571   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   14572 
   14573   # This implies no fast_install, which is unacceptable.
   14574   # Some rework will be needed to allow for fast_install
   14575   # before this can be enabled.
   14576   hardcode_into_libs=yes
   14577 
   14578   # Append ld.so.conf contents to the search path
   14579   if test -f /etc/ld.so.conf; then
   14580     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;s/"//g;/^$/d' | tr '\n' ' '`
   14581     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   14582   fi
   14583 
   14584   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14585   # powerpc, because MkLinux only supported shared libraries with the
   14586   # GNU dynamic linker.  Since this was broken with cross compilers,
   14587   # most powerpc-linux boxes support dynamic linking these days and
   14588   # people can always --disable-shared, the test was removed, and we
   14589   # assume the GNU/Linux dynamic linker is in use.
   14590   dynamic_linker='GNU/Linux ld.so'
   14591   ;;
   14592 
   14593 netbsdelf*-gnu)
   14594   version_type=linux
   14595   need_lib_prefix=no
   14596   need_version=no
   14597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14598   soname_spec='${libname}${release}${shared_ext}$major'
   14599   shlibpath_var=LD_LIBRARY_PATH
   14600   shlibpath_overrides_runpath=no
   14601   hardcode_into_libs=yes
   14602   dynamic_linker='NetBSD ld.elf_so'
   14603   ;;
   14604 
   14605 netbsd*)
   14606   version_type=sunos
   14607   need_lib_prefix=no
   14608   need_version=no
   14609   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14610     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14611     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14612     dynamic_linker='NetBSD (a.out) ld.so'
   14613   else
   14614     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14615     soname_spec='${libname}${release}${shared_ext}$major'
   14616     dynamic_linker='NetBSD ld.elf_so'
   14617   fi
   14618   shlibpath_var=LD_LIBRARY_PATH
   14619   shlibpath_overrides_runpath=yes
   14620   hardcode_into_libs=yes
   14621   ;;
   14622 
   14623 newsos6)
   14624   version_type=linux # correct to gnu/linux during the next big refactor
   14625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14626   shlibpath_var=LD_LIBRARY_PATH
   14627   shlibpath_overrides_runpath=yes
   14628   ;;
   14629 
   14630 *nto* | *qnx*)
   14631   version_type=qnx
   14632   need_lib_prefix=no
   14633   need_version=no
   14634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14635   soname_spec='${libname}${release}${shared_ext}$major'
   14636   shlibpath_var=LD_LIBRARY_PATH
   14637   shlibpath_overrides_runpath=no
   14638   hardcode_into_libs=yes
   14639   dynamic_linker='ldqnx.so'
   14640   ;;
   14641 
   14642 openbsd*)
   14643   version_type=sunos
   14644   sys_lib_dlsearch_path_spec="/usr/lib"
   14645   need_lib_prefix=no
   14646   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14647   case $host_os in
   14648     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   14649     *)				need_version=no  ;;
   14650   esac
   14651   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14652   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14653   shlibpath_var=LD_LIBRARY_PATH
   14654   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14655     case $host_os in
   14656       openbsd2.[89] | openbsd2.[89].*)
   14657 	shlibpath_overrides_runpath=no
   14658 	;;
   14659       *)
   14660 	shlibpath_overrides_runpath=yes
   14661 	;;
   14662       esac
   14663   else
   14664     shlibpath_overrides_runpath=yes
   14665   fi
   14666   ;;
   14667 
   14668 os2*)
   14669   libname_spec='$name'
   14670   shrext_cmds=".dll"
   14671   need_lib_prefix=no
   14672   library_names_spec='$libname${shared_ext} $libname.a'
   14673   dynamic_linker='OS/2 ld.exe'
   14674   shlibpath_var=LIBPATH
   14675   ;;
   14676 
   14677 osf3* | osf4* | osf5*)
   14678   version_type=osf
   14679   need_lib_prefix=no
   14680   need_version=no
   14681   soname_spec='${libname}${release}${shared_ext}$major'
   14682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14683   shlibpath_var=LD_LIBRARY_PATH
   14684   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14685   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14686   ;;
   14687 
   14688 rdos*)
   14689   dynamic_linker=no
   14690   ;;
   14691 
   14692 solaris*)
   14693   version_type=linux # correct to gnu/linux during the next big refactor
   14694   need_lib_prefix=no
   14695   need_version=no
   14696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14697   soname_spec='${libname}${release}${shared_ext}$major'
   14698   shlibpath_var=LD_LIBRARY_PATH
   14699   shlibpath_overrides_runpath=yes
   14700   hardcode_into_libs=yes
   14701   # ldd complains unless libraries are executable
   14702   postinstall_cmds='chmod +x $lib'
   14703   ;;
   14704 
   14705 sunos4*)
   14706   version_type=sunos
   14707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14708   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14709   shlibpath_var=LD_LIBRARY_PATH
   14710   shlibpath_overrides_runpath=yes
   14711   if test "$with_gnu_ld" = yes; then
   14712     need_lib_prefix=no
   14713   fi
   14714   need_version=yes
   14715   ;;
   14716 
   14717 sysv4 | sysv4.3*)
   14718   version_type=linux # correct to gnu/linux during the next big refactor
   14719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14720   soname_spec='${libname}${release}${shared_ext}$major'
   14721   shlibpath_var=LD_LIBRARY_PATH
   14722   case $host_vendor in
   14723     sni)
   14724       shlibpath_overrides_runpath=no
   14725       need_lib_prefix=no
   14726       runpath_var=LD_RUN_PATH
   14727       ;;
   14728     siemens)
   14729       need_lib_prefix=no
   14730       ;;
   14731     motorola)
   14732       need_lib_prefix=no
   14733       need_version=no
   14734       shlibpath_overrides_runpath=no
   14735       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14736       ;;
   14737   esac
   14738   ;;
   14739 
   14740 sysv4*MP*)
   14741   if test -d /usr/nec ;then
   14742     version_type=linux # correct to gnu/linux during the next big refactor
   14743     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   14744     soname_spec='$libname${shared_ext}.$major'
   14745     shlibpath_var=LD_LIBRARY_PATH
   14746   fi
   14747   ;;
   14748 
   14749 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14750   version_type=freebsd-elf
   14751   need_lib_prefix=no
   14752   need_version=no
   14753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14754   soname_spec='${libname}${release}${shared_ext}$major'
   14755   shlibpath_var=LD_LIBRARY_PATH
   14756   shlibpath_overrides_runpath=yes
   14757   hardcode_into_libs=yes
   14758   if test "$with_gnu_ld" = yes; then
   14759     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   14760   else
   14761     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   14762     case $host_os in
   14763       sco3.2v5*)
   14764         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   14765 	;;
   14766     esac
   14767   fi
   14768   sys_lib_dlsearch_path_spec='/usr/lib'
   14769   ;;
   14770 
   14771 tpf*)
   14772   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   14773   version_type=linux # correct to gnu/linux during the next big refactor
   14774   need_lib_prefix=no
   14775   need_version=no
   14776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14777   shlibpath_var=LD_LIBRARY_PATH
   14778   shlibpath_overrides_runpath=no
   14779   hardcode_into_libs=yes
   14780   ;;
   14781 
   14782 uts4*)
   14783   version_type=linux # correct to gnu/linux during the next big refactor
   14784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14785   soname_spec='${libname}${release}${shared_ext}$major'
   14786   shlibpath_var=LD_LIBRARY_PATH
   14787   ;;
   14788 
   14789 *)
   14790   dynamic_linker=no
   14791   ;;
   14792 esac
   14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14794 $as_echo "$dynamic_linker" >&6; }
   14795 test "$dynamic_linker" = no && can_build_shared=no
   14796 
   14797 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14798 if test "$GCC" = yes; then
   14799   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14800 fi
   14801 
   14802 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   14803   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   14804 fi
   14805 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   14806   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   14807 fi
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14847 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   14848 hardcode_action_CXX=
   14849 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   14850    test -n "$runpath_var_CXX" ||
   14851    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   14852 
   14853   # We can hardcode non-existent directories.
   14854   if test "$hardcode_direct_CXX" != no &&
   14855      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14856      # have to relink, otherwise we might link with an installed library
   14857      # when we should be linking with a yet-to-be-installed one
   14858      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   14859      test "$hardcode_minus_L_CXX" != no; then
   14860     # Linking always hardcodes the temporary library directory.
   14861     hardcode_action_CXX=relink
   14862   else
   14863     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14864     hardcode_action_CXX=immediate
   14865   fi
   14866 else
   14867   # We cannot hardcode anything, or else we can only hardcode existing
   14868   # directories.
   14869   hardcode_action_CXX=unsupported
   14870 fi
   14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   14872 $as_echo "$hardcode_action_CXX" >&6; }
   14873 
   14874 if test "$hardcode_action_CXX" = relink ||
   14875    test "$inherit_rpath_CXX" = yes; then
   14876   # Fast installation is not supported
   14877   enable_fast_install=no
   14878 elif test "$shlibpath_overrides_runpath" = yes ||
   14879      test "$enable_shared" = no; then
   14880   # Fast installation is not necessary
   14881   enable_fast_install=needless
   14882 fi
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890   fi # test -n "$compiler"
   14891 
   14892   CC=$lt_save_CC
   14893   CFLAGS=$lt_save_CFLAGS
   14894   LDCXX=$LD
   14895   LD=$lt_save_LD
   14896   GCC=$lt_save_GCC
   14897   with_gnu_ld=$lt_save_with_gnu_ld
   14898   lt_cv_path_LDCXX=$lt_cv_path_LD
   14899   lt_cv_path_LD=$lt_save_path_LD
   14900   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14901   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14902 fi # test "$_lt_caught_CXX_error" != yes
   14903 
   14904 ac_ext=cpp
   14905 ac_cpp='$CXXCPP $CPPFLAGS'
   14906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924         ac_config_commands="$ac_config_commands libtool"
   14925 
   14926 
   14927 
   14928 
   14929 # Only expand once:
   14930 
   14931 
   14932 
   14933 # TODO(chandlerc (at] google.com): Currently we aren't running the Python tests
   14934 # against the interpreter detected by AM_PATH_PYTHON, and so we condition
   14935 # HAVE_PYTHON by requiring "python" to be in the PATH, and that interpreter's
   14936 # version to be >= 2.3. This will allow the scripts to use a "/usr/bin/env"
   14937 # hashbang.
   14938 PYTHON=  # We *do not* allow the user to specify a python interpreter
   14939 # Extract the first word of "python", so it can be a program name with args.
   14940 set dummy python; ac_word=$2
   14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14942 $as_echo_n "checking for $ac_word... " >&6; }
   14943 if ${ac_cv_path_PYTHON+:} false; then :
   14944   $as_echo_n "(cached) " >&6
   14945 else
   14946   case $PYTHON in
   14947   [\\/]* | ?:[\\/]*)
   14948   ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
   14949   ;;
   14950   *)
   14951   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14952 for as_dir in $PATH
   14953 do
   14954   IFS=$as_save_IFS
   14955   test -z "$as_dir" && as_dir=.
   14956     for ac_exec_ext in '' $ac_executable_extensions; do
   14957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   14958     ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
   14959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14960     break 2
   14961   fi
   14962 done
   14963   done
   14964 IFS=$as_save_IFS
   14965 
   14966   test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON=":"
   14967   ;;
   14968 esac
   14969 fi
   14970 PYTHON=$ac_cv_path_PYTHON
   14971 if test -n "$PYTHON"; then
   14972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
   14973 $as_echo "$PYTHON" >&6; }
   14974 else
   14975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14976 $as_echo "no" >&6; }
   14977 fi
   14978 
   14979 
   14980 if test "$PYTHON" != ":"; then :
   14981   prog="import sys
   14982 # split strings by '.' and convert to numeric.  Append some zeros
   14983 # because we need at least 4 digits for the hex conversion.
   14984 # map returns an iterator in Python 3.0 and a list in 2.x
   14985 minver = list(map(int, '2.3'.split('.'))) + [0, 0, 0]
   14986 minverhex = 0
   14987 # xrange is not present in Python 3.0 and range returns an iterator
   14988 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
   14989 sys.exit(sys.hexversion < minverhex)"
   14990   if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
   14991    ($PYTHON -c "$prog") >&5 2>&5
   14992    ac_status=$?
   14993    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14994    (exit $ac_status); }; then :
   14995   :
   14996 else
   14997   PYTHON=":"
   14998 fi
   14999 fi
   15000  if test "$PYTHON" != ":"; then
   15001   HAVE_PYTHON_TRUE=
   15002   HAVE_PYTHON_FALSE='#'
   15003 else
   15004   HAVE_PYTHON_TRUE='#'
   15005   HAVE_PYTHON_FALSE=
   15006 fi
   15007 
   15008 
   15009 # Check for pthreads.
   15010 
   15011 
   15012 
   15013 ac_ext=c
   15014 ac_cpp='$CPP $CPPFLAGS'
   15015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15018 
   15019 acx_pthread_ok=no
   15020 
   15021 # We used to check for pthread.h first, but this fails if pthread.h
   15022 # requires special compiler flags (e.g. on True64 or Sequent).
   15023 # It gets checked for in the link test anyway.
   15024 
   15025 # First of all, check if the user has set any of the PTHREAD_LIBS,
   15026 # etcetera environment variables, and if threads linking works using
   15027 # them:
   15028 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
   15029         save_CFLAGS="$CFLAGS"
   15030         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15031         save_LIBS="$LIBS"
   15032         LIBS="$PTHREAD_LIBS $LIBS"
   15033         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
   15034 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
   15035         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15036 /* end confdefs.h.  */
   15037 
   15038 /* Override any GCC internal prototype to avoid an error.
   15039    Use char because int might match the return type of a GCC
   15040    builtin and then its argument prototype would still apply.  */
   15041 #ifdef __cplusplus
   15042 extern "C"
   15043 #endif
   15044 char pthread_join ();
   15045 int
   15046 main ()
   15047 {
   15048 return pthread_join ();
   15049   ;
   15050   return 0;
   15051 }
   15052 _ACEOF
   15053 if ac_fn_c_try_link "$LINENO"; then :
   15054   acx_pthread_ok=yes
   15055 fi
   15056 rm -f core conftest.err conftest.$ac_objext \
   15057     conftest$ac_exeext conftest.$ac_ext
   15058         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
   15059 $as_echo "$acx_pthread_ok" >&6; }
   15060         if test x"$acx_pthread_ok" = xno; then
   15061                 PTHREAD_LIBS=""
   15062                 PTHREAD_CFLAGS=""
   15063         fi
   15064         LIBS="$save_LIBS"
   15065         CFLAGS="$save_CFLAGS"
   15066 fi
   15067 
   15068 # We must check for the threads library under a number of different
   15069 # names; the ordering is very important because some systems
   15070 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   15071 # libraries is broken (non-POSIX).
   15072 
   15073 # Create a list of thread flags to try.  Items starting with a "-" are
   15074 # C compiler flags, and other items are library names, except for "none"
   15075 # which indicates that we try without any flags at all, and "pthread-config"
   15076 # which is a program returning the flags for the Pth emulation library.
   15077 
   15078 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   15079 
   15080 # The ordering *is* (sometimes) important.  Some notes on the
   15081 # individual items follow:
   15082 
   15083 # pthreads: AIX (must check this before -lpthread)
   15084 # none: in case threads are in libc; should be tried before -Kthread and
   15085 #       other compiler flags to prevent continual compiler warnings
   15086 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   15087 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   15088 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   15089 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
   15090 # -pthreads: Solaris/gcc
   15091 # -mthreads: Mingw32/gcc, Lynx/gcc
   15092 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   15093 #      doesn't hurt to check since this sometimes defines pthreads too;
   15094 #      also defines -D_REENTRANT)
   15095 #      ... -mt is also the pthreads flag for HP/aCC
   15096 # pthread: Linux, etcetera
   15097 # --thread-safe: KAI C++
   15098 # pthread-config: use pthread-config program (for GNU Pth library)
   15099 
   15100 case "${host_cpu}-${host_os}" in
   15101         *solaris*)
   15102 
   15103         # On Solaris (at least, for some versions), libc contains stubbed
   15104         # (non-functional) versions of the pthreads routines, so link-based
   15105         # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
   15106         # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
   15107         # a function called by this macro, so we could check for that, but
   15108         # who knows whether they'll stub that too in a future libc.)  So,
   15109         # we'll just look for -pthreads and -lpthread first:
   15110 
   15111         acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
   15112         ;;
   15113 esac
   15114 
   15115 if test x"$acx_pthread_ok" = xno; then
   15116 for flag in $acx_pthread_flags; do
   15117 
   15118         case $flag in
   15119                 none)
   15120                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   15121 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   15122                 ;;
   15123 
   15124                 -*)
   15125                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
   15126 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
   15127                 PTHREAD_CFLAGS="$flag"
   15128                 ;;
   15129 
   15130 		pthread-config)
   15131 		# Extract the first word of "pthread-config", so it can be a program name with args.
   15132 set dummy pthread-config; ac_word=$2
   15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15134 $as_echo_n "checking for $ac_word... " >&6; }
   15135 if ${ac_cv_prog_acx_pthread_config+:} false; then :
   15136   $as_echo_n "(cached) " >&6
   15137 else
   15138   if test -n "$acx_pthread_config"; then
   15139   ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
   15140 else
   15141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15142 for as_dir in $PATH
   15143 do
   15144   IFS=$as_save_IFS
   15145   test -z "$as_dir" && as_dir=.
   15146     for ac_exec_ext in '' $ac_executable_extensions; do
   15147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   15148     ac_cv_prog_acx_pthread_config="yes"
   15149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15150     break 2
   15151   fi
   15152 done
   15153   done
   15154 IFS=$as_save_IFS
   15155 
   15156   test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
   15157 fi
   15158 fi
   15159 acx_pthread_config=$ac_cv_prog_acx_pthread_config
   15160 if test -n "$acx_pthread_config"; then
   15161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
   15162 $as_echo "$acx_pthread_config" >&6; }
   15163 else
   15164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15165 $as_echo "no" >&6; }
   15166 fi
   15167 
   15168 
   15169 		if test x"$acx_pthread_config" = xno; then continue; fi
   15170 		PTHREAD_CFLAGS="`pthread-config --cflags`"
   15171 		PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   15172 		;;
   15173 
   15174                 *)
   15175                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
   15176 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
   15177                 PTHREAD_LIBS="-l$flag"
   15178                 ;;
   15179         esac
   15180 
   15181         save_LIBS="$LIBS"
   15182         save_CFLAGS="$CFLAGS"
   15183         LIBS="$PTHREAD_LIBS $LIBS"
   15184         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15185 
   15186         # Check for various functions.  We must include pthread.h,
   15187         # since some functions may be macros.  (On the Sequent, we
   15188         # need a special flag -Kthread to make this header compile.)
   15189         # We check for pthread_join because it is in -lpthread on IRIX
   15190         # while pthread_create is in libc.  We check for pthread_attr_init
   15191         # due to DEC craziness with -lpthreads.  We check for
   15192         # pthread_cleanup_push because it is one of the few pthread
   15193         # functions on Solaris that doesn't have a non-functional libc stub.
   15194         # We try pthread_create on general principles.
   15195         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15196 /* end confdefs.h.  */
   15197 #include <pthread.h>
   15198 int
   15199 main ()
   15200 {
   15201 pthread_t th; pthread_join(th, 0);
   15202                      pthread_attr_init(0); pthread_cleanup_push(0, 0);
   15203                      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
   15204   ;
   15205   return 0;
   15206 }
   15207 _ACEOF
   15208 if ac_fn_c_try_link "$LINENO"; then :
   15209   acx_pthread_ok=yes
   15210 fi
   15211 rm -f core conftest.err conftest.$ac_objext \
   15212     conftest$ac_exeext conftest.$ac_ext
   15213 
   15214         LIBS="$save_LIBS"
   15215         CFLAGS="$save_CFLAGS"
   15216 
   15217         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
   15218 $as_echo "$acx_pthread_ok" >&6; }
   15219         if test "x$acx_pthread_ok" = xyes; then
   15220                 break;
   15221         fi
   15222 
   15223         PTHREAD_LIBS=""
   15224         PTHREAD_CFLAGS=""
   15225 done
   15226 fi
   15227 
   15228 # Various other checks:
   15229 if test "x$acx_pthread_ok" = xyes; then
   15230         save_LIBS="$LIBS"
   15231         LIBS="$PTHREAD_LIBS $LIBS"
   15232         save_CFLAGS="$CFLAGS"
   15233         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15234 
   15235         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   15236 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   15237 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   15238 	attr_name=unknown
   15239 	for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   15240 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15241 /* end confdefs.h.  */
   15242 #include <pthread.h>
   15243 int
   15244 main ()
   15245 {
   15246 int attr=$attr; return attr;
   15247   ;
   15248   return 0;
   15249 }
   15250 _ACEOF
   15251 if ac_fn_c_try_link "$LINENO"; then :
   15252   attr_name=$attr; break
   15253 fi
   15254 rm -f core conftest.err conftest.$ac_objext \
   15255     conftest$ac_exeext conftest.$ac_ext
   15256 	done
   15257         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
   15258 $as_echo "$attr_name" >&6; }
   15259         if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
   15260 
   15261 cat >>confdefs.h <<_ACEOF
   15262 #define PTHREAD_CREATE_JOINABLE $attr_name
   15263 _ACEOF
   15264 
   15265         fi
   15266 
   15267         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
   15268 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
   15269         flag=no
   15270         case "${host_cpu}-${host_os}" in
   15271             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
   15272             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
   15273         esac
   15274         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
   15275 $as_echo "${flag}" >&6; }
   15276         if test "x$flag" != xno; then
   15277             PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
   15278         fi
   15279 
   15280         LIBS="$save_LIBS"
   15281         CFLAGS="$save_CFLAGS"
   15282         # More AIX lossage: must compile with xlc_r or cc_r
   15283 	if test x"$GCC" != xyes; then
   15284           for ac_prog in xlc_r cc_r
   15285 do
   15286   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15287 set dummy $ac_prog; ac_word=$2
   15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15289 $as_echo_n "checking for $ac_word... " >&6; }
   15290 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   15291   $as_echo_n "(cached) " >&6
   15292 else
   15293   if test -n "$PTHREAD_CC"; then
   15294   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   15295 else
   15296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15297 for as_dir in $PATH
   15298 do
   15299   IFS=$as_save_IFS
   15300   test -z "$as_dir" && as_dir=.
   15301     for ac_exec_ext in '' $ac_executable_extensions; do
   15302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   15303     ac_cv_prog_PTHREAD_CC="$ac_prog"
   15304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15305     break 2
   15306   fi
   15307 done
   15308   done
   15309 IFS=$as_save_IFS
   15310 
   15311 fi
   15312 fi
   15313 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   15314 if test -n "$PTHREAD_CC"; then
   15315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   15316 $as_echo "$PTHREAD_CC" >&6; }
   15317 else
   15318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15319 $as_echo "no" >&6; }
   15320 fi
   15321 
   15322 
   15323   test -n "$PTHREAD_CC" && break
   15324 done
   15325 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
   15326 
   15327         else
   15328           PTHREAD_CC=$CC
   15329 	fi
   15330 
   15331 	# The next part tries to detect GCC inconsistency with -shared on some
   15332 	# architectures and systems. The problem is that in certain
   15333 	# configurations, when -shared is specified, GCC "forgets" to
   15334 	# internally use various flags which are still necessary.
   15335 
   15336 	#
   15337 	# Prepare the flags
   15338 	#
   15339 	save_CFLAGS="$CFLAGS"
   15340 	save_LIBS="$LIBS"
   15341 	save_CC="$CC"
   15342 
   15343 	# Try with the flags determined by the earlier checks.
   15344 	#
   15345 	# -Wl,-z,defs forces link-time symbol resolution, so that the
   15346 	# linking checks with -shared actually have any value
   15347 	#
   15348 	# FIXME: -fPIC is required for -shared on many architectures,
   15349 	# so we specify it here, but the right way would probably be to
   15350 	# properly detect whether it is actually required.
   15351 	CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS"
   15352 	LIBS="$PTHREAD_LIBS $LIBS"
   15353 	CC="$PTHREAD_CC"
   15354 
   15355 	# In order not to create several levels of indentation, we test
   15356 	# the value of "$done" until we find the cure or run out of ideas.
   15357 	done="no"
   15358 
   15359 	# First, make sure the CFLAGS we added are actually accepted by our
   15360 	# compiler.  If not (and OS X's ld, for instance, does not accept -z),
   15361 	# then we can't do this test.
   15362 	if test x"$done" = xno; then
   15363 	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check for GCC pthread/shared inconsistencies" >&5
   15364 $as_echo_n "checking whether to check for GCC pthread/shared inconsistencies... " >&6; }
   15365 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15366 /* end confdefs.h.  */
   15367 
   15368 int
   15369 main ()
   15370 {
   15371 
   15372   ;
   15373   return 0;
   15374 }
   15375 _ACEOF
   15376 if ac_fn_c_try_link "$LINENO"; then :
   15377 
   15378 else
   15379   done=yes
   15380 fi
   15381 rm -f core conftest.err conftest.$ac_objext \
   15382     conftest$ac_exeext conftest.$ac_ext
   15383 
   15384 	   if test "x$done" = xyes ; then
   15385 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15386 $as_echo "no" >&6; }
   15387 	   else
   15388 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15389 $as_echo "yes" >&6; }
   15390 	   fi
   15391 	fi
   15392 
   15393 	if test x"$done" = xno; then
   15394 	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is sufficient with -shared" >&5
   15395 $as_echo_n "checking whether -pthread is sufficient with -shared... " >&6; }
   15396 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15397 /* end confdefs.h.  */
   15398 #include <pthread.h>
   15399 int
   15400 main ()
   15401 {
   15402 pthread_t th; pthread_join(th, 0);
   15403 	      pthread_attr_init(0); pthread_cleanup_push(0, 0);
   15404 	      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
   15405   ;
   15406   return 0;
   15407 }
   15408 _ACEOF
   15409 if ac_fn_c_try_link "$LINENO"; then :
   15410   done=yes
   15411 fi
   15412 rm -f core conftest.err conftest.$ac_objext \
   15413     conftest$ac_exeext conftest.$ac_ext
   15414 
   15415 	   if test "x$done" = xyes; then
   15416 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15417 $as_echo "yes" >&6; }
   15418 	   else
   15419 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15420 $as_echo "no" >&6; }
   15421 	   fi
   15422 	fi
   15423 
   15424 	#
   15425 	# Linux gcc on some architectures such as mips/mipsel forgets
   15426 	# about -lpthread
   15427 	#
   15428 	if test x"$done" = xno; then
   15429 	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread fixes that" >&5
   15430 $as_echo_n "checking whether -lpthread fixes that... " >&6; }
   15431 	   LIBS="-lpthread $PTHREAD_LIBS $save_LIBS"
   15432 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15433 /* end confdefs.h.  */
   15434 #include <pthread.h>
   15435 int
   15436 main ()
   15437 {
   15438 pthread_t th; pthread_join(th, 0);
   15439 	      pthread_attr_init(0); pthread_cleanup_push(0, 0);
   15440 	      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
   15441   ;
   15442   return 0;
   15443 }
   15444 _ACEOF
   15445 if ac_fn_c_try_link "$LINENO"; then :
   15446   done=yes
   15447 fi
   15448 rm -f core conftest.err conftest.$ac_objext \
   15449     conftest$ac_exeext conftest.$ac_ext
   15450 
   15451 	   if test "x$done" = xyes; then
   15452 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15453 $as_echo "yes" >&6; }
   15454 	      PTHREAD_LIBS="-lpthread $PTHREAD_LIBS"
   15455 	   else
   15456 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15457 $as_echo "no" >&6; }
   15458 	   fi
   15459 	fi
   15460 	#
   15461 	# FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc
   15462 	#
   15463 	if test x"$done" = xno; then
   15464 	   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc_r fixes that" >&5
   15465 $as_echo_n "checking whether -lc_r fixes that... " >&6; }
   15466 	   LIBS="-lc_r $PTHREAD_LIBS $save_LIBS"
   15467 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15468 /* end confdefs.h.  */
   15469 #include <pthread.h>
   15470 int
   15471 main ()
   15472 {
   15473 pthread_t th; pthread_join(th, 0);
   15474 	        pthread_attr_init(0); pthread_cleanup_push(0, 0);
   15475 	        pthread_create(0,0,0,0); pthread_cleanup_pop(0);
   15476   ;
   15477   return 0;
   15478 }
   15479 _ACEOF
   15480 if ac_fn_c_try_link "$LINENO"; then :
   15481   done=yes
   15482 fi
   15483 rm -f core conftest.err conftest.$ac_objext \
   15484     conftest$ac_exeext conftest.$ac_ext
   15485 
   15486 	   if test "x$done" = xyes; then
   15487 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15488 $as_echo "yes" >&6; }
   15489 	      PTHREAD_LIBS="-lc_r $PTHREAD_LIBS"
   15490 	   else
   15491 	      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15492 $as_echo "no" >&6; }
   15493 	   fi
   15494 	fi
   15495 	if test x"$done" = xno; then
   15496 	   # OK, we have run out of ideas
   15497 	   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
   15498 $as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
   15499 
   15500 	   # so it's not safe to assume that we may use pthreads
   15501 	   acx_pthread_ok=no
   15502 	fi
   15503 
   15504 	CFLAGS="$save_CFLAGS"
   15505 	LIBS="$save_LIBS"
   15506 	CC="$save_CC"
   15507 else
   15508         PTHREAD_CC="$CC"
   15509 fi
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   15516 if test x"$acx_pthread_ok" = xyes; then
   15517 
   15518 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   15519 
   15520         :
   15521 else
   15522         acx_pthread_ok=no
   15523 
   15524 fi
   15525 ac_ext=cpp
   15526 ac_cpp='$CXXCPP $CPPFLAGS'
   15527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15530 
   15531 
   15532 
   15533 # TODO(chandlerc (at] google.com) Check for the necessary system headers.
   15534 
   15535 # TODO(chandlerc (at] google.com) Check the types, structures, and other compiler
   15536 # and architecture characteristics.
   15537 
   15538 # Output the generated files. No further autoconf macros may be used.
   15539 cat >confcache <<\_ACEOF
   15540 # This file is a shell script that caches the results of configure
   15541 # tests run on this system so they can be shared between configure
   15542 # scripts and configure runs, see configure's option --config-cache.
   15543 # It is not useful on other systems.  If it contains results you don't
   15544 # want to keep, you may remove or edit it.
   15545 #
   15546 # config.status only pays attention to the cache file if you give it
   15547 # the --recheck option to rerun configure.
   15548 #
   15549 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15550 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15551 # following values.
   15552 
   15553 _ACEOF
   15554 
   15555 # The following way of writing the cache mishandles newlines in values,
   15556 # but we know of no workaround that is simple, portable, and efficient.
   15557 # So, we kill variables containing newlines.
   15558 # Ultrix sh set writes to stderr and can't be redirected directly,
   15559 # and sets the high bit in the cache file unless we assign to the vars.
   15560 (
   15561   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15562     eval ac_val=\$$ac_var
   15563     case $ac_val in #(
   15564     *${as_nl}*)
   15565       case $ac_var in #(
   15566       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15568       esac
   15569       case $ac_var in #(
   15570       _ | IFS | as_nl) ;; #(
   15571       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15572       *) { eval $ac_var=; unset $ac_var;} ;;
   15573       esac ;;
   15574     esac
   15575   done
   15576 
   15577   (set) 2>&1 |
   15578     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15579     *${as_nl}ac_space=\ *)
   15580       # `set' does not quote correctly, so add quotes: double-quote
   15581       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15582       sed -n \
   15583 	"s/'/'\\\\''/g;
   15584 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15585       ;; #(
   15586     *)
   15587       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15588       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15589       ;;
   15590     esac |
   15591     sort
   15592 ) |
   15593   sed '
   15594      /^ac_cv_env_/b end
   15595      t clear
   15596      :clear
   15597      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15598      t end
   15599      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15600      :end' >>confcache
   15601 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15602   if test -w "$cache_file"; then
   15603     if test "x$cache_file" != "x/dev/null"; then
   15604       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15605 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15606       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15607 	cat confcache >"$cache_file"
   15608       else
   15609         case $cache_file in #(
   15610         */* | ?:*)
   15611 	  mv -f confcache "$cache_file"$$ &&
   15612 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15613         *)
   15614 	  mv -f confcache "$cache_file" ;;
   15615 	esac
   15616       fi
   15617     fi
   15618   else
   15619     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15620 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15621   fi
   15622 fi
   15623 rm -f confcache
   15624 
   15625 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15626 # Let make expand exec_prefix.
   15627 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15628 
   15629 DEFS=-DHAVE_CONFIG_H
   15630 
   15631 ac_libobjs=
   15632 ac_ltlibobjs=
   15633 U=
   15634 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15635   # 1. Remove the extension, and $U if already installed.
   15636   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15637   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15638   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15639   #    will be set to the directory where LIBOBJS objects are built.
   15640   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15641   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15642 done
   15643 LIBOBJS=$ac_libobjs
   15644 
   15645 LTLIBOBJS=$ac_ltlibobjs
   15646 
   15647 
   15648  if test -n "$EXEEXT"; then
   15649   am__EXEEXT_TRUE=
   15650   am__EXEEXT_FALSE='#'
   15651 else
   15652   am__EXEEXT_TRUE='#'
   15653   am__EXEEXT_FALSE=
   15654 fi
   15655 
   15656 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15657   as_fn_error $? "conditional \"AMDEP\" was never defined.
   15658 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15659 fi
   15660 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15661   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15663 fi
   15664 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   15665   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   15666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15667 fi
   15668 if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
   15669   as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined.
   15670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15671 fi
   15672 
   15673 : "${CONFIG_STATUS=./config.status}"
   15674 ac_write_fail=0
   15675 ac_clean_files_save=$ac_clean_files
   15676 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15677 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15678 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15679 as_write_fail=0
   15680 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15681 #! $SHELL
   15682 # Generated by $as_me.
   15683 # Run this file to recreate the current configuration.
   15684 # Compiler output produced by configure, useful for debugging
   15685 # configure, is in config.log if it exists.
   15686 
   15687 debug=false
   15688 ac_cs_recheck=false
   15689 ac_cs_silent=false
   15690 
   15691 SHELL=\${CONFIG_SHELL-$SHELL}
   15692 export SHELL
   15693 _ASEOF
   15694 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15695 ## -------------------- ##
   15696 ## M4sh Initialization. ##
   15697 ## -------------------- ##
   15698 
   15699 # Be more Bourne compatible
   15700 DUALCASE=1; export DUALCASE # for MKS sh
   15701 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15702   emulate sh
   15703   NULLCMD=:
   15704   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15705   # is contrary to our usage.  Disable this feature.
   15706   alias -g '${1+"$@"}'='"$@"'
   15707   setopt NO_GLOB_SUBST
   15708 else
   15709   case `(set -o) 2>/dev/null` in #(
   15710   *posix*) :
   15711     set -o posix ;; #(
   15712   *) :
   15713      ;;
   15714 esac
   15715 fi
   15716 
   15717 
   15718 as_nl='
   15719 '
   15720 export as_nl
   15721 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15722 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15723 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15724 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15725 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15726 # but without wasting forks for bash or zsh.
   15727 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15728     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15729   as_echo='print -r --'
   15730   as_echo_n='print -rn --'
   15731 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15732   as_echo='printf %s\n'
   15733   as_echo_n='printf %s'
   15734 else
   15735   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15736     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15737     as_echo_n='/usr/ucb/echo -n'
   15738   else
   15739     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15740     as_echo_n_body='eval
   15741       arg=$1;
   15742       case $arg in #(
   15743       *"$as_nl"*)
   15744 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15745 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15746       esac;
   15747       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15748     '
   15749     export as_echo_n_body
   15750     as_echo_n='sh -c $as_echo_n_body as_echo'
   15751   fi
   15752   export as_echo_body
   15753   as_echo='sh -c $as_echo_body as_echo'
   15754 fi
   15755 
   15756 # The user is always right.
   15757 if test "${PATH_SEPARATOR+set}" != set; then
   15758   PATH_SEPARATOR=:
   15759   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15760     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15761       PATH_SEPARATOR=';'
   15762   }
   15763 fi
   15764 
   15765 
   15766 # IFS
   15767 # We need space, tab and new line, in precisely that order.  Quoting is
   15768 # there to prevent editors from complaining about space-tab.
   15769 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15770 # splitting by setting IFS to empty value.)
   15771 IFS=" ""	$as_nl"
   15772 
   15773 # Find who we are.  Look in the path if we contain no directory separator.
   15774 as_myself=
   15775 case $0 in #((
   15776   *[\\/]* ) as_myself=$0 ;;
   15777   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15778 for as_dir in $PATH
   15779 do
   15780   IFS=$as_save_IFS
   15781   test -z "$as_dir" && as_dir=.
   15782     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15783   done
   15784 IFS=$as_save_IFS
   15785 
   15786      ;;
   15787 esac
   15788 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15789 # in which case we are not to be found in the path.
   15790 if test "x$as_myself" = x; then
   15791   as_myself=$0
   15792 fi
   15793 if test ! -f "$as_myself"; then
   15794   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15795   exit 1
   15796 fi
   15797 
   15798 # Unset variables that we do not need and which cause bugs (e.g. in
   15799 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15800 # suppresses any "Segmentation fault" message there.  '((' could
   15801 # trigger a bug in pdksh 5.2.14.
   15802 for as_var in BASH_ENV ENV MAIL MAILPATH
   15803 do eval test x\${$as_var+set} = xset \
   15804   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15805 done
   15806 PS1='$ '
   15807 PS2='> '
   15808 PS4='+ '
   15809 
   15810 # NLS nuisances.
   15811 LC_ALL=C
   15812 export LC_ALL
   15813 LANGUAGE=C
   15814 export LANGUAGE
   15815 
   15816 # CDPATH.
   15817 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15818 
   15819 
   15820 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15821 # ----------------------------------------
   15822 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15823 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15824 # script with STATUS, using 1 if that was 0.
   15825 as_fn_error ()
   15826 {
   15827   as_status=$1; test $as_status -eq 0 && as_status=1
   15828   if test "$4"; then
   15829     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15830     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15831   fi
   15832   $as_echo "$as_me: error: $2" >&2
   15833   as_fn_exit $as_status
   15834 } # as_fn_error
   15835 
   15836 
   15837 # as_fn_set_status STATUS
   15838 # -----------------------
   15839 # Set $? to STATUS, without forking.
   15840 as_fn_set_status ()
   15841 {
   15842   return $1
   15843 } # as_fn_set_status
   15844 
   15845 # as_fn_exit STATUS
   15846 # -----------------
   15847 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15848 as_fn_exit ()
   15849 {
   15850   set +e
   15851   as_fn_set_status $1
   15852   exit $1
   15853 } # as_fn_exit
   15854 
   15855 # as_fn_unset VAR
   15856 # ---------------
   15857 # Portably unset VAR.
   15858 as_fn_unset ()
   15859 {
   15860   { eval $1=; unset $1;}
   15861 }
   15862 as_unset=as_fn_unset
   15863 # as_fn_append VAR VALUE
   15864 # ----------------------
   15865 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15866 # advantage of any shell optimizations that allow amortized linear growth over
   15867 # repeated appends, instead of the typical quadratic growth present in naive
   15868 # implementations.
   15869 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15870   eval 'as_fn_append ()
   15871   {
   15872     eval $1+=\$2
   15873   }'
   15874 else
   15875   as_fn_append ()
   15876   {
   15877     eval $1=\$$1\$2
   15878   }
   15879 fi # as_fn_append
   15880 
   15881 # as_fn_arith ARG...
   15882 # ------------------
   15883 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15884 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15885 # must be portable across $(()) and expr.
   15886 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15887   eval 'as_fn_arith ()
   15888   {
   15889     as_val=$(( $* ))
   15890   }'
   15891 else
   15892   as_fn_arith ()
   15893   {
   15894     as_val=`expr "$@" || test $? -eq 1`
   15895   }
   15896 fi # as_fn_arith
   15897 
   15898 
   15899 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15900    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15901   as_expr=expr
   15902 else
   15903   as_expr=false
   15904 fi
   15905 
   15906 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15907   as_basename=basename
   15908 else
   15909   as_basename=false
   15910 fi
   15911 
   15912 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15913   as_dirname=dirname
   15914 else
   15915   as_dirname=false
   15916 fi
   15917 
   15918 as_me=`$as_basename -- "$0" ||
   15919 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15920 	 X"$0" : 'X\(//\)$' \| \
   15921 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15922 $as_echo X/"$0" |
   15923     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15924 	    s//\1/
   15925 	    q
   15926 	  }
   15927 	  /^X\/\(\/\/\)$/{
   15928 	    s//\1/
   15929 	    q
   15930 	  }
   15931 	  /^X\/\(\/\).*/{
   15932 	    s//\1/
   15933 	    q
   15934 	  }
   15935 	  s/.*/./; q'`
   15936 
   15937 # Avoid depending upon Character Ranges.
   15938 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   15939 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   15940 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   15941 as_cr_digits='0123456789'
   15942 as_cr_alnum=$as_cr_Letters$as_cr_digits
   15943 
   15944 ECHO_C= ECHO_N= ECHO_T=
   15945 case `echo -n x` in #(((((
   15946 -n*)
   15947   case `echo 'xy\c'` in
   15948   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   15949   xy)  ECHO_C='\c';;
   15950   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   15951        ECHO_T='	';;
   15952   esac;;
   15953 *)
   15954   ECHO_N='-n';;
   15955 esac
   15956 
   15957 rm -f conf$$ conf$$.exe conf$$.file
   15958 if test -d conf$$.dir; then
   15959   rm -f conf$$.dir/conf$$.file
   15960 else
   15961   rm -f conf$$.dir
   15962   mkdir conf$$.dir 2>/dev/null
   15963 fi
   15964 if (echo >conf$$.file) 2>/dev/null; then
   15965   if ln -s conf$$.file conf$$ 2>/dev/null; then
   15966     as_ln_s='ln -s'
   15967     # ... but there are two gotchas:
   15968     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   15969     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   15970     # In both cases, we have to default to `cp -p'.
   15971     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   15972       as_ln_s='cp -p'
   15973   elif ln conf$$.file conf$$ 2>/dev/null; then
   15974     as_ln_s=ln
   15975   else
   15976     as_ln_s='cp -p'
   15977   fi
   15978 else
   15979   as_ln_s='cp -p'
   15980 fi
   15981 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   15982 rmdir conf$$.dir 2>/dev/null
   15983 
   15984 
   15985 # as_fn_mkdir_p
   15986 # -------------
   15987 # Create "$as_dir" as a directory, including parents if necessary.
   15988 as_fn_mkdir_p ()
   15989 {
   15990 
   15991   case $as_dir in #(
   15992   -*) as_dir=./$as_dir;;
   15993   esac
   15994   test -d "$as_dir" || eval $as_mkdir_p || {
   15995     as_dirs=
   15996     while :; do
   15997       case $as_dir in #(
   15998       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   15999       *) as_qdir=$as_dir;;
   16000       esac
   16001       as_dirs="'$as_qdir' $as_dirs"
   16002       as_dir=`$as_dirname -- "$as_dir" ||
   16003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16004 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16005 	 X"$as_dir" : 'X\(//\)$' \| \
   16006 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16007 $as_echo X"$as_dir" |
   16008     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16009 	    s//\1/
   16010 	    q
   16011 	  }
   16012 	  /^X\(\/\/\)[^/].*/{
   16013 	    s//\1/
   16014 	    q
   16015 	  }
   16016 	  /^X\(\/\/\)$/{
   16017 	    s//\1/
   16018 	    q
   16019 	  }
   16020 	  /^X\(\/\).*/{
   16021 	    s//\1/
   16022 	    q
   16023 	  }
   16024 	  s/.*/./; q'`
   16025       test -d "$as_dir" && break
   16026     done
   16027     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16028   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16029 
   16030 
   16031 } # as_fn_mkdir_p
   16032 if mkdir -p . 2>/dev/null; then
   16033   as_mkdir_p='mkdir -p "$as_dir"'
   16034 else
   16035   test -d ./-p && rmdir ./-p
   16036   as_mkdir_p=false
   16037 fi
   16038 
   16039 if test -x / >/dev/null 2>&1; then
   16040   as_test_x='test -x'
   16041 else
   16042   if ls -dL / >/dev/null 2>&1; then
   16043     as_ls_L_option=L
   16044   else
   16045     as_ls_L_option=
   16046   fi
   16047   as_test_x='
   16048     eval sh -c '\''
   16049       if test -d "$1"; then
   16050 	test -d "$1/.";
   16051       else
   16052 	case $1 in #(
   16053 	-*)set "./$1";;
   16054 	esac;
   16055 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   16056 	???[sx]*):;;*)false;;esac;fi
   16057     '\'' sh
   16058   '
   16059 fi
   16060 as_executable_p=$as_test_x
   16061 
   16062 # Sed expression to map a string onto a valid CPP name.
   16063 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16064 
   16065 # Sed expression to map a string onto a valid variable name.
   16066 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16067 
   16068 
   16069 exec 6>&1
   16070 ## ----------------------------------- ##
   16071 ## Main body of $CONFIG_STATUS script. ##
   16072 ## ----------------------------------- ##
   16073 _ASEOF
   16074 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16075 
   16076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16077 # Save the log message, to keep $0 and so on meaningful, and to
   16078 # report actual input values of CONFIG_FILES etc. instead of their
   16079 # values after options handling.
   16080 ac_log="
   16081 This file was extended by Google C++ Testing Framework $as_me 1.4.0, which was
   16082 generated by GNU Autoconf 2.68.  Invocation command line was
   16083 
   16084   CONFIG_FILES    = $CONFIG_FILES
   16085   CONFIG_HEADERS  = $CONFIG_HEADERS
   16086   CONFIG_LINKS    = $CONFIG_LINKS
   16087   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16088   $ $0 $@
   16089 
   16090 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16091 "
   16092 
   16093 _ACEOF
   16094 
   16095 case $ac_config_files in *"
   16096 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16097 esac
   16098 
   16099 case $ac_config_headers in *"
   16100 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16101 esac
   16102 
   16103 
   16104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16105 # Files that config.status was made for.
   16106 config_files="$ac_config_files"
   16107 config_headers="$ac_config_headers"
   16108 config_commands="$ac_config_commands"
   16109 
   16110 _ACEOF
   16111 
   16112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16113 ac_cs_usage="\
   16114 \`$as_me' instantiates files and other configuration actions
   16115 from templates according to the current configuration.  Unless the files
   16116 and actions are specified as TAGs, all are instantiated by default.
   16117 
   16118 Usage: $0 [OPTION]... [TAG]...
   16119 
   16120   -h, --help       print this help, then exit
   16121   -V, --version    print version number and configuration settings, then exit
   16122       --config     print configuration, then exit
   16123   -q, --quiet, --silent
   16124                    do not print progress messages
   16125   -d, --debug      don't remove temporary files
   16126       --recheck    update $as_me by reconfiguring in the same conditions
   16127       --file=FILE[:TEMPLATE]
   16128                    instantiate the configuration file FILE
   16129       --header=FILE[:TEMPLATE]
   16130                    instantiate the configuration header FILE
   16131 
   16132 Configuration files:
   16133 $config_files
   16134 
   16135 Configuration headers:
   16136 $config_headers
   16137 
   16138 Configuration commands:
   16139 $config_commands
   16140 
   16141 Report bugs to <googletestframework (at] googlegroups.com>."
   16142 
   16143 _ACEOF
   16144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16145 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   16146 ac_cs_version="\\
   16147 Google C++ Testing Framework config.status 1.4.0
   16148 configured by $0, generated by GNU Autoconf 2.68,
   16149   with options \\"\$ac_cs_config\\"
   16150 
   16151 Copyright (C) 2010 Free Software Foundation, Inc.
   16152 This config.status script is free software; the Free Software Foundation
   16153 gives unlimited permission to copy, distribute and modify it."
   16154 
   16155 ac_pwd='$ac_pwd'
   16156 srcdir='$srcdir'
   16157 INSTALL='$INSTALL'
   16158 MKDIR_P='$MKDIR_P'
   16159 AWK='$AWK'
   16160 test -n "\$AWK" || AWK=awk
   16161 _ACEOF
   16162 
   16163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16164 # The default lists apply if the user does not specify any file.
   16165 ac_need_defaults=:
   16166 while test $# != 0
   16167 do
   16168   case $1 in
   16169   --*=?*)
   16170     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16171     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   16172     ac_shift=:
   16173     ;;
   16174   --*=)
   16175     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16176     ac_optarg=
   16177     ac_shift=:
   16178     ;;
   16179   *)
   16180     ac_option=$1
   16181     ac_optarg=$2
   16182     ac_shift=shift
   16183     ;;
   16184   esac
   16185 
   16186   case $ac_option in
   16187   # Handling of the options.
   16188   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16189     ac_cs_recheck=: ;;
   16190   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   16191     $as_echo "$ac_cs_version"; exit ;;
   16192   --config | --confi | --conf | --con | --co | --c )
   16193     $as_echo "$ac_cs_config"; exit ;;
   16194   --debug | --debu | --deb | --de | --d | -d )
   16195     debug=: ;;
   16196   --file | --fil | --fi | --f )
   16197     $ac_shift
   16198     case $ac_optarg in
   16199     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16200     '') as_fn_error $? "missing file argument" ;;
   16201     esac
   16202     as_fn_append CONFIG_FILES " '$ac_optarg'"
   16203     ac_need_defaults=false;;
   16204   --header | --heade | --head | --hea )
   16205     $ac_shift
   16206     case $ac_optarg in
   16207     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16208     esac
   16209     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   16210     ac_need_defaults=false;;
   16211   --he | --h)
   16212     # Conflict between --help and --header
   16213     as_fn_error $? "ambiguous option: \`$1'
   16214 Try \`$0 --help' for more information.";;
   16215   --help | --hel | -h )
   16216     $as_echo "$ac_cs_usage"; exit ;;
   16217   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16218   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16219     ac_cs_silent=: ;;
   16220 
   16221   # This is an error.
   16222   -*) as_fn_error $? "unrecognized option: \`$1'
   16223 Try \`$0 --help' for more information." ;;
   16224 
   16225   *) as_fn_append ac_config_targets " $1"
   16226      ac_need_defaults=false ;;
   16227 
   16228   esac
   16229   shift
   16230 done
   16231 
   16232 ac_configure_extra_args=
   16233 
   16234 if $ac_cs_silent; then
   16235   exec 6>/dev/null
   16236   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16237 fi
   16238 
   16239 _ACEOF
   16240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16241 if \$ac_cs_recheck; then
   16242   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16243   shift
   16244   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   16245   CONFIG_SHELL='$SHELL'
   16246   export CONFIG_SHELL
   16247   exec "\$@"
   16248 fi
   16249 
   16250 _ACEOF
   16251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16252 exec 5>>config.log
   16253 {
   16254   echo
   16255   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16256 ## Running $as_me. ##
   16257 _ASBOX
   16258   $as_echo "$ac_log"
   16259 } >&5
   16260 
   16261 _ACEOF
   16262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16263 #
   16264 # INIT-COMMANDS
   16265 #
   16266 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16267 
   16268 
   16269 # The HP-UX ksh and POSIX shell print the target directory to stdout
   16270 # if CDPATH is set.
   16271 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16272 
   16273 sed_quote_subst='$sed_quote_subst'
   16274 double_quote_subst='$double_quote_subst'
   16275 delay_variable_subst='$delay_variable_subst'
   16276 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   16277 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   16278 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   16279 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   16280 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   16281 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   16282 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   16283 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   16284 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   16285 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   16286 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   16287 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   16288 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   16289 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   16290 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   16291 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   16292 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   16293 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   16294 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   16295 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   16296 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   16297 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   16298 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   16299 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   16300 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   16301 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   16302 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   16303 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   16304 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   16305 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   16306 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   16307 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   16308 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   16309 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   16310 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   16311 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   16312 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   16313 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   16314 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   16315 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   16316 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   16317 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   16318 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   16319 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   16320 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   16321 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16322 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16323 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   16324 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   16325 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   16326 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   16327 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   16328 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   16329 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   16330 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   16331 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   16332 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16333 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   16334 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   16335 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   16336 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   16337 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   16338 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   16339 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   16340 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   16341 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   16342 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   16343 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   16344 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   16345 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   16346 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   16347 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   16348 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   16349 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   16350 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   16351 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16352 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   16353 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   16354 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   16355 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   16356 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   16357 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   16358 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16359 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   16360 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16361 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   16362 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16363 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   16364 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16365 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16366 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   16367 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   16368 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   16369 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   16370 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   16371 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16372 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   16373 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   16374 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   16375 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   16376 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   16377 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   16378 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   16379 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   16380 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   16381 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   16382 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   16383 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16384 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   16385 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   16386 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   16387 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16388 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   16389 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   16390 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   16391 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   16392 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   16393 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16394 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16395 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   16396 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   16397 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   16398 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   16399 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   16400 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   16401 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   16402 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   16403 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   16404 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   16405 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   16406 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   16407 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   16408 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   16409 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   16410 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   16411 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   16412 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   16413 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16414 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16415 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16416 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   16417 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   16418 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16419 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   16420 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   16421 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   16422 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   16423 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   16424 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   16425 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16426 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16427 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   16428 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16429 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16430 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16431 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16432 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16433 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16434 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   16435 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16436 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16437 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16438 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   16439 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   16440 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   16441 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   16442 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   16443 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   16444 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   16445 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   16446 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   16447 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16448 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   16449 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   16450 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16451 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16452 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16453 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   16454 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   16455 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   16456 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   16457 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   16458 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   16459 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   16460 
   16461 LTCC='$LTCC'
   16462 LTCFLAGS='$LTCFLAGS'
   16463 compiler='$compiler_DEFAULT'
   16464 
   16465 # A function that is used when there is no print builtin or printf.
   16466 func_fallback_echo ()
   16467 {
   16468   eval 'cat <<_LTECHO_EOF
   16469 \$1
   16470 _LTECHO_EOF'
   16471 }
   16472 
   16473 # Quote evaled strings.
   16474 for var in SHELL \
   16475 ECHO \
   16476 PATH_SEPARATOR \
   16477 SED \
   16478 GREP \
   16479 EGREP \
   16480 FGREP \
   16481 LD \
   16482 NM \
   16483 LN_S \
   16484 lt_SP2NL \
   16485 lt_NL2SP \
   16486 reload_flag \
   16487 OBJDUMP \
   16488 deplibs_check_method \
   16489 file_magic_cmd \
   16490 file_magic_glob \
   16491 want_nocaseglob \
   16492 DLLTOOL \
   16493 sharedlib_from_linklib_cmd \
   16494 AR \
   16495 AR_FLAGS \
   16496 archiver_list_spec \
   16497 STRIP \
   16498 RANLIB \
   16499 CC \
   16500 CFLAGS \
   16501 compiler \
   16502 lt_cv_sys_global_symbol_pipe \
   16503 lt_cv_sys_global_symbol_to_cdecl \
   16504 lt_cv_sys_global_symbol_to_c_name_address \
   16505 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16506 nm_file_list_spec \
   16507 lt_prog_compiler_no_builtin_flag \
   16508 lt_prog_compiler_pic \
   16509 lt_prog_compiler_wl \
   16510 lt_prog_compiler_static \
   16511 lt_cv_prog_compiler_c_o \
   16512 need_locks \
   16513 MANIFEST_TOOL \
   16514 DSYMUTIL \
   16515 NMEDIT \
   16516 LIPO \
   16517 OTOOL \
   16518 OTOOL64 \
   16519 shrext_cmds \
   16520 export_dynamic_flag_spec \
   16521 whole_archive_flag_spec \
   16522 compiler_needs_object \
   16523 with_gnu_ld \
   16524 allow_undefined_flag \
   16525 no_undefined_flag \
   16526 hardcode_libdir_flag_spec \
   16527 hardcode_libdir_separator \
   16528 exclude_expsyms \
   16529 include_expsyms \
   16530 file_list_spec \
   16531 variables_saved_for_relink \
   16532 libname_spec \
   16533 library_names_spec \
   16534 soname_spec \
   16535 install_override_mode \
   16536 finish_eval \
   16537 old_striplib \
   16538 striplib \
   16539 compiler_lib_search_dirs \
   16540 predep_objects \
   16541 postdep_objects \
   16542 predeps \
   16543 postdeps \
   16544 compiler_lib_search_path \
   16545 LD_CXX \
   16546 reload_flag_CXX \
   16547 compiler_CXX \
   16548 lt_prog_compiler_no_builtin_flag_CXX \
   16549 lt_prog_compiler_pic_CXX \
   16550 lt_prog_compiler_wl_CXX \
   16551 lt_prog_compiler_static_CXX \
   16552 lt_cv_prog_compiler_c_o_CXX \
   16553 export_dynamic_flag_spec_CXX \
   16554 whole_archive_flag_spec_CXX \
   16555 compiler_needs_object_CXX \
   16556 with_gnu_ld_CXX \
   16557 allow_undefined_flag_CXX \
   16558 no_undefined_flag_CXX \
   16559 hardcode_libdir_flag_spec_CXX \
   16560 hardcode_libdir_separator_CXX \
   16561 exclude_expsyms_CXX \
   16562 include_expsyms_CXX \
   16563 file_list_spec_CXX \
   16564 compiler_lib_search_dirs_CXX \
   16565 predep_objects_CXX \
   16566 postdep_objects_CXX \
   16567 predeps_CXX \
   16568 postdeps_CXX \
   16569 compiler_lib_search_path_CXX; do
   16570     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16571     *[\\\\\\\`\\"\\\$]*)
   16572       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16573       ;;
   16574     *)
   16575       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16576       ;;
   16577     esac
   16578 done
   16579 
   16580 # Double-quote double-evaled strings.
   16581 for var in reload_cmds \
   16582 old_postinstall_cmds \
   16583 old_postuninstall_cmds \
   16584 old_archive_cmds \
   16585 extract_expsyms_cmds \
   16586 old_archive_from_new_cmds \
   16587 old_archive_from_expsyms_cmds \
   16588 archive_cmds \
   16589 archive_expsym_cmds \
   16590 module_cmds \
   16591 module_expsym_cmds \
   16592 export_symbols_cmds \
   16593 prelink_cmds \
   16594 postlink_cmds \
   16595 postinstall_cmds \
   16596 postuninstall_cmds \
   16597 finish_cmds \
   16598 sys_lib_search_path_spec \
   16599 sys_lib_dlsearch_path_spec \
   16600 reload_cmds_CXX \
   16601 old_archive_cmds_CXX \
   16602 old_archive_from_new_cmds_CXX \
   16603 old_archive_from_expsyms_cmds_CXX \
   16604 archive_cmds_CXX \
   16605 archive_expsym_cmds_CXX \
   16606 module_cmds_CXX \
   16607 module_expsym_cmds_CXX \
   16608 export_symbols_cmds_CXX \
   16609 prelink_cmds_CXX \
   16610 postlink_cmds_CXX; do
   16611     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16612     *[\\\\\\\`\\"\\\$]*)
   16613       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16614       ;;
   16615     *)
   16616       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16617       ;;
   16618     esac
   16619 done
   16620 
   16621 ac_aux_dir='$ac_aux_dir'
   16622 xsi_shell='$xsi_shell'
   16623 lt_shell_append='$lt_shell_append'
   16624 
   16625 # See if we are running on zsh, and set the options which allow our
   16626 # commands through without removal of \ escapes INIT.
   16627 if test -n "\${ZSH_VERSION+set}" ; then
   16628    setopt NO_GLOB_SUBST
   16629 fi
   16630 
   16631 
   16632     PACKAGE='$PACKAGE'
   16633     VERSION='$VERSION'
   16634     TIMESTAMP='$TIMESTAMP'
   16635     RM='$RM'
   16636     ofile='$ofile'
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 _ACEOF
   16644 
   16645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16646 
   16647 # Handling of arguments.
   16648 for ac_config_target in $ac_config_targets
   16649 do
   16650   case $ac_config_target in
   16651     "build-aux/config.h") CONFIG_HEADERS="$CONFIG_HEADERS build-aux/config.h" ;;
   16652     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16653     "scripts/gtest-config") CONFIG_FILES="$CONFIG_FILES scripts/gtest-config" ;;
   16654     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16655     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16656 
   16657   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16658   esac
   16659 done
   16660 
   16661 
   16662 # If the user did not use the arguments to specify the items to instantiate,
   16663 # then the envvar interface is used.  Set only those that are not.
   16664 # We use the long form for the default assignment because of an extremely
   16665 # bizarre bug on SunOS 4.1.3.
   16666 if $ac_need_defaults; then
   16667   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16668   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16669   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16670 fi
   16671 
   16672 # Have a temporary directory for convenience.  Make it in the build tree
   16673 # simply because there is no reason against having it here, and in addition,
   16674 # creating and moving files from /tmp can sometimes cause problems.
   16675 # Hook for its removal unless debugging.
   16676 # Note that there is a small window in which the directory will not be cleaned:
   16677 # after its creation but before its name has been assigned to `$tmp'.
   16678 $debug ||
   16679 {
   16680   tmp= ac_tmp=
   16681   trap 'exit_status=$?
   16682   : "${ac_tmp:=$tmp}"
   16683   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   16684 ' 0
   16685   trap 'as_fn_exit 1' 1 2 13 15
   16686 }
   16687 # Create a (secure) tmp directory for tmp files.
   16688 
   16689 {
   16690   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16691   test -d "$tmp"
   16692 }  ||
   16693 {
   16694   tmp=./conf$$-$RANDOM
   16695   (umask 077 && mkdir "$tmp")
   16696 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   16697 ac_tmp=$tmp
   16698 
   16699 # Set up the scripts for CONFIG_FILES section.
   16700 # No need to generate them if there are no CONFIG_FILES.
   16701 # This happens for instance with `./config.status config.h'.
   16702 if test -n "$CONFIG_FILES"; then
   16703 
   16704 
   16705 ac_cr=`echo X | tr X '\015'`
   16706 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   16707 # But we know of no other shell where ac_cr would be empty at this
   16708 # point, so we can use a bashism as a fallback.
   16709 if test "x$ac_cr" = x; then
   16710   eval ac_cr=\$\'\\r\'
   16711 fi
   16712 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16713 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16714   ac_cs_awk_cr='\\r'
   16715 else
   16716   ac_cs_awk_cr=$ac_cr
   16717 fi
   16718 
   16719 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   16720 _ACEOF
   16721 
   16722 
   16723 {
   16724   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16725   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16726   echo "_ACEOF"
   16727 } >conf$$subs.sh ||
   16728   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16729 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   16730 ac_delim='%!_!# '
   16731 for ac_last_try in false false false false false :; do
   16732   . ./conf$$subs.sh ||
   16733     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16734 
   16735   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16736   if test $ac_delim_n = $ac_delim_num; then
   16737     break
   16738   elif $ac_last_try; then
   16739     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16740   else
   16741     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16742   fi
   16743 done
   16744 rm -f conf$$subs.sh
   16745 
   16746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16747 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   16748 _ACEOF
   16749 sed -n '
   16750 h
   16751 s/^/S["/; s/!.*/"]=/
   16752 p
   16753 g
   16754 s/^[^!]*!//
   16755 :repl
   16756 t repl
   16757 s/'"$ac_delim"'$//
   16758 t delim
   16759 :nl
   16760 h
   16761 s/\(.\{148\}\)..*/\1/
   16762 t more1
   16763 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16764 p
   16765 n
   16766 b repl
   16767 :more1
   16768 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16769 p
   16770 g
   16771 s/.\{148\}//
   16772 t nl
   16773 :delim
   16774 h
   16775 s/\(.\{148\}\)..*/\1/
   16776 t more2
   16777 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16778 p
   16779 b
   16780 :more2
   16781 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16782 p
   16783 g
   16784 s/.\{148\}//
   16785 t delim
   16786 ' <conf$$subs.awk | sed '
   16787 /^[^""]/{
   16788   N
   16789   s/\n//
   16790 }
   16791 ' >>$CONFIG_STATUS || ac_write_fail=1
   16792 rm -f conf$$subs.awk
   16793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16794 _ACAWK
   16795 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   16796   for (key in S) S_is_set[key] = 1
   16797   FS = ""
   16798 
   16799 }
   16800 {
   16801   line = $ 0
   16802   nfields = split(line, field, "@")
   16803   substed = 0
   16804   len = length(field[1])
   16805   for (i = 2; i < nfields; i++) {
   16806     key = field[i]
   16807     keylen = length(key)
   16808     if (S_is_set[key]) {
   16809       value = S[key]
   16810       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16811       len += length(value) + length(field[++i])
   16812       substed = 1
   16813     } else
   16814       len += 1 + keylen
   16815   }
   16816 
   16817   print line
   16818 }
   16819 
   16820 _ACAWK
   16821 _ACEOF
   16822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16823 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16824   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16825 else
   16826   cat
   16827 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   16828   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   16829 _ACEOF
   16830 
   16831 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   16832 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   16833 # trailing colons and then remove the whole line if VPATH becomes empty
   16834 # (actually we leave an empty line to preserve line numbers).
   16835 if test "x$srcdir" = x.; then
   16836   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   16837 h
   16838 s///
   16839 s/^/:/
   16840 s/[	 ]*$/:/
   16841 s/:\$(srcdir):/:/g
   16842 s/:\${srcdir}:/:/g
   16843 s/:@srcdir@:/:/g
   16844 s/^:*//
   16845 s/:*$//
   16846 x
   16847 s/\(=[	 ]*\).*/\1/
   16848 G
   16849 s/\n//
   16850 s/^[^=]*=[	 ]*$//
   16851 }'
   16852 fi
   16853 
   16854 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16855 fi # test -n "$CONFIG_FILES"
   16856 
   16857 # Set up the scripts for CONFIG_HEADERS section.
   16858 # No need to generate them if there are no CONFIG_HEADERS.
   16859 # This happens for instance with `./config.status Makefile'.
   16860 if test -n "$CONFIG_HEADERS"; then
   16861 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   16862 BEGIN {
   16863 _ACEOF
   16864 
   16865 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16866 # here-document in config.status, that substitutes the proper values into
   16867 # config.h.in to produce config.h.
   16868 
   16869 # Create a delimiter string that does not exist in confdefs.h, to ease
   16870 # handling of long lines.
   16871 ac_delim='%!_!# '
   16872 for ac_last_try in false false :; do
   16873   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   16874   if test -z "$ac_tt"; then
   16875     break
   16876   elif $ac_last_try; then
   16877     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   16878   else
   16879     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16880   fi
   16881 done
   16882 
   16883 # For the awk script, D is an array of macro values keyed by name,
   16884 # likewise P contains macro parameters if any.  Preserve backslash
   16885 # newline sequences.
   16886 
   16887 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16888 sed -n '
   16889 s/.\{148\}/&'"$ac_delim"'/g
   16890 t rset
   16891 :rset
   16892 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16893 t def
   16894 d
   16895 :def
   16896 s/\\$//
   16897 t bsnl
   16898 s/["\\]/\\&/g
   16899 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16900 D["\1"]=" \3"/p
   16901 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16902 d
   16903 :bsnl
   16904 s/["\\]/\\&/g
   16905 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16906 D["\1"]=" \3\\\\\\n"\\/p
   16907 t cont
   16908 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16909 t cont
   16910 d
   16911 :cont
   16912 n
   16913 s/.\{148\}/&'"$ac_delim"'/g
   16914 t clear
   16915 :clear
   16916 s/\\$//
   16917 t bsnlc
   16918 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16919 d
   16920 :bsnlc
   16921 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16922 b cont
   16923 ' <confdefs.h | sed '
   16924 s/'"$ac_delim"'/"\\\
   16925 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16926 
   16927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16928   for (key in D) D_is_set[key] = 1
   16929   FS = ""
   16930 }
   16931 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16932   line = \$ 0
   16933   split(line, arg, " ")
   16934   if (arg[1] == "#") {
   16935     defundef = arg[2]
   16936     mac1 = arg[3]
   16937   } else {
   16938     defundef = substr(arg[1], 2)
   16939     mac1 = arg[2]
   16940   }
   16941   split(mac1, mac2, "(") #)
   16942   macro = mac2[1]
   16943   prefix = substr(line, 1, index(line, defundef) - 1)
   16944   if (D_is_set[macro]) {
   16945     # Preserve the white space surrounding the "#".
   16946     print prefix "define", macro P[macro] D[macro]
   16947     next
   16948   } else {
   16949     # Replace #undef with comments.  This is necessary, for example,
   16950     # in the case of _POSIX_SOURCE, which is predefined and required
   16951     # on some systems where configure will not decide to define it.
   16952     if (defundef == "undef") {
   16953       print "/*", prefix defundef, macro, "*/"
   16954       next
   16955     }
   16956   }
   16957 }
   16958 { print }
   16959 _ACAWK
   16960 _ACEOF
   16961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16962   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   16963 fi # test -n "$CONFIG_HEADERS"
   16964 
   16965 
   16966 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   16967 shift
   16968 for ac_tag
   16969 do
   16970   case $ac_tag in
   16971   :[FHLC]) ac_mode=$ac_tag; continue;;
   16972   esac
   16973   case $ac_mode$ac_tag in
   16974   :[FHL]*:*);;
   16975   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   16976   :[FH]-) ac_tag=-:-;;
   16977   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   16978   esac
   16979   ac_save_IFS=$IFS
   16980   IFS=:
   16981   set x $ac_tag
   16982   IFS=$ac_save_IFS
   16983   shift
   16984   ac_file=$1
   16985   shift
   16986 
   16987   case $ac_mode in
   16988   :L) ac_source=$1;;
   16989   :[FH])
   16990     ac_file_inputs=
   16991     for ac_f
   16992     do
   16993       case $ac_f in
   16994       -) ac_f="$ac_tmp/stdin";;
   16995       *) # Look for the file first in the build tree, then in the source tree
   16996 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   16997 	 # because $ac_f cannot contain `:'.
   16998 	 test -f "$ac_f" ||
   16999 	   case $ac_f in
   17000 	   [\\/$]*) false;;
   17001 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17002 	   esac ||
   17003 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17004       esac
   17005       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17006       as_fn_append ac_file_inputs " '$ac_f'"
   17007     done
   17008 
   17009     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17010     # use $as_me), people would be surprised to read:
   17011     #    /* config.h.  Generated by config.status.  */
   17012     configure_input='Generated from '`
   17013 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17014 	`' by configure.'
   17015     if test x"$ac_file" != x-; then
   17016       configure_input="$ac_file.  $configure_input"
   17017       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17018 $as_echo "$as_me: creating $ac_file" >&6;}
   17019     fi
   17020     # Neutralize special characters interpreted by sed in replacement strings.
   17021     case $configure_input in #(
   17022     *\&* | *\|* | *\\* )
   17023        ac_sed_conf_input=`$as_echo "$configure_input" |
   17024        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17025     *) ac_sed_conf_input=$configure_input;;
   17026     esac
   17027 
   17028     case $ac_tag in
   17029     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17030       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17031     esac
   17032     ;;
   17033   esac
   17034 
   17035   ac_dir=`$as_dirname -- "$ac_file" ||
   17036 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17037 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17038 	 X"$ac_file" : 'X\(//\)$' \| \
   17039 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17040 $as_echo X"$ac_file" |
   17041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17042 	    s//\1/
   17043 	    q
   17044 	  }
   17045 	  /^X\(\/\/\)[^/].*/{
   17046 	    s//\1/
   17047 	    q
   17048 	  }
   17049 	  /^X\(\/\/\)$/{
   17050 	    s//\1/
   17051 	    q
   17052 	  }
   17053 	  /^X\(\/\).*/{
   17054 	    s//\1/
   17055 	    q
   17056 	  }
   17057 	  s/.*/./; q'`
   17058   as_dir="$ac_dir"; as_fn_mkdir_p
   17059   ac_builddir=.
   17060 
   17061 case "$ac_dir" in
   17062 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17063 *)
   17064   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17065   # A ".." for each directory in $ac_dir_suffix.
   17066   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17067   case $ac_top_builddir_sub in
   17068   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17069   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17070   esac ;;
   17071 esac
   17072 ac_abs_top_builddir=$ac_pwd
   17073 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17074 # for backward compatibility:
   17075 ac_top_builddir=$ac_top_build_prefix
   17076 
   17077 case $srcdir in
   17078   .)  # We are building in place.
   17079     ac_srcdir=.
   17080     ac_top_srcdir=$ac_top_builddir_sub
   17081     ac_abs_top_srcdir=$ac_pwd ;;
   17082   [\\/]* | ?:[\\/]* )  # Absolute name.
   17083     ac_srcdir=$srcdir$ac_dir_suffix;
   17084     ac_top_srcdir=$srcdir
   17085     ac_abs_top_srcdir=$srcdir ;;
   17086   *) # Relative name.
   17087     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17088     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17089     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17090 esac
   17091 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17092 
   17093 
   17094   case $ac_mode in
   17095   :F)
   17096   #
   17097   # CONFIG_FILE
   17098   #
   17099 
   17100   case $INSTALL in
   17101   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17102   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17103   esac
   17104   ac_MKDIR_P=$MKDIR_P
   17105   case $MKDIR_P in
   17106   [\\/$]* | ?:[\\/]* ) ;;
   17107   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17108   esac
   17109 _ACEOF
   17110 
   17111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17112 # If the template does not know about datarootdir, expand it.
   17113 # FIXME: This hack should be removed a few years after 2.60.
   17114 ac_datarootdir_hack=; ac_datarootdir_seen=
   17115 ac_sed_dataroot='
   17116 /datarootdir/ {
   17117   p
   17118   q
   17119 }
   17120 /@datadir@/p
   17121 /@docdir@/p
   17122 /@infodir@/p
   17123 /@localedir@/p
   17124 /@mandir@/p'
   17125 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17126 *datarootdir*) ac_datarootdir_seen=yes;;
   17127 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17128   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17129 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17130 _ACEOF
   17131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17132   ac_datarootdir_hack='
   17133   s&@datadir@&$datadir&g
   17134   s&@docdir@&$docdir&g
   17135   s&@infodir@&$infodir&g
   17136   s&@localedir@&$localedir&g
   17137   s&@mandir@&$mandir&g
   17138   s&\\\${datarootdir}&$datarootdir&g' ;;
   17139 esac
   17140 _ACEOF
   17141 
   17142 # Neutralize VPATH when `$srcdir' = `.'.
   17143 # Shell code in configure.ac might set extrasub.
   17144 # FIXME: do we really want to maintain this feature?
   17145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17146 ac_sed_extra="$ac_vpsub
   17147 $extrasub
   17148 _ACEOF
   17149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17150 :t
   17151 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17152 s|@configure_input@|$ac_sed_conf_input|;t t
   17153 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17154 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17155 s&@srcdir@&$ac_srcdir&;t t
   17156 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17157 s&@top_srcdir@&$ac_top_srcdir&;t t
   17158 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17159 s&@builddir@&$ac_builddir&;t t
   17160 s&@abs_builddir@&$ac_abs_builddir&;t t
   17161 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17162 s&@INSTALL@&$ac_INSTALL&;t t
   17163 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17164 $ac_datarootdir_hack
   17165 "
   17166 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17167   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17168 
   17169 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17170   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17171   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17172       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17173   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17174 which seems to be undefined.  Please make sure it is defined" >&5
   17175 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17176 which seems to be undefined.  Please make sure it is defined" >&2;}
   17177 
   17178   rm -f "$ac_tmp/stdin"
   17179   case $ac_file in
   17180   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   17181   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   17182   esac \
   17183   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17184  ;;
   17185   :H)
   17186   #
   17187   # CONFIG_HEADER
   17188   #
   17189   if test x"$ac_file" != x-; then
   17190     {
   17191       $as_echo "/* $configure_input  */" \
   17192       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   17193     } >"$ac_tmp/config.h" \
   17194       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17195     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   17196       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   17197 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17198     else
   17199       rm -f "$ac_file"
   17200       mv "$ac_tmp/config.h" "$ac_file" \
   17201 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17202     fi
   17203   else
   17204     $as_echo "/* $configure_input  */" \
   17205       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   17206       || as_fn_error $? "could not create -" "$LINENO" 5
   17207   fi
   17208 # Compute "$ac_file"'s index in $config_headers.
   17209 _am_arg="$ac_file"
   17210 _am_stamp_count=1
   17211 for _am_header in $config_headers :; do
   17212   case $_am_header in
   17213     $_am_arg | $_am_arg:* )
   17214       break ;;
   17215     * )
   17216       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17217   esac
   17218 done
   17219 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17220 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17221 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17222 	 X"$_am_arg" : 'X\(//\)$' \| \
   17223 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17224 $as_echo X"$_am_arg" |
   17225     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17226 	    s//\1/
   17227 	    q
   17228 	  }
   17229 	  /^X\(\/\/\)[^/].*/{
   17230 	    s//\1/
   17231 	    q
   17232 	  }
   17233 	  /^X\(\/\/\)$/{
   17234 	    s//\1/
   17235 	    q
   17236 	  }
   17237 	  /^X\(\/\).*/{
   17238 	    s//\1/
   17239 	    q
   17240 	  }
   17241 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17242  ;;
   17243 
   17244   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   17245 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17246  ;;
   17247   esac
   17248 
   17249 
   17250   case $ac_file$ac_mode in
   17251     "scripts/gtest-config":F) chmod +x scripts/gtest-config ;;
   17252     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17253   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   17254   # are listed without --file.  Let's play safe and only enable the eval
   17255   # if we detect the quoting.
   17256   case $CONFIG_FILES in
   17257   *\'*) eval set x "$CONFIG_FILES" ;;
   17258   *)   set x $CONFIG_FILES ;;
   17259   esac
   17260   shift
   17261   for mf
   17262   do
   17263     # Strip MF so we end up with the name of the file.
   17264     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17265     # Check whether this is an Automake generated Makefile or not.
   17266     # We used to match only the files named `Makefile.in', but
   17267     # some people rename them; so instead we look at the file content.
   17268     # Grep'ing the first line is not enough: some people post-process
   17269     # each Makefile.in and add a new line on top of each file to say so.
   17270     # Grep'ing the whole file is not good either: AIX grep has a line
   17271     # limit of 2048, but all sed's we know have understand at least 4000.
   17272     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   17273       dirpart=`$as_dirname -- "$mf" ||
   17274 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17275 	 X"$mf" : 'X\(//\)[^/]' \| \
   17276 	 X"$mf" : 'X\(//\)$' \| \
   17277 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   17278 $as_echo X"$mf" |
   17279     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17280 	    s//\1/
   17281 	    q
   17282 	  }
   17283 	  /^X\(\/\/\)[^/].*/{
   17284 	    s//\1/
   17285 	    q
   17286 	  }
   17287 	  /^X\(\/\/\)$/{
   17288 	    s//\1/
   17289 	    q
   17290 	  }
   17291 	  /^X\(\/\).*/{
   17292 	    s//\1/
   17293 	    q
   17294 	  }
   17295 	  s/.*/./; q'`
   17296     else
   17297       continue
   17298     fi
   17299     # Extract the definition of DEPDIR, am__include, and am__quote
   17300     # from the Makefile without running `make'.
   17301     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17302     test -z "$DEPDIR" && continue
   17303     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17304     test -z "am__include" && continue
   17305     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17306     # When using ansi2knr, U may be empty or an underscore; expand it
   17307     U=`sed -n 's/^U = //p' < "$mf"`
   17308     # Find all dependency output files, they are included files with
   17309     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17310     # simplest approach to changing $(DEPDIR) to its actual value in the
   17311     # expansion.
   17312     for file in `sed -n "
   17313       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17314 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   17315       # Make sure the directory exists.
   17316       test -f "$dirpart/$file" && continue
   17317       fdir=`$as_dirname -- "$file" ||
   17318 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17319 	 X"$file" : 'X\(//\)[^/]' \| \
   17320 	 X"$file" : 'X\(//\)$' \| \
   17321 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   17322 $as_echo X"$file" |
   17323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17324 	    s//\1/
   17325 	    q
   17326 	  }
   17327 	  /^X\(\/\/\)[^/].*/{
   17328 	    s//\1/
   17329 	    q
   17330 	  }
   17331 	  /^X\(\/\/\)$/{
   17332 	    s//\1/
   17333 	    q
   17334 	  }
   17335 	  /^X\(\/\).*/{
   17336 	    s//\1/
   17337 	    q
   17338 	  }
   17339 	  s/.*/./; q'`
   17340       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   17341       # echo "creating $dirpart/$file"
   17342       echo '# dummy' > "$dirpart/$file"
   17343     done
   17344   done
   17345 }
   17346  ;;
   17347     "libtool":C)
   17348 
   17349     # See if we are running on zsh, and set the options which allow our
   17350     # commands through without removal of \ escapes.
   17351     if test -n "${ZSH_VERSION+set}" ; then
   17352       setopt NO_GLOB_SUBST
   17353     fi
   17354 
   17355     cfgfile="${ofile}T"
   17356     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   17357     $RM "$cfgfile"
   17358 
   17359     cat <<_LT_EOF >> "$cfgfile"
   17360 #! $SHELL
   17361 
   17362 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   17363 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   17364 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17365 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   17366 #
   17367 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   17368 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   17369 #                 Foundation, Inc.
   17370 #   Written by Gordon Matzigkeit, 1996
   17371 #
   17372 #   This file is part of GNU Libtool.
   17373 #
   17374 # GNU Libtool is free software; you can redistribute it and/or
   17375 # modify it under the terms of the GNU General Public License as
   17376 # published by the Free Software Foundation; either version 2 of
   17377 # the License, or (at your option) any later version.
   17378 #
   17379 # As a special exception to the GNU General Public License,
   17380 # if you distribute this file as part of a program or library that
   17381 # is built using GNU Libtool, you may include this file under the
   17382 # same distribution terms that you use for the rest of that program.
   17383 #
   17384 # GNU Libtool is distributed in the hope that it will be useful,
   17385 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   17386 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17387 # GNU General Public License for more details.
   17388 #
   17389 # You should have received a copy of the GNU General Public License
   17390 # along with GNU Libtool; see the file COPYING.  If not, a copy
   17391 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   17392 # obtained by writing to the Free Software Foundation, Inc.,
   17393 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   17394 
   17395 
   17396 # The names of the tagged configurations supported by this script.
   17397 available_tags="CXX "
   17398 
   17399 # ### BEGIN LIBTOOL CONFIG
   17400 
   17401 # Which release of libtool.m4 was used?
   17402 macro_version=$macro_version
   17403 macro_revision=$macro_revision
   17404 
   17405 # Whether or not to build shared libraries.
   17406 build_libtool_libs=$enable_shared
   17407 
   17408 # Whether or not to build static libraries.
   17409 build_old_libs=$enable_static
   17410 
   17411 # What type of objects to build.
   17412 pic_mode=$pic_mode
   17413 
   17414 # Whether or not to optimize for fast installation.
   17415 fast_install=$enable_fast_install
   17416 
   17417 # Shell to use when invoking shell scripts.
   17418 SHELL=$lt_SHELL
   17419 
   17420 # An echo program that protects backslashes.
   17421 ECHO=$lt_ECHO
   17422 
   17423 # The PATH separator for the build system.
   17424 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   17425 
   17426 # The host system.
   17427 host_alias=$host_alias
   17428 host=$host
   17429 host_os=$host_os
   17430 
   17431 # The build system.
   17432 build_alias=$build_alias
   17433 build=$build
   17434 build_os=$build_os
   17435 
   17436 # A sed program that does not truncate output.
   17437 SED=$lt_SED
   17438 
   17439 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   17440 Xsed="\$SED -e 1s/^X//"
   17441 
   17442 # A grep program that handles long lines.
   17443 GREP=$lt_GREP
   17444 
   17445 # An ERE matcher.
   17446 EGREP=$lt_EGREP
   17447 
   17448 # A literal string matcher.
   17449 FGREP=$lt_FGREP
   17450 
   17451 # A BSD- or MS-compatible name lister.
   17452 NM=$lt_NM
   17453 
   17454 # Whether we need soft or hard links.
   17455 LN_S=$lt_LN_S
   17456 
   17457 # What is the maximum length of a command?
   17458 max_cmd_len=$max_cmd_len
   17459 
   17460 # Object file suffix (normally "o").
   17461 objext=$ac_objext
   17462 
   17463 # Executable file suffix (normally "").
   17464 exeext=$exeext
   17465 
   17466 # whether the shell understands "unset".
   17467 lt_unset=$lt_unset
   17468 
   17469 # turn spaces into newlines.
   17470 SP2NL=$lt_lt_SP2NL
   17471 
   17472 # turn newlines into spaces.
   17473 NL2SP=$lt_lt_NL2SP
   17474 
   17475 # convert \$build file names to \$host format.
   17476 to_host_file_cmd=$lt_cv_to_host_file_cmd
   17477 
   17478 # convert \$build files to toolchain format.
   17479 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   17480 
   17481 # An object symbol dumper.
   17482 OBJDUMP=$lt_OBJDUMP
   17483 
   17484 # Method to check whether dependent libraries are shared objects.
   17485 deplibs_check_method=$lt_deplibs_check_method
   17486 
   17487 # Command to use when deplibs_check_method = "file_magic".
   17488 file_magic_cmd=$lt_file_magic_cmd
   17489 
   17490 # How to find potential files when deplibs_check_method = "file_magic".
   17491 file_magic_glob=$lt_file_magic_glob
   17492 
   17493 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   17494 want_nocaseglob=$lt_want_nocaseglob
   17495 
   17496 # DLL creation program.
   17497 DLLTOOL=$lt_DLLTOOL
   17498 
   17499 # Command to associate shared and link libraries.
   17500 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   17501 
   17502 # The archiver.
   17503 AR=$lt_AR
   17504 
   17505 # Flags to create an archive.
   17506 AR_FLAGS=$lt_AR_FLAGS
   17507 
   17508 # How to feed a file listing to the archiver.
   17509 archiver_list_spec=$lt_archiver_list_spec
   17510 
   17511 # A symbol stripping program.
   17512 STRIP=$lt_STRIP
   17513 
   17514 # Commands used to install an old-style archive.
   17515 RANLIB=$lt_RANLIB
   17516 old_postinstall_cmds=$lt_old_postinstall_cmds
   17517 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17518 
   17519 # Whether to use a lock for old archive extraction.
   17520 lock_old_archive_extraction=$lock_old_archive_extraction
   17521 
   17522 # A C compiler.
   17523 LTCC=$lt_CC
   17524 
   17525 # LTCC compiler flags.
   17526 LTCFLAGS=$lt_CFLAGS
   17527 
   17528 # Take the output of nm and produce a listing of raw symbols and C names.
   17529 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17530 
   17531 # Transform the output of nm in a proper C declaration.
   17532 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17533 
   17534 # Transform the output of nm in a C name address pair.
   17535 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17536 
   17537 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17538 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17539 
   17540 # Specify filename containing input files for \$NM.
   17541 nm_file_list_spec=$lt_nm_file_list_spec
   17542 
   17543 # The root where to search for dependent libraries,and in which our libraries should be installed.
   17544 lt_sysroot=$lt_sysroot
   17545 
   17546 # The name of the directory that contains temporary libtool files.
   17547 objdir=$objdir
   17548 
   17549 # Used to examine libraries when file_magic_cmd begins with "file".
   17550 MAGIC_CMD=$MAGIC_CMD
   17551 
   17552 # Must we lock files when doing compilation?
   17553 need_locks=$lt_need_locks
   17554 
   17555 # Manifest tool.
   17556 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   17557 
   17558 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17559 DSYMUTIL=$lt_DSYMUTIL
   17560 
   17561 # Tool to change global to local symbols on Mac OS X.
   17562 NMEDIT=$lt_NMEDIT
   17563 
   17564 # Tool to manipulate fat objects and archives on Mac OS X.
   17565 LIPO=$lt_LIPO
   17566 
   17567 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17568 OTOOL=$lt_OTOOL
   17569 
   17570 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17571 OTOOL64=$lt_OTOOL64
   17572 
   17573 # Old archive suffix (normally "a").
   17574 libext=$libext
   17575 
   17576 # Shared library suffix (normally ".so").
   17577 shrext_cmds=$lt_shrext_cmds
   17578 
   17579 # The commands to extract the exported symbol list from a shared archive.
   17580 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17581 
   17582 # Variables whose values should be saved in libtool wrapper scripts and
   17583 # restored at link time.
   17584 variables_saved_for_relink=$lt_variables_saved_for_relink
   17585 
   17586 # Do we need the "lib" prefix for modules?
   17587 need_lib_prefix=$need_lib_prefix
   17588 
   17589 # Do we need a version for libraries?
   17590 need_version=$need_version
   17591 
   17592 # Library versioning type.
   17593 version_type=$version_type
   17594 
   17595 # Shared library runtime path variable.
   17596 runpath_var=$runpath_var
   17597 
   17598 # Shared library path variable.
   17599 shlibpath_var=$shlibpath_var
   17600 
   17601 # Is shlibpath searched before the hard-coded library search path?
   17602 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17603 
   17604 # Format of library name prefix.
   17605 libname_spec=$lt_libname_spec
   17606 
   17607 # List of archive names.  First name is the real one, the rest are links.
   17608 # The last name is the one that the linker finds with -lNAME
   17609 library_names_spec=$lt_library_names_spec
   17610 
   17611 # The coded name of the library, if different from the real name.
   17612 soname_spec=$lt_soname_spec
   17613 
   17614 # Permission mode override for installation of shared libraries.
   17615 install_override_mode=$lt_install_override_mode
   17616 
   17617 # Command to use after installation of a shared archive.
   17618 postinstall_cmds=$lt_postinstall_cmds
   17619 
   17620 # Command to use after uninstallation of a shared archive.
   17621 postuninstall_cmds=$lt_postuninstall_cmds
   17622 
   17623 # Commands used to finish a libtool library installation in a directory.
   17624 finish_cmds=$lt_finish_cmds
   17625 
   17626 # As "finish_cmds", except a single script fragment to be evaled but
   17627 # not shown.
   17628 finish_eval=$lt_finish_eval
   17629 
   17630 # Whether we should hardcode library paths into libraries.
   17631 hardcode_into_libs=$hardcode_into_libs
   17632 
   17633 # Compile-time system search path for libraries.
   17634 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17635 
   17636 # Run-time system search path for libraries.
   17637 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17638 
   17639 # Whether dlopen is supported.
   17640 dlopen_support=$enable_dlopen
   17641 
   17642 # Whether dlopen of programs is supported.
   17643 dlopen_self=$enable_dlopen_self
   17644 
   17645 # Whether dlopen of statically linked programs is supported.
   17646 dlopen_self_static=$enable_dlopen_self_static
   17647 
   17648 # Commands to strip libraries.
   17649 old_striplib=$lt_old_striplib
   17650 striplib=$lt_striplib
   17651 
   17652 
   17653 # The linker used to build libraries.
   17654 LD=$lt_LD
   17655 
   17656 # How to create reloadable object files.
   17657 reload_flag=$lt_reload_flag
   17658 reload_cmds=$lt_reload_cmds
   17659 
   17660 # Commands used to build an old-style archive.
   17661 old_archive_cmds=$lt_old_archive_cmds
   17662 
   17663 # A language specific compiler.
   17664 CC=$lt_compiler
   17665 
   17666 # Is the compiler the GNU compiler?
   17667 with_gcc=$GCC
   17668 
   17669 # Compiler flag to turn off builtin functions.
   17670 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17671 
   17672 # Additional compiler flags for building library objects.
   17673 pic_flag=$lt_lt_prog_compiler_pic
   17674 
   17675 # How to pass a linker flag through the compiler.
   17676 wl=$lt_lt_prog_compiler_wl
   17677 
   17678 # Compiler flag to prevent dynamic linking.
   17679 link_static_flag=$lt_lt_prog_compiler_static
   17680 
   17681 # Does compiler simultaneously support -c and -o options?
   17682 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17683 
   17684 # Whether or not to add -lc for building shared libraries.
   17685 build_libtool_need_lc=$archive_cmds_need_lc
   17686 
   17687 # Whether or not to disallow shared libs when runtime libs are static.
   17688 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17689 
   17690 # Compiler flag to allow reflexive dlopens.
   17691 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17692 
   17693 # Compiler flag to generate shared objects directly from archives.
   17694 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17695 
   17696 # Whether the compiler copes with passing no objects directly.
   17697 compiler_needs_object=$lt_compiler_needs_object
   17698 
   17699 # Create an old-style archive from a shared archive.
   17700 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17701 
   17702 # Create a temporary old-style archive to link instead of a shared archive.
   17703 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17704 
   17705 # Commands used to build a shared archive.
   17706 archive_cmds=$lt_archive_cmds
   17707 archive_expsym_cmds=$lt_archive_expsym_cmds
   17708 
   17709 # Commands used to build a loadable module if different from building
   17710 # a shared archive.
   17711 module_cmds=$lt_module_cmds
   17712 module_expsym_cmds=$lt_module_expsym_cmds
   17713 
   17714 # Whether we are building with GNU ld or not.
   17715 with_gnu_ld=$lt_with_gnu_ld
   17716 
   17717 # Flag that allows shared libraries with undefined symbols to be built.
   17718 allow_undefined_flag=$lt_allow_undefined_flag
   17719 
   17720 # Flag that enforces no undefined symbols.
   17721 no_undefined_flag=$lt_no_undefined_flag
   17722 
   17723 # Flag to hardcode \$libdir into a binary during linking.
   17724 # This must work even if \$libdir does not exist
   17725 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17726 
   17727 # Whether we need a single "-rpath" flag with a separated argument.
   17728 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17729 
   17730 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17731 # DIR into the resulting binary.
   17732 hardcode_direct=$hardcode_direct
   17733 
   17734 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17735 # DIR into the resulting binary and the resulting library dependency is
   17736 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17737 # library is relocated.
   17738 hardcode_direct_absolute=$hardcode_direct_absolute
   17739 
   17740 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17741 # into the resulting binary.
   17742 hardcode_minus_L=$hardcode_minus_L
   17743 
   17744 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17745 # into the resulting binary.
   17746 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17747 
   17748 # Set to "yes" if building a shared library automatically hardcodes DIR
   17749 # into the library and all subsequent libraries and executables linked
   17750 # against it.
   17751 hardcode_automatic=$hardcode_automatic
   17752 
   17753 # Set to yes if linker adds runtime paths of dependent libraries
   17754 # to runtime path list.
   17755 inherit_rpath=$inherit_rpath
   17756 
   17757 # Whether libtool must link a program against all its dependency libraries.
   17758 link_all_deplibs=$link_all_deplibs
   17759 
   17760 # Set to "yes" if exported symbols are required.
   17761 always_export_symbols=$always_export_symbols
   17762 
   17763 # The commands to list exported symbols.
   17764 export_symbols_cmds=$lt_export_symbols_cmds
   17765 
   17766 # Symbols that should not be listed in the preloaded symbols.
   17767 exclude_expsyms=$lt_exclude_expsyms
   17768 
   17769 # Symbols that must always be exported.
   17770 include_expsyms=$lt_include_expsyms
   17771 
   17772 # Commands necessary for linking programs (against libraries) with templates.
   17773 prelink_cmds=$lt_prelink_cmds
   17774 
   17775 # Commands necessary for finishing linking programs.
   17776 postlink_cmds=$lt_postlink_cmds
   17777 
   17778 # Specify filename containing input files.
   17779 file_list_spec=$lt_file_list_spec
   17780 
   17781 # How to hardcode a shared library path into an executable.
   17782 hardcode_action=$hardcode_action
   17783 
   17784 # The directories searched by this compiler when creating a shared library.
   17785 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   17786 
   17787 # Dependencies to place before and after the objects being linked to
   17788 # create a shared library.
   17789 predep_objects=$lt_predep_objects
   17790 postdep_objects=$lt_postdep_objects
   17791 predeps=$lt_predeps
   17792 postdeps=$lt_postdeps
   17793 
   17794 # The library search path used internally by the compiler when linking
   17795 # a shared library.
   17796 compiler_lib_search_path=$lt_compiler_lib_search_path
   17797 
   17798 # ### END LIBTOOL CONFIG
   17799 
   17800 _LT_EOF
   17801 
   17802   case $host_os in
   17803   aix3*)
   17804     cat <<\_LT_EOF >> "$cfgfile"
   17805 # AIX sometimes has problems with the GCC collect2 program.  For some
   17806 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17807 # vanish in a puff of smoke.
   17808 if test "X${COLLECT_NAMES+set}" != Xset; then
   17809   COLLECT_NAMES=
   17810   export COLLECT_NAMES
   17811 fi
   17812 _LT_EOF
   17813     ;;
   17814   esac
   17815 
   17816 
   17817 ltmain="$ac_aux_dir/ltmain.sh"
   17818 
   17819 
   17820   # We use sed instead of cat because bash on DJGPP gets confused if
   17821   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17822   # text mode, it properly converts lines to CR/LF.  This bash problem
   17823   # is reportedly fixed, but why not run on old versions too?
   17824   sed '$q' "$ltmain" >> "$cfgfile" \
   17825      || (rm -f "$cfgfile"; exit 1)
   17826 
   17827   if test x"$xsi_shell" = xyes; then
   17828   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   17829 func_dirname ()\
   17830 {\
   17831 \    case ${1} in\
   17832 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17833 \      *  ) func_dirname_result="${3}" ;;\
   17834 \    esac\
   17835 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   17836   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17837     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17838 test 0 -eq $? || _lt_function_replace_fail=:
   17839 
   17840 
   17841   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   17842 func_basename ()\
   17843 {\
   17844 \    func_basename_result="${1##*/}"\
   17845 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   17846   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17847     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17848 test 0 -eq $? || _lt_function_replace_fail=:
   17849 
   17850 
   17851   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   17852 func_dirname_and_basename ()\
   17853 {\
   17854 \    case ${1} in\
   17855 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   17856 \      *  ) func_dirname_result="${3}" ;;\
   17857 \    esac\
   17858 \    func_basename_result="${1##*/}"\
   17859 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   17860   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17861     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17862 test 0 -eq $? || _lt_function_replace_fail=:
   17863 
   17864 
   17865   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   17866 func_stripname ()\
   17867 {\
   17868 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   17869 \    # positional parameters, so assign one to ordinary parameter first.\
   17870 \    func_stripname_result=${3}\
   17871 \    func_stripname_result=${func_stripname_result#"${1}"}\
   17872 \    func_stripname_result=${func_stripname_result%"${2}"}\
   17873 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   17874   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17875     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17876 test 0 -eq $? || _lt_function_replace_fail=:
   17877 
   17878 
   17879   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   17880 func_split_long_opt ()\
   17881 {\
   17882 \    func_split_long_opt_name=${1%%=*}\
   17883 \    func_split_long_opt_arg=${1#*=}\
   17884 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   17885   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17886     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17887 test 0 -eq $? || _lt_function_replace_fail=:
   17888 
   17889 
   17890   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   17891 func_split_short_opt ()\
   17892 {\
   17893 \    func_split_short_opt_arg=${1#??}\
   17894 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   17895 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   17896   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17897     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17898 test 0 -eq $? || _lt_function_replace_fail=:
   17899 
   17900 
   17901   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   17902 func_lo2o ()\
   17903 {\
   17904 \    case ${1} in\
   17905 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   17906 \      *)    func_lo2o_result=${1} ;;\
   17907 \    esac\
   17908 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   17909   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17910     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17911 test 0 -eq $? || _lt_function_replace_fail=:
   17912 
   17913 
   17914   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   17915 func_xform ()\
   17916 {\
   17917     func_xform_result=${1%.*}.lo\
   17918 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   17919   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17920     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17921 test 0 -eq $? || _lt_function_replace_fail=:
   17922 
   17923 
   17924   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   17925 func_arith ()\
   17926 {\
   17927     func_arith_result=$(( $* ))\
   17928 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   17929   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17930     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17931 test 0 -eq $? || _lt_function_replace_fail=:
   17932 
   17933 
   17934   sed -e '/^func_len ()$/,/^} # func_len /c\
   17935 func_len ()\
   17936 {\
   17937     func_len_result=${#1}\
   17938 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   17939   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17940     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17941 test 0 -eq $? || _lt_function_replace_fail=:
   17942 
   17943 fi
   17944 
   17945 if test x"$lt_shell_append" = xyes; then
   17946   sed -e '/^func_append ()$/,/^} # func_append /c\
   17947 func_append ()\
   17948 {\
   17949     eval "${1}+=\\${2}"\
   17950 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   17951   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17952     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17953 test 0 -eq $? || _lt_function_replace_fail=:
   17954 
   17955 
   17956   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   17957 func_append_quoted ()\
   17958 {\
   17959 \    func_quote_for_eval "${2}"\
   17960 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   17961 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   17962   && mv -f "$cfgfile.tmp" "$cfgfile" \
   17963     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17964 test 0 -eq $? || _lt_function_replace_fail=:
   17965 
   17966 
   17967   # Save a `func_append' function call where possible by direct use of '+='
   17968   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   17969     && mv -f "$cfgfile.tmp" "$cfgfile" \
   17970       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17971   test 0 -eq $? || _lt_function_replace_fail=:
   17972 else
   17973   # Save a `func_append' function call even when '+=' is not available
   17974   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   17975     && mv -f "$cfgfile.tmp" "$cfgfile" \
   17976       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   17977   test 0 -eq $? || _lt_function_replace_fail=:
   17978 fi
   17979 
   17980 if test x"$_lt_function_replace_fail" = x":"; then
   17981   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   17982 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   17983 fi
   17984 
   17985 
   17986    mv -f "$cfgfile" "$ofile" ||
   17987     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   17988   chmod +x "$ofile"
   17989 
   17990 
   17991     cat <<_LT_EOF >> "$ofile"
   17992 
   17993 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   17994 
   17995 # The linker used to build libraries.
   17996 LD=$lt_LD_CXX
   17997 
   17998 # How to create reloadable object files.
   17999 reload_flag=$lt_reload_flag_CXX
   18000 reload_cmds=$lt_reload_cmds_CXX
   18001 
   18002 # Commands used to build an old-style archive.
   18003 old_archive_cmds=$lt_old_archive_cmds_CXX
   18004 
   18005 # A language specific compiler.
   18006 CC=$lt_compiler_CXX
   18007 
   18008 # Is the compiler the GNU compiler?
   18009 with_gcc=$GCC_CXX
   18010 
   18011 # Compiler flag to turn off builtin functions.
   18012 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   18013 
   18014 # Additional compiler flags for building library objects.
   18015 pic_flag=$lt_lt_prog_compiler_pic_CXX
   18016 
   18017 # How to pass a linker flag through the compiler.
   18018 wl=$lt_lt_prog_compiler_wl_CXX
   18019 
   18020 # Compiler flag to prevent dynamic linking.
   18021 link_static_flag=$lt_lt_prog_compiler_static_CXX
   18022 
   18023 # Does compiler simultaneously support -c and -o options?
   18024 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   18025 
   18026 # Whether or not to add -lc for building shared libraries.
   18027 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   18028 
   18029 # Whether or not to disallow shared libs when runtime libs are static.
   18030 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   18031 
   18032 # Compiler flag to allow reflexive dlopens.
   18033 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   18034 
   18035 # Compiler flag to generate shared objects directly from archives.
   18036 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   18037 
   18038 # Whether the compiler copes with passing no objects directly.
   18039 compiler_needs_object=$lt_compiler_needs_object_CXX
   18040 
   18041 # Create an old-style archive from a shared archive.
   18042 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   18043 
   18044 # Create a temporary old-style archive to link instead of a shared archive.
   18045 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   18046 
   18047 # Commands used to build a shared archive.
   18048 archive_cmds=$lt_archive_cmds_CXX
   18049 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   18050 
   18051 # Commands used to build a loadable module if different from building
   18052 # a shared archive.
   18053 module_cmds=$lt_module_cmds_CXX
   18054 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   18055 
   18056 # Whether we are building with GNU ld or not.
   18057 with_gnu_ld=$lt_with_gnu_ld_CXX
   18058 
   18059 # Flag that allows shared libraries with undefined symbols to be built.
   18060 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   18061 
   18062 # Flag that enforces no undefined symbols.
   18063 no_undefined_flag=$lt_no_undefined_flag_CXX
   18064 
   18065 # Flag to hardcode \$libdir into a binary during linking.
   18066 # This must work even if \$libdir does not exist
   18067 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   18068 
   18069 # Whether we need a single "-rpath" flag with a separated argument.
   18070 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   18071 
   18072 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18073 # DIR into the resulting binary.
   18074 hardcode_direct=$hardcode_direct_CXX
   18075 
   18076 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18077 # DIR into the resulting binary and the resulting library dependency is
   18078 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18079 # library is relocated.
   18080 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   18081 
   18082 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18083 # into the resulting binary.
   18084 hardcode_minus_L=$hardcode_minus_L_CXX
   18085 
   18086 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18087 # into the resulting binary.
   18088 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   18089 
   18090 # Set to "yes" if building a shared library automatically hardcodes DIR
   18091 # into the library and all subsequent libraries and executables linked
   18092 # against it.
   18093 hardcode_automatic=$hardcode_automatic_CXX
   18094 
   18095 # Set to yes if linker adds runtime paths of dependent libraries
   18096 # to runtime path list.
   18097 inherit_rpath=$inherit_rpath_CXX
   18098 
   18099 # Whether libtool must link a program against all its dependency libraries.
   18100 link_all_deplibs=$link_all_deplibs_CXX
   18101 
   18102 # Set to "yes" if exported symbols are required.
   18103 always_export_symbols=$always_export_symbols_CXX
   18104 
   18105 # The commands to list exported symbols.
   18106 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   18107 
   18108 # Symbols that should not be listed in the preloaded symbols.
   18109 exclude_expsyms=$lt_exclude_expsyms_CXX
   18110 
   18111 # Symbols that must always be exported.
   18112 include_expsyms=$lt_include_expsyms_CXX
   18113 
   18114 # Commands necessary for linking programs (against libraries) with templates.
   18115 prelink_cmds=$lt_prelink_cmds_CXX
   18116 
   18117 # Commands necessary for finishing linking programs.
   18118 postlink_cmds=$lt_postlink_cmds_CXX
   18119 
   18120 # Specify filename containing input files.
   18121 file_list_spec=$lt_file_list_spec_CXX
   18122 
   18123 # How to hardcode a shared library path into an executable.
   18124 hardcode_action=$hardcode_action_CXX
   18125 
   18126 # The directories searched by this compiler when creating a shared library.
   18127 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   18128 
   18129 # Dependencies to place before and after the objects being linked to
   18130 # create a shared library.
   18131 predep_objects=$lt_predep_objects_CXX
   18132 postdep_objects=$lt_postdep_objects_CXX
   18133 predeps=$lt_predeps_CXX
   18134 postdeps=$lt_postdeps_CXX
   18135 
   18136 # The library search path used internally by the compiler when linking
   18137 # a shared library.
   18138 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   18139 
   18140 # ### END LIBTOOL TAG CONFIG: CXX
   18141 _LT_EOF
   18142 
   18143  ;;
   18144 
   18145   esac
   18146 done # for ac_tag
   18147 
   18148 
   18149 as_fn_exit 0
   18150 _ACEOF
   18151 ac_clean_files=$ac_clean_files_save
   18152 
   18153 test $ac_write_fail = 0 ||
   18154   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   18155 
   18156 
   18157 # configure is writing to config.log, and then calls config.status.
   18158 # config.status does its own redirection, appending to config.log.
   18159 # Unfortunately, on DOS this fails, as config.log is still kept open
   18160 # by configure, so config.status won't be able to write to it; its
   18161 # output is simply discarded.  So we exec the FD to /dev/null,
   18162 # effectively closing config.log, so it can be properly (re)opened and
   18163 # appended to by config.status.  When coming back to configure, we
   18164 # need to make the FD available again.
   18165 if test "$no_create" != yes; then
   18166   ac_cs_success=:
   18167   ac_config_status_args=
   18168   test "$silent" = yes &&
   18169     ac_config_status_args="$ac_config_status_args --quiet"
   18170   exec 5>/dev/null
   18171   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18172   exec 5>>config.log
   18173   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18174   # would make configure fail if this is the last instruction.
   18175   $ac_cs_success || as_fn_exit 1
   18176 fi
   18177 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18178   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18179 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18180 fi
   18181 
   18182