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.69 for Google C++ Testing Framework 1.5.0.
      4 #
      5 # Report bugs to <googletestframework (at] googlegroups.com>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: googletestframework (at] googlegroups.com about your system,
    279 $0: including any error possibly output before this
    280 $0: message. Then install a modern shell, or manually run
    281 $0: the script under such a shell if you do have one."
    282   fi
    283   exit 1
    284 fi
    285 fi
    286 fi
    287 SHELL=${CONFIG_SHELL-/bin/sh}
    288 export SHELL
    289 # Unset more variables known to interfere with behavior of common tools.
    290 CLICOLOR_FORCE= GREP_OPTIONS=
    291 unset CLICOLOR_FORCE GREP_OPTIONS
    292 
    293 ## --------------------- ##
    294 ## M4sh Shell Functions. ##
    295 ## --------------------- ##
    296 # as_fn_unset VAR
    297 # ---------------
    298 # Portably unset VAR.
    299 as_fn_unset ()
    300 {
    301   { eval $1=; unset $1;}
    302 }
    303 as_unset=as_fn_unset
    304 
    305 # as_fn_set_status STATUS
    306 # -----------------------
    307 # Set $? to STATUS, without forking.
    308 as_fn_set_status ()
    309 {
    310   return $1
    311 } # as_fn_set_status
    312 
    313 # as_fn_exit STATUS
    314 # -----------------
    315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    316 as_fn_exit ()
    317 {
    318   set +e
    319   as_fn_set_status $1
    320   exit $1
    321 } # as_fn_exit
    322 
    323 # as_fn_mkdir_p
    324 # -------------
    325 # Create "$as_dir" as a directory, including parents if necessary.
    326 as_fn_mkdir_p ()
    327 {
    328 
    329   case $as_dir in #(
    330   -*) as_dir=./$as_dir;;
    331   esac
    332   test -d "$as_dir" || eval $as_mkdir_p || {
    333     as_dirs=
    334     while :; do
    335       case $as_dir in #(
    336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    337       *) as_qdir=$as_dir;;
    338       esac
    339       as_dirs="'$as_qdir' $as_dirs"
    340       as_dir=`$as_dirname -- "$as_dir" ||
    341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    342 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    343 	 X"$as_dir" : 'X\(//\)$' \| \
    344 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    345 $as_echo X"$as_dir" |
    346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    347 	    s//\1/
    348 	    q
    349 	  }
    350 	  /^X\(\/\/\)[^/].*/{
    351 	    s//\1/
    352 	    q
    353 	  }
    354 	  /^X\(\/\/\)$/{
    355 	    s//\1/
    356 	    q
    357 	  }
    358 	  /^X\(\/\).*/{
    359 	    s//\1/
    360 	    q
    361 	  }
    362 	  s/.*/./; q'`
    363       test -d "$as_dir" && break
    364     done
    365     test -z "$as_dirs" || eval "mkdir $as_dirs"
    366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    367 
    368 
    369 } # as_fn_mkdir_p
    370 
    371 # as_fn_executable_p FILE
    372 # -----------------------
    373 # Test if FILE is an executable regular file.
    374 as_fn_executable_p ()
    375 {
    376   test -f "$1" && test -x "$1"
    377 } # as_fn_executable_p
    378 # as_fn_append VAR VALUE
    379 # ----------------------
    380 # Append the text in VALUE to the end of the definition contained in VAR. Take
    381 # advantage of any shell optimizations that allow amortized linear growth over
    382 # repeated appends, instead of the typical quadratic growth present in naive
    383 # implementations.
    384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    385   eval 'as_fn_append ()
    386   {
    387     eval $1+=\$2
    388   }'
    389 else
    390   as_fn_append ()
    391   {
    392     eval $1=\$$1\$2
    393   }
    394 fi # as_fn_append
    395 
    396 # as_fn_arith ARG...
    397 # ------------------
    398 # Perform arithmetic evaluation on the ARGs, and store the result in the
    399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    400 # must be portable across $(()) and expr.
    401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    402   eval 'as_fn_arith ()
    403   {
    404     as_val=$(( $* ))
    405   }'
    406 else
    407   as_fn_arith ()
    408   {
    409     as_val=`expr "$@" || test $? -eq 1`
    410   }
    411 fi # as_fn_arith
    412 
    413 
    414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    415 # ----------------------------------------
    416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    418 # script with STATUS, using 1 if that was 0.
    419 as_fn_error ()
    420 {
    421   as_status=$1; test $as_status -eq 0 && as_status=1
    422   if test "$4"; then
    423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    425   fi
    426   $as_echo "$as_me: error: $2" >&2
    427   as_fn_exit $as_status
    428 } # as_fn_error
    429 
    430 if expr a : '\(a\)' >/dev/null 2>&1 &&
    431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    432   as_expr=expr
    433 else
    434   as_expr=false
    435 fi
    436 
    437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    438   as_basename=basename
    439 else
    440   as_basename=false
    441 fi
    442 
    443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    444   as_dirname=dirname
    445 else
    446   as_dirname=false
    447 fi
    448 
    449 as_me=`$as_basename -- "$0" ||
    450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    451 	 X"$0" : 'X\(//\)$' \| \
    452 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    453 $as_echo X/"$0" |
    454     sed '/^.*\/\([^/][^/]*\)\/*$/{
    455 	    s//\1/
    456 	    q
    457 	  }
    458 	  /^X\/\(\/\/\)$/{
    459 	    s//\1/
    460 	    q
    461 	  }
    462 	  /^X\/\(\/\).*/{
    463 	    s//\1/
    464 	    q
    465 	  }
    466 	  s/.*/./; q'`
    467 
    468 # Avoid depending upon Character Ranges.
    469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    472 as_cr_digits='0123456789'
    473 as_cr_alnum=$as_cr_Letters$as_cr_digits
    474 
    475 
    476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    481   sed -n '
    482     p
    483     /[$]LINENO/=
    484   ' <$as_myself |
    485     sed '
    486       s/[$]LINENO.*/&-/
    487       t lineno
    488       b
    489       :lineno
    490       N
    491       :loop
    492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    493       t loop
    494       s/-\n.*//
    495     ' >$as_me.lineno &&
    496   chmod +x "$as_me.lineno" ||
    497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    498 
    499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    500   # already done that, so ensure we don't try to do so again and fall
    501   # in an infinite loop.  This has already happened in practice.
    502   _as_can_reexec=no; export _as_can_reexec
    503   # Don't try to exec as it changes $[0], causing all sort of problems
    504   # (the dirname of $[0] is not the place where we might find the
    505   # original and so on.  Autoconf is especially sensitive to this).
    506   . "./$as_me.lineno"
    507   # Exit status is that of the last command.
    508   exit
    509 }
    510 
    511 ECHO_C= ECHO_N= ECHO_T=
    512 case `echo -n x` in #(((((
    513 -n*)
    514   case `echo 'xy\c'` in
    515   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    516   xy)  ECHO_C='\c';;
    517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    518        ECHO_T='	';;
    519   esac;;
    520 *)
    521   ECHO_N='-n';;
    522 esac
    523 
    524 rm -f conf$$ conf$$.exe conf$$.file
    525 if test -d conf$$.dir; then
    526   rm -f conf$$.dir/conf$$.file
    527 else
    528   rm -f conf$$.dir
    529   mkdir conf$$.dir 2>/dev/null
    530 fi
    531 if (echo >conf$$.file) 2>/dev/null; then
    532   if ln -s conf$$.file conf$$ 2>/dev/null; then
    533     as_ln_s='ln -s'
    534     # ... but there are two gotchas:
    535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    537     # In both cases, we have to default to `cp -pR'.
    538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    539       as_ln_s='cp -pR'
    540   elif ln conf$$.file conf$$ 2>/dev/null; then
    541     as_ln_s=ln
    542   else
    543     as_ln_s='cp -pR'
    544   fi
    545 else
    546   as_ln_s='cp -pR'
    547 fi
    548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    549 rmdir conf$$.dir 2>/dev/null
    550 
    551 if mkdir -p . 2>/dev/null; then
    552   as_mkdir_p='mkdir -p "$as_dir"'
    553 else
    554   test -d ./-p && rmdir ./-p
    555   as_mkdir_p=false
    556 fi
    557 
    558 as_test_x='test -x'
    559 as_executable_p=as_fn_executable_p
    560 
    561 # Sed expression to map a string onto a valid CPP name.
    562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 # Sed expression to map a string onto a valid variable name.
    565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566 
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569 
    570 test -n "$DJDIR" || exec 7<&0 </dev/null
    571 exec 6>&1
    572 
    573 # Name of the host.
    574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    575 # so uname gets run too.
    576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    577 
    578 #
    579 # Initializations.
    580 #
    581 ac_default_prefix=/usr/local
    582 ac_clean_files=
    583 ac_config_libobj_dir=.
    584 LIBOBJS=
    585 cross_compiling=no
    586 subdirs=
    587 MFLAGS=
    588 MAKEFLAGS=
    589 
    590 # Identity of this package.
    591 PACKAGE_NAME='Google C++ Testing Framework'
    592 PACKAGE_TARNAME='gtest'
    593 PACKAGE_VERSION='1.5.0'
    594 PACKAGE_STRING='Google C++ Testing Framework 1.5.0'
    595 PACKAGE_BUGREPORT='googletestframework (at] googlegroups.com'
    596 PACKAGE_URL=''
    597 
    598 ac_unique_file="./COPYING"
    599 # Factoring default headers for most tests.
    600 ac_includes_default="\
    601 #include <stdio.h>
    602 #ifdef HAVE_SYS_TYPES_H
    603 # include <sys/types.h>
    604 #endif
    605 #ifdef HAVE_SYS_STAT_H
    606 # include <sys/stat.h>
    607 #endif
    608 #ifdef STDC_HEADERS
    609 # include <stdlib.h>
    610 # include <stddef.h>
    611 #else
    612 # ifdef HAVE_STDLIB_H
    613 #  include <stdlib.h>
    614 # endif
    615 #endif
    616 #ifdef HAVE_STRING_H
    617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    618 #  include <memory.h>
    619 # endif
    620 # include <string.h>
    621 #endif
    622 #ifdef HAVE_STRINGS_H
    623 # include <strings.h>
    624 #endif
    625 #ifdef HAVE_INTTYPES_H
    626 # include <inttypes.h>
    627 #endif
    628 #ifdef HAVE_STDINT_H
    629 # include <stdint.h>
    630 #endif
    631 #ifdef HAVE_UNISTD_H
    632 # include <unistd.h>
    633 #endif"
    634 
    635 ac_subst_vars='am__EXEEXT_FALSE
    636 am__EXEEXT_TRUE
    637 LTLIBOBJS
    638 LIBOBJS
    639 HAVE_PTHREADS_FALSE
    640 HAVE_PTHREADS_TRUE
    641 PTHREAD_CFLAGS
    642 PTHREAD_LIBS
    643 PTHREAD_CC
    644 acx_pthread_config
    645 HAVE_PYTHON_FALSE
    646 HAVE_PYTHON_TRUE
    647 PYTHON
    648 CXXCPP
    649 CPP
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 MANIFEST_TOOL
    656 RANLIB
    657 ac_ct_AR
    658 AR
    659 DLLTOOL
    660 OBJDUMP
    661 LN_S
    662 NM
    663 ac_ct_DUMPBIN
    664 DUMPBIN
    665 LD
    666 FGREP
    667 EGREP
    668 GREP
    669 SED
    670 host_os
    671 host_vendor
    672 host_cpu
    673 host
    674 build_os
    675 build_vendor
    676 build_cpu
    677 build
    678 LIBTOOL
    679 am__fastdepCXX_FALSE
    680 am__fastdepCXX_TRUE
    681 CXXDEPMODE
    682 ac_ct_CXX
    683 CXXFLAGS
    684 CXX
    685 am__fastdepCC_FALSE
    686 am__fastdepCC_TRUE
    687 CCDEPMODE
    688 am__nodep
    689 AMDEPBACKSLASH
    690 AMDEP_FALSE
    691 AMDEP_TRUE
    692 am__quote
    693 am__include
    694 DEPDIR
    695 OBJEXT
    696 EXEEXT
    697 ac_ct_CC
    698 CPPFLAGS
    699 LDFLAGS
    700 CFLAGS
    701 CC
    702 AM_BACKSLASH
    703 AM_DEFAULT_VERBOSITY
    704 AM_DEFAULT_V
    705 AM_V
    706 am__untar
    707 am__tar
    708 AMTAR
    709 am__leading_dot
    710 SET_MAKE
    711 AWK
    712 mkdir_p
    713 MKDIR_P
    714 INSTALL_STRIP_PROGRAM
    715 STRIP
    716 install_sh
    717 MAKEINFO
    718 AUTOHEADER
    719 AUTOMAKE
    720 AUTOCONF
    721 ACLOCAL
    722 VERSION
    723 PACKAGE
    724 CYGPATH_W
    725 am__isrc
    726 INSTALL_DATA
    727 INSTALL_SCRIPT
    728 INSTALL_PROGRAM
    729 target_alias
    730 host_alias
    731 build_alias
    732 LIBS
    733 ECHO_T
    734 ECHO_N
    735 ECHO_C
    736 DEFS
    737 mandir
    738 localedir
    739 libdir
    740 psdir
    741 pdfdir
    742 dvidir
    743 htmldir
    744 infodir
    745 docdir
    746 oldincludedir
    747 includedir
    748 localstatedir
    749 sharedstatedir
    750 sysconfdir
    751 datadir
    752 datarootdir
    753 libexecdir
    754 sbindir
    755 bindir
    756 program_transform_name
    757 prefix
    758 exec_prefix
    759 PACKAGE_URL
    760 PACKAGE_BUGREPORT
    761 PACKAGE_STRING
    762 PACKAGE_VERSION
    763 PACKAGE_TARNAME
    764 PACKAGE_NAME
    765 PATH_SEPARATOR
    766 SHELL'
    767 ac_subst_files=''
    768 ac_user_opts='
    769 enable_option_checking
    770 enable_silent_rules
    771 enable_dependency_tracking
    772 enable_shared
    773 enable_static
    774 with_pic
    775 enable_fast_install
    776 with_gnu_ld
    777 with_sysroot
    778 enable_libtool_lock
    779 with_pthreads
    780 '
    781       ac_precious_vars='build_alias
    782 host_alias
    783 target_alias
    784 CC
    785 CFLAGS
    786 LDFLAGS
    787 LIBS
    788 CPPFLAGS
    789 CXX
    790 CXXFLAGS
    791 CCC
    792 CPP
    793 CXXCPP'
    794 
    795 
    796 # Initialize some variables set by options.
    797 ac_init_help=
    798 ac_init_version=false
    799 ac_unrecognized_opts=
    800 ac_unrecognized_sep=
    801 # The variables have the same names as the options, with
    802 # dashes changed to underlines.
    803 cache_file=/dev/null
    804 exec_prefix=NONE
    805 no_create=
    806 no_recursion=
    807 prefix=NONE
    808 program_prefix=NONE
    809 program_suffix=NONE
    810 program_transform_name=s,x,x,
    811 silent=
    812 site=
    813 srcdir=
    814 verbose=
    815 x_includes=NONE
    816 x_libraries=NONE
    817 
    818 # Installation directory options.
    819 # These are left unexpanded so users can "make install exec_prefix=/foo"
    820 # and all the variables that are supposed to be based on exec_prefix
    821 # by default will actually change.
    822 # Use braces instead of parens because sh, perl, etc. also accept them.
    823 # (The list follows the same order as the GNU Coding Standards.)
    824 bindir='${exec_prefix}/bin'
    825 sbindir='${exec_prefix}/sbin'
    826 libexecdir='${exec_prefix}/libexec'
    827 datarootdir='${prefix}/share'
    828 datadir='${datarootdir}'
    829 sysconfdir='${prefix}/etc'
    830 sharedstatedir='${prefix}/com'
    831 localstatedir='${prefix}/var'
    832 includedir='${prefix}/include'
    833 oldincludedir='/usr/include'
    834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    835 infodir='${datarootdir}/info'
    836 htmldir='${docdir}'
    837 dvidir='${docdir}'
    838 pdfdir='${docdir}'
    839 psdir='${docdir}'
    840 libdir='${exec_prefix}/lib'
    841 localedir='${datarootdir}/locale'
    842 mandir='${datarootdir}/man'
    843 
    844 ac_prev=
    845 ac_dashdash=
    846 for ac_option
    847 do
    848   # If the previous option needs an argument, assign it.
    849   if test -n "$ac_prev"; then
    850     eval $ac_prev=\$ac_option
    851     ac_prev=
    852     continue
    853   fi
    854 
    855   case $ac_option in
    856   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    857   *=)   ac_optarg= ;;
    858   *)    ac_optarg=yes ;;
    859   esac
    860 
    861   # Accept the important Cygnus configure options, so we can diagnose typos.
    862 
    863   case $ac_dashdash$ac_option in
    864   --)
    865     ac_dashdash=yes ;;
    866 
    867   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    868     ac_prev=bindir ;;
    869   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    870     bindir=$ac_optarg ;;
    871 
    872   -build | --build | --buil | --bui | --bu)
    873     ac_prev=build_alias ;;
    874   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    875     build_alias=$ac_optarg ;;
    876 
    877   -cache-file | --cache-file | --cache-fil | --cache-fi \
    878   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    879     ac_prev=cache_file ;;
    880   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    881   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    882     cache_file=$ac_optarg ;;
    883 
    884   --config-cache | -C)
    885     cache_file=config.cache ;;
    886 
    887   -datadir | --datadir | --datadi | --datad)
    888     ac_prev=datadir ;;
    889   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    890     datadir=$ac_optarg ;;
    891 
    892   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    893   | --dataroo | --dataro | --datar)
    894     ac_prev=datarootdir ;;
    895   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    896   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    897     datarootdir=$ac_optarg ;;
    898 
    899   -disable-* | --disable-*)
    900     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    901     # Reject names that are not valid shell variable names.
    902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    903       as_fn_error $? "invalid feature name: $ac_useropt"
    904     ac_useropt_orig=$ac_useropt
    905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    906     case $ac_user_opts in
    907       *"
    908 "enable_$ac_useropt"
    909 "*) ;;
    910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    911 	 ac_unrecognized_sep=', ';;
    912     esac
    913     eval enable_$ac_useropt=no ;;
    914 
    915   -docdir | --docdir | --docdi | --doc | --do)
    916     ac_prev=docdir ;;
    917   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    918     docdir=$ac_optarg ;;
    919 
    920   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    921     ac_prev=dvidir ;;
    922   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    923     dvidir=$ac_optarg ;;
    924 
    925   -enable-* | --enable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: $ac_useropt"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=\$ac_optarg ;;
    940 
    941   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    942   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    943   | --exec | --exe | --ex)
    944     ac_prev=exec_prefix ;;
    945   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    946   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    947   | --exec=* | --exe=* | --ex=*)
    948     exec_prefix=$ac_optarg ;;
    949 
    950   -gas | --gas | --ga | --g)
    951     # Obsolete; use --with-gas.
    952     with_gas=yes ;;
    953 
    954   -help | --help | --hel | --he | -h)
    955     ac_init_help=long ;;
    956   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    957     ac_init_help=recursive ;;
    958   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    959     ac_init_help=short ;;
    960 
    961   -host | --host | --hos | --ho)
    962     ac_prev=host_alias ;;
    963   -host=* | --host=* | --hos=* | --ho=*)
    964     host_alias=$ac_optarg ;;
    965 
    966   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    967     ac_prev=htmldir ;;
    968   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    969   | --ht=*)
    970     htmldir=$ac_optarg ;;
    971 
    972   -includedir | --includedir | --includedi | --included | --include \
    973   | --includ | --inclu | --incl | --inc)
    974     ac_prev=includedir ;;
    975   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    976   | --includ=* | --inclu=* | --incl=* | --inc=*)
    977     includedir=$ac_optarg ;;
    978 
    979   -infodir | --infodir | --infodi | --infod | --info | --inf)
    980     ac_prev=infodir ;;
    981   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    982     infodir=$ac_optarg ;;
    983 
    984   -libdir | --libdir | --libdi | --libd)
    985     ac_prev=libdir ;;
    986   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    987     libdir=$ac_optarg ;;
    988 
    989   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    990   | --libexe | --libex | --libe)
    991     ac_prev=libexecdir ;;
    992   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    993   | --libexe=* | --libex=* | --libe=*)
    994     libexecdir=$ac_optarg ;;
    995 
    996   -localedir | --localedir | --localedi | --localed | --locale)
    997     ac_prev=localedir ;;
    998   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    999     localedir=$ac_optarg ;;
   1000 
   1001   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1002   | --localstate | --localstat | --localsta | --localst | --locals)
   1003     ac_prev=localstatedir ;;
   1004   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1005   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1006     localstatedir=$ac_optarg ;;
   1007 
   1008   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1009     ac_prev=mandir ;;
   1010   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1011     mandir=$ac_optarg ;;
   1012 
   1013   -nfp | --nfp | --nf)
   1014     # Obsolete; use --without-fp.
   1015     with_fp=no ;;
   1016 
   1017   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1018   | --no-cr | --no-c | -n)
   1019     no_create=yes ;;
   1020 
   1021   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1022   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1023     no_recursion=yes ;;
   1024 
   1025   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1026   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1027   | --oldin | --oldi | --old | --ol | --o)
   1028     ac_prev=oldincludedir ;;
   1029   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1030   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1031   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1032     oldincludedir=$ac_optarg ;;
   1033 
   1034   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1035     ac_prev=prefix ;;
   1036   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1037     prefix=$ac_optarg ;;
   1038 
   1039   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1040   | --program-pre | --program-pr | --program-p)
   1041     ac_prev=program_prefix ;;
   1042   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1043   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1044     program_prefix=$ac_optarg ;;
   1045 
   1046   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1047   | --program-suf | --program-su | --program-s)
   1048     ac_prev=program_suffix ;;
   1049   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1050   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1051     program_suffix=$ac_optarg ;;
   1052 
   1053   -program-transform-name | --program-transform-name \
   1054   | --program-transform-nam | --program-transform-na \
   1055   | --program-transform-n | --program-transform- \
   1056   | --program-transform | --program-transfor \
   1057   | --program-transfo | --program-transf \
   1058   | --program-trans | --program-tran \
   1059   | --progr-tra | --program-tr | --program-t)
   1060     ac_prev=program_transform_name ;;
   1061   -program-transform-name=* | --program-transform-name=* \
   1062   | --program-transform-nam=* | --program-transform-na=* \
   1063   | --program-transform-n=* | --program-transform-=* \
   1064   | --program-transform=* | --program-transfor=* \
   1065   | --program-transfo=* | --program-transf=* \
   1066   | --program-trans=* | --program-tran=* \
   1067   | --progr-tra=* | --program-tr=* | --program-t=*)
   1068     program_transform_name=$ac_optarg ;;
   1069 
   1070   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1071     ac_prev=pdfdir ;;
   1072   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1073     pdfdir=$ac_optarg ;;
   1074 
   1075   -psdir | --psdir | --psdi | --psd | --ps)
   1076     ac_prev=psdir ;;
   1077   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1078     psdir=$ac_optarg ;;
   1079 
   1080   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1081   | -silent | --silent | --silen | --sile | --sil)
   1082     silent=yes ;;
   1083 
   1084   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1085     ac_prev=sbindir ;;
   1086   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1087   | --sbi=* | --sb=*)
   1088     sbindir=$ac_optarg ;;
   1089 
   1090   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1091   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1092   | --sharedst | --shareds | --shared | --share | --shar \
   1093   | --sha | --sh)
   1094     ac_prev=sharedstatedir ;;
   1095   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1096   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1097   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1098   | --sha=* | --sh=*)
   1099     sharedstatedir=$ac_optarg ;;
   1100 
   1101   -site | --site | --sit)
   1102     ac_prev=site ;;
   1103   -site=* | --site=* | --sit=*)
   1104     site=$ac_optarg ;;
   1105 
   1106   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1107     ac_prev=srcdir ;;
   1108   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1109     srcdir=$ac_optarg ;;
   1110 
   1111   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1112   | --syscon | --sysco | --sysc | --sys | --sy)
   1113     ac_prev=sysconfdir ;;
   1114   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1115   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1116     sysconfdir=$ac_optarg ;;
   1117 
   1118   -target | --target | --targe | --targ | --tar | --ta | --t)
   1119     ac_prev=target_alias ;;
   1120   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1121     target_alias=$ac_optarg ;;
   1122 
   1123   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1124     verbose=yes ;;
   1125 
   1126   -version | --version | --versio | --versi | --vers | -V)
   1127     ac_init_version=: ;;
   1128 
   1129   -with-* | --with-*)
   1130     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1131     # Reject names that are not valid shell variable names.
   1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1133       as_fn_error $? "invalid package name: $ac_useropt"
   1134     ac_useropt_orig=$ac_useropt
   1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1136     case $ac_user_opts in
   1137       *"
   1138 "with_$ac_useropt"
   1139 "*) ;;
   1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1141 	 ac_unrecognized_sep=', ';;
   1142     esac
   1143     eval with_$ac_useropt=\$ac_optarg ;;
   1144 
   1145   -without-* | --without-*)
   1146     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1147     # Reject names that are not valid shell variable names.
   1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1149       as_fn_error $? "invalid package name: $ac_useropt"
   1150     ac_useropt_orig=$ac_useropt
   1151     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1152     case $ac_user_opts in
   1153       *"
   1154 "with_$ac_useropt"
   1155 "*) ;;
   1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1157 	 ac_unrecognized_sep=', ';;
   1158     esac
   1159     eval with_$ac_useropt=no ;;
   1160 
   1161   --x)
   1162     # Obsolete; use --with-x.
   1163     with_x=yes ;;
   1164 
   1165   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1166   | --x-incl | --x-inc | --x-in | --x-i)
   1167     ac_prev=x_includes ;;
   1168   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1169   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1170     x_includes=$ac_optarg ;;
   1171 
   1172   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1173   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1174     ac_prev=x_libraries ;;
   1175   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1176   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1177     x_libraries=$ac_optarg ;;
   1178 
   1179   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1180 Try \`$0 --help' for more information"
   1181     ;;
   1182 
   1183   *=*)
   1184     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1185     # Reject names that are not valid shell variable names.
   1186     case $ac_envvar in #(
   1187       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1188       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1189     esac
   1190     eval $ac_envvar=\$ac_optarg
   1191     export $ac_envvar ;;
   1192 
   1193   *)
   1194     # FIXME: should be removed in autoconf 3.0.
   1195     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1196     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1197       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1198     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1199     ;;
   1200 
   1201   esac
   1202 done
   1203 
   1204 if test -n "$ac_prev"; then
   1205   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1206   as_fn_error $? "missing argument to $ac_option"
   1207 fi
   1208 
   1209 if test -n "$ac_unrecognized_opts"; then
   1210   case $enable_option_checking in
   1211     no) ;;
   1212     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1213     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1214   esac
   1215 fi
   1216 
   1217 # Check all directory arguments for consistency.
   1218 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1219 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1220 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1221 		libdir localedir mandir
   1222 do
   1223   eval ac_val=\$$ac_var
   1224   # Remove trailing slashes.
   1225   case $ac_val in
   1226     */ )
   1227       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1228       eval $ac_var=\$ac_val;;
   1229   esac
   1230   # Be sure to have absolute directory names.
   1231   case $ac_val in
   1232     [\\/$]* | ?:[\\/]* )  continue;;
   1233     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1234   esac
   1235   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1236 done
   1237 
   1238 # There might be people who depend on the old broken behavior: `$host'
   1239 # used to hold the argument of --host etc.
   1240 # FIXME: To remove some day.
   1241 build=$build_alias
   1242 host=$host_alias
   1243 target=$target_alias
   1244 
   1245 # FIXME: To remove some day.
   1246 if test "x$host_alias" != x; then
   1247   if test "x$build_alias" = x; then
   1248     cross_compiling=maybe
   1249   elif test "x$build_alias" != "x$host_alias"; then
   1250     cross_compiling=yes
   1251   fi
   1252 fi
   1253 
   1254 ac_tool_prefix=
   1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1256 
   1257 test "$silent" = yes && exec 6>/dev/null
   1258 
   1259 
   1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1261 ac_ls_di=`ls -di .` &&
   1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1263   as_fn_error $? "working directory cannot be determined"
   1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1265   as_fn_error $? "pwd does not report name of working directory"
   1266 
   1267 
   1268 # Find the source files, if location was not specified.
   1269 if test -z "$srcdir"; then
   1270   ac_srcdir_defaulted=yes
   1271   # Try the directory containing this script, then the parent directory.
   1272   ac_confdir=`$as_dirname -- "$as_myself" ||
   1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1274 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1275 	 X"$as_myself" : 'X\(//\)$' \| \
   1276 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1277 $as_echo X"$as_myself" |
   1278     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)[^/].*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\).*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  s/.*/./; q'`
   1295   srcdir=$ac_confdir
   1296   if test ! -r "$srcdir/$ac_unique_file"; then
   1297     srcdir=..
   1298   fi
   1299 else
   1300   ac_srcdir_defaulted=no
   1301 fi
   1302 if test ! -r "$srcdir/$ac_unique_file"; then
   1303   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1304   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1305 fi
   1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1307 ac_abs_confdir=`(
   1308 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1309 	pwd)`
   1310 # When building in place, set srcdir=.
   1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1312   srcdir=.
   1313 fi
   1314 # Remove unnecessary trailing slashes from srcdir.
   1315 # Double slashes in file names in object file debugging info
   1316 # mess up M-x gdb in Emacs.
   1317 case $srcdir in
   1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1319 esac
   1320 for ac_var in $ac_precious_vars; do
   1321   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_env_${ac_var}_value=\$${ac_var}
   1323   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1325 done
   1326 
   1327 #
   1328 # Report the --help message.
   1329 #
   1330 if test "$ac_init_help" = "long"; then
   1331   # Omit some internal or obsolete options to make the list less imposing.
   1332   # This message is too long to be a string in the A/UX 3.1 sh.
   1333   cat <<_ACEOF
   1334 \`configure' configures Google C++ Testing Framework 1.5.0 to adapt to many kinds of systems.
   1335 
   1336 Usage: $0 [OPTION]... [VAR=VALUE]...
   1337 
   1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1339 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1340 
   1341 Defaults for the options are specified in brackets.
   1342 
   1343 Configuration:
   1344   -h, --help              display this help and exit
   1345       --help=short        display options specific to this package
   1346       --help=recursive    display the short help of all the included packages
   1347   -V, --version           display version information and exit
   1348   -q, --quiet, --silent   do not print \`checking ...' messages
   1349       --cache-file=FILE   cache test results in FILE [disabled]
   1350   -C, --config-cache      alias for \`--cache-file=config.cache'
   1351   -n, --no-create         do not create output files
   1352       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1353 
   1354 Installation directories:
   1355   --prefix=PREFIX         install architecture-independent files in PREFIX
   1356                           [$ac_default_prefix]
   1357   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1358                           [PREFIX]
   1359 
   1360 By default, \`make install' will install all the files in
   1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1363 for instance \`--prefix=\$HOME'.
   1364 
   1365 For better control, use the options below.
   1366 
   1367 Fine tuning of the installation directories:
   1368   --bindir=DIR            user executables [EPREFIX/bin]
   1369   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1370   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1371   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1372   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1373   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1374   --libdir=DIR            object code libraries [EPREFIX/lib]
   1375   --includedir=DIR        C header files [PREFIX/include]
   1376   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1377   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1378   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1379   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1380   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1381   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1382   --docdir=DIR            documentation root [DATAROOTDIR/doc/gtest]
   1383   --htmldir=DIR           html documentation [DOCDIR]
   1384   --dvidir=DIR            dvi documentation [DOCDIR]
   1385   --pdfdir=DIR            pdf documentation [DOCDIR]
   1386   --psdir=DIR             ps documentation [DOCDIR]
   1387 _ACEOF
   1388 
   1389   cat <<\_ACEOF
   1390 
   1391 Program names:
   1392   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1393   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1394   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1395 
   1396 System types:
   1397   --build=BUILD     configure for building on BUILD [guessed]
   1398   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1399 _ACEOF
   1400 fi
   1401 
   1402 if test -n "$ac_init_help"; then
   1403   case $ac_init_help in
   1404      short | recursive ) echo "Configuration of Google C++ Testing Framework 1.5.0:";;
   1405    esac
   1406   cat <<\_ACEOF
   1407 
   1408 Optional Features:
   1409   --disable-option-checking  ignore unrecognized --enable/--with options
   1410   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1411   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1412   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1413   --disable-silent-rules  verbose build output (undo: "make V=0")
   1414   --enable-dependency-tracking
   1415                           do not reject slow dependency extractors
   1416   --disable-dependency-tracking
   1417                           speeds up one-time build
   1418   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1419   --enable-static[=PKGS]  build static libraries [default=yes]
   1420   --enable-fast-install[=PKGS]
   1421                           optimize for fast installation [default=yes]
   1422   --disable-libtool-lock  avoid locking (might break parallel builds)
   1423 
   1424 Optional Packages:
   1425   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1426   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1427   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1428                           both]
   1429   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1430   --with-sysroot=DIR Search for dependent libraries within DIR
   1431                         (or the compiler's sysroot if not specified).
   1432   --with-pthreads         use pthreads (default is yes)
   1433 
   1434 Some influential environment variables:
   1435   CC          C compiler command
   1436   CFLAGS      C compiler flags
   1437   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1438               nonstandard directory <lib dir>
   1439   LIBS        libraries to pass to the linker, e.g. -l<library>
   1440   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1441               you have headers in a nonstandard directory <include dir>
   1442   CXX         C++ compiler command
   1443   CXXFLAGS    C++ compiler flags
   1444   CPP         C preprocessor
   1445   CXXCPP      C++ preprocessor
   1446 
   1447 Use these variables to override the choices made by `configure' or to help
   1448 it to find libraries and programs with nonstandard names/locations.
   1449 
   1450 Report bugs to <googletestframework (at] googlegroups.com>.
   1451 _ACEOF
   1452 ac_status=$?
   1453 fi
   1454 
   1455 if test "$ac_init_help" = "recursive"; then
   1456   # If there are subdirs, report their specific --help.
   1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1458     test -d "$ac_dir" ||
   1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1460       continue
   1461     ac_builddir=.
   1462 
   1463 case "$ac_dir" in
   1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1465 *)
   1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1467   # A ".." for each directory in $ac_dir_suffix.
   1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1469   case $ac_top_builddir_sub in
   1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1472   esac ;;
   1473 esac
   1474 ac_abs_top_builddir=$ac_pwd
   1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1476 # for backward compatibility:
   1477 ac_top_builddir=$ac_top_build_prefix
   1478 
   1479 case $srcdir in
   1480   .)  # We are building in place.
   1481     ac_srcdir=.
   1482     ac_top_srcdir=$ac_top_builddir_sub
   1483     ac_abs_top_srcdir=$ac_pwd ;;
   1484   [\\/]* | ?:[\\/]* )  # Absolute name.
   1485     ac_srcdir=$srcdir$ac_dir_suffix;
   1486     ac_top_srcdir=$srcdir
   1487     ac_abs_top_srcdir=$srcdir ;;
   1488   *) # Relative name.
   1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1492 esac
   1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1494 
   1495     cd "$ac_dir" || { ac_status=$?; continue; }
   1496     # Check for guested configure.
   1497     if test -f "$ac_srcdir/configure.gnu"; then
   1498       echo &&
   1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1500     elif test -f "$ac_srcdir/configure"; then
   1501       echo &&
   1502       $SHELL "$ac_srcdir/configure" --help=recursive
   1503     else
   1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1505     fi || ac_status=$?
   1506     cd "$ac_pwd" || { ac_status=$?; break; }
   1507   done
   1508 fi
   1509 
   1510 test -n "$ac_init_help" && exit $ac_status
   1511 if $ac_init_version; then
   1512   cat <<\_ACEOF
   1513 Google C++ Testing Framework configure 1.5.0
   1514 generated by GNU Autoconf 2.69
   1515 
   1516 Copyright (C) 2012 Free Software Foundation, Inc.
   1517 This configure script is free software; the Free Software Foundation
   1518 gives unlimited permission to copy, distribute and modify it.
   1519 _ACEOF
   1520   exit
   1521 fi
   1522 
   1523 ## ------------------------ ##
   1524 ## Autoconf initialization. ##
   1525 ## ------------------------ ##
   1526 
   1527 # ac_fn_c_try_compile LINENO
   1528 # --------------------------
   1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1530 ac_fn_c_try_compile ()
   1531 {
   1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1533   rm -f conftest.$ac_objext
   1534   if { { ac_try="$ac_compile"
   1535 case "(($ac_try" in
   1536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1537   *) ac_try_echo=$ac_try;;
   1538 esac
   1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1540 $as_echo "$ac_try_echo"; } >&5
   1541   (eval "$ac_compile") 2>conftest.err
   1542   ac_status=$?
   1543   if test -s conftest.err; then
   1544     grep -v '^ *+' conftest.err >conftest.er1
   1545     cat conftest.er1 >&5
   1546     mv -f conftest.er1 conftest.err
   1547   fi
   1548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1549   test $ac_status = 0; } && {
   1550 	 test -z "$ac_c_werror_flag" ||
   1551 	 test ! -s conftest.err
   1552        } && test -s conftest.$ac_objext; then :
   1553   ac_retval=0
   1554 else
   1555   $as_echo "$as_me: failed program was:" >&5
   1556 sed 's/^/| /' conftest.$ac_ext >&5
   1557 
   1558 	ac_retval=1
   1559 fi
   1560   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1561   as_fn_set_status $ac_retval
   1562 
   1563 } # ac_fn_c_try_compile
   1564 
   1565 # ac_fn_cxx_try_compile LINENO
   1566 # ----------------------------
   1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1568 ac_fn_cxx_try_compile ()
   1569 {
   1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1571   rm -f conftest.$ac_objext
   1572   if { { ac_try="$ac_compile"
   1573 case "(($ac_try" in
   1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1575   *) ac_try_echo=$ac_try;;
   1576 esac
   1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1578 $as_echo "$ac_try_echo"; } >&5
   1579   (eval "$ac_compile") 2>conftest.err
   1580   ac_status=$?
   1581   if test -s conftest.err; then
   1582     grep -v '^ *+' conftest.err >conftest.er1
   1583     cat conftest.er1 >&5
   1584     mv -f conftest.er1 conftest.err
   1585   fi
   1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1587   test $ac_status = 0; } && {
   1588 	 test -z "$ac_cxx_werror_flag" ||
   1589 	 test ! -s conftest.err
   1590        } && test -s conftest.$ac_objext; then :
   1591   ac_retval=0
   1592 else
   1593   $as_echo "$as_me: failed program was:" >&5
   1594 sed 's/^/| /' conftest.$ac_ext >&5
   1595 
   1596 	ac_retval=1
   1597 fi
   1598   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1599   as_fn_set_status $ac_retval
   1600 
   1601 } # ac_fn_cxx_try_compile
   1602 
   1603 # ac_fn_c_try_link LINENO
   1604 # -----------------------
   1605 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1606 ac_fn_c_try_link ()
   1607 {
   1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1609   rm -f conftest.$ac_objext conftest$ac_exeext
   1610   if { { ac_try="$ac_link"
   1611 case "(($ac_try" in
   1612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1613   *) ac_try_echo=$ac_try;;
   1614 esac
   1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1616 $as_echo "$ac_try_echo"; } >&5
   1617   (eval "$ac_link") 2>conftest.err
   1618   ac_status=$?
   1619   if test -s conftest.err; then
   1620     grep -v '^ *+' conftest.err >conftest.er1
   1621     cat conftest.er1 >&5
   1622     mv -f conftest.er1 conftest.err
   1623   fi
   1624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1625   test $ac_status = 0; } && {
   1626 	 test -z "$ac_c_werror_flag" ||
   1627 	 test ! -s conftest.err
   1628        } && test -s conftest$ac_exeext && {
   1629 	 test "$cross_compiling" = yes ||
   1630 	 test -x conftest$ac_exeext
   1631        }; then :
   1632   ac_retval=0
   1633 else
   1634   $as_echo "$as_me: failed program was:" >&5
   1635 sed 's/^/| /' conftest.$ac_ext >&5
   1636 
   1637 	ac_retval=1
   1638 fi
   1639   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1640   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1641   # interfere with the next link command; also delete a directory that is
   1642   # left behind by Apple's compiler.  We do this before executing the actions.
   1643   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1644   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1645   as_fn_set_status $ac_retval
   1646 
   1647 } # ac_fn_c_try_link
   1648 
   1649 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1650 # -------------------------------------------------------
   1651 # Tests whether HEADER exists and can be compiled using the include files in
   1652 # INCLUDES, setting the cache variable VAR accordingly.
   1653 ac_fn_c_check_header_compile ()
   1654 {
   1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1657 $as_echo_n "checking for $2... " >&6; }
   1658 if eval \${$3+:} false; then :
   1659   $as_echo_n "(cached) " >&6
   1660 else
   1661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1662 /* end confdefs.h.  */
   1663 $4
   1664 #include <$2>
   1665 _ACEOF
   1666 if ac_fn_c_try_compile "$LINENO"; then :
   1667   eval "$3=yes"
   1668 else
   1669   eval "$3=no"
   1670 fi
   1671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1672 fi
   1673 eval ac_res=\$$3
   1674 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1675 $as_echo "$ac_res" >&6; }
   1676   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1677 
   1678 } # ac_fn_c_check_header_compile
   1679 
   1680 # ac_fn_c_try_cpp LINENO
   1681 # ----------------------
   1682 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1683 ac_fn_c_try_cpp ()
   1684 {
   1685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1686   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1687 case "(($ac_try" in
   1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1689   *) ac_try_echo=$ac_try;;
   1690 esac
   1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1692 $as_echo "$ac_try_echo"; } >&5
   1693   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1694   ac_status=$?
   1695   if test -s conftest.err; then
   1696     grep -v '^ *+' conftest.err >conftest.er1
   1697     cat conftest.er1 >&5
   1698     mv -f conftest.er1 conftest.err
   1699   fi
   1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } > conftest.i && {
   1702 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1703 	 test ! -s conftest.err
   1704        }; then :
   1705   ac_retval=0
   1706 else
   1707   $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710     ac_retval=1
   1711 fi
   1712   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_cpp
   1716 
   1717 # ac_fn_c_try_run LINENO
   1718 # ----------------------
   1719 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1720 # that executables *can* be run.
   1721 ac_fn_c_try_run ()
   1722 {
   1723   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1724   if { { ac_try="$ac_link"
   1725 case "(($ac_try" in
   1726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1727   *) ac_try_echo=$ac_try;;
   1728 esac
   1729 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1730 $as_echo "$ac_try_echo"; } >&5
   1731   (eval "$ac_link") 2>&5
   1732   ac_status=$?
   1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1734   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1735   { { case "(($ac_try" in
   1736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1737   *) ac_try_echo=$ac_try;;
   1738 esac
   1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1740 $as_echo "$ac_try_echo"; } >&5
   1741   (eval "$ac_try") 2>&5
   1742   ac_status=$?
   1743   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1744   test $ac_status = 0; }; }; then :
   1745   ac_retval=0
   1746 else
   1747   $as_echo "$as_me: program exited with status $ac_status" >&5
   1748        $as_echo "$as_me: failed program was:" >&5
   1749 sed 's/^/| /' conftest.$ac_ext >&5
   1750 
   1751        ac_retval=$ac_status
   1752 fi
   1753   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1754   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1755   as_fn_set_status $ac_retval
   1756 
   1757 } # ac_fn_c_try_run
   1758 
   1759 # ac_fn_c_check_func LINENO FUNC VAR
   1760 # ----------------------------------
   1761 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1762 ac_fn_c_check_func ()
   1763 {
   1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1766 $as_echo_n "checking for $2... " >&6; }
   1767 if eval \${$3+:} false; then :
   1768   $as_echo_n "(cached) " >&6
   1769 else
   1770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1771 /* end confdefs.h.  */
   1772 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1773    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1774 #define $2 innocuous_$2
   1775 
   1776 /* System header to define __stub macros and hopefully few prototypes,
   1777     which can conflict with char $2 (); below.
   1778     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1779     <limits.h> exists even on freestanding compilers.  */
   1780 
   1781 #ifdef __STDC__
   1782 # include <limits.h>
   1783 #else
   1784 # include <assert.h>
   1785 #endif
   1786 
   1787 #undef $2
   1788 
   1789 /* Override any GCC internal prototype to avoid an error.
   1790    Use char because int might match the return type of a GCC
   1791    builtin and then its argument prototype would still apply.  */
   1792 #ifdef __cplusplus
   1793 extern "C"
   1794 #endif
   1795 char $2 ();
   1796 /* The GNU C library defines this for functions which it implements
   1797     to always fail with ENOSYS.  Some functions are actually named
   1798     something starting with __ and the normal name is an alias.  */
   1799 #if defined __stub_$2 || defined __stub___$2
   1800 choke me
   1801 #endif
   1802 
   1803 int
   1804 main ()
   1805 {
   1806 return $2 ();
   1807   ;
   1808   return 0;
   1809 }
   1810 _ACEOF
   1811 if ac_fn_c_try_link "$LINENO"; then :
   1812   eval "$3=yes"
   1813 else
   1814   eval "$3=no"
   1815 fi
   1816 rm -f core conftest.err conftest.$ac_objext \
   1817     conftest$ac_exeext conftest.$ac_ext
   1818 fi
   1819 eval ac_res=\$$3
   1820 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1821 $as_echo "$ac_res" >&6; }
   1822   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1823 
   1824 } # ac_fn_c_check_func
   1825 
   1826 # ac_fn_cxx_try_cpp LINENO
   1827 # ------------------------
   1828 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1829 ac_fn_cxx_try_cpp ()
   1830 {
   1831   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1832   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1833 case "(($ac_try" in
   1834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1835   *) ac_try_echo=$ac_try;;
   1836 esac
   1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1838 $as_echo "$ac_try_echo"; } >&5
   1839   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1840   ac_status=$?
   1841   if test -s conftest.err; then
   1842     grep -v '^ *+' conftest.err >conftest.er1
   1843     cat conftest.er1 >&5
   1844     mv -f conftest.er1 conftest.err
   1845   fi
   1846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1847   test $ac_status = 0; } > conftest.i && {
   1848 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1849 	 test ! -s conftest.err
   1850        }; then :
   1851   ac_retval=0
   1852 else
   1853   $as_echo "$as_me: failed program was:" >&5
   1854 sed 's/^/| /' conftest.$ac_ext >&5
   1855 
   1856     ac_retval=1
   1857 fi
   1858   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1859   as_fn_set_status $ac_retval
   1860 
   1861 } # ac_fn_cxx_try_cpp
   1862 
   1863 # ac_fn_cxx_try_link LINENO
   1864 # -------------------------
   1865 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1866 ac_fn_cxx_try_link ()
   1867 {
   1868   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1869   rm -f conftest.$ac_objext conftest$ac_exeext
   1870   if { { ac_try="$ac_link"
   1871 case "(($ac_try" in
   1872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1873   *) ac_try_echo=$ac_try;;
   1874 esac
   1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1876 $as_echo "$ac_try_echo"; } >&5
   1877   (eval "$ac_link") 2>conftest.err
   1878   ac_status=$?
   1879   if test -s conftest.err; then
   1880     grep -v '^ *+' conftest.err >conftest.er1
   1881     cat conftest.er1 >&5
   1882     mv -f conftest.er1 conftest.err
   1883   fi
   1884   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1885   test $ac_status = 0; } && {
   1886 	 test -z "$ac_cxx_werror_flag" ||
   1887 	 test ! -s conftest.err
   1888        } && test -s conftest$ac_exeext && {
   1889 	 test "$cross_compiling" = yes ||
   1890 	 test -x conftest$ac_exeext
   1891        }; then :
   1892   ac_retval=0
   1893 else
   1894   $as_echo "$as_me: failed program was:" >&5
   1895 sed 's/^/| /' conftest.$ac_ext >&5
   1896 
   1897 	ac_retval=1
   1898 fi
   1899   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1900   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1901   # interfere with the next link command; also delete a directory that is
   1902   # left behind by Apple's compiler.  We do this before executing the actions.
   1903   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1904   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1905   as_fn_set_status $ac_retval
   1906 
   1907 } # ac_fn_cxx_try_link
   1908 cat >config.log <<_ACEOF
   1909 This file contains any messages produced by compilers while
   1910 running configure, to aid debugging if configure makes a mistake.
   1911 
   1912 It was created by Google C++ Testing Framework $as_me 1.5.0, which was
   1913 generated by GNU Autoconf 2.69.  Invocation command line was
   1914 
   1915   $ $0 $@
   1916 
   1917 _ACEOF
   1918 exec 5>>config.log
   1919 {
   1920 cat <<_ASUNAME
   1921 ## --------- ##
   1922 ## Platform. ##
   1923 ## --------- ##
   1924 
   1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1930 
   1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1932 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1933 
   1934 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1935 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1937 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1938 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1939 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1940 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1941 
   1942 _ASUNAME
   1943 
   1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1945 for as_dir in $PATH
   1946 do
   1947   IFS=$as_save_IFS
   1948   test -z "$as_dir" && as_dir=.
   1949     $as_echo "PATH: $as_dir"
   1950   done
   1951 IFS=$as_save_IFS
   1952 
   1953 } >&5
   1954 
   1955 cat >&5 <<_ACEOF
   1956 
   1957 
   1958 ## ----------- ##
   1959 ## Core tests. ##
   1960 ## ----------- ##
   1961 
   1962 _ACEOF
   1963 
   1964 
   1965 # Keep a trace of the command line.
   1966 # Strip out --no-create and --no-recursion so they do not pile up.
   1967 # Strip out --silent because we don't want to record it for future runs.
   1968 # Also quote any args containing shell meta-characters.
   1969 # Make two passes to allow for proper duplicate-argument suppression.
   1970 ac_configure_args=
   1971 ac_configure_args0=
   1972 ac_configure_args1=
   1973 ac_must_keep_next=false
   1974 for ac_pass in 1 2
   1975 do
   1976   for ac_arg
   1977   do
   1978     case $ac_arg in
   1979     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1980     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1981     | -silent | --silent | --silen | --sile | --sil)
   1982       continue ;;
   1983     *\'*)
   1984       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1985     esac
   1986     case $ac_pass in
   1987     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1988     2)
   1989       as_fn_append ac_configure_args1 " '$ac_arg'"
   1990       if test $ac_must_keep_next = true; then
   1991 	ac_must_keep_next=false # Got value, back to normal.
   1992       else
   1993 	case $ac_arg in
   1994 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1995 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1996 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1997 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1998 	    case "$ac_configure_args0 " in
   1999 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2000 	    esac
   2001 	    ;;
   2002 	  -* ) ac_must_keep_next=true ;;
   2003 	esac
   2004       fi
   2005       as_fn_append ac_configure_args " '$ac_arg'"
   2006       ;;
   2007     esac
   2008   done
   2009 done
   2010 { ac_configure_args0=; unset ac_configure_args0;}
   2011 { ac_configure_args1=; unset ac_configure_args1;}
   2012 
   2013 # When interrupted or exit'd, cleanup temporary files, and complete
   2014 # config.log.  We remove comments because anyway the quotes in there
   2015 # would cause problems or look ugly.
   2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2018 trap 'exit_status=$?
   2019   # Save into config.log some information that might help in debugging.
   2020   {
   2021     echo
   2022 
   2023     $as_echo "## ---------------- ##
   2024 ## Cache variables. ##
   2025 ## ---------------- ##"
   2026     echo
   2027     # The following way of writing the cache mishandles newlines in values,
   2028 (
   2029   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2030     eval ac_val=\$$ac_var
   2031     case $ac_val in #(
   2032     *${as_nl}*)
   2033       case $ac_var in #(
   2034       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2035 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2036       esac
   2037       case $ac_var in #(
   2038       _ | IFS | as_nl) ;; #(
   2039       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2040       *) { eval $ac_var=; unset $ac_var;} ;;
   2041       esac ;;
   2042     esac
   2043   done
   2044   (set) 2>&1 |
   2045     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2046     *${as_nl}ac_space=\ *)
   2047       sed -n \
   2048 	"s/'\''/'\''\\\\'\'''\''/g;
   2049 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2050       ;; #(
   2051     *)
   2052       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2053       ;;
   2054     esac |
   2055     sort
   2056 )
   2057     echo
   2058 
   2059     $as_echo "## ----------------- ##
   2060 ## Output variables. ##
   2061 ## ----------------- ##"
   2062     echo
   2063     for ac_var in $ac_subst_vars
   2064     do
   2065       eval ac_val=\$$ac_var
   2066       case $ac_val in
   2067       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2068       esac
   2069       $as_echo "$ac_var='\''$ac_val'\''"
   2070     done | sort
   2071     echo
   2072 
   2073     if test -n "$ac_subst_files"; then
   2074       $as_echo "## ------------------- ##
   2075 ## File substitutions. ##
   2076 ## ------------------- ##"
   2077       echo
   2078       for ac_var in $ac_subst_files
   2079       do
   2080 	eval ac_val=\$$ac_var
   2081 	case $ac_val in
   2082 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2083 	esac
   2084 	$as_echo "$ac_var='\''$ac_val'\''"
   2085       done | sort
   2086       echo
   2087     fi
   2088 
   2089     if test -s confdefs.h; then
   2090       $as_echo "## ----------- ##
   2091 ## confdefs.h. ##
   2092 ## ----------- ##"
   2093       echo
   2094       cat confdefs.h
   2095       echo
   2096     fi
   2097     test "$ac_signal" != 0 &&
   2098       $as_echo "$as_me: caught signal $ac_signal"
   2099     $as_echo "$as_me: exit $exit_status"
   2100   } >&5
   2101   rm -f core *.core core.conftest.* &&
   2102     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2103     exit $exit_status
   2104 ' 0
   2105 for ac_signal in 1 2 13 15; do
   2106   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2107 done
   2108 ac_signal=0
   2109 
   2110 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2111 rm -f -r conftest* confdefs.h
   2112 
   2113 $as_echo "/* confdefs.h */" > confdefs.h
   2114 
   2115 # Predefined preprocessor variables.
   2116 
   2117 cat >>confdefs.h <<_ACEOF
   2118 #define PACKAGE_NAME "$PACKAGE_NAME"
   2119 _ACEOF
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_STRING "$PACKAGE_STRING"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_URL "$PACKAGE_URL"
   2139 _ACEOF
   2140 
   2141 
   2142 # Let the site file select an alternate cache file if it wants to.
   2143 # Prefer an explicitly selected file to automatically selected ones.
   2144 ac_site_file1=NONE
   2145 ac_site_file2=NONE
   2146 if test -n "$CONFIG_SITE"; then
   2147   # We do not want a PATH search for config.site.
   2148   case $CONFIG_SITE in #((
   2149     -*)  ac_site_file1=./$CONFIG_SITE;;
   2150     */*) ac_site_file1=$CONFIG_SITE;;
   2151     *)   ac_site_file1=./$CONFIG_SITE;;
   2152   esac
   2153 elif test "x$prefix" != xNONE; then
   2154   ac_site_file1=$prefix/share/config.site
   2155   ac_site_file2=$prefix/etc/config.site
   2156 else
   2157   ac_site_file1=$ac_default_prefix/share/config.site
   2158   ac_site_file2=$ac_default_prefix/etc/config.site
   2159 fi
   2160 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2161 do
   2162   test "x$ac_site_file" = xNONE && continue
   2163   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2164     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2165 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2166     sed 's/^/| /' "$ac_site_file" >&5
   2167     . "$ac_site_file" \
   2168       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2170 as_fn_error $? "failed to load site script $ac_site_file
   2171 See \`config.log' for more details" "$LINENO" 5; }
   2172   fi
   2173 done
   2174 
   2175 if test -r "$cache_file"; then
   2176   # Some versions of bash will fail to source /dev/null (special files
   2177   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2178   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2179     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2180 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2181     case $cache_file in
   2182       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2183       *)                      . "./$cache_file";;
   2184     esac
   2185   fi
   2186 else
   2187   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2188 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2189   >$cache_file
   2190 fi
   2191 
   2192 # Check that the precious variables saved in the cache have kept the same
   2193 # value.
   2194 ac_cache_corrupted=false
   2195 for ac_var in $ac_precious_vars; do
   2196   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2197   eval ac_new_set=\$ac_env_${ac_var}_set
   2198   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2199   eval ac_new_val=\$ac_env_${ac_var}_value
   2200   case $ac_old_set,$ac_new_set in
   2201     set,)
   2202       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2203 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2204       ac_cache_corrupted=: ;;
   2205     ,set)
   2206       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2207 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2208       ac_cache_corrupted=: ;;
   2209     ,);;
   2210     *)
   2211       if test "x$ac_old_val" != "x$ac_new_val"; then
   2212 	# differences in whitespace do not lead to failure.
   2213 	ac_old_val_w=`echo x $ac_old_val`
   2214 	ac_new_val_w=`echo x $ac_new_val`
   2215 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2216 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2217 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2218 	  ac_cache_corrupted=:
   2219 	else
   2220 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2221 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2222 	  eval $ac_var=\$ac_old_val
   2223 	fi
   2224 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2225 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2226 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2227 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2228       fi;;
   2229   esac
   2230   # Pass precious variables to config.status.
   2231   if test "$ac_new_set" = set; then
   2232     case $ac_new_val in
   2233     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2234     *) ac_arg=$ac_var=$ac_new_val ;;
   2235     esac
   2236     case " $ac_configure_args " in
   2237       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2238       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2239     esac
   2240   fi
   2241 done
   2242 if $ac_cache_corrupted; then
   2243   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2244 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2245   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2246 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2247   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2248 fi
   2249 ## -------------------- ##
   2250 ## Main body of script. ##
   2251 ## -------------------- ##
   2252 
   2253 ac_ext=c
   2254 ac_cpp='$CPP $CPPFLAGS'
   2255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2258 
   2259 
   2260 
   2261 # Provide various options to initialize the Autoconf and configure processes.
   2262 
   2263 
   2264 ac_aux_dir=
   2265 for ac_dir in build-aux "$srcdir"/build-aux; do
   2266   if test -f "$ac_dir/install-sh"; then
   2267     ac_aux_dir=$ac_dir
   2268     ac_install_sh="$ac_aux_dir/install-sh -c"
   2269     break
   2270   elif test -f "$ac_dir/install.sh"; then
   2271     ac_aux_dir=$ac_dir
   2272     ac_install_sh="$ac_aux_dir/install.sh -c"
   2273     break
   2274   elif test -f "$ac_dir/shtool"; then
   2275     ac_aux_dir=$ac_dir
   2276     ac_install_sh="$ac_aux_dir/shtool install -c"
   2277     break
   2278   fi
   2279 done
   2280 if test -z "$ac_aux_dir"; then
   2281   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
   2282 fi
   2283 
   2284 # These three variables are undocumented and unsupported,
   2285 # and are intended to be withdrawn in a future Autoconf release.
   2286 # They can cause serious problems if a builder's source tree is in a directory
   2287 # whose full name contains unusual characters.
   2288 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2289 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2290 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2291 
   2292 
   2293 ac_config_headers="$ac_config_headers build-aux/config.h"
   2294 
   2295 ac_config_files="$ac_config_files Makefile"
   2296 
   2297 ac_config_files="$ac_config_files scripts/gtest-config"
   2298 
   2299 
   2300 # Initialize Automake with various options. We require at least v1.9, prevent
   2301 # pedantic complaints about package files, and enable various distribution
   2302 # targets.
   2303 am__api_version='1.14'
   2304 
   2305 # Find a good install program.  We prefer a C program (faster),
   2306 # so one script is as good as another.  But avoid the broken or
   2307 # incompatible versions:
   2308 # SysV /etc/install, /usr/sbin/install
   2309 # SunOS /usr/etc/install
   2310 # IRIX /sbin/install
   2311 # AIX /bin/install
   2312 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2313 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2314 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2315 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2316 # OS/2's system install, which has a completely different semantic
   2317 # ./install, which can be erroneously created by make from ./install.sh.
   2318 # Reject install programs that cannot install multiple files.
   2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2320 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2321 if test -z "$INSTALL"; then
   2322 if ${ac_cv_path_install+:} false; then :
   2323   $as_echo_n "(cached) " >&6
   2324 else
   2325   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2326 for as_dir in $PATH
   2327 do
   2328   IFS=$as_save_IFS
   2329   test -z "$as_dir" && as_dir=.
   2330     # Account for people who put trailing slashes in PATH elements.
   2331 case $as_dir/ in #((
   2332   ./ | .// | /[cC]/* | \
   2333   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2334   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2335   /usr/ucb/* ) ;;
   2336   *)
   2337     # OSF1 and SCO ODT 3.0 have their own names for install.
   2338     # Don't use installbsd from OSF since it installs stuff as root
   2339     # by default.
   2340     for ac_prog in ginstall scoinst install; do
   2341       for ac_exec_ext in '' $ac_executable_extensions; do
   2342 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2343 	  if test $ac_prog = install &&
   2344 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2345 	    # AIX install.  It has an incompatible calling convention.
   2346 	    :
   2347 	  elif test $ac_prog = install &&
   2348 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2349 	    # program-specific install script used by HP pwplus--don't use.
   2350 	    :
   2351 	  else
   2352 	    rm -rf conftest.one conftest.two conftest.dir
   2353 	    echo one > conftest.one
   2354 	    echo two > conftest.two
   2355 	    mkdir conftest.dir
   2356 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2357 	      test -s conftest.one && test -s conftest.two &&
   2358 	      test -s conftest.dir/conftest.one &&
   2359 	      test -s conftest.dir/conftest.two
   2360 	    then
   2361 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2362 	      break 3
   2363 	    fi
   2364 	  fi
   2365 	fi
   2366       done
   2367     done
   2368     ;;
   2369 esac
   2370 
   2371   done
   2372 IFS=$as_save_IFS
   2373 
   2374 rm -rf conftest.one conftest.two conftest.dir
   2375 
   2376 fi
   2377   if test "${ac_cv_path_install+set}" = set; then
   2378     INSTALL=$ac_cv_path_install
   2379   else
   2380     # As a last resort, use the slow shell script.  Don't cache a
   2381     # value for INSTALL within a source directory, because that will
   2382     # break other packages using the cache if that directory is
   2383     # removed, or if the value is a relative name.
   2384     INSTALL=$ac_install_sh
   2385   fi
   2386 fi
   2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2388 $as_echo "$INSTALL" >&6; }
   2389 
   2390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2391 # It thinks the first close brace ends the variable substitution.
   2392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2393 
   2394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2395 
   2396 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2397 
   2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2399 $as_echo_n "checking whether build environment is sane... " >&6; }
   2400 # Reject unsafe characters in $srcdir or the absolute working directory
   2401 # name.  Accept space and tab only in the latter.
   2402 am_lf='
   2403 '
   2404 case `pwd` in
   2405   *[\\\"\#\$\&\'\`$am_lf]*)
   2406     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2407 esac
   2408 case $srcdir in
   2409   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2410     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2411 esac
   2412 
   2413 # Do 'set' in a subshell so we don't clobber the current shell's
   2414 # arguments.  Must try -L first in case configure is actually a
   2415 # symlink; some systems play weird games with the mod time of symlinks
   2416 # (eg FreeBSD returns the mod time of the symlink's containing
   2417 # directory).
   2418 if (
   2419    am_has_slept=no
   2420    for am_try in 1 2; do
   2421      echo "timestamp, slept: $am_has_slept" > conftest.file
   2422      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2423      if test "$*" = "X"; then
   2424 	# -L didn't work.
   2425 	set X `ls -t "$srcdir/configure" conftest.file`
   2426      fi
   2427      if test "$*" != "X $srcdir/configure conftest.file" \
   2428 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2429 
   2430 	# If neither matched, then we have a broken ls.  This can happen
   2431 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2432 	# broken ls alias from the environment.  This has actually
   2433 	# happened.  Such a system could not be considered "sane".
   2434 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2435   alias in your environment" "$LINENO" 5
   2436      fi
   2437      if test "$2" = conftest.file || test $am_try -eq 2; then
   2438        break
   2439      fi
   2440      # Just in case.
   2441      sleep 1
   2442      am_has_slept=yes
   2443    done
   2444    test "$2" = conftest.file
   2445    )
   2446 then
   2447    # Ok.
   2448    :
   2449 else
   2450    as_fn_error $? "newly created file is older than distributed files!
   2451 Check your system clock" "$LINENO" 5
   2452 fi
   2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2454 $as_echo "yes" >&6; }
   2455 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2456 # generated files are strictly newer.
   2457 am_sleep_pid=
   2458 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2459   ( sleep 1 ) &
   2460   am_sleep_pid=$!
   2461 fi
   2462 
   2463 rm -f conftest.file
   2464 
   2465 test "$program_prefix" != NONE &&
   2466   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2467 # Use a double $ so make ignores it.
   2468 test "$program_suffix" != NONE &&
   2469   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2470 # Double any \ or $.
   2471 # By default was `s,x,x', remove it if useless.
   2472 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2473 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2474 
   2475 # expand $ac_aux_dir to an absolute path
   2476 am_aux_dir=`cd $ac_aux_dir && pwd`
   2477 
   2478 if test x"${MISSING+set}" != xset; then
   2479   case $am_aux_dir in
   2480   *\ * | *\	*)
   2481     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2482   *)
   2483     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2484   esac
   2485 fi
   2486 # Use eval to expand $SHELL
   2487 if eval "$MISSING --is-lightweight"; then
   2488   am_missing_run="$MISSING "
   2489 else
   2490   am_missing_run=
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2492 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2493 fi
   2494 
   2495 if test x"${install_sh}" != xset; then
   2496   case $am_aux_dir in
   2497   *\ * | *\	*)
   2498     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2499   *)
   2500     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2501   esac
   2502 fi
   2503 
   2504 # Installed binaries are usually stripped using 'strip' when the user
   2505 # run "make install-strip".  However 'strip' might not be the right
   2506 # tool to use in cross-compilation environments, therefore Automake
   2507 # will honor the 'STRIP' environment variable to overrule this program.
   2508 if test "$cross_compiling" != no; then
   2509   if test -n "$ac_tool_prefix"; then
   2510   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2511 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2513 $as_echo_n "checking for $ac_word... " >&6; }
   2514 if ${ac_cv_prog_STRIP+:} false; then :
   2515   $as_echo_n "(cached) " >&6
   2516 else
   2517   if test -n "$STRIP"; then
   2518   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2519 else
   2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2521 for as_dir in $PATH
   2522 do
   2523   IFS=$as_save_IFS
   2524   test -z "$as_dir" && as_dir=.
   2525     for ac_exec_ext in '' $ac_executable_extensions; do
   2526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2527     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2529     break 2
   2530   fi
   2531 done
   2532   done
   2533 IFS=$as_save_IFS
   2534 
   2535 fi
   2536 fi
   2537 STRIP=$ac_cv_prog_STRIP
   2538 if test -n "$STRIP"; then
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2540 $as_echo "$STRIP" >&6; }
   2541 else
   2542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2543 $as_echo "no" >&6; }
   2544 fi
   2545 
   2546 
   2547 fi
   2548 if test -z "$ac_cv_prog_STRIP"; then
   2549   ac_ct_STRIP=$STRIP
   2550   # Extract the first word of "strip", so it can be a program name with args.
   2551 set dummy strip; ac_word=$2
   2552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2553 $as_echo_n "checking for $ac_word... " >&6; }
   2554 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2555   $as_echo_n "(cached) " >&6
   2556 else
   2557   if test -n "$ac_ct_STRIP"; then
   2558   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2559 else
   2560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2561 for as_dir in $PATH
   2562 do
   2563   IFS=$as_save_IFS
   2564   test -z "$as_dir" && as_dir=.
   2565     for ac_exec_ext in '' $ac_executable_extensions; do
   2566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2567     ac_cv_prog_ac_ct_STRIP="strip"
   2568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2569     break 2
   2570   fi
   2571 done
   2572   done
   2573 IFS=$as_save_IFS
   2574 
   2575 fi
   2576 fi
   2577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2578 if test -n "$ac_ct_STRIP"; then
   2579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2580 $as_echo "$ac_ct_STRIP" >&6; }
   2581 else
   2582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2583 $as_echo "no" >&6; }
   2584 fi
   2585 
   2586   if test "x$ac_ct_STRIP" = x; then
   2587     STRIP=":"
   2588   else
   2589     case $cross_compiling:$ac_tool_warned in
   2590 yes:)
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2593 ac_tool_warned=yes ;;
   2594 esac
   2595     STRIP=$ac_ct_STRIP
   2596   fi
   2597 else
   2598   STRIP="$ac_cv_prog_STRIP"
   2599 fi
   2600 
   2601 fi
   2602 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2603 
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2605 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2606 if test -z "$MKDIR_P"; then
   2607   if ${ac_cv_path_mkdir+:} false; then :
   2608   $as_echo_n "(cached) " >&6
   2609 else
   2610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2611 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2612 do
   2613   IFS=$as_save_IFS
   2614   test -z "$as_dir" && as_dir=.
   2615     for ac_prog in mkdir gmkdir; do
   2616 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2617 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2618 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2619 	     'mkdir (GNU coreutils) '* | \
   2620 	     'mkdir (coreutils) '* | \
   2621 	     'mkdir (fileutils) '4.1*)
   2622 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2623 	       break 3;;
   2624 	   esac
   2625 	 done
   2626        done
   2627   done
   2628 IFS=$as_save_IFS
   2629 
   2630 fi
   2631 
   2632   test -d ./--version && rmdir ./--version
   2633   if test "${ac_cv_path_mkdir+set}" = set; then
   2634     MKDIR_P="$ac_cv_path_mkdir -p"
   2635   else
   2636     # As a last resort, use the slow shell script.  Don't cache a
   2637     # value for MKDIR_P within a source directory, because that will
   2638     # break other packages using the cache if that directory is
   2639     # removed, or if the value is a relative name.
   2640     MKDIR_P="$ac_install_sh -d"
   2641   fi
   2642 fi
   2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2644 $as_echo "$MKDIR_P" >&6; }
   2645 
   2646 for ac_prog in gawk mawk nawk awk
   2647 do
   2648   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2649 set dummy $ac_prog; ac_word=$2
   2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2651 $as_echo_n "checking for $ac_word... " >&6; }
   2652 if ${ac_cv_prog_AWK+:} false; then :
   2653   $as_echo_n "(cached) " >&6
   2654 else
   2655   if test -n "$AWK"; then
   2656   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2657 else
   2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2659 for as_dir in $PATH
   2660 do
   2661   IFS=$as_save_IFS
   2662   test -z "$as_dir" && as_dir=.
   2663     for ac_exec_ext in '' $ac_executable_extensions; do
   2664   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2665     ac_cv_prog_AWK="$ac_prog"
   2666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2667     break 2
   2668   fi
   2669 done
   2670   done
   2671 IFS=$as_save_IFS
   2672 
   2673 fi
   2674 fi
   2675 AWK=$ac_cv_prog_AWK
   2676 if test -n "$AWK"; then
   2677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2678 $as_echo "$AWK" >&6; }
   2679 else
   2680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2681 $as_echo "no" >&6; }
   2682 fi
   2683 
   2684 
   2685   test -n "$AWK" && break
   2686 done
   2687 
   2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2689 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2690 set x ${MAKE-make}
   2691 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2692 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2693   $as_echo_n "(cached) " >&6
   2694 else
   2695   cat >conftest.make <<\_ACEOF
   2696 SHELL = /bin/sh
   2697 all:
   2698 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2699 _ACEOF
   2700 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2701 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2702   *@@@%%%=?*=@@@%%%*)
   2703     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2704   *)
   2705     eval ac_cv_prog_make_${ac_make}_set=no;;
   2706 esac
   2707 rm -f conftest.make
   2708 fi
   2709 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2711 $as_echo "yes" >&6; }
   2712   SET_MAKE=
   2713 else
   2714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2715 $as_echo "no" >&6; }
   2716   SET_MAKE="MAKE=${MAKE-make}"
   2717 fi
   2718 
   2719 rm -rf .tst 2>/dev/null
   2720 mkdir .tst 2>/dev/null
   2721 if test -d .tst; then
   2722   am__leading_dot=.
   2723 else
   2724   am__leading_dot=_
   2725 fi
   2726 rmdir .tst 2>/dev/null
   2727 
   2728 # Check whether --enable-silent-rules was given.
   2729 if test "${enable_silent_rules+set}" = set; then :
   2730   enableval=$enable_silent_rules;
   2731 fi
   2732 
   2733 case $enable_silent_rules in # (((
   2734   yes) AM_DEFAULT_VERBOSITY=0;;
   2735    no) AM_DEFAULT_VERBOSITY=1;;
   2736     *) AM_DEFAULT_VERBOSITY=1;;
   2737 esac
   2738 am_make=${MAKE-make}
   2739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2740 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2741 if ${am_cv_make_support_nested_variables+:} false; then :
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   if $as_echo 'TRUE=$(BAR$(V))
   2745 BAR0=false
   2746 BAR1=true
   2747 V=1
   2748 am__doit:
   2749 	@$(TRUE)
   2750 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2751   am_cv_make_support_nested_variables=yes
   2752 else
   2753   am_cv_make_support_nested_variables=no
   2754 fi
   2755 fi
   2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2757 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2758 if test $am_cv_make_support_nested_variables = yes; then
   2759     AM_V='$(V)'
   2760   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2761 else
   2762   AM_V=$AM_DEFAULT_VERBOSITY
   2763   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2764 fi
   2765 AM_BACKSLASH='\'
   2766 
   2767 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2768   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2769   # is not polluted with repeated "-I."
   2770   am__isrc=' -I$(srcdir)'
   2771   # test to see if srcdir already configured
   2772   if test -f $srcdir/config.status; then
   2773     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2774   fi
   2775 fi
   2776 
   2777 # test whether we have cygpath
   2778 if test -z "$CYGPATH_W"; then
   2779   if (cygpath --version) >/dev/null 2>/dev/null; then
   2780     CYGPATH_W='cygpath -w'
   2781   else
   2782     CYGPATH_W=echo
   2783   fi
   2784 fi
   2785 
   2786 
   2787 # Define the identity of the package.
   2788  PACKAGE='gtest'
   2789  VERSION='1.5.0'
   2790 
   2791 
   2792 cat >>confdefs.h <<_ACEOF
   2793 #define PACKAGE "$PACKAGE"
   2794 _ACEOF
   2795 
   2796 
   2797 cat >>confdefs.h <<_ACEOF
   2798 #define VERSION "$VERSION"
   2799 _ACEOF
   2800 
   2801 # Some tools Automake needs.
   2802 
   2803 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2804 
   2805 
   2806 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2807 
   2808 
   2809 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2810 
   2811 
   2812 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2813 
   2814 
   2815 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2816 
   2817 # For better backward compatibility.  To be removed once Automake 1.9.x
   2818 # dies out for good.  For more background, see:
   2819 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2820 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2821 mkdir_p='$(MKDIR_P)'
   2822 
   2823 # We need awk for the "check" target.  The system "awk" is bad on
   2824 # some platforms.
   2825 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2826 # in the wild :-(  We should find a proper way to deprecate it ...
   2827 AMTAR='$${TAR-tar}'
   2828 
   2829 
   2830 # We'll loop over all known methods to create a tar archive until one works.
   2831 _am_tools='gnutar  pax cpio none'
   2832 
   2833 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 # POSIX will say in a future version that running "rm -f" with no argument
   2841 # is OK; and we want to be able to make that assumption in our Makefile
   2842 # recipes.  So use an aggressive probe to check that the usage we want is
   2843 # actually supported "in the wild" to an acceptable degree.
   2844 # See automake bug#10828.
   2845 # To make any issue more visible, cause the running configure to be aborted
   2846 # by default if the 'rm' program in use doesn't match our expectations; the
   2847 # user can still override this though.
   2848 if rm -f && rm -fr && rm -rf; then : OK; else
   2849   cat >&2 <<'END'
   2850 Oops!
   2851 
   2852 Your 'rm' program seems unable to run without file operands specified
   2853 on the command line, even when the '-f' option is present.  This is contrary
   2854 to the behaviour of most rm programs out there, and not conforming with
   2855 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2856 
   2857 Please tell bug-automake@gnu.org about your system, including the value
   2858 of your $PATH and any error possibly output before this message.  This
   2859 can help us improve future automake versions.
   2860 
   2861 END
   2862   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2863     echo 'Configuration will proceed anyway, since you have set the' >&2
   2864     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2865     echo >&2
   2866   else
   2867     cat >&2 <<'END'
   2868 Aborting the configuration process, to ensure you take notice of the issue.
   2869 
   2870 You can download and install GNU coreutils to get an 'rm' implementation
   2871 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2872 
   2873 If you want to complete the configuration process using your problematic
   2874 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2875 to "yes", and re-run configure.
   2876 
   2877 END
   2878     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2879   fi
   2880 fi
   2881 
   2882 # Check for programs used in building Google Test.
   2883 ac_ext=c
   2884 ac_cpp='$CPP $CPPFLAGS'
   2885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2888 if test -n "$ac_tool_prefix"; then
   2889   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2892 $as_echo_n "checking for $ac_word... " >&6; }
   2893 if ${ac_cv_prog_CC+:} false; then :
   2894   $as_echo_n "(cached) " >&6
   2895 else
   2896   if test -n "$CC"; then
   2897   ac_cv_prog_CC="$CC" # Let the user override the test.
   2898 else
   2899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2900 for as_dir in $PATH
   2901 do
   2902   IFS=$as_save_IFS
   2903   test -z "$as_dir" && as_dir=.
   2904     for ac_exec_ext in '' $ac_executable_extensions; do
   2905   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2906     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2907     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2908     break 2
   2909   fi
   2910 done
   2911   done
   2912 IFS=$as_save_IFS
   2913 
   2914 fi
   2915 fi
   2916 CC=$ac_cv_prog_CC
   2917 if test -n "$CC"; then
   2918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2919 $as_echo "$CC" >&6; }
   2920 else
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2922 $as_echo "no" >&6; }
   2923 fi
   2924 
   2925 
   2926 fi
   2927 if test -z "$ac_cv_prog_CC"; then
   2928   ac_ct_CC=$CC
   2929   # Extract the first word of "gcc", so it can be a program name with args.
   2930 set dummy gcc; ac_word=$2
   2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2932 $as_echo_n "checking for $ac_word... " >&6; }
   2933 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2934   $as_echo_n "(cached) " >&6
   2935 else
   2936   if test -n "$ac_ct_CC"; then
   2937   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2938 else
   2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2940 for as_dir in $PATH
   2941 do
   2942   IFS=$as_save_IFS
   2943   test -z "$as_dir" && as_dir=.
   2944     for ac_exec_ext in '' $ac_executable_extensions; do
   2945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2946     ac_cv_prog_ac_ct_CC="gcc"
   2947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2948     break 2
   2949   fi
   2950 done
   2951   done
   2952 IFS=$as_save_IFS
   2953 
   2954 fi
   2955 fi
   2956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2957 if test -n "$ac_ct_CC"; then
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2959 $as_echo "$ac_ct_CC" >&6; }
   2960 else
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2962 $as_echo "no" >&6; }
   2963 fi
   2964 
   2965   if test "x$ac_ct_CC" = x; then
   2966     CC=""
   2967   else
   2968     case $cross_compiling:$ac_tool_warned in
   2969 yes:)
   2970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2972 ac_tool_warned=yes ;;
   2973 esac
   2974     CC=$ac_ct_CC
   2975   fi
   2976 else
   2977   CC="$ac_cv_prog_CC"
   2978 fi
   2979 
   2980 if test -z "$CC"; then
   2981           if test -n "$ac_tool_prefix"; then
   2982     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2983 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2985 $as_echo_n "checking for $ac_word... " >&6; }
   2986 if ${ac_cv_prog_CC+:} false; then :
   2987   $as_echo_n "(cached) " >&6
   2988 else
   2989   if test -n "$CC"; then
   2990   ac_cv_prog_CC="$CC" # Let the user override the test.
   2991 else
   2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2993 for as_dir in $PATH
   2994 do
   2995   IFS=$as_save_IFS
   2996   test -z "$as_dir" && as_dir=.
   2997     for ac_exec_ext in '' $ac_executable_extensions; do
   2998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2999     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3001     break 2
   3002   fi
   3003 done
   3004   done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 fi
   3009 CC=$ac_cv_prog_CC
   3010 if test -n "$CC"; then
   3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3012 $as_echo "$CC" >&6; }
   3013 else
   3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3015 $as_echo "no" >&6; }
   3016 fi
   3017 
   3018 
   3019   fi
   3020 fi
   3021 if test -z "$CC"; then
   3022   # Extract the first word of "cc", so it can be a program name with args.
   3023 set dummy cc; ac_word=$2
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3025 $as_echo_n "checking for $ac_word... " >&6; }
   3026 if ${ac_cv_prog_CC+:} false; then :
   3027   $as_echo_n "(cached) " >&6
   3028 else
   3029   if test -n "$CC"; then
   3030   ac_cv_prog_CC="$CC" # Let the user override the test.
   3031 else
   3032   ac_prog_rejected=no
   3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3034 for as_dir in $PATH
   3035 do
   3036   IFS=$as_save_IFS
   3037   test -z "$as_dir" && as_dir=.
   3038     for ac_exec_ext in '' $ac_executable_extensions; do
   3039   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3040     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3041        ac_prog_rejected=yes
   3042        continue
   3043      fi
   3044     ac_cv_prog_CC="cc"
   3045     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3046     break 2
   3047   fi
   3048 done
   3049   done
   3050 IFS=$as_save_IFS
   3051 
   3052 if test $ac_prog_rejected = yes; then
   3053   # We found a bogon in the path, so make sure we never use it.
   3054   set dummy $ac_cv_prog_CC
   3055   shift
   3056   if test $# != 0; then
   3057     # We chose a different compiler from the bogus one.
   3058     # However, it has the same basename, so the bogon will be chosen
   3059     # first if we set CC to just the basename; use the full file name.
   3060     shift
   3061     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3062   fi
   3063 fi
   3064 fi
   3065 fi
   3066 CC=$ac_cv_prog_CC
   3067 if test -n "$CC"; then
   3068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3069 $as_echo "$CC" >&6; }
   3070 else
   3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3072 $as_echo "no" >&6; }
   3073 fi
   3074 
   3075 
   3076 fi
   3077 if test -z "$CC"; then
   3078   if test -n "$ac_tool_prefix"; then
   3079   for ac_prog in cl.exe
   3080   do
   3081     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3082 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3084 $as_echo_n "checking for $ac_word... " >&6; }
   3085 if ${ac_cv_prog_CC+:} false; then :
   3086   $as_echo_n "(cached) " >&6
   3087 else
   3088   if test -n "$CC"; then
   3089   ac_cv_prog_CC="$CC" # Let the user override the test.
   3090 else
   3091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3092 for as_dir in $PATH
   3093 do
   3094   IFS=$as_save_IFS
   3095   test -z "$as_dir" && as_dir=.
   3096     for ac_exec_ext in '' $ac_executable_extensions; do
   3097   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3098     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3100     break 2
   3101   fi
   3102 done
   3103   done
   3104 IFS=$as_save_IFS
   3105 
   3106 fi
   3107 fi
   3108 CC=$ac_cv_prog_CC
   3109 if test -n "$CC"; then
   3110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3111 $as_echo "$CC" >&6; }
   3112 else
   3113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3114 $as_echo "no" >&6; }
   3115 fi
   3116 
   3117 
   3118     test -n "$CC" && break
   3119   done
   3120 fi
   3121 if test -z "$CC"; then
   3122   ac_ct_CC=$CC
   3123   for ac_prog in cl.exe
   3124 do
   3125   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3126 set dummy $ac_prog; ac_word=$2
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3128 $as_echo_n "checking for $ac_word... " >&6; }
   3129 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3130   $as_echo_n "(cached) " >&6
   3131 else
   3132   if test -n "$ac_ct_CC"; then
   3133   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3134 else
   3135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3136 for as_dir in $PATH
   3137 do
   3138   IFS=$as_save_IFS
   3139   test -z "$as_dir" && as_dir=.
   3140     for ac_exec_ext in '' $ac_executable_extensions; do
   3141   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3142     ac_cv_prog_ac_ct_CC="$ac_prog"
   3143     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3144     break 2
   3145   fi
   3146 done
   3147   done
   3148 IFS=$as_save_IFS
   3149 
   3150 fi
   3151 fi
   3152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3153 if test -n "$ac_ct_CC"; then
   3154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3155 $as_echo "$ac_ct_CC" >&6; }
   3156 else
   3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3158 $as_echo "no" >&6; }
   3159 fi
   3160 
   3161 
   3162   test -n "$ac_ct_CC" && break
   3163 done
   3164 
   3165   if test "x$ac_ct_CC" = x; then
   3166     CC=""
   3167   else
   3168     case $cross_compiling:$ac_tool_warned in
   3169 yes:)
   3170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3172 ac_tool_warned=yes ;;
   3173 esac
   3174     CC=$ac_ct_CC
   3175   fi
   3176 fi
   3177 
   3178 fi
   3179 
   3180 
   3181 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3183 as_fn_error $? "no acceptable C compiler found in \$PATH
   3184 See \`config.log' for more details" "$LINENO" 5; }
   3185 
   3186 # Provide some information about the compiler.
   3187 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3188 set X $ac_compile
   3189 ac_compiler=$2
   3190 for ac_option in --version -v -V -qversion; do
   3191   { { ac_try="$ac_compiler $ac_option >&5"
   3192 case "(($ac_try" in
   3193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3194   *) ac_try_echo=$ac_try;;
   3195 esac
   3196 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3197 $as_echo "$ac_try_echo"; } >&5
   3198   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3199   ac_status=$?
   3200   if test -s conftest.err; then
   3201     sed '10a\
   3202 ... rest of stderr output deleted ...
   3203          10q' conftest.err >conftest.er1
   3204     cat conftest.er1 >&5
   3205   fi
   3206   rm -f conftest.er1 conftest.err
   3207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3208   test $ac_status = 0; }
   3209 done
   3210 
   3211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3212 /* end confdefs.h.  */
   3213 
   3214 int
   3215 main ()
   3216 {
   3217 
   3218   ;
   3219   return 0;
   3220 }
   3221 _ACEOF
   3222 ac_clean_files_save=$ac_clean_files
   3223 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3224 # Try to create an executable without -o first, disregard a.out.
   3225 # It will help us diagnose broken compilers, and finding out an intuition
   3226 # of exeext.
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3228 $as_echo_n "checking whether the C compiler works... " >&6; }
   3229 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3230 
   3231 # The possible output files:
   3232 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3233 
   3234 ac_rmfiles=
   3235 for ac_file in $ac_files
   3236 do
   3237   case $ac_file in
   3238     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3239     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3240   esac
   3241 done
   3242 rm -f $ac_rmfiles
   3243 
   3244 if { { ac_try="$ac_link_default"
   3245 case "(($ac_try" in
   3246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3247   *) ac_try_echo=$ac_try;;
   3248 esac
   3249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3250 $as_echo "$ac_try_echo"; } >&5
   3251   (eval "$ac_link_default") 2>&5
   3252   ac_status=$?
   3253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3254   test $ac_status = 0; }; then :
   3255   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3256 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3257 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3258 # so that the user can short-circuit this test for compilers unknown to
   3259 # Autoconf.
   3260 for ac_file in $ac_files ''
   3261 do
   3262   test -f "$ac_file" || continue
   3263   case $ac_file in
   3264     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3265 	;;
   3266     [ab].out )
   3267 	# We found the default executable, but exeext='' is most
   3268 	# certainly right.
   3269 	break;;
   3270     *.* )
   3271 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3272 	then :; else
   3273 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3274 	fi
   3275 	# We set ac_cv_exeext here because the later test for it is not
   3276 	# safe: cross compilers may not add the suffix if given an `-o'
   3277 	# argument, so we may need to know it at that point already.
   3278 	# Even if this section looks crufty: it has the advantage of
   3279 	# actually working.
   3280 	break;;
   3281     * )
   3282 	break;;
   3283   esac
   3284 done
   3285 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3286 
   3287 else
   3288   ac_file=''
   3289 fi
   3290 if test -z "$ac_file"; then :
   3291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3292 $as_echo "no" >&6; }
   3293 $as_echo "$as_me: failed program was:" >&5
   3294 sed 's/^/| /' conftest.$ac_ext >&5
   3295 
   3296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3297 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3298 as_fn_error 77 "C compiler cannot create executables
   3299 See \`config.log' for more details" "$LINENO" 5; }
   3300 else
   3301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3302 $as_echo "yes" >&6; }
   3303 fi
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3305 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3307 $as_echo "$ac_file" >&6; }
   3308 ac_exeext=$ac_cv_exeext
   3309 
   3310 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3311 ac_clean_files=$ac_clean_files_save
   3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3313 $as_echo_n "checking for suffix of executables... " >&6; }
   3314 if { { ac_try="$ac_link"
   3315 case "(($ac_try" in
   3316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3317   *) ac_try_echo=$ac_try;;
   3318 esac
   3319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3320 $as_echo "$ac_try_echo"; } >&5
   3321   (eval "$ac_link") 2>&5
   3322   ac_status=$?
   3323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3324   test $ac_status = 0; }; then :
   3325   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3326 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3327 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3328 # `rm'.
   3329 for ac_file in conftest.exe conftest conftest.*; do
   3330   test -f "$ac_file" || continue
   3331   case $ac_file in
   3332     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3333     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3334 	  break;;
   3335     * ) break;;
   3336   esac
   3337 done
   3338 else
   3339   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3341 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3342 See \`config.log' for more details" "$LINENO" 5; }
   3343 fi
   3344 rm -f conftest conftest$ac_cv_exeext
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3346 $as_echo "$ac_cv_exeext" >&6; }
   3347 
   3348 rm -f conftest.$ac_ext
   3349 EXEEXT=$ac_cv_exeext
   3350 ac_exeext=$EXEEXT
   3351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3352 /* end confdefs.h.  */
   3353 #include <stdio.h>
   3354 int
   3355 main ()
   3356 {
   3357 FILE *f = fopen ("conftest.out", "w");
   3358  return ferror (f) || fclose (f) != 0;
   3359 
   3360   ;
   3361   return 0;
   3362 }
   3363 _ACEOF
   3364 ac_clean_files="$ac_clean_files conftest.out"
   3365 # Check that the compiler produces executables we can run.  If not, either
   3366 # the compiler is broken, or we cross compile.
   3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3368 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3369 if test "$cross_compiling" != yes; then
   3370   { { ac_try="$ac_link"
   3371 case "(($ac_try" in
   3372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3373   *) ac_try_echo=$ac_try;;
   3374 esac
   3375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3376 $as_echo "$ac_try_echo"; } >&5
   3377   (eval "$ac_link") 2>&5
   3378   ac_status=$?
   3379   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3380   test $ac_status = 0; }
   3381   if { ac_try='./conftest$ac_cv_exeext'
   3382   { { case "(($ac_try" in
   3383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3384   *) ac_try_echo=$ac_try;;
   3385 esac
   3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3387 $as_echo "$ac_try_echo"; } >&5
   3388   (eval "$ac_try") 2>&5
   3389   ac_status=$?
   3390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3391   test $ac_status = 0; }; }; then
   3392     cross_compiling=no
   3393   else
   3394     if test "$cross_compiling" = maybe; then
   3395 	cross_compiling=yes
   3396     else
   3397 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3399 as_fn_error $? "cannot run C compiled programs.
   3400 If you meant to cross compile, use \`--host'.
   3401 See \`config.log' for more details" "$LINENO" 5; }
   3402     fi
   3403   fi
   3404 fi
   3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3406 $as_echo "$cross_compiling" >&6; }
   3407 
   3408 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3409 ac_clean_files=$ac_clean_files_save
   3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3411 $as_echo_n "checking for suffix of object files... " >&6; }
   3412 if ${ac_cv_objext+:} false; then :
   3413   $as_echo_n "(cached) " >&6
   3414 else
   3415   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 rm -f conftest.o conftest.obj
   3427 if { { ac_try="$ac_compile"
   3428 case "(($ac_try" in
   3429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3430   *) ac_try_echo=$ac_try;;
   3431 esac
   3432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3433 $as_echo "$ac_try_echo"; } >&5
   3434   (eval "$ac_compile") 2>&5
   3435   ac_status=$?
   3436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3437   test $ac_status = 0; }; then :
   3438   for ac_file in conftest.o conftest.obj conftest.*; do
   3439   test -f "$ac_file" || continue;
   3440   case $ac_file in
   3441     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3442     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3443        break;;
   3444   esac
   3445 done
   3446 else
   3447   $as_echo "$as_me: failed program was:" >&5
   3448 sed 's/^/| /' conftest.$ac_ext >&5
   3449 
   3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3452 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3453 See \`config.log' for more details" "$LINENO" 5; }
   3454 fi
   3455 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3456 fi
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3458 $as_echo "$ac_cv_objext" >&6; }
   3459 OBJEXT=$ac_cv_objext
   3460 ac_objext=$OBJEXT
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3462 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3463 if ${ac_cv_c_compiler_gnu+:} false; then :
   3464   $as_echo_n "(cached) " >&6
   3465 else
   3466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3467 /* end confdefs.h.  */
   3468 
   3469 int
   3470 main ()
   3471 {
   3472 #ifndef __GNUC__
   3473        choke me
   3474 #endif
   3475 
   3476   ;
   3477   return 0;
   3478 }
   3479 _ACEOF
   3480 if ac_fn_c_try_compile "$LINENO"; then :
   3481   ac_compiler_gnu=yes
   3482 else
   3483   ac_compiler_gnu=no
   3484 fi
   3485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3486 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3487 
   3488 fi
   3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3490 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3491 if test $ac_compiler_gnu = yes; then
   3492   GCC=yes
   3493 else
   3494   GCC=
   3495 fi
   3496 ac_test_CFLAGS=${CFLAGS+set}
   3497 ac_save_CFLAGS=$CFLAGS
   3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3499 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3500 if ${ac_cv_prog_cc_g+:} false; then :
   3501   $as_echo_n "(cached) " >&6
   3502 else
   3503   ac_save_c_werror_flag=$ac_c_werror_flag
   3504    ac_c_werror_flag=yes
   3505    ac_cv_prog_cc_g=no
   3506    CFLAGS="-g"
   3507    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 
   3510 int
   3511 main ()
   3512 {
   3513 
   3514   ;
   3515   return 0;
   3516 }
   3517 _ACEOF
   3518 if ac_fn_c_try_compile "$LINENO"; then :
   3519   ac_cv_prog_cc_g=yes
   3520 else
   3521   CFLAGS=""
   3522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3523 /* end confdefs.h.  */
   3524 
   3525 int
   3526 main ()
   3527 {
   3528 
   3529   ;
   3530   return 0;
   3531 }
   3532 _ACEOF
   3533 if ac_fn_c_try_compile "$LINENO"; then :
   3534 
   3535 else
   3536   ac_c_werror_flag=$ac_save_c_werror_flag
   3537 	 CFLAGS="-g"
   3538 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3539 /* end confdefs.h.  */
   3540 
   3541 int
   3542 main ()
   3543 {
   3544 
   3545   ;
   3546   return 0;
   3547 }
   3548 _ACEOF
   3549 if ac_fn_c_try_compile "$LINENO"; then :
   3550   ac_cv_prog_cc_g=yes
   3551 fi
   3552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3553 fi
   3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3555 fi
   3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3557    ac_c_werror_flag=$ac_save_c_werror_flag
   3558 fi
   3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3560 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3561 if test "$ac_test_CFLAGS" = set; then
   3562   CFLAGS=$ac_save_CFLAGS
   3563 elif test $ac_cv_prog_cc_g = yes; then
   3564   if test "$GCC" = yes; then
   3565     CFLAGS="-g -O2"
   3566   else
   3567     CFLAGS="-g"
   3568   fi
   3569 else
   3570   if test "$GCC" = yes; then
   3571     CFLAGS="-O2"
   3572   else
   3573     CFLAGS=
   3574   fi
   3575 fi
   3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3577 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3578 if ${ac_cv_prog_cc_c89+:} false; then :
   3579   $as_echo_n "(cached) " >&6
   3580 else
   3581   ac_cv_prog_cc_c89=no
   3582 ac_save_CC=$CC
   3583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3584 /* end confdefs.h.  */
   3585 #include <stdarg.h>
   3586 #include <stdio.h>
   3587 struct stat;
   3588 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3589 struct buf { int x; };
   3590 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3591 static char *e (p, i)
   3592      char **p;
   3593      int i;
   3594 {
   3595   return p[i];
   3596 }
   3597 static char *f (char * (*g) (char **, int), char **p, ...)
   3598 {
   3599   char *s;
   3600   va_list v;
   3601   va_start (v,p);
   3602   s = g (p, va_arg (v,int));
   3603   va_end (v);
   3604   return s;
   3605 }
   3606 
   3607 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3608    function prototypes and stuff, but not '\xHH' hex character constants.
   3609    These don't provoke an error unfortunately, instead are silently treated
   3610    as 'x'.  The following induces an error, until -std is added to get
   3611    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3612    array size at least.  It's necessary to write '\x00'==0 to get something
   3613    that's true only with -std.  */
   3614 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3615 
   3616 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3617    inside strings and character constants.  */
   3618 #define FOO(x) 'x'
   3619 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3620 
   3621 int test (int i, double x);
   3622 struct s1 {int (*f) (int a);};
   3623 struct s2 {int (*f) (double a);};
   3624 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3625 int argc;
   3626 char **argv;
   3627 int
   3628 main ()
   3629 {
   3630 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3631   ;
   3632   return 0;
   3633 }
   3634 _ACEOF
   3635 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3636 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3637 do
   3638   CC="$ac_save_CC $ac_arg"
   3639   if ac_fn_c_try_compile "$LINENO"; then :
   3640   ac_cv_prog_cc_c89=$ac_arg
   3641 fi
   3642 rm -f core conftest.err conftest.$ac_objext
   3643   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3644 done
   3645 rm -f conftest.$ac_ext
   3646 CC=$ac_save_CC
   3647 
   3648 fi
   3649 # AC_CACHE_VAL
   3650 case "x$ac_cv_prog_cc_c89" in
   3651   x)
   3652     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3653 $as_echo "none needed" >&6; } ;;
   3654   xno)
   3655     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3656 $as_echo "unsupported" >&6; } ;;
   3657   *)
   3658     CC="$CC $ac_cv_prog_cc_c89"
   3659     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3660 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3661 esac
   3662 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3663 
   3664 fi
   3665 
   3666 ac_ext=c
   3667 ac_cpp='$CPP $CPPFLAGS'
   3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3671 
   3672 ac_ext=c
   3673 ac_cpp='$CPP $CPPFLAGS'
   3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3678 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3679 if ${am_cv_prog_cc_c_o+:} false; then :
   3680   $as_echo_n "(cached) " >&6
   3681 else
   3682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3683 /* end confdefs.h.  */
   3684 
   3685 int
   3686 main ()
   3687 {
   3688 
   3689   ;
   3690   return 0;
   3691 }
   3692 _ACEOF
   3693   # Make sure it works both with $CC and with simple cc.
   3694   # Following AC_PROG_CC_C_O, we do the test twice because some
   3695   # compilers refuse to overwrite an existing .o file with -o,
   3696   # though they will create one.
   3697   am_cv_prog_cc_c_o=yes
   3698   for am_i in 1 2; do
   3699     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3700    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3701    ac_status=$?
   3702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3703    (exit $ac_status); } \
   3704          && test -f conftest2.$ac_objext; then
   3705       : OK
   3706     else
   3707       am_cv_prog_cc_c_o=no
   3708       break
   3709     fi
   3710   done
   3711   rm -f core conftest*
   3712   unset am_i
   3713 fi
   3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3715 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3716 if test "$am_cv_prog_cc_c_o" != yes; then
   3717    # Losing compiler, so override with the script.
   3718    # FIXME: It is wrong to rewrite CC.
   3719    # But if we don't then we get into trouble of one sort or another.
   3720    # A longer-term fix would be to have automake use am__CC in this case,
   3721    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3722    CC="$am_aux_dir/compile $CC"
   3723 fi
   3724 ac_ext=c
   3725 ac_cpp='$CPP $CPPFLAGS'
   3726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3729 
   3730 DEPDIR="${am__leading_dot}deps"
   3731 
   3732 ac_config_commands="$ac_config_commands depfiles"
   3733 
   3734 
   3735 am_make=${MAKE-make}
   3736 cat > confinc << 'END'
   3737 am__doit:
   3738 	@echo this is the am__doit target
   3739 .PHONY: am__doit
   3740 END
   3741 # If we don't find an include directive, just comment out the code.
   3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3743 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3744 am__include="#"
   3745 am__quote=
   3746 _am_result=none
   3747 # First try GNU make style include.
   3748 echo "include confinc" > confmf
   3749 # Ignore all kinds of additional output from 'make'.
   3750 case `$am_make -s -f confmf 2> /dev/null` in #(
   3751 *the\ am__doit\ target*)
   3752   am__include=include
   3753   am__quote=
   3754   _am_result=GNU
   3755   ;;
   3756 esac
   3757 # Now try BSD make style include.
   3758 if test "$am__include" = "#"; then
   3759    echo '.include "confinc"' > confmf
   3760    case `$am_make -s -f confmf 2> /dev/null` in #(
   3761    *the\ am__doit\ target*)
   3762      am__include=.include
   3763      am__quote="\""
   3764      _am_result=BSD
   3765      ;;
   3766    esac
   3767 fi
   3768 
   3769 
   3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3771 $as_echo "$_am_result" >&6; }
   3772 rm -f confinc confmf
   3773 
   3774 # Check whether --enable-dependency-tracking was given.
   3775 if test "${enable_dependency_tracking+set}" = set; then :
   3776   enableval=$enable_dependency_tracking;
   3777 fi
   3778 
   3779 if test "x$enable_dependency_tracking" != xno; then
   3780   am_depcomp="$ac_aux_dir/depcomp"
   3781   AMDEPBACKSLASH='\'
   3782   am__nodep='_no'
   3783 fi
   3784  if test "x$enable_dependency_tracking" != xno; then
   3785   AMDEP_TRUE=
   3786   AMDEP_FALSE='#'
   3787 else
   3788   AMDEP_TRUE='#'
   3789   AMDEP_FALSE=
   3790 fi
   3791 
   3792 
   3793 
   3794 depcc="$CC"   am_compiler_list=
   3795 
   3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3797 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3798 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3799   $as_echo_n "(cached) " >&6
   3800 else
   3801   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3802   # We make a subdir and do the tests there.  Otherwise we can end up
   3803   # making bogus files that we don't know about and never remove.  For
   3804   # instance it was reported that on HP-UX the gcc test will end up
   3805   # making a dummy file named 'D' -- because '-MD' means "put the output
   3806   # in D".
   3807   rm -rf conftest.dir
   3808   mkdir conftest.dir
   3809   # Copy depcomp to subdir because otherwise we won't find it if we're
   3810   # using a relative directory.
   3811   cp "$am_depcomp" conftest.dir
   3812   cd conftest.dir
   3813   # We will build objects and dependencies in a subdirectory because
   3814   # it helps to detect inapplicable dependency modes.  For instance
   3815   # both Tru64's cc and ICC support -MD to output dependencies as a
   3816   # side effect of compilation, but ICC will put the dependencies in
   3817   # the current directory while Tru64 will put them in the object
   3818   # directory.
   3819   mkdir sub
   3820 
   3821   am_cv_CC_dependencies_compiler_type=none
   3822   if test "$am_compiler_list" = ""; then
   3823      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3824   fi
   3825   am__universal=false
   3826   case " $depcc " in #(
   3827      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3828      esac
   3829 
   3830   for depmode in $am_compiler_list; do
   3831     # Setup a source with many dependencies, because some compilers
   3832     # like to wrap large dependency lists on column 80 (with \), and
   3833     # we should not choose a depcomp mode which is confused by this.
   3834     #
   3835     # We need to recreate these files for each test, as the compiler may
   3836     # overwrite some of them when testing with obscure command lines.
   3837     # This happens at least with the AIX C compiler.
   3838     : > sub/conftest.c
   3839     for i in 1 2 3 4 5 6; do
   3840       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3841       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3842       # Solaris 10 /bin/sh.
   3843       echo '/* dummy */' > sub/conftst$i.h
   3844     done
   3845     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3846 
   3847     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3848     # mode.  It turns out that the SunPro C++ compiler does not properly
   3849     # handle '-M -o', and we need to detect this.  Also, some Intel
   3850     # versions had trouble with output in subdirs.
   3851     am__obj=sub/conftest.${OBJEXT-o}
   3852     am__minus_obj="-o $am__obj"
   3853     case $depmode in
   3854     gcc)
   3855       # This depmode causes a compiler race in universal mode.
   3856       test "$am__universal" = false || continue
   3857       ;;
   3858     nosideeffect)
   3859       # After this tag, mechanisms are not by side-effect, so they'll
   3860       # only be used when explicitly requested.
   3861       if test "x$enable_dependency_tracking" = xyes; then
   3862 	continue
   3863       else
   3864 	break
   3865       fi
   3866       ;;
   3867     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3868       # This compiler won't grok '-c -o', but also, the minuso test has
   3869       # not run yet.  These depmodes are late enough in the game, and
   3870       # so weak that their functioning should not be impacted.
   3871       am__obj=conftest.${OBJEXT-o}
   3872       am__minus_obj=
   3873       ;;
   3874     none) break ;;
   3875     esac
   3876     if depmode=$depmode \
   3877        source=sub/conftest.c object=$am__obj \
   3878        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3879        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3880          >/dev/null 2>conftest.err &&
   3881        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3882        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3883        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3884        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3885       # icc doesn't choke on unknown options, it will just issue warnings
   3886       # or remarks (even with -Werror).  So we grep stderr for any message
   3887       # that says an option was ignored or not supported.
   3888       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3889       #   icc: Command line warning: ignoring option '-M'; no argument required
   3890       # The diagnosis changed in icc 8.0:
   3891       #   icc: Command line remark: option '-MP' not supported
   3892       if (grep 'ignoring option' conftest.err ||
   3893           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3894         am_cv_CC_dependencies_compiler_type=$depmode
   3895         break
   3896       fi
   3897     fi
   3898   done
   3899 
   3900   cd ..
   3901   rm -rf conftest.dir
   3902 else
   3903   am_cv_CC_dependencies_compiler_type=none
   3904 fi
   3905 
   3906 fi
   3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3908 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3909 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3910 
   3911  if
   3912   test "x$enable_dependency_tracking" != xno \
   3913   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3914   am__fastdepCC_TRUE=
   3915   am__fastdepCC_FALSE='#'
   3916 else
   3917   am__fastdepCC_TRUE='#'
   3918   am__fastdepCC_FALSE=
   3919 fi
   3920 
   3921 
   3922 ac_ext=cpp
   3923 ac_cpp='$CXXCPP $CPPFLAGS'
   3924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3927 if test -z "$CXX"; then
   3928   if test -n "$CCC"; then
   3929     CXX=$CCC
   3930   else
   3931     if test -n "$ac_tool_prefix"; then
   3932   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3933   do
   3934     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3935 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3937 $as_echo_n "checking for $ac_word... " >&6; }
   3938 if ${ac_cv_prog_CXX+:} false; then :
   3939   $as_echo_n "(cached) " >&6
   3940 else
   3941   if test -n "$CXX"; then
   3942   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3943 else
   3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3945 for as_dir in $PATH
   3946 do
   3947   IFS=$as_save_IFS
   3948   test -z "$as_dir" && as_dir=.
   3949     for ac_exec_ext in '' $ac_executable_extensions; do
   3950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3951     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3953     break 2
   3954   fi
   3955 done
   3956   done
   3957 IFS=$as_save_IFS
   3958 
   3959 fi
   3960 fi
   3961 CXX=$ac_cv_prog_CXX
   3962 if test -n "$CXX"; then
   3963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   3964 $as_echo "$CXX" >&6; }
   3965 else
   3966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3967 $as_echo "no" >&6; }
   3968 fi
   3969 
   3970 
   3971     test -n "$CXX" && break
   3972   done
   3973 fi
   3974 if test -z "$CXX"; then
   3975   ac_ct_CXX=$CXX
   3976   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3977 do
   3978   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3979 set dummy $ac_prog; ac_word=$2
   3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3981 $as_echo_n "checking for $ac_word... " >&6; }
   3982 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   3983   $as_echo_n "(cached) " >&6
   3984 else
   3985   if test -n "$ac_ct_CXX"; then
   3986   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3987 else
   3988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3989 for as_dir in $PATH
   3990 do
   3991   IFS=$as_save_IFS
   3992   test -z "$as_dir" && as_dir=.
   3993     for ac_exec_ext in '' $ac_executable_extensions; do
   3994   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3995     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3997     break 2
   3998   fi
   3999 done
   4000   done
   4001 IFS=$as_save_IFS
   4002 
   4003 fi
   4004 fi
   4005 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4006 if test -n "$ac_ct_CXX"; then
   4007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4008 $as_echo "$ac_ct_CXX" >&6; }
   4009 else
   4010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4011 $as_echo "no" >&6; }
   4012 fi
   4013 
   4014 
   4015   test -n "$ac_ct_CXX" && break
   4016 done
   4017 
   4018   if test "x$ac_ct_CXX" = x; then
   4019     CXX="g++"
   4020   else
   4021     case $cross_compiling:$ac_tool_warned in
   4022 yes:)
   4023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4025 ac_tool_warned=yes ;;
   4026 esac
   4027     CXX=$ac_ct_CXX
   4028   fi
   4029 fi
   4030 
   4031   fi
   4032 fi
   4033 # Provide some information about the compiler.
   4034 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4035 set X $ac_compile
   4036 ac_compiler=$2
   4037 for ac_option in --version -v -V -qversion; do
   4038   { { ac_try="$ac_compiler $ac_option >&5"
   4039 case "(($ac_try" in
   4040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4041   *) ac_try_echo=$ac_try;;
   4042 esac
   4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4044 $as_echo "$ac_try_echo"; } >&5
   4045   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4046   ac_status=$?
   4047   if test -s conftest.err; then
   4048     sed '10a\
   4049 ... rest of stderr output deleted ...
   4050          10q' conftest.err >conftest.er1
   4051     cat conftest.er1 >&5
   4052   fi
   4053   rm -f conftest.er1 conftest.err
   4054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4055   test $ac_status = 0; }
   4056 done
   4057 
   4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4059 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4060 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   4061   $as_echo_n "(cached) " >&6
   4062 else
   4063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4064 /* end confdefs.h.  */
   4065 
   4066 int
   4067 main ()
   4068 {
   4069 #ifndef __GNUC__
   4070        choke me
   4071 #endif
   4072 
   4073   ;
   4074   return 0;
   4075 }
   4076 _ACEOF
   4077 if ac_fn_cxx_try_compile "$LINENO"; then :
   4078   ac_compiler_gnu=yes
   4079 else
   4080   ac_compiler_gnu=no
   4081 fi
   4082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4083 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4084 
   4085 fi
   4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   4087 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   4088 if test $ac_compiler_gnu = yes; then
   4089   GXX=yes
   4090 else
   4091   GXX=
   4092 fi
   4093 ac_test_CXXFLAGS=${CXXFLAGS+set}
   4094 ac_save_CXXFLAGS=$CXXFLAGS
   4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   4096 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   4097 if ${ac_cv_prog_cxx_g+:} false; then :
   4098   $as_echo_n "(cached) " >&6
   4099 else
   4100   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   4101    ac_cxx_werror_flag=yes
   4102    ac_cv_prog_cxx_g=no
   4103    CXXFLAGS="-g"
   4104    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4105 /* end confdefs.h.  */
   4106 
   4107 int
   4108 main ()
   4109 {
   4110 
   4111   ;
   4112   return 0;
   4113 }
   4114 _ACEOF
   4115 if ac_fn_cxx_try_compile "$LINENO"; then :
   4116   ac_cv_prog_cxx_g=yes
   4117 else
   4118   CXXFLAGS=""
   4119       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4120 /* end confdefs.h.  */
   4121 
   4122 int
   4123 main ()
   4124 {
   4125 
   4126   ;
   4127   return 0;
   4128 }
   4129 _ACEOF
   4130 if ac_fn_cxx_try_compile "$LINENO"; then :
   4131 
   4132 else
   4133   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4134 	 CXXFLAGS="-g"
   4135 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4136 /* end confdefs.h.  */
   4137 
   4138 int
   4139 main ()
   4140 {
   4141 
   4142   ;
   4143   return 0;
   4144 }
   4145 _ACEOF
   4146 if ac_fn_cxx_try_compile "$LINENO"; then :
   4147   ac_cv_prog_cxx_g=yes
   4148 fi
   4149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4150 fi
   4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4152 fi
   4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4154    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4155 fi
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   4157 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   4158 if test "$ac_test_CXXFLAGS" = set; then
   4159   CXXFLAGS=$ac_save_CXXFLAGS
   4160 elif test $ac_cv_prog_cxx_g = yes; then
   4161   if test "$GXX" = yes; then
   4162     CXXFLAGS="-g -O2"
   4163   else
   4164     CXXFLAGS="-g"
   4165   fi
   4166 else
   4167   if test "$GXX" = yes; then
   4168     CXXFLAGS="-O2"
   4169   else
   4170     CXXFLAGS=
   4171   fi
   4172 fi
   4173 ac_ext=c
   4174 ac_cpp='$CPP $CPPFLAGS'
   4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4178 
   4179 depcc="$CXX"  am_compiler_list=
   4180 
   4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4182 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4183 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   4184   $as_echo_n "(cached) " >&6
   4185 else
   4186   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4187   # We make a subdir and do the tests there.  Otherwise we can end up
   4188   # making bogus files that we don't know about and never remove.  For
   4189   # instance it was reported that on HP-UX the gcc test will end up
   4190   # making a dummy file named 'D' -- because '-MD' means "put the output
   4191   # in D".
   4192   rm -rf conftest.dir
   4193   mkdir conftest.dir
   4194   # Copy depcomp to subdir because otherwise we won't find it if we're
   4195   # using a relative directory.
   4196   cp "$am_depcomp" conftest.dir
   4197   cd conftest.dir
   4198   # We will build objects and dependencies in a subdirectory because
   4199   # it helps to detect inapplicable dependency modes.  For instance
   4200   # both Tru64's cc and ICC support -MD to output dependencies as a
   4201   # side effect of compilation, but ICC will put the dependencies in
   4202   # the current directory while Tru64 will put them in the object
   4203   # directory.
   4204   mkdir sub
   4205 
   4206   am_cv_CXX_dependencies_compiler_type=none
   4207   if test "$am_compiler_list" = ""; then
   4208      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4209   fi
   4210   am__universal=false
   4211   case " $depcc " in #(
   4212      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4213      esac
   4214 
   4215   for depmode in $am_compiler_list; do
   4216     # Setup a source with many dependencies, because some compilers
   4217     # like to wrap large dependency lists on column 80 (with \), and
   4218     # we should not choose a depcomp mode which is confused by this.
   4219     #
   4220     # We need to recreate these files for each test, as the compiler may
   4221     # overwrite some of them when testing with obscure command lines.
   4222     # This happens at least with the AIX C compiler.
   4223     : > sub/conftest.c
   4224     for i in 1 2 3 4 5 6; do
   4225       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4226       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4227       # Solaris 10 /bin/sh.
   4228       echo '/* dummy */' > sub/conftst$i.h
   4229     done
   4230     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4231 
   4232     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4233     # mode.  It turns out that the SunPro C++ compiler does not properly
   4234     # handle '-M -o', and we need to detect this.  Also, some Intel
   4235     # versions had trouble with output in subdirs.
   4236     am__obj=sub/conftest.${OBJEXT-o}
   4237     am__minus_obj="-o $am__obj"
   4238     case $depmode in
   4239     gcc)
   4240       # This depmode causes a compiler race in universal mode.
   4241       test "$am__universal" = false || continue
   4242       ;;
   4243     nosideeffect)
   4244       # After this tag, mechanisms are not by side-effect, so they'll
   4245       # only be used when explicitly requested.
   4246       if test "x$enable_dependency_tracking" = xyes; then
   4247 	continue
   4248       else
   4249 	break
   4250       fi
   4251       ;;
   4252     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4253       # This compiler won't grok '-c -o', but also, the minuso test has
   4254       # not run yet.  These depmodes are late enough in the game, and
   4255       # so weak that their functioning should not be impacted.
   4256       am__obj=conftest.${OBJEXT-o}
   4257       am__minus_obj=
   4258       ;;
   4259     none) break ;;
   4260     esac
   4261     if depmode=$depmode \
   4262        source=sub/conftest.c object=$am__obj \
   4263        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4264        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4265          >/dev/null 2>conftest.err &&
   4266        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4267        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4268        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4269        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4270       # icc doesn't choke on unknown options, it will just issue warnings
   4271       # or remarks (even with -Werror).  So we grep stderr for any message
   4272       # that says an option was ignored or not supported.
   4273       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4274       #   icc: Command line warning: ignoring option '-M'; no argument required
   4275       # The diagnosis changed in icc 8.0:
   4276       #   icc: Command line remark: option '-MP' not supported
   4277       if (grep 'ignoring option' conftest.err ||
   4278           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4279         am_cv_CXX_dependencies_compiler_type=$depmode
   4280         break
   4281       fi
   4282     fi
   4283   done
   4284 
   4285   cd ..
   4286   rm -rf conftest.dir
   4287 else
   4288   am_cv_CXX_dependencies_compiler_type=none
   4289 fi
   4290 
   4291 fi
   4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4293 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   4294 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4295 
   4296  if
   4297   test "x$enable_dependency_tracking" != xno \
   4298   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   4299   am__fastdepCXX_TRUE=
   4300   am__fastdepCXX_FALSE='#'
   4301 else
   4302   am__fastdepCXX_TRUE='#'
   4303   am__fastdepCXX_FALSE=
   4304 fi
   4305 
   4306 
   4307 ac_ext=cpp
   4308 ac_cpp='$CXXCPP $CPPFLAGS'
   4309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4312 
   4313 case `pwd` in
   4314   *\ * | *\	*)
   4315     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4316 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4317 esac
   4318 
   4319 
   4320 
   4321 macro_version='2.4.2'
   4322 macro_revision='1.3337'
   4323 
   4324 
   4325 
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 
   4334 
   4335 
   4336 ltmain="$ac_aux_dir/ltmain.sh"
   4337 
   4338 # Make sure we can run config.sub.
   4339 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4340   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4341 
   4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4343 $as_echo_n "checking build system type... " >&6; }
   4344 if ${ac_cv_build+:} false; then :
   4345   $as_echo_n "(cached) " >&6
   4346 else
   4347   ac_build_alias=$build_alias
   4348 test "x$ac_build_alias" = x &&
   4349   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4350 test "x$ac_build_alias" = x &&
   4351   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4352 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4353   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4354 
   4355 fi
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4357 $as_echo "$ac_cv_build" >&6; }
   4358 case $ac_cv_build in
   4359 *-*-*) ;;
   4360 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4361 esac
   4362 build=$ac_cv_build
   4363 ac_save_IFS=$IFS; IFS='-'
   4364 set x $ac_cv_build
   4365 shift
   4366 build_cpu=$1
   4367 build_vendor=$2
   4368 shift; shift
   4369 # Remember, the first character of IFS is used to create $*,
   4370 # except with old shells:
   4371 build_os=$*
   4372 IFS=$ac_save_IFS
   4373 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4374 
   4375 
   4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4377 $as_echo_n "checking host system type... " >&6; }
   4378 if ${ac_cv_host+:} false; then :
   4379   $as_echo_n "(cached) " >&6
   4380 else
   4381   if test "x$host_alias" = x; then
   4382   ac_cv_host=$ac_cv_build
   4383 else
   4384   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4385     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4386 fi
   4387 
   4388 fi
   4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4390 $as_echo "$ac_cv_host" >&6; }
   4391 case $ac_cv_host in
   4392 *-*-*) ;;
   4393 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4394 esac
   4395 host=$ac_cv_host
   4396 ac_save_IFS=$IFS; IFS='-'
   4397 set x $ac_cv_host
   4398 shift
   4399 host_cpu=$1
   4400 host_vendor=$2
   4401 shift; shift
   4402 # Remember, the first character of IFS is used to create $*,
   4403 # except with old shells:
   4404 host_os=$*
   4405 IFS=$ac_save_IFS
   4406 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4407 
   4408 
   4409 # Backslashify metacharacters that are still active within
   4410 # double-quoted strings.
   4411 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4412 
   4413 # Same as above, but do not quote variable references.
   4414 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4415 
   4416 # Sed substitution to delay expansion of an escaped shell variable in a
   4417 # double_quote_subst'ed string.
   4418 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4419 
   4420 # Sed substitution to delay expansion of an escaped single quote.
   4421 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4422 
   4423 # Sed substitution to avoid accidental globbing in evaled expressions
   4424 no_glob_subst='s/\*/\\\*/g'
   4425 
   4426 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4427 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4428 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4429 
   4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4431 $as_echo_n "checking how to print strings... " >&6; }
   4432 # Test print first, because it will be a builtin if present.
   4433 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4434    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4435   ECHO='print -r --'
   4436 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4437   ECHO='printf %s\n'
   4438 else
   4439   # Use this function as a fallback that always works.
   4440   func_fallback_echo ()
   4441   {
   4442     eval 'cat <<_LTECHO_EOF
   4443 $1
   4444 _LTECHO_EOF'
   4445   }
   4446   ECHO='func_fallback_echo'
   4447 fi
   4448 
   4449 # func_echo_all arg...
   4450 # Invoke $ECHO with all args, space-separated.
   4451 func_echo_all ()
   4452 {
   4453     $ECHO ""
   4454 }
   4455 
   4456 case "$ECHO" in
   4457   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4458 $as_echo "printf" >&6; } ;;
   4459   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4460 $as_echo "print -r" >&6; } ;;
   4461   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4462 $as_echo "cat" >&6; } ;;
   4463 esac
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 
   4471 
   4472 
   4473 
   4474 
   4475 
   4476 
   4477 
   4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4479 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4480 if ${ac_cv_path_SED+:} false; then :
   4481   $as_echo_n "(cached) " >&6
   4482 else
   4483             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4484      for ac_i in 1 2 3 4 5 6 7; do
   4485        ac_script="$ac_script$as_nl$ac_script"
   4486      done
   4487      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4488      { ac_script=; unset ac_script;}
   4489      if test -z "$SED"; then
   4490   ac_path_SED_found=false
   4491   # Loop through the user's path and test for each of PROGNAME-LIST
   4492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4493 for as_dir in $PATH
   4494 do
   4495   IFS=$as_save_IFS
   4496   test -z "$as_dir" && as_dir=.
   4497     for ac_prog in sed gsed; do
   4498     for ac_exec_ext in '' $ac_executable_extensions; do
   4499       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4500       as_fn_executable_p "$ac_path_SED" || continue
   4501 # Check for GNU ac_path_SED and select it if it is found.
   4502   # Check for GNU $ac_path_SED
   4503 case `"$ac_path_SED" --version 2>&1` in
   4504 *GNU*)
   4505   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4506 *)
   4507   ac_count=0
   4508   $as_echo_n 0123456789 >"conftest.in"
   4509   while :
   4510   do
   4511     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4512     mv "conftest.tmp" "conftest.in"
   4513     cp "conftest.in" "conftest.nl"
   4514     $as_echo '' >> "conftest.nl"
   4515     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4516     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4517     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4518     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4519       # Best one so far, save it but keep looking for a better one
   4520       ac_cv_path_SED="$ac_path_SED"
   4521       ac_path_SED_max=$ac_count
   4522     fi
   4523     # 10*(2^10) chars as input seems more than enough
   4524     test $ac_count -gt 10 && break
   4525   done
   4526   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4527 esac
   4528 
   4529       $ac_path_SED_found && break 3
   4530     done
   4531   done
   4532   done
   4533 IFS=$as_save_IFS
   4534   if test -z "$ac_cv_path_SED"; then
   4535     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4536   fi
   4537 else
   4538   ac_cv_path_SED=$SED
   4539 fi
   4540 
   4541 fi
   4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4543 $as_echo "$ac_cv_path_SED" >&6; }
   4544  SED="$ac_cv_path_SED"
   4545   rm -f conftest.sed
   4546 
   4547 test -z "$SED" && SED=sed
   4548 Xsed="$SED -e 1s/^X//"
   4549 
   4550 
   4551 
   4552 
   4553 
   4554 
   4555 
   4556 
   4557 
   4558 
   4559 
   4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4561 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4562 if ${ac_cv_path_GREP+:} false; then :
   4563   $as_echo_n "(cached) " >&6
   4564 else
   4565   if test -z "$GREP"; then
   4566   ac_path_GREP_found=false
   4567   # Loop through the user's path and test for each of PROGNAME-LIST
   4568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4569 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4570 do
   4571   IFS=$as_save_IFS
   4572   test -z "$as_dir" && as_dir=.
   4573     for ac_prog in grep ggrep; do
   4574     for ac_exec_ext in '' $ac_executable_extensions; do
   4575       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4576       as_fn_executable_p "$ac_path_GREP" || continue
   4577 # Check for GNU ac_path_GREP and select it if it is found.
   4578   # Check for GNU $ac_path_GREP
   4579 case `"$ac_path_GREP" --version 2>&1` in
   4580 *GNU*)
   4581   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4582 *)
   4583   ac_count=0
   4584   $as_echo_n 0123456789 >"conftest.in"
   4585   while :
   4586   do
   4587     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4588     mv "conftest.tmp" "conftest.in"
   4589     cp "conftest.in" "conftest.nl"
   4590     $as_echo 'GREP' >> "conftest.nl"
   4591     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4592     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4593     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4594     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4595       # Best one so far, save it but keep looking for a better one
   4596       ac_cv_path_GREP="$ac_path_GREP"
   4597       ac_path_GREP_max=$ac_count
   4598     fi
   4599     # 10*(2^10) chars as input seems more than enough
   4600     test $ac_count -gt 10 && break
   4601   done
   4602   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4603 esac
   4604 
   4605       $ac_path_GREP_found && break 3
   4606     done
   4607   done
   4608   done
   4609 IFS=$as_save_IFS
   4610   if test -z "$ac_cv_path_GREP"; then
   4611     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4612   fi
   4613 else
   4614   ac_cv_path_GREP=$GREP
   4615 fi
   4616 
   4617 fi
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4619 $as_echo "$ac_cv_path_GREP" >&6; }
   4620  GREP="$ac_cv_path_GREP"
   4621 
   4622 
   4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4624 $as_echo_n "checking for egrep... " >&6; }
   4625 if ${ac_cv_path_EGREP+:} false; then :
   4626   $as_echo_n "(cached) " >&6
   4627 else
   4628   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4629    then ac_cv_path_EGREP="$GREP -E"
   4630    else
   4631      if test -z "$EGREP"; then
   4632   ac_path_EGREP_found=false
   4633   # Loop through the user's path and test for each of PROGNAME-LIST
   4634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4635 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4636 do
   4637   IFS=$as_save_IFS
   4638   test -z "$as_dir" && as_dir=.
   4639     for ac_prog in egrep; do
   4640     for ac_exec_ext in '' $ac_executable_extensions; do
   4641       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4642       as_fn_executable_p "$ac_path_EGREP" || continue
   4643 # Check for GNU ac_path_EGREP and select it if it is found.
   4644   # Check for GNU $ac_path_EGREP
   4645 case `"$ac_path_EGREP" --version 2>&1` in
   4646 *GNU*)
   4647   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4648 *)
   4649   ac_count=0
   4650   $as_echo_n 0123456789 >"conftest.in"
   4651   while :
   4652   do
   4653     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4654     mv "conftest.tmp" "conftest.in"
   4655     cp "conftest.in" "conftest.nl"
   4656     $as_echo 'EGREP' >> "conftest.nl"
   4657     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4659     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4660     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4661       # Best one so far, save it but keep looking for a better one
   4662       ac_cv_path_EGREP="$ac_path_EGREP"
   4663       ac_path_EGREP_max=$ac_count
   4664     fi
   4665     # 10*(2^10) chars as input seems more than enough
   4666     test $ac_count -gt 10 && break
   4667   done
   4668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4669 esac
   4670 
   4671       $ac_path_EGREP_found && break 3
   4672     done
   4673   done
   4674   done
   4675 IFS=$as_save_IFS
   4676   if test -z "$ac_cv_path_EGREP"; then
   4677     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4678   fi
   4679 else
   4680   ac_cv_path_EGREP=$EGREP
   4681 fi
   4682 
   4683    fi
   4684 fi
   4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4686 $as_echo "$ac_cv_path_EGREP" >&6; }
   4687  EGREP="$ac_cv_path_EGREP"
   4688 
   4689 
   4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4691 $as_echo_n "checking for fgrep... " >&6; }
   4692 if ${ac_cv_path_FGREP+:} false; then :
   4693   $as_echo_n "(cached) " >&6
   4694 else
   4695   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4696    then ac_cv_path_FGREP="$GREP -F"
   4697    else
   4698      if test -z "$FGREP"; then
   4699   ac_path_FGREP_found=false
   4700   # Loop through the user's path and test for each of PROGNAME-LIST
   4701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4702 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4703 do
   4704   IFS=$as_save_IFS
   4705   test -z "$as_dir" && as_dir=.
   4706     for ac_prog in fgrep; do
   4707     for ac_exec_ext in '' $ac_executable_extensions; do
   4708       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4709       as_fn_executable_p "$ac_path_FGREP" || continue
   4710 # Check for GNU ac_path_FGREP and select it if it is found.
   4711   # Check for GNU $ac_path_FGREP
   4712 case `"$ac_path_FGREP" --version 2>&1` in
   4713 *GNU*)
   4714   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4715 *)
   4716   ac_count=0
   4717   $as_echo_n 0123456789 >"conftest.in"
   4718   while :
   4719   do
   4720     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4721     mv "conftest.tmp" "conftest.in"
   4722     cp "conftest.in" "conftest.nl"
   4723     $as_echo 'FGREP' >> "conftest.nl"
   4724     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4725     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4726     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4727     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4728       # Best one so far, save it but keep looking for a better one
   4729       ac_cv_path_FGREP="$ac_path_FGREP"
   4730       ac_path_FGREP_max=$ac_count
   4731     fi
   4732     # 10*(2^10) chars as input seems more than enough
   4733     test $ac_count -gt 10 && break
   4734   done
   4735   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4736 esac
   4737 
   4738       $ac_path_FGREP_found && break 3
   4739     done
   4740   done
   4741   done
   4742 IFS=$as_save_IFS
   4743   if test -z "$ac_cv_path_FGREP"; then
   4744     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4745   fi
   4746 else
   4747   ac_cv_path_FGREP=$FGREP
   4748 fi
   4749 
   4750    fi
   4751 fi
   4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4753 $as_echo "$ac_cv_path_FGREP" >&6; }
   4754  FGREP="$ac_cv_path_FGREP"
   4755 
   4756 
   4757 test -z "$GREP" && GREP=grep
   4758 
   4759 
   4760 
   4761 
   4762 
   4763 
   4764 
   4765 
   4766 
   4767 
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 # Check whether --with-gnu-ld was given.
   4778 if test "${with_gnu_ld+set}" = set; then :
   4779   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4780 else
   4781   with_gnu_ld=no
   4782 fi
   4783 
   4784 ac_prog=ld
   4785 if test "$GCC" = yes; then
   4786   # Check if gcc -print-prog-name=ld gives a path.
   4787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4788 $as_echo_n "checking for ld used by $CC... " >&6; }
   4789   case $host in
   4790   *-*-mingw*)
   4791     # gcc leaves a trailing carriage return which upsets mingw
   4792     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4793   *)
   4794     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4795   esac
   4796   case $ac_prog in
   4797     # Accept absolute paths.
   4798     [\\/]* | ?:[\\/]*)
   4799       re_direlt='/[^/][^/]*/\.\./'
   4800       # Canonicalize the pathname of ld
   4801       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4802       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4803 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4804       done
   4805       test -z "$LD" && LD="$ac_prog"
   4806       ;;
   4807   "")
   4808     # If it fails, then pretend we aren't using GCC.
   4809     ac_prog=ld
   4810     ;;
   4811   *)
   4812     # If it is relative, then search for the first ld in PATH.
   4813     with_gnu_ld=unknown
   4814     ;;
   4815   esac
   4816 elif test "$with_gnu_ld" = yes; then
   4817   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4818 $as_echo_n "checking for GNU ld... " >&6; }
   4819 else
   4820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4821 $as_echo_n "checking for non-GNU ld... " >&6; }
   4822 fi
   4823 if ${lt_cv_path_LD+:} false; then :
   4824   $as_echo_n "(cached) " >&6
   4825 else
   4826   if test -z "$LD"; then
   4827   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4828   for ac_dir in $PATH; do
   4829     IFS="$lt_save_ifs"
   4830     test -z "$ac_dir" && ac_dir=.
   4831     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4832       lt_cv_path_LD="$ac_dir/$ac_prog"
   4833       # Check to see if the program is GNU ld.  I'd rather use --version,
   4834       # but apparently some variants of GNU ld only accept -v.
   4835       # Break only if it was the GNU/non-GNU ld that we prefer.
   4836       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4837       *GNU* | *'with BFD'*)
   4838 	test "$with_gnu_ld" != no && break
   4839 	;;
   4840       *)
   4841 	test "$with_gnu_ld" != yes && break
   4842 	;;
   4843       esac
   4844     fi
   4845   done
   4846   IFS="$lt_save_ifs"
   4847 else
   4848   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4849 fi
   4850 fi
   4851 
   4852 LD="$lt_cv_path_LD"
   4853 if test -n "$LD"; then
   4854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4855 $as_echo "$LD" >&6; }
   4856 else
   4857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4858 $as_echo "no" >&6; }
   4859 fi
   4860 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4862 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4863 if ${lt_cv_prog_gnu_ld+:} false; then :
   4864   $as_echo_n "(cached) " >&6
   4865 else
   4866   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4867 case `$LD -v 2>&1 </dev/null` in
   4868 *GNU* | *'with BFD'*)
   4869   lt_cv_prog_gnu_ld=yes
   4870   ;;
   4871 *)
   4872   lt_cv_prog_gnu_ld=no
   4873   ;;
   4874 esac
   4875 fi
   4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4877 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4878 with_gnu_ld=$lt_cv_prog_gnu_ld
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4889 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4890 if ${lt_cv_path_NM+:} false; then :
   4891   $as_echo_n "(cached) " >&6
   4892 else
   4893   if test -n "$NM"; then
   4894   # Let the user override the test.
   4895   lt_cv_path_NM="$NM"
   4896 else
   4897   lt_nm_to_check="${ac_tool_prefix}nm"
   4898   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4899     lt_nm_to_check="$lt_nm_to_check nm"
   4900   fi
   4901   for lt_tmp_nm in $lt_nm_to_check; do
   4902     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4903     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4904       IFS="$lt_save_ifs"
   4905       test -z "$ac_dir" && ac_dir=.
   4906       tmp_nm="$ac_dir/$lt_tmp_nm"
   4907       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4908 	# Check to see if the nm accepts a BSD-compat flag.
   4909 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4910 	#   nm: unknown option "B" ignored
   4911 	# Tru64's nm complains that /dev/null is an invalid object file
   4912 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4913 	*/dev/null* | *'Invalid file or object type'*)
   4914 	  lt_cv_path_NM="$tmp_nm -B"
   4915 	  break
   4916 	  ;;
   4917 	*)
   4918 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4919 	  */dev/null*)
   4920 	    lt_cv_path_NM="$tmp_nm -p"
   4921 	    break
   4922 	    ;;
   4923 	  *)
   4924 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4925 	    continue # so that we can try to find one that supports BSD flags
   4926 	    ;;
   4927 	  esac
   4928 	  ;;
   4929 	esac
   4930       fi
   4931     done
   4932     IFS="$lt_save_ifs"
   4933   done
   4934   : ${lt_cv_path_NM=no}
   4935 fi
   4936 fi
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4938 $as_echo "$lt_cv_path_NM" >&6; }
   4939 if test "$lt_cv_path_NM" != "no"; then
   4940   NM="$lt_cv_path_NM"
   4941 else
   4942   # Didn't find any BSD compatible name lister, look for dumpbin.
   4943   if test -n "$DUMPBIN"; then :
   4944     # Let the user override the test.
   4945   else
   4946     if test -n "$ac_tool_prefix"; then
   4947   for ac_prog in dumpbin "link -dump"
   4948   do
   4949     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4950 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4952 $as_echo_n "checking for $ac_word... " >&6; }
   4953 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4954   $as_echo_n "(cached) " >&6
   4955 else
   4956   if test -n "$DUMPBIN"; then
   4957   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4958 else
   4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4960 for as_dir in $PATH
   4961 do
   4962   IFS=$as_save_IFS
   4963   test -z "$as_dir" && as_dir=.
   4964     for ac_exec_ext in '' $ac_executable_extensions; do
   4965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4966     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4968     break 2
   4969   fi
   4970 done
   4971   done
   4972 IFS=$as_save_IFS
   4973 
   4974 fi
   4975 fi
   4976 DUMPBIN=$ac_cv_prog_DUMPBIN
   4977 if test -n "$DUMPBIN"; then
   4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4979 $as_echo "$DUMPBIN" >&6; }
   4980 else
   4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4982 $as_echo "no" >&6; }
   4983 fi
   4984 
   4985 
   4986     test -n "$DUMPBIN" && break
   4987   done
   4988 fi
   4989 if test -z "$DUMPBIN"; then
   4990   ac_ct_DUMPBIN=$DUMPBIN
   4991   for ac_prog in dumpbin "link -dump"
   4992 do
   4993   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4994 set dummy $ac_prog; ac_word=$2
   4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4996 $as_echo_n "checking for $ac_word... " >&6; }
   4997 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4998   $as_echo_n "(cached) " >&6
   4999 else
   5000   if test -n "$ac_ct_DUMPBIN"; then
   5001   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5002 else
   5003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5004 for as_dir in $PATH
   5005 do
   5006   IFS=$as_save_IFS
   5007   test -z "$as_dir" && as_dir=.
   5008     for ac_exec_ext in '' $ac_executable_extensions; do
   5009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5010     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5012     break 2
   5013   fi
   5014 done
   5015   done
   5016 IFS=$as_save_IFS
   5017 
   5018 fi
   5019 fi
   5020 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5021 if test -n "$ac_ct_DUMPBIN"; then
   5022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5023 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5024 else
   5025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5026 $as_echo "no" >&6; }
   5027 fi
   5028 
   5029 
   5030   test -n "$ac_ct_DUMPBIN" && break
   5031 done
   5032 
   5033   if test "x$ac_ct_DUMPBIN" = x; then
   5034     DUMPBIN=":"
   5035   else
   5036     case $cross_compiling:$ac_tool_warned in
   5037 yes:)
   5038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5039 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5040 ac_tool_warned=yes ;;
   5041 esac
   5042     DUMPBIN=$ac_ct_DUMPBIN
   5043   fi
   5044 fi
   5045 
   5046     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5047     *COFF*)
   5048       DUMPBIN="$DUMPBIN -symbols"
   5049       ;;
   5050     *)
   5051       DUMPBIN=:
   5052       ;;
   5053     esac
   5054   fi
   5055 
   5056   if test "$DUMPBIN" != ":"; then
   5057     NM="$DUMPBIN"
   5058   fi
   5059 fi
   5060 test -z "$NM" && NM=nm
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5068 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5069 if ${lt_cv_nm_interface+:} false; then :
   5070   $as_echo_n "(cached) " >&6
   5071 else
   5072   lt_cv_nm_interface="BSD nm"
   5073   echo "int some_variable = 0;" > conftest.$ac_ext
   5074   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5075   (eval "$ac_compile" 2>conftest.err)
   5076   cat conftest.err >&5
   5077   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5078   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5079   cat conftest.err >&5
   5080   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5081   cat conftest.out >&5
   5082   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5083     lt_cv_nm_interface="MS dumpbin"
   5084   fi
   5085   rm -f conftest*
   5086 fi
   5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5088 $as_echo "$lt_cv_nm_interface" >&6; }
   5089 
   5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5091 $as_echo_n "checking whether ln -s works... " >&6; }
   5092 LN_S=$as_ln_s
   5093 if test "$LN_S" = "ln -s"; then
   5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5095 $as_echo "yes" >&6; }
   5096 else
   5097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5098 $as_echo "no, using $LN_S" >&6; }
   5099 fi
   5100 
   5101 # find the maximum length of command line arguments
   5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5103 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5104 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5105   $as_echo_n "(cached) " >&6
   5106 else
   5107     i=0
   5108   teststring="ABCD"
   5109 
   5110   case $build_os in
   5111   msdosdjgpp*)
   5112     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5113     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5114     # during glob expansion).  Even if it were fixed, the result of this
   5115     # check would be larger than it should be.
   5116     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5117     ;;
   5118 
   5119   gnu*)
   5120     # Under GNU Hurd, this test is not required because there is
   5121     # no limit to the length of command line arguments.
   5122     # Libtool will interpret -1 as no limit whatsoever
   5123     lt_cv_sys_max_cmd_len=-1;
   5124     ;;
   5125 
   5126   cygwin* | mingw* | cegcc*)
   5127     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5128     # about 5 minutes as the teststring grows exponentially.
   5129     # Worse, since 9x/ME are not pre-emptively multitasking,
   5130     # you end up with a "frozen" computer, even though with patience
   5131     # the test eventually succeeds (with a max line length of 256k).
   5132     # Instead, let's just punt: use the minimum linelength reported by
   5133     # all of the supported platforms: 8192 (on NT/2K/XP).
   5134     lt_cv_sys_max_cmd_len=8192;
   5135     ;;
   5136 
   5137   mint*)
   5138     # On MiNT this can take a long time and run out of memory.
   5139     lt_cv_sys_max_cmd_len=8192;
   5140     ;;
   5141 
   5142   amigaos*)
   5143     # On AmigaOS with pdksh, this test takes hours, literally.
   5144     # So we just punt and use a minimum line length of 8192.
   5145     lt_cv_sys_max_cmd_len=8192;
   5146     ;;
   5147 
   5148   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5149     # This has been around since 386BSD, at least.  Likely further.
   5150     if test -x /sbin/sysctl; then
   5151       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5152     elif test -x /usr/sbin/sysctl; then
   5153       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5154     else
   5155       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5156     fi
   5157     # And add a safety zone
   5158     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5159     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5160     ;;
   5161 
   5162   interix*)
   5163     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5164     lt_cv_sys_max_cmd_len=196608
   5165     ;;
   5166 
   5167   os2*)
   5168     # The test takes a long time on OS/2.
   5169     lt_cv_sys_max_cmd_len=8192
   5170     ;;
   5171 
   5172   osf*)
   5173     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5174     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5175     # nice to cause kernel panics so lets avoid the loop below.
   5176     # First set a reasonable default.
   5177     lt_cv_sys_max_cmd_len=16384
   5178     #
   5179     if test -x /sbin/sysconfig; then
   5180       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5181         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5182       esac
   5183     fi
   5184     ;;
   5185   sco3.2v5*)
   5186     lt_cv_sys_max_cmd_len=102400
   5187     ;;
   5188   sysv5* | sco5v6* | sysv4.2uw2*)
   5189     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5190     if test -n "$kargmax"; then
   5191       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5192     else
   5193       lt_cv_sys_max_cmd_len=32768
   5194     fi
   5195     ;;
   5196   *)
   5197     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5198     if test -n "$lt_cv_sys_max_cmd_len" && \
   5199 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   5200       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5201       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5202     else
   5203       # Make teststring a little bigger before we do anything with it.
   5204       # a 1K string should be a reasonable start.
   5205       for i in 1 2 3 4 5 6 7 8 ; do
   5206         teststring=$teststring$teststring
   5207       done
   5208       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5209       # If test is not a shell built-in, we'll probably end up computing a
   5210       # maximum length that is only half of the actual maximum length, but
   5211       # we can't tell.
   5212       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   5213 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5214 	      test $i != 17 # 1/2 MB should be enough
   5215       do
   5216         i=`expr $i + 1`
   5217         teststring=$teststring$teststring
   5218       done
   5219       # Only check the string length outside the loop.
   5220       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5221       teststring=
   5222       # Add a significant safety factor because C++ compilers can tack on
   5223       # massive amounts of additional arguments before passing them to the
   5224       # linker.  It appears as though 1/2 is a usable value.
   5225       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5226     fi
   5227     ;;
   5228   esac
   5229 
   5230 fi
   5231 
   5232 if test -n $lt_cv_sys_max_cmd_len ; then
   5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5234 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5235 else
   5236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5237 $as_echo "none" >&6; }
   5238 fi
   5239 max_cmd_len=$lt_cv_sys_max_cmd_len
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 : ${CP="cp -f"}
   5247 : ${MV="mv -f"}
   5248 : ${RM="rm -f"}
   5249 
   5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5251 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5252 # Try some XSI features
   5253 xsi_shell=no
   5254 ( _lt_dummy="a/b/c"
   5255   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   5256       = c,a/b,b/c, \
   5257     && eval 'test $(( 1 + 1 )) -eq 2 \
   5258     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5259   && xsi_shell=yes
   5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5261 $as_echo "$xsi_shell" >&6; }
   5262 
   5263 
   5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5265 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5266 lt_shell_append=no
   5267 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5268     >/dev/null 2>&1 \
   5269   && lt_shell_append=yes
   5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5271 $as_echo "$lt_shell_append" >&6; }
   5272 
   5273 
   5274 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5275   lt_unset=unset
   5276 else
   5277   lt_unset=false
   5278 fi
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 # test EBCDIC or ASCII
   5285 case `echo X|tr X '\101'` in
   5286  A) # ASCII based system
   5287     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5288   lt_SP2NL='tr \040 \012'
   5289   lt_NL2SP='tr \015\012 \040\040'
   5290   ;;
   5291  *) # EBCDIC based system
   5292   lt_SP2NL='tr \100 \n'
   5293   lt_NL2SP='tr \r\n \100\100'
   5294   ;;
   5295 esac
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5306 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5307 if ${lt_cv_to_host_file_cmd+:} false; then :
   5308   $as_echo_n "(cached) " >&6
   5309 else
   5310   case $host in
   5311   *-*-mingw* )
   5312     case $build in
   5313       *-*-mingw* ) # actually msys
   5314         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5315         ;;
   5316       *-*-cygwin* )
   5317         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5318         ;;
   5319       * ) # otherwise, assume *nix
   5320         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5321         ;;
   5322     esac
   5323     ;;
   5324   *-*-cygwin* )
   5325     case $build in
   5326       *-*-mingw* ) # actually msys
   5327         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5328         ;;
   5329       *-*-cygwin* )
   5330         lt_cv_to_host_file_cmd=func_convert_file_noop
   5331         ;;
   5332       * ) # otherwise, assume *nix
   5333         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5334         ;;
   5335     esac
   5336     ;;
   5337   * ) # unhandled hosts (and "normal" native builds)
   5338     lt_cv_to_host_file_cmd=func_convert_file_noop
   5339     ;;
   5340 esac
   5341 
   5342 fi
   5343 
   5344 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5346 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5353 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5354 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5355   $as_echo_n "(cached) " >&6
   5356 else
   5357   #assume ordinary cross tools, or native build.
   5358 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5359 case $host in
   5360   *-*-mingw* )
   5361     case $build in
   5362       *-*-mingw* ) # actually msys
   5363         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5364         ;;
   5365     esac
   5366     ;;
   5367 esac
   5368 
   5369 fi
   5370 
   5371 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5373 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5380 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5381 if ${lt_cv_ld_reload_flag+:} false; then :
   5382   $as_echo_n "(cached) " >&6
   5383 else
   5384   lt_cv_ld_reload_flag='-r'
   5385 fi
   5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5387 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5388 reload_flag=$lt_cv_ld_reload_flag
   5389 case $reload_flag in
   5390 "" | " "*) ;;
   5391 *) reload_flag=" $reload_flag" ;;
   5392 esac
   5393 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5394 case $host_os in
   5395   cygwin* | mingw* | pw32* | cegcc*)
   5396     if test "$GCC" != yes; then
   5397       reload_cmds=false
   5398     fi
   5399     ;;
   5400   darwin*)
   5401     if test "$GCC" = yes; then
   5402       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5403     else
   5404       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5405     fi
   5406     ;;
   5407 esac
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 if test -n "$ac_tool_prefix"; then
   5418   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5419 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5421 $as_echo_n "checking for $ac_word... " >&6; }
   5422 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5423   $as_echo_n "(cached) " >&6
   5424 else
   5425   if test -n "$OBJDUMP"; then
   5426   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5427 else
   5428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5429 for as_dir in $PATH
   5430 do
   5431   IFS=$as_save_IFS
   5432   test -z "$as_dir" && as_dir=.
   5433     for ac_exec_ext in '' $ac_executable_extensions; do
   5434   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5435     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5437     break 2
   5438   fi
   5439 done
   5440   done
   5441 IFS=$as_save_IFS
   5442 
   5443 fi
   5444 fi
   5445 OBJDUMP=$ac_cv_prog_OBJDUMP
   5446 if test -n "$OBJDUMP"; then
   5447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5448 $as_echo "$OBJDUMP" >&6; }
   5449 else
   5450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5451 $as_echo "no" >&6; }
   5452 fi
   5453 
   5454 
   5455 fi
   5456 if test -z "$ac_cv_prog_OBJDUMP"; then
   5457   ac_ct_OBJDUMP=$OBJDUMP
   5458   # Extract the first word of "objdump", so it can be a program name with args.
   5459 set dummy objdump; ac_word=$2
   5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5461 $as_echo_n "checking for $ac_word... " >&6; }
   5462 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5463   $as_echo_n "(cached) " >&6
   5464 else
   5465   if test -n "$ac_ct_OBJDUMP"; then
   5466   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5467 else
   5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5469 for as_dir in $PATH
   5470 do
   5471   IFS=$as_save_IFS
   5472   test -z "$as_dir" && as_dir=.
   5473     for ac_exec_ext in '' $ac_executable_extensions; do
   5474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5475     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5477     break 2
   5478   fi
   5479 done
   5480   done
   5481 IFS=$as_save_IFS
   5482 
   5483 fi
   5484 fi
   5485 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5486 if test -n "$ac_ct_OBJDUMP"; then
   5487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5488 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5489 else
   5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5491 $as_echo "no" >&6; }
   5492 fi
   5493 
   5494   if test "x$ac_ct_OBJDUMP" = x; then
   5495     OBJDUMP="false"
   5496   else
   5497     case $cross_compiling:$ac_tool_warned in
   5498 yes:)
   5499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5501 ac_tool_warned=yes ;;
   5502 esac
   5503     OBJDUMP=$ac_ct_OBJDUMP
   5504   fi
   5505 else
   5506   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5507 fi
   5508 
   5509 test -z "$OBJDUMP" && OBJDUMP=objdump
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5520 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5521 if ${lt_cv_deplibs_check_method+:} false; then :
   5522   $as_echo_n "(cached) " >&6
   5523 else
   5524   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5525 lt_cv_file_magic_test_file=
   5526 lt_cv_deplibs_check_method='unknown'
   5527 # Need to set the preceding variable on all platforms that support
   5528 # interlibrary dependencies.
   5529 # 'none' -- dependencies not supported.
   5530 # `unknown' -- same as none, but documents that we really don't know.
   5531 # 'pass_all' -- all dependencies passed with no checks.
   5532 # 'test_compile' -- check by making test program.
   5533 # 'file_magic [[regex]]' -- check by looking for files in library path
   5534 # which responds to the $file_magic_cmd with a given extended regex.
   5535 # If you have `file' or equivalent on your system and you're not sure
   5536 # whether `pass_all' will *always* work, you probably want this one.
   5537 
   5538 case $host_os in
   5539 aix[4-9]*)
   5540   lt_cv_deplibs_check_method=pass_all
   5541   ;;
   5542 
   5543 beos*)
   5544   lt_cv_deplibs_check_method=pass_all
   5545   ;;
   5546 
   5547 bsdi[45]*)
   5548   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5549   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5550   lt_cv_file_magic_test_file=/shlib/libc.so
   5551   ;;
   5552 
   5553 cygwin*)
   5554   # func_win32_libid is a shell function defined in ltmain.sh
   5555   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5556   lt_cv_file_magic_cmd='func_win32_libid'
   5557   ;;
   5558 
   5559 mingw* | pw32*)
   5560   # Base MSYS/MinGW do not provide the 'file' command needed by
   5561   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5562   # unless we find 'file', for example because we are cross-compiling.
   5563   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5564   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5565     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5566     lt_cv_file_magic_cmd='func_win32_libid'
   5567   else
   5568     # Keep this pattern in sync with the one in func_win32_libid.
   5569     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5570     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5571   fi
   5572   ;;
   5573 
   5574 cegcc*)
   5575   # use the weaker test based on 'objdump'. See mingw*.
   5576   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5577   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5578   ;;
   5579 
   5580 darwin* | rhapsody*)
   5581   lt_cv_deplibs_check_method=pass_all
   5582   ;;
   5583 
   5584 freebsd* | dragonfly*)
   5585   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5586     case $host_cpu in
   5587     i*86 )
   5588       # Not sure whether the presence of OpenBSD here was a mistake.
   5589       # Let's accept both of them until this is cleared up.
   5590       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5591       lt_cv_file_magic_cmd=/usr/bin/file
   5592       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5593       ;;
   5594     esac
   5595   else
   5596     lt_cv_deplibs_check_method=pass_all
   5597   fi
   5598   ;;
   5599 
   5600 haiku*)
   5601   lt_cv_deplibs_check_method=pass_all
   5602   ;;
   5603 
   5604 hpux10.20* | hpux11*)
   5605   lt_cv_file_magic_cmd=/usr/bin/file
   5606   case $host_cpu in
   5607   ia64*)
   5608     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5609     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5610     ;;
   5611   hppa*64*)
   5612     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]'
   5613     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5614     ;;
   5615   *)
   5616     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5617     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5618     ;;
   5619   esac
   5620   ;;
   5621 
   5622 interix[3-9]*)
   5623   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5624   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5625   ;;
   5626 
   5627 irix5* | irix6* | nonstopux*)
   5628   case $LD in
   5629   *-32|*"-32 ") libmagic=32-bit;;
   5630   *-n32|*"-n32 ") libmagic=N32;;
   5631   *-64|*"-64 ") libmagic=64-bit;;
   5632   *) libmagic=never-match;;
   5633   esac
   5634   lt_cv_deplibs_check_method=pass_all
   5635   ;;
   5636 
   5637 # This must be glibc/ELF.
   5638 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5639   lt_cv_deplibs_check_method=pass_all
   5640   ;;
   5641 
   5642 netbsd* | netbsdelf*-gnu)
   5643   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5644     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5645   else
   5646     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5647   fi
   5648   ;;
   5649 
   5650 newos6*)
   5651   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5652   lt_cv_file_magic_cmd=/usr/bin/file
   5653   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5654   ;;
   5655 
   5656 *nto* | *qnx*)
   5657   lt_cv_deplibs_check_method=pass_all
   5658   ;;
   5659 
   5660 openbsd*)
   5661   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5662     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5663   else
   5664     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5665   fi
   5666   ;;
   5667 
   5668 osf3* | osf4* | osf5*)
   5669   lt_cv_deplibs_check_method=pass_all
   5670   ;;
   5671 
   5672 rdos*)
   5673   lt_cv_deplibs_check_method=pass_all
   5674   ;;
   5675 
   5676 solaris*)
   5677   lt_cv_deplibs_check_method=pass_all
   5678   ;;
   5679 
   5680 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5681   lt_cv_deplibs_check_method=pass_all
   5682   ;;
   5683 
   5684 sysv4 | sysv4.3*)
   5685   case $host_vendor in
   5686   motorola)
   5687     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]'
   5688     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5689     ;;
   5690   ncr)
   5691     lt_cv_deplibs_check_method=pass_all
   5692     ;;
   5693   sequent)
   5694     lt_cv_file_magic_cmd='/bin/file'
   5695     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5696     ;;
   5697   sni)
   5698     lt_cv_file_magic_cmd='/bin/file'
   5699     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5700     lt_cv_file_magic_test_file=/lib/libc.so
   5701     ;;
   5702   siemens)
   5703     lt_cv_deplibs_check_method=pass_all
   5704     ;;
   5705   pc)
   5706     lt_cv_deplibs_check_method=pass_all
   5707     ;;
   5708   esac
   5709   ;;
   5710 
   5711 tpf*)
   5712   lt_cv_deplibs_check_method=pass_all
   5713   ;;
   5714 esac
   5715 
   5716 fi
   5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5718 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5719 
   5720 file_magic_glob=
   5721 want_nocaseglob=no
   5722 if test "$build" = "$host"; then
   5723   case $host_os in
   5724   mingw* | pw32*)
   5725     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5726       want_nocaseglob=yes
   5727     else
   5728       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5729     fi
   5730     ;;
   5731   esac
   5732 fi
   5733 
   5734 file_magic_cmd=$lt_cv_file_magic_cmd
   5735 deplibs_check_method=$lt_cv_deplibs_check_method
   5736 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5737 
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 if test -n "$ac_tool_prefix"; then
   5760   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5761 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5763 $as_echo_n "checking for $ac_word... " >&6; }
   5764 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5765   $as_echo_n "(cached) " >&6
   5766 else
   5767   if test -n "$DLLTOOL"; then
   5768   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5769 else
   5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5771 for as_dir in $PATH
   5772 do
   5773   IFS=$as_save_IFS
   5774   test -z "$as_dir" && as_dir=.
   5775     for ac_exec_ext in '' $ac_executable_extensions; do
   5776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5777     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5779     break 2
   5780   fi
   5781 done
   5782   done
   5783 IFS=$as_save_IFS
   5784 
   5785 fi
   5786 fi
   5787 DLLTOOL=$ac_cv_prog_DLLTOOL
   5788 if test -n "$DLLTOOL"; then
   5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5790 $as_echo "$DLLTOOL" >&6; }
   5791 else
   5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5793 $as_echo "no" >&6; }
   5794 fi
   5795 
   5796 
   5797 fi
   5798 if test -z "$ac_cv_prog_DLLTOOL"; then
   5799   ac_ct_DLLTOOL=$DLLTOOL
   5800   # Extract the first word of "dlltool", so it can be a program name with args.
   5801 set dummy dlltool; ac_word=$2
   5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5803 $as_echo_n "checking for $ac_word... " >&6; }
   5804 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807   if test -n "$ac_ct_DLLTOOL"; then
   5808   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5809 else
   5810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5811 for as_dir in $PATH
   5812 do
   5813   IFS=$as_save_IFS
   5814   test -z "$as_dir" && as_dir=.
   5815     for ac_exec_ext in '' $ac_executable_extensions; do
   5816   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5817     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5819     break 2
   5820   fi
   5821 done
   5822   done
   5823 IFS=$as_save_IFS
   5824 
   5825 fi
   5826 fi
   5827 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5828 if test -n "$ac_ct_DLLTOOL"; then
   5829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5830 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5831 else
   5832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5833 $as_echo "no" >&6; }
   5834 fi
   5835 
   5836   if test "x$ac_ct_DLLTOOL" = x; then
   5837     DLLTOOL="false"
   5838   else
   5839     case $cross_compiling:$ac_tool_warned in
   5840 yes:)
   5841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5843 ac_tool_warned=yes ;;
   5844 esac
   5845     DLLTOOL=$ac_ct_DLLTOOL
   5846   fi
   5847 else
   5848   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5849 fi
   5850 
   5851 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5863 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5864 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5865   $as_echo_n "(cached) " >&6
   5866 else
   5867   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5868 
   5869 case $host_os in
   5870 cygwin* | mingw* | pw32* | cegcc*)
   5871   # two different shell functions defined in ltmain.sh
   5872   # decide which to use based on capabilities of $DLLTOOL
   5873   case `$DLLTOOL --help 2>&1` in
   5874   *--identify-strict*)
   5875     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5876     ;;
   5877   *)
   5878     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5879     ;;
   5880   esac
   5881   ;;
   5882 *)
   5883   # fallback: assume linklib IS sharedlib
   5884   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5885   ;;
   5886 esac
   5887 
   5888 fi
   5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5890 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5891 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5892 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 if test -n "$ac_tool_prefix"; then
   5902   for ac_prog in ar
   5903   do
   5904     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5907 $as_echo_n "checking for $ac_word... " >&6; }
   5908 if ${ac_cv_prog_AR+:} false; then :
   5909   $as_echo_n "(cached) " >&6
   5910 else
   5911   if test -n "$AR"; then
   5912   ac_cv_prog_AR="$AR" # Let the user override the test.
   5913 else
   5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5915 for as_dir in $PATH
   5916 do
   5917   IFS=$as_save_IFS
   5918   test -z "$as_dir" && as_dir=.
   5919     for ac_exec_ext in '' $ac_executable_extensions; do
   5920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5921     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5923     break 2
   5924   fi
   5925 done
   5926   done
   5927 IFS=$as_save_IFS
   5928 
   5929 fi
   5930 fi
   5931 AR=$ac_cv_prog_AR
   5932 if test -n "$AR"; then
   5933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5934 $as_echo "$AR" >&6; }
   5935 else
   5936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5937 $as_echo "no" >&6; }
   5938 fi
   5939 
   5940 
   5941     test -n "$AR" && break
   5942   done
   5943 fi
   5944 if test -z "$AR"; then
   5945   ac_ct_AR=$AR
   5946   for ac_prog in ar
   5947 do
   5948   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5949 set dummy $ac_prog; ac_word=$2
   5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5951 $as_echo_n "checking for $ac_word... " >&6; }
   5952 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5953   $as_echo_n "(cached) " >&6
   5954 else
   5955   if test -n "$ac_ct_AR"; then
   5956   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5957 else
   5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5959 for as_dir in $PATH
   5960 do
   5961   IFS=$as_save_IFS
   5962   test -z "$as_dir" && as_dir=.
   5963     for ac_exec_ext in '' $ac_executable_extensions; do
   5964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5965     ac_cv_prog_ac_ct_AR="$ac_prog"
   5966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5967     break 2
   5968   fi
   5969 done
   5970   done
   5971 IFS=$as_save_IFS
   5972 
   5973 fi
   5974 fi
   5975 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5976 if test -n "$ac_ct_AR"; then
   5977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5978 $as_echo "$ac_ct_AR" >&6; }
   5979 else
   5980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5981 $as_echo "no" >&6; }
   5982 fi
   5983 
   5984 
   5985   test -n "$ac_ct_AR" && break
   5986 done
   5987 
   5988   if test "x$ac_ct_AR" = x; then
   5989     AR="false"
   5990   else
   5991     case $cross_compiling:$ac_tool_warned in
   5992 yes:)
   5993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5995 ac_tool_warned=yes ;;
   5996 esac
   5997     AR=$ac_ct_AR
   5998   fi
   5999 fi
   6000 
   6001 : ${AR=ar}
   6002 : ${AR_FLAGS=cru}
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6015 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6016 if ${lt_cv_ar_at_file+:} false; then :
   6017   $as_echo_n "(cached) " >&6
   6018 else
   6019   lt_cv_ar_at_file=no
   6020    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6021 /* end confdefs.h.  */
   6022 
   6023 int
   6024 main ()
   6025 {
   6026 
   6027   ;
   6028   return 0;
   6029 }
   6030 _ACEOF
   6031 if ac_fn_cxx_try_compile "$LINENO"; then :
   6032   echo conftest.$ac_objext > conftest.lst
   6033       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6034       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6035   (eval $lt_ar_try) 2>&5
   6036   ac_status=$?
   6037   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6038   test $ac_status = 0; }
   6039       if test "$ac_status" -eq 0; then
   6040 	# Ensure the archiver fails upon bogus file names.
   6041 	rm -f conftest.$ac_objext libconftest.a
   6042 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6043   (eval $lt_ar_try) 2>&5
   6044   ac_status=$?
   6045   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6046   test $ac_status = 0; }
   6047 	if test "$ac_status" -ne 0; then
   6048           lt_cv_ar_at_file=@
   6049         fi
   6050       fi
   6051       rm -f conftest.* libconftest.a
   6052 
   6053 fi
   6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6055 
   6056 fi
   6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6058 $as_echo "$lt_cv_ar_at_file" >&6; }
   6059 
   6060 if test "x$lt_cv_ar_at_file" = xno; then
   6061   archiver_list_spec=
   6062 else
   6063   archiver_list_spec=$lt_cv_ar_at_file
   6064 fi
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 if test -n "$ac_tool_prefix"; then
   6073   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6074 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6076 $as_echo_n "checking for $ac_word... " >&6; }
   6077 if ${ac_cv_prog_STRIP+:} false; then :
   6078   $as_echo_n "(cached) " >&6
   6079 else
   6080   if test -n "$STRIP"; then
   6081   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6082 else
   6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6084 for as_dir in $PATH
   6085 do
   6086   IFS=$as_save_IFS
   6087   test -z "$as_dir" && as_dir=.
   6088     for ac_exec_ext in '' $ac_executable_extensions; do
   6089   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6090     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6092     break 2
   6093   fi
   6094 done
   6095   done
   6096 IFS=$as_save_IFS
   6097 
   6098 fi
   6099 fi
   6100 STRIP=$ac_cv_prog_STRIP
   6101 if test -n "$STRIP"; then
   6102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6103 $as_echo "$STRIP" >&6; }
   6104 else
   6105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6106 $as_echo "no" >&6; }
   6107 fi
   6108 
   6109 
   6110 fi
   6111 if test -z "$ac_cv_prog_STRIP"; then
   6112   ac_ct_STRIP=$STRIP
   6113   # Extract the first word of "strip", so it can be a program name with args.
   6114 set dummy strip; ac_word=$2
   6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6116 $as_echo_n "checking for $ac_word... " >&6; }
   6117 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6118   $as_echo_n "(cached) " >&6
   6119 else
   6120   if test -n "$ac_ct_STRIP"; then
   6121   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6122 else
   6123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6124 for as_dir in $PATH
   6125 do
   6126   IFS=$as_save_IFS
   6127   test -z "$as_dir" && as_dir=.
   6128     for ac_exec_ext in '' $ac_executable_extensions; do
   6129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6130     ac_cv_prog_ac_ct_STRIP="strip"
   6131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6132     break 2
   6133   fi
   6134 done
   6135   done
   6136 IFS=$as_save_IFS
   6137 
   6138 fi
   6139 fi
   6140 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6141 if test -n "$ac_ct_STRIP"; then
   6142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6143 $as_echo "$ac_ct_STRIP" >&6; }
   6144 else
   6145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6146 $as_echo "no" >&6; }
   6147 fi
   6148 
   6149   if test "x$ac_ct_STRIP" = x; then
   6150     STRIP=":"
   6151   else
   6152     case $cross_compiling:$ac_tool_warned in
   6153 yes:)
   6154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6156 ac_tool_warned=yes ;;
   6157 esac
   6158     STRIP=$ac_ct_STRIP
   6159   fi
   6160 else
   6161   STRIP="$ac_cv_prog_STRIP"
   6162 fi
   6163 
   6164 test -z "$STRIP" && STRIP=:
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 if test -n "$ac_tool_prefix"; then
   6172   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6173 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6175 $as_echo_n "checking for $ac_word... " >&6; }
   6176 if ${ac_cv_prog_RANLIB+:} false; then :
   6177   $as_echo_n "(cached) " >&6
   6178 else
   6179   if test -n "$RANLIB"; then
   6180   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6181 else
   6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6183 for as_dir in $PATH
   6184 do
   6185   IFS=$as_save_IFS
   6186   test -z "$as_dir" && as_dir=.
   6187     for ac_exec_ext in '' $ac_executable_extensions; do
   6188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6189     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6191     break 2
   6192   fi
   6193 done
   6194   done
   6195 IFS=$as_save_IFS
   6196 
   6197 fi
   6198 fi
   6199 RANLIB=$ac_cv_prog_RANLIB
   6200 if test -n "$RANLIB"; then
   6201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6202 $as_echo "$RANLIB" >&6; }
   6203 else
   6204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6205 $as_echo "no" >&6; }
   6206 fi
   6207 
   6208 
   6209 fi
   6210 if test -z "$ac_cv_prog_RANLIB"; then
   6211   ac_ct_RANLIB=$RANLIB
   6212   # Extract the first word of "ranlib", so it can be a program name with args.
   6213 set dummy ranlib; ac_word=$2
   6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6215 $as_echo_n "checking for $ac_word... " >&6; }
   6216 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6217   $as_echo_n "(cached) " >&6
   6218 else
   6219   if test -n "$ac_ct_RANLIB"; then
   6220   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6221 else
   6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6223 for as_dir in $PATH
   6224 do
   6225   IFS=$as_save_IFS
   6226   test -z "$as_dir" && as_dir=.
   6227     for ac_exec_ext in '' $ac_executable_extensions; do
   6228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6229     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6231     break 2
   6232   fi
   6233 done
   6234   done
   6235 IFS=$as_save_IFS
   6236 
   6237 fi
   6238 fi
   6239 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6240 if test -n "$ac_ct_RANLIB"; then
   6241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6242 $as_echo "$ac_ct_RANLIB" >&6; }
   6243 else
   6244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6245 $as_echo "no" >&6; }
   6246 fi
   6247 
   6248   if test "x$ac_ct_RANLIB" = x; then
   6249     RANLIB=":"
   6250   else
   6251     case $cross_compiling:$ac_tool_warned in
   6252 yes:)
   6253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6254 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6255 ac_tool_warned=yes ;;
   6256 esac
   6257     RANLIB=$ac_ct_RANLIB
   6258   fi
   6259 else
   6260   RANLIB="$ac_cv_prog_RANLIB"
   6261 fi
   6262 
   6263 test -z "$RANLIB" && RANLIB=:
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 # Determine commands to create old-style static archives.
   6271 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6272 old_postinstall_cmds='chmod 644 $oldlib'
   6273 old_postuninstall_cmds=
   6274 
   6275 if test -n "$RANLIB"; then
   6276   case $host_os in
   6277   openbsd*)
   6278     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6279     ;;
   6280   *)
   6281     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6282     ;;
   6283   esac
   6284   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6285 fi
   6286 
   6287 case $host_os in
   6288   darwin*)
   6289     lock_old_archive_extraction=yes ;;
   6290   *)
   6291     lock_old_archive_extraction=no ;;
   6292 esac
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 # If no C compiler was specified, use CC.
   6333 LTCC=${LTCC-"$CC"}
   6334 
   6335 # If no C compiler flags were specified, use CFLAGS.
   6336 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6337 
   6338 # Allow CC to be a program name with arguments.
   6339 compiler=$CC
   6340 
   6341 
   6342 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6344 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6345 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6346   $as_echo_n "(cached) " >&6
   6347 else
   6348 
   6349 # These are sane defaults that work on at least a few old systems.
   6350 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6351 
   6352 # Character class describing NM global symbol codes.
   6353 symcode='[BCDEGRST]'
   6354 
   6355 # Regexp to match symbols that can be accessed directly from C.
   6356 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6357 
   6358 # Define system-specific variables.
   6359 case $host_os in
   6360 aix*)
   6361   symcode='[BCDT]'
   6362   ;;
   6363 cygwin* | mingw* | pw32* | cegcc*)
   6364   symcode='[ABCDGISTW]'
   6365   ;;
   6366 hpux*)
   6367   if test "$host_cpu" = ia64; then
   6368     symcode='[ABCDEGRST]'
   6369   fi
   6370   ;;
   6371 irix* | nonstopux*)
   6372   symcode='[BCDEGRST]'
   6373   ;;
   6374 osf*)
   6375   symcode='[BCDEGQRST]'
   6376   ;;
   6377 solaris*)
   6378   symcode='[BDRT]'
   6379   ;;
   6380 sco3.2v5*)
   6381   symcode='[DT]'
   6382   ;;
   6383 sysv4.2uw2*)
   6384   symcode='[DT]'
   6385   ;;
   6386 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6387   symcode='[ABDT]'
   6388   ;;
   6389 sysv4)
   6390   symcode='[DFNSTU]'
   6391   ;;
   6392 esac
   6393 
   6394 # If we're using GNU nm, then use its standard symbol codes.
   6395 case `$NM -V 2>&1` in
   6396 *GNU* | *'with BFD'*)
   6397   symcode='[ABCDGIRSTW]' ;;
   6398 esac
   6399 
   6400 # Transform an extracted symbol line into a proper C declaration.
   6401 # Some systems (esp. on ia64) link data and code symbols differently,
   6402 # so use this general approach.
   6403 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6404 
   6405 # Transform an extracted symbol line into symbol name and symbol address
   6406 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6407 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'"
   6408 
   6409 # Handle CRLF in mingw tool chain
   6410 opt_cr=
   6411 case $build_os in
   6412 mingw*)
   6413   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6414   ;;
   6415 esac
   6416 
   6417 # Try without a prefix underscore, then with it.
   6418 for ac_symprfx in "" "_"; do
   6419 
   6420   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6421   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6422 
   6423   # Write the raw and C identifiers.
   6424   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6425     # Fake it for dumpbin and say T for any non-static function
   6426     # and D for any global variable.
   6427     # Also find C++ and __fastcall symbols from MSVC++,
   6428     # which start with @ or ?.
   6429     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6430 "     {last_section=section; section=\$ 3};"\
   6431 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6432 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6433 "     \$ 0!~/External *\|/{next};"\
   6434 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6435 "     {if(hide[section]) next};"\
   6436 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6437 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6438 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6439 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6440 "     ' prfx=^$ac_symprfx"
   6441   else
   6442     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6443   fi
   6444   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6445 
   6446   # Check to see that the pipe works correctly.
   6447   pipe_works=no
   6448 
   6449   rm -f conftest*
   6450   cat > conftest.$ac_ext <<_LT_EOF
   6451 #ifdef __cplusplus
   6452 extern "C" {
   6453 #endif
   6454 char nm_test_var;
   6455 void nm_test_func(void);
   6456 void nm_test_func(void){}
   6457 #ifdef __cplusplus
   6458 }
   6459 #endif
   6460 int main(){nm_test_var='a';nm_test_func();return(0);}
   6461 _LT_EOF
   6462 
   6463   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6464   (eval $ac_compile) 2>&5
   6465   ac_status=$?
   6466   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6467   test $ac_status = 0; }; then
   6468     # Now try to grab the symbols.
   6469     nlist=conftest.nm
   6470     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6471   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6472   ac_status=$?
   6473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6474   test $ac_status = 0; } && test -s "$nlist"; then
   6475       # Try sorting and uniquifying the output.
   6476       if sort "$nlist" | uniq > "$nlist"T; then
   6477 	mv -f "$nlist"T "$nlist"
   6478       else
   6479 	rm -f "$nlist"T
   6480       fi
   6481 
   6482       # Make sure that we snagged all the symbols we need.
   6483       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6484 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6485 	  cat <<_LT_EOF > conftest.$ac_ext
   6486 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6487 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6488 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6489    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6490 # define LT_DLSYM_CONST
   6491 #elif defined(__osf__)
   6492 /* This system does not cope well with relocations in const data.  */
   6493 # define LT_DLSYM_CONST
   6494 #else
   6495 # define LT_DLSYM_CONST const
   6496 #endif
   6497 
   6498 #ifdef __cplusplus
   6499 extern "C" {
   6500 #endif
   6501 
   6502 _LT_EOF
   6503 	  # Now generate the symbol file.
   6504 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6505 
   6506 	  cat <<_LT_EOF >> conftest.$ac_ext
   6507 
   6508 /* The mapping between symbol names and symbols.  */
   6509 LT_DLSYM_CONST struct {
   6510   const char *name;
   6511   void       *address;
   6512 }
   6513 lt__PROGRAM__LTX_preloaded_symbols[] =
   6514 {
   6515   { "@PROGRAM@", (void *) 0 },
   6516 _LT_EOF
   6517 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6518 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6519   {0, (void *) 0}
   6520 };
   6521 
   6522 /* This works around a problem in FreeBSD linker */
   6523 #ifdef FREEBSD_WORKAROUND
   6524 static const void *lt_preloaded_setup() {
   6525   return lt__PROGRAM__LTX_preloaded_symbols;
   6526 }
   6527 #endif
   6528 
   6529 #ifdef __cplusplus
   6530 }
   6531 #endif
   6532 _LT_EOF
   6533 	  # Now try linking the two files.
   6534 	  mv conftest.$ac_objext conftstm.$ac_objext
   6535 	  lt_globsym_save_LIBS=$LIBS
   6536 	  lt_globsym_save_CFLAGS=$CFLAGS
   6537 	  LIBS="conftstm.$ac_objext"
   6538 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6539 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6540   (eval $ac_link) 2>&5
   6541   ac_status=$?
   6542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6543   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6544 	    pipe_works=yes
   6545 	  fi
   6546 	  LIBS=$lt_globsym_save_LIBS
   6547 	  CFLAGS=$lt_globsym_save_CFLAGS
   6548 	else
   6549 	  echo "cannot find nm_test_func in $nlist" >&5
   6550 	fi
   6551       else
   6552 	echo "cannot find nm_test_var in $nlist" >&5
   6553       fi
   6554     else
   6555       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6556     fi
   6557   else
   6558     echo "$progname: failed program was:" >&5
   6559     cat conftest.$ac_ext >&5
   6560   fi
   6561   rm -rf conftest* conftst*
   6562 
   6563   # Do not use the global_symbol_pipe unless it works.
   6564   if test "$pipe_works" = yes; then
   6565     break
   6566   else
   6567     lt_cv_sys_global_symbol_pipe=
   6568   fi
   6569 done
   6570 
   6571 fi
   6572 
   6573 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6574   lt_cv_sys_global_symbol_to_cdecl=
   6575 fi
   6576 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6578 $as_echo "failed" >&6; }
   6579 else
   6580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6581 $as_echo "ok" >&6; }
   6582 fi
   6583 
   6584 # Response file support.
   6585 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6586   nm_file_list_spec='@'
   6587 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6588   nm_file_list_spec='@'
   6589 fi
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 
   6599 
   6600 
   6601 
   6602 
   6603 
   6604 
   6605 
   6606 
   6607 
   6608 
   6609 
   6610 
   6611 
   6612 
   6613 
   6614 
   6615 
   6616 
   6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6618 $as_echo_n "checking for sysroot... " >&6; }
   6619 
   6620 # Check whether --with-sysroot was given.
   6621 if test "${with_sysroot+set}" = set; then :
   6622   withval=$with_sysroot;
   6623 else
   6624   with_sysroot=no
   6625 fi
   6626 
   6627 
   6628 lt_sysroot=
   6629 case ${with_sysroot} in #(
   6630  yes)
   6631    if test "$GCC" = yes; then
   6632      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6633    fi
   6634    ;; #(
   6635  /*)
   6636    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6637    ;; #(
   6638  no|'')
   6639    ;; #(
   6640  *)
   6641    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6642 $as_echo "${with_sysroot}" >&6; }
   6643    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6644    ;;
   6645 esac
   6646 
   6647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6648 $as_echo "${lt_sysroot:-no}" >&6; }
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 # Check whether --enable-libtool-lock was given.
   6656 if test "${enable_libtool_lock+set}" = set; then :
   6657   enableval=$enable_libtool_lock;
   6658 fi
   6659 
   6660 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6661 
   6662 # Some flags need to be propagated to the compiler or linker for good
   6663 # libtool support.
   6664 case $host in
   6665 ia64-*-hpux*)
   6666   # Find out which ABI we are using.
   6667   echo 'int i;' > conftest.$ac_ext
   6668   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6669   (eval $ac_compile) 2>&5
   6670   ac_status=$?
   6671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6672   test $ac_status = 0; }; then
   6673     case `/usr/bin/file conftest.$ac_objext` in
   6674       *ELF-32*)
   6675 	HPUX_IA64_MODE="32"
   6676 	;;
   6677       *ELF-64*)
   6678 	HPUX_IA64_MODE="64"
   6679 	;;
   6680     esac
   6681   fi
   6682   rm -rf conftest*
   6683   ;;
   6684 *-*-irix6*)
   6685   # Find out which ABI we are using.
   6686   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6687   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6688   (eval $ac_compile) 2>&5
   6689   ac_status=$?
   6690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6691   test $ac_status = 0; }; then
   6692     if test "$lt_cv_prog_gnu_ld" = yes; then
   6693       case `/usr/bin/file conftest.$ac_objext` in
   6694 	*32-bit*)
   6695 	  LD="${LD-ld} -melf32bsmip"
   6696 	  ;;
   6697 	*N32*)
   6698 	  LD="${LD-ld} -melf32bmipn32"
   6699 	  ;;
   6700 	*64-bit*)
   6701 	  LD="${LD-ld} -melf64bmip"
   6702 	;;
   6703       esac
   6704     else
   6705       case `/usr/bin/file conftest.$ac_objext` in
   6706 	*32-bit*)
   6707 	  LD="${LD-ld} -32"
   6708 	  ;;
   6709 	*N32*)
   6710 	  LD="${LD-ld} -n32"
   6711 	  ;;
   6712 	*64-bit*)
   6713 	  LD="${LD-ld} -64"
   6714 	  ;;
   6715       esac
   6716     fi
   6717   fi
   6718   rm -rf conftest*
   6719   ;;
   6720 
   6721 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6722 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6723   # Find out which ABI we are using.
   6724   echo 'int i;' > conftest.$ac_ext
   6725   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6726   (eval $ac_compile) 2>&5
   6727   ac_status=$?
   6728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6729   test $ac_status = 0; }; then
   6730     case `/usr/bin/file conftest.o` in
   6731       *32-bit*)
   6732 	case $host in
   6733 	  x86_64-*kfreebsd*-gnu)
   6734 	    LD="${LD-ld} -m elf_i386_fbsd"
   6735 	    ;;
   6736 	  x86_64-*linux*)
   6737 	    case `/usr/bin/file conftest.o` in
   6738 	      *x86-64*)
   6739 		LD="${LD-ld} -m elf32_x86_64"
   6740 		;;
   6741 	      *)
   6742 		LD="${LD-ld} -m elf_i386"
   6743 		;;
   6744 	    esac
   6745 	    ;;
   6746 	  powerpc64le-*)
   6747 	    LD="${LD-ld} -m elf32lppclinux"
   6748 	    ;;
   6749 	  powerpc64-*)
   6750 	    LD="${LD-ld} -m elf32ppclinux"
   6751 	    ;;
   6752 	  s390x-*linux*)
   6753 	    LD="${LD-ld} -m elf_s390"
   6754 	    ;;
   6755 	  sparc64-*linux*)
   6756 	    LD="${LD-ld} -m elf32_sparc"
   6757 	    ;;
   6758 	esac
   6759 	;;
   6760       *64-bit*)
   6761 	case $host in
   6762 	  x86_64-*kfreebsd*-gnu)
   6763 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6764 	    ;;
   6765 	  x86_64-*linux*)
   6766 	    LD="${LD-ld} -m elf_x86_64"
   6767 	    ;;
   6768 	  powerpcle-*)
   6769 	    LD="${LD-ld} -m elf64lppc"
   6770 	    ;;
   6771 	  powerpc-*)
   6772 	    LD="${LD-ld} -m elf64ppc"
   6773 	    ;;
   6774 	  s390*-*linux*|s390*-*tpf*)
   6775 	    LD="${LD-ld} -m elf64_s390"
   6776 	    ;;
   6777 	  sparc*-*linux*)
   6778 	    LD="${LD-ld} -m elf64_sparc"
   6779 	    ;;
   6780 	esac
   6781 	;;
   6782     esac
   6783   fi
   6784   rm -rf conftest*
   6785   ;;
   6786 
   6787 *-*-sco3.2v5*)
   6788   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6789   SAVE_CFLAGS="$CFLAGS"
   6790   CFLAGS="$CFLAGS -belf"
   6791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6792 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6793 if ${lt_cv_cc_needs_belf+:} false; then :
   6794   $as_echo_n "(cached) " >&6
   6795 else
   6796   ac_ext=c
   6797 ac_cpp='$CPP $CPPFLAGS'
   6798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6801 
   6802      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6803 /* end confdefs.h.  */
   6804 
   6805 int
   6806 main ()
   6807 {
   6808 
   6809   ;
   6810   return 0;
   6811 }
   6812 _ACEOF
   6813 if ac_fn_c_try_link "$LINENO"; then :
   6814   lt_cv_cc_needs_belf=yes
   6815 else
   6816   lt_cv_cc_needs_belf=no
   6817 fi
   6818 rm -f core conftest.err conftest.$ac_objext \
   6819     conftest$ac_exeext conftest.$ac_ext
   6820      ac_ext=c
   6821 ac_cpp='$CPP $CPPFLAGS'
   6822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6825 
   6826 fi
   6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6828 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6829   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6830     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6831     CFLAGS="$SAVE_CFLAGS"
   6832   fi
   6833   ;;
   6834 *-*solaris*)
   6835   # Find out which ABI we are using.
   6836   echo 'int i;' > conftest.$ac_ext
   6837   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6838   (eval $ac_compile) 2>&5
   6839   ac_status=$?
   6840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6841   test $ac_status = 0; }; then
   6842     case `/usr/bin/file conftest.o` in
   6843     *64-bit*)
   6844       case $lt_cv_prog_gnu_ld in
   6845       yes*)
   6846         case $host in
   6847         i?86-*-solaris*)
   6848           LD="${LD-ld} -m elf_x86_64"
   6849           ;;
   6850         sparc*-*-solaris*)
   6851           LD="${LD-ld} -m elf64_sparc"
   6852           ;;
   6853         esac
   6854         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6855         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6856           LD="${LD-ld}_sol2"
   6857         fi
   6858         ;;
   6859       *)
   6860 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6861 	  LD="${LD-ld} -64"
   6862 	fi
   6863 	;;
   6864       esac
   6865       ;;
   6866     esac
   6867   fi
   6868   rm -rf conftest*
   6869   ;;
   6870 esac
   6871 
   6872 need_locks="$enable_libtool_lock"
   6873 
   6874 if test -n "$ac_tool_prefix"; then
   6875   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6876 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6878 $as_echo_n "checking for $ac_word... " >&6; }
   6879 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6880   $as_echo_n "(cached) " >&6
   6881 else
   6882   if test -n "$MANIFEST_TOOL"; then
   6883   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6884 else
   6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6886 for as_dir in $PATH
   6887 do
   6888   IFS=$as_save_IFS
   6889   test -z "$as_dir" && as_dir=.
   6890     for ac_exec_ext in '' $ac_executable_extensions; do
   6891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6892     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6894     break 2
   6895   fi
   6896 done
   6897   done
   6898 IFS=$as_save_IFS
   6899 
   6900 fi
   6901 fi
   6902 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6903 if test -n "$MANIFEST_TOOL"; then
   6904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6905 $as_echo "$MANIFEST_TOOL" >&6; }
   6906 else
   6907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6908 $as_echo "no" >&6; }
   6909 fi
   6910 
   6911 
   6912 fi
   6913 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6914   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6915   # Extract the first word of "mt", so it can be a program name with args.
   6916 set dummy mt; ac_word=$2
   6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6918 $as_echo_n "checking for $ac_word... " >&6; }
   6919 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6920   $as_echo_n "(cached) " >&6
   6921 else
   6922   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6923   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6924 else
   6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6926 for as_dir in $PATH
   6927 do
   6928   IFS=$as_save_IFS
   6929   test -z "$as_dir" && as_dir=.
   6930     for ac_exec_ext in '' $ac_executable_extensions; do
   6931   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6932     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6934     break 2
   6935   fi
   6936 done
   6937   done
   6938 IFS=$as_save_IFS
   6939 
   6940 fi
   6941 fi
   6942 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6943 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6945 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6946 else
   6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6948 $as_echo "no" >&6; }
   6949 fi
   6950 
   6951   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6952     MANIFEST_TOOL=":"
   6953   else
   6954     case $cross_compiling:$ac_tool_warned in
   6955 yes:)
   6956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6958 ac_tool_warned=yes ;;
   6959 esac
   6960     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6961   fi
   6962 else
   6963   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6964 fi
   6965 
   6966 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6968 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6969 if ${lt_cv_path_mainfest_tool+:} false; then :
   6970   $as_echo_n "(cached) " >&6
   6971 else
   6972   lt_cv_path_mainfest_tool=no
   6973   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6974   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6975   cat conftest.err >&5
   6976   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6977     lt_cv_path_mainfest_tool=yes
   6978   fi
   6979   rm -f conftest*
   6980 fi
   6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6982 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6983 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6984   MANIFEST_TOOL=:
   6985 fi
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992   case $host_os in
   6993     rhapsody* | darwin*)
   6994     if test -n "$ac_tool_prefix"; then
   6995   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6996 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6998 $as_echo_n "checking for $ac_word... " >&6; }
   6999 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7000   $as_echo_n "(cached) " >&6
   7001 else
   7002   if test -n "$DSYMUTIL"; then
   7003   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7004 else
   7005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7006 for as_dir in $PATH
   7007 do
   7008   IFS=$as_save_IFS
   7009   test -z "$as_dir" && as_dir=.
   7010     for ac_exec_ext in '' $ac_executable_extensions; do
   7011   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7012     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7014     break 2
   7015   fi
   7016 done
   7017   done
   7018 IFS=$as_save_IFS
   7019 
   7020 fi
   7021 fi
   7022 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7023 if test -n "$DSYMUTIL"; then
   7024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7025 $as_echo "$DSYMUTIL" >&6; }
   7026 else
   7027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7028 $as_echo "no" >&6; }
   7029 fi
   7030 
   7031 
   7032 fi
   7033 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7034   ac_ct_DSYMUTIL=$DSYMUTIL
   7035   # Extract the first word of "dsymutil", so it can be a program name with args.
   7036 set dummy dsymutil; ac_word=$2
   7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7038 $as_echo_n "checking for $ac_word... " >&6; }
   7039 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7040   $as_echo_n "(cached) " >&6
   7041 else
   7042   if test -n "$ac_ct_DSYMUTIL"; then
   7043   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7044 else
   7045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7046 for as_dir in $PATH
   7047 do
   7048   IFS=$as_save_IFS
   7049   test -z "$as_dir" && as_dir=.
   7050     for ac_exec_ext in '' $ac_executable_extensions; do
   7051   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7052     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7053     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7054     break 2
   7055   fi
   7056 done
   7057   done
   7058 IFS=$as_save_IFS
   7059 
   7060 fi
   7061 fi
   7062 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7063 if test -n "$ac_ct_DSYMUTIL"; then
   7064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7065 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7066 else
   7067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7068 $as_echo "no" >&6; }
   7069 fi
   7070 
   7071   if test "x$ac_ct_DSYMUTIL" = x; then
   7072     DSYMUTIL=":"
   7073   else
   7074     case $cross_compiling:$ac_tool_warned in
   7075 yes:)
   7076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7078 ac_tool_warned=yes ;;
   7079 esac
   7080     DSYMUTIL=$ac_ct_DSYMUTIL
   7081   fi
   7082 else
   7083   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7084 fi
   7085 
   7086     if test -n "$ac_tool_prefix"; then
   7087   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7088 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7090 $as_echo_n "checking for $ac_word... " >&6; }
   7091 if ${ac_cv_prog_NMEDIT+:} false; then :
   7092   $as_echo_n "(cached) " >&6
   7093 else
   7094   if test -n "$NMEDIT"; then
   7095   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7096 else
   7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7098 for as_dir in $PATH
   7099 do
   7100   IFS=$as_save_IFS
   7101   test -z "$as_dir" && as_dir=.
   7102     for ac_exec_ext in '' $ac_executable_extensions; do
   7103   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7104     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7105     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7106     break 2
   7107   fi
   7108 done
   7109   done
   7110 IFS=$as_save_IFS
   7111 
   7112 fi
   7113 fi
   7114 NMEDIT=$ac_cv_prog_NMEDIT
   7115 if test -n "$NMEDIT"; then
   7116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7117 $as_echo "$NMEDIT" >&6; }
   7118 else
   7119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7120 $as_echo "no" >&6; }
   7121 fi
   7122 
   7123 
   7124 fi
   7125 if test -z "$ac_cv_prog_NMEDIT"; then
   7126   ac_ct_NMEDIT=$NMEDIT
   7127   # Extract the first word of "nmedit", so it can be a program name with args.
   7128 set dummy nmedit; ac_word=$2
   7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7130 $as_echo_n "checking for $ac_word... " >&6; }
   7131 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7132   $as_echo_n "(cached) " >&6
   7133 else
   7134   if test -n "$ac_ct_NMEDIT"; then
   7135   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7136 else
   7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7138 for as_dir in $PATH
   7139 do
   7140   IFS=$as_save_IFS
   7141   test -z "$as_dir" && as_dir=.
   7142     for ac_exec_ext in '' $ac_executable_extensions; do
   7143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7144     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7146     break 2
   7147   fi
   7148 done
   7149   done
   7150 IFS=$as_save_IFS
   7151 
   7152 fi
   7153 fi
   7154 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7155 if test -n "$ac_ct_NMEDIT"; then
   7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7157 $as_echo "$ac_ct_NMEDIT" >&6; }
   7158 else
   7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7160 $as_echo "no" >&6; }
   7161 fi
   7162 
   7163   if test "x$ac_ct_NMEDIT" = x; then
   7164     NMEDIT=":"
   7165   else
   7166     case $cross_compiling:$ac_tool_warned in
   7167 yes:)
   7168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7170 ac_tool_warned=yes ;;
   7171 esac
   7172     NMEDIT=$ac_ct_NMEDIT
   7173   fi
   7174 else
   7175   NMEDIT="$ac_cv_prog_NMEDIT"
   7176 fi
   7177 
   7178     if test -n "$ac_tool_prefix"; then
   7179   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7180 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7182 $as_echo_n "checking for $ac_word... " >&6; }
   7183 if ${ac_cv_prog_LIPO+:} false; then :
   7184   $as_echo_n "(cached) " >&6
   7185 else
   7186   if test -n "$LIPO"; then
   7187   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7188 else
   7189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7190 for as_dir in $PATH
   7191 do
   7192   IFS=$as_save_IFS
   7193   test -z "$as_dir" && as_dir=.
   7194     for ac_exec_ext in '' $ac_executable_extensions; do
   7195   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7196     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7198     break 2
   7199   fi
   7200 done
   7201   done
   7202 IFS=$as_save_IFS
   7203 
   7204 fi
   7205 fi
   7206 LIPO=$ac_cv_prog_LIPO
   7207 if test -n "$LIPO"; then
   7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7209 $as_echo "$LIPO" >&6; }
   7210 else
   7211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7212 $as_echo "no" >&6; }
   7213 fi
   7214 
   7215 
   7216 fi
   7217 if test -z "$ac_cv_prog_LIPO"; then
   7218   ac_ct_LIPO=$LIPO
   7219   # Extract the first word of "lipo", so it can be a program name with args.
   7220 set dummy lipo; ac_word=$2
   7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7222 $as_echo_n "checking for $ac_word... " >&6; }
   7223 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   if test -n "$ac_ct_LIPO"; then
   7227   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7228 else
   7229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7230 for as_dir in $PATH
   7231 do
   7232   IFS=$as_save_IFS
   7233   test -z "$as_dir" && as_dir=.
   7234     for ac_exec_ext in '' $ac_executable_extensions; do
   7235   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7236     ac_cv_prog_ac_ct_LIPO="lipo"
   7237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7238     break 2
   7239   fi
   7240 done
   7241   done
   7242 IFS=$as_save_IFS
   7243 
   7244 fi
   7245 fi
   7246 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7247 if test -n "$ac_ct_LIPO"; then
   7248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7249 $as_echo "$ac_ct_LIPO" >&6; }
   7250 else
   7251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7252 $as_echo "no" >&6; }
   7253 fi
   7254 
   7255   if test "x$ac_ct_LIPO" = x; then
   7256     LIPO=":"
   7257   else
   7258     case $cross_compiling:$ac_tool_warned in
   7259 yes:)
   7260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7261 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7262 ac_tool_warned=yes ;;
   7263 esac
   7264     LIPO=$ac_ct_LIPO
   7265   fi
   7266 else
   7267   LIPO="$ac_cv_prog_LIPO"
   7268 fi
   7269 
   7270     if test -n "$ac_tool_prefix"; then
   7271   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7272 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7274 $as_echo_n "checking for $ac_word... " >&6; }
   7275 if ${ac_cv_prog_OTOOL+:} false; then :
   7276   $as_echo_n "(cached) " >&6
   7277 else
   7278   if test -n "$OTOOL"; then
   7279   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7280 else
   7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7282 for as_dir in $PATH
   7283 do
   7284   IFS=$as_save_IFS
   7285   test -z "$as_dir" && as_dir=.
   7286     for ac_exec_ext in '' $ac_executable_extensions; do
   7287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7288     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7290     break 2
   7291   fi
   7292 done
   7293   done
   7294 IFS=$as_save_IFS
   7295 
   7296 fi
   7297 fi
   7298 OTOOL=$ac_cv_prog_OTOOL
   7299 if test -n "$OTOOL"; then
   7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7301 $as_echo "$OTOOL" >&6; }
   7302 else
   7303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7304 $as_echo "no" >&6; }
   7305 fi
   7306 
   7307 
   7308 fi
   7309 if test -z "$ac_cv_prog_OTOOL"; then
   7310   ac_ct_OTOOL=$OTOOL
   7311   # Extract the first word of "otool", so it can be a program name with args.
   7312 set dummy otool; ac_word=$2
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7314 $as_echo_n "checking for $ac_word... " >&6; }
   7315 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7316   $as_echo_n "(cached) " >&6
   7317 else
   7318   if test -n "$ac_ct_OTOOL"; then
   7319   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7320 else
   7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7322 for as_dir in $PATH
   7323 do
   7324   IFS=$as_save_IFS
   7325   test -z "$as_dir" && as_dir=.
   7326     for ac_exec_ext in '' $ac_executable_extensions; do
   7327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7328     ac_cv_prog_ac_ct_OTOOL="otool"
   7329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7330     break 2
   7331   fi
   7332 done
   7333   done
   7334 IFS=$as_save_IFS
   7335 
   7336 fi
   7337 fi
   7338 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7339 if test -n "$ac_ct_OTOOL"; then
   7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7341 $as_echo "$ac_ct_OTOOL" >&6; }
   7342 else
   7343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7344 $as_echo "no" >&6; }
   7345 fi
   7346 
   7347   if test "x$ac_ct_OTOOL" = x; then
   7348     OTOOL=":"
   7349   else
   7350     case $cross_compiling:$ac_tool_warned in
   7351 yes:)
   7352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7354 ac_tool_warned=yes ;;
   7355 esac
   7356     OTOOL=$ac_ct_OTOOL
   7357   fi
   7358 else
   7359   OTOOL="$ac_cv_prog_OTOOL"
   7360 fi
   7361 
   7362     if test -n "$ac_tool_prefix"; then
   7363   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7364 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7366 $as_echo_n "checking for $ac_word... " >&6; }
   7367 if ${ac_cv_prog_OTOOL64+:} false; then :
   7368   $as_echo_n "(cached) " >&6
   7369 else
   7370   if test -n "$OTOOL64"; then
   7371   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7372 else
   7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7374 for as_dir in $PATH
   7375 do
   7376   IFS=$as_save_IFS
   7377   test -z "$as_dir" && as_dir=.
   7378     for ac_exec_ext in '' $ac_executable_extensions; do
   7379   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7380     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7381     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7382     break 2
   7383   fi
   7384 done
   7385   done
   7386 IFS=$as_save_IFS
   7387 
   7388 fi
   7389 fi
   7390 OTOOL64=$ac_cv_prog_OTOOL64
   7391 if test -n "$OTOOL64"; then
   7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7393 $as_echo "$OTOOL64" >&6; }
   7394 else
   7395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7396 $as_echo "no" >&6; }
   7397 fi
   7398 
   7399 
   7400 fi
   7401 if test -z "$ac_cv_prog_OTOOL64"; then
   7402   ac_ct_OTOOL64=$OTOOL64
   7403   # Extract the first word of "otool64", so it can be a program name with args.
   7404 set dummy otool64; ac_word=$2
   7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7406 $as_echo_n "checking for $ac_word... " >&6; }
   7407 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7408   $as_echo_n "(cached) " >&6
   7409 else
   7410   if test -n "$ac_ct_OTOOL64"; then
   7411   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7412 else
   7413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7414 for as_dir in $PATH
   7415 do
   7416   IFS=$as_save_IFS
   7417   test -z "$as_dir" && as_dir=.
   7418     for ac_exec_ext in '' $ac_executable_extensions; do
   7419   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7420     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7422     break 2
   7423   fi
   7424 done
   7425   done
   7426 IFS=$as_save_IFS
   7427 
   7428 fi
   7429 fi
   7430 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7431 if test -n "$ac_ct_OTOOL64"; then
   7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7433 $as_echo "$ac_ct_OTOOL64" >&6; }
   7434 else
   7435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7436 $as_echo "no" >&6; }
   7437 fi
   7438 
   7439   if test "x$ac_ct_OTOOL64" = x; then
   7440     OTOOL64=":"
   7441   else
   7442     case $cross_compiling:$ac_tool_warned in
   7443 yes:)
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7446 ac_tool_warned=yes ;;
   7447 esac
   7448     OTOOL64=$ac_ct_OTOOL64
   7449   fi
   7450 else
   7451   OTOOL64="$ac_cv_prog_OTOOL64"
   7452 fi
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7481 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7482 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7483   $as_echo_n "(cached) " >&6
   7484 else
   7485   lt_cv_apple_cc_single_mod=no
   7486       if test -z "${LT_MULTI_MODULE}"; then
   7487 	# By default we will add the -single_module flag. You can override
   7488 	# by either setting the environment variable LT_MULTI_MODULE
   7489 	# non-empty at configure time, or by adding -multi_module to the
   7490 	# link flags.
   7491 	rm -rf libconftest.dylib*
   7492 	echo "int foo(void){return 1;}" > conftest.c
   7493 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7494 -dynamiclib -Wl,-single_module conftest.c" >&5
   7495 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7496 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7497         _lt_result=$?
   7498 	# If there is a non-empty error log, and "single_module"
   7499 	# appears in it, assume the flag caused a linker warning
   7500         if test -s conftest.err && $GREP single_module conftest.err; then
   7501 	  cat conftest.err >&5
   7502 	# Otherwise, if the output was created with a 0 exit code from
   7503 	# the compiler, it worked.
   7504 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7505 	  lt_cv_apple_cc_single_mod=yes
   7506 	else
   7507 	  cat conftest.err >&5
   7508 	fi
   7509 	rm -rf libconftest.dylib*
   7510 	rm -f conftest.*
   7511       fi
   7512 fi
   7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7514 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7515 
   7516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7517 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7518 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7519   $as_echo_n "(cached) " >&6
   7520 else
   7521   lt_cv_ld_exported_symbols_list=no
   7522       save_LDFLAGS=$LDFLAGS
   7523       echo "_main" > conftest.sym
   7524       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 
   7528 int
   7529 main ()
   7530 {
   7531 
   7532   ;
   7533   return 0;
   7534 }
   7535 _ACEOF
   7536 if ac_fn_c_try_link "$LINENO"; then :
   7537   lt_cv_ld_exported_symbols_list=yes
   7538 else
   7539   lt_cv_ld_exported_symbols_list=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext \
   7542     conftest$ac_exeext conftest.$ac_ext
   7543 	LDFLAGS="$save_LDFLAGS"
   7544 
   7545 fi
   7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7547 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7548 
   7549     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7550 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7551 if ${lt_cv_ld_force_load+:} false; then :
   7552   $as_echo_n "(cached) " >&6
   7553 else
   7554   lt_cv_ld_force_load=no
   7555       cat > conftest.c << _LT_EOF
   7556 int forced_loaded() { return 2;}
   7557 _LT_EOF
   7558       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7559       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7560       echo "$AR cru libconftest.a conftest.o" >&5
   7561       $AR cru libconftest.a conftest.o 2>&5
   7562       echo "$RANLIB libconftest.a" >&5
   7563       $RANLIB libconftest.a 2>&5
   7564       cat > conftest.c << _LT_EOF
   7565 int main() { return 0;}
   7566 _LT_EOF
   7567       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7568       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7569       _lt_result=$?
   7570       if test -s conftest.err && $GREP force_load conftest.err; then
   7571 	cat conftest.err >&5
   7572       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7573 	lt_cv_ld_force_load=yes
   7574       else
   7575 	cat conftest.err >&5
   7576       fi
   7577         rm -f conftest.err libconftest.a conftest conftest.c
   7578         rm -rf conftest.dSYM
   7579 
   7580 fi
   7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7582 $as_echo "$lt_cv_ld_force_load" >&6; }
   7583     case $host_os in
   7584     rhapsody* | darwin1.[012])
   7585       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7586     darwin1.*)
   7587       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7588     darwin*) # darwin 5.x on
   7589       # if running on 10.5 or later, the deployment target defaults
   7590       # to the OS version, if on x86, and 10.4, the deployment
   7591       # target defaults to 10.4. Don't you love it?
   7592       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7593 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7594 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7595 	10.[012]*)
   7596 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7597 	10.*)
   7598 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7599       esac
   7600     ;;
   7601   esac
   7602     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7603       _lt_dar_single_mod='$single_module'
   7604     fi
   7605     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7606       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7607     else
   7608       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7609     fi
   7610     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7611       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7612     else
   7613       _lt_dsymutil=
   7614     fi
   7615     ;;
   7616   esac
   7617 
   7618 ac_ext=c
   7619 ac_cpp='$CPP $CPPFLAGS'
   7620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7624 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7625 # On Suns, sometimes $CPP names a directory.
   7626 if test -n "$CPP" && test -d "$CPP"; then
   7627   CPP=
   7628 fi
   7629 if test -z "$CPP"; then
   7630   if ${ac_cv_prog_CPP+:} false; then :
   7631   $as_echo_n "(cached) " >&6
   7632 else
   7633       # Double quotes because CPP needs to be expanded
   7634     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7635     do
   7636       ac_preproc_ok=false
   7637 for ac_c_preproc_warn_flag in '' yes
   7638 do
   7639   # Use a header file that comes with gcc, so configuring glibc
   7640   # with a fresh cross-compiler works.
   7641   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7642   # <limits.h> exists even on freestanding compilers.
   7643   # On the NeXT, cc -E runs the code through the compiler's parser,
   7644   # not just through cpp. "Syntax error" is here to catch this case.
   7645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7646 /* end confdefs.h.  */
   7647 #ifdef __STDC__
   7648 # include <limits.h>
   7649 #else
   7650 # include <assert.h>
   7651 #endif
   7652 		     Syntax error
   7653 _ACEOF
   7654 if ac_fn_c_try_cpp "$LINENO"; then :
   7655 
   7656 else
   7657   # Broken: fails on valid input.
   7658 continue
   7659 fi
   7660 rm -f conftest.err conftest.i conftest.$ac_ext
   7661 
   7662   # OK, works on sane cases.  Now check whether nonexistent headers
   7663   # can be detected and how.
   7664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7665 /* end confdefs.h.  */
   7666 #include <ac_nonexistent.h>
   7667 _ACEOF
   7668 if ac_fn_c_try_cpp "$LINENO"; then :
   7669   # Broken: success on invalid input.
   7670 continue
   7671 else
   7672   # Passes both tests.
   7673 ac_preproc_ok=:
   7674 break
   7675 fi
   7676 rm -f conftest.err conftest.i conftest.$ac_ext
   7677 
   7678 done
   7679 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7680 rm -f conftest.i conftest.err conftest.$ac_ext
   7681 if $ac_preproc_ok; then :
   7682   break
   7683 fi
   7684 
   7685     done
   7686     ac_cv_prog_CPP=$CPP
   7687 
   7688 fi
   7689   CPP=$ac_cv_prog_CPP
   7690 else
   7691   ac_cv_prog_CPP=$CPP
   7692 fi
   7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7694 $as_echo "$CPP" >&6; }
   7695 ac_preproc_ok=false
   7696 for ac_c_preproc_warn_flag in '' yes
   7697 do
   7698   # Use a header file that comes with gcc, so configuring glibc
   7699   # with a fresh cross-compiler works.
   7700   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7701   # <limits.h> exists even on freestanding compilers.
   7702   # On the NeXT, cc -E runs the code through the compiler's parser,
   7703   # not just through cpp. "Syntax error" is here to catch this case.
   7704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7705 /* end confdefs.h.  */
   7706 #ifdef __STDC__
   7707 # include <limits.h>
   7708 #else
   7709 # include <assert.h>
   7710 #endif
   7711 		     Syntax error
   7712 _ACEOF
   7713 if ac_fn_c_try_cpp "$LINENO"; then :
   7714 
   7715 else
   7716   # Broken: fails on valid input.
   7717 continue
   7718 fi
   7719 rm -f conftest.err conftest.i conftest.$ac_ext
   7720 
   7721   # OK, works on sane cases.  Now check whether nonexistent headers
   7722   # can be detected and how.
   7723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7724 /* end confdefs.h.  */
   7725 #include <ac_nonexistent.h>
   7726 _ACEOF
   7727 if ac_fn_c_try_cpp "$LINENO"; then :
   7728   # Broken: success on invalid input.
   7729 continue
   7730 else
   7731   # Passes both tests.
   7732 ac_preproc_ok=:
   7733 break
   7734 fi
   7735 rm -f conftest.err conftest.i conftest.$ac_ext
   7736 
   7737 done
   7738 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7739 rm -f conftest.i conftest.err conftest.$ac_ext
   7740 if $ac_preproc_ok; then :
   7741 
   7742 else
   7743   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7744 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7745 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7746 See \`config.log' for more details" "$LINENO" 5; }
   7747 fi
   7748 
   7749 ac_ext=c
   7750 ac_cpp='$CPP $CPPFLAGS'
   7751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7754 
   7755 
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7757 $as_echo_n "checking for ANSI C header files... " >&6; }
   7758 if ${ac_cv_header_stdc+:} false; then :
   7759   $as_echo_n "(cached) " >&6
   7760 else
   7761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7762 /* end confdefs.h.  */
   7763 #include <stdlib.h>
   7764 #include <stdarg.h>
   7765 #include <string.h>
   7766 #include <float.h>
   7767 
   7768 int
   7769 main ()
   7770 {
   7771 
   7772   ;
   7773   return 0;
   7774 }
   7775 _ACEOF
   7776 if ac_fn_c_try_compile "$LINENO"; then :
   7777   ac_cv_header_stdc=yes
   7778 else
   7779   ac_cv_header_stdc=no
   7780 fi
   7781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7782 
   7783 if test $ac_cv_header_stdc = yes; then
   7784   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7786 /* end confdefs.h.  */
   7787 #include <string.h>
   7788 
   7789 _ACEOF
   7790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7791   $EGREP "memchr" >/dev/null 2>&1; then :
   7792 
   7793 else
   7794   ac_cv_header_stdc=no
   7795 fi
   7796 rm -f conftest*
   7797 
   7798 fi
   7799 
   7800 if test $ac_cv_header_stdc = yes; then
   7801   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7803 /* end confdefs.h.  */
   7804 #include <stdlib.h>
   7805 
   7806 _ACEOF
   7807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7808   $EGREP "free" >/dev/null 2>&1; then :
   7809 
   7810 else
   7811   ac_cv_header_stdc=no
   7812 fi
   7813 rm -f conftest*
   7814 
   7815 fi
   7816 
   7817 if test $ac_cv_header_stdc = yes; then
   7818   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7819   if test "$cross_compiling" = yes; then :
   7820   :
   7821 else
   7822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7823 /* end confdefs.h.  */
   7824 #include <ctype.h>
   7825 #include <stdlib.h>
   7826 #if ((' ' & 0x0FF) == 0x020)
   7827 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7828 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7829 #else
   7830 # define ISLOWER(c) \
   7831 		   (('a' <= (c) && (c) <= 'i') \
   7832 		     || ('j' <= (c) && (c) <= 'r') \
   7833 		     || ('s' <= (c) && (c) <= 'z'))
   7834 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7835 #endif
   7836 
   7837 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7838 int
   7839 main ()
   7840 {
   7841   int i;
   7842   for (i = 0; i < 256; i++)
   7843     if (XOR (islower (i), ISLOWER (i))
   7844 	|| toupper (i) != TOUPPER (i))
   7845       return 2;
   7846   return 0;
   7847 }
   7848 _ACEOF
   7849 if ac_fn_c_try_run "$LINENO"; then :
   7850 
   7851 else
   7852   ac_cv_header_stdc=no
   7853 fi
   7854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7855   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7856 fi
   7857 
   7858 fi
   7859 fi
   7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7861 $as_echo "$ac_cv_header_stdc" >&6; }
   7862 if test $ac_cv_header_stdc = yes; then
   7863 
   7864 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7865 
   7866 fi
   7867 
   7868 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7869 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7870 		  inttypes.h stdint.h unistd.h
   7871 do :
   7872   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7873 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7874 "
   7875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7876   cat >>confdefs.h <<_ACEOF
   7877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7878 _ACEOF
   7879 
   7880 fi
   7881 
   7882 done
   7883 
   7884 
   7885 for ac_header in dlfcn.h
   7886 do :
   7887   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7888 "
   7889 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7890   cat >>confdefs.h <<_ACEOF
   7891 #define HAVE_DLFCN_H 1
   7892 _ACEOF
   7893 
   7894 fi
   7895 
   7896 done
   7897 
   7898 
   7899 
   7900 func_stripname_cnf ()
   7901 {
   7902   case ${2} in
   7903   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   7904   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   7905   esac
   7906 } # func_stripname_cnf
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 # Set options
   7913 
   7914 
   7915 
   7916         enable_dlopen=no
   7917 
   7918 
   7919   enable_win32_dll=no
   7920 
   7921 
   7922             # Check whether --enable-shared was given.
   7923 if test "${enable_shared+set}" = set; then :
   7924   enableval=$enable_shared; p=${PACKAGE-default}
   7925     case $enableval in
   7926     yes) enable_shared=yes ;;
   7927     no) enable_shared=no ;;
   7928     *)
   7929       enable_shared=no
   7930       # Look at the argument we got.  We use all the common list separators.
   7931       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7932       for pkg in $enableval; do
   7933 	IFS="$lt_save_ifs"
   7934 	if test "X$pkg" = "X$p"; then
   7935 	  enable_shared=yes
   7936 	fi
   7937       done
   7938       IFS="$lt_save_ifs"
   7939       ;;
   7940     esac
   7941 else
   7942   enable_shared=yes
   7943 fi
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953   # Check whether --enable-static was given.
   7954 if test "${enable_static+set}" = set; then :
   7955   enableval=$enable_static; p=${PACKAGE-default}
   7956     case $enableval in
   7957     yes) enable_static=yes ;;
   7958     no) enable_static=no ;;
   7959     *)
   7960      enable_static=no
   7961       # Look at the argument we got.  We use all the common list separators.
   7962       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7963       for pkg in $enableval; do
   7964 	IFS="$lt_save_ifs"
   7965 	if test "X$pkg" = "X$p"; then
   7966 	  enable_static=yes
   7967 	fi
   7968       done
   7969       IFS="$lt_save_ifs"
   7970       ;;
   7971     esac
   7972 else
   7973   enable_static=yes
   7974 fi
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984 
   7985 # Check whether --with-pic was given.
   7986 if test "${with_pic+set}" = set; then :
   7987   withval=$with_pic; lt_p=${PACKAGE-default}
   7988     case $withval in
   7989     yes|no) pic_mode=$withval ;;
   7990     *)
   7991       pic_mode=default
   7992       # Look at the argument we got.  We use all the common list separators.
   7993       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7994       for lt_pkg in $withval; do
   7995 	IFS="$lt_save_ifs"
   7996 	if test "X$lt_pkg" = "X$lt_p"; then
   7997 	  pic_mode=yes
   7998 	fi
   7999       done
   8000       IFS="$lt_save_ifs"
   8001       ;;
   8002     esac
   8003 else
   8004   pic_mode=default
   8005 fi
   8006 
   8007 
   8008 test -z "$pic_mode" && pic_mode=default
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016   # Check whether --enable-fast-install was given.
   8017 if test "${enable_fast_install+set}" = set; then :
   8018   enableval=$enable_fast_install; p=${PACKAGE-default}
   8019     case $enableval in
   8020     yes) enable_fast_install=yes ;;
   8021     no) enable_fast_install=no ;;
   8022     *)
   8023       enable_fast_install=no
   8024       # Look at the argument we got.  We use all the common list separators.
   8025       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8026       for pkg in $enableval; do
   8027 	IFS="$lt_save_ifs"
   8028 	if test "X$pkg" = "X$p"; then
   8029 	  enable_fast_install=yes
   8030 	fi
   8031       done
   8032       IFS="$lt_save_ifs"
   8033       ;;
   8034     esac
   8035 else
   8036   enable_fast_install=yes
   8037 fi
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 # This can be used to rebuild libtool when needed
   8050 LIBTOOL_DEPS="$ltmain"
   8051 
   8052 # Always use our own libtool.
   8053 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 test -z "$LN_S" && LN_S="ln -s"
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 if test -n "${ZSH_VERSION+set}" ; then
   8100    setopt NO_GLOB_SUBST
   8101 fi
   8102 
   8103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8104 $as_echo_n "checking for objdir... " >&6; }
   8105 if ${lt_cv_objdir+:} false; then :
   8106   $as_echo_n "(cached) " >&6
   8107 else
   8108   rm -f .libs 2>/dev/null
   8109 mkdir .libs 2>/dev/null
   8110 if test -d .libs; then
   8111   lt_cv_objdir=.libs
   8112 else
   8113   # MS-DOS does not allow filenames that begin with a dot.
   8114   lt_cv_objdir=_libs
   8115 fi
   8116 rmdir .libs 2>/dev/null
   8117 fi
   8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8119 $as_echo "$lt_cv_objdir" >&6; }
   8120 objdir=$lt_cv_objdir
   8121 
   8122 
   8123 
   8124 
   8125 
   8126 cat >>confdefs.h <<_ACEOF
   8127 #define LT_OBJDIR "$lt_cv_objdir/"
   8128 _ACEOF
   8129 
   8130 
   8131 
   8132 
   8133 case $host_os in
   8134 aix3*)
   8135   # AIX sometimes has problems with the GCC collect2 program.  For some
   8136   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8137   # vanish in a puff of smoke.
   8138   if test "X${COLLECT_NAMES+set}" != Xset; then
   8139     COLLECT_NAMES=
   8140     export COLLECT_NAMES
   8141   fi
   8142   ;;
   8143 esac
   8144 
   8145 # Global variables:
   8146 ofile=libtool
   8147 can_build_shared=yes
   8148 
   8149 # All known linkers require a `.a' archive for static linking (except MSVC,
   8150 # which needs '.lib').
   8151 libext=a
   8152 
   8153 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8154 
   8155 old_CC="$CC"
   8156 old_CFLAGS="$CFLAGS"
   8157 
   8158 # Set sane defaults for various variables
   8159 test -z "$CC" && CC=cc
   8160 test -z "$LTCC" && LTCC=$CC
   8161 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8162 test -z "$LD" && LD=ld
   8163 test -z "$ac_objext" && ac_objext=o
   8164 
   8165 for cc_temp in $compiler""; do
   8166   case $cc_temp in
   8167     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8168     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8169     \-*) ;;
   8170     *) break;;
   8171   esac
   8172 done
   8173 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8174 
   8175 
   8176 # Only perform the check for file, if the check method requires it
   8177 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8178 case $deplibs_check_method in
   8179 file_magic*)
   8180   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8181     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8182 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8183 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8184   $as_echo_n "(cached) " >&6
   8185 else
   8186   case $MAGIC_CMD in
   8187 [\\/*] |  ?:[\\/]*)
   8188   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8189   ;;
   8190 *)
   8191   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8192   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8193   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8194   for ac_dir in $ac_dummy; do
   8195     IFS="$lt_save_ifs"
   8196     test -z "$ac_dir" && ac_dir=.
   8197     if test -f $ac_dir/${ac_tool_prefix}file; then
   8198       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8199       if test -n "$file_magic_test_file"; then
   8200 	case $deplibs_check_method in
   8201 	"file_magic "*)
   8202 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8203 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8204 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8205 	    $EGREP "$file_magic_regex" > /dev/null; then
   8206 	    :
   8207 	  else
   8208 	    cat <<_LT_EOF 1>&2
   8209 
   8210 *** Warning: the command libtool uses to detect shared libraries,
   8211 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8212 *** The result is that libtool may fail to recognize shared libraries
   8213 *** as such.  This will affect the creation of libtool libraries that
   8214 *** depend on shared libraries, but programs linked with such libtool
   8215 *** libraries will work regardless of this problem.  Nevertheless, you
   8216 *** may want to report the problem to your system manager and/or to
   8217 *** bug-libtool@gnu.org
   8218 
   8219 _LT_EOF
   8220 	  fi ;;
   8221 	esac
   8222       fi
   8223       break
   8224     fi
   8225   done
   8226   IFS="$lt_save_ifs"
   8227   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8228   ;;
   8229 esac
   8230 fi
   8231 
   8232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8233 if test -n "$MAGIC_CMD"; then
   8234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8235 $as_echo "$MAGIC_CMD" >&6; }
   8236 else
   8237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8238 $as_echo "no" >&6; }
   8239 fi
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8246   if test -n "$ac_tool_prefix"; then
   8247     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8248 $as_echo_n "checking for file... " >&6; }
   8249 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8250   $as_echo_n "(cached) " >&6
   8251 else
   8252   case $MAGIC_CMD in
   8253 [\\/*] |  ?:[\\/]*)
   8254   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8255   ;;
   8256 *)
   8257   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8258   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8259   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8260   for ac_dir in $ac_dummy; do
   8261     IFS="$lt_save_ifs"
   8262     test -z "$ac_dir" && ac_dir=.
   8263     if test -f $ac_dir/file; then
   8264       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8265       if test -n "$file_magic_test_file"; then
   8266 	case $deplibs_check_method in
   8267 	"file_magic "*)
   8268 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8269 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8270 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8271 	    $EGREP "$file_magic_regex" > /dev/null; then
   8272 	    :
   8273 	  else
   8274 	    cat <<_LT_EOF 1>&2
   8275 
   8276 *** Warning: the command libtool uses to detect shared libraries,
   8277 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8278 *** The result is that libtool may fail to recognize shared libraries
   8279 *** as such.  This will affect the creation of libtool libraries that
   8280 *** depend on shared libraries, but programs linked with such libtool
   8281 *** libraries will work regardless of this problem.  Nevertheless, you
   8282 *** may want to report the problem to your system manager and/or to
   8283 *** bug-libtool@gnu.org
   8284 
   8285 _LT_EOF
   8286 	  fi ;;
   8287 	esac
   8288       fi
   8289       break
   8290     fi
   8291   done
   8292   IFS="$lt_save_ifs"
   8293   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8294   ;;
   8295 esac
   8296 fi
   8297 
   8298 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8299 if test -n "$MAGIC_CMD"; then
   8300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8301 $as_echo "$MAGIC_CMD" >&6; }
   8302 else
   8303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8304 $as_echo "no" >&6; }
   8305 fi
   8306 
   8307 
   8308   else
   8309     MAGIC_CMD=:
   8310   fi
   8311 fi
   8312 
   8313   fi
   8314   ;;
   8315 esac
   8316 
   8317 # Use C for the default configuration in the libtool script
   8318 
   8319 lt_save_CC="$CC"
   8320 ac_ext=c
   8321 ac_cpp='$CPP $CPPFLAGS'
   8322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8325 
   8326 
   8327 # Source file extension for C test sources.
   8328 ac_ext=c
   8329 
   8330 # Object file extension for compiled C test sources.
   8331 objext=o
   8332 objext=$objext
   8333 
   8334 # Code to be used in simple compile tests
   8335 lt_simple_compile_test_code="int some_variable = 0;"
   8336 
   8337 # Code to be used in simple link tests
   8338 lt_simple_link_test_code='int main(){return(0);}'
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 
   8345 
   8346 # If no C compiler was specified, use CC.
   8347 LTCC=${LTCC-"$CC"}
   8348 
   8349 # If no C compiler flags were specified, use CFLAGS.
   8350 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8351 
   8352 # Allow CC to be a program name with arguments.
   8353 compiler=$CC
   8354 
   8355 # Save the default compiler, since it gets overwritten when the other
   8356 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8357 compiler_DEFAULT=$CC
   8358 
   8359 # save warnings/boilerplate of simple test code
   8360 ac_outfile=conftest.$ac_objext
   8361 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8362 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8363 _lt_compiler_boilerplate=`cat conftest.err`
   8364 $RM conftest*
   8365 
   8366 ac_outfile=conftest.$ac_objext
   8367 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8368 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8369 _lt_linker_boilerplate=`cat conftest.err`
   8370 $RM -r conftest*
   8371 
   8372 
   8373 if test -n "$compiler"; then
   8374 
   8375 lt_prog_compiler_no_builtin_flag=
   8376 
   8377 if test "$GCC" = yes; then
   8378   case $cc_basename in
   8379   nvcc*)
   8380     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8381   *)
   8382     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8383   esac
   8384 
   8385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8386 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8387 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8388   $as_echo_n "(cached) " >&6
   8389 else
   8390   lt_cv_prog_compiler_rtti_exceptions=no
   8391    ac_outfile=conftest.$ac_objext
   8392    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8393    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8394    # Insert the option either (1) after the last *FLAGS variable, or
   8395    # (2) before a word containing "conftest.", or (3) at the end.
   8396    # Note that $ac_compile itself does not contain backslashes and begins
   8397    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8398    # The option is referenced via a variable to avoid confusing sed.
   8399    lt_compile=`echo "$ac_compile" | $SED \
   8400    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8401    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8402    -e 's:$: $lt_compiler_flag:'`
   8403    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8404    (eval "$lt_compile" 2>conftest.err)
   8405    ac_status=$?
   8406    cat conftest.err >&5
   8407    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8408    if (exit $ac_status) && test -s "$ac_outfile"; then
   8409      # The compiler can only warn and ignore the option if not recognized
   8410      # So say no if there are warnings other than the usual output.
   8411      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8412      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8413      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8414        lt_cv_prog_compiler_rtti_exceptions=yes
   8415      fi
   8416    fi
   8417    $RM conftest*
   8418 
   8419 fi
   8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8421 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8422 
   8423 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8424     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8425 else
   8426     :
   8427 fi
   8428 
   8429 fi
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436   lt_prog_compiler_wl=
   8437 lt_prog_compiler_pic=
   8438 lt_prog_compiler_static=
   8439 
   8440 
   8441   if test "$GCC" = yes; then
   8442     lt_prog_compiler_wl='-Wl,'
   8443     lt_prog_compiler_static='-static'
   8444 
   8445     case $host_os in
   8446       aix*)
   8447       # All AIX code is PIC.
   8448       if test "$host_cpu" = ia64; then
   8449 	# AIX 5 now supports IA64 processor
   8450 	lt_prog_compiler_static='-Bstatic'
   8451       fi
   8452       ;;
   8453 
   8454     amigaos*)
   8455       case $host_cpu in
   8456       powerpc)
   8457             # see comment about AmigaOS4 .so support
   8458             lt_prog_compiler_pic='-fPIC'
   8459         ;;
   8460       m68k)
   8461             # FIXME: we need at least 68020 code to build shared libraries, but
   8462             # adding the `-m68020' flag to GCC prevents building anything better,
   8463             # like `-m68040'.
   8464             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8465         ;;
   8466       esac
   8467       ;;
   8468 
   8469     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8470       # PIC is the default for these OSes.
   8471       ;;
   8472 
   8473     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8474       # This hack is so that the source file can tell whether it is being
   8475       # built for inclusion in a dll (and should export symbols for example).
   8476       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8477       # (--disable-auto-import) libraries
   8478       lt_prog_compiler_pic='-DDLL_EXPORT'
   8479       ;;
   8480 
   8481     darwin* | rhapsody*)
   8482       # PIC is the default on this platform
   8483       # Common symbols not allowed in MH_DYLIB files
   8484       lt_prog_compiler_pic='-fno-common'
   8485       ;;
   8486 
   8487     haiku*)
   8488       # PIC is the default for Haiku.
   8489       # The "-static" flag exists, but is broken.
   8490       lt_prog_compiler_static=
   8491       ;;
   8492 
   8493     hpux*)
   8494       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8495       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8496       # sets the default TLS model and affects inlining.
   8497       case $host_cpu in
   8498       hppa*64*)
   8499 	# +Z the default
   8500 	;;
   8501       *)
   8502 	lt_prog_compiler_pic='-fPIC'
   8503 	;;
   8504       esac
   8505       ;;
   8506 
   8507     interix[3-9]*)
   8508       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8509       # Instead, we relocate shared libraries at runtime.
   8510       ;;
   8511 
   8512     msdosdjgpp*)
   8513       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8514       # on systems that don't support them.
   8515       lt_prog_compiler_can_build_shared=no
   8516       enable_shared=no
   8517       ;;
   8518 
   8519     *nto* | *qnx*)
   8520       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8521       # it will coredump.
   8522       lt_prog_compiler_pic='-fPIC -shared'
   8523       ;;
   8524 
   8525     sysv4*MP*)
   8526       if test -d /usr/nec; then
   8527 	lt_prog_compiler_pic=-Kconform_pic
   8528       fi
   8529       ;;
   8530 
   8531     *)
   8532       lt_prog_compiler_pic='-fPIC'
   8533       ;;
   8534     esac
   8535 
   8536     case $cc_basename in
   8537     nvcc*) # Cuda Compiler Driver 2.2
   8538       lt_prog_compiler_wl='-Xlinker '
   8539       if test -n "$lt_prog_compiler_pic"; then
   8540         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8541       fi
   8542       ;;
   8543     esac
   8544   else
   8545     # PORTME Check for flag to pass linker flags through the system compiler.
   8546     case $host_os in
   8547     aix*)
   8548       lt_prog_compiler_wl='-Wl,'
   8549       if test "$host_cpu" = ia64; then
   8550 	# AIX 5 now supports IA64 processor
   8551 	lt_prog_compiler_static='-Bstatic'
   8552       else
   8553 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8554       fi
   8555       ;;
   8556 
   8557     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8558       # This hack is so that the source file can tell whether it is being
   8559       # built for inclusion in a dll (and should export symbols for example).
   8560       lt_prog_compiler_pic='-DDLL_EXPORT'
   8561       ;;
   8562 
   8563     hpux9* | hpux10* | hpux11*)
   8564       lt_prog_compiler_wl='-Wl,'
   8565       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8566       # not for PA HP-UX.
   8567       case $host_cpu in
   8568       hppa*64*|ia64*)
   8569 	# +Z the default
   8570 	;;
   8571       *)
   8572 	lt_prog_compiler_pic='+Z'
   8573 	;;
   8574       esac
   8575       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8576       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8577       ;;
   8578 
   8579     irix5* | irix6* | nonstopux*)
   8580       lt_prog_compiler_wl='-Wl,'
   8581       # PIC (with -KPIC) is the default.
   8582       lt_prog_compiler_static='-non_shared'
   8583       ;;
   8584 
   8585     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8586       case $cc_basename in
   8587       # old Intel for x86_64 which still supported -KPIC.
   8588       ecc*)
   8589 	lt_prog_compiler_wl='-Wl,'
   8590 	lt_prog_compiler_pic='-KPIC'
   8591 	lt_prog_compiler_static='-static'
   8592         ;;
   8593       # icc used to be incompatible with GCC.
   8594       # ICC 10 doesn't accept -KPIC any more.
   8595       icc* | ifort*)
   8596 	lt_prog_compiler_wl='-Wl,'
   8597 	lt_prog_compiler_pic='-fPIC'
   8598 	lt_prog_compiler_static='-static'
   8599         ;;
   8600       # Lahey Fortran 8.1.
   8601       lf95*)
   8602 	lt_prog_compiler_wl='-Wl,'
   8603 	lt_prog_compiler_pic='--shared'
   8604 	lt_prog_compiler_static='--static'
   8605 	;;
   8606       nagfor*)
   8607 	# NAG Fortran compiler
   8608 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8609 	lt_prog_compiler_pic='-PIC'
   8610 	lt_prog_compiler_static='-Bstatic'
   8611 	;;
   8612       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8613         # Portland Group compilers (*not* the Pentium gcc compiler,
   8614 	# which looks to be a dead project)
   8615 	lt_prog_compiler_wl='-Wl,'
   8616 	lt_prog_compiler_pic='-fpic'
   8617 	lt_prog_compiler_static='-Bstatic'
   8618         ;;
   8619       ccc*)
   8620         lt_prog_compiler_wl='-Wl,'
   8621         # All Alpha code is PIC.
   8622         lt_prog_compiler_static='-non_shared'
   8623         ;;
   8624       xl* | bgxl* | bgf* | mpixl*)
   8625 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8626 	lt_prog_compiler_wl='-Wl,'
   8627 	lt_prog_compiler_pic='-qpic'
   8628 	lt_prog_compiler_static='-qstaticlink'
   8629 	;;
   8630       *)
   8631 	case `$CC -V 2>&1 | sed 5q` in
   8632 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8633 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8634 	  lt_prog_compiler_pic='-KPIC'
   8635 	  lt_prog_compiler_static='-Bstatic'
   8636 	  lt_prog_compiler_wl=''
   8637 	  ;;
   8638 	*Sun\ F* | *Sun*Fortran*)
   8639 	  lt_prog_compiler_pic='-KPIC'
   8640 	  lt_prog_compiler_static='-Bstatic'
   8641 	  lt_prog_compiler_wl='-Qoption ld '
   8642 	  ;;
   8643 	*Sun\ C*)
   8644 	  # Sun C 5.9
   8645 	  lt_prog_compiler_pic='-KPIC'
   8646 	  lt_prog_compiler_static='-Bstatic'
   8647 	  lt_prog_compiler_wl='-Wl,'
   8648 	  ;;
   8649         *Intel*\ [CF]*Compiler*)
   8650 	  lt_prog_compiler_wl='-Wl,'
   8651 	  lt_prog_compiler_pic='-fPIC'
   8652 	  lt_prog_compiler_static='-static'
   8653 	  ;;
   8654 	*Portland\ Group*)
   8655 	  lt_prog_compiler_wl='-Wl,'
   8656 	  lt_prog_compiler_pic='-fpic'
   8657 	  lt_prog_compiler_static='-Bstatic'
   8658 	  ;;
   8659 	esac
   8660 	;;
   8661       esac
   8662       ;;
   8663 
   8664     newsos6)
   8665       lt_prog_compiler_pic='-KPIC'
   8666       lt_prog_compiler_static='-Bstatic'
   8667       ;;
   8668 
   8669     *nto* | *qnx*)
   8670       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8671       # it will coredump.
   8672       lt_prog_compiler_pic='-fPIC -shared'
   8673       ;;
   8674 
   8675     osf3* | osf4* | osf5*)
   8676       lt_prog_compiler_wl='-Wl,'
   8677       # All OSF/1 code is PIC.
   8678       lt_prog_compiler_static='-non_shared'
   8679       ;;
   8680 
   8681     rdos*)
   8682       lt_prog_compiler_static='-non_shared'
   8683       ;;
   8684 
   8685     solaris*)
   8686       lt_prog_compiler_pic='-KPIC'
   8687       lt_prog_compiler_static='-Bstatic'
   8688       case $cc_basename in
   8689       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8690 	lt_prog_compiler_wl='-Qoption ld ';;
   8691       *)
   8692 	lt_prog_compiler_wl='-Wl,';;
   8693       esac
   8694       ;;
   8695 
   8696     sunos4*)
   8697       lt_prog_compiler_wl='-Qoption ld '
   8698       lt_prog_compiler_pic='-PIC'
   8699       lt_prog_compiler_static='-Bstatic'
   8700       ;;
   8701 
   8702     sysv4 | sysv4.2uw2* | sysv4.3*)
   8703       lt_prog_compiler_wl='-Wl,'
   8704       lt_prog_compiler_pic='-KPIC'
   8705       lt_prog_compiler_static='-Bstatic'
   8706       ;;
   8707 
   8708     sysv4*MP*)
   8709       if test -d /usr/nec ;then
   8710 	lt_prog_compiler_pic='-Kconform_pic'
   8711 	lt_prog_compiler_static='-Bstatic'
   8712       fi
   8713       ;;
   8714 
   8715     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8716       lt_prog_compiler_wl='-Wl,'
   8717       lt_prog_compiler_pic='-KPIC'
   8718       lt_prog_compiler_static='-Bstatic'
   8719       ;;
   8720 
   8721     unicos*)
   8722       lt_prog_compiler_wl='-Wl,'
   8723       lt_prog_compiler_can_build_shared=no
   8724       ;;
   8725 
   8726     uts4*)
   8727       lt_prog_compiler_pic='-pic'
   8728       lt_prog_compiler_static='-Bstatic'
   8729       ;;
   8730 
   8731     *)
   8732       lt_prog_compiler_can_build_shared=no
   8733       ;;
   8734     esac
   8735   fi
   8736 
   8737 case $host_os in
   8738   # For platforms which do not support PIC, -DPIC is meaningless:
   8739   *djgpp*)
   8740     lt_prog_compiler_pic=
   8741     ;;
   8742   *)
   8743     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8744     ;;
   8745 esac
   8746 
   8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8748 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8749 if ${lt_cv_prog_compiler_pic+:} false; then :
   8750   $as_echo_n "(cached) " >&6
   8751 else
   8752   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8753 fi
   8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8755 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8756 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8757 
   8758 #
   8759 # Check to make sure the PIC flag actually works.
   8760 #
   8761 if test -n "$lt_prog_compiler_pic"; then
   8762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8763 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8764 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8765   $as_echo_n "(cached) " >&6
   8766 else
   8767   lt_cv_prog_compiler_pic_works=no
   8768    ac_outfile=conftest.$ac_objext
   8769    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8770    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8771    # Insert the option either (1) after the last *FLAGS variable, or
   8772    # (2) before a word containing "conftest.", or (3) at the end.
   8773    # Note that $ac_compile itself does not contain backslashes and begins
   8774    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8775    # The option is referenced via a variable to avoid confusing sed.
   8776    lt_compile=`echo "$ac_compile" | $SED \
   8777    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8778    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8779    -e 's:$: $lt_compiler_flag:'`
   8780    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8781    (eval "$lt_compile" 2>conftest.err)
   8782    ac_status=$?
   8783    cat conftest.err >&5
   8784    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8785    if (exit $ac_status) && test -s "$ac_outfile"; then
   8786      # The compiler can only warn and ignore the option if not recognized
   8787      # So say no if there are warnings other than the usual output.
   8788      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8789      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8790      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8791        lt_cv_prog_compiler_pic_works=yes
   8792      fi
   8793    fi
   8794    $RM conftest*
   8795 
   8796 fi
   8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8798 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8799 
   8800 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8801     case $lt_prog_compiler_pic in
   8802      "" | " "*) ;;
   8803      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8804      esac
   8805 else
   8806     lt_prog_compiler_pic=
   8807      lt_prog_compiler_can_build_shared=no
   8808 fi
   8809 
   8810 fi
   8811 
   8812 
   8813 
   8814 
   8815 
   8816 
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 #
   8823 # Check to make sure the static flag actually works.
   8824 #
   8825 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8827 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8828 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8829   $as_echo_n "(cached) " >&6
   8830 else
   8831   lt_cv_prog_compiler_static_works=no
   8832    save_LDFLAGS="$LDFLAGS"
   8833    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8834    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8835    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8836      # The linker can only warn and ignore the option if not recognized
   8837      # So say no if there are warnings
   8838      if test -s conftest.err; then
   8839        # Append any errors to the config.log.
   8840        cat conftest.err 1>&5
   8841        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8842        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8843        if diff conftest.exp conftest.er2 >/dev/null; then
   8844          lt_cv_prog_compiler_static_works=yes
   8845        fi
   8846      else
   8847        lt_cv_prog_compiler_static_works=yes
   8848      fi
   8849    fi
   8850    $RM -r conftest*
   8851    LDFLAGS="$save_LDFLAGS"
   8852 
   8853 fi
   8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8855 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8856 
   8857 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8858     :
   8859 else
   8860     lt_prog_compiler_static=
   8861 fi
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8870 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8871 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8872   $as_echo_n "(cached) " >&6
   8873 else
   8874   lt_cv_prog_compiler_c_o=no
   8875    $RM -r conftest 2>/dev/null
   8876    mkdir conftest
   8877    cd conftest
   8878    mkdir out
   8879    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8880 
   8881    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8882    # Insert the option either (1) after the last *FLAGS variable, or
   8883    # (2) before a word containing "conftest.", or (3) at the end.
   8884    # Note that $ac_compile itself does not contain backslashes and begins
   8885    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8886    lt_compile=`echo "$ac_compile" | $SED \
   8887    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8888    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8889    -e 's:$: $lt_compiler_flag:'`
   8890    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8891    (eval "$lt_compile" 2>out/conftest.err)
   8892    ac_status=$?
   8893    cat out/conftest.err >&5
   8894    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8895    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8896    then
   8897      # The compiler can only warn and ignore the option if not recognized
   8898      # So say no if there are warnings
   8899      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8900      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8901      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8902        lt_cv_prog_compiler_c_o=yes
   8903      fi
   8904    fi
   8905    chmod u+w . 2>&5
   8906    $RM conftest*
   8907    # SGI C++ compiler will create directory out/ii_files/ for
   8908    # template instantiation
   8909    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8910    $RM out/* && rmdir out
   8911    cd ..
   8912    $RM -r conftest
   8913    $RM conftest*
   8914 
   8915 fi
   8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8917 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8925 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8926 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8927   $as_echo_n "(cached) " >&6
   8928 else
   8929   lt_cv_prog_compiler_c_o=no
   8930    $RM -r conftest 2>/dev/null
   8931    mkdir conftest
   8932    cd conftest
   8933    mkdir out
   8934    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8935 
   8936    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8937    # Insert the option either (1) after the last *FLAGS variable, or
   8938    # (2) before a word containing "conftest.", or (3) at the end.
   8939    # Note that $ac_compile itself does not contain backslashes and begins
   8940    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8941    lt_compile=`echo "$ac_compile" | $SED \
   8942    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8943    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8944    -e 's:$: $lt_compiler_flag:'`
   8945    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8946    (eval "$lt_compile" 2>out/conftest.err)
   8947    ac_status=$?
   8948    cat out/conftest.err >&5
   8949    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8950    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8951    then
   8952      # The compiler can only warn and ignore the option if not recognized
   8953      # So say no if there are warnings
   8954      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8955      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8956      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8957        lt_cv_prog_compiler_c_o=yes
   8958      fi
   8959    fi
   8960    chmod u+w . 2>&5
   8961    $RM conftest*
   8962    # SGI C++ compiler will create directory out/ii_files/ for
   8963    # template instantiation
   8964    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8965    $RM out/* && rmdir out
   8966    cd ..
   8967    $RM -r conftest
   8968    $RM conftest*
   8969 
   8970 fi
   8971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8972 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8973 
   8974 
   8975 
   8976 
   8977 hard_links="nottested"
   8978 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8979   # do not overwrite the value of need_locks provided by the user
   8980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8981 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8982   hard_links=yes
   8983   $RM conftest*
   8984   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8985   touch conftest.a
   8986   ln conftest.a conftest.b 2>&5 || hard_links=no
   8987   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8989 $as_echo "$hard_links" >&6; }
   8990   if test "$hard_links" = no; then
   8991     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8992 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8993     need_locks=warn
   8994   fi
   8995 else
   8996   need_locks=no
   8997 fi
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9005 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9006 
   9007   runpath_var=
   9008   allow_undefined_flag=
   9009   always_export_symbols=no
   9010   archive_cmds=
   9011   archive_expsym_cmds=
   9012   compiler_needs_object=no
   9013   enable_shared_with_static_runtimes=no
   9014   export_dynamic_flag_spec=
   9015   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9016   hardcode_automatic=no
   9017   hardcode_direct=no
   9018   hardcode_direct_absolute=no
   9019   hardcode_libdir_flag_spec=
   9020   hardcode_libdir_separator=
   9021   hardcode_minus_L=no
   9022   hardcode_shlibpath_var=unsupported
   9023   inherit_rpath=no
   9024   link_all_deplibs=unknown
   9025   module_cmds=
   9026   module_expsym_cmds=
   9027   old_archive_from_new_cmds=
   9028   old_archive_from_expsyms_cmds=
   9029   thread_safe_flag_spec=
   9030   whole_archive_flag_spec=
   9031   # include_expsyms should be a list of space-separated symbols to be *always*
   9032   # included in the symbol list
   9033   include_expsyms=
   9034   # exclude_expsyms can be an extended regexp of symbols to exclude
   9035   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9036   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9037   # as well as any symbol that contains `d'.
   9038   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9039   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9040   # platforms (ab)use it in PIC code, but their linkers get confused if
   9041   # the symbol is explicitly referenced.  Since portable code cannot
   9042   # rely on this symbol name, it's probably fine to never include it in
   9043   # preloaded symbol tables.
   9044   # Exclude shared library initialization/finalization symbols.
   9045   extract_expsyms_cmds=
   9046 
   9047   case $host_os in
   9048   cygwin* | mingw* | pw32* | cegcc*)
   9049     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9050     # When not using gcc, we currently assume that we are using
   9051     # Microsoft Visual C++.
   9052     if test "$GCC" != yes; then
   9053       with_gnu_ld=no
   9054     fi
   9055     ;;
   9056   interix*)
   9057     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9058     with_gnu_ld=yes
   9059     ;;
   9060   openbsd*)
   9061     with_gnu_ld=no
   9062     ;;
   9063   linux* | k*bsd*-gnu | gnu*)
   9064     link_all_deplibs=no
   9065     ;;
   9066   esac
   9067 
   9068   ld_shlibs=yes
   9069 
   9070   # On some targets, GNU ld is compatible enough with the native linker
   9071   # that we're better off using the native interface for both.
   9072   lt_use_gnu_ld_interface=no
   9073   if test "$with_gnu_ld" = yes; then
   9074     case $host_os in
   9075       aix*)
   9076 	# The AIX port of GNU ld has always aspired to compatibility
   9077 	# with the native linker.  However, as the warning in the GNU ld
   9078 	# block says, versions before 2.19.5* couldn't really create working
   9079 	# shared libraries, regardless of the interface used.
   9080 	case `$LD -v 2>&1` in
   9081 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9082 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9083 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9084 	  *)
   9085 	    lt_use_gnu_ld_interface=yes
   9086 	    ;;
   9087 	esac
   9088 	;;
   9089       *)
   9090 	lt_use_gnu_ld_interface=yes
   9091 	;;
   9092     esac
   9093   fi
   9094 
   9095   if test "$lt_use_gnu_ld_interface" = yes; then
   9096     # If archive_cmds runs LD, not CC, wlarc should be empty
   9097     wlarc='${wl}'
   9098 
   9099     # Set some defaults for GNU ld with shared library support. These
   9100     # are reset later if shared libraries are not supported. Putting them
   9101     # here allows them to be overridden if necessary.
   9102     runpath_var=LD_RUN_PATH
   9103     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9104     export_dynamic_flag_spec='${wl}--export-dynamic'
   9105     # ancient GNU ld didn't support --whole-archive et. al.
   9106     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9107       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9108     else
   9109       whole_archive_flag_spec=
   9110     fi
   9111     supports_anon_versioning=no
   9112     case `$LD -v 2>&1` in
   9113       *GNU\ gold*) supports_anon_versioning=yes ;;
   9114       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9115       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9116       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9117       *\ 2.11.*) ;; # other 2.11 versions
   9118       *) supports_anon_versioning=yes ;;
   9119     esac
   9120 
   9121     # See if GNU ld supports shared libraries.
   9122     case $host_os in
   9123     aix[3-9]*)
   9124       # On AIX/PPC, the GNU linker is very broken
   9125       if test "$host_cpu" != ia64; then
   9126 	ld_shlibs=no
   9127 	cat <<_LT_EOF 1>&2
   9128 
   9129 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9130 *** to be unable to reliably create shared libraries on AIX.
   9131 *** Therefore, libtool is disabling shared libraries support.  If you
   9132 *** really care for shared libraries, you may want to install binutils
   9133 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9134 *** You will then need to restart the configuration process.
   9135 
   9136 _LT_EOF
   9137       fi
   9138       ;;
   9139 
   9140     amigaos*)
   9141       case $host_cpu in
   9142       powerpc)
   9143             # see comment about AmigaOS4 .so support
   9144             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9145             archive_expsym_cmds=''
   9146         ;;
   9147       m68k)
   9148             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)'
   9149             hardcode_libdir_flag_spec='-L$libdir'
   9150             hardcode_minus_L=yes
   9151         ;;
   9152       esac
   9153       ;;
   9154 
   9155     beos*)
   9156       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9157 	allow_undefined_flag=unsupported
   9158 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9159 	# support --undefined.  This deserves some investigation.  FIXME
   9160 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9161       else
   9162 	ld_shlibs=no
   9163       fi
   9164       ;;
   9165 
   9166     cygwin* | mingw* | pw32* | cegcc*)
   9167       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9168       # as there is no search path for DLLs.
   9169       hardcode_libdir_flag_spec='-L$libdir'
   9170       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9171       allow_undefined_flag=unsupported
   9172       always_export_symbols=no
   9173       enable_shared_with_static_runtimes=yes
   9174       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'
   9175       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9176 
   9177       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9178         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9179 	# If the export-symbols file already is a .def file (1st line
   9180 	# is EXPORTS), use it as is; otherwise, prepend...
   9181 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9182 	  cp $export_symbols $output_objdir/$soname.def;
   9183 	else
   9184 	  echo EXPORTS > $output_objdir/$soname.def;
   9185 	  cat $export_symbols >> $output_objdir/$soname.def;
   9186 	fi~
   9187 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9188       else
   9189 	ld_shlibs=no
   9190       fi
   9191       ;;
   9192 
   9193     haiku*)
   9194       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9195       link_all_deplibs=yes
   9196       ;;
   9197 
   9198     interix[3-9]*)
   9199       hardcode_direct=no
   9200       hardcode_shlibpath_var=no
   9201       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9202       export_dynamic_flag_spec='${wl}-E'
   9203       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9204       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9205       # default) and relocated if they conflict, which is a slow very memory
   9206       # consuming and fragmenting process.  To avoid this, we pick a random,
   9207       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9208       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9209       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9210       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'
   9211       ;;
   9212 
   9213     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9214       tmp_diet=no
   9215       if test "$host_os" = linux-dietlibc; then
   9216 	case $cc_basename in
   9217 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9218 	esac
   9219       fi
   9220       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9221 	 && test "$tmp_diet" = no
   9222       then
   9223 	tmp_addflag=' $pic_flag'
   9224 	tmp_sharedflag='-shared'
   9225 	case $cc_basename,$host_cpu in
   9226         pgcc*)				# Portland Group C compiler
   9227 	  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'
   9228 	  tmp_addflag=' $pic_flag'
   9229 	  ;;
   9230 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9231 					# Portland Group f77 and f90 compilers
   9232 	  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'
   9233 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9234 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9235 	  tmp_addflag=' -i_dynamic' ;;
   9236 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9237 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9238 	ifc* | ifort*)			# Intel Fortran compiler
   9239 	  tmp_addflag=' -nofor_main' ;;
   9240 	lf95*)				# Lahey Fortran 8.1
   9241 	  whole_archive_flag_spec=
   9242 	  tmp_sharedflag='--shared' ;;
   9243 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9244 	  tmp_sharedflag='-qmkshrobj'
   9245 	  tmp_addflag= ;;
   9246 	nvcc*)	# Cuda Compiler Driver 2.2
   9247 	  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'
   9248 	  compiler_needs_object=yes
   9249 	  ;;
   9250 	esac
   9251 	case `$CC -V 2>&1 | sed 5q` in
   9252 	*Sun\ C*)			# Sun C 5.9
   9253 	  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'
   9254 	  compiler_needs_object=yes
   9255 	  tmp_sharedflag='-G' ;;
   9256 	*Sun\ F*)			# Sun Fortran 8.3
   9257 	  tmp_sharedflag='-G' ;;
   9258 	esac
   9259 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9260 
   9261         if test "x$supports_anon_versioning" = xyes; then
   9262           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9263 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9264 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9265 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9266         fi
   9267 
   9268 	case $cc_basename in
   9269 	xlf* | bgf* | bgxlf* | mpixlf*)
   9270 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9271 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9272 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9273 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9274 	  if test "x$supports_anon_versioning" = xyes; then
   9275 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9276 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9277 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9278 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9279 	  fi
   9280 	  ;;
   9281 	esac
   9282       else
   9283         ld_shlibs=no
   9284       fi
   9285       ;;
   9286 
   9287     netbsd* | netbsdelf*-gnu)
   9288       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9289 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9290 	wlarc=
   9291       else
   9292 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9293 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9294       fi
   9295       ;;
   9296 
   9297     solaris*)
   9298       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9299 	ld_shlibs=no
   9300 	cat <<_LT_EOF 1>&2
   9301 
   9302 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9303 *** create shared libraries on Solaris systems.  Therefore, libtool
   9304 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9305 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9306 *** your PATH or compiler configuration so that the native linker is
   9307 *** used, and then restart.
   9308 
   9309 _LT_EOF
   9310       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9311 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9312 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9313       else
   9314 	ld_shlibs=no
   9315       fi
   9316       ;;
   9317 
   9318     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9319       case `$LD -v 2>&1` in
   9320         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9321 	ld_shlibs=no
   9322 	cat <<_LT_EOF 1>&2
   9323 
   9324 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9325 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9326 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9327 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9328 *** your PATH or compiler configuration so that the native linker is
   9329 *** used, and then restart.
   9330 
   9331 _LT_EOF
   9332 	;;
   9333 	*)
   9334 	  # For security reasons, it is highly recommended that you always
   9335 	  # use absolute paths for naming shared libraries, and exclude the
   9336 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9337 	  # requires that you compile everything twice, which is a pain.
   9338 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9339 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9340 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9341 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9342 	  else
   9343 	    ld_shlibs=no
   9344 	  fi
   9345 	;;
   9346       esac
   9347       ;;
   9348 
   9349     sunos4*)
   9350       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9351       wlarc=
   9352       hardcode_direct=yes
   9353       hardcode_shlibpath_var=no
   9354       ;;
   9355 
   9356     *)
   9357       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9358 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9359 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9360       else
   9361 	ld_shlibs=no
   9362       fi
   9363       ;;
   9364     esac
   9365 
   9366     if test "$ld_shlibs" = no; then
   9367       runpath_var=
   9368       hardcode_libdir_flag_spec=
   9369       export_dynamic_flag_spec=
   9370       whole_archive_flag_spec=
   9371     fi
   9372   else
   9373     # PORTME fill in a description of your system's linker (not GNU ld)
   9374     case $host_os in
   9375     aix3*)
   9376       allow_undefined_flag=unsupported
   9377       always_export_symbols=yes
   9378       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'
   9379       # Note: this linker hardcodes the directories in LIBPATH if there
   9380       # are no directories specified by -L.
   9381       hardcode_minus_L=yes
   9382       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9383 	# Neither direct hardcoding nor static linking is supported with a
   9384 	# broken collect2.
   9385 	hardcode_direct=unsupported
   9386       fi
   9387       ;;
   9388 
   9389     aix[4-9]*)
   9390       if test "$host_cpu" = ia64; then
   9391 	# On IA64, the linker does run time linking by default, so we don't
   9392 	# have to do anything special.
   9393 	aix_use_runtimelinking=no
   9394 	exp_sym_flag='-Bexport'
   9395 	no_entry_flag=""
   9396       else
   9397 	# If we're using GNU nm, then we don't want the "-C" option.
   9398 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9399 	# Also, AIX nm treats weak defined symbols like other global
   9400 	# defined symbols, whereas GNU nm marks them as "W".
   9401 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9402 	  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'
   9403 	else
   9404 	  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'
   9405 	fi
   9406 	aix_use_runtimelinking=no
   9407 
   9408 	# Test if we are trying to use run time linking or normal
   9409 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9410 	# need to do runtime linking.
   9411 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9412 	  for ld_flag in $LDFLAGS; do
   9413 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9414 	    aix_use_runtimelinking=yes
   9415 	    break
   9416 	  fi
   9417 	  done
   9418 	  ;;
   9419 	esac
   9420 
   9421 	exp_sym_flag='-bexport'
   9422 	no_entry_flag='-bnoentry'
   9423       fi
   9424 
   9425       # When large executables or shared objects are built, AIX ld can
   9426       # have problems creating the table of contents.  If linking a library
   9427       # or program results in "error TOC overflow" add -mminimal-toc to
   9428       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9429       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9430 
   9431       archive_cmds=''
   9432       hardcode_direct=yes
   9433       hardcode_direct_absolute=yes
   9434       hardcode_libdir_separator=':'
   9435       link_all_deplibs=yes
   9436       file_list_spec='${wl}-f,'
   9437 
   9438       if test "$GCC" = yes; then
   9439 	case $host_os in aix4.[012]|aix4.[012].*)
   9440 	# We only want to do this on AIX 4.2 and lower, the check
   9441 	# below for broken collect2 doesn't work under 4.3+
   9442 	  collect2name=`${CC} -print-prog-name=collect2`
   9443 	  if test -f "$collect2name" &&
   9444 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9445 	  then
   9446 	  # We have reworked collect2
   9447 	  :
   9448 	  else
   9449 	  # We have old collect2
   9450 	  hardcode_direct=unsupported
   9451 	  # It fails to find uninstalled libraries when the uninstalled
   9452 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9453 	  # to unsupported forces relinking
   9454 	  hardcode_minus_L=yes
   9455 	  hardcode_libdir_flag_spec='-L$libdir'
   9456 	  hardcode_libdir_separator=
   9457 	  fi
   9458 	  ;;
   9459 	esac
   9460 	shared_flag='-shared'
   9461 	if test "$aix_use_runtimelinking" = yes; then
   9462 	  shared_flag="$shared_flag "'${wl}-G'
   9463 	fi
   9464 	link_all_deplibs=no
   9465       else
   9466 	# not using gcc
   9467 	if test "$host_cpu" = ia64; then
   9468 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9469 	# chokes on -Wl,-G. The following line is correct:
   9470 	  shared_flag='-G'
   9471 	else
   9472 	  if test "$aix_use_runtimelinking" = yes; then
   9473 	    shared_flag='${wl}-G'
   9474 	  else
   9475 	    shared_flag='${wl}-bM:SRE'
   9476 	  fi
   9477 	fi
   9478       fi
   9479 
   9480       export_dynamic_flag_spec='${wl}-bexpall'
   9481       # It seems that -bexpall does not export symbols beginning with
   9482       # underscore (_), so it is better to generate a list of symbols to export.
   9483       always_export_symbols=yes
   9484       if test "$aix_use_runtimelinking" = yes; then
   9485 	# Warning - without using the other runtime loading flags (-brtl),
   9486 	# -berok will link without error, but may produce a broken library.
   9487 	allow_undefined_flag='-berok'
   9488         # Determine the default libpath from the value encoded in an
   9489         # empty executable.
   9490         if test "${lt_cv_aix_libpath+set}" = set; then
   9491   aix_libpath=$lt_cv_aix_libpath
   9492 else
   9493   if ${lt_cv_aix_libpath_+:} false; then :
   9494   $as_echo_n "(cached) " >&6
   9495 else
   9496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9497 /* end confdefs.h.  */
   9498 
   9499 int
   9500 main ()
   9501 {
   9502 
   9503   ;
   9504   return 0;
   9505 }
   9506 _ACEOF
   9507 if ac_fn_c_try_link "$LINENO"; then :
   9508 
   9509   lt_aix_libpath_sed='
   9510       /Import File Strings/,/^$/ {
   9511 	  /^0/ {
   9512 	      s/^0  *\([^ ]*\) *$/\1/
   9513 	      p
   9514 	  }
   9515       }'
   9516   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9517   # Check for a 64-bit object if we didn't find anything.
   9518   if test -z "$lt_cv_aix_libpath_"; then
   9519     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9520   fi
   9521 fi
   9522 rm -f core conftest.err conftest.$ac_objext \
   9523     conftest$ac_exeext conftest.$ac_ext
   9524   if test -z "$lt_cv_aix_libpath_"; then
   9525     lt_cv_aix_libpath_="/usr/lib:/lib"
   9526   fi
   9527 
   9528 fi
   9529 
   9530   aix_libpath=$lt_cv_aix_libpath_
   9531 fi
   9532 
   9533         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9534         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"
   9535       else
   9536 	if test "$host_cpu" = ia64; then
   9537 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9538 	  allow_undefined_flag="-z nodefs"
   9539 	  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"
   9540 	else
   9541 	 # Determine the default libpath from the value encoded in an
   9542 	 # empty executable.
   9543 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9544   aix_libpath=$lt_cv_aix_libpath
   9545 else
   9546   if ${lt_cv_aix_libpath_+:} false; then :
   9547   $as_echo_n "(cached) " >&6
   9548 else
   9549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9550 /* end confdefs.h.  */
   9551 
   9552 int
   9553 main ()
   9554 {
   9555 
   9556   ;
   9557   return 0;
   9558 }
   9559 _ACEOF
   9560 if ac_fn_c_try_link "$LINENO"; then :
   9561 
   9562   lt_aix_libpath_sed='
   9563       /Import File Strings/,/^$/ {
   9564 	  /^0/ {
   9565 	      s/^0  *\([^ ]*\) *$/\1/
   9566 	      p
   9567 	  }
   9568       }'
   9569   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9570   # Check for a 64-bit object if we didn't find anything.
   9571   if test -z "$lt_cv_aix_libpath_"; then
   9572     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9573   fi
   9574 fi
   9575 rm -f core conftest.err conftest.$ac_objext \
   9576     conftest$ac_exeext conftest.$ac_ext
   9577   if test -z "$lt_cv_aix_libpath_"; then
   9578     lt_cv_aix_libpath_="/usr/lib:/lib"
   9579   fi
   9580 
   9581 fi
   9582 
   9583   aix_libpath=$lt_cv_aix_libpath_
   9584 fi
   9585 
   9586 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9587 	  # Warning - without using the other run time loading flags,
   9588 	  # -berok will link without error, but may produce a broken library.
   9589 	  no_undefined_flag=' ${wl}-bernotok'
   9590 	  allow_undefined_flag=' ${wl}-berok'
   9591 	  if test "$with_gnu_ld" = yes; then
   9592 	    # We only use this code for GNU lds that support --whole-archive.
   9593 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9594 	  else
   9595 	    # Exported symbols can be pulled into shared objects from archives
   9596 	    whole_archive_flag_spec='$convenience'
   9597 	  fi
   9598 	  archive_cmds_need_lc=yes
   9599 	  # This is similar to how AIX traditionally builds its shared libraries.
   9600 	  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'
   9601 	fi
   9602       fi
   9603       ;;
   9604 
   9605     amigaos*)
   9606       case $host_cpu in
   9607       powerpc)
   9608             # see comment about AmigaOS4 .so support
   9609             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9610             archive_expsym_cmds=''
   9611         ;;
   9612       m68k)
   9613             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)'
   9614             hardcode_libdir_flag_spec='-L$libdir'
   9615             hardcode_minus_L=yes
   9616         ;;
   9617       esac
   9618       ;;
   9619 
   9620     bsdi[45]*)
   9621       export_dynamic_flag_spec=-rdynamic
   9622       ;;
   9623 
   9624     cygwin* | mingw* | pw32* | cegcc*)
   9625       # When not using gcc, we currently assume that we are using
   9626       # Microsoft Visual C++.
   9627       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9628       # no search path for DLLs.
   9629       case $cc_basename in
   9630       cl*)
   9631 	# Native MSVC
   9632 	hardcode_libdir_flag_spec=' '
   9633 	allow_undefined_flag=unsupported
   9634 	always_export_symbols=yes
   9635 	file_list_spec='@'
   9636 	# Tell ltmain to make .lib files, not .a files.
   9637 	libext=lib
   9638 	# Tell ltmain to make .dll files, not .so files.
   9639 	shrext_cmds=".dll"
   9640 	# FIXME: Setting linknames here is a bad hack.
   9641 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9642 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9643 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9644 	  else
   9645 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9646 	  fi~
   9647 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9648 	  linknames='
   9649 	# The linker will not automatically build a static lib if we build a DLL.
   9650 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9651 	enable_shared_with_static_runtimes=yes
   9652 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9653 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9654 	# Don't use ranlib
   9655 	old_postinstall_cmds='chmod 644 $oldlib'
   9656 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9657 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9658 	  case $lt_outputfile in
   9659 	    *.exe|*.EXE) ;;
   9660 	    *)
   9661 	      lt_outputfile="$lt_outputfile.exe"
   9662 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9663 	      ;;
   9664 	  esac~
   9665 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9666 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9667 	    $RM "$lt_outputfile.manifest";
   9668 	  fi'
   9669 	;;
   9670       *)
   9671 	# Assume MSVC wrapper
   9672 	hardcode_libdir_flag_spec=' '
   9673 	allow_undefined_flag=unsupported
   9674 	# Tell ltmain to make .lib files, not .a files.
   9675 	libext=lib
   9676 	# Tell ltmain to make .dll files, not .so files.
   9677 	shrext_cmds=".dll"
   9678 	# FIXME: Setting linknames here is a bad hack.
   9679 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9680 	# The linker will automatically build a .lib file if we build a DLL.
   9681 	old_archive_from_new_cmds='true'
   9682 	# FIXME: Should let the user specify the lib program.
   9683 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9684 	enable_shared_with_static_runtimes=yes
   9685 	;;
   9686       esac
   9687       ;;
   9688 
   9689     darwin* | rhapsody*)
   9690 
   9691 
   9692   archive_cmds_need_lc=no
   9693   hardcode_direct=no
   9694   hardcode_automatic=yes
   9695   hardcode_shlibpath_var=unsupported
   9696   if test "$lt_cv_ld_force_load" = "yes"; then
   9697     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\"`'
   9698 
   9699   else
   9700     whole_archive_flag_spec=''
   9701   fi
   9702   link_all_deplibs=yes
   9703   allow_undefined_flag="$_lt_dar_allow_undefined"
   9704   case $cc_basename in
   9705      ifort*) _lt_dar_can_shared=yes ;;
   9706      *) _lt_dar_can_shared=$GCC ;;
   9707   esac
   9708   if test "$_lt_dar_can_shared" = "yes"; then
   9709     output_verbose_link_cmd=func_echo_all
   9710     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9711     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9712     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}"
   9713     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}"
   9714 
   9715   else
   9716   ld_shlibs=no
   9717   fi
   9718 
   9719       ;;
   9720 
   9721     dgux*)
   9722       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9723       hardcode_libdir_flag_spec='-L$libdir'
   9724       hardcode_shlibpath_var=no
   9725       ;;
   9726 
   9727     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9728     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9729     # does not break anything, and helps significantly (at the cost of a little
   9730     # extra space).
   9731     freebsd2.2*)
   9732       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9733       hardcode_libdir_flag_spec='-R$libdir'
   9734       hardcode_direct=yes
   9735       hardcode_shlibpath_var=no
   9736       ;;
   9737 
   9738     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9739     freebsd2.*)
   9740       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9741       hardcode_direct=yes
   9742       hardcode_minus_L=yes
   9743       hardcode_shlibpath_var=no
   9744       ;;
   9745 
   9746     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9747     freebsd* | dragonfly*)
   9748       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9749       hardcode_libdir_flag_spec='-R$libdir'
   9750       hardcode_direct=yes
   9751       hardcode_shlibpath_var=no
   9752       ;;
   9753 
   9754     hpux9*)
   9755       if test "$GCC" = yes; then
   9756 	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'
   9757       else
   9758 	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'
   9759       fi
   9760       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9761       hardcode_libdir_separator=:
   9762       hardcode_direct=yes
   9763 
   9764       # hardcode_minus_L: Not really in the search PATH,
   9765       # but as the default location of the library.
   9766       hardcode_minus_L=yes
   9767       export_dynamic_flag_spec='${wl}-E'
   9768       ;;
   9769 
   9770     hpux10*)
   9771       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9772 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9773       else
   9774 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9775       fi
   9776       if test "$with_gnu_ld" = no; then
   9777 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9778 	hardcode_libdir_separator=:
   9779 	hardcode_direct=yes
   9780 	hardcode_direct_absolute=yes
   9781 	export_dynamic_flag_spec='${wl}-E'
   9782 	# hardcode_minus_L: Not really in the search PATH,
   9783 	# but as the default location of the library.
   9784 	hardcode_minus_L=yes
   9785       fi
   9786       ;;
   9787 
   9788     hpux11*)
   9789       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9790 	case $host_cpu in
   9791 	hppa*64*)
   9792 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9793 	  ;;
   9794 	ia64*)
   9795 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9796 	  ;;
   9797 	*)
   9798 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9799 	  ;;
   9800 	esac
   9801       else
   9802 	case $host_cpu in
   9803 	hppa*64*)
   9804 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9805 	  ;;
   9806 	ia64*)
   9807 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9808 	  ;;
   9809 	*)
   9810 
   9811 	  # Older versions of the 11.00 compiler do not understand -b yet
   9812 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9813 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9814 $as_echo_n "checking if $CC understands -b... " >&6; }
   9815 if ${lt_cv_prog_compiler__b+:} false; then :
   9816   $as_echo_n "(cached) " >&6
   9817 else
   9818   lt_cv_prog_compiler__b=no
   9819    save_LDFLAGS="$LDFLAGS"
   9820    LDFLAGS="$LDFLAGS -b"
   9821    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9822    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9823      # The linker can only warn and ignore the option if not recognized
   9824      # So say no if there are warnings
   9825      if test -s conftest.err; then
   9826        # Append any errors to the config.log.
   9827        cat conftest.err 1>&5
   9828        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9829        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9830        if diff conftest.exp conftest.er2 >/dev/null; then
   9831          lt_cv_prog_compiler__b=yes
   9832        fi
   9833      else
   9834        lt_cv_prog_compiler__b=yes
   9835      fi
   9836    fi
   9837    $RM -r conftest*
   9838    LDFLAGS="$save_LDFLAGS"
   9839 
   9840 fi
   9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9842 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9843 
   9844 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9845     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9846 else
   9847     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9848 fi
   9849 
   9850 	  ;;
   9851 	esac
   9852       fi
   9853       if test "$with_gnu_ld" = no; then
   9854 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9855 	hardcode_libdir_separator=:
   9856 
   9857 	case $host_cpu in
   9858 	hppa*64*|ia64*)
   9859 	  hardcode_direct=no
   9860 	  hardcode_shlibpath_var=no
   9861 	  ;;
   9862 	*)
   9863 	  hardcode_direct=yes
   9864 	  hardcode_direct_absolute=yes
   9865 	  export_dynamic_flag_spec='${wl}-E'
   9866 
   9867 	  # hardcode_minus_L: Not really in the search PATH,
   9868 	  # but as the default location of the library.
   9869 	  hardcode_minus_L=yes
   9870 	  ;;
   9871 	esac
   9872       fi
   9873       ;;
   9874 
   9875     irix5* | irix6* | nonstopux*)
   9876       if test "$GCC" = yes; then
   9877 	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'
   9878 	# Try to use the -exported_symbol ld option, if it does not
   9879 	# work, assume that -exports_file does not work either and
   9880 	# implicitly export all symbols.
   9881 	# This should be the same for all languages, so no per-tag cache variable.
   9882 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9883 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9884 if ${lt_cv_irix_exported_symbol+:} false; then :
   9885   $as_echo_n "(cached) " >&6
   9886 else
   9887   save_LDFLAGS="$LDFLAGS"
   9888 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9889 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9890 /* end confdefs.h.  */
   9891 int foo (void) { return 0; }
   9892 _ACEOF
   9893 if ac_fn_c_try_link "$LINENO"; then :
   9894   lt_cv_irix_exported_symbol=yes
   9895 else
   9896   lt_cv_irix_exported_symbol=no
   9897 fi
   9898 rm -f core conftest.err conftest.$ac_objext \
   9899     conftest$ac_exeext conftest.$ac_ext
   9900            LDFLAGS="$save_LDFLAGS"
   9901 fi
   9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9903 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9904 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9905           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'
   9906 	fi
   9907       else
   9908 	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'
   9909 	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'
   9910       fi
   9911       archive_cmds_need_lc='no'
   9912       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9913       hardcode_libdir_separator=:
   9914       inherit_rpath=yes
   9915       link_all_deplibs=yes
   9916       ;;
   9917 
   9918     netbsd* | netbsdelf*-gnu)
   9919       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9920 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9921       else
   9922 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9923       fi
   9924       hardcode_libdir_flag_spec='-R$libdir'
   9925       hardcode_direct=yes
   9926       hardcode_shlibpath_var=no
   9927       ;;
   9928 
   9929     newsos6)
   9930       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9931       hardcode_direct=yes
   9932       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9933       hardcode_libdir_separator=:
   9934       hardcode_shlibpath_var=no
   9935       ;;
   9936 
   9937     *nto* | *qnx*)
   9938       ;;
   9939 
   9940     openbsd*)
   9941       if test -f /usr/libexec/ld.so; then
   9942 	hardcode_direct=yes
   9943 	hardcode_shlibpath_var=no
   9944 	hardcode_direct_absolute=yes
   9945 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9946 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9947 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9948 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9949 	  export_dynamic_flag_spec='${wl}-E'
   9950 	else
   9951 	  case $host_os in
   9952 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9953 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9954 	     hardcode_libdir_flag_spec='-R$libdir'
   9955 	     ;;
   9956 	   *)
   9957 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9958 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9959 	     ;;
   9960 	  esac
   9961 	fi
   9962       else
   9963 	ld_shlibs=no
   9964       fi
   9965       ;;
   9966 
   9967     os2*)
   9968       hardcode_libdir_flag_spec='-L$libdir'
   9969       hardcode_minus_L=yes
   9970       allow_undefined_flag=unsupported
   9971       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'
   9972       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9973       ;;
   9974 
   9975     osf3*)
   9976       if test "$GCC" = yes; then
   9977 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9978 	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'
   9979       else
   9980 	allow_undefined_flag=' -expect_unresolved \*'
   9981 	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'
   9982       fi
   9983       archive_cmds_need_lc='no'
   9984       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9985       hardcode_libdir_separator=:
   9986       ;;
   9987 
   9988     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9989       if test "$GCC" = yes; then
   9990 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9991 	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'
   9992 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9993       else
   9994 	allow_undefined_flag=' -expect_unresolved \*'
   9995 	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'
   9996 	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~
   9997 	$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'
   9998 
   9999 	# Both c and cxx compiler support -rpath directly
   10000 	hardcode_libdir_flag_spec='-rpath $libdir'
   10001       fi
   10002       archive_cmds_need_lc='no'
   10003       hardcode_libdir_separator=:
   10004       ;;
   10005 
   10006     solaris*)
   10007       no_undefined_flag=' -z defs'
   10008       if test "$GCC" = yes; then
   10009 	wlarc='${wl}'
   10010 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10011 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10012 	  $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'
   10013       else
   10014 	case `$CC -V 2>&1` in
   10015 	*"Compilers 5.0"*)
   10016 	  wlarc=''
   10017 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10018 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10019 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10020 	  ;;
   10021 	*)
   10022 	  wlarc='${wl}'
   10023 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10024 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10025 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10026 	  ;;
   10027 	esac
   10028       fi
   10029       hardcode_libdir_flag_spec='-R$libdir'
   10030       hardcode_shlibpath_var=no
   10031       case $host_os in
   10032       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10033       *)
   10034 	# The compiler driver will combine and reorder linker options,
   10035 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10036 	# but is careful enough not to reorder.
   10037 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10038 	if test "$GCC" = yes; then
   10039 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10040 	else
   10041 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10042 	fi
   10043 	;;
   10044       esac
   10045       link_all_deplibs=yes
   10046       ;;
   10047 
   10048     sunos4*)
   10049       if test "x$host_vendor" = xsequent; then
   10050 	# Use $CC to link under sequent, because it throws in some extra .o
   10051 	# files that make .init and .fini sections work.
   10052 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10053       else
   10054 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10055       fi
   10056       hardcode_libdir_flag_spec='-L$libdir'
   10057       hardcode_direct=yes
   10058       hardcode_minus_L=yes
   10059       hardcode_shlibpath_var=no
   10060       ;;
   10061 
   10062     sysv4)
   10063       case $host_vendor in
   10064 	sni)
   10065 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10066 	  hardcode_direct=yes # is this really true???
   10067 	;;
   10068 	siemens)
   10069 	  ## LD is ld it makes a PLAMLIB
   10070 	  ## CC just makes a GrossModule.
   10071 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10072 	  reload_cmds='$CC -r -o $output$reload_objs'
   10073 	  hardcode_direct=no
   10074         ;;
   10075 	motorola)
   10076 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10077 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10078 	;;
   10079       esac
   10080       runpath_var='LD_RUN_PATH'
   10081       hardcode_shlibpath_var=no
   10082       ;;
   10083 
   10084     sysv4.3*)
   10085       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10086       hardcode_shlibpath_var=no
   10087       export_dynamic_flag_spec='-Bexport'
   10088       ;;
   10089 
   10090     sysv4*MP*)
   10091       if test -d /usr/nec; then
   10092 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10093 	hardcode_shlibpath_var=no
   10094 	runpath_var=LD_RUN_PATH
   10095 	hardcode_runpath_var=yes
   10096 	ld_shlibs=yes
   10097       fi
   10098       ;;
   10099 
   10100     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10101       no_undefined_flag='${wl}-z,text'
   10102       archive_cmds_need_lc=no
   10103       hardcode_shlibpath_var=no
   10104       runpath_var='LD_RUN_PATH'
   10105 
   10106       if test "$GCC" = yes; then
   10107 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10108 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10109       else
   10110 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10111 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10112       fi
   10113       ;;
   10114 
   10115     sysv5* | sco3.2v5* | sco5v6*)
   10116       # Note: We can NOT use -z defs as we might desire, because we do not
   10117       # link with -lc, and that would cause any symbols used from libc to
   10118       # always be unresolved, which means just about no library would
   10119       # ever link correctly.  If we're not using GNU ld we use -z text
   10120       # though, which does catch some bad symbols but isn't as heavy-handed
   10121       # as -z defs.
   10122       no_undefined_flag='${wl}-z,text'
   10123       allow_undefined_flag='${wl}-z,nodefs'
   10124       archive_cmds_need_lc=no
   10125       hardcode_shlibpath_var=no
   10126       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10127       hardcode_libdir_separator=':'
   10128       link_all_deplibs=yes
   10129       export_dynamic_flag_spec='${wl}-Bexport'
   10130       runpath_var='LD_RUN_PATH'
   10131 
   10132       if test "$GCC" = yes; then
   10133 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10134 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10135       else
   10136 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10137 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10138       fi
   10139       ;;
   10140 
   10141     uts4*)
   10142       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10143       hardcode_libdir_flag_spec='-L$libdir'
   10144       hardcode_shlibpath_var=no
   10145       ;;
   10146 
   10147     *)
   10148       ld_shlibs=no
   10149       ;;
   10150     esac
   10151 
   10152     if test x$host_vendor = xsni; then
   10153       case $host in
   10154       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10155 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10156 	;;
   10157       esac
   10158     fi
   10159   fi
   10160 
   10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10162 $as_echo "$ld_shlibs" >&6; }
   10163 test "$ld_shlibs" = no && can_build_shared=no
   10164 
   10165 with_gnu_ld=$with_gnu_ld
   10166 
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 #
   10182 # Do we need to explicitly link libc?
   10183 #
   10184 case "x$archive_cmds_need_lc" in
   10185 x|xyes)
   10186   # Assume -lc should be added
   10187   archive_cmds_need_lc=yes
   10188 
   10189   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10190     case $archive_cmds in
   10191     *'~'*)
   10192       # FIXME: we may have to deal with multi-command sequences.
   10193       ;;
   10194     '$CC '*)
   10195       # Test whether the compiler implicitly links with -lc since on some
   10196       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10197       # to ld, don't add -lc before -lgcc.
   10198       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10199 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10200 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10201   $as_echo_n "(cached) " >&6
   10202 else
   10203   $RM conftest*
   10204 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10205 
   10206 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10207   (eval $ac_compile) 2>&5
   10208   ac_status=$?
   10209   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10210   test $ac_status = 0; } 2>conftest.err; then
   10211 	  soname=conftest
   10212 	  lib=conftest
   10213 	  libobjs=conftest.$ac_objext
   10214 	  deplibs=
   10215 	  wl=$lt_prog_compiler_wl
   10216 	  pic_flag=$lt_prog_compiler_pic
   10217 	  compiler_flags=-v
   10218 	  linker_flags=-v
   10219 	  verstring=
   10220 	  output_objdir=.
   10221 	  libname=conftest
   10222 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10223 	  allow_undefined_flag=
   10224 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10225   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10226   ac_status=$?
   10227   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10228   test $ac_status = 0; }
   10229 	  then
   10230 	    lt_cv_archive_cmds_need_lc=no
   10231 	  else
   10232 	    lt_cv_archive_cmds_need_lc=yes
   10233 	  fi
   10234 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10235 	else
   10236 	  cat conftest.err 1>&5
   10237 	fi
   10238 	$RM conftest*
   10239 
   10240 fi
   10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10242 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10243       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10244       ;;
   10245     esac
   10246   fi
   10247   ;;
   10248 esac
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10403 
   10404 if test "$GCC" = yes; then
   10405   case $host_os in
   10406     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10407     *) lt_awk_arg="/^libraries:/" ;;
   10408   esac
   10409   case $host_os in
   10410     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10411     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10412   esac
   10413   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10414   case $lt_search_path_spec in
   10415   *\;*)
   10416     # if the path contains ";" then we assume it to be the separator
   10417     # otherwise default to the standard path separator (i.e. ":") - it is
   10418     # assumed that no part of a normal pathname contains ";" but that should
   10419     # okay in the real world where ";" in dirpaths is itself problematic.
   10420     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10421     ;;
   10422   *)
   10423     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10424     ;;
   10425   esac
   10426   # Ok, now we have the path, separated by spaces, we can step through it
   10427   # and add multilib dir if necessary.
   10428   lt_tmp_lt_search_path_spec=
   10429   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10430   for lt_sys_path in $lt_search_path_spec; do
   10431     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10432       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10433     else
   10434       test -d "$lt_sys_path" && \
   10435 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10436     fi
   10437   done
   10438   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10439 BEGIN {RS=" "; FS="/|\n";} {
   10440   lt_foo="";
   10441   lt_count=0;
   10442   for (lt_i = NF; lt_i > 0; lt_i--) {
   10443     if ($lt_i != "" && $lt_i != ".") {
   10444       if ($lt_i == "..") {
   10445         lt_count++;
   10446       } else {
   10447         if (lt_count == 0) {
   10448           lt_foo="/" $lt_i lt_foo;
   10449         } else {
   10450           lt_count--;
   10451         }
   10452       }
   10453     }
   10454   }
   10455   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10456   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10457 }'`
   10458   # AWK program above erroneously prepends '/' to C:/dos/paths
   10459   # for these hosts.
   10460   case $host_os in
   10461     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10462       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10463   esac
   10464   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10465 else
   10466   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10467 fi
   10468 library_names_spec=
   10469 libname_spec='lib$name'
   10470 soname_spec=
   10471 shrext_cmds=".so"
   10472 postinstall_cmds=
   10473 postuninstall_cmds=
   10474 finish_cmds=
   10475 finish_eval=
   10476 shlibpath_var=
   10477 shlibpath_overrides_runpath=unknown
   10478 version_type=none
   10479 dynamic_linker="$host_os ld.so"
   10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10481 need_lib_prefix=unknown
   10482 hardcode_into_libs=no
   10483 
   10484 # when you set need_version to no, make sure it does not cause -set_version
   10485 # flags to be left without arguments
   10486 need_version=unknown
   10487 
   10488 case $host_os in
   10489 aix3*)
   10490   version_type=linux # correct to gnu/linux during the next big refactor
   10491   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10492   shlibpath_var=LIBPATH
   10493 
   10494   # AIX 3 has no versioning support, so we append a major version to the name.
   10495   soname_spec='${libname}${release}${shared_ext}$major'
   10496   ;;
   10497 
   10498 aix[4-9]*)
   10499   version_type=linux # correct to gnu/linux during the next big refactor
   10500   need_lib_prefix=no
   10501   need_version=no
   10502   hardcode_into_libs=yes
   10503   if test "$host_cpu" = ia64; then
   10504     # AIX 5 supports IA64
   10505     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10506     shlibpath_var=LD_LIBRARY_PATH
   10507   else
   10508     # With GCC up to 2.95.x, collect2 would create an import file
   10509     # for dependence libraries.  The import file would start with
   10510     # the line `#! .'.  This would cause the generated library to
   10511     # depend on `.', always an invalid library.  This was fixed in
   10512     # development snapshots of GCC prior to 3.0.
   10513     case $host_os in
   10514       aix4 | aix4.[01] | aix4.[01].*)
   10515       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10516 	   echo ' yes '
   10517 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10518 	:
   10519       else
   10520 	can_build_shared=no
   10521       fi
   10522       ;;
   10523     esac
   10524     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10525     # soname into executable. Probably we can add versioning support to
   10526     # collect2, so additional links can be useful in future.
   10527     if test "$aix_use_runtimelinking" = yes; then
   10528       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10529       # instead of lib<name>.a to let people know that these are not
   10530       # typical AIX shared libraries.
   10531       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10532     else
   10533       # We preserve .a as extension for shared libraries through AIX4.2
   10534       # and later when we are not doing run time linking.
   10535       library_names_spec='${libname}${release}.a $libname.a'
   10536       soname_spec='${libname}${release}${shared_ext}$major'
   10537     fi
   10538     shlibpath_var=LIBPATH
   10539   fi
   10540   ;;
   10541 
   10542 amigaos*)
   10543   case $host_cpu in
   10544   powerpc)
   10545     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10546     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10547     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10548     ;;
   10549   m68k)
   10550     library_names_spec='$libname.ixlibrary $libname.a'
   10551     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10552     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'
   10553     ;;
   10554   esac
   10555   ;;
   10556 
   10557 beos*)
   10558   library_names_spec='${libname}${shared_ext}'
   10559   dynamic_linker="$host_os ld.so"
   10560   shlibpath_var=LIBRARY_PATH
   10561   ;;
   10562 
   10563 bsdi[45]*)
   10564   version_type=linux # correct to gnu/linux during the next big refactor
   10565   need_version=no
   10566   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10567   soname_spec='${libname}${release}${shared_ext}$major'
   10568   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10569   shlibpath_var=LD_LIBRARY_PATH
   10570   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10571   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10572   # the default ld.so.conf also contains /usr/contrib/lib and
   10573   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10574   # libtool to hard-code these into programs
   10575   ;;
   10576 
   10577 cygwin* | mingw* | pw32* | cegcc*)
   10578   version_type=windows
   10579   shrext_cmds=".dll"
   10580   need_version=no
   10581   need_lib_prefix=no
   10582 
   10583   case $GCC,$cc_basename in
   10584   yes,*)
   10585     # gcc
   10586     library_names_spec='$libname.dll.a'
   10587     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10588     postinstall_cmds='base_file=`basename \${file}`~
   10589       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10590       dldir=$destdir/`dirname \$dlpath`~
   10591       test -d \$dldir || mkdir -p \$dldir~
   10592       $install_prog $dir/$dlname \$dldir/$dlname~
   10593       chmod a+x \$dldir/$dlname~
   10594       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10595         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10596       fi'
   10597     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10598       dlpath=$dir/\$dldll~
   10599        $RM \$dlpath'
   10600     shlibpath_overrides_runpath=yes
   10601 
   10602     case $host_os in
   10603     cygwin*)
   10604       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10605       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10606 
   10607       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10608       ;;
   10609     mingw* | cegcc*)
   10610       # MinGW DLLs use traditional 'lib' prefix
   10611       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10612       ;;
   10613     pw32*)
   10614       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10615       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10616       ;;
   10617     esac
   10618     dynamic_linker='Win32 ld.exe'
   10619     ;;
   10620 
   10621   *,cl*)
   10622     # Native MSVC
   10623     libname_spec='$name'
   10624     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10625     library_names_spec='${libname}.dll.lib'
   10626 
   10627     case $build_os in
   10628     mingw*)
   10629       sys_lib_search_path_spec=
   10630       lt_save_ifs=$IFS
   10631       IFS=';'
   10632       for lt_path in $LIB
   10633       do
   10634         IFS=$lt_save_ifs
   10635         # Let DOS variable expansion print the short 8.3 style file name.
   10636         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10637         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10638       done
   10639       IFS=$lt_save_ifs
   10640       # Convert to MSYS style.
   10641       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10642       ;;
   10643     cygwin*)
   10644       # Convert to unix form, then to dos form, then back to unix form
   10645       # but this time dos style (no spaces!) so that the unix form looks
   10646       # like /cygdrive/c/PROGRA~1:/cygdr...
   10647       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10648       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10649       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10650       ;;
   10651     *)
   10652       sys_lib_search_path_spec="$LIB"
   10653       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10654         # It is most probably a Windows format PATH.
   10655         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10656       else
   10657         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10658       fi
   10659       # FIXME: find the short name or the path components, as spaces are
   10660       # common. (e.g. "Program Files" -> "PROGRA~1")
   10661       ;;
   10662     esac
   10663 
   10664     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10665     postinstall_cmds='base_file=`basename \${file}`~
   10666       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10667       dldir=$destdir/`dirname \$dlpath`~
   10668       test -d \$dldir || mkdir -p \$dldir~
   10669       $install_prog $dir/$dlname \$dldir/$dlname'
   10670     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10671       dlpath=$dir/\$dldll~
   10672        $RM \$dlpath'
   10673     shlibpath_overrides_runpath=yes
   10674     dynamic_linker='Win32 link.exe'
   10675     ;;
   10676 
   10677   *)
   10678     # Assume MSVC wrapper
   10679     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10680     dynamic_linker='Win32 ld.exe'
   10681     ;;
   10682   esac
   10683   # FIXME: first we should search . and the directory the executable is in
   10684   shlibpath_var=PATH
   10685   ;;
   10686 
   10687 darwin* | rhapsody*)
   10688   dynamic_linker="$host_os dyld"
   10689   version_type=darwin
   10690   need_lib_prefix=no
   10691   need_version=no
   10692   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10693   soname_spec='${libname}${release}${major}$shared_ext'
   10694   shlibpath_overrides_runpath=yes
   10695   shlibpath_var=DYLD_LIBRARY_PATH
   10696   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10697 
   10698   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10699   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10700   ;;
   10701 
   10702 dgux*)
   10703   version_type=linux # correct to gnu/linux during the next big refactor
   10704   need_lib_prefix=no
   10705   need_version=no
   10706   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10707   soname_spec='${libname}${release}${shared_ext}$major'
   10708   shlibpath_var=LD_LIBRARY_PATH
   10709   ;;
   10710 
   10711 freebsd* | dragonfly*)
   10712   # DragonFly does not have aout.  When/if they implement a new
   10713   # versioning mechanism, adjust this.
   10714   if test -x /usr/bin/objformat; then
   10715     objformat=`/usr/bin/objformat`
   10716   else
   10717     case $host_os in
   10718     freebsd[23].*) objformat=aout ;;
   10719     *) objformat=elf ;;
   10720     esac
   10721   fi
   10722   version_type=freebsd-$objformat
   10723   case $version_type in
   10724     freebsd-elf*)
   10725       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10726       need_version=no
   10727       need_lib_prefix=no
   10728       ;;
   10729     freebsd-*)
   10730       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10731       need_version=yes
   10732       ;;
   10733   esac
   10734   shlibpath_var=LD_LIBRARY_PATH
   10735   case $host_os in
   10736   freebsd2.*)
   10737     shlibpath_overrides_runpath=yes
   10738     ;;
   10739   freebsd3.[01]* | freebsdelf3.[01]*)
   10740     shlibpath_overrides_runpath=yes
   10741     hardcode_into_libs=yes
   10742     ;;
   10743   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10744   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10745     shlibpath_overrides_runpath=no
   10746     hardcode_into_libs=yes
   10747     ;;
   10748   *) # from 4.6 on, and DragonFly
   10749     shlibpath_overrides_runpath=yes
   10750     hardcode_into_libs=yes
   10751     ;;
   10752   esac
   10753   ;;
   10754 
   10755 haiku*)
   10756   version_type=linux # correct to gnu/linux during the next big refactor
   10757   need_lib_prefix=no
   10758   need_version=no
   10759   dynamic_linker="$host_os runtime_loader"
   10760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10761   soname_spec='${libname}${release}${shared_ext}$major'
   10762   shlibpath_var=LIBRARY_PATH
   10763   shlibpath_overrides_runpath=yes
   10764   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10765   hardcode_into_libs=yes
   10766   ;;
   10767 
   10768 hpux9* | hpux10* | hpux11*)
   10769   # Give a soname corresponding to the major version so that dld.sl refuses to
   10770   # link against other versions.
   10771   version_type=sunos
   10772   need_lib_prefix=no
   10773   need_version=no
   10774   case $host_cpu in
   10775   ia64*)
   10776     shrext_cmds='.so'
   10777     hardcode_into_libs=yes
   10778     dynamic_linker="$host_os dld.so"
   10779     shlibpath_var=LD_LIBRARY_PATH
   10780     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10781     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10782     soname_spec='${libname}${release}${shared_ext}$major'
   10783     if test "X$HPUX_IA64_MODE" = X32; then
   10784       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10785     else
   10786       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10787     fi
   10788     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10789     ;;
   10790   hppa*64*)
   10791     shrext_cmds='.sl'
   10792     hardcode_into_libs=yes
   10793     dynamic_linker="$host_os dld.sl"
   10794     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10795     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10796     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10797     soname_spec='${libname}${release}${shared_ext}$major'
   10798     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10799     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10800     ;;
   10801   *)
   10802     shrext_cmds='.sl'
   10803     dynamic_linker="$host_os dld.sl"
   10804     shlibpath_var=SHLIB_PATH
   10805     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10806     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10807     soname_spec='${libname}${release}${shared_ext}$major'
   10808     ;;
   10809   esac
   10810   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10811   postinstall_cmds='chmod 555 $lib'
   10812   # or fails outright, so override atomically:
   10813   install_override_mode=555
   10814   ;;
   10815 
   10816 interix[3-9]*)
   10817   version_type=linux # correct to gnu/linux during the next big refactor
   10818   need_lib_prefix=no
   10819   need_version=no
   10820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10821   soname_spec='${libname}${release}${shared_ext}$major'
   10822   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10823   shlibpath_var=LD_LIBRARY_PATH
   10824   shlibpath_overrides_runpath=no
   10825   hardcode_into_libs=yes
   10826   ;;
   10827 
   10828 irix5* | irix6* | nonstopux*)
   10829   case $host_os in
   10830     nonstopux*) version_type=nonstopux ;;
   10831     *)
   10832 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10833 		version_type=linux # correct to gnu/linux during the next big refactor
   10834 	else
   10835 		version_type=irix
   10836 	fi ;;
   10837   esac
   10838   need_lib_prefix=no
   10839   need_version=no
   10840   soname_spec='${libname}${release}${shared_ext}$major'
   10841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10842   case $host_os in
   10843   irix5* | nonstopux*)
   10844     libsuff= shlibsuff=
   10845     ;;
   10846   *)
   10847     case $LD in # libtool.m4 will add one of these switches to LD
   10848     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10849       libsuff= shlibsuff= libmagic=32-bit;;
   10850     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10851       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10852     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10853       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10854     *) libsuff= shlibsuff= libmagic=never-match;;
   10855     esac
   10856     ;;
   10857   esac
   10858   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10859   shlibpath_overrides_runpath=no
   10860   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10861   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10862   hardcode_into_libs=yes
   10863   ;;
   10864 
   10865 # No shared lib support for Linux oldld, aout, or coff.
   10866 linux*oldld* | linux*aout* | linux*coff*)
   10867   dynamic_linker=no
   10868   ;;
   10869 
   10870 # This must be glibc/ELF.
   10871 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10872   version_type=linux # correct to gnu/linux during the next big refactor
   10873   need_lib_prefix=no
   10874   need_version=no
   10875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10876   soname_spec='${libname}${release}${shared_ext}$major'
   10877   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10878   shlibpath_var=LD_LIBRARY_PATH
   10879   shlibpath_overrides_runpath=no
   10880 
   10881   # Some binutils ld are patched to set DT_RUNPATH
   10882   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10883   $as_echo_n "(cached) " >&6
   10884 else
   10885   lt_cv_shlibpath_overrides_runpath=no
   10886     save_LDFLAGS=$LDFLAGS
   10887     save_libdir=$libdir
   10888     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10889 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10890     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10891 /* end confdefs.h.  */
   10892 
   10893 int
   10894 main ()
   10895 {
   10896 
   10897   ;
   10898   return 0;
   10899 }
   10900 _ACEOF
   10901 if ac_fn_c_try_link "$LINENO"; then :
   10902   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10903   lt_cv_shlibpath_overrides_runpath=yes
   10904 fi
   10905 fi
   10906 rm -f core conftest.err conftest.$ac_objext \
   10907     conftest$ac_exeext conftest.$ac_ext
   10908     LDFLAGS=$save_LDFLAGS
   10909     libdir=$save_libdir
   10910 
   10911 fi
   10912 
   10913   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10914 
   10915   # This implies no fast_install, which is unacceptable.
   10916   # Some rework will be needed to allow for fast_install
   10917   # before this can be enabled.
   10918   hardcode_into_libs=yes
   10919 
   10920   # Append ld.so.conf contents to the search path
   10921   if test -f /etc/ld.so.conf; then
   10922     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' ' '`
   10923     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10924   fi
   10925 
   10926   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10927   # powerpc, because MkLinux only supported shared libraries with the
   10928   # GNU dynamic linker.  Since this was broken with cross compilers,
   10929   # most powerpc-linux boxes support dynamic linking these days and
   10930   # people can always --disable-shared, the test was removed, and we
   10931   # assume the GNU/Linux dynamic linker is in use.
   10932   dynamic_linker='GNU/Linux ld.so'
   10933   ;;
   10934 
   10935 netbsdelf*-gnu)
   10936   version_type=linux
   10937   need_lib_prefix=no
   10938   need_version=no
   10939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10940   soname_spec='${libname}${release}${shared_ext}$major'
   10941   shlibpath_var=LD_LIBRARY_PATH
   10942   shlibpath_overrides_runpath=no
   10943   hardcode_into_libs=yes
   10944   dynamic_linker='NetBSD ld.elf_so'
   10945   ;;
   10946 
   10947 netbsd*)
   10948   version_type=sunos
   10949   need_lib_prefix=no
   10950   need_version=no
   10951   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10952     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10953     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10954     dynamic_linker='NetBSD (a.out) ld.so'
   10955   else
   10956     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10957     soname_spec='${libname}${release}${shared_ext}$major'
   10958     dynamic_linker='NetBSD ld.elf_so'
   10959   fi
   10960   shlibpath_var=LD_LIBRARY_PATH
   10961   shlibpath_overrides_runpath=yes
   10962   hardcode_into_libs=yes
   10963   ;;
   10964 
   10965 newsos6)
   10966   version_type=linux # correct to gnu/linux during the next big refactor
   10967   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10968   shlibpath_var=LD_LIBRARY_PATH
   10969   shlibpath_overrides_runpath=yes
   10970   ;;
   10971 
   10972 *nto* | *qnx*)
   10973   version_type=qnx
   10974   need_lib_prefix=no
   10975   need_version=no
   10976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10977   soname_spec='${libname}${release}${shared_ext}$major'
   10978   shlibpath_var=LD_LIBRARY_PATH
   10979   shlibpath_overrides_runpath=no
   10980   hardcode_into_libs=yes
   10981   dynamic_linker='ldqnx.so'
   10982   ;;
   10983 
   10984 openbsd*)
   10985   version_type=sunos
   10986   sys_lib_dlsearch_path_spec="/usr/lib"
   10987   need_lib_prefix=no
   10988   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10989   case $host_os in
   10990     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10991     *)				need_version=no  ;;
   10992   esac
   10993   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10994   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10995   shlibpath_var=LD_LIBRARY_PATH
   10996   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10997     case $host_os in
   10998       openbsd2.[89] | openbsd2.[89].*)
   10999 	shlibpath_overrides_runpath=no
   11000 	;;
   11001       *)
   11002 	shlibpath_overrides_runpath=yes
   11003 	;;
   11004       esac
   11005   else
   11006     shlibpath_overrides_runpath=yes
   11007   fi
   11008   ;;
   11009 
   11010 os2*)
   11011   libname_spec='$name'
   11012   shrext_cmds=".dll"
   11013   need_lib_prefix=no
   11014   library_names_spec='$libname${shared_ext} $libname.a'
   11015   dynamic_linker='OS/2 ld.exe'
   11016   shlibpath_var=LIBPATH
   11017   ;;
   11018 
   11019 osf3* | osf4* | osf5*)
   11020   version_type=osf
   11021   need_lib_prefix=no
   11022   need_version=no
   11023   soname_spec='${libname}${release}${shared_ext}$major'
   11024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11025   shlibpath_var=LD_LIBRARY_PATH
   11026   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11027   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11028   ;;
   11029 
   11030 rdos*)
   11031   dynamic_linker=no
   11032   ;;
   11033 
   11034 solaris*)
   11035   version_type=linux # correct to gnu/linux during the next big refactor
   11036   need_lib_prefix=no
   11037   need_version=no
   11038   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11039   soname_spec='${libname}${release}${shared_ext}$major'
   11040   shlibpath_var=LD_LIBRARY_PATH
   11041   shlibpath_overrides_runpath=yes
   11042   hardcode_into_libs=yes
   11043   # ldd complains unless libraries are executable
   11044   postinstall_cmds='chmod +x $lib'
   11045   ;;
   11046 
   11047 sunos4*)
   11048   version_type=sunos
   11049   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11050   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11051   shlibpath_var=LD_LIBRARY_PATH
   11052   shlibpath_overrides_runpath=yes
   11053   if test "$with_gnu_ld" = yes; then
   11054     need_lib_prefix=no
   11055   fi
   11056   need_version=yes
   11057   ;;
   11058 
   11059 sysv4 | sysv4.3*)
   11060   version_type=linux # correct to gnu/linux during the next big refactor
   11061   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11062   soname_spec='${libname}${release}${shared_ext}$major'
   11063   shlibpath_var=LD_LIBRARY_PATH
   11064   case $host_vendor in
   11065     sni)
   11066       shlibpath_overrides_runpath=no
   11067       need_lib_prefix=no
   11068       runpath_var=LD_RUN_PATH
   11069       ;;
   11070     siemens)
   11071       need_lib_prefix=no
   11072       ;;
   11073     motorola)
   11074       need_lib_prefix=no
   11075       need_version=no
   11076       shlibpath_overrides_runpath=no
   11077       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11078       ;;
   11079   esac
   11080   ;;
   11081 
   11082 sysv4*MP*)
   11083   if test -d /usr/nec ;then
   11084     version_type=linux # correct to gnu/linux during the next big refactor
   11085     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11086     soname_spec='$libname${shared_ext}.$major'
   11087     shlibpath_var=LD_LIBRARY_PATH
   11088   fi
   11089   ;;
   11090 
   11091 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11092   version_type=freebsd-elf
   11093   need_lib_prefix=no
   11094   need_version=no
   11095   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11096   soname_spec='${libname}${release}${shared_ext}$major'
   11097   shlibpath_var=LD_LIBRARY_PATH
   11098   shlibpath_overrides_runpath=yes
   11099   hardcode_into_libs=yes
   11100   if test "$with_gnu_ld" = yes; then
   11101     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11102   else
   11103     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11104     case $host_os in
   11105       sco3.2v5*)
   11106         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11107 	;;
   11108     esac
   11109   fi
   11110   sys_lib_dlsearch_path_spec='/usr/lib'
   11111   ;;
   11112 
   11113 tpf*)
   11114   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11115   version_type=linux # correct to gnu/linux during the next big refactor
   11116   need_lib_prefix=no
   11117   need_version=no
   11118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11119   shlibpath_var=LD_LIBRARY_PATH
   11120   shlibpath_overrides_runpath=no
   11121   hardcode_into_libs=yes
   11122   ;;
   11123 
   11124 uts4*)
   11125   version_type=linux # correct to gnu/linux during the next big refactor
   11126   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11127   soname_spec='${libname}${release}${shared_ext}$major'
   11128   shlibpath_var=LD_LIBRARY_PATH
   11129   ;;
   11130 
   11131 *)
   11132   dynamic_linker=no
   11133   ;;
   11134 esac
   11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11136 $as_echo "$dynamic_linker" >&6; }
   11137 test "$dynamic_linker" = no && can_build_shared=no
   11138 
   11139 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11140 if test "$GCC" = yes; then
   11141   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11142 fi
   11143 
   11144 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11145   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11146 fi
   11147 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11148   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11149 fi
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11243 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11244 hardcode_action=
   11245 if test -n "$hardcode_libdir_flag_spec" ||
   11246    test -n "$runpath_var" ||
   11247    test "X$hardcode_automatic" = "Xyes" ; then
   11248 
   11249   # We can hardcode non-existent directories.
   11250   if test "$hardcode_direct" != no &&
   11251      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11252      # have to relink, otherwise we might link with an installed library
   11253      # when we should be linking with a yet-to-be-installed one
   11254      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11255      test "$hardcode_minus_L" != no; then
   11256     # Linking always hardcodes the temporary library directory.
   11257     hardcode_action=relink
   11258   else
   11259     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11260     hardcode_action=immediate
   11261   fi
   11262 else
   11263   # We cannot hardcode anything, or else we can only hardcode existing
   11264   # directories.
   11265   hardcode_action=unsupported
   11266 fi
   11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11268 $as_echo "$hardcode_action" >&6; }
   11269 
   11270 if test "$hardcode_action" = relink ||
   11271    test "$inherit_rpath" = yes; then
   11272   # Fast installation is not supported
   11273   enable_fast_install=no
   11274 elif test "$shlibpath_overrides_runpath" = yes ||
   11275      test "$enable_shared" = no; then
   11276   # Fast installation is not necessary
   11277   enable_fast_install=needless
   11278 fi
   11279 
   11280 
   11281 
   11282 
   11283 
   11284 
   11285   if test "x$enable_dlopen" != xyes; then
   11286   enable_dlopen=unknown
   11287   enable_dlopen_self=unknown
   11288   enable_dlopen_self_static=unknown
   11289 else
   11290   lt_cv_dlopen=no
   11291   lt_cv_dlopen_libs=
   11292 
   11293   case $host_os in
   11294   beos*)
   11295     lt_cv_dlopen="load_add_on"
   11296     lt_cv_dlopen_libs=
   11297     lt_cv_dlopen_self=yes
   11298     ;;
   11299 
   11300   mingw* | pw32* | cegcc*)
   11301     lt_cv_dlopen="LoadLibrary"
   11302     lt_cv_dlopen_libs=
   11303     ;;
   11304 
   11305   cygwin*)
   11306     lt_cv_dlopen="dlopen"
   11307     lt_cv_dlopen_libs=
   11308     ;;
   11309 
   11310   darwin*)
   11311   # if libdl is installed we need to link against it
   11312     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11313 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11314 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11315   $as_echo_n "(cached) " >&6
   11316 else
   11317   ac_check_lib_save_LIBS=$LIBS
   11318 LIBS="-ldl  $LIBS"
   11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11320 /* end confdefs.h.  */
   11321 
   11322 /* Override any GCC internal prototype to avoid an error.
   11323    Use char because int might match the return type of a GCC
   11324    builtin and then its argument prototype would still apply.  */
   11325 #ifdef __cplusplus
   11326 extern "C"
   11327 #endif
   11328 char dlopen ();
   11329 int
   11330 main ()
   11331 {
   11332 return dlopen ();
   11333   ;
   11334   return 0;
   11335 }
   11336 _ACEOF
   11337 if ac_fn_c_try_link "$LINENO"; then :
   11338   ac_cv_lib_dl_dlopen=yes
   11339 else
   11340   ac_cv_lib_dl_dlopen=no
   11341 fi
   11342 rm -f core conftest.err conftest.$ac_objext \
   11343     conftest$ac_exeext conftest.$ac_ext
   11344 LIBS=$ac_check_lib_save_LIBS
   11345 fi
   11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11347 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11348 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11349   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11350 else
   11351 
   11352     lt_cv_dlopen="dyld"
   11353     lt_cv_dlopen_libs=
   11354     lt_cv_dlopen_self=yes
   11355 
   11356 fi
   11357 
   11358     ;;
   11359 
   11360   *)
   11361     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11362 if test "x$ac_cv_func_shl_load" = xyes; then :
   11363   lt_cv_dlopen="shl_load"
   11364 else
   11365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11366 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11367 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11368   $as_echo_n "(cached) " >&6
   11369 else
   11370   ac_check_lib_save_LIBS=$LIBS
   11371 LIBS="-ldld  $LIBS"
   11372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11373 /* end confdefs.h.  */
   11374 
   11375 /* Override any GCC internal prototype to avoid an error.
   11376    Use char because int might match the return type of a GCC
   11377    builtin and then its argument prototype would still apply.  */
   11378 #ifdef __cplusplus
   11379 extern "C"
   11380 #endif
   11381 char shl_load ();
   11382 int
   11383 main ()
   11384 {
   11385 return shl_load ();
   11386   ;
   11387   return 0;
   11388 }
   11389 _ACEOF
   11390 if ac_fn_c_try_link "$LINENO"; then :
   11391   ac_cv_lib_dld_shl_load=yes
   11392 else
   11393   ac_cv_lib_dld_shl_load=no
   11394 fi
   11395 rm -f core conftest.err conftest.$ac_objext \
   11396     conftest$ac_exeext conftest.$ac_ext
   11397 LIBS=$ac_check_lib_save_LIBS
   11398 fi
   11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11400 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11401 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11402   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11403 else
   11404   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11405 if test "x$ac_cv_func_dlopen" = xyes; then :
   11406   lt_cv_dlopen="dlopen"
   11407 else
   11408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11409 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11410 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11411   $as_echo_n "(cached) " >&6
   11412 else
   11413   ac_check_lib_save_LIBS=$LIBS
   11414 LIBS="-ldl  $LIBS"
   11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11416 /* end confdefs.h.  */
   11417 
   11418 /* Override any GCC internal prototype to avoid an error.
   11419    Use char because int might match the return type of a GCC
   11420    builtin and then its argument prototype would still apply.  */
   11421 #ifdef __cplusplus
   11422 extern "C"
   11423 #endif
   11424 char dlopen ();
   11425 int
   11426 main ()
   11427 {
   11428 return dlopen ();
   11429   ;
   11430   return 0;
   11431 }
   11432 _ACEOF
   11433 if ac_fn_c_try_link "$LINENO"; then :
   11434   ac_cv_lib_dl_dlopen=yes
   11435 else
   11436   ac_cv_lib_dl_dlopen=no
   11437 fi
   11438 rm -f core conftest.err conftest.$ac_objext \
   11439     conftest$ac_exeext conftest.$ac_ext
   11440 LIBS=$ac_check_lib_save_LIBS
   11441 fi
   11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11443 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11444 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11445   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11446 else
   11447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11448 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11449 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11450   $as_echo_n "(cached) " >&6
   11451 else
   11452   ac_check_lib_save_LIBS=$LIBS
   11453 LIBS="-lsvld  $LIBS"
   11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11455 /* end confdefs.h.  */
   11456 
   11457 /* Override any GCC internal prototype to avoid an error.
   11458    Use char because int might match the return type of a GCC
   11459    builtin and then its argument prototype would still apply.  */
   11460 #ifdef __cplusplus
   11461 extern "C"
   11462 #endif
   11463 char dlopen ();
   11464 int
   11465 main ()
   11466 {
   11467 return dlopen ();
   11468   ;
   11469   return 0;
   11470 }
   11471 _ACEOF
   11472 if ac_fn_c_try_link "$LINENO"; then :
   11473   ac_cv_lib_svld_dlopen=yes
   11474 else
   11475   ac_cv_lib_svld_dlopen=no
   11476 fi
   11477 rm -f core conftest.err conftest.$ac_objext \
   11478     conftest$ac_exeext conftest.$ac_ext
   11479 LIBS=$ac_check_lib_save_LIBS
   11480 fi
   11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11482 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11483 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11484   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11485 else
   11486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11487 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11488 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11489   $as_echo_n "(cached) " >&6
   11490 else
   11491   ac_check_lib_save_LIBS=$LIBS
   11492 LIBS="-ldld  $LIBS"
   11493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11494 /* end confdefs.h.  */
   11495 
   11496 /* Override any GCC internal prototype to avoid an error.
   11497    Use char because int might match the return type of a GCC
   11498    builtin and then its argument prototype would still apply.  */
   11499 #ifdef __cplusplus
   11500 extern "C"
   11501 #endif
   11502 char dld_link ();
   11503 int
   11504 main ()
   11505 {
   11506 return dld_link ();
   11507   ;
   11508   return 0;
   11509 }
   11510 _ACEOF
   11511 if ac_fn_c_try_link "$LINENO"; then :
   11512   ac_cv_lib_dld_dld_link=yes
   11513 else
   11514   ac_cv_lib_dld_dld_link=no
   11515 fi
   11516 rm -f core conftest.err conftest.$ac_objext \
   11517     conftest$ac_exeext conftest.$ac_ext
   11518 LIBS=$ac_check_lib_save_LIBS
   11519 fi
   11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11521 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11522 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11523   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11524 fi
   11525 
   11526 
   11527 fi
   11528 
   11529 
   11530 fi
   11531 
   11532 
   11533 fi
   11534 
   11535 
   11536 fi
   11537 
   11538 
   11539 fi
   11540 
   11541     ;;
   11542   esac
   11543 
   11544   if test "x$lt_cv_dlopen" != xno; then
   11545     enable_dlopen=yes
   11546   else
   11547     enable_dlopen=no
   11548   fi
   11549 
   11550   case $lt_cv_dlopen in
   11551   dlopen)
   11552     save_CPPFLAGS="$CPPFLAGS"
   11553     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11554 
   11555     save_LDFLAGS="$LDFLAGS"
   11556     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11557 
   11558     save_LIBS="$LIBS"
   11559     LIBS="$lt_cv_dlopen_libs $LIBS"
   11560 
   11561     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11562 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11563 if ${lt_cv_dlopen_self+:} false; then :
   11564   $as_echo_n "(cached) " >&6
   11565 else
   11566   	  if test "$cross_compiling" = yes; then :
   11567   lt_cv_dlopen_self=cross
   11568 else
   11569   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11570   lt_status=$lt_dlunknown
   11571   cat > conftest.$ac_ext <<_LT_EOF
   11572 #line $LINENO "configure"
   11573 #include "confdefs.h"
   11574 
   11575 #if HAVE_DLFCN_H
   11576 #include <dlfcn.h>
   11577 #endif
   11578 
   11579 #include <stdio.h>
   11580 
   11581 #ifdef RTLD_GLOBAL
   11582 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11583 #else
   11584 #  ifdef DL_GLOBAL
   11585 #    define LT_DLGLOBAL		DL_GLOBAL
   11586 #  else
   11587 #    define LT_DLGLOBAL		0
   11588 #  endif
   11589 #endif
   11590 
   11591 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11592    find out it does not work in some platform. */
   11593 #ifndef LT_DLLAZY_OR_NOW
   11594 #  ifdef RTLD_LAZY
   11595 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11596 #  else
   11597 #    ifdef DL_LAZY
   11598 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11599 #    else
   11600 #      ifdef RTLD_NOW
   11601 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11602 #      else
   11603 #        ifdef DL_NOW
   11604 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11605 #        else
   11606 #          define LT_DLLAZY_OR_NOW	0
   11607 #        endif
   11608 #      endif
   11609 #    endif
   11610 #  endif
   11611 #endif
   11612 
   11613 /* When -fvisbility=hidden is used, assume the code has been annotated
   11614    correspondingly for the symbols needed.  */
   11615 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11616 int fnord () __attribute__((visibility("default")));
   11617 #endif
   11618 
   11619 int fnord () { return 42; }
   11620 int main ()
   11621 {
   11622   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11623   int status = $lt_dlunknown;
   11624 
   11625   if (self)
   11626     {
   11627       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11628       else
   11629         {
   11630 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11631           else puts (dlerror ());
   11632 	}
   11633       /* dlclose (self); */
   11634     }
   11635   else
   11636     puts (dlerror ());
   11637 
   11638   return status;
   11639 }
   11640 _LT_EOF
   11641   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11642   (eval $ac_link) 2>&5
   11643   ac_status=$?
   11644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11645   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11646     (./conftest; exit; ) >&5 2>/dev/null
   11647     lt_status=$?
   11648     case x$lt_status in
   11649       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11650       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11651       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11652     esac
   11653   else :
   11654     # compilation failed
   11655     lt_cv_dlopen_self=no
   11656   fi
   11657 fi
   11658 rm -fr conftest*
   11659 
   11660 
   11661 fi
   11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11663 $as_echo "$lt_cv_dlopen_self" >&6; }
   11664 
   11665     if test "x$lt_cv_dlopen_self" = xyes; then
   11666       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11667       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11668 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11669 if ${lt_cv_dlopen_self_static+:} false; then :
   11670   $as_echo_n "(cached) " >&6
   11671 else
   11672   	  if test "$cross_compiling" = yes; then :
   11673   lt_cv_dlopen_self_static=cross
   11674 else
   11675   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11676   lt_status=$lt_dlunknown
   11677   cat > conftest.$ac_ext <<_LT_EOF
   11678 #line $LINENO "configure"
   11679 #include "confdefs.h"
   11680 
   11681 #if HAVE_DLFCN_H
   11682 #include <dlfcn.h>
   11683 #endif
   11684 
   11685 #include <stdio.h>
   11686 
   11687 #ifdef RTLD_GLOBAL
   11688 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11689 #else
   11690 #  ifdef DL_GLOBAL
   11691 #    define LT_DLGLOBAL		DL_GLOBAL
   11692 #  else
   11693 #    define LT_DLGLOBAL		0
   11694 #  endif
   11695 #endif
   11696 
   11697 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11698    find out it does not work in some platform. */
   11699 #ifndef LT_DLLAZY_OR_NOW
   11700 #  ifdef RTLD_LAZY
   11701 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11702 #  else
   11703 #    ifdef DL_LAZY
   11704 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11705 #    else
   11706 #      ifdef RTLD_NOW
   11707 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11708 #      else
   11709 #        ifdef DL_NOW
   11710 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11711 #        else
   11712 #          define LT_DLLAZY_OR_NOW	0
   11713 #        endif
   11714 #      endif
   11715 #    endif
   11716 #  endif
   11717 #endif
   11718 
   11719 /* When -fvisbility=hidden is used, assume the code has been annotated
   11720    correspondingly for the symbols needed.  */
   11721 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11722 int fnord () __attribute__((visibility("default")));
   11723 #endif
   11724 
   11725 int fnord () { return 42; }
   11726 int main ()
   11727 {
   11728   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11729   int status = $lt_dlunknown;
   11730 
   11731   if (self)
   11732     {
   11733       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11734       else
   11735         {
   11736 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11737           else puts (dlerror ());
   11738 	}
   11739       /* dlclose (self); */
   11740     }
   11741   else
   11742     puts (dlerror ());
   11743 
   11744   return status;
   11745 }
   11746 _LT_EOF
   11747   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11748   (eval $ac_link) 2>&5
   11749   ac_status=$?
   11750   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11751   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11752     (./conftest; exit; ) >&5 2>/dev/null
   11753     lt_status=$?
   11754     case x$lt_status in
   11755       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11756       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11757       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11758     esac
   11759   else :
   11760     # compilation failed
   11761     lt_cv_dlopen_self_static=no
   11762   fi
   11763 fi
   11764 rm -fr conftest*
   11765 
   11766 
   11767 fi
   11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11769 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11770     fi
   11771 
   11772     CPPFLAGS="$save_CPPFLAGS"
   11773     LDFLAGS="$save_LDFLAGS"
   11774     LIBS="$save_LIBS"
   11775     ;;
   11776   esac
   11777 
   11778   case $lt_cv_dlopen_self in
   11779   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11780   *) enable_dlopen_self=unknown ;;
   11781   esac
   11782 
   11783   case $lt_cv_dlopen_self_static in
   11784   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11785   *) enable_dlopen_self_static=unknown ;;
   11786   esac
   11787 fi
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 striplib=
   11806 old_striplib=
   11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11808 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11809 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11810   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11811   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11813 $as_echo "yes" >&6; }
   11814 else
   11815 # FIXME - insert some real tests, host_os isn't really good enough
   11816   case $host_os in
   11817   darwin*)
   11818     if test -n "$STRIP" ; then
   11819       striplib="$STRIP -x"
   11820       old_striplib="$STRIP -S"
   11821       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11822 $as_echo "yes" >&6; }
   11823     else
   11824       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11825 $as_echo "no" >&6; }
   11826     fi
   11827     ;;
   11828   *)
   11829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11830 $as_echo "no" >&6; }
   11831     ;;
   11832   esac
   11833 fi
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846   # Report which library types will actually be built
   11847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11848 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11850 $as_echo "$can_build_shared" >&6; }
   11851 
   11852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11853 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11854   test "$can_build_shared" = "no" && enable_shared=no
   11855 
   11856   # On AIX, shared libraries and static libraries use the same namespace, and
   11857   # are all built from PIC.
   11858   case $host_os in
   11859   aix3*)
   11860     test "$enable_shared" = yes && enable_static=no
   11861     if test -n "$RANLIB"; then
   11862       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11863       postinstall_cmds='$RANLIB $lib'
   11864     fi
   11865     ;;
   11866 
   11867   aix[4-9]*)
   11868     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11869       test "$enable_shared" = yes && enable_static=no
   11870     fi
   11871     ;;
   11872   esac
   11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11874 $as_echo "$enable_shared" >&6; }
   11875 
   11876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11877 $as_echo_n "checking whether to build static libraries... " >&6; }
   11878   # Make sure either enable_shared or enable_static is yes.
   11879   test "$enable_shared" = yes || enable_static=yes
   11880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11881 $as_echo "$enable_static" >&6; }
   11882 
   11883 
   11884 
   11885 
   11886 fi
   11887 ac_ext=cpp
   11888 ac_cpp='$CXXCPP $CPPFLAGS'
   11889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11892 
   11893 CC="$lt_save_CC"
   11894 
   11895       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11896     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11897     (test "X$CXX" != "Xg++"))) ; then
   11898   ac_ext=cpp
   11899 ac_cpp='$CXXCPP $CPPFLAGS'
   11900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   11904 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   11905 if test -z "$CXXCPP"; then
   11906   if ${ac_cv_prog_CXXCPP+:} false; then :
   11907   $as_echo_n "(cached) " >&6
   11908 else
   11909       # Double quotes because CXXCPP needs to be expanded
   11910     for CXXCPP in "$CXX -E" "/lib/cpp"
   11911     do
   11912       ac_preproc_ok=false
   11913 for ac_cxx_preproc_warn_flag in '' yes
   11914 do
   11915   # Use a header file that comes with gcc, so configuring glibc
   11916   # with a fresh cross-compiler works.
   11917   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11918   # <limits.h> exists even on freestanding compilers.
   11919   # On the NeXT, cc -E runs the code through the compiler's parser,
   11920   # not just through cpp. "Syntax error" is here to catch this case.
   11921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11922 /* end confdefs.h.  */
   11923 #ifdef __STDC__
   11924 # include <limits.h>
   11925 #else
   11926 # include <assert.h>
   11927 #endif
   11928 		     Syntax error
   11929 _ACEOF
   11930 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11931 
   11932 else
   11933   # Broken: fails on valid input.
   11934 continue
   11935 fi
   11936 rm -f conftest.err conftest.i conftest.$ac_ext
   11937 
   11938   # OK, works on sane cases.  Now check whether nonexistent headers
   11939   # can be detected and how.
   11940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11941 /* end confdefs.h.  */
   11942 #include <ac_nonexistent.h>
   11943 _ACEOF
   11944 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11945   # Broken: success on invalid input.
   11946 continue
   11947 else
   11948   # Passes both tests.
   11949 ac_preproc_ok=:
   11950 break
   11951 fi
   11952 rm -f conftest.err conftest.i conftest.$ac_ext
   11953 
   11954 done
   11955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11956 rm -f conftest.i conftest.err conftest.$ac_ext
   11957 if $ac_preproc_ok; then :
   11958   break
   11959 fi
   11960 
   11961     done
   11962     ac_cv_prog_CXXCPP=$CXXCPP
   11963 
   11964 fi
   11965   CXXCPP=$ac_cv_prog_CXXCPP
   11966 else
   11967   ac_cv_prog_CXXCPP=$CXXCPP
   11968 fi
   11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   11970 $as_echo "$CXXCPP" >&6; }
   11971 ac_preproc_ok=false
   11972 for ac_cxx_preproc_warn_flag in '' yes
   11973 do
   11974   # Use a header file that comes with gcc, so configuring glibc
   11975   # with a fresh cross-compiler works.
   11976   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11977   # <limits.h> exists even on freestanding compilers.
   11978   # On the NeXT, cc -E runs the code through the compiler's parser,
   11979   # not just through cpp. "Syntax error" is here to catch this case.
   11980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11981 /* end confdefs.h.  */
   11982 #ifdef __STDC__
   11983 # include <limits.h>
   11984 #else
   11985 # include <assert.h>
   11986 #endif
   11987 		     Syntax error
   11988 _ACEOF
   11989 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11990 
   11991 else
   11992   # Broken: fails on valid input.
   11993 continue
   11994 fi
   11995 rm -f conftest.err conftest.i conftest.$ac_ext
   11996 
   11997   # OK, works on sane cases.  Now check whether nonexistent headers
   11998   # can be detected and how.
   11999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12000 /* end confdefs.h.  */
   12001 #include <ac_nonexistent.h>
   12002 _ACEOF
   12003 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12004   # Broken: success on invalid input.
   12005 continue
   12006 else
   12007   # Passes both tests.
   12008 ac_preproc_ok=:
   12009 break
   12010 fi
   12011 rm -f conftest.err conftest.i conftest.$ac_ext
   12012 
   12013 done
   12014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12015 rm -f conftest.i conftest.err conftest.$ac_ext
   12016 if $ac_preproc_ok; then :
   12017 
   12018 else
   12019   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12021 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   12022 See \`config.log' for more details" "$LINENO" 5; }
   12023 fi
   12024 
   12025 ac_ext=cpp
   12026 ac_cpp='$CXXCPP $CPPFLAGS'
   12027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12030 
   12031 else
   12032   _lt_caught_CXX_error=yes
   12033 fi
   12034 
   12035 ac_ext=cpp
   12036 ac_cpp='$CXXCPP $CPPFLAGS'
   12037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12040 
   12041 archive_cmds_need_lc_CXX=no
   12042 allow_undefined_flag_CXX=
   12043 always_export_symbols_CXX=no
   12044 archive_expsym_cmds_CXX=
   12045 compiler_needs_object_CXX=no
   12046 export_dynamic_flag_spec_CXX=
   12047 hardcode_direct_CXX=no
   12048 hardcode_direct_absolute_CXX=no
   12049 hardcode_libdir_flag_spec_CXX=
   12050 hardcode_libdir_separator_CXX=
   12051 hardcode_minus_L_CXX=no
   12052 hardcode_shlibpath_var_CXX=unsupported
   12053 hardcode_automatic_CXX=no
   12054 inherit_rpath_CXX=no
   12055 module_cmds_CXX=
   12056 module_expsym_cmds_CXX=
   12057 link_all_deplibs_CXX=unknown
   12058 old_archive_cmds_CXX=$old_archive_cmds
   12059 reload_flag_CXX=$reload_flag
   12060 reload_cmds_CXX=$reload_cmds
   12061 no_undefined_flag_CXX=
   12062 whole_archive_flag_spec_CXX=
   12063 enable_shared_with_static_runtimes_CXX=no
   12064 
   12065 # Source file extension for C++ test sources.
   12066 ac_ext=cpp
   12067 
   12068 # Object file extension for compiled C++ test sources.
   12069 objext=o
   12070 objext_CXX=$objext
   12071 
   12072 # No sense in running all these tests if we already determined that
   12073 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12074 # are currently assumed to apply to all compilers on this platform,
   12075 # and will be corrupted by setting them based on a non-working compiler.
   12076 if test "$_lt_caught_CXX_error" != yes; then
   12077   # Code to be used in simple compile tests
   12078   lt_simple_compile_test_code="int some_variable = 0;"
   12079 
   12080   # Code to be used in simple link tests
   12081   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12082 
   12083   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12084 
   12085 
   12086 
   12087 
   12088 
   12089 
   12090 # If no C compiler was specified, use CC.
   12091 LTCC=${LTCC-"$CC"}
   12092 
   12093 # If no C compiler flags were specified, use CFLAGS.
   12094 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12095 
   12096 # Allow CC to be a program name with arguments.
   12097 compiler=$CC
   12098 
   12099 
   12100   # save warnings/boilerplate of simple test code
   12101   ac_outfile=conftest.$ac_objext
   12102 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12103 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12104 _lt_compiler_boilerplate=`cat conftest.err`
   12105 $RM conftest*
   12106 
   12107   ac_outfile=conftest.$ac_objext
   12108 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12109 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12110 _lt_linker_boilerplate=`cat conftest.err`
   12111 $RM -r conftest*
   12112 
   12113 
   12114   # Allow CC to be a program name with arguments.
   12115   lt_save_CC=$CC
   12116   lt_save_CFLAGS=$CFLAGS
   12117   lt_save_LD=$LD
   12118   lt_save_GCC=$GCC
   12119   GCC=$GXX
   12120   lt_save_with_gnu_ld=$with_gnu_ld
   12121   lt_save_path_LD=$lt_cv_path_LD
   12122   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12123     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12124   else
   12125     $as_unset lt_cv_prog_gnu_ld
   12126   fi
   12127   if test -n "${lt_cv_path_LDCXX+set}"; then
   12128     lt_cv_path_LD=$lt_cv_path_LDCXX
   12129   else
   12130     $as_unset lt_cv_path_LD
   12131   fi
   12132   test -z "${LDCXX+set}" || LD=$LDCXX
   12133   CC=${