Home | History | Annotate | Line # | Download | only in libsanitizer
configure revision 1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
      4 #
      5 # Report bugs to <libsanitizer>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
      9 # Foundation, Inc.
     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 case $0 in #((
     93   *[\\/]* ) as_myself=$0 ;;
     94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     95 for as_dir in $PATH
     96 do
     97   IFS=$as_save_IFS
     98   test -z "$as_dir" && as_dir=.
     99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    100   done
    101 IFS=$as_save_IFS
    102 
    103      ;;
    104 esac
    105 # We did not find ourselves, most probably we were run as `sh COMMAND'
    106 # in which case we are not to be found in the path.
    107 if test "x$as_myself" = x; then
    108   as_myself=$0
    109 fi
    110 if test ! -f "$as_myself"; then
    111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    112   exit 1
    113 fi
    114 
    115 # Unset variables that we do not need and which cause bugs (e.g. in
    116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    117 # suppresses any "Segmentation fault" message there.  '((' could
    118 # trigger a bug in pdksh 5.2.14.
    119 for as_var in BASH_ENV ENV MAIL MAILPATH
    120 do eval test x\${$as_var+set} = xset \
    121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    122 done
    123 PS1='$ '
    124 PS2='> '
    125 PS4='+ '
    126 
    127 # NLS nuisances.
    128 LC_ALL=C
    129 export LC_ALL
    130 LANGUAGE=C
    131 export LANGUAGE
    132 
    133 # CDPATH.
    134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    135 
    136 if test "x$CONFIG_SHELL" = x; then
    137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    138   emulate sh
    139   NULLCMD=:
    140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    141   # is contrary to our usage.  Disable this feature.
    142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    143   setopt NO_GLOB_SUBST
    144 else
    145   case \`(set -o) 2>/dev/null\` in #(
    146   *posix*) :
    147     set -o posix ;; #(
    148   *) :
    149      ;;
    150 esac
    151 fi
    152 "
    153   as_required="as_fn_return () { (exit \$1); }
    154 as_fn_success () { as_fn_return 0; }
    155 as_fn_failure () { as_fn_return 1; }
    156 as_fn_ret_success () { return 0; }
    157 as_fn_ret_failure () { return 1; }
    158 
    159 exitcode=0
    160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    165 
    166 else
    167   exitcode=1; echo positional parameters were not saved.
    168 fi
    169 test x\$exitcode = x0 || exit 1"
    170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    174 test \$(( 1 + 1 )) = 2 || exit 1
    175 
    176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    180     PATH=/empty FPATH=/empty; export PATH FPATH
    181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    183   if (eval "$as_required") 2>/dev/null; then :
    184   as_have_required=yes
    185 else
    186   as_have_required=no
    187 fi
    188   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    189 
    190 else
    191   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    192 as_found=false
    193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    194 do
    195   IFS=$as_save_IFS
    196   test -z "$as_dir" && as_dir=.
    197   as_found=:
    198   case $as_dir in #(
    199 	 /*)
    200 	   for as_base in sh bash ksh sh5; do
    201 	     # Try only shells that exist, to save several forks.
    202 	     as_shell=$as_dir/$as_base
    203 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    204 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    205   CONFIG_SHELL=$as_shell as_have_required=yes
    206 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    207   break 2
    208 fi
    209 fi
    210 	   done;;
    211        esac
    212   as_found=false
    213 done
    214 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    215 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    216   CONFIG_SHELL=$SHELL as_have_required=yes
    217 fi; }
    218 IFS=$as_save_IFS
    219 
    220 
    221       if test "x$CONFIG_SHELL" != x; then :
    222   # We cannot yet assume a decent shell, so we have to provide a
    223 	# neutralization value for shells without unset; and this also
    224 	# works around shells that cannot unset nonexistent variables.
    225 	BASH_ENV=/dev/null
    226 	ENV=/dev/null
    227 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    228 	export CONFIG_SHELL
    229 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    230 fi
    231 
    232     if test x$as_have_required = xno; then :
    233   $as_echo "$0: This script requires a shell more modern than all"
    234   $as_echo "$0: the shells that I found on your system."
    235   if test x${ZSH_VERSION+set} = xset ; then
    236     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    237     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    238   else
    239     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and libsanitizer about
    240 $0: your system, including any error possibly output before
    241 $0: this message. Then install a modern shell, or manually
    242 $0: run the script under such a shell if you do have one."
    243   fi
    244   exit 1
    245 fi
    246 fi
    247 fi
    248 SHELL=${CONFIG_SHELL-/bin/sh}
    249 export SHELL
    250 # Unset more variables known to interfere with behavior of common tools.
    251 CLICOLOR_FORCE= GREP_OPTIONS=
    252 unset CLICOLOR_FORCE GREP_OPTIONS
    253 
    254 ## --------------------- ##
    255 ## M4sh Shell Functions. ##
    256 ## --------------------- ##
    257 # as_fn_unset VAR
    258 # ---------------
    259 # Portably unset VAR.
    260 as_fn_unset ()
    261 {
    262   { eval $1=; unset $1;}
    263 }
    264 as_unset=as_fn_unset
    265 
    266 # as_fn_set_status STATUS
    267 # -----------------------
    268 # Set $? to STATUS, without forking.
    269 as_fn_set_status ()
    270 {
    271   return $1
    272 } # as_fn_set_status
    273 
    274 # as_fn_exit STATUS
    275 # -----------------
    276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    277 as_fn_exit ()
    278 {
    279   set +e
    280   as_fn_set_status $1
    281   exit $1
    282 } # as_fn_exit
    283 
    284 # as_fn_mkdir_p
    285 # -------------
    286 # Create "$as_dir" as a directory, including parents if necessary.
    287 as_fn_mkdir_p ()
    288 {
    289 
    290   case $as_dir in #(
    291   -*) as_dir=./$as_dir;;
    292   esac
    293   test -d "$as_dir" || eval $as_mkdir_p || {
    294     as_dirs=
    295     while :; do
    296       case $as_dir in #(
    297       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    298       *) as_qdir=$as_dir;;
    299       esac
    300       as_dirs="'$as_qdir' $as_dirs"
    301       as_dir=`$as_dirname -- "$as_dir" ||
    302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    303 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    304 	 X"$as_dir" : 'X\(//\)$' \| \
    305 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    306 $as_echo X"$as_dir" |
    307     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    308 	    s//\1/
    309 	    q
    310 	  }
    311 	  /^X\(\/\/\)[^/].*/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)$/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\).*/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  s/.*/./; q'`
    324       test -d "$as_dir" && break
    325     done
    326     test -z "$as_dirs" || eval "mkdir $as_dirs"
    327   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    328 
    329 
    330 } # as_fn_mkdir_p
    331 # as_fn_append VAR VALUE
    332 # ----------------------
    333 # Append the text in VALUE to the end of the definition contained in VAR. Take
    334 # advantage of any shell optimizations that allow amortized linear growth over
    335 # repeated appends, instead of the typical quadratic growth present in naive
    336 # implementations.
    337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    338   eval 'as_fn_append ()
    339   {
    340     eval $1+=\$2
    341   }'
    342 else
    343   as_fn_append ()
    344   {
    345     eval $1=\$$1\$2
    346   }
    347 fi # as_fn_append
    348 
    349 # as_fn_arith ARG...
    350 # ------------------
    351 # Perform arithmetic evaluation on the ARGs, and store the result in the
    352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    353 # must be portable across $(()) and expr.
    354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    355   eval 'as_fn_arith ()
    356   {
    357     as_val=$(( $* ))
    358   }'
    359 else
    360   as_fn_arith ()
    361   {
    362     as_val=`expr "$@" || test $? -eq 1`
    363   }
    364 fi # as_fn_arith
    365 
    366 
    367 # as_fn_error ERROR [LINENO LOG_FD]
    368 # ---------------------------------
    369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    371 # script with status $?, using 1 if that was 0.
    372 as_fn_error ()
    373 {
    374   as_status=$?; test $as_status -eq 0 && as_status=1
    375   if test "$3"; then
    376     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    377     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    378   fi
    379   $as_echo "$as_me: error: $1" >&2
    380   as_fn_exit $as_status
    381 } # as_fn_error
    382 
    383 if expr a : '\(a\)' >/dev/null 2>&1 &&
    384    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    385   as_expr=expr
    386 else
    387   as_expr=false
    388 fi
    389 
    390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    391   as_basename=basename
    392 else
    393   as_basename=false
    394 fi
    395 
    396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    397   as_dirname=dirname
    398 else
    399   as_dirname=false
    400 fi
    401 
    402 as_me=`$as_basename -- "$0" ||
    403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    404 	 X"$0" : 'X\(//\)$' \| \
    405 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    406 $as_echo X/"$0" |
    407     sed '/^.*\/\([^/][^/]*\)\/*$/{
    408 	    s//\1/
    409 	    q
    410 	  }
    411 	  /^X\/\(\/\/\)$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\).*/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  s/.*/./; q'`
    420 
    421 # Avoid depending upon Character Ranges.
    422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    425 as_cr_digits='0123456789'
    426 as_cr_alnum=$as_cr_Letters$as_cr_digits
    427 
    428 
    429   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    430   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    431   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    432   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    433   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    434   sed -n '
    435     p
    436     /[$]LINENO/=
    437   ' <$as_myself |
    438     sed '
    439       s/[$]LINENO.*/&-/
    440       t lineno
    441       b
    442       :lineno
    443       N
    444       :loop
    445       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    446       t loop
    447       s/-\n.*//
    448     ' >$as_me.lineno &&
    449   chmod +x "$as_me.lineno" ||
    450     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    451 
    452   # Don't try to exec as it changes $[0], causing all sort of problems
    453   # (the dirname of $[0] is not the place where we might find the
    454   # original and so on.  Autoconf is especially sensitive to this).
    455   . "./$as_me.lineno"
    456   # Exit status is that of the last command.
    457   exit
    458 }
    459 
    460 ECHO_C= ECHO_N= ECHO_T=
    461 case `echo -n x` in #(((((
    462 -n*)
    463   case `echo 'xy\c'` in
    464   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    465   xy)  ECHO_C='\c';;
    466   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    467        ECHO_T='	';;
    468   esac;;
    469 *)
    470   ECHO_N='-n';;
    471 esac
    472 
    473 rm -f conf$$ conf$$.exe conf$$.file
    474 if test -d conf$$.dir; then
    475   rm -f conf$$.dir/conf$$.file
    476 else
    477   rm -f conf$$.dir
    478   mkdir conf$$.dir 2>/dev/null
    479 fi
    480 if (echo >conf$$.file) 2>/dev/null; then
    481   if ln -s conf$$.file conf$$ 2>/dev/null; then
    482     as_ln_s='ln -s'
    483     # ... but there are two gotchas:
    484     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    485     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    486     # In both cases, we have to default to `cp -p'.
    487     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    488       as_ln_s='cp -p'
    489   elif ln conf$$.file conf$$ 2>/dev/null; then
    490     as_ln_s=ln
    491   else
    492     as_ln_s='cp -p'
    493   fi
    494 else
    495   as_ln_s='cp -p'
    496 fi
    497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    498 rmdir conf$$.dir 2>/dev/null
    499 
    500 if mkdir -p . 2>/dev/null; then
    501   as_mkdir_p='mkdir -p "$as_dir"'
    502 else
    503   test -d ./-p && rmdir ./-p
    504   as_mkdir_p=false
    505 fi
    506 
    507 if test -x / >/dev/null 2>&1; then
    508   as_test_x='test -x'
    509 else
    510   if ls -dL / >/dev/null 2>&1; then
    511     as_ls_L_option=L
    512   else
    513     as_ls_L_option=
    514   fi
    515   as_test_x='
    516     eval sh -c '\''
    517       if test -d "$1"; then
    518 	test -d "$1/.";
    519       else
    520 	case $1 in #(
    521 	-*)set "./$1";;
    522 	esac;
    523 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    524 	???[sx]*):;;*)false;;esac;fi
    525     '\'' sh
    526   '
    527 fi
    528 as_executable_p=$as_test_x
    529 
    530 # Sed expression to map a string onto a valid CPP name.
    531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    532 
    533 # Sed expression to map a string onto a valid variable name.
    534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    535 
    536 SHELL=${CONFIG_SHELL-/bin/sh}
    537 
    538 
    539 exec 7<&0 </dev/null 6>&1
    540 
    541 # Name of the host.
    542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    543 # so uname gets run too.
    544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    545 
    546 #
    547 # Initializations.
    548 #
    549 ac_default_prefix=/usr/local
    550 ac_clean_files=
    551 ac_config_libobj_dir=.
    552 LIBOBJS=
    553 cross_compiling=no
    554 subdirs=
    555 MFLAGS=
    556 MAKEFLAGS=
    557 
    558 # Identity of this package.
    559 PACKAGE_NAME='package-unused'
    560 PACKAGE_TARNAME='package-unused'
    561 PACKAGE_VERSION='version-unused'
    562 PACKAGE_STRING='package-unused version-unused'
    563 PACKAGE_BUGREPORT='libsanitizer'
    564 PACKAGE_URL=''
    565 
    566 ac_unique_file="include/sanitizer/common_interface_defs.h"
    567 # Factoring default headers for most tests.
    568 ac_includes_default="\
    569 #include <stdio.h>
    570 #ifdef HAVE_SYS_TYPES_H
    571 # include <sys/types.h>
    572 #endif
    573 #ifdef HAVE_SYS_STAT_H
    574 # include <sys/stat.h>
    575 #endif
    576 #ifdef STDC_HEADERS
    577 # include <stdlib.h>
    578 # include <stddef.h>
    579 #else
    580 # ifdef HAVE_STDLIB_H
    581 #  include <stdlib.h>
    582 # endif
    583 #endif
    584 #ifdef HAVE_STRING_H
    585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    586 #  include <memory.h>
    587 # endif
    588 # include <string.h>
    589 #endif
    590 #ifdef HAVE_STRINGS_H
    591 # include <strings.h>
    592 #endif
    593 #ifdef HAVE_INTTYPES_H
    594 # include <inttypes.h>
    595 #endif
    596 #ifdef HAVE_STDINT_H
    597 # include <stdint.h>
    598 #endif
    599 #ifdef HAVE_UNISTD_H
    600 # include <unistd.h>
    601 #endif"
    602 
    603 ac_subst_vars='am__EXEEXT_FALSE
    604 am__EXEEXT_TRUE
    605 LTLIBOBJS
    606 LIBOBJS
    607 TSAN_TARGET_DEPENDENT_OBJECTS
    608 LIBBACKTRACE_SUPPORTED_FALSE
    609 LIBBACKTRACE_SUPPORTED_TRUE
    610 RPC_DEFS
    611 BACKTRACE_SUPPORTS_THREADS
    612 BACKTRACE_USES_MALLOC
    613 ALLOC_FILE
    614 VIEW_FILE
    615 BACKTRACE_SUPPORTED
    616 FORMAT_FILE
    617 SANITIZER_SUPPORTED_FALSE
    618 SANITIZER_SUPPORTED_TRUE
    619 USING_MAC_INTERPOSE_FALSE
    620 USING_MAC_INTERPOSE_TRUE
    621 link_liblsan
    622 link_libubsan
    623 link_libtsan
    624 link_libasan
    625 LSAN_SUPPORTED_FALSE
    626 LSAN_SUPPORTED_TRUE
    627 TSAN_SUPPORTED_FALSE
    628 TSAN_SUPPORTED_TRUE
    629 enable_static
    630 enable_shared
    631 CXXCPP
    632 OTOOL64
    633 OTOOL
    634 LIPO
    635 NMEDIT
    636 DSYMUTIL
    637 AR
    638 OBJDUMP
    639 LN_S
    640 NM
    641 ac_ct_DUMPBIN
    642 DUMPBIN
    643 LD
    644 FGREP
    645 SED
    646 LIBTOOL
    647 RANLIB
    648 am__fastdepCCAS_FALSE
    649 am__fastdepCCAS_TRUE
    650 CCASDEPMODE
    651 CCASFLAGS
    652 CCAS
    653 am__fastdepCXX_FALSE
    654 am__fastdepCXX_TRUE
    655 CXXDEPMODE
    656 ac_ct_CXX
    657 CXXFLAGS
    658 CXX
    659 toolexeclibdir
    660 toolexecdir
    661 MAINT
    662 MAINTAINER_MODE_FALSE
    663 MAINTAINER_MODE_TRUE
    664 am__fastdepCC_FALSE
    665 am__fastdepCC_TRUE
    666 CCDEPMODE
    667 AMDEPBACKSLASH
    668 AMDEP_FALSE
    669 AMDEP_TRUE
    670 am__quote
    671 am__include
    672 DEPDIR
    673 am__untar
    674 am__tar
    675 AMTAR
    676 am__leading_dot
    677 SET_MAKE
    678 AWK
    679 mkdir_p
    680 MKDIR_P
    681 INSTALL_STRIP_PROGRAM
    682 STRIP
    683 install_sh
    684 MAKEINFO
    685 AUTOHEADER
    686 AUTOMAKE
    687 AUTOCONF
    688 ACLOCAL
    689 VERSION
    690 PACKAGE
    691 CYGPATH_W
    692 am__isrc
    693 INSTALL_DATA
    694 INSTALL_SCRIPT
    695 INSTALL_PROGRAM
    696 LIBSTDCXX_RAW_CXX_LDFLAGS
    697 LIBSTDCXX_RAW_CXX_CXXFLAGS
    698 target_noncanonical
    699 target_os
    700 target_vendor
    701 target_cpu
    702 target
    703 host_os
    704 host_vendor
    705 host_cpu
    706 host
    707 build_os
    708 build_vendor
    709 build_cpu
    710 build
    711 EGREP
    712 GREP
    713 CPP
    714 OBJEXT
    715 EXEEXT
    716 ac_ct_CC
    717 CPPFLAGS
    718 LDFLAGS
    719 CFLAGS
    720 CC
    721 multi_basedir
    722 target_alias
    723 host_alias
    724 build_alias
    725 LIBS
    726 ECHO_T
    727 ECHO_N
    728 ECHO_C
    729 DEFS
    730 mandir
    731 localedir
    732 libdir
    733 psdir
    734 pdfdir
    735 dvidir
    736 htmldir
    737 infodir
    738 docdir
    739 oldincludedir
    740 includedir
    741 localstatedir
    742 sharedstatedir
    743 sysconfdir
    744 datadir
    745 datarootdir
    746 libexecdir
    747 sbindir
    748 bindir
    749 program_transform_name
    750 prefix
    751 exec_prefix
    752 PACKAGE_URL
    753 PACKAGE_BUGREPORT
    754 PACKAGE_STRING
    755 PACKAGE_VERSION
    756 PACKAGE_TARNAME
    757 PACKAGE_NAME
    758 PATH_SEPARATOR
    759 SHELL'
    760 ac_subst_files=''
    761 ac_user_opts='
    762 enable_option_checking
    763 enable_multilib
    764 enable_version_specific_runtime_libs
    765 enable_dependency_tracking
    766 enable_maintainer_mode
    767 enable_shared
    768 enable_static
    769 with_pic
    770 enable_fast_install
    771 with_gnu_ld
    772 enable_libtool_lock
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 CPP
    783 CXX
    784 CXXFLAGS
    785 CCC
    786 CCAS
    787 CCASFLAGS
    788 CXXCPP'
    789 
    790 
    791 # Initialize some variables set by options.
    792 ac_init_help=
    793 ac_init_version=false
    794 ac_unrecognized_opts=
    795 ac_unrecognized_sep=
    796 # The variables have the same names as the options, with
    797 # dashes changed to underlines.
    798 cache_file=/dev/null
    799 exec_prefix=NONE
    800 no_create=
    801 no_recursion=
    802 prefix=NONE
    803 program_prefix=NONE
    804 program_suffix=NONE
    805 program_transform_name=s,x,x,
    806 silent=
    807 site=
    808 srcdir=
    809 verbose=
    810 x_includes=NONE
    811 x_libraries=NONE
    812 
    813 # Installation directory options.
    814 # These are left unexpanded so users can "make install exec_prefix=/foo"
    815 # and all the variables that are supposed to be based on exec_prefix
    816 # by default will actually change.
    817 # Use braces instead of parens because sh, perl, etc. also accept them.
    818 # (The list follows the same order as the GNU Coding Standards.)
    819 bindir='${exec_prefix}/bin'
    820 sbindir='${exec_prefix}/sbin'
    821 libexecdir='${exec_prefix}/libexec'
    822 datarootdir='${prefix}/share'
    823 datadir='${datarootdir}'
    824 sysconfdir='${prefix}/etc'
    825 sharedstatedir='${prefix}/com'
    826 localstatedir='${prefix}/var'
    827 includedir='${prefix}/include'
    828 oldincludedir='/usr/include'
    829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    830 infodir='${datarootdir}/info'
    831 htmldir='${docdir}'
    832 dvidir='${docdir}'
    833 pdfdir='${docdir}'
    834 psdir='${docdir}'
    835 libdir='${exec_prefix}/lib'
    836 localedir='${datarootdir}/locale'
    837 mandir='${datarootdir}/man'
    838 
    839 ac_prev=
    840 ac_dashdash=
    841 for ac_option
    842 do
    843   # If the previous option needs an argument, assign it.
    844   if test -n "$ac_prev"; then
    845     eval $ac_prev=\$ac_option
    846     ac_prev=
    847     continue
    848   fi
    849 
    850   case $ac_option in
    851   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    852   *)	ac_optarg=yes ;;
    853   esac
    854 
    855   # Accept the important Cygnus configure options, so we can diagnose typos.
    856 
    857   case $ac_dashdash$ac_option in
    858   --)
    859     ac_dashdash=yes ;;
    860 
    861   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    862     ac_prev=bindir ;;
    863   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    864     bindir=$ac_optarg ;;
    865 
    866   -build | --build | --buil | --bui | --bu)
    867     ac_prev=build_alias ;;
    868   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    869     build_alias=$ac_optarg ;;
    870 
    871   -cache-file | --cache-file | --cache-fil | --cache-fi \
    872   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    873     ac_prev=cache_file ;;
    874   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    875   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    876     cache_file=$ac_optarg ;;
    877 
    878   --config-cache | -C)
    879     cache_file=config.cache ;;
    880 
    881   -datadir | --datadir | --datadi | --datad)
    882     ac_prev=datadir ;;
    883   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    884     datadir=$ac_optarg ;;
    885 
    886   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    887   | --dataroo | --dataro | --datar)
    888     ac_prev=datarootdir ;;
    889   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    890   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    891     datarootdir=$ac_optarg ;;
    892 
    893   -disable-* | --disable-*)
    894     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    895     # Reject names that are not valid shell variable names.
    896     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    897       as_fn_error "invalid feature name: $ac_useropt"
    898     ac_useropt_orig=$ac_useropt
    899     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    900     case $ac_user_opts in
    901       *"
    902 "enable_$ac_useropt"
    903 "*) ;;
    904       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    905 	 ac_unrecognized_sep=', ';;
    906     esac
    907     eval enable_$ac_useropt=no ;;
    908 
    909   -docdir | --docdir | --docdi | --doc | --do)
    910     ac_prev=docdir ;;
    911   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    912     docdir=$ac_optarg ;;
    913 
    914   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    915     ac_prev=dvidir ;;
    916   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    917     dvidir=$ac_optarg ;;
    918 
    919   -enable-* | --enable-*)
    920     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    921     # Reject names that are not valid shell variable names.
    922     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    923       as_fn_error "invalid feature name: $ac_useropt"
    924     ac_useropt_orig=$ac_useropt
    925     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    926     case $ac_user_opts in
    927       *"
    928 "enable_$ac_useropt"
    929 "*) ;;
    930       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    931 	 ac_unrecognized_sep=', ';;
    932     esac
    933     eval enable_$ac_useropt=\$ac_optarg ;;
    934 
    935   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    936   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    937   | --exec | --exe | --ex)
    938     ac_prev=exec_prefix ;;
    939   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    940   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    941   | --exec=* | --exe=* | --ex=*)
    942     exec_prefix=$ac_optarg ;;
    943 
    944   -gas | --gas | --ga | --g)
    945     # Obsolete; use --with-gas.
    946     with_gas=yes ;;
    947 
    948   -help | --help | --hel | --he | -h)
    949     ac_init_help=long ;;
    950   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    951     ac_init_help=recursive ;;
    952   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    953     ac_init_help=short ;;
    954 
    955   -host | --host | --hos | --ho)
    956     ac_prev=host_alias ;;
    957   -host=* | --host=* | --hos=* | --ho=*)
    958     host_alias=$ac_optarg ;;
    959 
    960   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    961     ac_prev=htmldir ;;
    962   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    963   | --ht=*)
    964     htmldir=$ac_optarg ;;
    965 
    966   -includedir | --includedir | --includedi | --included | --include \
    967   | --includ | --inclu | --incl | --inc)
    968     ac_prev=includedir ;;
    969   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    970   | --includ=* | --inclu=* | --incl=* | --inc=*)
    971     includedir=$ac_optarg ;;
    972 
    973   -infodir | --infodir | --infodi | --infod | --info | --inf)
    974     ac_prev=infodir ;;
    975   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    976     infodir=$ac_optarg ;;
    977 
    978   -libdir | --libdir | --libdi | --libd)
    979     ac_prev=libdir ;;
    980   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    981     libdir=$ac_optarg ;;
    982 
    983   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    984   | --libexe | --libex | --libe)
    985     ac_prev=libexecdir ;;
    986   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    987   | --libexe=* | --libex=* | --libe=*)
    988     libexecdir=$ac_optarg ;;
    989 
    990   -localedir | --localedir | --localedi | --localed | --locale)
    991     ac_prev=localedir ;;
    992   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    993     localedir=$ac_optarg ;;
    994 
    995   -localstatedir | --localstatedir | --localstatedi | --localstated \
    996   | --localstate | --localstat | --localsta | --localst | --locals)
    997     ac_prev=localstatedir ;;
    998   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    999   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1000     localstatedir=$ac_optarg ;;
   1001 
   1002   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1003     ac_prev=mandir ;;
   1004   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1005     mandir=$ac_optarg ;;
   1006 
   1007   -nfp | --nfp | --nf)
   1008     # Obsolete; use --without-fp.
   1009     with_fp=no ;;
   1010 
   1011   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1012   | --no-cr | --no-c | -n)
   1013     no_create=yes ;;
   1014 
   1015   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1016   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1017     no_recursion=yes ;;
   1018 
   1019   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1020   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1021   | --oldin | --oldi | --old | --ol | --o)
   1022     ac_prev=oldincludedir ;;
   1023   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1024   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1025   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1026     oldincludedir=$ac_optarg ;;
   1027 
   1028   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1029     ac_prev=prefix ;;
   1030   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1031     prefix=$ac_optarg ;;
   1032 
   1033   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1034   | --program-pre | --program-pr | --program-p)
   1035     ac_prev=program_prefix ;;
   1036   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1037   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1038     program_prefix=$ac_optarg ;;
   1039 
   1040   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1041   | --program-suf | --program-su | --program-s)
   1042     ac_prev=program_suffix ;;
   1043   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1044   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1045     program_suffix=$ac_optarg ;;
   1046 
   1047   -program-transform-name | --program-transform-name \
   1048   | --program-transform-nam | --program-transform-na \
   1049   | --program-transform-n | --program-transform- \
   1050   | --program-transform | --program-transfor \
   1051   | --program-transfo | --program-transf \
   1052   | --program-trans | --program-tran \
   1053   | --progr-tra | --program-tr | --program-t)
   1054     ac_prev=program_transform_name ;;
   1055   -program-transform-name=* | --program-transform-name=* \
   1056   | --program-transform-nam=* | --program-transform-na=* \
   1057   | --program-transform-n=* | --program-transform-=* \
   1058   | --program-transform=* | --program-transfor=* \
   1059   | --program-transfo=* | --program-transf=* \
   1060   | --program-trans=* | --program-tran=* \
   1061   | --progr-tra=* | --program-tr=* | --program-t=*)
   1062     program_transform_name=$ac_optarg ;;
   1063 
   1064   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1065     ac_prev=pdfdir ;;
   1066   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1067     pdfdir=$ac_optarg ;;
   1068 
   1069   -psdir | --psdir | --psdi | --psd | --ps)
   1070     ac_prev=psdir ;;
   1071   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1072     psdir=$ac_optarg ;;
   1073 
   1074   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1075   | -silent | --silent | --silen | --sile | --sil)
   1076     silent=yes ;;
   1077 
   1078   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1079     ac_prev=sbindir ;;
   1080   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1081   | --sbi=* | --sb=*)
   1082     sbindir=$ac_optarg ;;
   1083 
   1084   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1085   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1086   | --sharedst | --shareds | --shared | --share | --shar \
   1087   | --sha | --sh)
   1088     ac_prev=sharedstatedir ;;
   1089   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1090   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1091   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1092   | --sha=* | --sh=*)
   1093     sharedstatedir=$ac_optarg ;;
   1094 
   1095   -site | --site | --sit)
   1096     ac_prev=site ;;
   1097   -site=* | --site=* | --sit=*)
   1098     site=$ac_optarg ;;
   1099 
   1100   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1101     ac_prev=srcdir ;;
   1102   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1103     srcdir=$ac_optarg ;;
   1104 
   1105   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1106   | --syscon | --sysco | --sysc | --sys | --sy)
   1107     ac_prev=sysconfdir ;;
   1108   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1109   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1110     sysconfdir=$ac_optarg ;;
   1111 
   1112   -target | --target | --targe | --targ | --tar | --ta | --t)
   1113     ac_prev=target_alias ;;
   1114   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1115     target_alias=$ac_optarg ;;
   1116 
   1117   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1118     verbose=yes ;;
   1119 
   1120   -version | --version | --versio | --versi | --vers | -V)
   1121     ac_init_version=: ;;
   1122 
   1123   -with-* | --with-*)
   1124     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1125     # Reject names that are not valid shell variable names.
   1126     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1127       as_fn_error "invalid package name: $ac_useropt"
   1128     ac_useropt_orig=$ac_useropt
   1129     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1130     case $ac_user_opts in
   1131       *"
   1132 "with_$ac_useropt"
   1133 "*) ;;
   1134       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1135 	 ac_unrecognized_sep=', ';;
   1136     esac
   1137     eval with_$ac_useropt=\$ac_optarg ;;
   1138 
   1139   -without-* | --without-*)
   1140     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1141     # Reject names that are not valid shell variable names.
   1142     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1143       as_fn_error "invalid package name: $ac_useropt"
   1144     ac_useropt_orig=$ac_useropt
   1145     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1146     case $ac_user_opts in
   1147       *"
   1148 "with_$ac_useropt"
   1149 "*) ;;
   1150       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1151 	 ac_unrecognized_sep=', ';;
   1152     esac
   1153     eval with_$ac_useropt=no ;;
   1154 
   1155   --x)
   1156     # Obsolete; use --with-x.
   1157     with_x=yes ;;
   1158 
   1159   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1160   | --x-incl | --x-inc | --x-in | --x-i)
   1161     ac_prev=x_includes ;;
   1162   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1163   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1164     x_includes=$ac_optarg ;;
   1165 
   1166   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1167   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1168     ac_prev=x_libraries ;;
   1169   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1170   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1171     x_libraries=$ac_optarg ;;
   1172 
   1173   -*) as_fn_error "unrecognized option: \`$ac_option'
   1174 Try \`$0 --help' for more information."
   1175     ;;
   1176 
   1177   *=*)
   1178     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1179     # Reject names that are not valid shell variable names.
   1180     case $ac_envvar in #(
   1181       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1182       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1183     esac
   1184     eval $ac_envvar=\$ac_optarg
   1185     export $ac_envvar ;;
   1186 
   1187   *)
   1188     # FIXME: should be removed in autoconf 3.0.
   1189     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1190     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1191       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1192     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1193     ;;
   1194 
   1195   esac
   1196 done
   1197 
   1198 if test -n "$ac_prev"; then
   1199   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1200   as_fn_error "missing argument to $ac_option"
   1201 fi
   1202 
   1203 if test -n "$ac_unrecognized_opts"; then
   1204   case $enable_option_checking in
   1205     no) ;;
   1206     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1207     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1208   esac
   1209 fi
   1210 
   1211 # Check all directory arguments for consistency.
   1212 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1213 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1214 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1215 		libdir localedir mandir
   1216 do
   1217   eval ac_val=\$$ac_var
   1218   # Remove trailing slashes.
   1219   case $ac_val in
   1220     */ )
   1221       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1222       eval $ac_var=\$ac_val;;
   1223   esac
   1224   # Be sure to have absolute directory names.
   1225   case $ac_val in
   1226     [\\/$]* | ?:[\\/]* )  continue;;
   1227     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1228   esac
   1229   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1230 done
   1231 
   1232 # There might be people who depend on the old broken behavior: `$host'
   1233 # used to hold the argument of --host etc.
   1234 # FIXME: To remove some day.
   1235 build=$build_alias
   1236 host=$host_alias
   1237 target=$target_alias
   1238 
   1239 # FIXME: To remove some day.
   1240 if test "x$host_alias" != x; then
   1241   if test "x$build_alias" = x; then
   1242     cross_compiling=maybe
   1243     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1244     If a cross compiler is detected then cross compile mode will be used." >&2
   1245   elif test "x$build_alias" != "x$host_alias"; then
   1246     cross_compiling=yes
   1247   fi
   1248 fi
   1249 
   1250 ac_tool_prefix=
   1251 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1252 
   1253 test "$silent" = yes && exec 6>/dev/null
   1254 
   1255 
   1256 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1257 ac_ls_di=`ls -di .` &&
   1258 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1259   as_fn_error "working directory cannot be determined"
   1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1261   as_fn_error "pwd does not report name of working directory"
   1262 
   1263 
   1264 # Find the source files, if location was not specified.
   1265 if test -z "$srcdir"; then
   1266   ac_srcdir_defaulted=yes
   1267   # Try the directory containing this script, then the parent directory.
   1268   ac_confdir=`$as_dirname -- "$as_myself" ||
   1269 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1270 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1271 	 X"$as_myself" : 'X\(//\)$' \| \
   1272 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1273 $as_echo X"$as_myself" |
   1274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1275 	    s//\1/
   1276 	    q
   1277 	  }
   1278 	  /^X\(\/\/\)[^/].*/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)$/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\).*/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  s/.*/./; q'`
   1291   srcdir=$ac_confdir
   1292   if test ! -r "$srcdir/$ac_unique_file"; then
   1293     srcdir=..
   1294   fi
   1295 else
   1296   ac_srcdir_defaulted=no
   1297 fi
   1298 if test ! -r "$srcdir/$ac_unique_file"; then
   1299   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1300   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1301 fi
   1302 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1303 ac_abs_confdir=`(
   1304 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1305 	pwd)`
   1306 # When building in place, set srcdir=.
   1307 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1308   srcdir=.
   1309 fi
   1310 # Remove unnecessary trailing slashes from srcdir.
   1311 # Double slashes in file names in object file debugging info
   1312 # mess up M-x gdb in Emacs.
   1313 case $srcdir in
   1314 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1315 esac
   1316 for ac_var in $ac_precious_vars; do
   1317   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1318   eval ac_env_${ac_var}_value=\$${ac_var}
   1319   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1320   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1321 done
   1322 
   1323 #
   1324 # Report the --help message.
   1325 #
   1326 if test "$ac_init_help" = "long"; then
   1327   # Omit some internal or obsolete options to make the list less imposing.
   1328   # This message is too long to be a string in the A/UX 3.1 sh.
   1329   cat <<_ACEOF
   1330 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
   1331 
   1332 Usage: $0 [OPTION]... [VAR=VALUE]...
   1333 
   1334 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1335 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1336 
   1337 Defaults for the options are specified in brackets.
   1338 
   1339 Configuration:
   1340   -h, --help              display this help and exit
   1341       --help=short        display options specific to this package
   1342       --help=recursive    display the short help of all the included packages
   1343   -V, --version           display version information and exit
   1344   -q, --quiet, --silent   do not print \`checking...' messages
   1345       --cache-file=FILE   cache test results in FILE [disabled]
   1346   -C, --config-cache      alias for \`--cache-file=config.cache'
   1347   -n, --no-create         do not create output files
   1348       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1349 
   1350 Installation directories:
   1351   --prefix=PREFIX         install architecture-independent files in PREFIX
   1352                           [$ac_default_prefix]
   1353   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1354                           [PREFIX]
   1355 
   1356 By default, \`make install' will install all the files in
   1357 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1358 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1359 for instance \`--prefix=\$HOME'.
   1360 
   1361 For better control, use the options below.
   1362 
   1363 Fine tuning of the installation directories:
   1364   --bindir=DIR            user executables [EPREFIX/bin]
   1365   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1366   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1367   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1368   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1369   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1370   --libdir=DIR            object code libraries [EPREFIX/lib]
   1371   --includedir=DIR        C header files [PREFIX/include]
   1372   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1373   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1374   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1375   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1376   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1377   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1378   --docdir=DIR            documentation root [DATAROOTDIR/doc/package-unused]
   1379   --htmldir=DIR           html documentation [DOCDIR]
   1380   --dvidir=DIR            dvi documentation [DOCDIR]
   1381   --pdfdir=DIR            pdf documentation [DOCDIR]
   1382   --psdir=DIR             ps documentation [DOCDIR]
   1383 _ACEOF
   1384 
   1385   cat <<\_ACEOF
   1386 
   1387 Program names:
   1388   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1389   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1390   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1391 
   1392 System types:
   1393   --build=BUILD     configure for building on BUILD [guessed]
   1394   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1395   --target=TARGET   configure for building compilers for TARGET [HOST]
   1396 _ACEOF
   1397 fi
   1398 
   1399 if test -n "$ac_init_help"; then
   1400   case $ac_init_help in
   1401      short | recursive ) echo "Configuration of package-unused version-unused:";;
   1402    esac
   1403   cat <<\_ACEOF
   1404 
   1405 Optional Features:
   1406   --disable-option-checking  ignore unrecognized --enable/--with options
   1407   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1408   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1409   --enable-multilib       build many library versions (default)
   1410   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
   1411   --disable-dependency-tracking  speeds up one-time build
   1412   --enable-dependency-tracking   do not reject slow dependency extractors
   1413   --enable-maintainer-mode  enable make rules and dependencies not useful
   1414 			  (and sometimes confusing) to the casual installer
   1415   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1416   --enable-static[=PKGS]  build static libraries [default=yes]
   1417   --enable-fast-install[=PKGS]
   1418                           optimize for fast installation [default=yes]
   1419   --disable-libtool-lock  avoid locking (might break parallel builds)
   1420 
   1421 Optional Packages:
   1422   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1423   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1424   --with-pic              try to use only PIC/non-PIC objects [default=use
   1425                           both]
   1426   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1427 
   1428 Some influential environment variables:
   1429   CC          C compiler command
   1430   CFLAGS      C compiler flags
   1431   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1432               nonstandard directory <lib dir>
   1433   LIBS        libraries to pass to the linker, e.g. -l<library>
   1434   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1435               you have headers in a nonstandard directory <include dir>
   1436   CPP         C preprocessor
   1437   CXX         C++ compiler command
   1438   CXXFLAGS    C++ compiler flags
   1439   CCAS        assembler compiler command (defaults to CC)
   1440   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1441   CXXCPP      C++ preprocessor
   1442 
   1443 Use these variables to override the choices made by `configure' or to help
   1444 it to find libraries and programs with nonstandard names/locations.
   1445 
   1446 Report bugs to <libsanitizer>.
   1447 _ACEOF
   1448 ac_status=$?
   1449 fi
   1450 
   1451 if test "$ac_init_help" = "recursive"; then
   1452   # If there are subdirs, report their specific --help.
   1453   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1454     test -d "$ac_dir" ||
   1455       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1456       continue
   1457     ac_builddir=.
   1458 
   1459 case "$ac_dir" in
   1460 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1461 *)
   1462   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1463   # A ".." for each directory in $ac_dir_suffix.
   1464   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1465   case $ac_top_builddir_sub in
   1466   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1467   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1468   esac ;;
   1469 esac
   1470 ac_abs_top_builddir=$ac_pwd
   1471 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1472 # for backward compatibility:
   1473 ac_top_builddir=$ac_top_build_prefix
   1474 
   1475 case $srcdir in
   1476   .)  # We are building in place.
   1477     ac_srcdir=.
   1478     ac_top_srcdir=$ac_top_builddir_sub
   1479     ac_abs_top_srcdir=$ac_pwd ;;
   1480   [\\/]* | ?:[\\/]* )  # Absolute name.
   1481     ac_srcdir=$srcdir$ac_dir_suffix;
   1482     ac_top_srcdir=$srcdir
   1483     ac_abs_top_srcdir=$srcdir ;;
   1484   *) # Relative name.
   1485     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1486     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1487     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1488 esac
   1489 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1490 
   1491     cd "$ac_dir" || { ac_status=$?; continue; }
   1492     # Check for guested configure.
   1493     if test -f "$ac_srcdir/configure.gnu"; then
   1494       echo &&
   1495       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1496     elif test -f "$ac_srcdir/configure"; then
   1497       echo &&
   1498       $SHELL "$ac_srcdir/configure" --help=recursive
   1499     else
   1500       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1501     fi || ac_status=$?
   1502     cd "$ac_pwd" || { ac_status=$?; break; }
   1503   done
   1504 fi
   1505 
   1506 test -n "$ac_init_help" && exit $ac_status
   1507 if $ac_init_version; then
   1508   cat <<\_ACEOF
   1509 package-unused configure version-unused
   1510 generated by GNU Autoconf 2.64
   1511 
   1512 Copyright (C) 2009 Free Software Foundation, Inc.
   1513 This configure script is free software; the Free Software Foundation
   1514 gives unlimited permission to copy, distribute and modify it.
   1515 _ACEOF
   1516   exit
   1517 fi
   1518 
   1519 ## ------------------------ ##
   1520 ## Autoconf initialization. ##
   1521 ## ------------------------ ##
   1522 
   1523 # ac_fn_c_try_compile LINENO
   1524 # --------------------------
   1525 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1526 ac_fn_c_try_compile ()
   1527 {
   1528   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1529   rm -f conftest.$ac_objext
   1530   if { { ac_try="$ac_compile"
   1531 case "(($ac_try" in
   1532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1533   *) ac_try_echo=$ac_try;;
   1534 esac
   1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1536 $as_echo "$ac_try_echo"; } >&5
   1537   (eval "$ac_compile") 2>conftest.err
   1538   ac_status=$?
   1539   if test -s conftest.err; then
   1540     grep -v '^ *+' conftest.err >conftest.er1
   1541     cat conftest.er1 >&5
   1542     mv -f conftest.er1 conftest.err
   1543   fi
   1544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1545   test $ac_status = 0; } && {
   1546 	 test -z "$ac_c_werror_flag" ||
   1547 	 test ! -s conftest.err
   1548        } && test -s conftest.$ac_objext; then :
   1549   ac_retval=0
   1550 else
   1551   $as_echo "$as_me: failed program was:" >&5
   1552 sed 's/^/| /' conftest.$ac_ext >&5
   1553 
   1554 	ac_retval=1
   1555 fi
   1556   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1557   return $ac_retval
   1558 
   1559 } # ac_fn_c_try_compile
   1560 
   1561 # ac_fn_c_try_cpp LINENO
   1562 # ----------------------
   1563 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1564 ac_fn_c_try_cpp ()
   1565 {
   1566   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1567   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1568 case "(($ac_try" in
   1569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1570   *) ac_try_echo=$ac_try;;
   1571 esac
   1572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1573 $as_echo "$ac_try_echo"; } >&5
   1574   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1575   ac_status=$?
   1576   if test -s conftest.err; then
   1577     grep -v '^ *+' conftest.err >conftest.er1
   1578     cat conftest.er1 >&5
   1579     mv -f conftest.er1 conftest.err
   1580   fi
   1581   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1582   test $ac_status = 0; } >/dev/null && {
   1583 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1584 	 test ! -s conftest.err
   1585        }; then :
   1586   ac_retval=0
   1587 else
   1588   $as_echo "$as_me: failed program was:" >&5
   1589 sed 's/^/| /' conftest.$ac_ext >&5
   1590 
   1591     ac_retval=1
   1592 fi
   1593   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1594   return $ac_retval
   1595 
   1596 } # ac_fn_c_try_cpp
   1597 
   1598 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1599 # -------------------------------------------------------
   1600 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1601 # the include files in INCLUDES and setting the cache variable VAR
   1602 # accordingly.
   1603 ac_fn_c_check_header_mongrel ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1608 $as_echo_n "checking for $2... " >&6; }
   1609 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1610   $as_echo_n "(cached) " >&6
   1611 fi
   1612 eval ac_res=\$$3
   1613 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1614 $as_echo "$ac_res" >&6; }
   1615 else
   1616   # Is the header compilable?
   1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1618 $as_echo_n "checking $2 usability... " >&6; }
   1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1620 /* end confdefs.h.  */
   1621 $4
   1622 #include <$2>
   1623 _ACEOF
   1624 if ac_fn_c_try_compile "$LINENO"; then :
   1625   ac_header_compiler=yes
   1626 else
   1627   ac_header_compiler=no
   1628 fi
   1629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1631 $as_echo "$ac_header_compiler" >&6; }
   1632 
   1633 # Is the header present?
   1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1635 $as_echo_n "checking $2 presence... " >&6; }
   1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 #include <$2>
   1639 _ACEOF
   1640 if ac_fn_c_try_cpp "$LINENO"; then :
   1641   ac_header_preproc=yes
   1642 else
   1643   ac_header_preproc=no
   1644 fi
   1645 rm -f conftest.err conftest.$ac_ext
   1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1647 $as_echo "$ac_header_preproc" >&6; }
   1648 
   1649 # So?  What about this header?
   1650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1651   yes:no: )
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1653 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1655 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1656     ;;
   1657   no:yes:* )
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1659 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1661 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1663 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1665 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1667 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1668 ( cat <<\_ASBOX
   1669 ## --------------------------- ##
   1670 ## Report this to libsanitizer ##
   1671 ## --------------------------- ##
   1672 _ASBOX
   1673      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1674     ;;
   1675 esac
   1676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1677 $as_echo_n "checking for $2... " >&6; }
   1678 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1679   $as_echo_n "(cached) " >&6
   1680 else
   1681   eval "$3=\$ac_header_compiler"
   1682 fi
   1683 eval ac_res=\$$3
   1684 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1685 $as_echo "$ac_res" >&6; }
   1686 fi
   1687   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1688 
   1689 } # ac_fn_c_check_header_mongrel
   1690 
   1691 # ac_fn_c_try_run LINENO
   1692 # ----------------------
   1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1694 # that executables *can* be run.
   1695 ac_fn_c_try_run ()
   1696 {
   1697   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1698   if { { ac_try="$ac_link"
   1699 case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_link") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1709   { { case "(($ac_try" in
   1710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1711   *) ac_try_echo=$ac_try;;
   1712 esac
   1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1714 $as_echo "$ac_try_echo"; } >&5
   1715   (eval "$ac_try") 2>&5
   1716   ac_status=$?
   1717   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1718   test $ac_status = 0; }; }; then :
   1719   ac_retval=0
   1720 else
   1721   $as_echo "$as_me: program exited with status $ac_status" >&5
   1722        $as_echo "$as_me: failed program was:" >&5
   1723 sed 's/^/| /' conftest.$ac_ext >&5
   1724 
   1725        ac_retval=$ac_status
   1726 fi
   1727   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1728   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1729   return $ac_retval
   1730 
   1731 } # ac_fn_c_try_run
   1732 
   1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1734 # -------------------------------------------------------
   1735 # Tests whether HEADER exists and can be compiled using the include files in
   1736 # INCLUDES, setting the cache variable VAR accordingly.
   1737 ac_fn_c_check_header_compile ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1741 $as_echo_n "checking for $2... " >&6; }
   1742 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1743   $as_echo_n "(cached) " >&6
   1744 else
   1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 $4
   1748 #include <$2>
   1749 _ACEOF
   1750 if ac_fn_c_try_compile "$LINENO"; then :
   1751   eval "$3=yes"
   1752 else
   1753   eval "$3=no"
   1754 fi
   1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1756 fi
   1757 eval ac_res=\$$3
   1758 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1759 $as_echo "$ac_res" >&6; }
   1760   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1761 
   1762 } # ac_fn_c_check_header_compile
   1763 
   1764 # ac_fn_cxx_try_compile LINENO
   1765 # ----------------------------
   1766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1767 ac_fn_cxx_try_compile ()
   1768 {
   1769   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1770   rm -f conftest.$ac_objext
   1771   if { { ac_try="$ac_compile"
   1772 case "(($ac_try" in
   1773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1774   *) ac_try_echo=$ac_try;;
   1775 esac
   1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1777 $as_echo "$ac_try_echo"; } >&5
   1778   (eval "$ac_compile") 2>conftest.err
   1779   ac_status=$?
   1780   if test -s conftest.err; then
   1781     grep -v '^ *+' conftest.err >conftest.er1
   1782     cat conftest.er1 >&5
   1783     mv -f conftest.er1 conftest.err
   1784   fi
   1785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1786   test $ac_status = 0; } && {
   1787 	 test -z "$ac_cxx_werror_flag" ||
   1788 	 test ! -s conftest.err
   1789        } && test -s conftest.$ac_objext; then :
   1790   ac_retval=0
   1791 else
   1792   $as_echo "$as_me: failed program was:" >&5
   1793 sed 's/^/| /' conftest.$ac_ext >&5
   1794 
   1795 	ac_retval=1
   1796 fi
   1797   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1798   return $ac_retval
   1799 
   1800 } # ac_fn_cxx_try_compile
   1801 
   1802 # ac_fn_c_try_link LINENO
   1803 # -----------------------
   1804 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1805 ac_fn_c_try_link ()
   1806 {
   1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1808   rm -f conftest.$ac_objext conftest$ac_exeext
   1809   if { { ac_try="$ac_link"
   1810 case "(($ac_try" in
   1811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1812   *) ac_try_echo=$ac_try;;
   1813 esac
   1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1815 $as_echo "$ac_try_echo"; } >&5
   1816   (eval "$ac_link") 2>conftest.err
   1817   ac_status=$?
   1818   if test -s conftest.err; then
   1819     grep -v '^ *+' conftest.err >conftest.er1
   1820     cat conftest.er1 >&5
   1821     mv -f conftest.er1 conftest.err
   1822   fi
   1823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1824   test $ac_status = 0; } && {
   1825 	 test -z "$ac_c_werror_flag" ||
   1826 	 test ! -s conftest.err
   1827        } && test -s conftest$ac_exeext && {
   1828 	 test "$cross_compiling" = yes ||
   1829 	 $as_test_x conftest$ac_exeext
   1830        }; then :
   1831   ac_retval=0
   1832 else
   1833   $as_echo "$as_me: failed program was:" >&5
   1834 sed 's/^/| /' conftest.$ac_ext >&5
   1835 
   1836 	ac_retval=1
   1837 fi
   1838   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1839   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1840   # interfere with the next link command; also delete a directory that is
   1841   # left behind by Apple's compiler.  We do this before executing the actions.
   1842   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1843   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1844   return $ac_retval
   1845 
   1846 } # ac_fn_c_try_link
   1847 
   1848 # ac_fn_c_check_func LINENO FUNC VAR
   1849 # ----------------------------------
   1850 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1851 ac_fn_c_check_func ()
   1852 {
   1853   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1854   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1855 $as_echo_n "checking for $2... " >&6; }
   1856 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1857   $as_echo_n "(cached) " >&6
   1858 else
   1859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1860 /* end confdefs.h.  */
   1861 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1863 #define $2 innocuous_$2
   1864 
   1865 /* System header to define __stub macros and hopefully few prototypes,
   1866     which can conflict with char $2 (); below.
   1867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1868     <limits.h> exists even on freestanding compilers.  */
   1869 
   1870 #ifdef __STDC__
   1871 # include <limits.h>
   1872 #else
   1873 # include <assert.h>
   1874 #endif
   1875 
   1876 #undef $2
   1877 
   1878 /* Override any GCC internal prototype to avoid an error.
   1879    Use char because int might match the return type of a GCC
   1880    builtin and then its argument prototype would still apply.  */
   1881 #ifdef __cplusplus
   1882 extern "C"
   1883 #endif
   1884 char $2 ();
   1885 /* The GNU C library defines this for functions which it implements
   1886     to always fail with ENOSYS.  Some functions are actually named
   1887     something starting with __ and the normal name is an alias.  */
   1888 #if defined __stub_$2 || defined __stub___$2
   1889 choke me
   1890 #endif
   1891 
   1892 int
   1893 main ()
   1894 {
   1895 return $2 ();
   1896   ;
   1897   return 0;
   1898 }
   1899 _ACEOF
   1900 if ac_fn_c_try_link "$LINENO"; then :
   1901   eval "$3=yes"
   1902 else
   1903   eval "$3=no"
   1904 fi
   1905 rm -f core conftest.err conftest.$ac_objext \
   1906     conftest$ac_exeext conftest.$ac_ext
   1907 fi
   1908 eval ac_res=\$$3
   1909 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1910 $as_echo "$ac_res" >&6; }
   1911   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1912 
   1913 } # ac_fn_c_check_func
   1914 
   1915 # ac_fn_cxx_try_cpp LINENO
   1916 # ------------------------
   1917 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1918 ac_fn_cxx_try_cpp ()
   1919 {
   1920   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1921   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1922 case "(($ac_try" in
   1923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1924   *) ac_try_echo=$ac_try;;
   1925 esac
   1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1927 $as_echo "$ac_try_echo"; } >&5
   1928   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1929   ac_status=$?
   1930   if test -s conftest.err; then
   1931     grep -v '^ *+' conftest.err >conftest.er1
   1932     cat conftest.er1 >&5
   1933     mv -f conftest.er1 conftest.err
   1934   fi
   1935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1936   test $ac_status = 0; } >/dev/null && {
   1937 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1938 	 test ! -s conftest.err
   1939        }; then :
   1940   ac_retval=0
   1941 else
   1942   $as_echo "$as_me: failed program was:" >&5
   1943 sed 's/^/| /' conftest.$ac_ext >&5
   1944 
   1945     ac_retval=1
   1946 fi
   1947   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1948   return $ac_retval
   1949 
   1950 } # ac_fn_cxx_try_cpp
   1951 
   1952 # ac_fn_cxx_try_link LINENO
   1953 # -------------------------
   1954 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1955 ac_fn_cxx_try_link ()
   1956 {
   1957   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1958   rm -f conftest.$ac_objext conftest$ac_exeext
   1959   if { { ac_try="$ac_link"
   1960 case "(($ac_try" in
   1961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1962   *) ac_try_echo=$ac_try;;
   1963 esac
   1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1965 $as_echo "$ac_try_echo"; } >&5
   1966   (eval "$ac_link") 2>conftest.err
   1967   ac_status=$?
   1968   if test -s conftest.err; then
   1969     grep -v '^ *+' conftest.err >conftest.er1
   1970     cat conftest.er1 >&5
   1971     mv -f conftest.er1 conftest.err
   1972   fi
   1973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1974   test $ac_status = 0; } && {
   1975 	 test -z "$ac_cxx_werror_flag" ||
   1976 	 test ! -s conftest.err
   1977        } && test -s conftest$ac_exeext && {
   1978 	 test "$cross_compiling" = yes ||
   1979 	 $as_test_x conftest$ac_exeext
   1980        }; then :
   1981   ac_retval=0
   1982 else
   1983   $as_echo "$as_me: failed program was:" >&5
   1984 sed 's/^/| /' conftest.$ac_ext >&5
   1985 
   1986 	ac_retval=1
   1987 fi
   1988   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1989   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1990   # interfere with the next link command; also delete a directory that is
   1991   # left behind by Apple's compiler.  We do this before executing the actions.
   1992   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1993   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1994   return $ac_retval
   1995 
   1996 } # ac_fn_cxx_try_link
   1997 
   1998 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1999 # --------------------------------------------
   2000 # Tries to find the compile-time value of EXPR in a program that includes
   2001 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2002 # computed
   2003 ac_fn_c_compute_int ()
   2004 {
   2005   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2006   if test "$cross_compiling" = yes; then
   2007     # Depending upon the size, compute the lo and hi bounds.
   2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2009 /* end confdefs.h.  */
   2010 $4
   2011 int
   2012 main ()
   2013 {
   2014 static int test_array [1 - 2 * !(($2) >= 0)];
   2015 test_array [0] = 0
   2016 
   2017   ;
   2018   return 0;
   2019 }
   2020 _ACEOF
   2021 if ac_fn_c_try_compile "$LINENO"; then :
   2022   ac_lo=0 ac_mid=0
   2023   while :; do
   2024     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2025 /* end confdefs.h.  */
   2026 $4
   2027 int
   2028 main ()
   2029 {
   2030 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2031 test_array [0] = 0
   2032 
   2033   ;
   2034   return 0;
   2035 }
   2036 _ACEOF
   2037 if ac_fn_c_try_compile "$LINENO"; then :
   2038   ac_hi=$ac_mid; break
   2039 else
   2040   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2041 			if test $ac_lo -le $ac_mid; then
   2042 			  ac_lo= ac_hi=
   2043 			  break
   2044 			fi
   2045 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2046 fi
   2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2048   done
   2049 else
   2050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2051 /* end confdefs.h.  */
   2052 $4
   2053 int
   2054 main ()
   2055 {
   2056 static int test_array [1 - 2 * !(($2) < 0)];
   2057 test_array [0] = 0
   2058 
   2059   ;
   2060   return 0;
   2061 }
   2062 _ACEOF
   2063 if ac_fn_c_try_compile "$LINENO"; then :
   2064   ac_hi=-1 ac_mid=-1
   2065   while :; do
   2066     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2067 /* end confdefs.h.  */
   2068 $4
   2069 int
   2070 main ()
   2071 {
   2072 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2073 test_array [0] = 0
   2074 
   2075   ;
   2076   return 0;
   2077 }
   2078 _ACEOF
   2079 if ac_fn_c_try_compile "$LINENO"; then :
   2080   ac_lo=$ac_mid; break
   2081 else
   2082   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2083 			if test $ac_mid -le $ac_hi; then
   2084 			  ac_lo= ac_hi=
   2085 			  break
   2086 			fi
   2087 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2088 fi
   2089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2090   done
   2091 else
   2092   ac_lo= ac_hi=
   2093 fi
   2094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2095 fi
   2096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2097 # Binary search between lo and hi bounds.
   2098 while test "x$ac_lo" != "x$ac_hi"; do
   2099   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2101 /* end confdefs.h.  */
   2102 $4
   2103 int
   2104 main ()
   2105 {
   2106 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2107 test_array [0] = 0
   2108 
   2109   ;
   2110   return 0;
   2111 }
   2112 _ACEOF
   2113 if ac_fn_c_try_compile "$LINENO"; then :
   2114   ac_hi=$ac_mid
   2115 else
   2116   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2117 fi
   2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2119 done
   2120 case $ac_lo in #((
   2121 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2122 '') ac_retval=1 ;;
   2123 esac
   2124   else
   2125     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2126 /* end confdefs.h.  */
   2127 $4
   2128 static long int longval () { return $2; }
   2129 static unsigned long int ulongval () { return $2; }
   2130 #include <stdio.h>
   2131 #include <stdlib.h>
   2132 int
   2133 main ()
   2134 {
   2135 
   2136   FILE *f = fopen ("conftest.val", "w");
   2137   if (! f)
   2138     return 1;
   2139   if (($2) < 0)
   2140     {
   2141       long int i = longval ();
   2142       if (i != ($2))
   2143 	return 1;
   2144       fprintf (f, "%ld", i);
   2145     }
   2146   else
   2147     {
   2148       unsigned long int i = ulongval ();
   2149       if (i != ($2))
   2150 	return 1;
   2151       fprintf (f, "%lu", i);
   2152     }
   2153   /* Do not output a trailing newline, as this causes \r\n confusion
   2154      on some platforms.  */
   2155   return ferror (f) || fclose (f) != 0;
   2156 
   2157   ;
   2158   return 0;
   2159 }
   2160 _ACEOF
   2161 if ac_fn_c_try_run "$LINENO"; then :
   2162   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2163 else
   2164   ac_retval=1
   2165 fi
   2166 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2167   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2168 rm -f conftest.val
   2169 
   2170   fi
   2171   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2172   return $ac_retval
   2173 
   2174 } # ac_fn_c_compute_int
   2175 
   2176 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2177 # -------------------------------------------
   2178 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2179 # variable VAR accordingly.
   2180 ac_fn_c_check_type ()
   2181 {
   2182   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2184 $as_echo_n "checking for $2... " >&6; }
   2185 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2186   $as_echo_n "(cached) " >&6
   2187 else
   2188   eval "$3=no"
   2189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2190 /* end confdefs.h.  */
   2191 $4
   2192 int
   2193 main ()
   2194 {
   2195 if (sizeof ($2))
   2196 	 return 0;
   2197   ;
   2198   return 0;
   2199 }
   2200 _ACEOF
   2201 if ac_fn_c_try_compile "$LINENO"; then :
   2202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2203 /* end confdefs.h.  */
   2204 $4
   2205 int
   2206 main ()
   2207 {
   2208 if (sizeof (($2)))
   2209 	    return 0;
   2210   ;
   2211   return 0;
   2212 }
   2213 _ACEOF
   2214 if ac_fn_c_try_compile "$LINENO"; then :
   2215 
   2216 else
   2217   eval "$3=yes"
   2218 fi
   2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2220 fi
   2221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2222 fi
   2223 eval ac_res=\$$3
   2224 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2225 $as_echo "$ac_res" >&6; }
   2226   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2227 
   2228 } # ac_fn_c_check_type
   2229 
   2230 # ac_fn_c_check_decl LINENO SYMBOL VAR
   2231 # ------------------------------------
   2232 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   2233 ac_fn_c_check_decl ()
   2234 {
   2235   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2236   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2237   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2239 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2240 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2241   $as_echo_n "(cached) " >&6
   2242 else
   2243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2244 /* end confdefs.h.  */
   2245 $4
   2246 int
   2247 main ()
   2248 {
   2249 #ifndef $as_decl_name
   2250 #ifdef __cplusplus
   2251   (void) $as_decl_use;
   2252 #else
   2253   (void) $as_decl_name;
   2254 #endif
   2255 #endif
   2256 
   2257   ;
   2258   return 0;
   2259 }
   2260 _ACEOF
   2261 if ac_fn_c_try_compile "$LINENO"; then :
   2262   eval "$3=yes"
   2263 else
   2264   eval "$3=no"
   2265 fi
   2266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2267 fi
   2268 eval ac_res=\$$3
   2269 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2270 $as_echo "$ac_res" >&6; }
   2271   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2272 
   2273 } # ac_fn_c_check_decl
   2274 cat >config.log <<_ACEOF
   2275 This file contains any messages produced by compilers while
   2276 running configure, to aid debugging if configure makes a mistake.
   2277 
   2278 It was created by package-unused $as_me version-unused, which was
   2279 generated by GNU Autoconf 2.64.  Invocation command line was
   2280 
   2281   $ $0 $@
   2282 
   2283 _ACEOF
   2284 exec 5>>config.log
   2285 {
   2286 cat <<_ASUNAME
   2287 ## --------- ##
   2288 ## Platform. ##
   2289 ## --------- ##
   2290 
   2291 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2292 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2293 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2294 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2295 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2296 
   2297 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2298 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2299 
   2300 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2301 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2302 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2303 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2304 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2305 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2306 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2307 
   2308 _ASUNAME
   2309 
   2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2311 for as_dir in $PATH
   2312 do
   2313   IFS=$as_save_IFS
   2314   test -z "$as_dir" && as_dir=.
   2315     $as_echo "PATH: $as_dir"
   2316   done
   2317 IFS=$as_save_IFS
   2318 
   2319 } >&5
   2320 
   2321 cat >&5 <<_ACEOF
   2322 
   2323 
   2324 ## ----------- ##
   2325 ## Core tests. ##
   2326 ## ----------- ##
   2327 
   2328 _ACEOF
   2329 
   2330 
   2331 # Keep a trace of the command line.
   2332 # Strip out --no-create and --no-recursion so they do not pile up.
   2333 # Strip out --silent because we don't want to record it for future runs.
   2334 # Also quote any args containing shell meta-characters.
   2335 # Make two passes to allow for proper duplicate-argument suppression.
   2336 ac_configure_args=
   2337 ac_configure_args0=
   2338 ac_configure_args1=
   2339 ac_must_keep_next=false
   2340 for ac_pass in 1 2
   2341 do
   2342   for ac_arg
   2343   do
   2344     case $ac_arg in
   2345     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2346     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2347     | -silent | --silent | --silen | --sile | --sil)
   2348       continue ;;
   2349     *\'*)
   2350       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2351     esac
   2352     case $ac_pass in
   2353     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2354     2)
   2355       as_fn_append ac_configure_args1 " '$ac_arg'"
   2356       if test $ac_must_keep_next = true; then
   2357 	ac_must_keep_next=false # Got value, back to normal.
   2358       else
   2359 	case $ac_arg in
   2360 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2361 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2362 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2363 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2364 	    case "$ac_configure_args0 " in
   2365 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2366 	    esac
   2367 	    ;;
   2368 	  -* ) ac_must_keep_next=true ;;
   2369 	esac
   2370       fi
   2371       as_fn_append ac_configure_args " '$ac_arg'"
   2372       ;;
   2373     esac
   2374   done
   2375 done
   2376 { ac_configure_args0=; unset ac_configure_args0;}
   2377 { ac_configure_args1=; unset ac_configure_args1;}
   2378 
   2379 # When interrupted or exit'd, cleanup temporary files, and complete
   2380 # config.log.  We remove comments because anyway the quotes in there
   2381 # would cause problems or look ugly.
   2382 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2383 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2384 trap 'exit_status=$?
   2385   # Save into config.log some information that might help in debugging.
   2386   {
   2387     echo
   2388 
   2389     cat <<\_ASBOX
   2390 ## ---------------- ##
   2391 ## Cache variables. ##
   2392 ## ---------------- ##
   2393 _ASBOX
   2394     echo
   2395     # The following way of writing the cache mishandles newlines in values,
   2396 (
   2397   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2398     eval ac_val=\$$ac_var
   2399     case $ac_val in #(
   2400     *${as_nl}*)
   2401       case $ac_var in #(
   2402       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2403 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2404       esac
   2405       case $ac_var in #(
   2406       _ | IFS | as_nl) ;; #(
   2407       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2408       *) { eval $ac_var=; unset $ac_var;} ;;
   2409       esac ;;
   2410     esac
   2411   done
   2412   (set) 2>&1 |
   2413     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2414     *${as_nl}ac_space=\ *)
   2415       sed -n \
   2416 	"s/'\''/'\''\\\\'\'''\''/g;
   2417 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2418       ;; #(
   2419     *)
   2420       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2421       ;;
   2422     esac |
   2423     sort
   2424 )
   2425     echo
   2426 
   2427     cat <<\_ASBOX
   2428 ## ----------------- ##
   2429 ## Output variables. ##
   2430 ## ----------------- ##
   2431 _ASBOX
   2432     echo
   2433     for ac_var in $ac_subst_vars
   2434     do
   2435       eval ac_val=\$$ac_var
   2436       case $ac_val in
   2437       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2438       esac
   2439       $as_echo "$ac_var='\''$ac_val'\''"
   2440     done | sort
   2441     echo
   2442 
   2443     if test -n "$ac_subst_files"; then
   2444       cat <<\_ASBOX
   2445 ## ------------------- ##
   2446 ## File substitutions. ##
   2447 ## ------------------- ##
   2448 _ASBOX
   2449       echo
   2450       for ac_var in $ac_subst_files
   2451       do
   2452 	eval ac_val=\$$ac_var
   2453 	case $ac_val in
   2454 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2455 	esac
   2456 	$as_echo "$ac_var='\''$ac_val'\''"
   2457       done | sort
   2458       echo
   2459     fi
   2460 
   2461     if test -s confdefs.h; then
   2462       cat <<\_ASBOX
   2463 ## ----------- ##
   2464 ## confdefs.h. ##
   2465 ## ----------- ##
   2466 _ASBOX
   2467       echo
   2468       cat confdefs.h
   2469       echo
   2470     fi
   2471     test "$ac_signal" != 0 &&
   2472       $as_echo "$as_me: caught signal $ac_signal"
   2473     $as_echo "$as_me: exit $exit_status"
   2474   } >&5
   2475   rm -f core *.core core.conftest.* &&
   2476     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2477     exit $exit_status
   2478 ' 0
   2479 for ac_signal in 1 2 13 15; do
   2480   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2481 done
   2482 ac_signal=0
   2483 
   2484 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2485 rm -f -r conftest* confdefs.h
   2486 
   2487 $as_echo "/* confdefs.h */" > confdefs.h
   2488 
   2489 # Predefined preprocessor variables.
   2490 
   2491 cat >>confdefs.h <<_ACEOF
   2492 #define PACKAGE_NAME "$PACKAGE_NAME"
   2493 _ACEOF
   2494 
   2495 cat >>confdefs.h <<_ACEOF
   2496 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2497 _ACEOF
   2498 
   2499 cat >>confdefs.h <<_ACEOF
   2500 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2501 _ACEOF
   2502 
   2503 cat >>confdefs.h <<_ACEOF
   2504 #define PACKAGE_STRING "$PACKAGE_STRING"
   2505 _ACEOF
   2506 
   2507 cat >>confdefs.h <<_ACEOF
   2508 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2509 _ACEOF
   2510 
   2511 cat >>confdefs.h <<_ACEOF
   2512 #define PACKAGE_URL "$PACKAGE_URL"
   2513 _ACEOF
   2514 
   2515 
   2516 # Let the site file select an alternate cache file if it wants to.
   2517 # Prefer an explicitly selected file to automatically selected ones.
   2518 ac_site_file1=NONE
   2519 ac_site_file2=NONE
   2520 if test -n "$CONFIG_SITE"; then
   2521   ac_site_file1=$CONFIG_SITE
   2522 elif test "x$prefix" != xNONE; then
   2523   ac_site_file1=$prefix/share/config.site
   2524   ac_site_file2=$prefix/etc/config.site
   2525 else
   2526   ac_site_file1=$ac_default_prefix/share/config.site
   2527   ac_site_file2=$ac_default_prefix/etc/config.site
   2528 fi
   2529 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2530 do
   2531   test "x$ac_site_file" = xNONE && continue
   2532   if test -r "$ac_site_file"; then
   2533     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2534 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2535     sed 's/^/| /' "$ac_site_file" >&5
   2536     . "$ac_site_file"
   2537   fi
   2538 done
   2539 
   2540 if test -r "$cache_file"; then
   2541   # Some versions of bash will fail to source /dev/null (special
   2542   # files actually), so we avoid doing that.
   2543   if test -f "$cache_file"; then
   2544     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2545 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2546     case $cache_file in
   2547       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2548       *)                      . "./$cache_file";;
   2549     esac
   2550   fi
   2551 else
   2552   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2553 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2554   >$cache_file
   2555 fi
   2556 
   2557 # Check that the precious variables saved in the cache have kept the same
   2558 # value.
   2559 ac_cache_corrupted=false
   2560 for ac_var in $ac_precious_vars; do
   2561   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2562   eval ac_new_set=\$ac_env_${ac_var}_set
   2563   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2564   eval ac_new_val=\$ac_env_${ac_var}_value
   2565   case $ac_old_set,$ac_new_set in
   2566     set,)
   2567       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2568 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2569       ac_cache_corrupted=: ;;
   2570     ,set)
   2571       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2572 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2573       ac_cache_corrupted=: ;;
   2574     ,);;
   2575     *)
   2576       if test "x$ac_old_val" != "x$ac_new_val"; then
   2577 	# differences in whitespace do not lead to failure.
   2578 	ac_old_val_w=`echo x $ac_old_val`
   2579 	ac_new_val_w=`echo x $ac_new_val`
   2580 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2581 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2582 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2583 	  ac_cache_corrupted=:
   2584 	else
   2585 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2586 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2587 	  eval $ac_var=\$ac_old_val
   2588 	fi
   2589 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2590 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2591 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2592 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2593       fi;;
   2594   esac
   2595   # Pass precious variables to config.status.
   2596   if test "$ac_new_set" = set; then
   2597     case $ac_new_val in
   2598     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2599     *) ac_arg=$ac_var=$ac_new_val ;;
   2600     esac
   2601     case " $ac_configure_args " in
   2602       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2603       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2604     esac
   2605   fi
   2606 done
   2607 if $ac_cache_corrupted; then
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2610   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2611 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2612   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2613 fi
   2614 ## -------------------- ##
   2615 ## Main body of script. ##
   2616 ## -------------------- ##
   2617 
   2618 ac_ext=c
   2619 ac_cpp='$CPP $CPPFLAGS'
   2620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2623 
   2624 
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 # Default to --enable-multilib
   2631 # Check whether --enable-multilib was given.
   2632 if test "${enable_multilib+set}" = set; then :
   2633   enableval=$enable_multilib; case "$enableval" in
   2634   yes) multilib=yes ;;
   2635   no)  multilib=no ;;
   2636   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
   2637  esac
   2638 else
   2639   multilib=yes
   2640 fi
   2641 
   2642 
   2643 # We may get other options which we leave undocumented:
   2644 # --with-target-subdir, --with-multisrctop, --with-multisubdir
   2645 # See config-ml.in if you want the gory details.
   2646 
   2647 if test "$srcdir" = "."; then
   2648   if test "$with_target_subdir" != "."; then
   2649     multi_basedir="$srcdir/$with_multisrctop../.."
   2650   else
   2651     multi_basedir="$srcdir/$with_multisrctop.."
   2652   fi
   2653 else
   2654   multi_basedir="$srcdir/.."
   2655 fi
   2656 
   2657 
   2658 # Even if the default multilib is not a cross compilation,
   2659 # it may be that some of the other multilibs are.
   2660 if test $cross_compiling = no && test $multilib = yes \
   2661    && test "x${with_multisubdir}" != x ; then
   2662    cross_compiling=maybe
   2663 fi
   2664 
   2665 ac_config_commands="$ac_config_commands default-1"
   2666 
   2667 
   2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
   2669 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
   2670 # Check whether --enable-version-specific-runtime-libs was given.
   2671 if test "${enable_version_specific_runtime_libs+set}" = set; then :
   2672   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
   2673  yes) version_specific_libs=yes ;;
   2674  no)  version_specific_libs=no ;;
   2675  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
   2676  esac
   2677 else
   2678   version_specific_libs=no
   2679 fi
   2680 
   2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
   2682 $as_echo "$version_specific_libs" >&6; }
   2683 
   2684 ac_ext=c
   2685 ac_cpp='$CPP $CPPFLAGS'
   2686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2689 if test -n "$ac_tool_prefix"; then
   2690   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2691 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2693 $as_echo_n "checking for $ac_word... " >&6; }
   2694 if test "${ac_cv_prog_CC+set}" = set; then :
   2695   $as_echo_n "(cached) " >&6
   2696 else
   2697   if test -n "$CC"; then
   2698   ac_cv_prog_CC="$CC" # Let the user override the test.
   2699 else
   2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2701 for as_dir in $PATH
   2702 do
   2703   IFS=$as_save_IFS
   2704   test -z "$as_dir" && as_dir=.
   2705     for ac_exec_ext in '' $ac_executable_extensions; do
   2706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2707     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2709     break 2
   2710   fi
   2711 done
   2712   done
   2713 IFS=$as_save_IFS
   2714 
   2715 fi
   2716 fi
   2717 CC=$ac_cv_prog_CC
   2718 if test -n "$CC"; then
   2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2720 $as_echo "$CC" >&6; }
   2721 else
   2722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2723 $as_echo "no" >&6; }
   2724 fi
   2725 
   2726 
   2727 fi
   2728 if test -z "$ac_cv_prog_CC"; then
   2729   ac_ct_CC=$CC
   2730   # Extract the first word of "gcc", so it can be a program name with args.
   2731 set dummy gcc; ac_word=$2
   2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2733 $as_echo_n "checking for $ac_word... " >&6; }
   2734 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2735   $as_echo_n "(cached) " >&6
   2736 else
   2737   if test -n "$ac_ct_CC"; then
   2738   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2739 else
   2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2741 for as_dir in $PATH
   2742 do
   2743   IFS=$as_save_IFS
   2744   test -z "$as_dir" && as_dir=.
   2745     for ac_exec_ext in '' $ac_executable_extensions; do
   2746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2747     ac_cv_prog_ac_ct_CC="gcc"
   2748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2749     break 2
   2750   fi
   2751 done
   2752   done
   2753 IFS=$as_save_IFS
   2754 
   2755 fi
   2756 fi
   2757 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2758 if test -n "$ac_ct_CC"; then
   2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2760 $as_echo "$ac_ct_CC" >&6; }
   2761 else
   2762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2763 $as_echo "no" >&6; }
   2764 fi
   2765 
   2766   if test "x$ac_ct_CC" = x; then
   2767     CC=""
   2768   else
   2769     case $cross_compiling:$ac_tool_warned in
   2770 yes:)
   2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2772 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2773 ac_tool_warned=yes ;;
   2774 esac
   2775     CC=$ac_ct_CC
   2776   fi
   2777 else
   2778   CC="$ac_cv_prog_CC"
   2779 fi
   2780 
   2781 if test -z "$CC"; then
   2782           if test -n "$ac_tool_prefix"; then
   2783     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2784 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2786 $as_echo_n "checking for $ac_word... " >&6; }
   2787 if test "${ac_cv_prog_CC+set}" = set; then :
   2788   $as_echo_n "(cached) " >&6
   2789 else
   2790   if test -n "$CC"; then
   2791   ac_cv_prog_CC="$CC" # Let the user override the test.
   2792 else
   2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2794 for as_dir in $PATH
   2795 do
   2796   IFS=$as_save_IFS
   2797   test -z "$as_dir" && as_dir=.
   2798     for ac_exec_ext in '' $ac_executable_extensions; do
   2799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2800     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2802     break 2
   2803   fi
   2804 done
   2805   done
   2806 IFS=$as_save_IFS
   2807 
   2808 fi
   2809 fi
   2810 CC=$ac_cv_prog_CC
   2811 if test -n "$CC"; then
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2813 $as_echo "$CC" >&6; }
   2814 else
   2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2816 $as_echo "no" >&6; }
   2817 fi
   2818 
   2819 
   2820   fi
   2821 fi
   2822 if test -z "$CC"; then
   2823   # Extract the first word of "cc", so it can be a program name with args.
   2824 set dummy cc; ac_word=$2
   2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2826 $as_echo_n "checking for $ac_word... " >&6; }
   2827 if test "${ac_cv_prog_CC+set}" = set; then :
   2828   $as_echo_n "(cached) " >&6
   2829 else
   2830   if test -n "$CC"; then
   2831   ac_cv_prog_CC="$CC" # Let the user override the test.
   2832 else
   2833   ac_prog_rejected=no
   2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2835 for as_dir in $PATH
   2836 do
   2837   IFS=$as_save_IFS
   2838   test -z "$as_dir" && as_dir=.
   2839     for ac_exec_ext in '' $ac_executable_extensions; do
   2840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2841     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2842        ac_prog_rejected=yes
   2843        continue
   2844      fi
   2845     ac_cv_prog_CC="cc"
   2846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2847     break 2
   2848   fi
   2849 done
   2850   done
   2851 IFS=$as_save_IFS
   2852 
   2853 if test $ac_prog_rejected = yes; then
   2854   # We found a bogon in the path, so make sure we never use it.
   2855   set dummy $ac_cv_prog_CC
   2856   shift
   2857   if test $# != 0; then
   2858     # We chose a different compiler from the bogus one.
   2859     # However, it has the same basename, so the bogon will be chosen
   2860     # first if we set CC to just the basename; use the full file name.
   2861     shift
   2862     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2863   fi
   2864 fi
   2865 fi
   2866 fi
   2867 CC=$ac_cv_prog_CC
   2868 if test -n "$CC"; then
   2869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2870 $as_echo "$CC" >&6; }
   2871 else
   2872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2873 $as_echo "no" >&6; }
   2874 fi
   2875 
   2876 
   2877 fi
   2878 if test -z "$CC"; then
   2879   if test -n "$ac_tool_prefix"; then
   2880   for ac_prog in cl.exe
   2881   do
   2882     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2885 $as_echo_n "checking for $ac_word... " >&6; }
   2886 if test "${ac_cv_prog_CC+set}" = set; then :
   2887   $as_echo_n "(cached) " >&6
   2888 else
   2889   if test -n "$CC"; then
   2890   ac_cv_prog_CC="$CC" # Let the user override the test.
   2891 else
   2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2893 for as_dir in $PATH
   2894 do
   2895   IFS=$as_save_IFS
   2896   test -z "$as_dir" && as_dir=.
   2897     for ac_exec_ext in '' $ac_executable_extensions; do
   2898   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2899     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2900     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2901     break 2
   2902   fi
   2903 done
   2904   done
   2905 IFS=$as_save_IFS
   2906 
   2907 fi
   2908 fi
   2909 CC=$ac_cv_prog_CC
   2910 if test -n "$CC"; then
   2911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2912 $as_echo "$CC" >&6; }
   2913 else
   2914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2915 $as_echo "no" >&6; }
   2916 fi
   2917 
   2918 
   2919     test -n "$CC" && break
   2920   done
   2921 fi
   2922 if test -z "$CC"; then
   2923   ac_ct_CC=$CC
   2924   for ac_prog in cl.exe
   2925 do
   2926   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2927 set dummy $ac_prog; ac_word=$2
   2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2929 $as_echo_n "checking for $ac_word... " >&6; }
   2930 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2931   $as_echo_n "(cached) " >&6
   2932 else
   2933   if test -n "$ac_ct_CC"; then
   2934   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2935 else
   2936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2937 for as_dir in $PATH
   2938 do
   2939   IFS=$as_save_IFS
   2940   test -z "$as_dir" && as_dir=.
   2941     for ac_exec_ext in '' $ac_executable_extensions; do
   2942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2943     ac_cv_prog_ac_ct_CC="$ac_prog"
   2944     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2945     break 2
   2946   fi
   2947 done
   2948   done
   2949 IFS=$as_save_IFS
   2950 
   2951 fi
   2952 fi
   2953 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2954 if test -n "$ac_ct_CC"; then
   2955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2956 $as_echo "$ac_ct_CC" >&6; }
   2957 else
   2958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2959 $as_echo "no" >&6; }
   2960 fi
   2961 
   2962 
   2963   test -n "$ac_ct_CC" && break
   2964 done
   2965 
   2966   if test "x$ac_ct_CC" = x; then
   2967     CC=""
   2968   else
   2969     case $cross_compiling:$ac_tool_warned in
   2970 yes:)
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2973 ac_tool_warned=yes ;;
   2974 esac
   2975     CC=$ac_ct_CC
   2976   fi
   2977 fi
   2978 
   2979 fi
   2980 
   2981 
   2982 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2984 as_fn_error "no acceptable C compiler found in \$PATH
   2985 See \`config.log' for more details." "$LINENO" 5; }
   2986 
   2987 # Provide some information about the compiler.
   2988 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2989 set X $ac_compile
   2990 ac_compiler=$2
   2991 for ac_option in --version -v -V -qversion; do
   2992   { { ac_try="$ac_compiler $ac_option >&5"
   2993 case "(($ac_try" in
   2994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2995   *) ac_try_echo=$ac_try;;
   2996 esac
   2997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2998 $as_echo "$ac_try_echo"; } >&5
   2999   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3000   ac_status=$?
   3001   if test -s conftest.err; then
   3002     sed '10a\
   3003 ... rest of stderr output deleted ...
   3004          10q' conftest.err >conftest.er1
   3005     cat conftest.er1 >&5
   3006     rm -f conftest.er1 conftest.err
   3007   fi
   3008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3009   test $ac_status = 0; }
   3010 done
   3011 
   3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3013 /* end confdefs.h.  */
   3014 
   3015 int
   3016 main ()
   3017 {
   3018 
   3019   ;
   3020   return 0;
   3021 }
   3022 _ACEOF
   3023 ac_clean_files_save=$ac_clean_files
   3024 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   3025 # Try to create an executable without -o first, disregard a.out.
   3026 # It will help us diagnose broken compilers, and finding out an intuition
   3027 # of exeext.
   3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3029 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3030 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3031 
   3032 # The possible output files:
   3033 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3034 
   3035 ac_rmfiles=
   3036 for ac_file in $ac_files
   3037 do
   3038   case $ac_file in
   3039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3040     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3041   esac
   3042 done
   3043 rm -f $ac_rmfiles
   3044 
   3045 if { { ac_try="$ac_link_default"
   3046 case "(($ac_try" in
   3047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3048   *) ac_try_echo=$ac_try;;
   3049 esac
   3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3051 $as_echo "$ac_try_echo"; } >&5
   3052   (eval "$ac_link_default") 2>&5
   3053   ac_status=$?
   3054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3055   test $ac_status = 0; }; then :
   3056   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3057 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3058 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3059 # so that the user can short-circuit this test for compilers unknown to
   3060 # Autoconf.
   3061 for ac_file in $ac_files ''
   3062 do
   3063   test -f "$ac_file" || continue
   3064   case $ac_file in
   3065     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3066 	;;
   3067     [ab].out )
   3068 	# We found the default executable, but exeext='' is most
   3069 	# certainly right.
   3070 	break;;
   3071     *.* )
   3072 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3073 	then :; else
   3074 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3075 	fi
   3076 	# We set ac_cv_exeext here because the later test for it is not
   3077 	# safe: cross compilers may not add the suffix if given an `-o'
   3078 	# argument, so we may need to know it at that point already.
   3079 	# Even if this section looks crufty: it has the advantage of
   3080 	# actually working.
   3081 	break;;
   3082     * )
   3083 	break;;
   3084   esac
   3085 done
   3086 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3087 
   3088 else
   3089   ac_file=''
   3090 fi
   3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3092 $as_echo "$ac_file" >&6; }
   3093 if test -z "$ac_file"; then :
   3094   $as_echo "$as_me: failed program was:" >&5
   3095 sed 's/^/| /' conftest.$ac_ext >&5
   3096 
   3097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3099 { as_fn_set_status 77
   3100 as_fn_error "C compiler cannot create executables
   3101 See \`config.log' for more details." "$LINENO" 5; }; }
   3102 fi
   3103 ac_exeext=$ac_cv_exeext
   3104 
   3105 # Check that the compiler produces executables we can run.  If not, either
   3106 # the compiler is broken, or we cross compile.
   3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3108 $as_echo_n "checking whether the C compiler works... " >&6; }
   3109 # If not cross compiling, check that we can run a simple program.
   3110 if test "$cross_compiling" != yes; then
   3111   if { ac_try='./$ac_file'
   3112   { { case "(($ac_try" in
   3113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3114   *) ac_try_echo=$ac_try;;
   3115 esac
   3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3117 $as_echo "$ac_try_echo"; } >&5
   3118   (eval "$ac_try") 2>&5
   3119   ac_status=$?
   3120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3121   test $ac_status = 0; }; }; then
   3122     cross_compiling=no
   3123   else
   3124     if test "$cross_compiling" = maybe; then
   3125 	cross_compiling=yes
   3126     else
   3127 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3129 as_fn_error "cannot run C compiled programs.
   3130 If you meant to cross compile, use \`--host'.
   3131 See \`config.log' for more details." "$LINENO" 5; }
   3132     fi
   3133   fi
   3134 fi
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3136 $as_echo "yes" >&6; }
   3137 
   3138 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   3139 ac_clean_files=$ac_clean_files_save
   3140 # Check that the compiler produces executables we can run.  If not, either
   3141 # the compiler is broken, or we cross compile.
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3143 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3145 $as_echo "$cross_compiling" >&6; }
   3146 
   3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3148 $as_echo_n "checking for suffix of executables... " >&6; }
   3149 if { { ac_try="$ac_link"
   3150 case "(($ac_try" in
   3151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3152   *) ac_try_echo=$ac_try;;
   3153 esac
   3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3155 $as_echo "$ac_try_echo"; } >&5
   3156   (eval "$ac_link") 2>&5
   3157   ac_status=$?
   3158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3159   test $ac_status = 0; }; then :
   3160   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3161 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3162 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3163 # `rm'.
   3164 for ac_file in conftest.exe conftest conftest.*; do
   3165   test -f "$ac_file" || continue
   3166   case $ac_file in
   3167     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3168     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3169 	  break;;
   3170     * ) break;;
   3171   esac
   3172 done
   3173 else
   3174   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3176 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3177 See \`config.log' for more details." "$LINENO" 5; }
   3178 fi
   3179 rm -f conftest$ac_cv_exeext
   3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3181 $as_echo "$ac_cv_exeext" >&6; }
   3182 
   3183 rm -f conftest.$ac_ext
   3184 EXEEXT=$ac_cv_exeext
   3185 ac_exeext=$EXEEXT
   3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3187 $as_echo_n "checking for suffix of object files... " >&6; }
   3188 if test "${ac_cv_objext+set}" = set; then :
   3189   $as_echo_n "(cached) " >&6
   3190 else
   3191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3192 /* end confdefs.h.  */
   3193 
   3194 int
   3195 main ()
   3196 {
   3197 
   3198   ;
   3199   return 0;
   3200 }
   3201 _ACEOF
   3202 rm -f conftest.o conftest.obj
   3203 if { { ac_try="$ac_compile"
   3204 case "(($ac_try" in
   3205   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3206   *) ac_try_echo=$ac_try;;
   3207 esac
   3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3209 $as_echo "$ac_try_echo"; } >&5
   3210   (eval "$ac_compile") 2>&5
   3211   ac_status=$?
   3212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3213   test $ac_status = 0; }; then :
   3214   for ac_file in conftest.o conftest.obj conftest.*; do
   3215   test -f "$ac_file" || continue;
   3216   case $ac_file in
   3217     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3218     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3219        break;;
   3220   esac
   3221 done
   3222 else
   3223   $as_echo "$as_me: failed program was:" >&5
   3224 sed 's/^/| /' conftest.$ac_ext >&5
   3225 
   3226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3228 as_fn_error "cannot compute suffix of object files: cannot compile
   3229 See \`config.log' for more details." "$LINENO" 5; }
   3230 fi
   3231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3232 fi
   3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3234 $as_echo "$ac_cv_objext" >&6; }
   3235 OBJEXT=$ac_cv_objext
   3236 ac_objext=$OBJEXT
   3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3239 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3240   $as_echo_n "(cached) " >&6
   3241 else
   3242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3243 /* end confdefs.h.  */
   3244 
   3245 int
   3246 main ()
   3247 {
   3248 #ifndef __GNUC__
   3249        choke me
   3250 #endif
   3251 
   3252   ;
   3253   return 0;
   3254 }
   3255 _ACEOF
   3256 if ac_fn_c_try_compile "$LINENO"; then :
   3257   ac_compiler_gnu=yes
   3258 else
   3259   ac_compiler_gnu=no
   3260 fi
   3261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3262 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3263 
   3264 fi
   3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3266 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3267 if test $ac_compiler_gnu = yes; then
   3268   GCC=yes
   3269 else
   3270   GCC=
   3271 fi
   3272 ac_test_CFLAGS=${CFLAGS+set}
   3273 ac_save_CFLAGS=$CFLAGS
   3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3275 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3276 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3277   $as_echo_n "(cached) " >&6
   3278 else
   3279   ac_save_c_werror_flag=$ac_c_werror_flag
   3280    ac_c_werror_flag=yes
   3281    ac_cv_prog_cc_g=no
   3282    CFLAGS="-g"
   3283    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3284 /* end confdefs.h.  */
   3285 
   3286 int
   3287 main ()
   3288 {
   3289 
   3290   ;
   3291   return 0;
   3292 }
   3293 _ACEOF
   3294 if ac_fn_c_try_compile "$LINENO"; then :
   3295   ac_cv_prog_cc_g=yes
   3296 else
   3297   CFLAGS=""
   3298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3299 /* end confdefs.h.  */
   3300 
   3301 int
   3302 main ()
   3303 {
   3304 
   3305   ;
   3306   return 0;
   3307 }
   3308 _ACEOF
   3309 if ac_fn_c_try_compile "$LINENO"; then :
   3310 
   3311 else
   3312   ac_c_werror_flag=$ac_save_c_werror_flag
   3313 	 CFLAGS="-g"
   3314 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3315 /* end confdefs.h.  */
   3316 
   3317 int
   3318 main ()
   3319 {
   3320 
   3321   ;
   3322   return 0;
   3323 }
   3324 _ACEOF
   3325 if ac_fn_c_try_compile "$LINENO"; then :
   3326   ac_cv_prog_cc_g=yes
   3327 fi
   3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3329 fi
   3330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3331 fi
   3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3333    ac_c_werror_flag=$ac_save_c_werror_flag
   3334 fi
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3336 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3337 if test "$ac_test_CFLAGS" = set; then
   3338   CFLAGS=$ac_save_CFLAGS
   3339 elif test $ac_cv_prog_cc_g = yes; then
   3340   if test "$GCC" = yes; then
   3341     CFLAGS="-g -O2"
   3342   else
   3343     CFLAGS="-g"
   3344   fi
   3345 else
   3346   if test "$GCC" = yes; then
   3347     CFLAGS="-O2"
   3348   else
   3349     CFLAGS=
   3350   fi
   3351 fi
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3353 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3354 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3355   $as_echo_n "(cached) " >&6
   3356 else
   3357   ac_cv_prog_cc_c89=no
   3358 ac_save_CC=$CC
   3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3360 /* end confdefs.h.  */
   3361 #include <stdarg.h>
   3362 #include <stdio.h>
   3363 #include <sys/types.h>
   3364 #include <sys/stat.h>
   3365 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3366 struct buf { int x; };
   3367 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3368 static char *e (p, i)
   3369      char **p;
   3370      int i;
   3371 {
   3372   return p[i];
   3373 }
   3374 static char *f (char * (*g) (char **, int), char **p, ...)
   3375 {
   3376   char *s;
   3377   va_list v;
   3378   va_start (v,p);
   3379   s = g (p, va_arg (v,int));
   3380   va_end (v);
   3381   return s;
   3382 }
   3383 
   3384 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3385    function prototypes and stuff, but not '\xHH' hex character constants.
   3386    These don't provoke an error unfortunately, instead are silently treated
   3387    as 'x'.  The following induces an error, until -std is added to get
   3388    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3389    array size at least.  It's necessary to write '\x00'==0 to get something
   3390    that's true only with -std.  */
   3391 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3392 
   3393 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3394    inside strings and character constants.  */
   3395 #define FOO(x) 'x'
   3396 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3397 
   3398 int test (int i, double x);
   3399 struct s1 {int (*f) (int a);};
   3400 struct s2 {int (*f) (double a);};
   3401 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3402 int argc;
   3403 char **argv;
   3404 int
   3405 main ()
   3406 {
   3407 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3408   ;
   3409   return 0;
   3410 }
   3411 _ACEOF
   3412 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3413 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3414 do
   3415   CC="$ac_save_CC $ac_arg"
   3416   if ac_fn_c_try_compile "$LINENO"; then :
   3417   ac_cv_prog_cc_c89=$ac_arg
   3418 fi
   3419 rm -f core conftest.err conftest.$ac_objext
   3420   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3421 done
   3422 rm -f conftest.$ac_ext
   3423 CC=$ac_save_CC
   3424 
   3425 fi
   3426 # AC_CACHE_VAL
   3427 case "x$ac_cv_prog_cc_c89" in
   3428   x)
   3429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3430 $as_echo "none needed" >&6; } ;;
   3431   xno)
   3432     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3433 $as_echo "unsupported" >&6; } ;;
   3434   *)
   3435     CC="$CC $ac_cv_prog_cc_c89"
   3436     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3437 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3438 esac
   3439 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3440 
   3441 fi
   3442 
   3443 ac_ext=c
   3444 ac_cpp='$CPP $CPPFLAGS'
   3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3448 
   3449 
   3450 ac_ext=c
   3451 ac_cpp='$CPP $CPPFLAGS'
   3452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3456 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3457 # On Suns, sometimes $CPP names a directory.
   3458 if test -n "$CPP" && test -d "$CPP"; then
   3459   CPP=
   3460 fi
   3461 if test -z "$CPP"; then
   3462   if test "${ac_cv_prog_CPP+set}" = set; then :
   3463   $as_echo_n "(cached) " >&6
   3464 else
   3465       # Double quotes because CPP needs to be expanded
   3466     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3467     do
   3468       ac_preproc_ok=false
   3469 for ac_c_preproc_warn_flag in '' yes
   3470 do
   3471   # Use a header file that comes with gcc, so configuring glibc
   3472   # with a fresh cross-compiler works.
   3473   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3474   # <limits.h> exists even on freestanding compilers.
   3475   # On the NeXT, cc -E runs the code through the compiler's parser,
   3476   # not just through cpp. "Syntax error" is here to catch this case.
   3477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3478 /* end confdefs.h.  */
   3479 #ifdef __STDC__
   3480 # include <limits.h>
   3481 #else
   3482 # include <assert.h>
   3483 #endif
   3484 		     Syntax error
   3485 _ACEOF
   3486 if ac_fn_c_try_cpp "$LINENO"; then :
   3487 
   3488 else
   3489   # Broken: fails on valid input.
   3490 continue
   3491 fi
   3492 rm -f conftest.err conftest.$ac_ext
   3493 
   3494   # OK, works on sane cases.  Now check whether nonexistent headers
   3495   # can be detected and how.
   3496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3497 /* end confdefs.h.  */
   3498 #include <ac_nonexistent.h>
   3499 _ACEOF
   3500 if ac_fn_c_try_cpp "$LINENO"; then :
   3501   # Broken: success on invalid input.
   3502 continue
   3503 else
   3504   # Passes both tests.
   3505 ac_preproc_ok=:
   3506 break
   3507 fi
   3508 rm -f conftest.err conftest.$ac_ext
   3509 
   3510 done
   3511 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3512 rm -f conftest.err conftest.$ac_ext
   3513 if $ac_preproc_ok; then :
   3514   break
   3515 fi
   3516 
   3517     done
   3518     ac_cv_prog_CPP=$CPP
   3519 
   3520 fi
   3521   CPP=$ac_cv_prog_CPP
   3522 else
   3523   ac_cv_prog_CPP=$CPP
   3524 fi
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3526 $as_echo "$CPP" >&6; }
   3527 ac_preproc_ok=false
   3528 for ac_c_preproc_warn_flag in '' yes
   3529 do
   3530   # Use a header file that comes with gcc, so configuring glibc
   3531   # with a fresh cross-compiler works.
   3532   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3533   # <limits.h> exists even on freestanding compilers.
   3534   # On the NeXT, cc -E runs the code through the compiler's parser,
   3535   # not just through cpp. "Syntax error" is here to catch this case.
   3536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3537 /* end confdefs.h.  */
   3538 #ifdef __STDC__
   3539 # include <limits.h>
   3540 #else
   3541 # include <assert.h>
   3542 #endif
   3543 		     Syntax error
   3544 _ACEOF
   3545 if ac_fn_c_try_cpp "$LINENO"; then :
   3546 
   3547 else
   3548   # Broken: fails on valid input.
   3549 continue
   3550 fi
   3551 rm -f conftest.err conftest.$ac_ext
   3552 
   3553   # OK, works on sane cases.  Now check whether nonexistent headers
   3554   # can be detected and how.
   3555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3556 /* end confdefs.h.  */
   3557 #include <ac_nonexistent.h>
   3558 _ACEOF
   3559 if ac_fn_c_try_cpp "$LINENO"; then :
   3560   # Broken: success on invalid input.
   3561 continue
   3562 else
   3563   # Passes both tests.
   3564 ac_preproc_ok=:
   3565 break
   3566 fi
   3567 rm -f conftest.err conftest.$ac_ext
   3568 
   3569 done
   3570 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3571 rm -f conftest.err conftest.$ac_ext
   3572 if $ac_preproc_ok; then :
   3573 
   3574 else
   3575   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3577 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   3578 See \`config.log' for more details." "$LINENO" 5; }
   3579 fi
   3580 
   3581 ac_ext=c
   3582 ac_cpp='$CPP $CPPFLAGS'
   3583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3586 
   3587 
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3589 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3590 if test "${ac_cv_path_GREP+set}" = set; then :
   3591   $as_echo_n "(cached) " >&6
   3592 else
   3593   if test -z "$GREP"; then
   3594   ac_path_GREP_found=false
   3595   # Loop through the user's path and test for each of PROGNAME-LIST
   3596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3598 do
   3599   IFS=$as_save_IFS
   3600   test -z "$as_dir" && as_dir=.
   3601     for ac_prog in grep ggrep; do
   3602     for ac_exec_ext in '' $ac_executable_extensions; do
   3603       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3604       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3605 # Check for GNU ac_path_GREP and select it if it is found.
   3606   # Check for GNU $ac_path_GREP
   3607 case `"$ac_path_GREP" --version 2>&1` in
   3608 *GNU*)
   3609   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3610 *)
   3611   ac_count=0
   3612   $as_echo_n 0123456789 >"conftest.in"
   3613   while :
   3614   do
   3615     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3616     mv "conftest.tmp" "conftest.in"
   3617     cp "conftest.in" "conftest.nl"
   3618     $as_echo 'GREP' >> "conftest.nl"
   3619     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3620     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3621     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3622     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3623       # Best one so far, save it but keep looking for a better one
   3624       ac_cv_path_GREP="$ac_path_GREP"
   3625       ac_path_GREP_max=$ac_count
   3626     fi
   3627     # 10*(2^10) chars as input seems more than enough
   3628     test $ac_count -gt 10 && break
   3629   done
   3630   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3631 esac
   3632 
   3633       $ac_path_GREP_found && break 3
   3634     done
   3635   done
   3636   done
   3637 IFS=$as_save_IFS
   3638   if test -z "$ac_cv_path_GREP"; then
   3639     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3640   fi
   3641 else
   3642   ac_cv_path_GREP=$GREP
   3643 fi
   3644 
   3645 fi
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3647 $as_echo "$ac_cv_path_GREP" >&6; }
   3648  GREP="$ac_cv_path_GREP"
   3649 
   3650 
   3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3652 $as_echo_n "checking for egrep... " >&6; }
   3653 if test "${ac_cv_path_EGREP+set}" = set; then :
   3654   $as_echo_n "(cached) " >&6
   3655 else
   3656   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3657    then ac_cv_path_EGREP="$GREP -E"
   3658    else
   3659      if test -z "$EGREP"; then
   3660   ac_path_EGREP_found=false
   3661   # Loop through the user's path and test for each of PROGNAME-LIST
   3662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3663 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3664 do
   3665   IFS=$as_save_IFS
   3666   test -z "$as_dir" && as_dir=.
   3667     for ac_prog in egrep; do
   3668     for ac_exec_ext in '' $ac_executable_extensions; do
   3669       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3670       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3671 # Check for GNU ac_path_EGREP and select it if it is found.
   3672   # Check for GNU $ac_path_EGREP
   3673 case `"$ac_path_EGREP" --version 2>&1` in
   3674 *GNU*)
   3675   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3676 *)
   3677   ac_count=0
   3678   $as_echo_n 0123456789 >"conftest.in"
   3679   while :
   3680   do
   3681     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3682     mv "conftest.tmp" "conftest.in"
   3683     cp "conftest.in" "conftest.nl"
   3684     $as_echo 'EGREP' >> "conftest.nl"
   3685     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3686     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3687     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3688     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3689       # Best one so far, save it but keep looking for a better one
   3690       ac_cv_path_EGREP="$ac_path_EGREP"
   3691       ac_path_EGREP_max=$ac_count
   3692     fi
   3693     # 10*(2^10) chars as input seems more than enough
   3694     test $ac_count -gt 10 && break
   3695   done
   3696   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3697 esac
   3698 
   3699       $ac_path_EGREP_found && break 3
   3700     done
   3701   done
   3702   done
   3703 IFS=$as_save_IFS
   3704   if test -z "$ac_cv_path_EGREP"; then
   3705     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3706   fi
   3707 else
   3708   ac_cv_path_EGREP=$EGREP
   3709 fi
   3710 
   3711    fi
   3712 fi
   3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3714 $as_echo "$ac_cv_path_EGREP" >&6; }
   3715  EGREP="$ac_cv_path_EGREP"
   3716 
   3717 
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3719 $as_echo_n "checking for ANSI C header files... " >&6; }
   3720 if test "${ac_cv_header_stdc+set}" = set; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3724 /* end confdefs.h.  */
   3725 #include <stdlib.h>
   3726 #include <stdarg.h>
   3727 #include <string.h>
   3728 #include <float.h>
   3729 
   3730 int
   3731 main ()
   3732 {
   3733 
   3734   ;
   3735   return 0;
   3736 }
   3737 _ACEOF
   3738 if ac_fn_c_try_compile "$LINENO"; then :
   3739   ac_cv_header_stdc=yes
   3740 else
   3741   ac_cv_header_stdc=no
   3742 fi
   3743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3744 
   3745 if test $ac_cv_header_stdc = yes; then
   3746   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3748 /* end confdefs.h.  */
   3749 #include <string.h>
   3750 
   3751 _ACEOF
   3752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3753   $EGREP "memchr" >/dev/null 2>&1; then :
   3754 
   3755 else
   3756   ac_cv_header_stdc=no
   3757 fi
   3758 rm -f conftest*
   3759 
   3760 fi
   3761 
   3762 if test $ac_cv_header_stdc = yes; then
   3763   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3764   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3765 /* end confdefs.h.  */
   3766 #include <stdlib.h>
   3767 
   3768 _ACEOF
   3769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3770   $EGREP "free" >/dev/null 2>&1; then :
   3771 
   3772 else
   3773   ac_cv_header_stdc=no
   3774 fi
   3775 rm -f conftest*
   3776 
   3777 fi
   3778 
   3779 if test $ac_cv_header_stdc = yes; then
   3780   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3781   if test "$cross_compiling" = yes; then :
   3782   :
   3783 else
   3784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3785 /* end confdefs.h.  */
   3786 #include <ctype.h>
   3787 #include <stdlib.h>
   3788 #if ((' ' & 0x0FF) == 0x020)
   3789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3791 #else
   3792 # define ISLOWER(c) \
   3793 		   (('a' <= (c) && (c) <= 'i') \
   3794 		     || ('j' <= (c) && (c) <= 'r') \
   3795 		     || ('s' <= (c) && (c) <= 'z'))
   3796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3797 #endif
   3798 
   3799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3800 int
   3801 main ()
   3802 {
   3803   int i;
   3804   for (i = 0; i < 256; i++)
   3805     if (XOR (islower (i), ISLOWER (i))
   3806 	|| toupper (i) != TOUPPER (i))
   3807       return 2;
   3808   return 0;
   3809 }
   3810 _ACEOF
   3811 if ac_fn_c_try_run "$LINENO"; then :
   3812 
   3813 else
   3814   ac_cv_header_stdc=no
   3815 fi
   3816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3817   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3818 fi
   3819 
   3820 fi
   3821 fi
   3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3823 $as_echo "$ac_cv_header_stdc" >&6; }
   3824 if test $ac_cv_header_stdc = yes; then
   3825 
   3826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3827 
   3828 fi
   3829 
   3830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3832 		  inttypes.h stdint.h unistd.h
   3833 do :
   3834   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3836 "
   3837 eval as_val=\$$as_ac_Header
   3838    if test "x$as_val" = x""yes; then :
   3839   cat >>confdefs.h <<_ACEOF
   3840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3841 _ACEOF
   3842 
   3843 fi
   3844 
   3845 done
   3846 
   3847 
   3848 
   3849   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3850 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
   3851   MINIX=yes
   3852 else
   3853   MINIX=
   3854 fi
   3855 
   3856 
   3857   if test "$MINIX" = yes; then
   3858 
   3859 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3860 
   3861 
   3862 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3863 
   3864 
   3865 $as_echo "#define _MINIX 1" >>confdefs.h
   3866 
   3867   fi
   3868 
   3869 
   3870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3871 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3872 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
   3873   $as_echo_n "(cached) " >&6
   3874 else
   3875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3876 /* end confdefs.h.  */
   3877 
   3878 #	  define __EXTENSIONS__ 1
   3879 	  $ac_includes_default
   3880 int
   3881 main ()
   3882 {
   3883 
   3884   ;
   3885   return 0;
   3886 }
   3887 _ACEOF
   3888 if ac_fn_c_try_compile "$LINENO"; then :
   3889   ac_cv_safe_to_define___extensions__=yes
   3890 else
   3891   ac_cv_safe_to_define___extensions__=no
   3892 fi
   3893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3894 fi
   3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3896 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3897   test $ac_cv_safe_to_define___extensions__ = yes &&
   3898     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3899 
   3900   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3901 
   3902   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3903 
   3904   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3905 
   3906   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3907 
   3908 
   3909 
   3910 # Do not delete or change the following two lines.  For why, see
   3911 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
   3912 ac_aux_dir=
   3913 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   3914   for ac_t in install-sh install.sh shtool; do
   3915     if test -f "$ac_dir/$ac_t"; then
   3916       ac_aux_dir=$ac_dir
   3917       ac_install_sh="$ac_aux_dir/$ac_t -c"
   3918       break 2
   3919     fi
   3920   done
   3921 done
   3922 if test -z "$ac_aux_dir"; then
   3923   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   3924 fi
   3925 
   3926 # These three variables are undocumented and unsupported,
   3927 # and are intended to be withdrawn in a future Autoconf release.
   3928 # They can cause serious problems if a builder's source tree is in a directory
   3929 # whose full name contains unusual characters.
   3930 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   3931 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   3932 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   3933 
   3934 
   3935 # Make sure we can run config.sub.
   3936 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3937   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3938 
   3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3940 $as_echo_n "checking build system type... " >&6; }
   3941 if test "${ac_cv_build+set}" = set; then :
   3942   $as_echo_n "(cached) " >&6
   3943 else
   3944   ac_build_alias=$build_alias
   3945 test "x$ac_build_alias" = x &&
   3946   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3947 test "x$ac_build_alias" = x &&
   3948   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   3949 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3950   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3951 
   3952 fi
   3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3954 $as_echo "$ac_cv_build" >&6; }
   3955 case $ac_cv_build in
   3956 *-*-*) ;;
   3957 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   3958 esac
   3959 build=$ac_cv_build
   3960 ac_save_IFS=$IFS; IFS='-'
   3961 set x $ac_cv_build
   3962 shift
   3963 build_cpu=$1
   3964 build_vendor=$2
   3965 shift; shift
   3966 # Remember, the first character of IFS is used to create $*,
   3967 # except with old shells:
   3968 build_os=$*
   3969 IFS=$ac_save_IFS
   3970 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3971 
   3972 
   3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3974 $as_echo_n "checking host system type... " >&6; }
   3975 if test "${ac_cv_host+set}" = set; then :
   3976   $as_echo_n "(cached) " >&6
   3977 else
   3978   if test "x$host_alias" = x; then
   3979   ac_cv_host=$ac_cv_build
   3980 else
   3981   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3982     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3983 fi
   3984 
   3985 fi
   3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3987 $as_echo "$ac_cv_host" >&6; }
   3988 case $ac_cv_host in
   3989 *-*-*) ;;
   3990 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   3991 esac
   3992 host=$ac_cv_host
   3993 ac_save_IFS=$IFS; IFS='-'
   3994 set x $ac_cv_host
   3995 shift
   3996 host_cpu=$1
   3997 host_vendor=$2
   3998 shift; shift
   3999 # Remember, the first character of IFS is used to create $*,
   4000 # except with old shells:
   4001 host_os=$*
   4002 IFS=$ac_save_IFS
   4003 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4004 
   4005 
   4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   4007 $as_echo_n "checking target system type... " >&6; }
   4008 if test "${ac_cv_target+set}" = set; then :
   4009   $as_echo_n "(cached) " >&6
   4010 else
   4011   if test "x$target_alias" = x; then
   4012   ac_cv_target=$ac_cv_host
   4013 else
   4014   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   4015     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   4016 fi
   4017 
   4018 fi
   4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   4020 $as_echo "$ac_cv_target" >&6; }
   4021 case $ac_cv_target in
   4022 *-*-*) ;;
   4023 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
   4024 esac
   4025 target=$ac_cv_target
   4026 ac_save_IFS=$IFS; IFS='-'
   4027 set x $ac_cv_target
   4028 shift
   4029 target_cpu=$1
   4030 target_vendor=$2
   4031 shift; shift
   4032 # Remember, the first character of IFS is used to create $*,
   4033 # except with old shells:
   4034 target_os=$*
   4035 IFS=$ac_save_IFS
   4036 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   4037 
   4038 
   4039 # The aliases save the names the user supplied, while $host etc.
   4040 # will get canonicalized.
   4041 test -n "$target_alias" &&
   4042   test "$program_prefix$program_suffix$program_transform_name" = \
   4043     NONENONEs,x,x, &&
   4044   program_prefix=${target_alias}-
   4045 
   4046 target_alias=${target_alias-$host_alias}
   4047 
   4048  case ${build_alias} in
   4049   "") build_noncanonical=${build} ;;
   4050   *) build_noncanonical=${build_alias} ;;
   4051 esac
   4052 
   4053  case ${host_alias} in
   4054   "") host_noncanonical=${build_noncanonical} ;;
   4055   *) host_noncanonical=${host_alias} ;;
   4056 esac
   4057 
   4058  case ${target_alias} in
   4059   "") target_noncanonical=${host_noncanonical} ;;
   4060   *) target_noncanonical=${target_alias} ;;
   4061 esac
   4062 
   4063 
   4064 
   4065 
   4066 
   4067   LIBSTDCXX_RAW_CXX_CXXFLAGS="\
   4068     -I\$(top_builddir)/../libstdc++-v3/include \
   4069     -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
   4070     -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
   4071   LIBSTDCXX_RAW_CXX_LDFLAGS="\
   4072     \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
   4073 
   4074 
   4075 
   4076 
   4077 am__api_version='1.11'
   4078 
   4079 # Find a good install program.  We prefer a C program (faster),
   4080 # so one script is as good as another.  But avoid the broken or
   4081 # incompatible versions:
   4082 # SysV /etc/install, /usr/sbin/install
   4083 # SunOS /usr/etc/install
   4084 # IRIX /sbin/install
   4085 # AIX /bin/install
   4086 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4087 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4088 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4089 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4090 # OS/2's system install, which has a completely different semantic
   4091 # ./install, which can be erroneously created by make from ./install.sh.
   4092 # Reject install programs that cannot install multiple files.
   4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4094 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4095 if test -z "$INSTALL"; then
   4096 if test "${ac_cv_path_install+set}" = set; then :
   4097   $as_echo_n "(cached) " >&6
   4098 else
   4099   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4100 for as_dir in $PATH
   4101 do
   4102   IFS=$as_save_IFS
   4103   test -z "$as_dir" && as_dir=.
   4104     # Account for people who put trailing slashes in PATH elements.
   4105 case $as_dir/ in #((
   4106   ./ | .// | /[cC]/* | \
   4107   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4108   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4109   /usr/ucb/* ) ;;
   4110   *)
   4111     # OSF1 and SCO ODT 3.0 have their own names for install.
   4112     # Don't use installbsd from OSF since it installs stuff as root
   4113     # by default.
   4114     for ac_prog in ginstall scoinst install; do
   4115       for ac_exec_ext in '' $ac_executable_extensions; do
   4116 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   4117 	  if test $ac_prog = install &&
   4118 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4119 	    # AIX install.  It has an incompatible calling convention.
   4120 	    :
   4121 	  elif test $ac_prog = install &&
   4122 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4123 	    # program-specific install script used by HP pwplus--don't use.
   4124 	    :
   4125 	  else
   4126 	    rm -rf conftest.one conftest.two conftest.dir
   4127 	    echo one > conftest.one
   4128 	    echo two > conftest.two
   4129 	    mkdir conftest.dir
   4130 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4131 	      test -s conftest.one && test -s conftest.two &&
   4132 	      test -s conftest.dir/conftest.one &&
   4133 	      test -s conftest.dir/conftest.two
   4134 	    then
   4135 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4136 	      break 3
   4137 	    fi
   4138 	  fi
   4139 	fi
   4140       done
   4141     done
   4142     ;;
   4143 esac
   4144 
   4145   done
   4146 IFS=$as_save_IFS
   4147 
   4148 rm -rf conftest.one conftest.two conftest.dir
   4149 
   4150 fi
   4151   if test "${ac_cv_path_install+set}" = set; then
   4152     INSTALL=$ac_cv_path_install
   4153   else
   4154     # As a last resort, use the slow shell script.  Don't cache a
   4155     # value for INSTALL within a source directory, because that will
   4156     # break other packages using the cache if that directory is
   4157     # removed, or if the value is a relative name.
   4158     INSTALL=$ac_install_sh
   4159   fi
   4160 fi
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4162 $as_echo "$INSTALL" >&6; }
   4163 
   4164 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4165 # It thinks the first close brace ends the variable substitution.
   4166 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4167 
   4168 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4169 
   4170 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4171 
   4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4173 $as_echo_n "checking whether build environment is sane... " >&6; }
   4174 # Just in case
   4175 sleep 1
   4176 echo timestamp > conftest.file
   4177 # Reject unsafe characters in $srcdir or the absolute working directory
   4178 # name.  Accept space and tab only in the latter.
   4179 am_lf='
   4180 '
   4181 case `pwd` in
   4182   *[\\\"\#\$\&\'\`$am_lf]*)
   4183     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   4184 esac
   4185 case $srcdir in
   4186   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4187     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   4188 esac
   4189 
   4190 # Do `set' in a subshell so we don't clobber the current shell's
   4191 # arguments.  Must try -L first in case configure is actually a
   4192 # symlink; some systems play weird games with the mod time of symlinks
   4193 # (eg FreeBSD returns the mod time of the symlink's containing
   4194 # directory).
   4195 if (
   4196    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4197    if test "$*" = "X"; then
   4198       # -L didn't work.
   4199       set X `ls -t "$srcdir/configure" conftest.file`
   4200    fi
   4201    rm -f conftest.file
   4202    if test "$*" != "X $srcdir/configure conftest.file" \
   4203       && test "$*" != "X conftest.file $srcdir/configure"; then
   4204 
   4205       # If neither matched, then we have a broken ls.  This can happen
   4206       # if, for instance, CONFIG_SHELL is bash and it inherits a
   4207       # broken ls alias from the environment.  This has actually
   4208       # happened.  Such a system could not be considered "sane".
   4209       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   4210 alias in your environment" "$LINENO" 5
   4211    fi
   4212 
   4213    test "$2" = conftest.file
   4214    )
   4215 then
   4216    # Ok.
   4217    :
   4218 else
   4219    as_fn_error "newly created file is older than distributed files!
   4220 Check your system clock" "$LINENO" 5
   4221 fi
   4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4223 $as_echo "yes" >&6; }
   4224 test "$program_prefix" != NONE &&
   4225   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4226 # Use a double $ so make ignores it.
   4227 test "$program_suffix" != NONE &&
   4228   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4229 # Double any \ or $.
   4230 # By default was `s,x,x', remove it if useless.
   4231 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4232 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4233 
   4234 # expand $ac_aux_dir to an absolute path
   4235 am_aux_dir=`cd $ac_aux_dir && pwd`
   4236 
   4237 if test x"${MISSING+set}" != xset; then
   4238   case $am_aux_dir in
   4239   *\ * | *\	*)
   4240     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4241   *)
   4242     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4243   esac
   4244 fi
   4245 # Use eval to expand $SHELL
   4246 if eval "$MISSING --run true"; then
   4247   am_missing_run="$MISSING --run "
   4248 else
   4249   am_missing_run=
   4250   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   4251 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   4252 fi
   4253 
   4254 if test x"${install_sh}" != xset; then
   4255   case $am_aux_dir in
   4256   *\ * | *\	*)
   4257     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4258   *)
   4259     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4260   esac
   4261 fi
   4262 
   4263 # Installed binaries are usually stripped using `strip' when the user
   4264 # run `make install-strip'.  However `strip' might not be the right
   4265 # tool to use in cross-compilation environments, therefore Automake
   4266 # will honor the `STRIP' environment variable to overrule this program.
   4267 if test "$cross_compiling" != no; then
   4268   if test -n "$ac_tool_prefix"; then
   4269   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4270 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4272 $as_echo_n "checking for $ac_word... " >&6; }
   4273 if test "${ac_cv_prog_STRIP+set}" = set; then :
   4274   $as_echo_n "(cached) " >&6
   4275 else
   4276   if test -n "$STRIP"; then
   4277   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4278 else
   4279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4280 for as_dir in $PATH
   4281 do
   4282   IFS=$as_save_IFS
   4283   test -z "$as_dir" && as_dir=.
   4284     for ac_exec_ext in '' $ac_executable_extensions; do
   4285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4286     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4288     break 2
   4289   fi
   4290 done
   4291   done
   4292 IFS=$as_save_IFS
   4293 
   4294 fi
   4295 fi
   4296 STRIP=$ac_cv_prog_STRIP
   4297 if test -n "$STRIP"; then
   4298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4299 $as_echo "$STRIP" >&6; }
   4300 else
   4301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4302 $as_echo "no" >&6; }
   4303 fi
   4304 
   4305 
   4306 fi
   4307 if test -z "$ac_cv_prog_STRIP"; then
   4308   ac_ct_STRIP=$STRIP
   4309   # Extract the first word of "strip", so it can be a program name with args.
   4310 set dummy strip; ac_word=$2
   4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4312 $as_echo_n "checking for $ac_word... " >&6; }
   4313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   4314   $as_echo_n "(cached) " >&6
   4315 else
   4316   if test -n "$ac_ct_STRIP"; then
   4317   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4318 else
   4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4320 for as_dir in $PATH
   4321 do
   4322   IFS=$as_save_IFS
   4323   test -z "$as_dir" && as_dir=.
   4324     for ac_exec_ext in '' $ac_executable_extensions; do
   4325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4326     ac_cv_prog_ac_ct_STRIP="strip"
   4327     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4328     break 2
   4329   fi
   4330 done
   4331   done
   4332 IFS=$as_save_IFS
   4333 
   4334 fi
   4335 fi
   4336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4337 if test -n "$ac_ct_STRIP"; then
   4338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4339 $as_echo "$ac_ct_STRIP" >&6; }
   4340 else
   4341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4342 $as_echo "no" >&6; }
   4343 fi
   4344 
   4345   if test "x$ac_ct_STRIP" = x; then
   4346     STRIP=":"
   4347   else
   4348     case $cross_compiling:$ac_tool_warned in
   4349 yes:)
   4350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4352 ac_tool_warned=yes ;;
   4353 esac
   4354     STRIP=$ac_ct_STRIP
   4355   fi
   4356 else
   4357   STRIP="$ac_cv_prog_STRIP"
   4358 fi
   4359 
   4360 fi
   4361 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4362 
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4364 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4365 if test -z "$MKDIR_P"; then
   4366   if test "${ac_cv_path_mkdir+set}" = set; then :
   4367   $as_echo_n "(cached) " >&6
   4368 else
   4369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4370 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4371 do
   4372   IFS=$as_save_IFS
   4373   test -z "$as_dir" && as_dir=.
   4374     for ac_prog in mkdir gmkdir; do
   4375 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4376 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4377 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4378 	     'mkdir (GNU coreutils) '* | \
   4379 	     'mkdir (coreutils) '* | \
   4380 	     'mkdir (fileutils) '4.1*)
   4381 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4382 	       break 3;;
   4383 	   esac
   4384 	 done
   4385        done
   4386   done
   4387 IFS=$as_save_IFS
   4388 
   4389 fi
   4390 
   4391   if test "${ac_cv_path_mkdir+set}" = set; then
   4392     MKDIR_P="$ac_cv_path_mkdir -p"
   4393   else
   4394     # As a last resort, use the slow shell script.  Don't cache a
   4395     # value for MKDIR_P within a source directory, because that will
   4396     # break other packages using the cache if that directory is
   4397     # removed, or if the value is a relative name.
   4398     test -d ./--version && rmdir ./--version
   4399     MKDIR_P="$ac_install_sh -d"
   4400   fi
   4401 fi
   4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4403 $as_echo "$MKDIR_P" >&6; }
   4404 
   4405 mkdir_p="$MKDIR_P"
   4406 case $mkdir_p in
   4407   [\\/$]* | ?:[\\/]*) ;;
   4408   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4409 esac
   4410 
   4411 for ac_prog in gawk mawk nawk awk
   4412 do
   4413   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4414 set dummy $ac_prog; ac_word=$2
   4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4416 $as_echo_n "checking for $ac_word... " >&6; }
   4417 if test "${ac_cv_prog_AWK+set}" = set; then :
   4418   $as_echo_n "(cached) " >&6
   4419 else
   4420   if test -n "$AWK"; then
   4421   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4422 else
   4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4424 for as_dir in $PATH
   4425 do
   4426   IFS=$as_save_IFS
   4427   test -z "$as_dir" && as_dir=.
   4428     for ac_exec_ext in '' $ac_executable_extensions; do
   4429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4430     ac_cv_prog_AWK="$ac_prog"
   4431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4432     break 2
   4433   fi
   4434 done
   4435   done
   4436 IFS=$as_save_IFS
   4437 
   4438 fi
   4439 fi
   4440 AWK=$ac_cv_prog_AWK
   4441 if test -n "$AWK"; then
   4442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4443 $as_echo "$AWK" >&6; }
   4444 else
   4445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4446 $as_echo "no" >&6; }
   4447 fi
   4448 
   4449 
   4450   test -n "$AWK" && break
   4451 done
   4452 
   4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4454 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4455 set x ${MAKE-make}
   4456 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4457 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   4458   $as_echo_n "(cached) " >&6
   4459 else
   4460   cat >conftest.make <<\_ACEOF
   4461 SHELL = /bin/sh
   4462 all:
   4463 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4464 _ACEOF
   4465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   4466 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4467   *@@@%%%=?*=@@@%%%*)
   4468     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4469   *)
   4470     eval ac_cv_prog_make_${ac_make}_set=no;;
   4471 esac
   4472 rm -f conftest.make
   4473 fi
   4474 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4476 $as_echo "yes" >&6; }
   4477   SET_MAKE=
   4478 else
   4479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4480 $as_echo "no" >&6; }
   4481   SET_MAKE="MAKE=${MAKE-make}"
   4482 fi
   4483 
   4484 rm -rf .tst 2>/dev/null
   4485 mkdir .tst 2>/dev/null
   4486 if test -d .tst; then
   4487   am__leading_dot=.
   4488 else
   4489   am__leading_dot=_
   4490 fi
   4491 rmdir .tst 2>/dev/null
   4492 
   4493 DEPDIR="${am__leading_dot}deps"
   4494 
   4495 ac_config_commands="$ac_config_commands depfiles"
   4496 
   4497 
   4498 am_make=${MAKE-make}
   4499 cat > confinc << 'END'
   4500 am__doit:
   4501 	@echo this is the am__doit target
   4502 .PHONY: am__doit
   4503 END
   4504 # If we don't find an include directive, just comment out the code.
   4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4506 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4507 am__include="#"
   4508 am__quote=
   4509 _am_result=none
   4510 # First try GNU make style include.
   4511 echo "include confinc" > confmf
   4512 # Ignore all kinds of additional output from `make'.
   4513 case `$am_make -s -f confmf 2> /dev/null` in #(
   4514 *the\ am__doit\ target*)
   4515   am__include=include
   4516   am__quote=
   4517   _am_result=GNU
   4518   ;;
   4519 esac
   4520 # Now try BSD make style include.
   4521 if test "$am__include" = "#"; then
   4522    echo '.include "confinc"' > confmf
   4523    case `$am_make -s -f confmf 2> /dev/null` in #(
   4524    *the\ am__doit\ target*)
   4525      am__include=.include
   4526      am__quote="\""
   4527      _am_result=BSD
   4528      ;;
   4529    esac
   4530 fi
   4531 
   4532 
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4534 $as_echo "$_am_result" >&6; }
   4535 rm -f confinc confmf
   4536 
   4537 # Check whether --enable-dependency-tracking was given.
   4538 if test "${enable_dependency_tracking+set}" = set; then :
   4539   enableval=$enable_dependency_tracking;
   4540 fi
   4541 
   4542 if test "x$enable_dependency_tracking" != xno; then
   4543   am_depcomp="$ac_aux_dir/depcomp"
   4544   AMDEPBACKSLASH='\'
   4545 fi
   4546  if test "x$enable_dependency_tracking" != xno; then
   4547   AMDEP_TRUE=
   4548   AMDEP_FALSE='#'
   4549 else
   4550   AMDEP_TRUE='#'
   4551   AMDEP_FALSE=
   4552 fi
   4553 
   4554 
   4555 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4556   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4557   # is not polluted with repeated "-I."
   4558   am__isrc=' -I$(srcdir)'
   4559   # test to see if srcdir already configured
   4560   if test -f $srcdir/config.status; then
   4561     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4562   fi
   4563 fi
   4564 
   4565 # test whether we have cygpath
   4566 if test -z "$CYGPATH_W"; then
   4567   if (cygpath --version) >/dev/null 2>/dev/null; then
   4568     CYGPATH_W='cygpath -w'
   4569   else
   4570     CYGPATH_W=echo
   4571   fi
   4572 fi
   4573 
   4574 
   4575 # Define the identity of the package.
   4576  PACKAGE='package-unused'
   4577  VERSION='version-unused'
   4578 
   4579 
   4580 cat >>confdefs.h <<_ACEOF
   4581 #define PACKAGE "$PACKAGE"
   4582 _ACEOF
   4583 
   4584 
   4585 cat >>confdefs.h <<_ACEOF
   4586 #define VERSION "$VERSION"
   4587 _ACEOF
   4588 
   4589 # Some tools Automake needs.
   4590 
   4591 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4592 
   4593 
   4594 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4595 
   4596 
   4597 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4598 
   4599 
   4600 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4601 
   4602 
   4603 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4604 
   4605 # We need awk for the "check" target.  The system "awk" is bad on
   4606 # some platforms.
   4607 # Always define AMTAR for backward compatibility.
   4608 
   4609 AMTAR=${AMTAR-"${am_missing_run}tar"}
   4610 
   4611 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   4612 
   4613 
   4614 
   4615 
   4616 depcc="$CC"   am_compiler_list=
   4617 
   4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4619 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4620 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   4621   $as_echo_n "(cached) " >&6
   4622 else
   4623   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4624   # We make a subdir and do the tests there.  Otherwise we can end up
   4625   # making bogus files that we don't know about and never remove.  For
   4626   # instance it was reported that on HP-UX the gcc test will end up
   4627   # making a dummy file named `D' -- because `-MD' means `put the output
   4628   # in D'.
   4629   mkdir conftest.dir
   4630   # Copy depcomp to subdir because otherwise we won't find it if we're
   4631   # using a relative directory.
   4632   cp "$am_depcomp" conftest.dir
   4633   cd conftest.dir
   4634   # We will build objects and dependencies in a subdirectory because
   4635   # it helps to detect inapplicable dependency modes.  For instance
   4636   # both Tru64's cc and ICC support -MD to output dependencies as a
   4637   # side effect of compilation, but ICC will put the dependencies in
   4638   # the current directory while Tru64 will put them in the object
   4639   # directory.
   4640   mkdir sub
   4641 
   4642   am_cv_CC_dependencies_compiler_type=none
   4643   if test "$am_compiler_list" = ""; then
   4644      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4645   fi
   4646   am__universal=false
   4647   case " $depcc " in #(
   4648      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4649      esac
   4650 
   4651   for depmode in $am_compiler_list; do
   4652     # Setup a source with many dependencies, because some compilers
   4653     # like to wrap large dependency lists on column 80 (with \), and
   4654     # we should not choose a depcomp mode which is confused by this.
   4655     #
   4656     # We need to recreate these files for each test, as the compiler may
   4657     # overwrite some of them when testing with obscure command lines.
   4658     # This happens at least with the AIX C compiler.
   4659     : > sub/conftest.c
   4660     for i in 1 2 3 4 5 6; do
   4661       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4662       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4663       # Solaris 8's {/usr,}/bin/sh.
   4664       touch sub/conftst$i.h
   4665     done
   4666     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4667 
   4668     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4669     # mode.  It turns out that the SunPro C++ compiler does not properly
   4670     # handle `-M -o', and we need to detect this.  Also, some Intel
   4671     # versions had trouble with output in subdirs
   4672     am__obj=sub/conftest.${OBJEXT-o}
   4673     am__minus_obj="-o $am__obj"
   4674     case $depmode in
   4675     gcc)
   4676       # This depmode causes a compiler race in universal mode.
   4677       test "$am__universal" = false || continue
   4678       ;;
   4679     nosideeffect)
   4680       # after this tag, mechanisms are not by side-effect, so they'll
   4681       # only be used when explicitly requested
   4682       if test "x$enable_dependency_tracking" = xyes; then
   4683 	continue
   4684       else
   4685 	break
   4686       fi
   4687       ;;
   4688     msvisualcpp | msvcmsys)
   4689       # This compiler won't grok `-c -o', but also, the minuso test has
   4690       # not run yet.  These depmodes are late enough in the game, and
   4691       # so weak that their functioning should not be impacted.
   4692       am__obj=conftest.${OBJEXT-o}
   4693       am__minus_obj=
   4694       ;;
   4695     none) break ;;
   4696     esac
   4697     if depmode=$depmode \
   4698        source=sub/conftest.c object=$am__obj \
   4699        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4700        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4701          >/dev/null 2>conftest.err &&
   4702        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4703        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4704        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4705        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4706       # icc doesn't choke on unknown options, it will just issue warnings
   4707       # or remarks (even with -Werror).  So we grep stderr for any message
   4708       # that says an option was ignored or not supported.
   4709       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4710       #   icc: Command line warning: ignoring option '-M'; no argument required
   4711       # The diagnosis changed in icc 8.0:
   4712       #   icc: Command line remark: option '-MP' not supported
   4713       if (grep 'ignoring option' conftest.err ||
   4714           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4715         am_cv_CC_dependencies_compiler_type=$depmode
   4716         break
   4717       fi
   4718     fi
   4719   done
   4720 
   4721   cd ..
   4722   rm -rf conftest.dir
   4723 else
   4724   am_cv_CC_dependencies_compiler_type=none
   4725 fi
   4726 
   4727 fi
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4729 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4730 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4731 
   4732  if
   4733   test "x$enable_dependency_tracking" != xno \
   4734   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4735   am__fastdepCC_TRUE=
   4736   am__fastdepCC_FALSE='#'
   4737 else
   4738   am__fastdepCC_TRUE='#'
   4739   am__fastdepCC_FALSE=
   4740 fi
   4741 
   4742 
   4743 
   4744 
   4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4746 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4747     # Check whether --enable-maintainer-mode was given.
   4748 if test "${enable_maintainer_mode+set}" = set; then :
   4749   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4750 else
   4751   USE_MAINTAINER_MODE=no
   4752 fi
   4753 
   4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4755 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4756    if test $USE_MAINTAINER_MODE = yes; then
   4757   MAINTAINER_MODE_TRUE=
   4758   MAINTAINER_MODE_FALSE='#'
   4759 else
   4760   MAINTAINER_MODE_TRUE='#'
   4761   MAINTAINER_MODE_FALSE=
   4762 fi
   4763 
   4764   MAINT=$MAINTAINER_MODE_TRUE
   4765 
   4766 
   4767 
   4768 # Calculate toolexeclibdir
   4769 # Also toolexecdir, though it's only used in toolexeclibdir
   4770 case ${version_specific_libs} in
   4771   yes)
   4772     # Need the gcc compiler version to know where to install libraries
   4773     # and header files if --enable-version-specific-runtime-libs option
   4774     # is selected.
   4775     toolexecdir='$(libdir)/gcc/$(target_alias)'
   4776     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
   4777     ;;
   4778   no)
   4779     if test -n "$with_cross_host" &&
   4780        test x"$with_cross_host" != x"no"; then
   4781       # Install a library built with a cross compiler in tooldir, not libdir.
   4782       toolexecdir='$(exec_prefix)/$(target_alias)'
   4783       toolexeclibdir='$(toolexecdir)/lib'
   4784     else
   4785       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
   4786       toolexeclibdir='$(libdir)'
   4787     fi
   4788     multi_os_directory=`$CC -print-multi-os-directory`
   4789     case $multi_os_directory in
   4790       .) ;; # Avoid trailing /.
   4791       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
   4792     esac
   4793     ;;
   4794 esac
   4795 
   4796 
   4797 
   4798 # Checks for programs.
   4799 ac_ext=c
   4800 ac_cpp='$CPP $CPPFLAGS'
   4801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4804 if test -n "$ac_tool_prefix"; then
   4805   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4806 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4808 $as_echo_n "checking for $ac_word... " >&6; }
   4809 if test "${ac_cv_prog_CC+set}" = set; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   if test -n "$CC"; then
   4813   ac_cv_prog_CC="$CC" # Let the user override the test.
   4814 else
   4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4816 for as_dir in $PATH
   4817 do
   4818   IFS=$as_save_IFS
   4819   test -z "$as_dir" && as_dir=.
   4820     for ac_exec_ext in '' $ac_executable_extensions; do
   4821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4822     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4824     break 2
   4825   fi
   4826 done
   4827   done
   4828 IFS=$as_save_IFS
   4829 
   4830 fi
   4831 fi
   4832 CC=$ac_cv_prog_CC
   4833 if test -n "$CC"; then
   4834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4835 $as_echo "$CC" >&6; }
   4836 else
   4837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4838 $as_echo "no" >&6; }
   4839 fi
   4840 
   4841 
   4842 fi
   4843 if test -z "$ac_cv_prog_CC"; then
   4844   ac_ct_CC=$CC
   4845   # Extract the first word of "gcc", so it can be a program name with args.
   4846 set dummy gcc; ac_word=$2
   4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4848 $as_echo_n "checking for $ac_word... " >&6; }
   4849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4850   $as_echo_n "(cached) " >&6
   4851 else
   4852   if test -n "$ac_ct_CC"; then
   4853   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4854 else
   4855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4856 for as_dir in $PATH
   4857 do
   4858   IFS=$as_save_IFS
   4859   test -z "$as_dir" && as_dir=.
   4860     for ac_exec_ext in '' $ac_executable_extensions; do
   4861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4862     ac_cv_prog_ac_ct_CC="gcc"
   4863     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4864     break 2
   4865   fi
   4866 done
   4867   done
   4868 IFS=$as_save_IFS
   4869 
   4870 fi
   4871 fi
   4872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4873 if test -n "$ac_ct_CC"; then
   4874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4875 $as_echo "$ac_ct_CC" >&6; }
   4876 else
   4877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4878 $as_echo "no" >&6; }
   4879 fi
   4880 
   4881   if test "x$ac_ct_CC" = x; then
   4882     CC=""
   4883   else
   4884     case $cross_compiling:$ac_tool_warned in
   4885 yes:)
   4886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4888 ac_tool_warned=yes ;;
   4889 esac
   4890     CC=$ac_ct_CC
   4891   fi
   4892 else
   4893   CC="$ac_cv_prog_CC"
   4894 fi
   4895 
   4896 if test -z "$CC"; then
   4897           if test -n "$ac_tool_prefix"; then
   4898     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4899 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4901 $as_echo_n "checking for $ac_word... " >&6; }
   4902 if test "${ac_cv_prog_CC+set}" = set; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905   if test -n "$CC"; then
   4906   ac_cv_prog_CC="$CC" # Let the user override the test.
   4907 else
   4908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4909 for as_dir in $PATH
   4910 do
   4911   IFS=$as_save_IFS
   4912   test -z "$as_dir" && as_dir=.
   4913     for ac_exec_ext in '' $ac_executable_extensions; do
   4914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4915     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4917     break 2
   4918   fi
   4919 done
   4920   done
   4921 IFS=$as_save_IFS
   4922 
   4923 fi
   4924 fi
   4925 CC=$ac_cv_prog_CC
   4926 if test -n "$CC"; then
   4927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4928 $as_echo "$CC" >&6; }
   4929 else
   4930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4931 $as_echo "no" >&6; }
   4932 fi
   4933 
   4934 
   4935   fi
   4936 fi
   4937 if test -z "$CC"; then
   4938   # Extract the first word of "cc", so it can be a program name with args.
   4939 set dummy cc; ac_word=$2
   4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4941 $as_echo_n "checking for $ac_word... " >&6; }
   4942 if test "${ac_cv_prog_CC+set}" = set; then :
   4943   $as_echo_n "(cached) " >&6
   4944 else
   4945   if test -n "$CC"; then
   4946   ac_cv_prog_CC="$CC" # Let the user override the test.
   4947 else
   4948   ac_prog_rejected=no
   4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4950 for as_dir in $PATH
   4951 do
   4952   IFS=$as_save_IFS
   4953   test -z "$as_dir" && as_dir=.
   4954     for ac_exec_ext in '' $ac_executable_extensions; do
   4955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4956     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4957        ac_prog_rejected=yes
   4958        continue
   4959      fi
   4960     ac_cv_prog_CC="cc"
   4961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4962     break 2
   4963   fi
   4964 done
   4965   done
   4966 IFS=$as_save_IFS
   4967 
   4968 if test $ac_prog_rejected = yes; then
   4969   # We found a bogon in the path, so make sure we never use it.
   4970   set dummy $ac_cv_prog_CC
   4971   shift
   4972   if test $# != 0; then
   4973     # We chose a different compiler from the bogus one.
   4974     # However, it has the same basename, so the bogon will be chosen
   4975     # first if we set CC to just the basename; use the full file name.
   4976     shift
   4977     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4978   fi
   4979 fi
   4980 fi
   4981 fi
   4982 CC=$ac_cv_prog_CC
   4983 if test -n "$CC"; then
   4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4985 $as_echo "$CC" >&6; }
   4986 else
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4988 $as_echo "no" >&6; }
   4989 fi
   4990 
   4991 
   4992 fi
   4993 if test -z "$CC"; then
   4994   if test -n "$ac_tool_prefix"; then
   4995   for ac_prog in cl.exe
   4996   do
   4997     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4998 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5000 $as_echo_n "checking for $ac_word... " >&6; }
   5001 if test "${ac_cv_prog_CC+set}" = set; then :
   5002   $as_echo_n "(cached) " >&6
   5003 else
   5004   if test -n "$CC"; then
   5005   ac_cv_prog_CC="$CC" # Let the user override the test.
   5006 else
   5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5008 for as_dir in $PATH
   5009 do
   5010   IFS=$as_save_IFS
   5011   test -z "$as_dir" && as_dir=.
   5012     for ac_exec_ext in '' $ac_executable_extensions; do
   5013   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5014     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5015     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5016     break 2
   5017   fi
   5018 done
   5019   done
   5020 IFS=$as_save_IFS
   5021 
   5022 fi
   5023 fi
   5024 CC=$ac_cv_prog_CC
   5025 if test -n "$CC"; then
   5026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5027 $as_echo "$CC" >&6; }
   5028 else
   5029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5030 $as_echo "no" >&6; }
   5031 fi
   5032 
   5033 
   5034     test -n "$CC" && break
   5035   done
   5036 fi
   5037 if test -z "$CC"; then
   5038   ac_ct_CC=$CC
   5039   for ac_prog in cl.exe
   5040 do
   5041   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5042 set dummy $ac_prog; ac_word=$2
   5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5044 $as_echo_n "checking for $ac_word... " >&6; }
   5045 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   5046   $as_echo_n "(cached) " >&6
   5047 else
   5048   if test -n "$ac_ct_CC"; then
   5049   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5050 else
   5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5052 for as_dir in $PATH
   5053 do
   5054   IFS=$as_save_IFS
   5055   test -z "$as_dir" && as_dir=.
   5056     for ac_exec_ext in '' $ac_executable_extensions; do
   5057   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5058     ac_cv_prog_ac_ct_CC="$ac_prog"
   5059     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5060     break 2
   5061   fi
   5062 done
   5063   done
   5064 IFS=$as_save_IFS
   5065 
   5066 fi
   5067 fi
   5068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5069 if test -n "$ac_ct_CC"; then
   5070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5071 $as_echo "$ac_ct_CC" >&6; }
   5072 else
   5073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5074 $as_echo "no" >&6; }
   5075 fi
   5076 
   5077 
   5078   test -n "$ac_ct_CC" && break
   5079 done
   5080 
   5081   if test "x$ac_ct_CC" = x; then
   5082     CC=""
   5083   else
   5084     case $cross_compiling:$ac_tool_warned in
   5085 yes:)
   5086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5088 ac_tool_warned=yes ;;
   5089 esac
   5090     CC=$ac_ct_CC
   5091   fi
   5092 fi
   5093 
   5094 fi
   5095 
   5096 
   5097 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5099 as_fn_error "no acceptable C compiler found in \$PATH
   5100 See \`config.log' for more details." "$LINENO" 5; }
   5101 
   5102 # Provide some information about the compiler.
   5103 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5104 set X $ac_compile
   5105 ac_compiler=$2
   5106 for ac_option in --version -v -V -qversion; do
   5107   { { ac_try="$ac_compiler $ac_option >&5"
   5108 case "(($ac_try" in
   5109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5110   *) ac_try_echo=$ac_try;;
   5111 esac
   5112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5113 $as_echo "$ac_try_echo"; } >&5
   5114   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5115   ac_status=$?
   5116   if test -s conftest.err; then
   5117     sed '10a\
   5118 ... rest of stderr output deleted ...
   5119          10q' conftest.err >conftest.er1
   5120     cat conftest.er1 >&5
   5121     rm -f conftest.er1 conftest.err
   5122   fi
   5123   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5124   test $ac_status = 0; }
   5125 done
   5126 
   5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   5128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5129 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   5130   $as_echo_n "(cached) " >&6
   5131 else
   5132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5133 /* end confdefs.h.  */
   5134 
   5135 int
   5136 main ()
   5137 {
   5138 #ifndef __GNUC__
   5139        choke me
   5140 #endif
   5141 
   5142   ;
   5143   return 0;
   5144 }
   5145 _ACEOF
   5146 if ac_fn_c_try_compile "$LINENO"; then :
   5147   ac_compiler_gnu=yes
   5148 else
   5149   ac_compiler_gnu=no
   5150 fi
   5151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5153 
   5154 fi
   5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5157 if test $ac_compiler_gnu = yes; then
   5158   GCC=yes
   5159 else
   5160   GCC=
   5161 fi
   5162 ac_test_CFLAGS=${CFLAGS+set}
   5163 ac_save_CFLAGS=$CFLAGS
   5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5166 if test "${ac_cv_prog_cc_g+set}" = set; then :
   5167   $as_echo_n "(cached) " >&6
   5168 else
   5169   ac_save_c_werror_flag=$ac_c_werror_flag
   5170    ac_c_werror_flag=yes
   5171    ac_cv_prog_cc_g=no
   5172    CFLAGS="-g"
   5173    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5174 /* end confdefs.h.  */
   5175 
   5176 int
   5177 main ()
   5178 {
   5179 
   5180   ;
   5181   return 0;
   5182 }
   5183 _ACEOF
   5184 if ac_fn_c_try_compile "$LINENO"; then :
   5185   ac_cv_prog_cc_g=yes
   5186 else
   5187   CFLAGS=""
   5188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5189 /* end confdefs.h.  */
   5190 
   5191 int
   5192 main ()
   5193 {
   5194 
   5195   ;
   5196   return 0;
   5197 }
   5198 _ACEOF
   5199 if ac_fn_c_try_compile "$LINENO"; then :
   5200 
   5201 else
   5202   ac_c_werror_flag=$ac_save_c_werror_flag
   5203 	 CFLAGS="-g"
   5204 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5205 /* end confdefs.h.  */
   5206 
   5207 int
   5208 main ()
   5209 {
   5210 
   5211   ;
   5212   return 0;
   5213 }
   5214 _ACEOF
   5215 if ac_fn_c_try_compile "$LINENO"; then :
   5216   ac_cv_prog_cc_g=yes
   5217 fi
   5218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5219 fi
   5220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5221 fi
   5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5223    ac_c_werror_flag=$ac_save_c_werror_flag
   5224 fi
   5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5226 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5227 if test "$ac_test_CFLAGS" = set; then
   5228   CFLAGS=$ac_save_CFLAGS
   5229 elif test $ac_cv_prog_cc_g = yes; then
   5230   if test "$GCC" = yes; then
   5231     CFLAGS="-g -O2"
   5232   else
   5233     CFLAGS="-g"
   5234   fi
   5235 else
   5236   if test "$GCC" = yes; then
   5237     CFLAGS="-O2"
   5238   else
   5239     CFLAGS=
   5240   fi
   5241 fi
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5244 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   5245   $as_echo_n "(cached) " >&6
   5246 else
   5247   ac_cv_prog_cc_c89=no
   5248 ac_save_CC=$CC
   5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5250 /* end confdefs.h.  */
   5251 #include <stdarg.h>
   5252 #include <stdio.h>
   5253 #include <sys/types.h>
   5254 #include <sys/stat.h>
   5255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5256 struct buf { int x; };
   5257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5258 static char *e (p, i)
   5259      char **p;
   5260      int i;
   5261 {
   5262   return p[i];
   5263 }
   5264 static char *f (char * (*g) (char **, int), char **p, ...)
   5265 {
   5266   char *s;
   5267   va_list v;
   5268   va_start (v,p);
   5269   s = g (p, va_arg (v,int));
   5270   va_end (v);
   5271   return s;
   5272 }
   5273 
   5274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5275    function prototypes and stuff, but not '\xHH' hex character constants.
   5276    These don't provoke an error unfortunately, instead are silently treated
   5277    as 'x'.  The following induces an error, until -std is added to get
   5278    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5279    array size at least.  It's necessary to write '\x00'==0 to get something
   5280    that's true only with -std.  */
   5281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5282 
   5283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5284    inside strings and character constants.  */
   5285 #define FOO(x) 'x'
   5286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5287 
   5288 int test (int i, double x);
   5289 struct s1 {int (*f) (int a);};
   5290 struct s2 {int (*f) (double a);};
   5291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5292 int argc;
   5293 char **argv;
   5294 int
   5295 main ()
   5296 {
   5297 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5298   ;
   5299   return 0;
   5300 }
   5301 _ACEOF
   5302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5303 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5304 do
   5305   CC="$ac_save_CC $ac_arg"
   5306   if ac_fn_c_try_compile "$LINENO"; then :
   5307   ac_cv_prog_cc_c89=$ac_arg
   5308 fi
   5309 rm -f core conftest.err conftest.$ac_objext
   5310   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5311 done
   5312 rm -f conftest.$ac_ext
   5313 CC=$ac_save_CC
   5314 
   5315 fi
   5316 # AC_CACHE_VAL
   5317 case "x$ac_cv_prog_cc_c89" in
   5318   x)
   5319     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5320 $as_echo "none needed" >&6; } ;;
   5321   xno)
   5322     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5323 $as_echo "unsupported" >&6; } ;;
   5324   *)
   5325     CC="$CC $ac_cv_prog_cc_c89"
   5326     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5328 esac
   5329 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5330 
   5331 fi
   5332 
   5333 ac_ext=c
   5334 ac_cpp='$CPP $CPPFLAGS'
   5335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5338 
   5339 ac_ext=cpp
   5340 ac_cpp='$CXXCPP $CPPFLAGS'
   5341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5344 if test -z "$CXX"; then
   5345   if test -n "$CCC"; then
   5346     CXX=$CCC
   5347   else
   5348     if test -n "$ac_tool_prefix"; then
   5349   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5350   do
   5351     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5352 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5354 $as_echo_n "checking for $ac_word... " >&6; }
   5355 if test "${ac_cv_prog_CXX+set}" = set; then :
   5356   $as_echo_n "(cached) " >&6
   5357 else
   5358   if test -n "$CXX"; then
   5359   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5360 else
   5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5362 for as_dir in $PATH
   5363 do
   5364   IFS=$as_save_IFS
   5365   test -z "$as_dir" && as_dir=.
   5366     for ac_exec_ext in '' $ac_executable_extensions; do
   5367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5368     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5370     break 2
   5371   fi
   5372 done
   5373   done
   5374 IFS=$as_save_IFS
   5375 
   5376 fi
   5377 fi
   5378 CXX=$ac_cv_prog_CXX
   5379 if test -n "$CXX"; then
   5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5381 $as_echo "$CXX" >&6; }
   5382 else
   5383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5384 $as_echo "no" >&6; }
   5385 fi
   5386 
   5387 
   5388     test -n "$CXX" && break
   5389   done
   5390 fi
   5391 if test -z "$CXX"; then
   5392   ac_ct_CXX=$CXX
   5393   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5394 do
   5395   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5396 set dummy $ac_prog; ac_word=$2
   5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5398 $as_echo_n "checking for $ac_word... " >&6; }
   5399 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
   5400   $as_echo_n "(cached) " >&6
   5401 else
   5402   if test -n "$ac_ct_CXX"; then
   5403   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5404 else
   5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5406 for as_dir in $PATH
   5407 do
   5408   IFS=$as_save_IFS
   5409   test -z "$as_dir" && as_dir=.
   5410     for ac_exec_ext in '' $ac_executable_extensions; do
   5411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5412     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5414     break 2
   5415   fi
   5416 done
   5417   done
   5418 IFS=$as_save_IFS
   5419 
   5420 fi
   5421 fi
   5422 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5423 if test -n "$ac_ct_CXX"; then
   5424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5425 $as_echo "$ac_ct_CXX" >&6; }
   5426 else
   5427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5428 $as_echo "no" >&6; }
   5429 fi
   5430 
   5431 
   5432   test -n "$ac_ct_CXX" && break
   5433 done
   5434 
   5435   if test "x$ac_ct_CXX" = x; then
   5436     CXX="g++"
   5437   else
   5438     case $cross_compiling:$ac_tool_warned in
   5439 yes:)
   5440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5442 ac_tool_warned=yes ;;
   5443 esac
   5444     CXX=$ac_ct_CXX
   5445   fi
   5446 fi
   5447 
   5448   fi
   5449 fi
   5450 # Provide some information about the compiler.
   5451 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5452 set X $ac_compile
   5453 ac_compiler=$2
   5454 for ac_option in --version -v -V -qversion; do
   5455   { { ac_try="$ac_compiler $ac_option >&5"
   5456 case "(($ac_try" in
   5457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5458   *) ac_try_echo=$ac_try;;
   5459 esac
   5460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5461 $as_echo "$ac_try_echo"; } >&5
   5462   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5463   ac_status=$?
   5464   if test -s conftest.err; then
   5465     sed '10a\
   5466 ... rest of stderr output deleted ...
   5467          10q' conftest.err >conftest.er1
   5468     cat conftest.er1 >&5
   5469     rm -f conftest.er1 conftest.err
   5470   fi
   5471   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5472   test $ac_status = 0; }
   5473 done
   5474 
   5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5476 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5477 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5481 /* end confdefs.h.  */
   5482 
   5483 int
   5484 main ()
   5485 {
   5486 #ifndef __GNUC__
   5487        choke me
   5488 #endif
   5489 
   5490   ;
   5491   return 0;
   5492 }
   5493 _ACEOF
   5494 if ac_fn_cxx_try_compile "$LINENO"; then :
   5495   ac_compiler_gnu=yes
   5496 else
   5497   ac_compiler_gnu=no
   5498 fi
   5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5500 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5501 
   5502 fi
   5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5504 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5505 if test $ac_compiler_gnu = yes; then
   5506   GXX=yes
   5507 else
   5508   GXX=
   5509 fi
   5510 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5511 ac_save_CXXFLAGS=$CXXFLAGS
   5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5513 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5514 if test "${ac_cv_prog_cxx_g+set}" = set; then :
   5515   $as_echo_n "(cached) " >&6
   5516 else
   5517   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5518    ac_cxx_werror_flag=yes
   5519    ac_cv_prog_cxx_g=no
   5520    CXXFLAGS="-g"
   5521    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5522 /* end confdefs.h.  */
   5523 
   5524 int
   5525 main ()
   5526 {
   5527 
   5528   ;
   5529   return 0;
   5530 }
   5531 _ACEOF
   5532 if ac_fn_cxx_try_compile "$LINENO"; then :
   5533   ac_cv_prog_cxx_g=yes
   5534 else
   5535   CXXFLAGS=""
   5536       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 
   5539 int
   5540 main ()
   5541 {
   5542 
   5543   ;
   5544   return 0;
   5545 }
   5546 _ACEOF
   5547 if ac_fn_cxx_try_compile "$LINENO"; then :
   5548 
   5549 else
   5550   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5551 	 CXXFLAGS="-g"
   5552 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5553 /* end confdefs.h.  */
   5554 
   5555 int
   5556 main ()
   5557 {
   5558 
   5559   ;
   5560   return 0;
   5561 }
   5562 _ACEOF
   5563 if ac_fn_cxx_try_compile "$LINENO"; then :
   5564   ac_cv_prog_cxx_g=yes
   5565 fi
   5566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5567 fi
   5568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5569 fi
   5570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5571    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5572 fi
   5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5574 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5575 if test "$ac_test_CXXFLAGS" = set; then
   5576   CXXFLAGS=$ac_save_CXXFLAGS
   5577 elif test $ac_cv_prog_cxx_g = yes; then
   5578   if test "$GXX" = yes; then
   5579     CXXFLAGS="-g -O2"
   5580   else
   5581     CXXFLAGS="-g"
   5582   fi
   5583 else
   5584   if test "$GXX" = yes; then
   5585     CXXFLAGS="-O2"
   5586   else
   5587     CXXFLAGS=
   5588   fi
   5589 fi
   5590 ac_ext=c
   5591 ac_cpp='$CPP $CPPFLAGS'
   5592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5595 
   5596 depcc="$CXX"  am_compiler_list=
   5597 
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5599 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5600 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
   5601   $as_echo_n "(cached) " >&6
   5602 else
   5603   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5604   # We make a subdir and do the tests there.  Otherwise we can end up
   5605   # making bogus files that we don't know about and never remove.  For
   5606   # instance it was reported that on HP-UX the gcc test will end up
   5607   # making a dummy file named `D' -- because `-MD' means `put the output
   5608   # in D'.
   5609   mkdir conftest.dir
   5610   # Copy depcomp to subdir because otherwise we won't find it if we're
   5611   # using a relative directory.
   5612   cp "$am_depcomp" conftest.dir
   5613   cd conftest.dir
   5614   # We will build objects and dependencies in a subdirectory because
   5615   # it helps to detect inapplicable dependency modes.  For instance
   5616   # both Tru64's cc and ICC support -MD to output dependencies as a
   5617   # side effect of compilation, but ICC will put the dependencies in
   5618   # the current directory while Tru64 will put them in the object
   5619   # directory.
   5620   mkdir sub
   5621 
   5622   am_cv_CXX_dependencies_compiler_type=none
   5623   if test "$am_compiler_list" = ""; then
   5624      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5625   fi
   5626   am__universal=false
   5627   case " $depcc " in #(
   5628      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5629      esac
   5630 
   5631   for depmode in $am_compiler_list; do
   5632     # Setup a source with many dependencies, because some compilers
   5633     # like to wrap large dependency lists on column 80 (with \), and
   5634     # we should not choose a depcomp mode which is confused by this.
   5635     #
   5636     # We need to recreate these files for each test, as the compiler may
   5637     # overwrite some of them when testing with obscure command lines.
   5638     # This happens at least with the AIX C compiler.
   5639     : > sub/conftest.c
   5640     for i in 1 2 3 4 5 6; do
   5641       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5642       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5643       # Solaris 8's {/usr,}/bin/sh.
   5644       touch sub/conftst$i.h
   5645     done
   5646     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5647 
   5648     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5649     # mode.  It turns out that the SunPro C++ compiler does not properly
   5650     # handle `-M -o', and we need to detect this.  Also, some Intel
   5651     # versions had trouble with output in subdirs
   5652     am__obj=sub/conftest.${OBJEXT-o}
   5653     am__minus_obj="-o $am__obj"
   5654     case $depmode in
   5655     gcc)
   5656       # This depmode causes a compiler race in universal mode.
   5657       test "$am__universal" = false || continue
   5658       ;;
   5659     nosideeffect)
   5660       # after this tag, mechanisms are not by side-effect, so they'll
   5661       # only be used when explicitly requested
   5662       if test "x$enable_dependency_tracking" = xyes; then
   5663 	continue
   5664       else
   5665 	break
   5666       fi
   5667       ;;
   5668     msvisualcpp | msvcmsys)
   5669       # This compiler won't grok `-c -o', but also, the minuso test has
   5670       # not run yet.  These depmodes are late enough in the game, and
   5671       # so weak that their functioning should not be impacted.
   5672       am__obj=conftest.${OBJEXT-o}
   5673       am__minus_obj=
   5674       ;;
   5675     none) break ;;
   5676     esac
   5677     if depmode=$depmode \
   5678        source=sub/conftest.c object=$am__obj \
   5679        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5680        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5681          >/dev/null 2>conftest.err &&
   5682        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5683        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5684        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5685        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5686       # icc doesn't choke on unknown options, it will just issue warnings
   5687       # or remarks (even with -Werror).  So we grep stderr for any message
   5688       # that says an option was ignored or not supported.
   5689       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5690       #   icc: Command line warning: ignoring option '-M'; no argument required
   5691       # The diagnosis changed in icc 8.0:
   5692       #   icc: Command line remark: option '-MP' not supported
   5693       if (grep 'ignoring option' conftest.err ||
   5694           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5695         am_cv_CXX_dependencies_compiler_type=$depmode
   5696         break
   5697       fi
   5698     fi
   5699   done
   5700 
   5701   cd ..
   5702   rm -rf conftest.dir
   5703 else
   5704   am_cv_CXX_dependencies_compiler_type=none
   5705 fi
   5706 
   5707 fi
   5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5709 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5710 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5711 
   5712  if
   5713   test "x$enable_dependency_tracking" != xno \
   5714   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5715   am__fastdepCXX_TRUE=
   5716   am__fastdepCXX_FALSE='#'
   5717 else
   5718   am__fastdepCXX_TRUE='#'
   5719   am__fastdepCXX_FALSE=
   5720 fi
   5721 
   5722 
   5723 # By default we simply use the C compiler to build assembly code.
   5724 
   5725 test "${CCAS+set}" = set || CCAS=$CC
   5726 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   5727 
   5728 
   5729 
   5730 depcc="$CCAS"   am_compiler_list=
   5731 
   5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5733 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5734 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
   5735   $as_echo_n "(cached) " >&6
   5736 else
   5737   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5738   # We make a subdir and do the tests there.  Otherwise we can end up
   5739   # making bogus files that we don't know about and never remove.  For
   5740   # instance it was reported that on HP-UX the gcc test will end up
   5741   # making a dummy file named `D' -- because `-MD' means `put the output
   5742   # in D'.
   5743   mkdir conftest.dir
   5744   # Copy depcomp to subdir because otherwise we won't find it if we're
   5745   # using a relative directory.
   5746   cp "$am_depcomp" conftest.dir
   5747   cd conftest.dir
   5748   # We will build objects and dependencies in a subdirectory because
   5749   # it helps to detect inapplicable dependency modes.  For instance
   5750   # both Tru64's cc and ICC support -MD to output dependencies as a
   5751   # side effect of compilation, but ICC will put the dependencies in
   5752   # the current directory while Tru64 will put them in the object
   5753   # directory.
   5754   mkdir sub
   5755 
   5756   am_cv_CCAS_dependencies_compiler_type=none
   5757   if test "$am_compiler_list" = ""; then
   5758      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5759   fi
   5760   am__universal=false
   5761 
   5762 
   5763   for depmode in $am_compiler_list; do
   5764     # Setup a source with many dependencies, because some compilers
   5765     # like to wrap large dependency lists on column 80 (with \), and
   5766     # we should not choose a depcomp mode which is confused by this.
   5767     #
   5768     # We need to recreate these files for each test, as the compiler may
   5769     # overwrite some of them when testing with obscure command lines.
   5770     # This happens at least with the AIX C compiler.
   5771     : > sub/conftest.c
   5772     for i in 1 2 3 4 5 6; do
   5773       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5774       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5775       # Solaris 8's {/usr,}/bin/sh.
   5776       touch sub/conftst$i.h
   5777     done
   5778     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5779 
   5780     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5781     # mode.  It turns out that the SunPro C++ compiler does not properly
   5782     # handle `-M -o', and we need to detect this.  Also, some Intel
   5783     # versions had trouble with output in subdirs
   5784     am__obj=sub/conftest.${OBJEXT-o}
   5785     am__minus_obj="-o $am__obj"
   5786     case $depmode in
   5787     gcc)
   5788       # This depmode causes a compiler race in universal mode.
   5789       test "$am__universal" = false || continue
   5790       ;;
   5791     nosideeffect)
   5792       # after this tag, mechanisms are not by side-effect, so they'll
   5793       # only be used when explicitly requested
   5794       if test "x$enable_dependency_tracking" = xyes; then
   5795 	continue
   5796       else
   5797 	break
   5798       fi
   5799       ;;
   5800     msvisualcpp | msvcmsys)
   5801       # This compiler won't grok `-c -o', but also, the minuso test has
   5802       # not run yet.  These depmodes are late enough in the game, and
   5803       # so weak that their functioning should not be impacted.
   5804       am__obj=conftest.${OBJEXT-o}
   5805       am__minus_obj=
   5806       ;;
   5807     none) break ;;
   5808     esac
   5809     if depmode=$depmode \
   5810        source=sub/conftest.c object=$am__obj \
   5811        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5812        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5813          >/dev/null 2>conftest.err &&
   5814        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5815        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5816        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5817        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5818       # icc doesn't choke on unknown options, it will just issue warnings
   5819       # or remarks (even with -Werror).  So we grep stderr for any message
   5820       # that says an option was ignored or not supported.
   5821       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5822       #   icc: Command line warning: ignoring option '-M'; no argument required
   5823       # The diagnosis changed in icc 8.0:
   5824       #   icc: Command line remark: option '-MP' not supported
   5825       if (grep 'ignoring option' conftest.err ||
   5826           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5827         am_cv_CCAS_dependencies_compiler_type=$depmode
   5828         break
   5829       fi
   5830     fi
   5831   done
   5832 
   5833   cd ..
   5834   rm -rf conftest.dir
   5835 else
   5836   am_cv_CCAS_dependencies_compiler_type=none
   5837 fi
   5838 
   5839 fi
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   5841 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   5842 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   5843 
   5844  if
   5845   test "x$enable_dependency_tracking" != xno \
   5846   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   5847   am__fastdepCCAS_TRUE=
   5848   am__fastdepCCAS_FALSE='#'
   5849 else
   5850   am__fastdepCCAS_TRUE='#'
   5851   am__fastdepCCAS_FALSE=
   5852 fi
   5853 
   5854 
   5855 if test -n "$ac_tool_prefix"; then
   5856   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5857 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5859 $as_echo_n "checking for $ac_word... " >&6; }
   5860 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   5861   $as_echo_n "(cached) " >&6
   5862 else
   5863   if test -n "$RANLIB"; then
   5864   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5865 else
   5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5867 for as_dir in $PATH
   5868 do
   5869   IFS=$as_save_IFS
   5870   test -z "$as_dir" && as_dir=.
   5871     for ac_exec_ext in '' $ac_executable_extensions; do
   5872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5873     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5875     break 2
   5876   fi
   5877 done
   5878   done
   5879 IFS=$as_save_IFS
   5880 
   5881 fi
   5882 fi
   5883 RANLIB=$ac_cv_prog_RANLIB
   5884 if test -n "$RANLIB"; then
   5885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5886 $as_echo "$RANLIB" >&6; }
   5887 else
   5888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5889 $as_echo "no" >&6; }
   5890 fi
   5891 
   5892 
   5893 fi
   5894 if test -z "$ac_cv_prog_RANLIB"; then
   5895   ac_ct_RANLIB=$RANLIB
   5896   # Extract the first word of "ranlib", so it can be a program name with args.
   5897 set dummy ranlib; ac_word=$2
   5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5899 $as_echo_n "checking for $ac_word... " >&6; }
   5900 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   5901   $as_echo_n "(cached) " >&6
   5902 else
   5903   if test -n "$ac_ct_RANLIB"; then
   5904   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5905 else
   5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5907 for as_dir in $PATH
   5908 do
   5909   IFS=$as_save_IFS
   5910   test -z "$as_dir" && as_dir=.
   5911     for ac_exec_ext in '' $ac_executable_extensions; do
   5912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5913     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5915     break 2
   5916   fi
   5917 done
   5918   done
   5919 IFS=$as_save_IFS
   5920 
   5921 fi
   5922 fi
   5923 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5924 if test -n "$ac_ct_RANLIB"; then
   5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5926 $as_echo "$ac_ct_RANLIB" >&6; }
   5927 else
   5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5929 $as_echo "no" >&6; }
   5930 fi
   5931 
   5932   if test "x$ac_ct_RANLIB" = x; then
   5933     RANLIB=":"
   5934   else
   5935     case $cross_compiling:$ac_tool_warned in
   5936 yes:)
   5937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5939 ac_tool_warned=yes ;;
   5940 esac
   5941     RANLIB=$ac_ct_RANLIB
   5942   fi
   5943 else
   5944   RANLIB="$ac_cv_prog_RANLIB"
   5945 fi
   5946 
   5947 
   5948 enable_dlopen=yes
   5949 
   5950 
   5951 
   5952 case `pwd` in
   5953   *\ * | *\	*)
   5954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5955 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5956 esac
   5957 
   5958 
   5959 
   5960 macro_version='2.2.7a'
   5961 macro_revision='1.3134'
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 ltmain="$ac_aux_dir/ltmain.sh"
   5976 
   5977 # Backslashify metacharacters that are still active within
   5978 # double-quoted strings.
   5979 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5980 
   5981 # Same as above, but do not quote variable references.
   5982 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5983 
   5984 # Sed substitution to delay expansion of an escaped shell variable in a
   5985 # double_quote_subst'ed string.
   5986 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5987 
   5988 # Sed substitution to delay expansion of an escaped single quote.
   5989 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5990 
   5991 # Sed substitution to avoid accidental globbing in evaled expressions
   5992 no_glob_subst='s/\*/\\\*/g'
   5993 
   5994 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5995 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5996 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5997 
   5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5999 $as_echo_n "checking how to print strings... " >&6; }
   6000 # Test print first, because it will be a builtin if present.
   6001 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   6002    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6003   ECHO='print -r --'
   6004 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6005   ECHO='printf %s\n'
   6006 else
   6007   # Use this function as a fallback that always works.
   6008   func_fallback_echo ()
   6009   {
   6010     eval 'cat <<_LTECHO_EOF
   6011 $1
   6012 _LTECHO_EOF'
   6013   }
   6014   ECHO='func_fallback_echo'
   6015 fi
   6016 
   6017 # func_echo_all arg...
   6018 # Invoke $ECHO with all args, space-separated.
   6019 func_echo_all ()
   6020 {
   6021     $ECHO ""
   6022 }
   6023 
   6024 case "$ECHO" in
   6025   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6026 $as_echo "printf" >&6; } ;;
   6027   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6028 $as_echo "print -r" >&6; } ;;
   6029   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6030 $as_echo "cat" >&6; } ;;
   6031 esac
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6047 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6048 if test "${ac_cv_path_SED+set}" = set; then :
   6049   $as_echo_n "(cached) " >&6
   6050 else
   6051             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6052      for ac_i in 1 2 3 4 5 6 7; do
   6053        ac_script="$ac_script$as_nl$ac_script"
   6054      done
   6055      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6056      { ac_script=; unset ac_script;}
   6057      if test -z "$SED"; then
   6058   ac_path_SED_found=false
   6059   # Loop through the user's path and test for each of PROGNAME-LIST
   6060   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6061 for as_dir in $PATH
   6062 do
   6063   IFS=$as_save_IFS
   6064   test -z "$as_dir" && as_dir=.
   6065     for ac_prog in sed gsed; do
   6066     for ac_exec_ext in '' $ac_executable_extensions; do
   6067       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6068       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   6069 # Check for GNU ac_path_SED and select it if it is found.
   6070   # Check for GNU $ac_path_SED
   6071 case `"$ac_path_SED" --version 2>&1` in
   6072 *GNU*)
   6073   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6074 *)
   6075   ac_count=0
   6076   $as_echo_n 0123456789 >"conftest.in"
   6077   while :
   6078   do
   6079     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6080     mv "conftest.tmp" "conftest.in"
   6081     cp "conftest.in" "conftest.nl"
   6082     $as_echo '' >> "conftest.nl"
   6083     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6084     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6085     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6086     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6087       # Best one so far, save it but keep looking for a better one
   6088       ac_cv_path_SED="$ac_path_SED"
   6089       ac_path_SED_max=$ac_count
   6090     fi
   6091     # 10*(2^10) chars as input seems more than enough
   6092     test $ac_count -gt 10 && break
   6093   done
   6094   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6095 esac
   6096 
   6097       $ac_path_SED_found && break 3
   6098     done
   6099   done
   6100   done
   6101 IFS=$as_save_IFS
   6102   if test -z "$ac_cv_path_SED"; then
   6103     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6104   fi
   6105 else
   6106   ac_cv_path_SED=$SED
   6107 fi
   6108 
   6109 fi
   6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6111 $as_echo "$ac_cv_path_SED" >&6; }
   6112  SED="$ac_cv_path_SED"
   6113   rm -f conftest.sed
   6114 
   6115 test -z "$SED" && SED=sed
   6116 Xsed="$SED -e 1s/^X//"
   6117 
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 
   6125 
   6126 
   6127 
   6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6129 $as_echo_n "checking for fgrep... " >&6; }
   6130 if test "${ac_cv_path_FGREP+set}" = set; then :
   6131   $as_echo_n "(cached) " >&6
   6132 else
   6133   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6134    then ac_cv_path_FGREP="$GREP -F"
   6135    else
   6136      if test -z "$FGREP"; then
   6137   ac_path_FGREP_found=false
   6138   # Loop through the user's path and test for each of PROGNAME-LIST
   6139   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6140 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6141 do
   6142   IFS=$as_save_IFS
   6143   test -z "$as_dir" && as_dir=.
   6144     for ac_prog in fgrep; do
   6145     for ac_exec_ext in '' $ac_executable_extensions; do
   6146       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6147       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   6148 # Check for GNU ac_path_FGREP and select it if it is found.
   6149   # Check for GNU $ac_path_FGREP
   6150 case `"$ac_path_FGREP" --version 2>&1` in
   6151 *GNU*)
   6152   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6153 *)
   6154   ac_count=0
   6155   $as_echo_n 0123456789 >"conftest.in"
   6156   while :
   6157   do
   6158     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6159     mv "conftest.tmp" "conftest.in"
   6160     cp "conftest.in" "conftest.nl"
   6161     $as_echo 'FGREP' >> "conftest.nl"
   6162     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6163     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6164     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6165     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6166       # Best one so far, save it but keep looking for a better one
   6167       ac_cv_path_FGREP="$ac_path_FGREP"
   6168       ac_path_FGREP_max=$ac_count
   6169     fi
   6170     # 10*(2^10) chars as input seems more than enough
   6171     test $ac_count -gt 10 && break
   6172   done
   6173   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6174 esac
   6175 
   6176       $ac_path_FGREP_found && break 3
   6177     done
   6178   done
   6179   done
   6180 IFS=$as_save_IFS
   6181   if test -z "$ac_cv_path_FGREP"; then
   6182     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6183   fi
   6184 else
   6185   ac_cv_path_FGREP=$FGREP
   6186 fi
   6187 
   6188    fi
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6191 $as_echo "$ac_cv_path_FGREP" >&6; }
   6192  FGREP="$ac_cv_path_FGREP"
   6193 
   6194 
   6195 test -z "$GREP" && GREP=grep
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 # Check whether --with-gnu-ld was given.
   6216 if test "${with_gnu_ld+set}" = set; then :
   6217   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6218 else
   6219   with_gnu_ld=no
   6220 fi
   6221 
   6222 ac_prog=ld
   6223 if test "$GCC" = yes; then
   6224   # Check if gcc -print-prog-name=ld gives a path.
   6225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6226 $as_echo_n "checking for ld used by $CC... " >&6; }
   6227   case $host in
   6228   *-*-mingw*)
   6229     # gcc leaves a trailing carriage return which upsets mingw
   6230     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6231   *)
   6232     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6233   esac
   6234   case $ac_prog in
   6235     # Accept absolute paths.
   6236     [\\/]* | ?:[\\/]*)
   6237       re_direlt='/[^/][^/]*/\.\./'
   6238       # Canonicalize the pathname of ld
   6239       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6240       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6241 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6242       done
   6243       test -z "$LD" && LD="$ac_prog"
   6244       ;;
   6245   "")
   6246     # If it fails, then pretend we aren't using GCC.
   6247     ac_prog=ld
   6248     ;;
   6249   *)
   6250     # If it is relative, then search for the first ld in PATH.
   6251     with_gnu_ld=unknown
   6252     ;;
   6253   esac
   6254 elif test "$with_gnu_ld" = yes; then
   6255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6256 $as_echo_n "checking for GNU ld... " >&6; }
   6257 else
   6258   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6259 $as_echo_n "checking for non-GNU ld... " >&6; }
   6260 fi
   6261 if test "${lt_cv_path_LD+set}" = set; then :
   6262   $as_echo_n "(cached) " >&6
   6263 else
   6264   if test -z "$LD"; then
   6265   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6266   for ac_dir in $PATH; do
   6267     IFS="$lt_save_ifs"
   6268     test -z "$ac_dir" && ac_dir=.
   6269     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6270       lt_cv_path_LD="$ac_dir/$ac_prog"
   6271       # Check to see if the program is GNU ld.  I'd rather use --version,
   6272       # but apparently some variants of GNU ld only accept -v.
   6273       # Break only if it was the GNU/non-GNU ld that we prefer.
   6274       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6275       *GNU* | *'with BFD'*)
   6276 	test "$with_gnu_ld" != no && break
   6277 	;;
   6278       *)
   6279 	test "$with_gnu_ld" != yes && break
   6280 	;;
   6281       esac
   6282     fi
   6283   done
   6284   IFS="$lt_save_ifs"
   6285 else
   6286   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6287 fi
   6288 fi
   6289 
   6290 LD="$lt_cv_path_LD"
   6291 if test -n "$LD"; then
   6292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6293 $as_echo "$LD" >&6; }
   6294 else
   6295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6296 $as_echo "no" >&6; }
   6297 fi
   6298 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6300 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6301 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   6302   $as_echo_n "(cached) " >&6
   6303 else
   6304   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6305 case `$LD -v 2>&1 </dev/null` in
   6306 *GNU* | *'with BFD'*)
   6307   lt_cv_prog_gnu_ld=yes
   6308   ;;
   6309 *)
   6310   lt_cv_prog_gnu_ld=no
   6311   ;;
   6312 esac
   6313 fi
   6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6315 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6316 with_gnu_ld=$lt_cv_prog_gnu_ld
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6327 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6328 if test "${lt_cv_path_NM+set}" = set; then :
   6329   $as_echo_n "(cached) " >&6
   6330 else
   6331   if test -n "$NM"; then
   6332   # Let the user override the test.
   6333   lt_cv_path_NM="$NM"
   6334 else
   6335   lt_nm_to_check="${ac_tool_prefix}nm"
   6336   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6337     lt_nm_to_check="$lt_nm_to_check nm"
   6338   fi
   6339   for lt_tmp_nm in $lt_nm_to_check; do
   6340     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6341     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6342       IFS="$lt_save_ifs"
   6343       test -z "$ac_dir" && ac_dir=.
   6344       tmp_nm="$ac_dir/$lt_tmp_nm"
   6345       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   6346 	# Check to see if the nm accepts a BSD-compat flag.
   6347 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6348 	#   nm: unknown option "B" ignored
   6349 	# Tru64's nm complains that /dev/null is an invalid object file
   6350 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   6351 	*/dev/null* | *'Invalid file or object type'*)
   6352 	  lt_cv_path_NM="$tmp_nm -B"
   6353 	  break
   6354 	  ;;
   6355 	*)
   6356 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6357 	  */dev/null*)
   6358 	    lt_cv_path_NM="$tmp_nm -p"
   6359 	    break
   6360 	    ;;
   6361 	  *)
   6362 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6363 	    continue # so that we can try to find one that supports BSD flags
   6364 	    ;;
   6365 	  esac
   6366 	  ;;
   6367 	esac
   6368       fi
   6369     done
   6370     IFS="$lt_save_ifs"
   6371   done
   6372   : ${lt_cv_path_NM=no}
   6373 fi
   6374 fi
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6376 $as_echo "$lt_cv_path_NM" >&6; }
   6377 if test "$lt_cv_path_NM" != "no"; then
   6378   NM="$lt_cv_path_NM"
   6379 else
   6380   # Didn't find any BSD compatible name lister, look for dumpbin.
   6381   if test -n "$DUMPBIN"; then :
   6382     # Let the user override the test.
   6383   else
   6384     if test -n "$ac_tool_prefix"; then
   6385   for ac_prog in dumpbin "link -dump"
   6386   do
   6387     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6390 $as_echo_n "checking for $ac_word... " >&6; }
   6391 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   6392   $as_echo_n "(cached) " >&6
   6393 else
   6394   if test -n "$DUMPBIN"; then
   6395   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6396 else
   6397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6398 for as_dir in $PATH
   6399 do
   6400   IFS=$as_save_IFS
   6401   test -z "$as_dir" && as_dir=.
   6402     for ac_exec_ext in '' $ac_executable_extensions; do
   6403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6404     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6406     break 2
   6407   fi
   6408 done
   6409   done
   6410 IFS=$as_save_IFS
   6411 
   6412 fi
   6413 fi
   6414 DUMPBIN=$ac_cv_prog_DUMPBIN
   6415 if test -n "$DUMPBIN"; then
   6416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6417 $as_echo "$DUMPBIN" >&6; }
   6418 else
   6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6420 $as_echo "no" >&6; }
   6421 fi
   6422 
   6423 
   6424     test -n "$DUMPBIN" && break
   6425   done
   6426 fi
   6427 if test -z "$DUMPBIN"; then
   6428   ac_ct_DUMPBIN=$DUMPBIN
   6429   for ac_prog in dumpbin "link -dump"
   6430 do
   6431   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6432 set dummy $ac_prog; ac_word=$2
   6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6434 $as_echo_n "checking for $ac_word... " >&6; }
   6435 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   6436   $as_echo_n "(cached) " >&6
   6437 else
   6438   if test -n "$ac_ct_DUMPBIN"; then
   6439   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6440 else
   6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6442 for as_dir in $PATH
   6443 do
   6444   IFS=$as_save_IFS
   6445   test -z "$as_dir" && as_dir=.
   6446     for ac_exec_ext in '' $ac_executable_extensions; do
   6447   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6448     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6450     break 2
   6451   fi
   6452 done
   6453   done
   6454 IFS=$as_save_IFS
   6455 
   6456 fi
   6457 fi
   6458 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6459 if test -n "$ac_ct_DUMPBIN"; then
   6460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6461 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6462 else
   6463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6464 $as_echo "no" >&6; }
   6465 fi
   6466 
   6467 
   6468   test -n "$ac_ct_DUMPBIN" && break
   6469 done
   6470 
   6471   if test "x$ac_ct_DUMPBIN" = x; then
   6472     DUMPBIN=":"
   6473   else
   6474     case $cross_compiling:$ac_tool_warned in
   6475 yes:)
   6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6478 ac_tool_warned=yes ;;
   6479 esac
   6480     DUMPBIN=$ac_ct_DUMPBIN
   6481   fi
   6482 fi
   6483 
   6484     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6485     *COFF*)
   6486       DUMPBIN="$DUMPBIN -symbols"
   6487       ;;
   6488     *)
   6489       DUMPBIN=:
   6490       ;;
   6491     esac
   6492   fi
   6493 
   6494   if test "$DUMPBIN" != ":"; then
   6495     NM="$DUMPBIN"
   6496   fi
   6497 fi
   6498 test -z "$NM" && NM=nm
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6506 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6507 if test "${lt_cv_nm_interface+set}" = set; then :
   6508   $as_echo_n "(cached) " >&6
   6509 else
   6510   lt_cv_nm_interface="BSD nm"
   6511   echo "int some_variable = 0;" > conftest.$ac_ext
   6512   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6513   (eval "$ac_compile" 2>conftest.err)
   6514   cat conftest.err >&5
   6515   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6516   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6517   cat conftest.err >&5
   6518   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6519   cat conftest.out >&5
   6520   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6521     lt_cv_nm_interface="MS dumpbin"
   6522   fi
   6523   rm -f conftest*
   6524 fi
   6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6526 $as_echo "$lt_cv_nm_interface" >&6; }
   6527 
   6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6529 $as_echo_n "checking whether ln -s works... " >&6; }
   6530 LN_S=$as_ln_s
   6531 if test "$LN_S" = "ln -s"; then
   6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6533 $as_echo "yes" >&6; }
   6534 else
   6535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6536 $as_echo "no, using $LN_S" >&6; }
   6537 fi
   6538 
   6539 # find the maximum length of command line arguments
   6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6541 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6542 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545     i=0
   6546   teststring="ABCD"
   6547 
   6548   case $build_os in
   6549   msdosdjgpp*)
   6550     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6551     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6552     # during glob expansion).  Even if it were fixed, the result of this
   6553     # check would be larger than it should be.
   6554     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6555     ;;
   6556 
   6557   gnu*)
   6558     # Under GNU Hurd, this test is not required because there is
   6559     # no limit to the length of command line arguments.
   6560     # Libtool will interpret -1 as no limit whatsoever
   6561     lt_cv_sys_max_cmd_len=-1;
   6562     ;;
   6563 
   6564   cygwin* | mingw* | cegcc*)
   6565     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6566     # about 5 minutes as the teststring grows exponentially.
   6567     # Worse, since 9x/ME are not pre-emptively multitasking,
   6568     # you end up with a "frozen" computer, even though with patience
   6569     # the test eventually succeeds (with a max line length of 256k).
   6570     # Instead, let's just punt: use the minimum linelength reported by
   6571     # all of the supported platforms: 8192 (on NT/2K/XP).
   6572     lt_cv_sys_max_cmd_len=8192;
   6573     ;;
   6574 
   6575   mint*)
   6576     # On MiNT this can take a long time and run out of memory.
   6577     lt_cv_sys_max_cmd_len=8192;
   6578     ;;
   6579 
   6580   amigaos*)
   6581     # On AmigaOS with pdksh, this test takes hours, literally.
   6582     # So we just punt and use a minimum line length of 8192.
   6583     lt_cv_sys_max_cmd_len=8192;
   6584     ;;
   6585 
   6586   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6587     # This has been around since 386BSD, at least.  Likely further.
   6588     if test -x /sbin/sysctl; then
   6589       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6590     elif test -x /usr/sbin/sysctl; then
   6591       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6592     else
   6593       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6594     fi
   6595     # And add a safety zone
   6596     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6597     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6598     ;;
   6599 
   6600   interix*)
   6601     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6602     lt_cv_sys_max_cmd_len=196608
   6603     ;;
   6604 
   6605   osf*)
   6606     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6607     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6608     # nice to cause kernel panics so lets avoid the loop below.
   6609     # First set a reasonable default.
   6610     lt_cv_sys_max_cmd_len=16384
   6611     #
   6612     if test -x /sbin/sysconfig; then
   6613       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6614         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6615       esac
   6616     fi
   6617     ;;
   6618   sco3.2v5*)
   6619     lt_cv_sys_max_cmd_len=102400
   6620     ;;
   6621   sysv5* | sco5v6* | sysv4.2uw2*)
   6622     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6623     if test -n "$kargmax"; then
   6624       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6625     else
   6626       lt_cv_sys_max_cmd_len=32768
   6627     fi
   6628     ;;
   6629   *)
   6630     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6631     if test -n "$lt_cv_sys_max_cmd_len"; then
   6632       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6633       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6634     else
   6635       # Make teststring a little bigger before we do anything with it.
   6636       # a 1K string should be a reasonable start.
   6637       for i in 1 2 3 4 5 6 7 8 ; do
   6638         teststring=$teststring$teststring
   6639       done
   6640       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6641       # If test is not a shell built-in, we'll probably end up computing a
   6642       # maximum length that is only half of the actual maximum length, but
   6643       # we can't tell.
   6644       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6645 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6646 	      test $i != 17 # 1/2 MB should be enough
   6647       do
   6648         i=`expr $i + 1`
   6649         teststring=$teststring$teststring
   6650       done
   6651       # Only check the string length outside the loop.
   6652       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6653       teststring=
   6654       # Add a significant safety factor because C++ compilers can tack on
   6655       # massive amounts of additional arguments before passing them to the
   6656       # linker.  It appears as though 1/2 is a usable value.
   6657       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6658     fi
   6659     ;;
   6660   esac
   6661 
   6662 fi
   6663 
   6664 if test -n $lt_cv_sys_max_cmd_len ; then
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6666 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6667 else
   6668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6669 $as_echo "none" >&6; }
   6670 fi
   6671 max_cmd_len=$lt_cv_sys_max_cmd_len
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 : ${CP="cp -f"}
   6679 : ${MV="mv -f"}
   6680 : ${RM="rm -f"}
   6681 
   6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6683 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6684 # Try some XSI features
   6685 xsi_shell=no
   6686 ( _lt_dummy="a/b/c"
   6687   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6688       = c,a/b,, \
   6689     && eval 'test $(( 1 + 1 )) -eq 2 \
   6690     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6691   && xsi_shell=yes
   6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6693 $as_echo "$xsi_shell" >&6; }
   6694 
   6695 
   6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6697 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6698 lt_shell_append=no
   6699 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6700     >/dev/null 2>&1 \
   6701   && lt_shell_append=yes
   6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6703 $as_echo "$lt_shell_append" >&6; }
   6704 
   6705 
   6706 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6707   lt_unset=unset
   6708 else
   6709   lt_unset=false
   6710 fi
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 # test EBCDIC or ASCII
   6717 case `echo X|tr X '\101'` in
   6718  A) # ASCII based system
   6719     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6720   lt_SP2NL='tr \040 \012'
   6721   lt_NL2SP='tr \015\012 \040\040'
   6722   ;;
   6723  *) # EBCDIC based system
   6724   lt_SP2NL='tr \100 \n'
   6725   lt_NL2SP='tr \r\n \100\100'
   6726   ;;
   6727 esac
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6738 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6739 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   6740   $as_echo_n "(cached) " >&6
   6741 else
   6742   lt_cv_ld_reload_flag='-r'
   6743 fi
   6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6745 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6746 reload_flag=$lt_cv_ld_reload_flag
   6747 case $reload_flag in
   6748 "" | " "*) ;;
   6749 *) reload_flag=" $reload_flag" ;;
   6750 esac
   6751 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6752 case $host_os in
   6753   darwin*)
   6754     if test "$GCC" = yes; then
   6755       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6756     else
   6757       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6758     fi
   6759     ;;
   6760 esac
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 if test -n "$ac_tool_prefix"; then
   6771   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6772 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6774 $as_echo_n "checking for $ac_word... " >&6; }
   6775 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   6776   $as_echo_n "(cached) " >&6
   6777 else
   6778   if test -n "$OBJDUMP"; then
   6779   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6780 else
   6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6782 for as_dir in $PATH
   6783 do
   6784   IFS=$as_save_IFS
   6785   test -z "$as_dir" && as_dir=.
   6786     for ac_exec_ext in '' $ac_executable_extensions; do
   6787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6788     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6790     break 2
   6791   fi
   6792 done
   6793   done
   6794 IFS=$as_save_IFS
   6795 
   6796 fi
   6797 fi
   6798 OBJDUMP=$ac_cv_prog_OBJDUMP
   6799 if test -n "$OBJDUMP"; then
   6800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6801 $as_echo "$OBJDUMP" >&6; }
   6802 else
   6803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6804 $as_echo "no" >&6; }
   6805 fi
   6806 
   6807 
   6808 fi
   6809 if test -z "$ac_cv_prog_OBJDUMP"; then
   6810   ac_ct_OBJDUMP=$OBJDUMP
   6811   # Extract the first word of "objdump", so it can be a program name with args.
   6812 set dummy objdump; ac_word=$2
   6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6814 $as_echo_n "checking for $ac_word... " >&6; }
   6815 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   6816   $as_echo_n "(cached) " >&6
   6817 else
   6818   if test -n "$ac_ct_OBJDUMP"; then
   6819   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6820 else
   6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6822 for as_dir in $PATH
   6823 do
   6824   IFS=$as_save_IFS
   6825   test -z "$as_dir" && as_dir=.
   6826     for ac_exec_ext in '' $ac_executable_extensions; do
   6827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6828     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6829     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6830     break 2
   6831   fi
   6832 done
   6833   done
   6834 IFS=$as_save_IFS
   6835 
   6836 fi
   6837 fi
   6838 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6839 if test -n "$ac_ct_OBJDUMP"; then
   6840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6841 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6842 else
   6843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6844 $as_echo "no" >&6; }
   6845 fi
   6846 
   6847   if test "x$ac_ct_OBJDUMP" = x; then
   6848     OBJDUMP="false"
   6849   else
   6850     case $cross_compiling:$ac_tool_warned in
   6851 yes:)
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6854 ac_tool_warned=yes ;;
   6855 esac
   6856     OBJDUMP=$ac_ct_OBJDUMP
   6857   fi
   6858 else
   6859   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6860 fi
   6861 
   6862 test -z "$OBJDUMP" && OBJDUMP=objdump
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6873 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6874 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   6875   $as_echo_n "(cached) " >&6
   6876 else
   6877   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6878 lt_cv_file_magic_test_file=
   6879 lt_cv_deplibs_check_method='unknown'
   6880 # Need to set the preceding variable on all platforms that support
   6881 # interlibrary dependencies.
   6882 # 'none' -- dependencies not supported.
   6883 # `unknown' -- same as none, but documents that we really don't know.
   6884 # 'pass_all' -- all dependencies passed with no checks.
   6885 # 'test_compile' -- check by making test program.
   6886 # 'file_magic [[regex]]' -- check by looking for files in library path
   6887 # which responds to the $file_magic_cmd with a given extended regex.
   6888 # If you have `file' or equivalent on your system and you're not sure
   6889 # whether `pass_all' will *always* work, you probably want this one.
   6890 
   6891 case $host_os in
   6892 aix[4-9]*)
   6893   lt_cv_deplibs_check_method=pass_all
   6894   ;;
   6895 
   6896 beos*)
   6897   lt_cv_deplibs_check_method=pass_all
   6898   ;;
   6899 
   6900 bsdi[45]*)
   6901   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6902   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6903   lt_cv_file_magic_test_file=/shlib/libc.so
   6904   ;;
   6905 
   6906 cygwin*)
   6907   # func_win32_libid is a shell function defined in ltmain.sh
   6908   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6909   lt_cv_file_magic_cmd='func_win32_libid'
   6910   ;;
   6911 
   6912 mingw* | pw32*)
   6913   # Base MSYS/MinGW do not provide the 'file' command needed by
   6914   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6915   # unless we find 'file', for example because we are cross-compiling.
   6916   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6917   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6918     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6919     lt_cv_file_magic_cmd='func_win32_libid'
   6920   else
   6921     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6922     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6923   fi
   6924   ;;
   6925 
   6926 cegcc*)
   6927   # use the weaker test based on 'objdump'. See mingw*.
   6928   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6929   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6930   ;;
   6931 
   6932 darwin* | rhapsody*)
   6933   lt_cv_deplibs_check_method=pass_all
   6934   ;;
   6935 
   6936 freebsd* | dragonfly*)
   6937   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6938     case $host_cpu in
   6939     i*86 )
   6940       # Not sure whether the presence of OpenBSD here was a mistake.
   6941       # Let's accept both of them until this is cleared up.
   6942       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6943       lt_cv_file_magic_cmd=/usr/bin/file
   6944       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6945       ;;
   6946     esac
   6947   else
   6948     lt_cv_deplibs_check_method=pass_all
   6949   fi
   6950   ;;
   6951 
   6952 gnu*)
   6953   lt_cv_deplibs_check_method=pass_all
   6954   ;;
   6955 
   6956 haiku*)
   6957   lt_cv_deplibs_check_method=pass_all
   6958   ;;
   6959 
   6960 hpux10.20* | hpux11*)
   6961   lt_cv_file_magic_cmd=/usr/bin/file
   6962   case $host_cpu in
   6963   ia64*)
   6964     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6965     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6966     ;;
   6967   hppa*64*)
   6968     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]'
   6969     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6970     ;;
   6971   *)
   6972     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6973     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6974     ;;
   6975   esac
   6976   ;;
   6977 
   6978 interix[3-9]*)
   6979   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6980   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6981   ;;
   6982 
   6983 irix5* | irix6* | nonstopux*)
   6984   case $LD in
   6985   *-32|*"-32 ") libmagic=32-bit;;
   6986   *-n32|*"-n32 ") libmagic=N32;;
   6987   *-64|*"-64 ") libmagic=64-bit;;
   6988   *) libmagic=never-match;;
   6989   esac
   6990   lt_cv_deplibs_check_method=pass_all
   6991   ;;
   6992 
   6993 # This must be Linux ELF.
   6994 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6995   lt_cv_deplibs_check_method=pass_all
   6996   ;;
   6997 
   6998 netbsd*)
   6999   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7000     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7001   else
   7002     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7003   fi
   7004   ;;
   7005 
   7006 newos6*)
   7007   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7008   lt_cv_file_magic_cmd=/usr/bin/file
   7009   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7010   ;;
   7011 
   7012 *nto* | *qnx*)
   7013   lt_cv_deplibs_check_method=pass_all
   7014   ;;
   7015 
   7016 openbsd*)
   7017   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7018     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7019   else
   7020     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7021   fi
   7022   ;;
   7023 
   7024 osf3* | osf4* | osf5*)
   7025   lt_cv_deplibs_check_method=pass_all
   7026   ;;
   7027 
   7028 rdos*)
   7029   lt_cv_deplibs_check_method=pass_all
   7030   ;;
   7031 
   7032 solaris*)
   7033   lt_cv_deplibs_check_method=pass_all
   7034   ;;
   7035 
   7036 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7037   lt_cv_deplibs_check_method=pass_all
   7038   ;;
   7039 
   7040 sysv4 | sysv4.3*)
   7041   case $host_vendor in
   7042   motorola)
   7043     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]'
   7044     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7045     ;;
   7046   ncr)
   7047     lt_cv_deplibs_check_method=pass_all
   7048     ;;
   7049   sequent)
   7050     lt_cv_file_magic_cmd='/bin/file'
   7051     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7052     ;;
   7053   sni)
   7054     lt_cv_file_magic_cmd='/bin/file'
   7055     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7056     lt_cv_file_magic_test_file=/lib/libc.so
   7057     ;;
   7058   siemens)
   7059     lt_cv_deplibs_check_method=pass_all
   7060     ;;
   7061   pc)
   7062     lt_cv_deplibs_check_method=pass_all
   7063     ;;
   7064   esac
   7065   ;;
   7066 
   7067 tpf*)
   7068   lt_cv_deplibs_check_method=pass_all
   7069   ;;
   7070 esac
   7071 
   7072 fi
   7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7074 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7075 file_magic_cmd=$lt_cv_file_magic_cmd
   7076 deplibs_check_method=$lt_cv_deplibs_check_method
   7077 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7078 
   7079 
   7080 
   7081 
   7082 
   7083 
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 if test -n "$ac_tool_prefix"; then
   7091   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7092 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7094 $as_echo_n "checking for $ac_word... " >&6; }
   7095 if test "${ac_cv_prog_AR+set}" = set; then :
   7096   $as_echo_n "(cached) " >&6
   7097 else
   7098   if test -n "$AR"; then
   7099   ac_cv_prog_AR="$AR" # Let the user override the test.
   7100 else
   7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7102 for as_dir in $PATH
   7103 do
   7104   IFS=$as_save_IFS
   7105   test -z "$as_dir" && as_dir=.
   7106     for ac_exec_ext in '' $ac_executable_extensions; do
   7107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7108     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7110     break 2
   7111   fi
   7112 done
   7113   done
   7114 IFS=$as_save_IFS
   7115 
   7116 fi
   7117 fi
   7118 AR=$ac_cv_prog_AR
   7119 if test -n "$AR"; then
   7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7121 $as_echo "$AR" >&6; }
   7122 else
   7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7124 $as_echo "no" >&6; }
   7125 fi
   7126 
   7127 
   7128 fi
   7129 if test -z "$ac_cv_prog_AR"; then
   7130   ac_ct_AR=$AR
   7131   # Extract the first word of "ar", so it can be a program name with args.
   7132 set dummy ar; ac_word=$2
   7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7134 $as_echo_n "checking for $ac_word... " >&6; }
   7135 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   7136   $as_echo_n "(cached) " >&6
   7137 else
   7138   if test -n "$ac_ct_AR"; then
   7139   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7140 else
   7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7142 for as_dir in $PATH
   7143 do
   7144   IFS=$as_save_IFS
   7145   test -z "$as_dir" && as_dir=.
   7146     for ac_exec_ext in '' $ac_executable_extensions; do
   7147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7148     ac_cv_prog_ac_ct_AR="ar"
   7149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7150     break 2
   7151   fi
   7152 done
   7153   done
   7154 IFS=$as_save_IFS
   7155 
   7156 fi
   7157 fi
   7158 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7159 if test -n "$ac_ct_AR"; then
   7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7161 $as_echo "$ac_ct_AR" >&6; }
   7162 else
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7164 $as_echo "no" >&6; }
   7165 fi
   7166 
   7167   if test "x$ac_ct_AR" = x; then
   7168     AR="false"
   7169   else
   7170     case $cross_compiling:$ac_tool_warned in
   7171 yes:)
   7172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7174 ac_tool_warned=yes ;;
   7175 esac
   7176     AR=$ac_ct_AR
   7177   fi
   7178 else
   7179   AR="$ac_cv_prog_AR"
   7180 fi
   7181 
   7182 test -z "$AR" && AR=ar
   7183 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 if test -n "$ac_tool_prefix"; then
   7196   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7197 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7199 $as_echo_n "checking for $ac_word... " >&6; }
   7200 if test "${ac_cv_prog_STRIP+set}" = set; then :
   7201   $as_echo_n "(cached) " >&6
   7202 else
   7203   if test -n "$STRIP"; then
   7204   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7205 else
   7206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7207 for as_dir in $PATH
   7208 do
   7209   IFS=$as_save_IFS
   7210   test -z "$as_dir" && as_dir=.
   7211     for ac_exec_ext in '' $ac_executable_extensions; do
   7212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7213     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7214     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7215     break 2
   7216   fi
   7217 done
   7218   done
   7219 IFS=$as_save_IFS
   7220 
   7221 fi
   7222 fi
   7223 STRIP=$ac_cv_prog_STRIP
   7224 if test -n "$STRIP"; then
   7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7226 $as_echo "$STRIP" >&6; }
   7227 else
   7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7229 $as_echo "no" >&6; }
   7230 fi
   7231 
   7232 
   7233 fi
   7234 if test -z "$ac_cv_prog_STRIP"; then
   7235   ac_ct_STRIP=$STRIP
   7236   # Extract the first word of "strip", so it can be a program name with args.
   7237 set dummy strip; ac_word=$2
   7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7239 $as_echo_n "checking for $ac_word... " >&6; }
   7240 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   7241   $as_echo_n "(cached) " >&6
   7242 else
   7243   if test -n "$ac_ct_STRIP"; then
   7244   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7245 else
   7246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7247 for as_dir in $PATH
   7248 do
   7249   IFS=$as_save_IFS
   7250   test -z "$as_dir" && as_dir=.
   7251     for ac_exec_ext in '' $ac_executable_extensions; do
   7252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7253     ac_cv_prog_ac_ct_STRIP="strip"
   7254     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7255     break 2
   7256   fi
   7257 done
   7258   done
   7259 IFS=$as_save_IFS
   7260 
   7261 fi
   7262 fi
   7263 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7264 if test -n "$ac_ct_STRIP"; then
   7265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7266 $as_echo "$ac_ct_STRIP" >&6; }
   7267 else
   7268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7269 $as_echo "no" >&6; }
   7270 fi
   7271 
   7272   if test "x$ac_ct_STRIP" = x; then
   7273     STRIP=":"
   7274   else
   7275     case $cross_compiling:$ac_tool_warned in
   7276 yes:)
   7277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7279 ac_tool_warned=yes ;;
   7280 esac
   7281     STRIP=$ac_ct_STRIP
   7282   fi
   7283 else
   7284   STRIP="$ac_cv_prog_STRIP"
   7285 fi
   7286 
   7287 test -z "$STRIP" && STRIP=:
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 if test -n "$ac_tool_prefix"; then
   7295   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7296 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7298 $as_echo_n "checking for $ac_word... " >&6; }
   7299 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   7300   $as_echo_n "(cached) " >&6
   7301 else
   7302   if test -n "$RANLIB"; then
   7303   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7304 else
   7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7306 for as_dir in $PATH
   7307 do
   7308   IFS=$as_save_IFS
   7309   test -z "$as_dir" && as_dir=.
   7310     for ac_exec_ext in '' $ac_executable_extensions; do
   7311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7312     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7314     break 2
   7315   fi
   7316 done
   7317   done
   7318 IFS=$as_save_IFS
   7319 
   7320 fi
   7321 fi
   7322 RANLIB=$ac_cv_prog_RANLIB
   7323 if test -n "$RANLIB"; then
   7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7325 $as_echo "$RANLIB" >&6; }
   7326 else
   7327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7328 $as_echo "no" >&6; }
   7329 fi
   7330 
   7331 
   7332 fi
   7333 if test -z "$ac_cv_prog_RANLIB"; then
   7334   ac_ct_RANLIB=$RANLIB
   7335   # Extract the first word of "ranlib", so it can be a program name with args.
   7336 set dummy ranlib; ac_word=$2
   7337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7338 $as_echo_n "checking for $ac_word... " >&6; }
   7339 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   7340   $as_echo_n "(cached) " >&6
   7341 else
   7342   if test -n "$ac_ct_RANLIB"; then
   7343   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7344 else
   7345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7346 for as_dir in $PATH
   7347 do
   7348   IFS=$as_save_IFS
   7349   test -z "$as_dir" && as_dir=.
   7350     for ac_exec_ext in '' $ac_executable_extensions; do
   7351   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7352     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7353     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7354     break 2
   7355   fi
   7356 done
   7357   done
   7358 IFS=$as_save_IFS
   7359 
   7360 fi
   7361 fi
   7362 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7363 if test -n "$ac_ct_RANLIB"; then
   7364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7365 $as_echo "$ac_ct_RANLIB" >&6; }
   7366 else
   7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7368 $as_echo "no" >&6; }
   7369 fi
   7370 
   7371   if test "x$ac_ct_RANLIB" = x; then
   7372     RANLIB=":"
   7373   else
   7374     case $cross_compiling:$ac_tool_warned in
   7375 yes:)
   7376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7378 ac_tool_warned=yes ;;
   7379 esac
   7380     RANLIB=$ac_ct_RANLIB
   7381   fi
   7382 else
   7383   RANLIB="$ac_cv_prog_RANLIB"
   7384 fi
   7385 
   7386 test -z "$RANLIB" && RANLIB=:
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 # Determine commands to create old-style static archives.
   7394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7395 old_postinstall_cmds='chmod 644 $oldlib'
   7396 old_postuninstall_cmds=
   7397 
   7398 if test -n "$RANLIB"; then
   7399   case $host_os in
   7400   openbsd*)
   7401     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7402     ;;
   7403   *)
   7404     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7405     ;;
   7406   esac
   7407   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7408 fi
   7409 
   7410 case $host_os in
   7411   darwin*)
   7412     lock_old_archive_extraction=yes ;;
   7413   *)
   7414     lock_old_archive_extraction=no ;;
   7415 esac
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 # If no C compiler was specified, use CC.
   7456 LTCC=${LTCC-"$CC"}
   7457 
   7458 # If no C compiler flags were specified, use CFLAGS.
   7459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7460 
   7461 # Allow CC to be a program name with arguments.
   7462 compiler=$CC
   7463 
   7464 
   7465 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7467 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7468 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   7469   $as_echo_n "(cached) " >&6
   7470 else
   7471 
   7472 # These are sane defaults that work on at least a few old systems.
   7473 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7474 
   7475 # Character class describing NM global symbol codes.
   7476 symcode='[BCDEGRST]'
   7477 
   7478 # Regexp to match symbols that can be accessed directly from C.
   7479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7480 
   7481 # Define system-specific variables.
   7482 case $host_os in
   7483 aix*)
   7484   symcode='[BCDT]'
   7485   ;;
   7486 cygwin* | mingw* | pw32* | cegcc*)
   7487   symcode='[ABCDGISTW]'
   7488   ;;
   7489 hpux*)
   7490   if test "$host_cpu" = ia64; then
   7491     symcode='[ABCDEGRST]'
   7492   fi
   7493   ;;
   7494 irix* | nonstopux*)
   7495   symcode='[BCDEGRST]'
   7496   ;;
   7497 osf*)
   7498   symcode='[BCDEGQRST]'
   7499   ;;
   7500 solaris*)
   7501   symcode='[BDRT]'
   7502   ;;
   7503 sco3.2v5*)
   7504   symcode='[DT]'
   7505   ;;
   7506 sysv4.2uw2*)
   7507   symcode='[DT]'
   7508   ;;
   7509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7510   symcode='[ABDT]'
   7511   ;;
   7512 sysv4)
   7513   symcode='[DFNSTU]'
   7514   ;;
   7515 esac
   7516 
   7517 # If we're using GNU nm, then use its standard symbol codes.
   7518 case `$NM -V 2>&1` in
   7519 *GNU* | *'with BFD'*)
   7520   symcode='[ABCDGIRSTW]' ;;
   7521 esac
   7522 
   7523 # Transform an extracted symbol line into a proper C declaration.
   7524 # Some systems (esp. on ia64) link data and code symbols differently,
   7525 # so use this general approach.
   7526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7527 
   7528 # Transform an extracted symbol line into symbol name and symbol address
   7529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7530 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'"
   7531 
   7532 # Handle CRLF in mingw tool chain
   7533 opt_cr=
   7534 case $build_os in
   7535 mingw*)
   7536   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7537   ;;
   7538 esac
   7539 
   7540 # Try without a prefix underscore, then with it.
   7541 for ac_symprfx in "" "_"; do
   7542 
   7543   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7544   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7545 
   7546   # Write the raw and C identifiers.
   7547   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7548     # Fake it for dumpbin and say T for any non-static function
   7549     # and D for any global variable.
   7550     # Also find C++ and __fastcall symbols from MSVC++,
   7551     # which start with @ or ?.
   7552     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7553 "     {last_section=section; section=\$ 3};"\
   7554 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7555 "     \$ 0!~/External *\|/{next};"\
   7556 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7557 "     {if(hide[section]) next};"\
   7558 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7559 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7560 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7561 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7562 "     ' prfx=^$ac_symprfx"
   7563   else
   7564     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7565   fi
   7566 
   7567   # Check to see that the pipe works correctly.
   7568   pipe_works=no
   7569 
   7570   rm -f conftest*
   7571   cat > conftest.$ac_ext <<_LT_EOF
   7572 #ifdef __cplusplus
   7573 extern "C" {
   7574 #endif
   7575 char nm_test_var;
   7576 void nm_test_func(void);
   7577 void nm_test_func(void){}
   7578 #ifdef __cplusplus
   7579 }
   7580 #endif
   7581 int main(){nm_test_var='a';nm_test_func();return(0);}
   7582 _LT_EOF
   7583 
   7584   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7585   (eval $ac_compile) 2>&5
   7586   ac_status=$?
   7587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7588   test $ac_status = 0; }; then
   7589     # Now try to grab the symbols.
   7590     nlist=conftest.nm
   7591     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7592   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7593   ac_status=$?
   7594   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7595   test $ac_status = 0; } && test -s "$nlist"; then
   7596       # Try sorting and uniquifying the output.
   7597       if sort "$nlist" | uniq > "$nlist"T; then
   7598 	mv -f "$nlist"T "$nlist"
   7599       else
   7600 	rm -f "$nlist"T
   7601       fi
   7602 
   7603       # Make sure that we snagged all the symbols we need.
   7604       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7605 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7606 	  cat <<_LT_EOF > conftest.$ac_ext
   7607 #ifdef __cplusplus
   7608 extern "C" {
   7609 #endif
   7610 
   7611 _LT_EOF
   7612 	  # Now generate the symbol file.
   7613 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7614 
   7615 	  cat <<_LT_EOF >> conftest.$ac_ext
   7616 
   7617 /* The mapping between symbol names and symbols.  */
   7618 const struct {
   7619   const char *name;
   7620   void       *address;
   7621 }
   7622 lt__PROGRAM__LTX_preloaded_symbols[] =
   7623 {
   7624   { "@PROGRAM@", (void *) 0 },
   7625 _LT_EOF
   7626 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7627 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7628   {0, (void *) 0}
   7629 };
   7630 
   7631 /* This works around a problem in FreeBSD linker */
   7632 #ifdef FREEBSD_WORKAROUND
   7633 static const void *lt_preloaded_setup() {
   7634   return lt__PROGRAM__LTX_preloaded_symbols;
   7635 }
   7636 #endif
   7637 
   7638 #ifdef __cplusplus
   7639 }
   7640 #endif
   7641 _LT_EOF
   7642 	  # Now try linking the two files.
   7643 	  mv conftest.$ac_objext conftstm.$ac_objext
   7644 	  lt_save_LIBS="$LIBS"
   7645 	  lt_save_CFLAGS="$CFLAGS"
   7646 	  LIBS="conftstm.$ac_objext"
   7647 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7648 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7649   (eval $ac_link) 2>&5
   7650   ac_status=$?
   7651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7652   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7653 	    pipe_works=yes
   7654 	  fi
   7655 	  LIBS="$lt_save_LIBS"
   7656 	  CFLAGS="$lt_save_CFLAGS"
   7657 	else
   7658 	  echo "cannot find nm_test_func in $nlist" >&5
   7659 	fi
   7660       else
   7661 	echo "cannot find nm_test_var in $nlist" >&5
   7662       fi
   7663     else
   7664       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7665     fi
   7666   else
   7667     echo "$progname: failed program was:" >&5
   7668     cat conftest.$ac_ext >&5
   7669   fi
   7670   rm -rf conftest* conftst*
   7671 
   7672   # Do not use the global_symbol_pipe unless it works.
   7673   if test "$pipe_works" = yes; then
   7674     break
   7675   else
   7676     lt_cv_sys_global_symbol_pipe=
   7677   fi
   7678 done
   7679 
   7680 fi
   7681 
   7682 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7683   lt_cv_sys_global_symbol_to_cdecl=
   7684 fi
   7685 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7687 $as_echo "failed" >&6; }
   7688 else
   7689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7690 $as_echo "ok" >&6; }
   7691 fi
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 # Check whether --enable-libtool-lock was given.
   7715 if test "${enable_libtool_lock+set}" = set; then :
   7716   enableval=$enable_libtool_lock;
   7717 fi
   7718 
   7719 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7720 
   7721 # Some flags need to be propagated to the compiler or linker for good
   7722 # libtool support.
   7723 case $host in
   7724 ia64-*-hpux*)
   7725   # Find out which ABI we are using.
   7726   echo 'int i;' > conftest.$ac_ext
   7727   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7728   (eval $ac_compile) 2>&5
   7729   ac_status=$?
   7730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7731   test $ac_status = 0; }; then
   7732     case `/usr/bin/file conftest.$ac_objext` in
   7733       *ELF-32*)
   7734 	HPUX_IA64_MODE="32"
   7735 	;;
   7736       *ELF-64*)
   7737 	HPUX_IA64_MODE="64"
   7738 	;;
   7739     esac
   7740   fi
   7741   rm -rf conftest*
   7742   ;;
   7743 *-*-irix6*)
   7744   # Find out which ABI we are using.
   7745   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7746   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7747   (eval $ac_compile) 2>&5
   7748   ac_status=$?
   7749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7750   test $ac_status = 0; }; then
   7751     if test "$lt_cv_prog_gnu_ld" = yes; then
   7752       case `/usr/bin/file conftest.$ac_objext` in
   7753 	*32-bit*)
   7754 	  LD="${LD-ld} -melf32bsmip"
   7755 	  ;;
   7756 	*N32*)
   7757 	  LD="${LD-ld} -melf32bmipn32"
   7758 	  ;;
   7759 	*64-bit*)
   7760 	  LD="${LD-ld} -melf64bmip"
   7761 	;;
   7762       esac
   7763     else
   7764       case `/usr/bin/file conftest.$ac_objext` in
   7765 	*32-bit*)
   7766 	  LD="${LD-ld} -32"
   7767 	  ;;
   7768 	*N32*)
   7769 	  LD="${LD-ld} -n32"
   7770 	  ;;
   7771 	*64-bit*)
   7772 	  LD="${LD-ld} -64"
   7773 	  ;;
   7774       esac
   7775     fi
   7776   fi
   7777   rm -rf conftest*
   7778   ;;
   7779 
   7780 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7781 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7782   # Find out which ABI we are using.
   7783   echo 'int i;' > conftest.$ac_ext
   7784   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7785   (eval $ac_compile) 2>&5
   7786   ac_status=$?
   7787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7788   test $ac_status = 0; }; then
   7789     case `/usr/bin/file conftest.o` in
   7790       *32-bit*)
   7791 	case $host in
   7792 	  x86_64-*kfreebsd*-gnu)
   7793 	    LD="${LD-ld} -m elf_i386_fbsd"
   7794 	    ;;
   7795 	  x86_64-*linux*)
   7796 	    case `/usr/bin/file conftest.o` in
   7797 	      *x86-64*)
   7798 		LD="${LD-ld} -m elf32_x86_64"
   7799 		;;
   7800 	      *)
   7801 		LD="${LD-ld} -m elf_i386"
   7802 		;;
   7803 	    esac
   7804 	    ;;
   7805 	  powerpc64le-*linux*)
   7806 	    LD="${LD-ld} -m elf32lppclinux"
   7807 	    ;;
   7808 	  powerpc64-*linux*)
   7809 	    LD="${LD-ld} -m elf32ppclinux"
   7810 	    ;;
   7811 	  s390x-*linux*)
   7812 	    LD="${LD-ld} -m elf_s390"
   7813 	    ;;
   7814 	  sparc64-*linux*)
   7815 	    LD="${LD-ld} -m elf32_sparc"
   7816 	    ;;
   7817 	esac
   7818 	;;
   7819       *64-bit*)
   7820 	case $host in
   7821 	  x86_64-*kfreebsd*-gnu)
   7822 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7823 	    ;;
   7824 	  x86_64-*linux*)
   7825 	    LD="${LD-ld} -m elf_x86_64"
   7826 	    ;;
   7827 	  powerpcle-*linux*)
   7828 	    LD="${LD-ld} -m elf64lppc"
   7829 	    ;;
   7830 	  powerpc-*linux*)
   7831 	    LD="${LD-ld} -m elf64ppc"
   7832 	    ;;
   7833 	  s390*-*linux*|s390*-*tpf*)
   7834 	    LD="${LD-ld} -m elf64_s390"
   7835 	    ;;
   7836 	  sparc*-*linux*)
   7837 	    LD="${LD-ld} -m elf64_sparc"
   7838 	    ;;
   7839 	esac
   7840 	;;
   7841     esac
   7842   fi
   7843   rm -rf conftest*
   7844   ;;
   7845 
   7846 *-*-sco3.2v5*)
   7847   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7848   SAVE_CFLAGS="$CFLAGS"
   7849   CFLAGS="$CFLAGS -belf"
   7850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7851 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7852 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   7853   $as_echo_n "(cached) " >&6
   7854 else
   7855   ac_ext=c
   7856 ac_cpp='$CPP $CPPFLAGS'
   7857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7860 
   7861      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7862 /* end confdefs.h.  */
   7863 
   7864 int
   7865 main ()
   7866 {
   7867 
   7868   ;
   7869   return 0;
   7870 }
   7871 _ACEOF
   7872 if ac_fn_c_try_link "$LINENO"; then :
   7873   lt_cv_cc_needs_belf=yes
   7874 else
   7875   lt_cv_cc_needs_belf=no
   7876 fi
   7877 rm -f core conftest.err conftest.$ac_objext \
   7878     conftest$ac_exeext conftest.$ac_ext
   7879      ac_ext=c
   7880 ac_cpp='$CPP $CPPFLAGS'
   7881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7884 
   7885 fi
   7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7887 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7888   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7889     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7890     CFLAGS="$SAVE_CFLAGS"
   7891   fi
   7892   ;;
   7893 sparc*-*solaris*)
   7894   # Find out which ABI we are using.
   7895   echo 'int i;' > conftest.$ac_ext
   7896   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7897   (eval $ac_compile) 2>&5
   7898   ac_status=$?
   7899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7900   test $ac_status = 0; }; then
   7901     case `/usr/bin/file conftest.o` in
   7902     *64-bit*)
   7903       case $lt_cv_prog_gnu_ld in
   7904       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7905       *)
   7906 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7907 	  LD="${LD-ld} -64"
   7908 	fi
   7909 	;;
   7910       esac
   7911       ;;
   7912     esac
   7913   fi
   7914   rm -rf conftest*
   7915   ;;
   7916 esac
   7917 
   7918 need_locks="$enable_libtool_lock"
   7919 
   7920 
   7921   case $host_os in
   7922     rhapsody* | darwin*)
   7923     if test -n "$ac_tool_prefix"; then
   7924   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7925 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7927 $as_echo_n "checking for $ac_word... " >&6; }
   7928 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   7929   $as_echo_n "(cached) " >&6
   7930 else
   7931   if test -n "$DSYMUTIL"; then
   7932   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7933 else
   7934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7935 for as_dir in $PATH
   7936 do
   7937   IFS=$as_save_IFS
   7938   test -z "$as_dir" && as_dir=.
   7939     for ac_exec_ext in '' $ac_executable_extensions; do
   7940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7941     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7942     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7943     break 2
   7944   fi
   7945 done
   7946   done
   7947 IFS=$as_save_IFS
   7948 
   7949 fi
   7950 fi
   7951 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7952 if test -n "$DSYMUTIL"; then
   7953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7954 $as_echo "$DSYMUTIL" >&6; }
   7955 else
   7956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7957 $as_echo "no" >&6; }
   7958 fi
   7959 
   7960 
   7961 fi
   7962 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7963   ac_ct_DSYMUTIL=$DSYMUTIL
   7964   # Extract the first word of "dsymutil", so it can be a program name with args.
   7965 set dummy dsymutil; ac_word=$2
   7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7967 $as_echo_n "checking for $ac_word... " >&6; }
   7968 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   if test -n "$ac_ct_DSYMUTIL"; then
   7972   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7973 else
   7974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7975 for as_dir in $PATH
   7976 do
   7977   IFS=$as_save_IFS
   7978   test -z "$as_dir" && as_dir=.
   7979     for ac_exec_ext in '' $ac_executable_extensions; do
   7980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7981     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7983     break 2
   7984   fi
   7985 done
   7986   done
   7987 IFS=$as_save_IFS
   7988 
   7989 fi
   7990 fi
   7991 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7992 if test -n "$ac_ct_DSYMUTIL"; then
   7993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7994 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7995 else
   7996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7997 $as_echo "no" >&6; }
   7998 fi
   7999 
   8000   if test "x$ac_ct_DSYMUTIL" = x; then
   8001     DSYMUTIL=":"
   8002   else
   8003     case $cross_compiling:$ac_tool_warned in
   8004 yes:)
   8005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8006 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8007 ac_tool_warned=yes ;;
   8008 esac
   8009     DSYMUTIL=$ac_ct_DSYMUTIL
   8010   fi
   8011 else
   8012   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8013 fi
   8014 
   8015     if test -n "$ac_tool_prefix"; then
   8016   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8017 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8019 $as_echo_n "checking for $ac_word... " >&6; }
   8020 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   8021   $as_echo_n "(cached) " >&6
   8022 else
   8023   if test -n "$NMEDIT"; then
   8024   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8025 else
   8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8027 for as_dir in $PATH
   8028 do
   8029   IFS=$as_save_IFS
   8030   test -z "$as_dir" && as_dir=.
   8031     for ac_exec_ext in '' $ac_executable_extensions; do
   8032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8033     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8035     break 2
   8036   fi
   8037 done
   8038   done
   8039 IFS=$as_save_IFS
   8040 
   8041 fi
   8042 fi
   8043 NMEDIT=$ac_cv_prog_NMEDIT
   8044 if test -n "$NMEDIT"; then
   8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8046 $as_echo "$NMEDIT" >&6; }
   8047 else
   8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8049 $as_echo "no" >&6; }
   8050 fi
   8051 
   8052 
   8053 fi
   8054 if test -z "$ac_cv_prog_NMEDIT"; then
   8055   ac_ct_NMEDIT=$NMEDIT
   8056   # Extract the first word of "nmedit", so it can be a program name with args.
   8057 set dummy nmedit; ac_word=$2
   8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8059 $as_echo_n "checking for $ac_word... " >&6; }
   8060 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   8061   $as_echo_n "(cached) " >&6
   8062 else
   8063   if test -n "$ac_ct_NMEDIT"; then
   8064   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8065 else
   8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8067 for as_dir in $PATH
   8068 do
   8069   IFS=$as_save_IFS
   8070   test -z "$as_dir" && as_dir=.
   8071     for ac_exec_ext in '' $ac_executable_extensions; do
   8072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8073     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8075     break 2
   8076   fi
   8077 done
   8078   done
   8079 IFS=$as_save_IFS
   8080 
   8081 fi
   8082 fi
   8083 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8084 if test -n "$ac_ct_NMEDIT"; then
   8085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8086 $as_echo "$ac_ct_NMEDIT" >&6; }
   8087 else
   8088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8089 $as_echo "no" >&6; }
   8090 fi
   8091 
   8092   if test "x$ac_ct_NMEDIT" = x; then
   8093     NMEDIT=":"
   8094   else
   8095     case $cross_compiling:$ac_tool_warned in
   8096 yes:)
   8097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8099 ac_tool_warned=yes ;;
   8100 esac
   8101     NMEDIT=$ac_ct_NMEDIT
   8102   fi
   8103 else
   8104   NMEDIT="$ac_cv_prog_NMEDIT"
   8105 fi
   8106 
   8107     if test -n "$ac_tool_prefix"; then
   8108   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8109 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8111 $as_echo_n "checking for $ac_word... " >&6; }
   8112 if test "${ac_cv_prog_LIPO+set}" = set; then :
   8113   $as_echo_n "(cached) " >&6
   8114 else
   8115   if test -n "$LIPO"; then
   8116   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8117 else
   8118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8119 for as_dir in $PATH
   8120 do
   8121   IFS=$as_save_IFS
   8122   test -z "$as_dir" && as_dir=.
   8123     for ac_exec_ext in '' $ac_executable_extensions; do
   8124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8125     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8127     break 2
   8128   fi
   8129 done
   8130   done
   8131 IFS=$as_save_IFS
   8132 
   8133 fi
   8134 fi
   8135 LIPO=$ac_cv_prog_LIPO
   8136 if test -n "$LIPO"; then
   8137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8138 $as_echo "$LIPO" >&6; }
   8139 else
   8140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8141 $as_echo "no" >&6; }
   8142 fi
   8143 
   8144 
   8145 fi
   8146 if test -z "$ac_cv_prog_LIPO"; then
   8147   ac_ct_LIPO=$LIPO
   8148   # Extract the first word of "lipo", so it can be a program name with args.
   8149 set dummy lipo; ac_word=$2
   8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8151 $as_echo_n "checking for $ac_word... " >&6; }
   8152 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   8153   $as_echo_n "(cached) " >&6
   8154 else
   8155   if test -n "$ac_ct_LIPO"; then
   8156   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8157 else
   8158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8159 for as_dir in $PATH
   8160 do
   8161   IFS=$as_save_IFS
   8162   test -z "$as_dir" && as_dir=.
   8163     for ac_exec_ext in '' $ac_executable_extensions; do
   8164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8165     ac_cv_prog_ac_ct_LIPO="lipo"
   8166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8167     break 2
   8168   fi
   8169 done
   8170   done
   8171 IFS=$as_save_IFS
   8172 
   8173 fi
   8174 fi
   8175 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8176 if test -n "$ac_ct_LIPO"; then
   8177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8178 $as_echo "$ac_ct_LIPO" >&6; }
   8179 else
   8180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8181 $as_echo "no" >&6; }
   8182 fi
   8183 
   8184   if test "x$ac_ct_LIPO" = x; then
   8185     LIPO=":"
   8186   else
   8187     case $cross_compiling:$ac_tool_warned in
   8188 yes:)
   8189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8191 ac_tool_warned=yes ;;
   8192 esac
   8193     LIPO=$ac_ct_LIPO
   8194   fi
   8195 else
   8196   LIPO="$ac_cv_prog_LIPO"
   8197 fi
   8198 
   8199     if test -n "$ac_tool_prefix"; then
   8200   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8201 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8203 $as_echo_n "checking for $ac_word... " >&6; }
   8204 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   8205   $as_echo_n "(cached) " >&6
   8206 else
   8207   if test -n "$OTOOL"; then
   8208   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8209 else
   8210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8211 for as_dir in $PATH
   8212 do
   8213   IFS=$as_save_IFS
   8214   test -z "$as_dir" && as_dir=.
   8215     for ac_exec_ext in '' $ac_executable_extensions; do
   8216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8217     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8219     break 2
   8220   fi
   8221 done
   8222   done
   8223 IFS=$as_save_IFS
   8224 
   8225 fi
   8226 fi
   8227 OTOOL=$ac_cv_prog_OTOOL
   8228 if test -n "$OTOOL"; then
   8229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8230 $as_echo "$OTOOL" >&6; }
   8231 else
   8232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8233 $as_echo "no" >&6; }
   8234 fi
   8235 
   8236 
   8237 fi
   8238 if test -z "$ac_cv_prog_OTOOL"; then
   8239   ac_ct_OTOOL=$OTOOL
   8240   # Extract the first word of "otool", so it can be a program name with args.
   8241 set dummy otool; ac_word=$2
   8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8243 $as_echo_n "checking for $ac_word... " >&6; }
   8244 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   8245   $as_echo_n "(cached) " >&6
   8246 else
   8247   if test -n "$ac_ct_OTOOL"; then
   8248   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8249 else
   8250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8251 for as_dir in $PATH
   8252 do
   8253   IFS=$as_save_IFS
   8254   test -z "$as_dir" && as_dir=.
   8255     for ac_exec_ext in '' $ac_executable_extensions; do
   8256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8257     ac_cv_prog_ac_ct_OTOOL="otool"
   8258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8259     break 2
   8260   fi
   8261 done
   8262   done
   8263 IFS=$as_save_IFS
   8264 
   8265 fi
   8266 fi
   8267 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8268 if test -n "$ac_ct_OTOOL"; then
   8269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8270 $as_echo "$ac_ct_OTOOL" >&6; }
   8271 else
   8272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8273 $as_echo "no" >&6; }
   8274 fi
   8275 
   8276   if test "x$ac_ct_OTOOL" = x; then
   8277     OTOOL=":"
   8278   else
   8279     case $cross_compiling:$ac_tool_warned in
   8280 yes:)
   8281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8283 ac_tool_warned=yes ;;
   8284 esac
   8285     OTOOL=$ac_ct_OTOOL
   8286   fi
   8287 else
   8288   OTOOL="$ac_cv_prog_OTOOL"
   8289 fi
   8290 
   8291     if test -n "$ac_tool_prefix"; then
   8292   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8293 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8295 $as_echo_n "checking for $ac_word... " >&6; }
   8296 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   8297   $as_echo_n "(cached) " >&6
   8298 else
   8299   if test -n "$OTOOL64"; then
   8300   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8301 else
   8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8303 for as_dir in $PATH
   8304 do
   8305   IFS=$as_save_IFS
   8306   test -z "$as_dir" && as_dir=.
   8307     for ac_exec_ext in '' $ac_executable_extensions; do
   8308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8309     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8311     break 2
   8312   fi
   8313 done
   8314   done
   8315 IFS=$as_save_IFS
   8316 
   8317 fi
   8318 fi
   8319 OTOOL64=$ac_cv_prog_OTOOL64
   8320 if test -n "$OTOOL64"; then
   8321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8322 $as_echo "$OTOOL64" >&6; }
   8323 else
   8324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8325 $as_echo "no" >&6; }
   8326 fi
   8327 
   8328 
   8329 fi
   8330 if test -z "$ac_cv_prog_OTOOL64"; then
   8331   ac_ct_OTOOL64=$OTOOL64
   8332   # Extract the first word of "otool64", so it can be a program name with args.
   8333 set dummy otool64; ac_word=$2
   8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8335 $as_echo_n "checking for $ac_word... " >&6; }
   8336 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   8337   $as_echo_n "(cached) " >&6
   8338 else
   8339   if test -n "$ac_ct_OTOOL64"; then
   8340   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8341 else
   8342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8343 for as_dir in $PATH
   8344 do
   8345   IFS=$as_save_IFS
   8346   test -z "$as_dir" && as_dir=.
   8347     for ac_exec_ext in '' $ac_executable_extensions; do
   8348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8349     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8351     break 2
   8352   fi
   8353 done
   8354   done
   8355 IFS=$as_save_IFS
   8356 
   8357 fi
   8358 fi
   8359 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8360 if test -n "$ac_ct_OTOOL64"; then
   8361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8362 $as_echo "$ac_ct_OTOOL64" >&6; }
   8363 else
   8364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8365 $as_echo "no" >&6; }
   8366 fi
   8367 
   8368   if test "x$ac_ct_OTOOL64" = x; then
   8369     OTOOL64=":"
   8370   else
   8371     case $cross_compiling:$ac_tool_warned in
   8372 yes:)
   8373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8375 ac_tool_warned=yes ;;
   8376 esac
   8377     OTOOL64=$ac_ct_OTOOL64
   8378   fi
   8379 else
   8380   OTOOL64="$ac_cv_prog_OTOOL64"
   8381 fi
   8382 
   8383 
   8384 
   8385 
   8386 
   8387 
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 
   8408 
   8409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8410 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8411 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   8412   $as_echo_n "(cached) " >&6
   8413 else
   8414   lt_cv_apple_cc_single_mod=no
   8415       if test -z "${LT_MULTI_MODULE}"; then
   8416 	# By default we will add the -single_module flag. You can override
   8417 	# by either setting the environment variable LT_MULTI_MODULE
   8418 	# non-empty at configure time, or by adding -multi_module to the
   8419 	# link flags.
   8420 	rm -rf libconftest.dylib*
   8421 	echo "int foo(void){return 1;}" > conftest.c
   8422 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8423 -dynamiclib -Wl,-single_module conftest.c" >&5
   8424 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8425 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8426         _lt_result=$?
   8427 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8428 	  lt_cv_apple_cc_single_mod=yes
   8429 	else
   8430 	  cat conftest.err >&5
   8431 	fi
   8432 	rm -rf libconftest.dylib*
   8433 	rm -f conftest.*
   8434       fi
   8435 fi
   8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8437 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8439 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8440 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   8441   $as_echo_n "(cached) " >&6
   8442 else
   8443   lt_cv_ld_exported_symbols_list=no
   8444       save_LDFLAGS=$LDFLAGS
   8445       echo "_main" > conftest.sym
   8446       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8448 /* end confdefs.h.  */
   8449 
   8450 int
   8451 main ()
   8452 {
   8453 
   8454   ;
   8455   return 0;
   8456 }
   8457 _ACEOF
   8458 if ac_fn_c_try_link "$LINENO"; then :
   8459   lt_cv_ld_exported_symbols_list=yes
   8460 else
   8461   lt_cv_ld_exported_symbols_list=no
   8462 fi
   8463 rm -f core conftest.err conftest.$ac_objext \
   8464     conftest$ac_exeext conftest.$ac_ext
   8465 	LDFLAGS="$save_LDFLAGS"
   8466 
   8467 fi
   8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8469 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8471 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8472 if test "${lt_cv_ld_force_load+set}" = set; then :
   8473   $as_echo_n "(cached) " >&6
   8474 else
   8475   lt_cv_ld_force_load=no
   8476       cat > conftest.c << _LT_EOF
   8477 int forced_loaded() { return 2;}
   8478 _LT_EOF
   8479       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8480       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8481       echo "$AR cru libconftest.a conftest.o" >&5
   8482       $AR cru libconftest.a conftest.o 2>&5
   8483       cat > conftest.c << _LT_EOF
   8484 int main() { return 0;}
   8485 _LT_EOF
   8486       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8487       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8488       _lt_result=$?
   8489       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8490 	lt_cv_ld_force_load=yes
   8491       else
   8492 	cat conftest.err >&5
   8493       fi
   8494         rm -f conftest.err libconftest.a conftest conftest.c
   8495         rm -rf conftest.dSYM
   8496 
   8497 fi
   8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8499 $as_echo "$lt_cv_ld_force_load" >&6; }
   8500     case $host_os in
   8501     rhapsody* | darwin1.[012])
   8502       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8503     darwin1.*)
   8504       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8505     darwin*) # darwin 5.x on
   8506       # if running on 10.5 or later, the deployment target defaults
   8507       # to the OS version, if on x86, and 10.4, the deployment
   8508       # target defaults to 10.4. Don't you love it?
   8509       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   8510 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   8511 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8512 	10.[012][,.]*)
   8513 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8514 	10.*)
   8515 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   8516       esac
   8517     ;;
   8518   esac
   8519     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8520       _lt_dar_single_mod='$single_module'
   8521     fi
   8522     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8523       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8524     else
   8525       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8526     fi
   8527     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8528       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8529     else
   8530       _lt_dsymutil=
   8531     fi
   8532     ;;
   8533   esac
   8534 
   8535 for ac_header in dlfcn.h
   8536 do :
   8537   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8538 "
   8539 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   8540   cat >>confdefs.h <<_ACEOF
   8541 #define HAVE_DLFCN_H 1
   8542 _ACEOF
   8543 
   8544 fi
   8545 
   8546 done
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 # Set options
   8554 
   8555 
   8556 
   8557 
   8558   enable_win32_dll=no
   8559 
   8560 
   8561             # Check whether --enable-shared was given.
   8562 if test "${enable_shared+set}" = set; then :
   8563   enableval=$enable_shared; p=${PACKAGE-default}
   8564     case $enableval in
   8565     yes) enable_shared=yes ;;
   8566     no) enable_shared=no ;;
   8567     *)
   8568       enable_shared=no
   8569       # Look at the argument we got.  We use all the common list separators.
   8570       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8571       for pkg in $enableval; do
   8572 	IFS="$lt_save_ifs"
   8573 	if test "X$pkg" = "X$p"; then
   8574 	  enable_shared=yes
   8575 	fi
   8576       done
   8577       IFS="$lt_save_ifs"
   8578       ;;
   8579     esac
   8580 else
   8581   enable_shared=yes
   8582 fi
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592   # Check whether --enable-static was given.
   8593 if test "${enable_static+set}" = set; then :
   8594   enableval=$enable_static; p=${PACKAGE-default}
   8595     case $enableval in
   8596     yes) enable_static=yes ;;
   8597     no) enable_static=no ;;
   8598     *)
   8599      enable_static=no
   8600       # Look at the argument we got.  We use all the common list separators.
   8601       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8602       for pkg in $enableval; do
   8603 	IFS="$lt_save_ifs"
   8604 	if test "X$pkg" = "X$p"; then
   8605 	  enable_static=yes
   8606 	fi
   8607       done
   8608       IFS="$lt_save_ifs"
   8609       ;;
   8610     esac
   8611 else
   8612   enable_static=yes
   8613 fi
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 
   8623 
   8624 # Check whether --with-pic was given.
   8625 if test "${with_pic+set}" = set; then :
   8626   withval=$with_pic; pic_mode="$withval"
   8627 else
   8628   pic_mode=default
   8629 fi
   8630 
   8631 
   8632 test -z "$pic_mode" && pic_mode=default
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640   # Check whether --enable-fast-install was given.
   8641 if test "${enable_fast_install+set}" = set; then :
   8642   enableval=$enable_fast_install; p=${PACKAGE-default}
   8643     case $enableval in
   8644     yes) enable_fast_install=yes ;;
   8645     no) enable_fast_install=no ;;
   8646     *)
   8647       enable_fast_install=no
   8648       # Look at the argument we got.  We use all the common list separators.
   8649       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8650       for pkg in $enableval; do
   8651 	IFS="$lt_save_ifs"
   8652 	if test "X$pkg" = "X$p"; then
   8653 	  enable_fast_install=yes
   8654 	fi
   8655       done
   8656       IFS="$lt_save_ifs"
   8657       ;;
   8658     esac
   8659 else
   8660   enable_fast_install=yes
   8661 fi
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 # This can be used to rebuild libtool when needed
   8674 LIBTOOL_DEPS="$ltmain"
   8675 
   8676 # Always use our own libtool.
   8677 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8678 
   8679 
   8680 
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698 
   8699 
   8700 
   8701 
   8702 
   8703 
   8704 test -z "$LN_S" && LN_S="ln -s"
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 
   8718 
   8719 if test -n "${ZSH_VERSION+set}" ; then
   8720    setopt NO_GLOB_SUBST
   8721 fi
   8722 
   8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8724 $as_echo_n "checking for objdir... " >&6; }
   8725 if test "${lt_cv_objdir+set}" = set; then :
   8726   $as_echo_n "(cached) " >&6
   8727 else
   8728   rm -f .libs 2>/dev/null
   8729 mkdir .libs 2>/dev/null
   8730 if test -d .libs; then
   8731   lt_cv_objdir=.libs
   8732 else
   8733   # MS-DOS does not allow filenames that begin with a dot.
   8734   lt_cv_objdir=_libs
   8735 fi
   8736 rmdir .libs 2>/dev/null
   8737 fi
   8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8739 $as_echo "$lt_cv_objdir" >&6; }
   8740 objdir=$lt_cv_objdir
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 cat >>confdefs.h <<_ACEOF
   8747 #define LT_OBJDIR "$lt_cv_objdir/"
   8748 _ACEOF
   8749 
   8750 
   8751 
   8752 
   8753 case $host_os in
   8754 aix3*)
   8755   # AIX sometimes has problems with the GCC collect2 program.  For some
   8756   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8757   # vanish in a puff of smoke.
   8758   if test "X${COLLECT_NAMES+set}" != Xset; then
   8759     COLLECT_NAMES=
   8760     export COLLECT_NAMES
   8761   fi
   8762   ;;
   8763 esac
   8764 
   8765 # Global variables:
   8766 ofile=libtool
   8767 can_build_shared=yes
   8768 
   8769 # All known linkers require a `.a' archive for static linking (except MSVC,
   8770 # which needs '.lib').
   8771 libext=a
   8772 
   8773 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8774 
   8775 old_CC="$CC"
   8776 old_CFLAGS="$CFLAGS"
   8777 
   8778 # Set sane defaults for various variables
   8779 test -z "$CC" && CC=cc
   8780 test -z "$LTCC" && LTCC=$CC
   8781 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8782 test -z "$LD" && LD=ld
   8783 test -z "$ac_objext" && ac_objext=o
   8784 
   8785 for cc_temp in $compiler""; do
   8786   case $cc_temp in
   8787     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8788     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8789     \-*) ;;
   8790     *) break;;
   8791   esac
   8792 done
   8793 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8794 
   8795 
   8796 # Only perform the check for file, if the check method requires it
   8797 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8798 case $deplibs_check_method in
   8799 file_magic*)
   8800   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8801     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8802 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8803 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   8804   $as_echo_n "(cached) " >&6
   8805 else
   8806   case $MAGIC_CMD in
   8807 [\\/*] |  ?:[\\/]*)
   8808   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8809   ;;
   8810 *)
   8811   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8812   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8813   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8814   for ac_dir in $ac_dummy; do
   8815     IFS="$lt_save_ifs"
   8816     test -z "$ac_dir" && ac_dir=.
   8817     if test -f $ac_dir/${ac_tool_prefix}file; then
   8818       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8819       if test -n "$file_magic_test_file"; then
   8820 	case $deplibs_check_method in
   8821 	"file_magic "*)
   8822 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8823 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8824 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8825 	    $EGREP "$file_magic_regex" > /dev/null; then
   8826 	    :
   8827 	  else
   8828 	    cat <<_LT_EOF 1>&2
   8829 
   8830 *** Warning: the command libtool uses to detect shared libraries,
   8831 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8832 *** The result is that libtool may fail to recognize shared libraries
   8833 *** as such.  This will affect the creation of libtool libraries that
   8834 *** depend on shared libraries, but programs linked with such libtool
   8835 *** libraries will work regardless of this problem.  Nevertheless, you
   8836 *** may want to report the problem to your system manager and/or to
   8837 *** bug-libtool@gnu.org
   8838 
   8839 _LT_EOF
   8840 	  fi ;;
   8841 	esac
   8842       fi
   8843       break
   8844     fi
   8845   done
   8846   IFS="$lt_save_ifs"
   8847   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8848   ;;
   8849 esac
   8850 fi
   8851 
   8852 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8853 if test -n "$MAGIC_CMD"; then
   8854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8855 $as_echo "$MAGIC_CMD" >&6; }
   8856 else
   8857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8858 $as_echo "no" >&6; }
   8859 fi
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8866   if test -n "$ac_tool_prefix"; then
   8867     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8868 $as_echo_n "checking for file... " >&6; }
   8869 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   8870   $as_echo_n "(cached) " >&6
   8871 else
   8872   case $MAGIC_CMD in
   8873 [\\/*] |  ?:[\\/]*)
   8874   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8875   ;;
   8876 *)
   8877   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8878   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8879   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8880   for ac_dir in $ac_dummy; do
   8881     IFS="$lt_save_ifs"
   8882     test -z "$ac_dir" && ac_dir=.
   8883     if test -f $ac_dir/file; then
   8884       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8885       if test -n "$file_magic_test_file"; then
   8886 	case $deplibs_check_method in
   8887 	"file_magic "*)
   8888 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8889 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8890 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8891 	    $EGREP "$file_magic_regex" > /dev/null; then
   8892 	    :
   8893 	  else
   8894 	    cat <<_LT_EOF 1>&2
   8895 
   8896 *** Warning: the command libtool uses to detect shared libraries,
   8897 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8898 *** The result is that libtool may fail to recognize shared libraries
   8899 *** as such.  This will affect the creation of libtool libraries that
   8900 *** depend on shared libraries, but programs linked with such libtool
   8901 *** libraries will work regardless of this problem.  Nevertheless, you
   8902 *** may want to report the problem to your system manager and/or to
   8903 *** bug-libtool@gnu.org
   8904 
   8905 _LT_EOF
   8906 	  fi ;;
   8907 	esac
   8908       fi
   8909       break
   8910     fi
   8911   done
   8912   IFS="$lt_save_ifs"
   8913   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8914   ;;
   8915 esac
   8916 fi
   8917 
   8918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8919 if test -n "$MAGIC_CMD"; then
   8920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8921 $as_echo "$MAGIC_CMD" >&6; }
   8922 else
   8923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8924 $as_echo "no" >&6; }
   8925 fi
   8926 
   8927 
   8928   else
   8929     MAGIC_CMD=:
   8930   fi
   8931 fi
   8932 
   8933   fi
   8934   ;;
   8935 esac
   8936 
   8937 # Use C for the default configuration in the libtool script
   8938 
   8939 lt_save_CC="$CC"
   8940 ac_ext=c
   8941 ac_cpp='$CPP $CPPFLAGS'
   8942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8945 
   8946 
   8947 # Source file extension for C test sources.
   8948 ac_ext=c
   8949 
   8950 # Object file extension for compiled C test sources.
   8951 objext=o
   8952 objext=$objext
   8953 
   8954 # Code to be used in simple compile tests
   8955 lt_simple_compile_test_code="int some_variable = 0;"
   8956 
   8957 # Code to be used in simple link tests
   8958 lt_simple_link_test_code='int main(){return(0);}'
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 # If no C compiler was specified, use CC.
   8967 LTCC=${LTCC-"$CC"}
   8968 
   8969 # If no C compiler flags were specified, use CFLAGS.
   8970 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8971 
   8972 # Allow CC to be a program name with arguments.
   8973 compiler=$CC
   8974 
   8975 # Save the default compiler, since it gets overwritten when the other
   8976 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8977 compiler_DEFAULT=$CC
   8978 
   8979 # save warnings/boilerplate of simple test code
   8980 ac_outfile=conftest.$ac_objext
   8981 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8982 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8983 _lt_compiler_boilerplate=`cat conftest.err`
   8984 $RM conftest*
   8985 
   8986 ac_outfile=conftest.$ac_objext
   8987 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8988 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8989 _lt_linker_boilerplate=`cat conftest.err`
   8990 $RM -r conftest*
   8991 
   8992 
   8993 ## CAVEAT EMPTOR:
   8994 ## There is no encapsulation within the following macros, do not change
   8995 ## the running order or otherwise move them around unless you know exactly
   8996 ## what you are doing...
   8997 if test -n "$compiler"; then
   8998 
   8999 lt_prog_compiler_no_builtin_flag=
   9000 
   9001 if test "$GCC" = yes; then
   9002   case $cc_basename in
   9003   nvcc*)
   9004     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9005   *)
   9006     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9007   esac
   9008 
   9009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9010 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9011 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   9012   $as_echo_n "(cached) " >&6
   9013 else
   9014   lt_cv_prog_compiler_rtti_exceptions=no
   9015    ac_outfile=conftest.$ac_objext
   9016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9017    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9018    # Insert the option either (1) after the last *FLAGS variable, or
   9019    # (2) before a word containing "conftest.", or (3) at the end.
   9020    # Note that $ac_compile itself does not contain backslashes and begins
   9021    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9022    # The option is referenced via a variable to avoid confusing sed.
   9023    lt_compile=`echo "$ac_compile" | $SED \
   9024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9026    -e 's:$: $lt_compiler_flag:'`
   9027    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9028    (eval "$lt_compile" 2>conftest.err)
   9029    ac_status=$?
   9030    cat conftest.err >&5
   9031    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9032    if (exit $ac_status) && test -s "$ac_outfile"; then
   9033      # The compiler can only warn and ignore the option if not recognized
   9034      # So say no if there are warnings other than the usual output.
   9035      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9036      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9037      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9038        lt_cv_prog_compiler_rtti_exceptions=yes
   9039      fi
   9040    fi
   9041    $RM conftest*
   9042 
   9043 fi
   9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9045 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9046 
   9047 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9048     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9049 else
   9050     :
   9051 fi
   9052 
   9053 fi
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060   lt_prog_compiler_wl=
   9061 lt_prog_compiler_pic=
   9062 lt_prog_compiler_static=
   9063 
   9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9065 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9066 
   9067   if test "$GCC" = yes; then
   9068     lt_prog_compiler_wl='-Wl,'
   9069     lt_prog_compiler_static='-static'
   9070 
   9071     case $host_os in
   9072       aix*)
   9073       # All AIX code is PIC.
   9074       if test "$host_cpu" = ia64; then
   9075 	# AIX 5 now supports IA64 processor
   9076 	lt_prog_compiler_static='-Bstatic'
   9077       fi
   9078       lt_prog_compiler_pic='-fPIC'
   9079       ;;
   9080 
   9081     amigaos*)
   9082       case $host_cpu in
   9083       powerpc)
   9084             # see comment about AmigaOS4 .so support
   9085             lt_prog_compiler_pic='-fPIC'
   9086         ;;
   9087       m68k)
   9088             # FIXME: we need at least 68020 code to build shared libraries, but
   9089             # adding the `-m68020' flag to GCC prevents building anything better,
   9090             # like `-m68040'.
   9091             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9092         ;;
   9093       esac
   9094       ;;
   9095 
   9096     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9097       # PIC is the default for these OSes.
   9098       ;;
   9099 
   9100     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9101       # This hack is so that the source file can tell whether it is being
   9102       # built for inclusion in a dll (and should export symbols for example).
   9103       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9104       # (--disable-auto-import) libraries
   9105       lt_prog_compiler_pic='-DDLL_EXPORT'
   9106       ;;
   9107 
   9108     darwin* | rhapsody*)
   9109       # PIC is the default on this platform
   9110       # Common symbols not allowed in MH_DYLIB files
   9111       lt_prog_compiler_pic='-fno-common'
   9112       ;;
   9113 
   9114     haiku*)
   9115       # PIC is the default for Haiku.
   9116       # The "-static" flag exists, but is broken.
   9117       lt_prog_compiler_static=
   9118       ;;
   9119 
   9120     hpux*)
   9121       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9122       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9123       # sets the default TLS model and affects inlining.
   9124       case $host_cpu in
   9125       hppa*64*)
   9126 	# +Z the default
   9127 	;;
   9128       *)
   9129 	lt_prog_compiler_pic='-fPIC'
   9130 	;;
   9131       esac
   9132       ;;
   9133 
   9134     interix[3-9]*)
   9135       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9136       # Instead, we relocate shared libraries at runtime.
   9137       ;;
   9138 
   9139     msdosdjgpp*)
   9140       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9141       # on systems that don't support them.
   9142       lt_prog_compiler_can_build_shared=no
   9143       enable_shared=no
   9144       ;;
   9145 
   9146     *nto* | *qnx*)
   9147       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9148       # it will coredump.
   9149       lt_prog_compiler_pic='-fPIC -shared'
   9150       ;;
   9151 
   9152     sysv4*MP*)
   9153       if test -d /usr/nec; then
   9154 	lt_prog_compiler_pic=-Kconform_pic
   9155       fi
   9156       ;;
   9157 
   9158     *)
   9159       lt_prog_compiler_pic='-fPIC'
   9160       ;;
   9161     esac
   9162 
   9163     case $cc_basename in
   9164     nvcc*) # Cuda Compiler Driver 2.2
   9165       lt_prog_compiler_wl='-Xlinker '
   9166       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9167       ;;
   9168     esac
   9169   else
   9170     # PORTME Check for flag to pass linker flags through the system compiler.
   9171     case $host_os in
   9172     aix*)
   9173       lt_prog_compiler_wl='-Wl,'
   9174       if test "$host_cpu" = ia64; then
   9175 	# AIX 5 now supports IA64 processor
   9176 	lt_prog_compiler_static='-Bstatic'
   9177       else
   9178 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9179       fi
   9180       ;;
   9181 
   9182     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9183       # This hack is so that the source file can tell whether it is being
   9184       # built for inclusion in a dll (and should export symbols for example).
   9185       lt_prog_compiler_pic='-DDLL_EXPORT'
   9186       ;;
   9187 
   9188     hpux9* | hpux10* | hpux11*)
   9189       lt_prog_compiler_wl='-Wl,'
   9190       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9191       # not for PA HP-UX.
   9192       case $host_cpu in
   9193       hppa*64*|ia64*)
   9194 	# +Z the default
   9195 	;;
   9196       *)
   9197 	lt_prog_compiler_pic='+Z'
   9198 	;;
   9199       esac
   9200       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9201       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9202       ;;
   9203 
   9204     irix5* | irix6* | nonstopux*)
   9205       lt_prog_compiler_wl='-Wl,'
   9206       # PIC (with -KPIC) is the default.
   9207       lt_prog_compiler_static='-non_shared'
   9208       ;;
   9209 
   9210     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9211       case $cc_basename in
   9212       # old Intel for x86_64 which still supported -KPIC.
   9213       ecc*)
   9214 	lt_prog_compiler_wl='-Wl,'
   9215 	lt_prog_compiler_pic='-KPIC'
   9216 	lt_prog_compiler_static='-static'
   9217         ;;
   9218       # icc used to be incompatible with GCC.
   9219       # ICC 10 doesn't accept -KPIC any more.
   9220       icc* | ifort*)
   9221 	lt_prog_compiler_wl='-Wl,'
   9222 	lt_prog_compiler_pic='-fPIC'
   9223 	lt_prog_compiler_static='-static'
   9224         ;;
   9225       # Lahey Fortran 8.1.
   9226       lf95*)
   9227 	lt_prog_compiler_wl='-Wl,'
   9228 	lt_prog_compiler_pic='--shared'
   9229 	lt_prog_compiler_static='--static'
   9230 	;;
   9231       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9232         # Portland Group compilers (*not* the Pentium gcc compiler,
   9233 	# which looks to be a dead project)
   9234 	lt_prog_compiler_wl='-Wl,'
   9235 	lt_prog_compiler_pic='-fpic'
   9236 	lt_prog_compiler_static='-Bstatic'
   9237         ;;
   9238       ccc*)
   9239         lt_prog_compiler_wl='-Wl,'
   9240         # All Alpha code is PIC.
   9241         lt_prog_compiler_static='-non_shared'
   9242         ;;
   9243       xl* | bgxl* | bgf* | mpixl*)
   9244 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9245 	lt_prog_compiler_wl='-Wl,'
   9246 	lt_prog_compiler_pic='-qpic'
   9247 	lt_prog_compiler_static='-qstaticlink'
   9248 	;;
   9249       *)
   9250 	case `$CC -V 2>&1 | sed 5q` in
   9251 	*Sun\ F* | *Sun*Fortran*)
   9252 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9253 	  lt_prog_compiler_pic='-KPIC'
   9254 	  lt_prog_compiler_static='-Bstatic'
   9255 	  lt_prog_compiler_wl=''
   9256 	  ;;
   9257 	*Sun\ C*)
   9258 	  # Sun C 5.9
   9259 	  lt_prog_compiler_pic='-KPIC'
   9260 	  lt_prog_compiler_static='-Bstatic'
   9261 	  lt_prog_compiler_wl='-Wl,'
   9262 	  ;;
   9263 	esac
   9264 	;;
   9265       esac
   9266       ;;
   9267 
   9268     newsos6)
   9269       lt_prog_compiler_pic='-KPIC'
   9270       lt_prog_compiler_static='-Bstatic'
   9271       ;;
   9272 
   9273     *nto* | *qnx*)
   9274       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9275       # it will coredump.
   9276       lt_prog_compiler_pic='-fPIC -shared'
   9277       ;;
   9278 
   9279     osf3* | osf4* | osf5*)
   9280       lt_prog_compiler_wl='-Wl,'
   9281       # All OSF/1 code is PIC.
   9282       lt_prog_compiler_static='-non_shared'
   9283       ;;
   9284 
   9285     rdos*)
   9286       lt_prog_compiler_static='-non_shared'
   9287       ;;
   9288 
   9289     solaris*)
   9290       lt_prog_compiler_pic='-KPIC'
   9291       lt_prog_compiler_static='-Bstatic'
   9292       case $cc_basename in
   9293       f77* | f90* | f95*)
   9294 	lt_prog_compiler_wl='-Qoption ld ';;
   9295       *)
   9296 	lt_prog_compiler_wl='-Wl,';;
   9297       esac
   9298       ;;
   9299 
   9300     sunos4*)
   9301       lt_prog_compiler_wl='-Qoption ld '
   9302       lt_prog_compiler_pic='-PIC'
   9303       lt_prog_compiler_static='-Bstatic'
   9304       ;;
   9305 
   9306     sysv4 | sysv4.2uw2* | sysv4.3*)
   9307       lt_prog_compiler_wl='-Wl,'
   9308       lt_prog_compiler_pic='-KPIC'
   9309       lt_prog_compiler_static='-Bstatic'
   9310       ;;
   9311 
   9312     sysv4*MP*)
   9313       if test -d /usr/nec ;then
   9314 	lt_prog_compiler_pic='-Kconform_pic'
   9315 	lt_prog_compiler_static='-Bstatic'
   9316       fi
   9317       ;;
   9318 
   9319     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9320       lt_prog_compiler_wl='-Wl,'
   9321       lt_prog_compiler_pic='-KPIC'
   9322       lt_prog_compiler_static='-Bstatic'
   9323       ;;
   9324 
   9325     unicos*)
   9326       lt_prog_compiler_wl='-Wl,'
   9327       lt_prog_compiler_can_build_shared=no
   9328       ;;
   9329 
   9330     uts4*)
   9331       lt_prog_compiler_pic='-pic'
   9332       lt_prog_compiler_static='-Bstatic'
   9333       ;;
   9334 
   9335     *)
   9336       lt_prog_compiler_can_build_shared=no
   9337       ;;
   9338     esac
   9339   fi
   9340 
   9341 case $host_os in
   9342   # For platforms which do not support PIC, -DPIC is meaningless:
   9343   *djgpp*)
   9344     lt_prog_compiler_pic=
   9345     ;;
   9346   *)
   9347     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9348     ;;
   9349 esac
   9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9351 $as_echo "$lt_prog_compiler_pic" >&6; }
   9352 
   9353 
   9354 
   9355 
   9356 
   9357 
   9358 #
   9359 # Check to make sure the PIC flag actually works.
   9360 #
   9361 if test -n "$lt_prog_compiler_pic"; then
   9362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9363 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9364 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   9365   $as_echo_n "(cached) " >&6
   9366 else
   9367   lt_cv_prog_compiler_pic_works=no
   9368    ac_outfile=conftest.$ac_objext
   9369    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9370    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9371    # Insert the option either (1) after the last *FLAGS variable, or
   9372    # (2) before a word containing "conftest.", or (3) at the end.
   9373    # Note that $ac_compile itself does not contain backslashes and begins
   9374    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9375    # The option is referenced via a variable to avoid confusing sed.
   9376    lt_compile=`echo "$ac_compile" | $SED \
   9377    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9378    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9379    -e 's:$: $lt_compiler_flag:'`
   9380    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9381    (eval "$lt_compile" 2>conftest.err)
   9382    ac_status=$?
   9383    cat conftest.err >&5
   9384    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9385    if (exit $ac_status) && test -s "$ac_outfile"; then
   9386      # The compiler can only warn and ignore the option if not recognized
   9387      # So say no if there are warnings other than the usual output.
   9388      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9389      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9390      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9391        lt_cv_prog_compiler_pic_works=yes
   9392      fi
   9393    fi
   9394    $RM conftest*
   9395 
   9396 fi
   9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9398 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9399 
   9400 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9401     case $lt_prog_compiler_pic in
   9402      "" | " "*) ;;
   9403      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9404      esac
   9405 else
   9406     lt_prog_compiler_pic=
   9407      lt_prog_compiler_can_build_shared=no
   9408 fi
   9409 
   9410 fi
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 #
   9418 # Check to make sure the static flag actually works.
   9419 #
   9420 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9422 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9423 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   9424   $as_echo_n "(cached) " >&6
   9425 else
   9426   lt_cv_prog_compiler_static_works=no
   9427    save_LDFLAGS="$LDFLAGS"
   9428    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9429    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9430    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9431      # The linker can only warn and ignore the option if not recognized
   9432      # So say no if there are warnings
   9433      if test -s conftest.err; then
   9434        # Append any errors to the config.log.
   9435        cat conftest.err 1>&5
   9436        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9437        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9438        if diff conftest.exp conftest.er2 >/dev/null; then
   9439          lt_cv_prog_compiler_static_works=yes
   9440        fi
   9441      else
   9442        lt_cv_prog_compiler_static_works=yes
   9443      fi
   9444    fi
   9445    $RM -r conftest*
   9446    LDFLAGS="$save_LDFLAGS"
   9447 
   9448 fi
   9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9450 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9451 
   9452 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9453     :
   9454 else
   9455     lt_prog_compiler_static=
   9456 fi
   9457 
   9458 
   9459 
   9460 
   9461 
   9462 
   9463 
   9464   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9465 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9466 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   9467   $as_echo_n "(cached) " >&6
   9468 else
   9469   lt_cv_prog_compiler_c_o=no
   9470    $RM -r conftest 2>/dev/null
   9471    mkdir conftest
   9472    cd conftest
   9473    mkdir out
   9474    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9475 
   9476    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9477    # Insert the option either (1) after the last *FLAGS variable, or
   9478    # (2) before a word containing "conftest.", or (3) at the end.
   9479    # Note that $ac_compile itself does not contain backslashes and begins
   9480    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9481    lt_compile=`echo "$ac_compile" | $SED \
   9482    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9483    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9484    -e 's:$: $lt_compiler_flag:'`
   9485    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9486    (eval "$lt_compile" 2>out/conftest.err)
   9487    ac_status=$?
   9488    cat out/conftest.err >&5
   9489    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9490    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9491    then
   9492      # The compiler can only warn and ignore the option if not recognized
   9493      # So say no if there are warnings
   9494      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9495      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9496      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9497        lt_cv_prog_compiler_c_o=yes
   9498      fi
   9499    fi
   9500    chmod u+w . 2>&5
   9501    $RM conftest*
   9502    # SGI C++ compiler will create directory out/ii_files/ for
   9503    # template instantiation
   9504    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9505    $RM out/* && rmdir out
   9506    cd ..
   9507    $RM -r conftest
   9508    $RM conftest*
   9509 
   9510 fi
   9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9512 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9520 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9521 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   9522   $as_echo_n "(cached) " >&6
   9523 else
   9524   lt_cv_prog_compiler_c_o=no
   9525    $RM -r conftest 2>/dev/null
   9526    mkdir conftest
   9527    cd conftest
   9528    mkdir out
   9529    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9530 
   9531    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9532    # Insert the option either (1) after the last *FLAGS variable, or
   9533    # (2) before a word containing "conftest.", or (3) at the end.
   9534    # Note that $ac_compile itself does not contain backslashes and begins
   9535    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9536    lt_compile=`echo "$ac_compile" | $SED \
   9537    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9538    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9539    -e 's:$: $lt_compiler_flag:'`
   9540    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9541    (eval "$lt_compile" 2>out/conftest.err)
   9542    ac_status=$?
   9543    cat out/conftest.err >&5
   9544    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9545    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9546    then
   9547      # The compiler can only warn and ignore the option if not recognized
   9548      # So say no if there are warnings
   9549      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9550      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9551      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9552        lt_cv_prog_compiler_c_o=yes
   9553      fi
   9554    fi
   9555    chmod u+w . 2>&5
   9556    $RM conftest*
   9557    # SGI C++ compiler will create directory out/ii_files/ for
   9558    # template instantiation
   9559    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9560    $RM out/* && rmdir out
   9561    cd ..
   9562    $RM -r conftest
   9563    $RM conftest*
   9564 
   9565 fi
   9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9567 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9568 
   9569 
   9570 
   9571 
   9572 hard_links="nottested"
   9573 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9574   # do not overwrite the value of need_locks provided by the user
   9575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9576 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9577   hard_links=yes
   9578   $RM conftest*
   9579   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9580   touch conftest.a
   9581   ln conftest.a conftest.b 2>&5 || hard_links=no
   9582   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9583   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9584 $as_echo "$hard_links" >&6; }
   9585   if test "$hard_links" = no; then
   9586     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9587 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9588     need_locks=warn
   9589   fi
   9590 else
   9591   need_locks=no
   9592 fi
   9593 
   9594 
   9595 
   9596 
   9597 
   9598 
   9599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9600 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9601 
   9602   runpath_var=
   9603   allow_undefined_flag=
   9604   always_export_symbols=no
   9605   archive_cmds=
   9606   archive_expsym_cmds=
   9607   compiler_needs_object=no
   9608   enable_shared_with_static_runtimes=no
   9609   export_dynamic_flag_spec=
   9610   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9611   hardcode_automatic=no
   9612   hardcode_direct=no
   9613   hardcode_direct_absolute=no
   9614   hardcode_libdir_flag_spec=
   9615   hardcode_libdir_flag_spec_ld=
   9616   hardcode_libdir_separator=
   9617   hardcode_minus_L=no
   9618   hardcode_shlibpath_var=unsupported
   9619   inherit_rpath=no
   9620   link_all_deplibs=unknown
   9621   module_cmds=
   9622   module_expsym_cmds=
   9623   old_archive_from_new_cmds=
   9624   old_archive_from_expsyms_cmds=
   9625   thread_safe_flag_spec=
   9626   whole_archive_flag_spec=
   9627   # include_expsyms should be a list of space-separated symbols to be *always*
   9628   # included in the symbol list
   9629   include_expsyms=
   9630   # exclude_expsyms can be an extended regexp of symbols to exclude
   9631   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9632   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9633   # as well as any symbol that contains `d'.
   9634   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9635   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9636   # platforms (ab)use it in PIC code, but their linkers get confused if
   9637   # the symbol is explicitly referenced.  Since portable code cannot
   9638   # rely on this symbol name, it's probably fine to never include it in
   9639   # preloaded symbol tables.
   9640   # Exclude shared library initialization/finalization symbols.
   9641   extract_expsyms_cmds=
   9642 
   9643   case $host_os in
   9644   cygwin* | mingw* | pw32* | cegcc*)
   9645     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9646     # When not using gcc, we currently assume that we are using
   9647     # Microsoft Visual C++.
   9648     if test "$GCC" != yes; then
   9649       with_gnu_ld=no
   9650     fi
   9651     ;;
   9652   interix*)
   9653     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9654     with_gnu_ld=yes
   9655     ;;
   9656   openbsd*)
   9657     with_gnu_ld=no
   9658     ;;
   9659   esac
   9660 
   9661   ld_shlibs=yes
   9662 
   9663   # On some targets, GNU ld is compatible enough with the native linker
   9664   # that we're better off using the native interface for both.
   9665   lt_use_gnu_ld_interface=no
   9666   if test "$with_gnu_ld" = yes; then
   9667     case $host_os in
   9668       aix*)
   9669 	# The AIX port of GNU ld has always aspired to compatibility
   9670 	# with the native linker.  However, as the warning in the GNU ld
   9671 	# block says, versions before 2.19.5* couldn't really create working
   9672 	# shared libraries, regardless of the interface used.
   9673 	case `$LD -v 2>&1` in
   9674 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9675 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9676 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9677 	  *)
   9678 	    lt_use_gnu_ld_interface=yes
   9679 	    ;;
   9680 	esac
   9681 	;;
   9682       *)
   9683 	lt_use_gnu_ld_interface=yes
   9684 	;;
   9685     esac
   9686   fi
   9687 
   9688   if test "$lt_use_gnu_ld_interface" = yes; then
   9689     # If archive_cmds runs LD, not CC, wlarc should be empty
   9690     wlarc='${wl}'
   9691 
   9692     # Set some defaults for GNU ld with shared library support. These
   9693     # are reset later if shared libraries are not supported. Putting them
   9694     # here allows them to be overridden if necessary.
   9695     runpath_var=LD_RUN_PATH
   9696     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9697     export_dynamic_flag_spec='${wl}--export-dynamic'
   9698     # ancient GNU ld didn't support --whole-archive et. al.
   9699     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9700       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9701     else
   9702       whole_archive_flag_spec=
   9703     fi
   9704     supports_anon_versioning=no
   9705     case `$LD -v 2>&1` in
   9706       *GNU\ gold*) supports_anon_versioning=yes ;;
   9707       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9708       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9709       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9710       *\ 2.11.*) ;; # other 2.11 versions
   9711       *) supports_anon_versioning=yes ;;
   9712     esac
   9713 
   9714     # See if GNU ld supports shared libraries.
   9715     case $host_os in
   9716     aix[3-9]*)
   9717       # On AIX/PPC, the GNU linker is very broken
   9718       if test "$host_cpu" != ia64; then
   9719 	ld_shlibs=no
   9720 	cat <<_LT_EOF 1>&2
   9721 
   9722 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9723 *** to be unable to reliably create shared libraries on AIX.
   9724 *** Therefore, libtool is disabling shared libraries support.  If you
   9725 *** really care for shared libraries, you may want to install binutils
   9726 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9727 *** You will then need to restart the configuration process.
   9728 
   9729 _LT_EOF
   9730       fi
   9731       ;;
   9732 
   9733     amigaos*)
   9734       case $host_cpu in
   9735       powerpc)
   9736             # see comment about AmigaOS4 .so support
   9737             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9738             archive_expsym_cmds=''
   9739         ;;
   9740       m68k)
   9741             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)'
   9742             hardcode_libdir_flag_spec='-L$libdir'
   9743             hardcode_minus_L=yes
   9744         ;;
   9745       esac
   9746       ;;
   9747 
   9748     beos*)
   9749       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9750 	allow_undefined_flag=unsupported
   9751 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9752 	# support --undefined.  This deserves some investigation.  FIXME
   9753 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9754       else
   9755 	ld_shlibs=no
   9756       fi
   9757       ;;
   9758 
   9759     cygwin* | mingw* | pw32* | cegcc*)
   9760       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9761       # as there is no search path for DLLs.
   9762       hardcode_libdir_flag_spec='-L$libdir'
   9763       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9764       allow_undefined_flag=unsupported
   9765       always_export_symbols=no
   9766       enable_shared_with_static_runtimes=yes
   9767       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9768 
   9769       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9770         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9771 	# If the export-symbols file already is a .def file (1st line
   9772 	# is EXPORTS), use it as is; otherwise, prepend...
   9773 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9774 	  cp $export_symbols $output_objdir/$soname.def;
   9775 	else
   9776 	  echo EXPORTS > $output_objdir/$soname.def;
   9777 	  cat $export_symbols >> $output_objdir/$soname.def;
   9778 	fi~
   9779 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9780       else
   9781 	ld_shlibs=no
   9782       fi
   9783       ;;
   9784 
   9785     haiku*)
   9786       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9787       link_all_deplibs=yes
   9788       ;;
   9789 
   9790     interix[3-9]*)
   9791       hardcode_direct=no
   9792       hardcode_shlibpath_var=no
   9793       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9794       export_dynamic_flag_spec='${wl}-E'
   9795       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9796       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9797       # default) and relocated if they conflict, which is a slow very memory
   9798       # consuming and fragmenting process.  To avoid this, we pick a random,
   9799       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9800       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9801       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9802       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'
   9803       ;;
   9804 
   9805     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9806       tmp_diet=no
   9807       if test "$host_os" = linux-dietlibc; then
   9808 	case $cc_basename in
   9809 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9810 	esac
   9811       fi
   9812       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9813 	 && test "$tmp_diet" = no
   9814       then
   9815 	tmp_addflag=' $pic_flag'
   9816 	tmp_sharedflag='-shared'
   9817 	case $cc_basename,$host_cpu in
   9818         pgcc*)				# Portland Group C compiler
   9819 	  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'
   9820 	  tmp_addflag=' $pic_flag'
   9821 	  ;;
   9822 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9823 					# Portland Group f77 and f90 compilers
   9824 	  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'
   9825 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9826 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9827 	  tmp_addflag=' -i_dynamic' ;;
   9828 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9829 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9830 	ifc* | ifort*)			# Intel Fortran compiler
   9831 	  tmp_addflag=' -nofor_main' ;;
   9832 	lf95*)				# Lahey Fortran 8.1
   9833 	  whole_archive_flag_spec=
   9834 	  tmp_sharedflag='--shared' ;;
   9835 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9836 	  tmp_sharedflag='-qmkshrobj'
   9837 	  tmp_addflag= ;;
   9838 	nvcc*)	# Cuda Compiler Driver 2.2
   9839 	  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'
   9840 	  compiler_needs_object=yes
   9841 	  ;;
   9842 	esac
   9843 	case `$CC -V 2>&1 | sed 5q` in
   9844 	*Sun\ C*)			# Sun C 5.9
   9845 	  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'
   9846 	  compiler_needs_object=yes
   9847 	  tmp_sharedflag='-G' ;;
   9848 	*Sun\ F*)			# Sun Fortran 8.3
   9849 	  tmp_sharedflag='-G' ;;
   9850 	esac
   9851 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9852 
   9853         if test "x$supports_anon_versioning" = xyes; then
   9854           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9855 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9856 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9857 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9858         fi
   9859 
   9860 	case $cc_basename in
   9861 	xlf* | bgf* | bgxlf* | mpixlf*)
   9862 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9863 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9864 	  hardcode_libdir_flag_spec=
   9865 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9866 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9867 	  if test "x$supports_anon_versioning" = xyes; then
   9868 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9869 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9870 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9871 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9872 	  fi
   9873 	  ;;
   9874 	esac
   9875       else
   9876         ld_shlibs=no
   9877       fi
   9878       ;;
   9879 
   9880     netbsd*)
   9881       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9882 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9883 	wlarc=
   9884       else
   9885 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9886 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9887       fi
   9888       ;;
   9889 
   9890     solaris*)
   9891       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9892 	ld_shlibs=no
   9893 	cat <<_LT_EOF 1>&2
   9894 
   9895 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9896 *** create shared libraries on Solaris systems.  Therefore, libtool
   9897 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9898 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9899 *** your PATH or compiler configuration so that the native linker is
   9900 *** used, and then restart.
   9901 
   9902 _LT_EOF
   9903       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9904 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9905 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9906       else
   9907 	ld_shlibs=no
   9908       fi
   9909       ;;
   9910 
   9911     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9912       case `$LD -v 2>&1` in
   9913         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9914 	ld_shlibs=no
   9915 	cat <<_LT_EOF 1>&2
   9916 
   9917 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9918 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9919 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9920 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9921 *** your PATH or compiler configuration so that the native linker is
   9922 *** used, and then restart.
   9923 
   9924 _LT_EOF
   9925 	;;
   9926 	*)
   9927 	  # For security reasons, it is highly recommended that you always
   9928 	  # use absolute paths for naming shared libraries, and exclude the
   9929 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9930 	  # requires that you compile everything twice, which is a pain.
   9931 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9932 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9933 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9934 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9935 	  else
   9936 	    ld_shlibs=no
   9937 	  fi
   9938 	;;
   9939       esac
   9940       ;;
   9941 
   9942     sunos4*)
   9943       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9944       wlarc=
   9945       hardcode_direct=yes
   9946       hardcode_shlibpath_var=no
   9947       ;;
   9948 
   9949     *)
   9950       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9951 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9952 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9953       else
   9954 	ld_shlibs=no
   9955       fi
   9956       ;;
   9957     esac
   9958 
   9959     if test "$ld_shlibs" = no; then
   9960       runpath_var=
   9961       hardcode_libdir_flag_spec=
   9962       export_dynamic_flag_spec=
   9963       whole_archive_flag_spec=
   9964     fi
   9965   else
   9966     # PORTME fill in a description of your system's linker (not GNU ld)
   9967     case $host_os in
   9968     aix3*)
   9969       allow_undefined_flag=unsupported
   9970       always_export_symbols=yes
   9971       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'
   9972       # Note: this linker hardcodes the directories in LIBPATH if there
   9973       # are no directories specified by -L.
   9974       hardcode_minus_L=yes
   9975       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9976 	# Neither direct hardcoding nor static linking is supported with a
   9977 	# broken collect2.
   9978 	hardcode_direct=unsupported
   9979       fi
   9980       ;;
   9981 
   9982     aix[4-9]*)
   9983       if test "$host_cpu" = ia64; then
   9984 	# On IA64, the linker does run time linking by default, so we don't
   9985 	# have to do anything special.
   9986 	aix_use_runtimelinking=no
   9987 	exp_sym_flag='-Bexport'
   9988 	no_entry_flag=""
   9989       else
   9990 	# If we're using GNU nm, then we don't want the "-C" option.
   9991 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9992 	# Also, AIX nm treats weak defined symbols like other global
   9993 	# defined symbols, whereas GNU nm marks them as "W".
   9994 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9995 	  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'
   9996 	else
   9997 	  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'
   9998 	fi
   9999 	aix_use_runtimelinking=no
   10000 
   10001 	# Test if we are trying to use run time linking or normal
   10002 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10003 	# need to do runtime linking.
   10004 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10005 	  for ld_flag in $LDFLAGS; do
   10006 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10007 	    aix_use_runtimelinking=yes
   10008 	    break
   10009 	  fi
   10010 	  done
   10011 	  ;;
   10012 	esac
   10013 
   10014 	exp_sym_flag='-bexport'
   10015 	no_entry_flag='-bnoentry'
   10016       fi
   10017 
   10018       # When large executables or shared objects are built, AIX ld can
   10019       # have problems creating the table of contents.  If linking a library
   10020       # or program results in "error TOC overflow" add -mminimal-toc to
   10021       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10022       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10023 
   10024       archive_cmds=''
   10025       hardcode_direct=yes
   10026       hardcode_direct_absolute=yes
   10027       hardcode_libdir_separator=':'
   10028       link_all_deplibs=yes
   10029       file_list_spec='${wl}-f,'
   10030 
   10031       if test "$GCC" = yes; then
   10032 	case $host_os in aix4.[012]|aix4.[012].*)
   10033 	# We only want to do this on AIX 4.2 and lower, the check
   10034 	# below for broken collect2 doesn't work under 4.3+
   10035 	  collect2name=`${CC} -print-prog-name=collect2`
   10036 	  if test -f "$collect2name" &&
   10037 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10038 	  then
   10039 	  # We have reworked collect2
   10040 	  :
   10041 	  else
   10042 	  # We have old collect2
   10043 	  hardcode_direct=unsupported
   10044 	  # It fails to find uninstalled libraries when the uninstalled
   10045 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10046 	  # to unsupported forces relinking
   10047 	  hardcode_minus_L=yes
   10048 	  hardcode_libdir_flag_spec='-L$libdir'
   10049 	  hardcode_libdir_separator=
   10050 	  fi
   10051 	  ;;
   10052 	esac
   10053 	shared_flag='-shared'
   10054 	if test "$aix_use_runtimelinking" = yes; then
   10055 	  shared_flag="$shared_flag "'${wl}-G'
   10056 	fi
   10057       else
   10058 	# not using gcc
   10059 	if test "$host_cpu" = ia64; then
   10060 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10061 	# chokes on -Wl,-G. The following line is correct:
   10062 	  shared_flag='-G'
   10063 	else
   10064 	  if test "$aix_use_runtimelinking" = yes; then
   10065 	    shared_flag='${wl}-G'
   10066 	  else
   10067 	    shared_flag='${wl}-bM:SRE'
   10068 	  fi
   10069 	fi
   10070       fi
   10071 
   10072       export_dynamic_flag_spec='${wl}-bexpall'
   10073       # It seems that -bexpall does not export symbols beginning with
   10074       # underscore (_), so it is better to generate a list of symbols to export.
   10075       always_export_symbols=yes
   10076       if test "$aix_use_runtimelinking" = yes; then
   10077 	# Warning - without using the other runtime loading flags (-brtl),
   10078 	# -berok will link without error, but may produce a broken library.
   10079 	allow_undefined_flag='-berok'
   10080         # Determine the default libpath from the value encoded in an
   10081         # empty executable.
   10082         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10083 /* end confdefs.h.  */
   10084 
   10085 int
   10086 main ()
   10087 {
   10088 
   10089   ;
   10090   return 0;
   10091 }
   10092 _ACEOF
   10093 if ac_fn_c_try_link "$LINENO"; then :
   10094 
   10095 lt_aix_libpath_sed='
   10096     /Import File Strings/,/^$/ {
   10097 	/^0/ {
   10098 	    s/^0  *\(.*\)$/\1/
   10099 	    p
   10100 	}
   10101     }'
   10102 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10103 # Check for a 64-bit object if we didn't find anything.
   10104 if test -z "$aix_libpath"; then
   10105   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10106 fi
   10107 fi
   10108 rm -f core conftest.err conftest.$ac_objext \
   10109     conftest$ac_exeext conftest.$ac_ext
   10110 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10111 
   10112         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10113         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"
   10114       else
   10115 	if test "$host_cpu" = ia64; then
   10116 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10117 	  allow_undefined_flag="-z nodefs"
   10118 	  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"
   10119 	else
   10120 	 # Determine the default libpath from the value encoded in an
   10121 	 # empty executable.
   10122 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10123 /* end confdefs.h.  */
   10124 
   10125 int
   10126 main ()
   10127 {
   10128 
   10129   ;
   10130   return 0;
   10131 }
   10132 _ACEOF
   10133 if ac_fn_c_try_link "$LINENO"; then :
   10134 
   10135 lt_aix_libpath_sed='
   10136     /Import File Strings/,/^$/ {
   10137 	/^0/ {
   10138 	    s/^0  *\(.*\)$/\1/
   10139 	    p
   10140 	}
   10141     }'
   10142 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10143 # Check for a 64-bit object if we didn't find anything.
   10144 if test -z "$aix_libpath"; then
   10145   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10146 fi
   10147 fi
   10148 rm -f core conftest.err conftest.$ac_objext \
   10149     conftest$ac_exeext conftest.$ac_ext
   10150 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10151 
   10152 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10153 	  # Warning - without using the other run time loading flags,
   10154 	  # -berok will link without error, but may produce a broken library.
   10155 	  no_undefined_flag=' ${wl}-bernotok'
   10156 	  allow_undefined_flag=' ${wl}-berok'
   10157 	  if test "$with_gnu_ld" = yes; then
   10158 	    # We only use this code for GNU lds that support --whole-archive.
   10159 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10160 	  else
   10161 	    # Exported symbols can be pulled into shared objects from archives
   10162 	    whole_archive_flag_spec='$convenience'
   10163 	  fi
   10164 	  archive_cmds_need_lc=yes
   10165 	  # This is similar to how AIX traditionally builds its shared libraries.
   10166 	  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'
   10167 	fi
   10168       fi
   10169       ;;
   10170 
   10171     amigaos*)
   10172       case $host_cpu in
   10173       powerpc)
   10174             # see comment about AmigaOS4 .so support
   10175             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10176             archive_expsym_cmds=''
   10177         ;;
   10178       m68k)
   10179             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)'
   10180             hardcode_libdir_flag_spec='-L$libdir'
   10181             hardcode_minus_L=yes
   10182         ;;
   10183       esac
   10184       ;;
   10185 
   10186     bsdi[45]*)
   10187       export_dynamic_flag_spec=-rdynamic
   10188       ;;
   10189 
   10190     cygwin* | mingw* | pw32* | cegcc*)
   10191       # When not using gcc, we currently assume that we are using
   10192       # Microsoft Visual C++.
   10193       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10194       # no search path for DLLs.
   10195       hardcode_libdir_flag_spec=' '
   10196       allow_undefined_flag=unsupported
   10197       # Tell ltmain to make .lib files, not .a files.
   10198       libext=lib
   10199       # Tell ltmain to make .dll files, not .so files.
   10200       shrext_cmds=".dll"
   10201       # FIXME: Setting linknames here is a bad hack.
   10202       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10203       # The linker will automatically build a .lib file if we build a DLL.
   10204       old_archive_from_new_cmds='true'
   10205       # FIXME: Should let the user specify the lib program.
   10206       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10207       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10208       enable_shared_with_static_runtimes=yes
   10209       ;;
   10210 
   10211     darwin* | rhapsody*)
   10212 
   10213 
   10214   archive_cmds_need_lc=no
   10215   hardcode_direct=no
   10216   hardcode_automatic=yes
   10217   hardcode_shlibpath_var=unsupported
   10218   if test "$lt_cv_ld_force_load" = "yes"; then
   10219     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\"`'
   10220   else
   10221     whole_archive_flag_spec=''
   10222   fi
   10223   link_all_deplibs=yes
   10224   allow_undefined_flag="$_lt_dar_allow_undefined"
   10225   case $cc_basename in
   10226      ifort*) _lt_dar_can_shared=yes ;;
   10227      *) _lt_dar_can_shared=$GCC ;;
   10228   esac
   10229   if test "$_lt_dar_can_shared" = "yes"; then
   10230     output_verbose_link_cmd=func_echo_all
   10231     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10232     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10233     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}"
   10234     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}"
   10235 
   10236   else
   10237   ld_shlibs=no
   10238   fi
   10239 
   10240       ;;
   10241 
   10242     dgux*)
   10243       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10244       hardcode_libdir_flag_spec='-L$libdir'
   10245       hardcode_shlibpath_var=no
   10246       ;;
   10247 
   10248     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10249     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10250     # does not break anything, and helps significantly (at the cost of a little
   10251     # extra space).
   10252     freebsd2.2*)
   10253       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10254       hardcode_libdir_flag_spec='-R$libdir'
   10255       hardcode_direct=yes
   10256       hardcode_shlibpath_var=no
   10257       ;;
   10258 
   10259     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10260     freebsd2.*)
   10261       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10262       hardcode_direct=yes
   10263       hardcode_minus_L=yes
   10264       hardcode_shlibpath_var=no
   10265       ;;
   10266 
   10267     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10268     freebsd* | dragonfly*)
   10269       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10270       hardcode_libdir_flag_spec='-R$libdir'
   10271       hardcode_direct=yes
   10272       hardcode_shlibpath_var=no
   10273       ;;
   10274 
   10275     hpux9*)
   10276       if test "$GCC" = yes; then
   10277 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   10278       else
   10279 	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'
   10280       fi
   10281       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10282       hardcode_libdir_separator=:
   10283       hardcode_direct=yes
   10284 
   10285       # hardcode_minus_L: Not really in the search PATH,
   10286       # but as the default location of the library.
   10287       hardcode_minus_L=yes
   10288       export_dynamic_flag_spec='${wl}-E'
   10289       ;;
   10290 
   10291     hpux10*)
   10292       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10293 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10294       else
   10295 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10296       fi
   10297       if test "$with_gnu_ld" = no; then
   10298 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10299 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10300 	hardcode_libdir_separator=:
   10301 	hardcode_direct=yes
   10302 	hardcode_direct_absolute=yes
   10303 	export_dynamic_flag_spec='${wl}-E'
   10304 	# hardcode_minus_L: Not really in the search PATH,
   10305 	# but as the default location of the library.
   10306 	hardcode_minus_L=yes
   10307       fi
   10308       ;;
   10309 
   10310     hpux11*)
   10311       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10312 	case $host_cpu in
   10313 	hppa*64*)
   10314 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10315 	  ;;
   10316 	ia64*)
   10317 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10318 	  ;;
   10319 	*)
   10320 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10321 	  ;;
   10322 	esac
   10323       else
   10324 	case $host_cpu in
   10325 	hppa*64*)
   10326 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10327 	  ;;
   10328 	ia64*)
   10329 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10330 	  ;;
   10331 	*)
   10332 
   10333 	  # Older versions of the 11.00 compiler do not understand -b yet
   10334 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10335 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10336 $as_echo_n "checking if $CC understands -b... " >&6; }
   10337 if test "${lt_cv_prog_compiler__b+set}" = set; then :
   10338   $as_echo_n "(cached) " >&6
   10339 else
   10340   lt_cv_prog_compiler__b=no
   10341    save_LDFLAGS="$LDFLAGS"
   10342    LDFLAGS="$LDFLAGS -b"
   10343    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10344    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10345      # The linker can only warn and ignore the option if not recognized
   10346      # So say no if there are warnings
   10347      if test -s conftest.err; then
   10348        # Append any errors to the config.log.
   10349        cat conftest.err 1>&5
   10350        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10351        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10352        if diff conftest.exp conftest.er2 >/dev/null; then
   10353          lt_cv_prog_compiler__b=yes
   10354        fi
   10355      else
   10356        lt_cv_prog_compiler__b=yes
   10357      fi
   10358    fi
   10359    $RM -r conftest*
   10360    LDFLAGS="$save_LDFLAGS"
   10361 
   10362 fi
   10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10364 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10365 
   10366 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10367     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10368 else
   10369     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10370 fi
   10371 
   10372 	  ;;
   10373 	esac
   10374       fi
   10375       if test "$with_gnu_ld" = no; then
   10376 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10377 	hardcode_libdir_separator=:
   10378 
   10379 	case $host_cpu in
   10380 	hppa*64*|ia64*)
   10381 	  hardcode_direct=no
   10382 	  hardcode_shlibpath_var=no
   10383 	  ;;
   10384 	*)
   10385 	  hardcode_direct=yes
   10386 	  hardcode_direct_absolute=yes
   10387 	  export_dynamic_flag_spec='${wl}-E'
   10388 
   10389 	  # hardcode_minus_L: Not really in the search PATH,
   10390 	  # but as the default location of the library.
   10391 	  hardcode_minus_L=yes
   10392 	  ;;
   10393 	esac
   10394       fi
   10395       ;;
   10396 
   10397     irix5* | irix6* | nonstopux*)
   10398       if test "$GCC" = yes; then
   10399 	archive_cmds='$CC -shared $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'
   10400 	# Try to use the -exported_symbol ld option, if it does not
   10401 	# work, assume that -exports_file does not work either and
   10402 	# implicitly export all symbols.
   10403         save_LDFLAGS="$LDFLAGS"
   10404         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10405         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10406 /* end confdefs.h.  */
   10407 int foo(void) {}
   10408 _ACEOF
   10409 if ac_fn_c_try_link "$LINENO"; then :
   10410   archive_expsym_cmds='$CC -shared $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'
   10411 
   10412 fi
   10413 rm -f core conftest.err conftest.$ac_objext \
   10414     conftest$ac_exeext conftest.$ac_ext
   10415         LDFLAGS="$save_LDFLAGS"
   10416       else
   10417 	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'
   10418 	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'
   10419       fi
   10420       archive_cmds_need_lc='no'
   10421       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10422       hardcode_libdir_separator=:
   10423       inherit_rpath=yes
   10424       link_all_deplibs=yes
   10425       ;;
   10426 
   10427     netbsd*)
   10428       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10429 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10430       else
   10431 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10432       fi
   10433       hardcode_libdir_flag_spec='-R$libdir'
   10434       hardcode_direct=yes
   10435       hardcode_shlibpath_var=no
   10436       ;;
   10437 
   10438     newsos6)
   10439       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10440       hardcode_direct=yes
   10441       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10442       hardcode_libdir_separator=:
   10443       hardcode_shlibpath_var=no
   10444       ;;
   10445 
   10446     *nto* | *qnx*)
   10447       ;;
   10448 
   10449     openbsd*)
   10450       if test -f /usr/libexec/ld.so; then
   10451 	hardcode_direct=yes
   10452 	hardcode_shlibpath_var=no
   10453 	hardcode_direct_absolute=yes
   10454 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10455 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10456 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10457 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10458 	  export_dynamic_flag_spec='${wl}-E'
   10459 	else
   10460 	  case $host_os in
   10461 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10462 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10463 	     hardcode_libdir_flag_spec='-R$libdir'
   10464 	     ;;
   10465 	   *)
   10466 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10467 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10468 	     ;;
   10469 	  esac
   10470 	fi
   10471       else
   10472 	ld_shlibs=no
   10473       fi
   10474       ;;
   10475 
   10476     os2*)
   10477       hardcode_libdir_flag_spec='-L$libdir'
   10478       hardcode_minus_L=yes
   10479       allow_undefined_flag=unsupported
   10480       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'
   10481       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10482       ;;
   10483 
   10484     osf3*)
   10485       if test "$GCC" = yes; then
   10486 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10487 	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'
   10488       else
   10489 	allow_undefined_flag=' -expect_unresolved \*'
   10490 	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'
   10491       fi
   10492       archive_cmds_need_lc='no'
   10493       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10494       hardcode_libdir_separator=:
   10495       ;;
   10496 
   10497     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10498       if test "$GCC" = yes; then
   10499 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10500 	archive_cmds='$CC -shared${allow_undefined_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'
   10501 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10502       else
   10503 	allow_undefined_flag=' -expect_unresolved \*'
   10504 	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'
   10505 	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~
   10506 	$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'
   10507 
   10508 	# Both c and cxx compiler support -rpath directly
   10509 	hardcode_libdir_flag_spec='-rpath $libdir'
   10510       fi
   10511       archive_cmds_need_lc='no'
   10512       hardcode_libdir_separator=:
   10513       ;;
   10514 
   10515     solaris*)
   10516       no_undefined_flag=' -z defs'
   10517       if test "$GCC" = yes; then
   10518 	wlarc='${wl}'
   10519 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10520 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10521 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10522       else
   10523 	case `$CC -V 2>&1` in
   10524 	*"Compilers 5.0"*)
   10525 	  wlarc=''
   10526 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10527 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10528 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10529 	  ;;
   10530 	*)
   10531 	  wlarc='${wl}'
   10532 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10533 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10534 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10535 	  ;;
   10536 	esac
   10537       fi
   10538       hardcode_libdir_flag_spec='-R$libdir'
   10539       hardcode_shlibpath_var=no
   10540       case $host_os in
   10541       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10542       *)
   10543 	# The compiler driver will combine and reorder linker options,
   10544 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10545 	# but is careful enough not to reorder.
   10546 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10547 	if test "$GCC" = yes; then
   10548 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10549 	else
   10550 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10551 	fi
   10552 	;;
   10553       esac
   10554       link_all_deplibs=yes
   10555       ;;
   10556 
   10557     sunos4*)
   10558       if test "x$host_vendor" = xsequent; then
   10559 	# Use $CC to link under sequent, because it throws in some extra .o
   10560 	# files that make .init and .fini sections work.
   10561 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10562       else
   10563 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10564       fi
   10565       hardcode_libdir_flag_spec='-L$libdir'
   10566       hardcode_direct=yes
   10567       hardcode_minus_L=yes
   10568       hardcode_shlibpath_var=no
   10569       ;;
   10570 
   10571     sysv4)
   10572       case $host_vendor in
   10573 	sni)
   10574 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10575 	  hardcode_direct=yes # is this really true???
   10576 	;;
   10577 	siemens)
   10578 	  ## LD is ld it makes a PLAMLIB
   10579 	  ## CC just makes a GrossModule.
   10580 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10581 	  reload_cmds='$CC -r -o $output$reload_objs'
   10582 	  hardcode_direct=no
   10583         ;;
   10584 	motorola)
   10585 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10586 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10587 	;;
   10588       esac
   10589       runpath_var='LD_RUN_PATH'
   10590       hardcode_shlibpath_var=no
   10591       ;;
   10592 
   10593     sysv4.3*)
   10594       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10595       hardcode_shlibpath_var=no
   10596       export_dynamic_flag_spec='-Bexport'
   10597       ;;
   10598 
   10599     sysv4*MP*)
   10600       if test -d /usr/nec; then
   10601 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10602 	hardcode_shlibpath_var=no
   10603 	runpath_var=LD_RUN_PATH
   10604 	hardcode_runpath_var=yes
   10605 	ld_shlibs=yes
   10606       fi
   10607       ;;
   10608 
   10609     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10610       no_undefined_flag='${wl}-z,text'
   10611       archive_cmds_need_lc=no
   10612       hardcode_shlibpath_var=no
   10613       runpath_var='LD_RUN_PATH'
   10614 
   10615       if test "$GCC" = yes; then
   10616 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10617 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10618       else
   10619 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10620 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10621       fi
   10622       ;;
   10623 
   10624     sysv5* | sco3.2v5* | sco5v6*)
   10625       # Note: We can NOT use -z defs as we might desire, because we do not
   10626       # link with -lc, and that would cause any symbols used from libc to
   10627       # always be unresolved, which means just about no library would
   10628       # ever link correctly.  If we're not using GNU ld we use -z text
   10629       # though, which does catch some bad symbols but isn't as heavy-handed
   10630       # as -z defs.
   10631       no_undefined_flag='${wl}-z,text'
   10632       allow_undefined_flag='${wl}-z,nodefs'
   10633       archive_cmds_need_lc=no
   10634       hardcode_shlibpath_var=no
   10635       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10636       hardcode_libdir_separator=':'
   10637       link_all_deplibs=yes
   10638       export_dynamic_flag_spec='${wl}-Bexport'
   10639       runpath_var='LD_RUN_PATH'
   10640 
   10641       if test "$GCC" = yes; then
   10642 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10643 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10644       else
   10645 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10646 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10647       fi
   10648       ;;
   10649 
   10650     uts4*)
   10651       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10652       hardcode_libdir_flag_spec='-L$libdir'
   10653       hardcode_shlibpath_var=no
   10654       ;;
   10655 
   10656     *)
   10657       ld_shlibs=no
   10658       ;;
   10659     esac
   10660 
   10661     if test x$host_vendor = xsni; then
   10662       case $host in
   10663       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10664 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10665 	;;
   10666       esac
   10667     fi
   10668   fi
   10669 
   10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10671 $as_echo "$ld_shlibs" >&6; }
   10672 test "$ld_shlibs" = no && can_build_shared=no
   10673 
   10674 with_gnu_ld=$with_gnu_ld
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 #
   10691 # Do we need to explicitly link libc?
   10692 #
   10693 case "x$archive_cmds_need_lc" in
   10694 x|xyes)
   10695   # Assume -lc should be added
   10696   archive_cmds_need_lc=yes
   10697 
   10698   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10699     case $archive_cmds in
   10700     *'~'*)
   10701       # FIXME: we may have to deal with multi-command sequences.
   10702       ;;
   10703     '$CC '*)
   10704       # Test whether the compiler implicitly links with -lc since on some
   10705       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10706       # to ld, don't add -lc before -lgcc.
   10707       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10708 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10709 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
   10710   $as_echo_n "(cached) " >&6
   10711 else
   10712   $RM conftest*
   10713 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10714 
   10715 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10716   (eval $ac_compile) 2>&5
   10717   ac_status=$?
   10718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10719   test $ac_status = 0; } 2>conftest.err; then
   10720 	  soname=conftest
   10721 	  lib=conftest
   10722 	  libobjs=conftest.$ac_objext
   10723 	  deplibs=
   10724 	  wl=$lt_prog_compiler_wl
   10725 	  pic_flag=$lt_prog_compiler_pic
   10726 	  compiler_flags=-v
   10727 	  linker_flags=-v
   10728 	  verstring=
   10729 	  output_objdir=.
   10730 	  libname=conftest
   10731 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10732 	  allow_undefined_flag=
   10733 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10734   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10735   ac_status=$?
   10736   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10737   test $ac_status = 0; }
   10738 	  then
   10739 	    lt_cv_archive_cmds_need_lc=no
   10740 	  else
   10741 	    lt_cv_archive_cmds_need_lc=yes
   10742 	  fi
   10743 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10744 	else
   10745 	  cat conftest.err 1>&5
   10746 	fi
   10747 	$RM conftest*
   10748 
   10749 fi
   10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10751 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10752       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10753       ;;
   10754     esac
   10755   fi
   10756   ;;
   10757 esac
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10916 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10917 
   10918 if test "$GCC" = yes; then
   10919   case $host_os in
   10920     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10921     *) lt_awk_arg="/^libraries:/" ;;
   10922   esac
   10923   case $host_os in
   10924     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10925     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10926   esac
   10927   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10928   case $lt_search_path_spec in
   10929   *\;*)
   10930     # if the path contains ";" then we assume it to be the separator
   10931     # otherwise default to the standard path separator (i.e. ":") - it is
   10932     # assumed that no part of a normal pathname contains ";" but that should
   10933     # okay in the real world where ";" in dirpaths is itself problematic.
   10934     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10935     ;;
   10936   *)
   10937     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10938     ;;
   10939   esac
   10940   # Ok, now we have the path, separated by spaces, we can step through it
   10941   # and add multilib dir if necessary.
   10942   lt_tmp_lt_search_path_spec=
   10943   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10944   for lt_sys_path in $lt_search_path_spec; do
   10945     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10946       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10947     else
   10948       test -d "$lt_sys_path" && \
   10949 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10950     fi
   10951   done
   10952   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10953 BEGIN {RS=" "; FS="/|\n";} {
   10954   lt_foo="";
   10955   lt_count=0;
   10956   for (lt_i = NF; lt_i > 0; lt_i--) {
   10957     if ($lt_i != "" && $lt_i != ".") {
   10958       if ($lt_i == "..") {
   10959         lt_count++;
   10960       } else {
   10961         if (lt_count == 0) {
   10962           lt_foo="/" $lt_i lt_foo;
   10963         } else {
   10964           lt_count--;
   10965         }
   10966       }
   10967     }
   10968   }
   10969   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10970   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10971 }'`
   10972   # AWK program above erroneously prepends '/' to C:/dos/paths
   10973   # for these hosts.
   10974   case $host_os in
   10975     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10976       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10977   esac
   10978   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10979 else
   10980   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10981 fi
   10982 library_names_spec=
   10983 libname_spec='lib$name'
   10984 soname_spec=
   10985 shrext_cmds=".so"
   10986 postinstall_cmds=
   10987 postuninstall_cmds=
   10988 finish_cmds=
   10989 finish_eval=
   10990 shlibpath_var=
   10991 shlibpath_overrides_runpath=unknown
   10992 version_type=none
   10993 dynamic_linker="$host_os ld.so"
   10994 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10995 need_lib_prefix=unknown
   10996 hardcode_into_libs=no
   10997 
   10998 # when you set need_version to no, make sure it does not cause -set_version
   10999 # flags to be left without arguments
   11000 need_version=unknown
   11001 
   11002 case $host_os in
   11003 aix3*)
   11004   version_type=linux
   11005   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11006   shlibpath_var=LIBPATH
   11007 
   11008   # AIX 3 has no versioning support, so we append a major version to the name.
   11009   soname_spec='${libname}${release}${shared_ext}$major'
   11010   ;;
   11011 
   11012 aix[4-9]*)
   11013   version_type=linux
   11014   need_lib_prefix=no
   11015   need_version=no
   11016   hardcode_into_libs=yes
   11017   if test "$host_cpu" = ia64; then
   11018     # AIX 5 supports IA64
   11019     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11020     shlibpath_var=LD_LIBRARY_PATH
   11021   else
   11022     # With GCC up to 2.95.x, collect2 would create an import file
   11023     # for dependence libraries.  The import file would start with
   11024     # the line `#! .'.  This would cause the generated library to
   11025     # depend on `.', always an invalid library.  This was fixed in
   11026     # development snapshots of GCC prior to 3.0.
   11027     case $host_os in
   11028       aix4 | aix4.[01] | aix4.[01].*)
   11029       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11030 	   echo ' yes '
   11031 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11032 	:
   11033       else
   11034 	can_build_shared=no
   11035       fi
   11036       ;;
   11037     esac
   11038     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11039     # soname into executable. Probably we can add versioning support to
   11040     # collect2, so additional links can be useful in future.
   11041     if test "$aix_use_runtimelinking" = yes; then
   11042       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11043       # instead of lib<name>.a to let people know that these are not
   11044       # typical AIX shared libraries.
   11045       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11046     else
   11047       # We preserve .a as extension for shared libraries through AIX4.2
   11048       # and later when we are not doing run time linking.
   11049       library_names_spec='${libname}${release}.a $libname.a'
   11050       soname_spec='${libname}${release}${shared_ext}$major'
   11051     fi
   11052     shlibpath_var=LIBPATH
   11053   fi
   11054   ;;
   11055 
   11056 amigaos*)
   11057   case $host_cpu in
   11058   powerpc)
   11059     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11060     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11061     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11062     ;;
   11063   m68k)
   11064     library_names_spec='$libname.ixlibrary $libname.a'
   11065     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11066     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'
   11067     ;;
   11068   esac
   11069   ;;
   11070 
   11071 beos*)
   11072   library_names_spec='${libname}${shared_ext}'
   11073   dynamic_linker="$host_os ld.so"
   11074   shlibpath_var=LIBRARY_PATH
   11075   ;;
   11076 
   11077 bsdi[45]*)
   11078   version_type=linux
   11079   need_version=no
   11080   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11081   soname_spec='${libname}${release}${shared_ext}$major'
   11082   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11083   shlibpath_var=LD_LIBRARY_PATH
   11084   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11085   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11086   # the default ld.so.conf also contains /usr/contrib/lib and
   11087   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11088   # libtool to hard-code these into programs
   11089   ;;
   11090 
   11091 cygwin* | mingw* | pw32* | cegcc*)
   11092   version_type=windows
   11093   shrext_cmds=".dll"
   11094   need_version=no
   11095   need_lib_prefix=no
   11096 
   11097   case $GCC,$host_os in
   11098   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11099     library_names_spec='$libname.dll.a'
   11100     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11101     postinstall_cmds='base_file=`basename \${file}`~
   11102       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11103       dldir=$destdir/`dirname \$dlpath`~
   11104       test -d \$dldir || mkdir -p \$dldir~
   11105       $install_prog $dir/$dlname \$dldir/$dlname~
   11106       chmod a+x \$dldir/$dlname~
   11107       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11108         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11109       fi'
   11110     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11111       dlpath=$dir/\$dldll~
   11112        $RM \$dlpath'
   11113     shlibpath_overrides_runpath=yes
   11114 
   11115     case $host_os in
   11116     cygwin*)
   11117       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11118       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11119 
   11120       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11121       ;;
   11122     mingw* | cegcc*)
   11123       # MinGW DLLs use traditional 'lib' prefix
   11124       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11125       ;;
   11126     pw32*)
   11127       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11128       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11129       ;;
   11130     esac
   11131     ;;
   11132 
   11133   *)
   11134     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11135     ;;
   11136   esac
   11137   dynamic_linker='Win32 ld.exe'
   11138   # FIXME: first we should search . and the directory the executable is in
   11139   shlibpath_var=PATH
   11140   ;;
   11141 
   11142 darwin* | rhapsody*)
   11143   dynamic_linker="$host_os dyld"
   11144   version_type=darwin
   11145   need_lib_prefix=no
   11146   need_version=no
   11147   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11148   soname_spec='${libname}${release}${major}$shared_ext'
   11149   shlibpath_overrides_runpath=yes
   11150   shlibpath_var=DYLD_LIBRARY_PATH
   11151   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11152 
   11153   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11154   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11155   ;;
   11156 
   11157 dgux*)
   11158   version_type=linux
   11159   need_lib_prefix=no
   11160   need_version=no
   11161   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11162   soname_spec='${libname}${release}${shared_ext}$major'
   11163   shlibpath_var=LD_LIBRARY_PATH
   11164   ;;
   11165 
   11166 freebsd* | dragonfly*)
   11167   # DragonFly does not have aout.  When/if they implement a new
   11168   # versioning mechanism, adjust this.
   11169   if test -x /usr/bin/objformat; then
   11170     objformat=`/usr/bin/objformat`
   11171   else
   11172     case $host_os in
   11173     freebsd[23].*) objformat=aout ;;
   11174     *) objformat=elf ;;
   11175     esac
   11176   fi
   11177   version_type=freebsd-$objformat
   11178   case $version_type in
   11179     freebsd-elf*)
   11180       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11181       need_version=no
   11182       need_lib_prefix=no
   11183       ;;
   11184     freebsd-*)
   11185       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11186       need_version=yes
   11187       ;;
   11188   esac
   11189   shlibpath_var=LD_LIBRARY_PATH
   11190   case $host_os in
   11191   freebsd2.*)
   11192     shlibpath_overrides_runpath=yes
   11193     ;;
   11194   freebsd3.[01]* | freebsdelf3.[01]*)
   11195     shlibpath_overrides_runpath=yes
   11196     hardcode_into_libs=yes
   11197     ;;
   11198   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11199   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11200     shlibpath_overrides_runpath=no
   11201     hardcode_into_libs=yes
   11202     ;;
   11203   *) # from 4.6 on, and DragonFly
   11204     shlibpath_overrides_runpath=yes
   11205     hardcode_into_libs=yes
   11206     ;;
   11207   esac
   11208   ;;
   11209 
   11210 gnu*)
   11211   version_type=linux
   11212   need_lib_prefix=no
   11213   need_version=no
   11214   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11215   soname_spec='${libname}${release}${shared_ext}$major'
   11216   shlibpath_var=LD_LIBRARY_PATH
   11217   hardcode_into_libs=yes
   11218   ;;
   11219 
   11220 haiku*)
   11221   version_type=linux
   11222   need_lib_prefix=no
   11223   need_version=no
   11224   dynamic_linker="$host_os runtime_loader"
   11225   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11226   soname_spec='${libname}${release}${shared_ext}$major'
   11227   shlibpath_var=LIBRARY_PATH
   11228   shlibpath_overrides_runpath=yes
   11229   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   11230   hardcode_into_libs=yes
   11231   ;;
   11232 
   11233 hpux9* | hpux10* | hpux11*)
   11234   # Give a soname corresponding to the major version so that dld.sl refuses to
   11235   # link against other versions.
   11236   version_type=sunos
   11237   need_lib_prefix=no
   11238   need_version=no
   11239   case $host_cpu in
   11240   ia64*)
   11241     shrext_cmds='.so'
   11242     hardcode_into_libs=yes
   11243     dynamic_linker="$host_os dld.so"
   11244     shlibpath_var=LD_LIBRARY_PATH
   11245     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11246     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11247     soname_spec='${libname}${release}${shared_ext}$major'
   11248     if test "X$HPUX_IA64_MODE" = X32; then
   11249       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11250     else
   11251       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11252     fi
   11253     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11254     ;;
   11255   hppa*64*)
   11256     shrext_cmds='.sl'
   11257     hardcode_into_libs=yes
   11258     dynamic_linker="$host_os dld.sl"
   11259     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11260     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11261     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11262     soname_spec='${libname}${release}${shared_ext}$major'
   11263     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11264     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11265     ;;
   11266   *)
   11267     shrext_cmds='.sl'
   11268     dynamic_linker="$host_os dld.sl"
   11269     shlibpath_var=SHLIB_PATH
   11270     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11271     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11272     soname_spec='${libname}${release}${shared_ext}$major'
   11273     ;;
   11274   esac
   11275   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11276   postinstall_cmds='chmod 555 $lib'
   11277   # or fails outright, so override atomically:
   11278   install_override_mode=555
   11279   ;;
   11280 
   11281 interix[3-9]*)
   11282   version_type=linux
   11283   need_lib_prefix=no
   11284   need_version=no
   11285   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11286   soname_spec='${libname}${release}${shared_ext}$major'
   11287   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11288   shlibpath_var=LD_LIBRARY_PATH
   11289   shlibpath_overrides_runpath=no
   11290   hardcode_into_libs=yes
   11291   ;;
   11292 
   11293 irix5* | irix6* | nonstopux*)
   11294   case $host_os in
   11295     nonstopux*) version_type=nonstopux ;;
   11296     *)
   11297 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11298 		version_type=linux
   11299 	else
   11300 		version_type=irix
   11301 	fi ;;
   11302   esac
   11303   need_lib_prefix=no
   11304   need_version=no
   11305   soname_spec='${libname}${release}${shared_ext}$major'
   11306   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11307   case $host_os in
   11308   irix5* | nonstopux*)
   11309     libsuff= shlibsuff=
   11310     ;;
   11311   *)
   11312     case $LD in # libtool.m4 will add one of these switches to LD
   11313     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11314       libsuff= shlibsuff= libmagic=32-bit;;
   11315     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11316       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11317     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11318       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11319     *) libsuff= shlibsuff= libmagic=never-match;;
   11320     esac
   11321     ;;
   11322   esac
   11323   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11324   shlibpath_overrides_runpath=no
   11325   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11326   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11327   hardcode_into_libs=yes
   11328   ;;
   11329 
   11330 # No shared lib support for Linux oldld, aout, or coff.
   11331 linux*oldld* | linux*aout* | linux*coff*)
   11332   dynamic_linker=no
   11333   ;;
   11334 
   11335 # This must be Linux ELF.
   11336 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   11337   version_type=linux
   11338   need_lib_prefix=no
   11339   need_version=no
   11340   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11341   soname_spec='${libname}${release}${shared_ext}$major'
   11342   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11343   shlibpath_var=LD_LIBRARY_PATH
   11344   shlibpath_overrides_runpath=no
   11345 
   11346   # Some binutils ld are patched to set DT_RUNPATH
   11347   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
   11348   $as_echo_n "(cached) " >&6
   11349 else
   11350   lt_cv_shlibpath_overrides_runpath=no
   11351     save_LDFLAGS=$LDFLAGS
   11352     save_libdir=$libdir
   11353     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11354 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11355     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11356 /* end confdefs.h.  */
   11357 
   11358 int
   11359 main ()
   11360 {
   11361 
   11362   ;
   11363   return 0;
   11364 }
   11365 _ACEOF
   11366 if ac_fn_c_try_link "$LINENO"; then :
   11367   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11368   lt_cv_shlibpath_overrides_runpath=yes
   11369 fi
   11370 fi
   11371 rm -f core conftest.err conftest.$ac_objext \
   11372     conftest$ac_exeext conftest.$ac_ext
   11373     LDFLAGS=$save_LDFLAGS
   11374     libdir=$save_libdir
   11375 
   11376 fi
   11377 
   11378   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11379 
   11380   # This implies no fast_install, which is unacceptable.
   11381   # Some rework will be needed to allow for fast_install
   11382   # before this can be enabled.
   11383   hardcode_into_libs=yes
   11384 
   11385   # Append ld.so.conf contents to the search path
   11386   if test -f /etc/ld.so.conf; then
   11387     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' ' '`
   11388     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11389   fi
   11390 
   11391   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11392   # powerpc, because MkLinux only supported shared libraries with the
   11393   # GNU dynamic linker.  Since this was broken with cross compilers,
   11394   # most powerpc-linux boxes support dynamic linking these days and
   11395   # people can always --disable-shared, the test was removed, and we
   11396   # assume the GNU/Linux dynamic linker is in use.
   11397   dynamic_linker='GNU/Linux ld.so'
   11398   ;;
   11399 
   11400 netbsd*)
   11401   version_type=sunos
   11402   need_lib_prefix=no
   11403   need_version=no
   11404   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11405     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11406     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11407     dynamic_linker='NetBSD (a.out) ld.so'
   11408   else
   11409     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11410     soname_spec='${libname}${release}${shared_ext}$major'
   11411     dynamic_linker='NetBSD ld.elf_so'
   11412   fi
   11413   shlibpath_var=LD_LIBRARY_PATH
   11414   shlibpath_overrides_runpath=yes
   11415   hardcode_into_libs=yes
   11416   ;;
   11417 
   11418 newsos6)
   11419   version_type=linux
   11420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11421   shlibpath_var=LD_LIBRARY_PATH
   11422   shlibpath_overrides_runpath=yes
   11423   ;;
   11424 
   11425 *nto* | *qnx*)
   11426   version_type=qnx
   11427   need_lib_prefix=no
   11428   need_version=no
   11429   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11430   soname_spec='${libname}${release}${shared_ext}$major'
   11431   shlibpath_var=LD_LIBRARY_PATH
   11432   shlibpath_overrides_runpath=no
   11433   hardcode_into_libs=yes
   11434   dynamic_linker='ldqnx.so'
   11435   ;;
   11436 
   11437 openbsd*)
   11438   version_type=sunos
   11439   sys_lib_dlsearch_path_spec="/usr/lib"
   11440   need_lib_prefix=no
   11441   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11442   case $host_os in
   11443     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11444     *)				need_version=no  ;;
   11445   esac
   11446   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11447   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11448   shlibpath_var=LD_LIBRARY_PATH
   11449   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11450     case $host_os in
   11451       openbsd2.[89] | openbsd2.[89].*)
   11452 	shlibpath_overrides_runpath=no
   11453 	;;
   11454       *)
   11455 	shlibpath_overrides_runpath=yes
   11456 	;;
   11457       esac
   11458   else
   11459     shlibpath_overrides_runpath=yes
   11460   fi
   11461   ;;
   11462 
   11463 os2*)
   11464   libname_spec='$name'
   11465   shrext_cmds=".dll"
   11466   need_lib_prefix=no
   11467   library_names_spec='$libname${shared_ext} $libname.a'
   11468   dynamic_linker='OS/2 ld.exe'
   11469   shlibpath_var=LIBPATH
   11470   ;;
   11471 
   11472 osf3* | osf4* | osf5*)
   11473   version_type=osf
   11474   need_lib_prefix=no
   11475   need_version=no
   11476   soname_spec='${libname}${release}${shared_ext}$major'
   11477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11478   shlibpath_var=LD_LIBRARY_PATH
   11479   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11480   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11481   ;;
   11482 
   11483 rdos*)
   11484   dynamic_linker=no
   11485   ;;
   11486 
   11487 solaris*)
   11488   version_type=linux
   11489   need_lib_prefix=no
   11490   need_version=no
   11491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11492   soname_spec='${libname}${release}${shared_ext}$major'
   11493   shlibpath_var=LD_LIBRARY_PATH
   11494   shlibpath_overrides_runpath=yes
   11495   hardcode_into_libs=yes
   11496   # ldd complains unless libraries are executable
   11497   postinstall_cmds='chmod +x $lib'
   11498   ;;
   11499 
   11500 sunos4*)
   11501   version_type=sunos
   11502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11503   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11504   shlibpath_var=LD_LIBRARY_PATH
   11505   shlibpath_overrides_runpath=yes
   11506   if test "$with_gnu_ld" = yes; then
   11507     need_lib_prefix=no
   11508   fi
   11509   need_version=yes
   11510   ;;
   11511 
   11512 sysv4 | sysv4.3*)
   11513   version_type=linux
   11514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11515   soname_spec='${libname}${release}${shared_ext}$major'
   11516   shlibpath_var=LD_LIBRARY_PATH
   11517   case $host_vendor in
   11518     sni)
   11519       shlibpath_overrides_runpath=no
   11520       need_lib_prefix=no
   11521       runpath_var=LD_RUN_PATH
   11522       ;;
   11523     siemens)
   11524       need_lib_prefix=no
   11525       ;;
   11526     motorola)
   11527       need_lib_prefix=no
   11528       need_version=no
   11529       shlibpath_overrides_runpath=no
   11530       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11531       ;;
   11532   esac
   11533   ;;
   11534 
   11535 sysv4*MP*)
   11536   if test -d /usr/nec ;then
   11537     version_type=linux
   11538     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11539     soname_spec='$libname${shared_ext}.$major'
   11540     shlibpath_var=LD_LIBRARY_PATH
   11541   fi
   11542   ;;
   11543 
   11544 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11545   version_type=freebsd-elf
   11546   need_lib_prefix=no
   11547   need_version=no
   11548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11549   soname_spec='${libname}${release}${shared_ext}$major'
   11550   shlibpath_var=LD_LIBRARY_PATH
   11551   shlibpath_overrides_runpath=yes
   11552   hardcode_into_libs=yes
   11553   if test "$with_gnu_ld" = yes; then
   11554     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11555   else
   11556     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11557     case $host_os in
   11558       sco3.2v5*)
   11559         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11560 	;;
   11561     esac
   11562   fi
   11563   sys_lib_dlsearch_path_spec='/usr/lib'
   11564   ;;
   11565 
   11566 tpf*)
   11567   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11568   version_type=linux
   11569   need_lib_prefix=no
   11570   need_version=no
   11571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11572   shlibpath_var=LD_LIBRARY_PATH
   11573   shlibpath_overrides_runpath=no
   11574   hardcode_into_libs=yes
   11575   ;;
   11576 
   11577 uts4*)
   11578   version_type=linux
   11579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11580   soname_spec='${libname}${release}${shared_ext}$major'
   11581   shlibpath_var=LD_LIBRARY_PATH
   11582   ;;
   11583 
   11584 *)
   11585   dynamic_linker=no
   11586   ;;
   11587 esac
   11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11589 $as_echo "$dynamic_linker" >&6; }
   11590 test "$dynamic_linker" = no && can_build_shared=no
   11591 
   11592 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11593 if test "$GCC" = yes; then
   11594   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11595 fi
   11596 
   11597 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11598   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11599 fi
   11600 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11601   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11602 fi
   11603 
   11604 
   11605 
   11606 
   11607 
   11608 
   11609 
   11610 
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 
   11625 
   11626 
   11627 
   11628 
   11629 
   11630 
   11631 
   11632 
   11633 
   11634 
   11635 
   11636 
   11637 
   11638 
   11639 
   11640 
   11641 
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11696 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11697 hardcode_action=
   11698 if test -n "$hardcode_libdir_flag_spec" ||
   11699    test -n "$runpath_var" ||
   11700    test "X$hardcode_automatic" = "Xyes" ; then
   11701 
   11702   # We can hardcode non-existent directories.
   11703   if test "$hardcode_direct" != no &&
   11704      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11705      # have to relink, otherwise we might link with an installed library
   11706      # when we should be linking with a yet-to-be-installed one
   11707      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11708      test "$hardcode_minus_L" != no; then
   11709     # Linking always hardcodes the temporary library directory.
   11710     hardcode_action=relink
   11711   else
   11712     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11713     hardcode_action=immediate
   11714   fi
   11715 else
   11716   # We cannot hardcode anything, or else we can only hardcode existing
   11717   # directories.
   11718   hardcode_action=unsupported
   11719 fi
   11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11721 $as_echo "$hardcode_action" >&6; }
   11722 
   11723 if test "$hardcode_action" = relink ||
   11724    test "$inherit_rpath" = yes; then
   11725   # Fast installation is not supported
   11726   enable_fast_install=no
   11727 elif test "$shlibpath_overrides_runpath" = yes ||
   11728      test "$enable_shared" = no; then
   11729   # Fast installation is not necessary
   11730   enable_fast_install=needless
   11731 fi
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738   if test "x$enable_dlopen" != xyes; then
   11739   enable_dlopen=unknown
   11740   enable_dlopen_self=unknown
   11741   enable_dlopen_self_static=unknown
   11742 else
   11743   lt_cv_dlopen=no
   11744   lt_cv_dlopen_libs=
   11745 
   11746   case $host_os in
   11747   beos*)
   11748     lt_cv_dlopen="load_add_on"
   11749     lt_cv_dlopen_libs=
   11750     lt_cv_dlopen_self=yes
   11751     ;;
   11752 
   11753   mingw* | pw32* | cegcc*)
   11754     lt_cv_dlopen="LoadLibrary"
   11755     lt_cv_dlopen_libs=
   11756     ;;
   11757 
   11758   cygwin*)
   11759     lt_cv_dlopen="dlopen"
   11760     lt_cv_dlopen_libs=
   11761     ;;
   11762 
   11763   darwin*)
   11764   # if libdl is installed we need to link against it
   11765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11767 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   11768   $as_echo_n "(cached) " >&6
   11769 else
   11770   ac_check_lib_save_LIBS=$LIBS
   11771 LIBS="-ldl  $LIBS"
   11772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11773 /* end confdefs.h.  */
   11774 
   11775 /* Override any GCC internal prototype to avoid an error.
   11776    Use char because int might match the return type of a GCC
   11777    builtin and then its argument prototype would still apply.  */
   11778 #ifdef __cplusplus
   11779 extern "C"
   11780 #endif
   11781 char dlopen ();
   11782 int
   11783 main ()
   11784 {
   11785 return dlopen ();
   11786   ;
   11787   return 0;
   11788 }
   11789 _ACEOF
   11790 if ac_fn_c_try_link "$LINENO"; then :
   11791   ac_cv_lib_dl_dlopen=yes
   11792 else
   11793   ac_cv_lib_dl_dlopen=no
   11794 fi
   11795 rm -f core conftest.err conftest.$ac_objext \
   11796     conftest$ac_exeext conftest.$ac_ext
   11797 LIBS=$ac_check_lib_save_LIBS
   11798 fi
   11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11800 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11801 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   11802   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11803 else
   11804 
   11805     lt_cv_dlopen="dyld"
   11806     lt_cv_dlopen_libs=
   11807     lt_cv_dlopen_self=yes
   11808 
   11809 fi
   11810 
   11811     ;;
   11812 
   11813   *)
   11814     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11815 if test "x$ac_cv_func_shl_load" = x""yes; then :
   11816   lt_cv_dlopen="shl_load"
   11817 else
   11818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11819 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11820 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   11821   $as_echo_n "(cached) " >&6
   11822 else
   11823   ac_check_lib_save_LIBS=$LIBS
   11824 LIBS="-ldld  $LIBS"
   11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11826 /* end confdefs.h.  */
   11827 
   11828 /* Override any GCC internal prototype to avoid an error.
   11829    Use char because int might match the return type of a GCC
   11830    builtin and then its argument prototype would still apply.  */
   11831 #ifdef __cplusplus
   11832 extern "C"
   11833 #endif
   11834 char shl_load ();
   11835 int
   11836 main ()
   11837 {
   11838 return shl_load ();
   11839   ;
   11840   return 0;
   11841 }
   11842 _ACEOF
   11843 if ac_fn_c_try_link "$LINENO"; then :
   11844   ac_cv_lib_dld_shl_load=yes
   11845 else
   11846   ac_cv_lib_dld_shl_load=no
   11847 fi
   11848 rm -f core conftest.err conftest.$ac_objext \
   11849     conftest$ac_exeext conftest.$ac_ext
   11850 LIBS=$ac_check_lib_save_LIBS
   11851 fi
   11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11853 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11854 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   11855   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11856 else
   11857   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11858 if test "x$ac_cv_func_dlopen" = x""yes; then :
   11859   lt_cv_dlopen="dlopen"
   11860 else
   11861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11862 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11863 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   11864   $as_echo_n "(cached) " >&6
   11865 else
   11866   ac_check_lib_save_LIBS=$LIBS
   11867 LIBS="-ldl  $LIBS"
   11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11869 /* end confdefs.h.  */
   11870 
   11871 /* Override any GCC internal prototype to avoid an error.
   11872    Use char because int might match the return type of a GCC
   11873    builtin and then its argument prototype would still apply.  */
   11874 #ifdef __cplusplus
   11875 extern "C"
   11876 #endif
   11877 char dlopen ();
   11878 int
   11879 main ()
   11880 {
   11881 return dlopen ();
   11882   ;
   11883   return 0;
   11884 }
   11885 _ACEOF
   11886 if ac_fn_c_try_link "$LINENO"; then :
   11887   ac_cv_lib_dl_dlopen=yes
   11888 else
   11889   ac_cv_lib_dl_dlopen=no
   11890 fi
   11891 rm -f core conftest.err conftest.$ac_objext \
   11892     conftest$ac_exeext conftest.$ac_ext
   11893 LIBS=$ac_check_lib_save_LIBS
   11894 fi
   11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11896 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11897 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   11898   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11899 else
   11900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11901 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11902 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   11903   $as_echo_n "(cached) " >&6
   11904 else
   11905   ac_check_lib_save_LIBS=$LIBS
   11906 LIBS="-lsvld  $LIBS"
   11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11908 /* end confdefs.h.  */
   11909 
   11910 /* Override any GCC internal prototype to avoid an error.
   11911    Use char because int might match the return type of a GCC
   11912    builtin and then its argument prototype would still apply.  */
   11913 #ifdef __cplusplus
   11914 extern "C"
   11915 #endif
   11916 char dlopen ();
   11917 int
   11918 main ()
   11919 {
   11920 return dlopen ();
   11921   ;
   11922   return 0;
   11923 }
   11924 _ACEOF
   11925 if ac_fn_c_try_link "$LINENO"; then :
   11926   ac_cv_lib_svld_dlopen=yes
   11927 else
   11928   ac_cv_lib_svld_dlopen=no
   11929 fi
   11930 rm -f core conftest.err conftest.$ac_objext \
   11931     conftest$ac_exeext conftest.$ac_ext
   11932 LIBS=$ac_check_lib_save_LIBS
   11933 fi
   11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11935 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11936 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   11937   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11938 else
   11939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11940 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11941 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   11942   $as_echo_n "(cached) " >&6
   11943 else
   11944   ac_check_lib_save_LIBS=$LIBS
   11945 LIBS="-ldld  $LIBS"
   11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11947 /* end confdefs.h.  */
   11948 
   11949 /* Override any GCC internal prototype to avoid an error.
   11950    Use char because int might match the return type of a GCC
   11951    builtin and then its argument prototype would still apply.  */
   11952 #ifdef __cplusplus
   11953 extern "C"
   11954 #endif
   11955 char dld_link ();
   11956 int
   11957 main ()
   11958 {
   11959 return dld_link ();
   11960   ;
   11961   return 0;
   11962 }
   11963 _ACEOF
   11964 if ac_fn_c_try_link "$LINENO"; then :
   11965   ac_cv_lib_dld_dld_link=yes
   11966 else
   11967   ac_cv_lib_dld_dld_link=no
   11968 fi
   11969 rm -f core conftest.err conftest.$ac_objext \
   11970     conftest$ac_exeext conftest.$ac_ext
   11971 LIBS=$ac_check_lib_save_LIBS
   11972 fi
   11973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11974 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11975 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   11976   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11977 fi
   11978 
   11979 
   11980 fi
   11981 
   11982 
   11983 fi
   11984 
   11985 
   11986 fi
   11987 
   11988 
   11989 fi
   11990 
   11991 
   11992 fi
   11993 
   11994     ;;
   11995   esac
   11996 
   11997   if test "x$lt_cv_dlopen" != xno; then
   11998     enable_dlopen=yes
   11999   else
   12000     enable_dlopen=no
   12001   fi
   12002 
   12003   case $lt_cv_dlopen in
   12004   dlopen)
   12005     save_CPPFLAGS="$CPPFLAGS"
   12006     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12007 
   12008     save_LDFLAGS="$LDFLAGS"
   12009     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12010 
   12011     save_LIBS="$LIBS"
   12012     LIBS="$lt_cv_dlopen_libs $LIBS"
   12013 
   12014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12015 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12016 if test "${lt_cv_dlopen_self+set}" = set; then :
   12017   $as_echo_n "(cached) " >&6
   12018 else
   12019   	  if test "$cross_compiling" = yes; then :
   12020   lt_cv_dlopen_self=cross
   12021 else
   12022   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12023   lt_status=$lt_dlunknown
   12024   cat > conftest.$ac_ext <<_LT_EOF
   12025 #line 12025 "configure"
   12026 #include "confdefs.h"
   12027 
   12028 #if HAVE_DLFCN_H
   12029 #include <dlfcn.h>
   12030 #endif
   12031 
   12032 #include <stdio.h>
   12033 
   12034 #ifdef RTLD_GLOBAL
   12035 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12036 #else
   12037 #  ifdef DL_GLOBAL
   12038 #    define LT_DLGLOBAL		DL_GLOBAL
   12039 #  else
   12040 #    define LT_DLGLOBAL		0
   12041 #  endif
   12042 #endif
   12043 
   12044 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12045    find out it does not work in some platform. */
   12046 #ifndef LT_DLLAZY_OR_NOW
   12047 #  ifdef RTLD_LAZY
   12048 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12049 #  else
   12050 #    ifdef DL_LAZY
   12051 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12052 #    else
   12053 #      ifdef RTLD_NOW
   12054 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12055 #      else
   12056 #        ifdef DL_NOW
   12057 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12058 #        else
   12059 #          define LT_DLLAZY_OR_NOW	0
   12060 #        endif
   12061 #      endif
   12062 #    endif
   12063 #  endif
   12064 #endif
   12065 
   12066 /* When -fvisbility=hidden is used, assume the code has been annotated
   12067    correspondingly for the symbols needed.  */
   12068 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12069 void fnord () __attribute__((visibility("default")));
   12070 #endif
   12071 
   12072 void fnord () { int i=42; }
   12073 int main ()
   12074 {
   12075   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12076   int status = $lt_dlunknown;
   12077 
   12078   if (self)
   12079     {
   12080       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12081       else
   12082         {
   12083 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12084           else puts (dlerror ());
   12085 	}
   12086       /* dlclose (self); */
   12087     }
   12088   else
   12089     puts (dlerror ());
   12090 
   12091   return status;
   12092 }
   12093 _LT_EOF
   12094   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12095   (eval $ac_link) 2>&5
   12096   ac_status=$?
   12097   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12098   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12099     (./conftest; exit; ) >&5 2>/dev/null
   12100     lt_status=$?
   12101     case x$lt_status in
   12102       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12103       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12104       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12105     esac
   12106   else :
   12107     # compilation failed
   12108     lt_cv_dlopen_self=no
   12109   fi
   12110 fi
   12111 rm -fr conftest*
   12112 
   12113 
   12114 fi
   12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12116 $as_echo "$lt_cv_dlopen_self" >&6; }
   12117 
   12118     if test "x$lt_cv_dlopen_self" = xyes; then
   12119       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12120       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12121 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12122 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   12123   $as_echo_n "(cached) " >&6
   12124 else
   12125   	  if test "$cross_compiling" = yes; then :
   12126   lt_cv_dlopen_self_static=cross
   12127 else
   12128   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12129   lt_status=$lt_dlunknown
   12130   cat > conftest.$ac_ext <<_LT_EOF
   12131 #line 12131 "configure"
   12132 #include "confdefs.h"
   12133 
   12134 #if HAVE_DLFCN_H
   12135 #include <dlfcn.h>
   12136 #endif
   12137 
   12138 #include <stdio.h>
   12139 
   12140 #ifdef RTLD_GLOBAL
   12141 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12142 #else
   12143 #  ifdef DL_GLOBAL
   12144 #    define LT_DLGLOBAL		DL_GLOBAL
   12145 #  else
   12146 #    define LT_DLGLOBAL		0
   12147 #  endif
   12148 #endif
   12149 
   12150 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12151    find out it does not work in some platform. */
   12152 #ifndef LT_DLLAZY_OR_NOW
   12153 #  ifdef RTLD_LAZY
   12154 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12155 #  else
   12156 #    ifdef DL_LAZY
   12157 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12158 #    else
   12159 #      ifdef RTLD_NOW
   12160 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12161 #      else
   12162 #        ifdef DL_NOW
   12163 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12164 #        else
   12165 #          define LT_DLLAZY_OR_NOW	0
   12166 #        endif
   12167 #      endif
   12168 #    endif
   12169 #  endif
   12170 #endif
   12171 
   12172 /* When -fvisbility=hidden is used, assume the code has been annotated
   12173    correspondingly for the symbols needed.  */
   12174 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12175 void fnord () __attribute__((visibility("default")));
   12176 #endif
   12177 
   12178 void fnord () { int i=42; }
   12179 int main ()
   12180 {
   12181   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12182   int status = $lt_dlunknown;
   12183 
   12184   if (self)
   12185     {
   12186       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12187       else
   12188         {
   12189 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12190           else puts (dlerror ());
   12191 	}
   12192       /* dlclose (self); */
   12193     }
   12194   else
   12195     puts (dlerror ());
   12196 
   12197   return status;
   12198 }
   12199 _LT_EOF
   12200   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12201   (eval $ac_link) 2>&5
   12202   ac_status=$?
   12203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12204   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12205     (./conftest; exit; ) >&5 2>/dev/null
   12206     lt_status=$?
   12207     case x$lt_status in
   12208       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12209       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12210       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12211     esac
   12212   else :
   12213     # compilation failed
   12214     lt_cv_dlopen_self_static=no
   12215   fi
   12216 fi
   12217 rm -fr conftest*
   12218 
   12219 
   12220 fi
   12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12222 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12223     fi
   12224 
   12225     CPPFLAGS="$save_CPPFLAGS"
   12226     LDFLAGS="$save_LDFLAGS"
   12227     LIBS="$save_LIBS"
   12228     ;;
   12229   esac
   12230 
   12231   case $lt_cv_dlopen_self in
   12232   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12233   *) enable_dlopen_self=unknown ;;
   12234   esac
   12235 
   12236   case $lt_cv_dlopen_self_static in
   12237   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12238   *) enable_dlopen_self_static=unknown ;;
   12239   esac
   12240 fi
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 striplib=
   12259 old_striplib=
   12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12261 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12262 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12263   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12264   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12266 $as_echo "yes" >&6; }
   12267 else
   12268 # FIXME - insert some real tests, host_os isn't really good enough
   12269   case $host_os in
   12270   darwin*)
   12271     if test -n "$STRIP" ; then
   12272       striplib="$STRIP -x"
   12273       old_striplib="$STRIP -S"
   12274       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12275 $as_echo "yes" >&6; }
   12276     else
   12277       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12278 $as_echo "no" >&6; }
   12279     fi
   12280     ;;
   12281   *)
   12282     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12283 $as_echo "no" >&6; }
   12284     ;;
   12285   esac
   12286 fi
   12287 
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 
   12298 
   12299   # Report which library types will actually be built
   12300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12301 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12303 $as_echo "$can_build_shared" >&6; }
   12304 
   12305   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12306 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12307   test "$can_build_shared" = "no" && enable_shared=no
   12308 
   12309   # On AIX, shared libraries and static libraries use the same namespace, and
   12310   # are all built from PIC.
   12311   case $host_os in
   12312   aix3*)
   12313     test "$enable_shared" = yes && enable_static=no
   12314     if test -n "$RANLIB"; then
   12315       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12316       postinstall_cmds='$RANLIB $lib'
   12317     fi
   12318     ;;
   12319 
   12320   aix[4-9]*)
   12321     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12322       test "$enable_shared" = yes && enable_static=no
   12323     fi
   12324     ;;
   12325   esac
   12326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12327 $as_echo "$enable_shared" >&6; }
   12328 
   12329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12330 $as_echo_n "checking whether to build static libraries... " >&6; }
   12331   # Make sure either enable_shared or enable_static is yes.
   12332   test "$enable_shared" = yes || enable_static=yes
   12333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12334 $as_echo "$enable_static" >&6; }
   12335 
   12336 
   12337 
   12338 
   12339 fi
   12340 ac_ext=c
   12341 ac_cpp='$CPP $CPPFLAGS'
   12342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12345 
   12346 CC="$lt_save_CC"
   12347 
   12348       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12349     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12350     (test "X$CXX" != "Xg++"))) ; then
   12351   ac_ext=cpp
   12352 ac_cpp='$CXXCPP $CPPFLAGS'
   12353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12357 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12358 if test -z "$CXXCPP"; then
   12359   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
   12360   $as_echo_n "(cached) " >&6
   12361 else
   12362       # Double quotes because CXXCPP needs to be expanded
   12363     for CXXCPP in "$CXX -E" "/lib/cpp"
   12364     do
   12365       ac_preproc_ok=false
   12366 for ac_cxx_preproc_warn_flag in '' yes
   12367 do
   12368   # Use a header file that comes with gcc, so configuring glibc
   12369   # with a fresh cross-compiler works.
   12370   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12371   # <limits.h> exists even on freestanding compilers.
   12372   # On the NeXT, cc -E runs the code through the compiler's parser,
   12373   # not just through cpp. "Syntax error" is here to catch this case.
   12374   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12375 /* end confdefs.h.  */
   12376 #ifdef __STDC__
   12377 # include <limits.h>
   12378 #else
   12379 # include <assert.h>
   12380 #endif
   12381 		     Syntax error
   12382 _ACEOF
   12383 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12384 
   12385 else
   12386   # Broken: fails on valid input.
   12387 continue
   12388 fi
   12389 rm -f conftest.err conftest.$ac_ext
   12390 
   12391   # OK, works on sane cases.  Now check whether nonexistent headers
   12392   # can be detected and how.
   12393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12394 /* end confdefs.h.  */
   12395 #include <ac_nonexistent.h>
   12396 _ACEOF
   12397 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12398   # Broken: success on invalid input.
   12399 continue
   12400 else
   12401   # Passes both tests.
   12402 ac_preproc_ok=:
   12403 break
   12404 fi
   12405 rm -f conftest.err conftest.$ac_ext
   12406 
   12407 done
   12408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12409 rm -f conftest.err conftest.$ac_ext
   12410 if $ac_preproc_ok; then :
   12411   break
   12412 fi
   12413 
   12414     done
   12415     ac_cv_prog_CXXCPP=$CXXCPP
   12416 
   12417 fi
   12418   CXXCPP=$ac_cv_prog_CXXCPP
   12419 else
   12420   ac_cv_prog_CXXCPP=$CXXCPP
   12421 fi
   12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12423 $as_echo "$CXXCPP" >&6; }
   12424 ac_preproc_ok=false
   12425 for ac_cxx_preproc_warn_flag in '' yes
   12426 do
   12427   # Use a header file that comes with gcc, so configuring glibc
   12428   # with a fresh cross-compiler works.
   12429   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12430   # <limits.h> exists even on freestanding compilers.
   12431   # On the NeXT, cc -E runs the code through the compiler's parser,
   12432   # not just through cpp. "Syntax error" is here to catch this case.
   12433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12434 /* end confdefs.h.  */
   12435 #ifdef __STDC__
   12436 # include <limits.h>
   12437 #else
   12438 # include <assert.h>
   12439 #endif
   12440 		     Syntax error
   12441 _ACEOF
   12442 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12443 
   12444 else
   12445   # Broken: fails on valid input.
   12446 continue
   12447 fi
   12448 rm -f conftest.err conftest.$ac_ext
   12449 
   12450   # OK, works on sane cases.  Now check whether nonexistent headers
   12451   # can be detected and how.
   12452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12453 /* end confdefs.h.  */
   12454 #include <ac_nonexistent.h>
   12455 _ACEOF
   12456 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12457   # Broken: success on invalid input.
   12458 continue
   12459 else
   12460   # Passes both tests.
   12461 ac_preproc_ok=:
   12462 break
   12463 fi
   12464 rm -f conftest.err conftest.$ac_ext
   12465 
   12466 done
   12467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12468 rm -f conftest.err conftest.$ac_ext
   12469 if $ac_preproc_ok; then :
   12470 
   12471 else
   12472   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12474 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
   12475 See \`config.log' for more details." "$LINENO" 5; }
   12476 fi
   12477 
   12478 ac_ext=c
   12479 ac_cpp='$CPP $CPPFLAGS'
   12480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12483 
   12484 else
   12485   _lt_caught_CXX_error=yes
   12486 fi
   12487 
   12488 ac_ext=cpp
   12489 ac_cpp='$CXXCPP $CPPFLAGS'
   12490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12493 
   12494 archive_cmds_need_lc_CXX=no
   12495 allow_undefined_flag_CXX=
   12496 always_export_symbols_CXX=no
   12497 archive_expsym_cmds_CXX=
   12498 compiler_needs_object_CXX=no
   12499 export_dynamic_flag_spec_CXX=
   12500 hardcode_direct_CXX=no
   12501 hardcode_direct_absolute_CXX=no
   12502 hardcode_libdir_flag_spec_CXX=
   12503 hardcode_libdir_flag_spec_ld_CXX=
   12504 hardcode_libdir_separator_CXX=
   12505 hardcode_minus_L_CXX=no
   12506 hardcode_shlibpath_var_CXX=unsupported
   12507 hardcode_automatic_CXX=no
   12508 inherit_rpath_CXX=no
   12509 module_cmds_CXX=
   12510 module_expsym_cmds_CXX=
   12511 link_all_deplibs_CXX=unknown
   12512 old_archive_cmds_CXX=$old_archive_cmds
   12513 reload_flag_CXX=$reload_flag
   12514 reload_cmds_CXX=$reload_cmds
   12515 no_undefined_flag_CXX=
   12516 whole_archive_flag_spec_CXX=
   12517 enable_shared_with_static_runtimes_CXX=no
   12518 
   12519 # Source file extension for C++ test sources.
   12520 ac_ext=cpp
   12521 
   12522 # Object file extension for compiled C++ test sources.
   12523 objext=o
   12524 objext_CXX=$objext
   12525 
   12526 # No sense in running all these tests if we already determined that
   12527 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12528 # are currently assumed to apply to all compilers on this platform,
   12529 # and will be corrupted by setting them based on a non-working compiler.
   12530 if test "$_lt_caught_CXX_error" != yes; then
   12531   # Code to be used in simple compile tests
   12532   lt_simple_compile_test_code="int some_variable = 0;"
   12533 
   12534   # Code to be used in simple link tests
   12535   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12536 
   12537   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12538 
   12539 
   12540 
   12541 
   12542 
   12543 
   12544 # If no C compiler was specified, use CC.
   12545 LTCC=${LTCC-"$CC"}
   12546 
   12547 # If no C compiler flags were specified, use CFLAGS.
   12548 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12549 
   12550 # Allow CC to be a program name with arguments.
   12551 compiler=$CC
   12552 
   12553 
   12554   # save warnings/boilerplate of simple test code
   12555   ac_outfile=conftest.$ac_objext
   12556 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12557 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12558 _lt_compiler_boilerplate=`cat conftest.err`
   12559 $RM conftest*
   12560 
   12561   ac_outfile=conftest.$ac_objext
   12562 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12563 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12564 _lt_linker_boilerplate=`cat conftest.err`
   12565 $RM -r conftest*
   12566 
   12567 
   12568   # Allow CC to be a program name with arguments.
   12569   lt_save_CC=$CC
   12570   lt_save_LD=$LD
   12571   lt_save_GCC=$GCC
   12572   GCC=$GXX
   12573   lt_save_with_gnu_ld=$with_gnu_ld
   12574   lt_save_path_LD=$lt_cv_path_LD
   12575   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12576     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12577   else
   12578     $as_unset lt_cv_prog_gnu_ld
   12579   fi
   12580   if test -n "${lt_cv_path_LDCXX+set}"; then
   12581     lt_cv_path_LD=$lt_cv_path_LDCXX
   12582   else
   12583     $as_unset lt_cv_path_LD
   12584   fi
   12585   test -z "${LDCXX+set}" || LD=$LDCXX
   12586   CC=${CXX-"c++"}
   12587   compiler=$CC
   12588   compiler_CXX=$CC
   12589   for cc_temp in $compiler""; do
   12590   case $cc_temp in
   12591     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12592     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12593     \-*) ;;
   12594     *) break;;
   12595   esac
   12596 done
   12597 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12598 
   12599 
   12600   if test -n "$compiler"; then
   12601     # We don't want -fno-exception when compiling C++ code, so set the
   12602     # no_builtin_flag separately
   12603     if test "$GXX" = yes; then
   12604       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12605     else
   12606       lt_prog_compiler_no_builtin_flag_CXX=
   12607     fi
   12608 
   12609     if test "$GXX" = yes; then
   12610       # Set up default GNU C++ configuration
   12611 
   12612 
   12613 
   12614 # Check whether --with-gnu-ld was given.
   12615 if test "${with_gnu_ld+set}" = set; then :
   12616   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12617 else
   12618   with_gnu_ld=no
   12619 fi
   12620 
   12621 ac_prog=ld
   12622 if test "$GCC" = yes; then
   12623   # Check if gcc -print-prog-name=ld gives a path.
   12624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12625 $as_echo_n "checking for ld used by $CC... " >&6; }
   12626   case $host in
   12627   *-*-mingw*)
   12628     # gcc leaves a trailing carriage return which upsets mingw
   12629     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12630   *)
   12631     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12632   esac
   12633   case $ac_prog in
   12634     # Accept absolute paths.
   12635     [\\/]* | ?:[\\/]*)
   12636       re_direlt='/[^/][^/]*/\.\./'
   12637       # Canonicalize the pathname of ld
   12638       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12639       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12640 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12641       done
   12642       test -z "$LD" && LD="$ac_prog"
   12643       ;;
   12644   "")
   12645     # If it fails, then pretend we aren't using GCC.
   12646     ac_prog=ld
   12647     ;;
   12648   *)
   12649     # If it is relative, then search for the first ld in PATH.
   12650     with_gnu_ld=unknown
   12651     ;;
   12652   esac
   12653 elif test "$with_gnu_ld" = yes; then
   12654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12655 $as_echo_n "checking for GNU ld... " >&6; }
   12656 else
   12657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12658 $as_echo_n "checking for non-GNU ld... " >&6; }
   12659 fi
   12660 if test "${lt_cv_path_LD+set}" = set; then :
   12661   $as_echo_n "(cached) " >&6
   12662 else
   12663   if test -z "$LD"; then
   12664   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12665   for ac_dir in $PATH; do
   12666     IFS="$lt_save_ifs"
   12667     test -z "$ac_dir" && ac_dir=.
   12668     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12669       lt_cv_path_LD="$ac_dir/$ac_prog"
   12670       # Check to see if the program is GNU ld.  I'd rather use --version,
   12671       # but apparently some variants of GNU ld only accept -v.
   12672       # Break only if it was the GNU/non-GNU ld that we prefer.
   12673       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12674       *GNU* | *'with BFD'*)
   12675 	test "$with_gnu_ld" != no && break
   12676 	;;
   12677       *)
   12678 	test "$with_gnu_ld" != yes && break
   12679 	;;
   12680       esac
   12681     fi
   12682   done
   12683   IFS="$lt_save_ifs"
   12684 else
   12685   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12686 fi
   12687 fi
   12688 
   12689 LD="$lt_cv_path_LD"
   12690 if test -n "$LD"; then
   12691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12692 $as_echo "$LD" >&6; }
   12693 else
   12694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12695 $as_echo "no" >&6; }
   12696 fi
   12697 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   12698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12699 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12700 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   12701   $as_echo_n "(cached) " >&6
   12702 else
   12703   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12704 case `$LD -v 2>&1 </dev/null` in
   12705 *GNU* | *'with BFD'*)
   12706   lt_cv_prog_gnu_ld=yes
   12707   ;;
   12708 *)
   12709   lt_cv_prog_gnu_ld=no
   12710   ;;
   12711 esac
   12712 fi
   12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12714 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12715 with_gnu_ld=$lt_cv_prog_gnu_ld
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12724       # archiving commands below assume that GNU ld is being used.
   12725       if test "$with_gnu_ld" = yes; then
   12726         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12727         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12728 
   12729         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12730         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12731 
   12732         # If archive_cmds runs LD, not CC, wlarc should be empty
   12733         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12734         #     investigate it a little bit more. (MM)
   12735         wlarc='${wl}'
   12736 
   12737         # ancient GNU ld didn't support --whole-archive et. al.
   12738         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12739 	  $GREP 'no-whole-archive' > /dev/null; then
   12740           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12741         else
   12742           whole_archive_flag_spec_CXX=
   12743         fi
   12744       else
   12745         with_gnu_ld=no
   12746         wlarc=
   12747 
   12748         # A generic and very simple default shared library creation
   12749         # command for GNU C++ for the case where it uses the native
   12750         # linker, instead of GNU ld.  If possible, this setting should
   12751         # overridden to take advantage of the native linker features on
   12752         # the platform it is being used on.
   12753         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12754       fi
   12755 
   12756       # Commands to make compiler produce verbose output that lists
   12757       # what "hidden" libraries, object files and flags are used when
   12758       # linking a shared library.
   12759       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12760 
   12761     else
   12762       GXX=no
   12763       with_gnu_ld=no
   12764       wlarc=
   12765     fi
   12766 
   12767     # PORTME: fill in a description of your system's C++ link characteristics
   12768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12769 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12770     ld_shlibs_CXX=yes
   12771     case $host_os in
   12772       aix3*)
   12773         # FIXME: insert proper C++ library support
   12774         ld_shlibs_CXX=no
   12775         ;;
   12776       aix[4-9]*)
   12777         if test "$host_cpu" = ia64; then
   12778           # On IA64, the linker does run time linking by default, so we don't
   12779           # have to do anything special.
   12780           aix_use_runtimelinking=no
   12781           exp_sym_flag='-Bexport'
   12782           no_entry_flag=""
   12783         else
   12784           aix_use_runtimelinking=no
   12785 
   12786           # Test if we are trying to use run time linking or normal
   12787           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   12788           # need to do runtime linking.
   12789           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   12790 	    for ld_flag in $LDFLAGS; do
   12791 	      case $ld_flag in
   12792 	      *-brtl*)
   12793 	        aix_use_runtimelinking=yes
   12794 	        break
   12795 	        ;;
   12796 	      esac
   12797 	    done
   12798 	    ;;
   12799           esac
   12800 
   12801           exp_sym_flag='-bexport'
   12802           no_entry_flag='-bnoentry'
   12803         fi
   12804 
   12805         # When large executables or shared objects are built, AIX ld can
   12806         # have problems creating the table of contents.  If linking a library
   12807         # or program results in "error TOC overflow" add -mminimal-toc to
   12808         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   12809         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   12810 
   12811         archive_cmds_CXX=''
   12812         hardcode_direct_CXX=yes
   12813         hardcode_direct_absolute_CXX=yes
   12814         hardcode_libdir_separator_CXX=':'
   12815         link_all_deplibs_CXX=yes
   12816         file_list_spec_CXX='${wl}-f,'
   12817 
   12818         if test "$GXX" = yes; then
   12819           case $host_os in aix4.[012]|aix4.[012].*)
   12820           # We only want to do this on AIX 4.2 and lower, the check
   12821           # below for broken collect2 doesn't work under 4.3+
   12822 	  collect2name=`${CC} -print-prog-name=collect2`
   12823 	  if test -f "$collect2name" &&
   12824 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   12825 	  then
   12826 	    # We have reworked collect2
   12827 	    :
   12828 	  else
   12829 	    # We have old collect2
   12830 	    hardcode_direct_CXX=unsupported
   12831 	    # It fails to find uninstalled libraries when the uninstalled
   12832 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   12833 	    # to unsupported forces relinking
   12834 	    hardcode_minus_L_CXX=yes
   12835 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   12836 	    hardcode_libdir_separator_CXX=
   12837 	  fi
   12838           esac
   12839           shared_flag='-shared'
   12840 	  if test "$aix_use_runtimelinking" = yes; then
   12841 	    shared_flag="$shared_flag "'${wl}-G'
   12842 	  fi
   12843         else
   12844           # not using gcc
   12845           if test "$host_cpu" = ia64; then
   12846 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   12847 	  # chokes on -Wl,-G. The following line is correct:
   12848 	  shared_flag='-G'
   12849           else
   12850 	    if test "$aix_use_runtimelinking" = yes; then
   12851 	      shared_flag='${wl}-G'
   12852 	    else
   12853 	      shared_flag='${wl}-bM:SRE'
   12854 	    fi
   12855           fi
   12856         fi
   12857 
   12858         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   12859         # It seems that -bexpall does not export symbols beginning with
   12860         # underscore (_), so it is better to generate a list of symbols to
   12861 	# export.
   12862         always_export_symbols_CXX=yes
   12863         if test "$aix_use_runtimelinking" = yes; then
   12864           # Warning - without using the other runtime loading flags (-brtl),
   12865           # -berok will link without error, but may produce a broken library.
   12866           allow_undefined_flag_CXX='-berok'
   12867           # Determine the default libpath from the value encoded in an empty
   12868           # executable.
   12869           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12870 /* end confdefs.h.  */
   12871 
   12872 int
   12873 main ()
   12874 {
   12875 
   12876   ;
   12877   return 0;
   12878 }
   12879 _ACEOF
   12880 if ac_fn_cxx_try_link "$LINENO"; then :
   12881 
   12882 lt_aix_libpath_sed='
   12883     /Import File Strings/,/^$/ {
   12884 	/^0/ {
   12885 	    s/^0  *\(.*\)$/\1/
   12886 	    p
   12887 	}
   12888     }'
   12889 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12890 # Check for a 64-bit object if we didn't find anything.
   12891 if test -z "$aix_libpath"; then
   12892   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12893 fi
   12894 fi
   12895 rm -f core conftest.err conftest.$ac_objext \
   12896     conftest$ac_exeext conftest.$ac_ext
   12897 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12898 
   12899           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12900 
   12901           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   12902         else
   12903           if test "$host_cpu" = ia64; then
   12904 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   12905 	    allow_undefined_flag_CXX="-z nodefs"
   12906 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   12907           else
   12908 	    # Determine the default libpath from the value encoded in an
   12909 	    # empty executable.
   12910 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12911 /* end confdefs.h.  */
   12912 
   12913 int
   12914 main ()
   12915 {
   12916 
   12917   ;
   12918   return 0;
   12919 }
   12920 _ACEOF
   12921 if ac_fn_cxx_try_link "$LINENO"; then :
   12922 
   12923 lt_aix_libpath_sed='
   12924     /Import File Strings/,/^$/ {
   12925 	/^0/ {
   12926 	    s/^0  *\(.*\)$/\1/
   12927 	    p
   12928 	}
   12929     }'
   12930 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12931 # Check for a 64-bit object if we didn't find anything.
   12932 if test -z "$aix_libpath"; then
   12933   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12934 fi
   12935 fi
   12936 rm -f core conftest.err conftest.$ac_objext \
   12937     conftest$ac_exeext conftest.$ac_ext
   12938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12939 
   12940 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12941 	    # Warning - without using the other run time loading flags,
   12942 	    # -berok will link without error, but may produce a broken library.
   12943 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   12944 	    allow_undefined_flag_CXX=' ${wl}-berok'
   12945 	    if test "$with_gnu_ld" = yes; then
   12946 	      # We only use this code for GNU lds that support --whole-archive.
   12947 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12948 	    else
   12949 	      # Exported symbols can be pulled into shared objects from archives
   12950 	      whole_archive_flag_spec_CXX='$convenience'
   12951 	    fi
   12952 	    archive_cmds_need_lc_CXX=yes
   12953 	    # This is similar to how AIX traditionally builds its shared
   12954 	    # libraries.
   12955 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   12956           fi
   12957         fi
   12958         ;;
   12959 
   12960       beos*)
   12961 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12962 	  allow_undefined_flag_CXX=unsupported
   12963 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   12964 	  # support --undefined.  This deserves some investigation.  FIXME
   12965 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12966 	else
   12967 	  ld_shlibs_CXX=no
   12968 	fi
   12969 	;;
   12970 
   12971       chorus*)
   12972         case $cc_basename in
   12973           *)
   12974 	  # FIXME: insert proper C++ library support
   12975 	  ld_shlibs_CXX=no
   12976 	  ;;
   12977         esac
   12978         ;;
   12979 
   12980       cygwin* | mingw* | pw32* | cegcc*)
   12981         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   12982         # as there is no search path for DLLs.
   12983         hardcode_libdir_flag_spec_CXX='-L$libdir'
   12984         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   12985         allow_undefined_flag_CXX=unsupported
   12986         always_export_symbols_CXX=no
   12987         enable_shared_with_static_runtimes_CXX=yes
   12988 
   12989         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   12990           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   12991           # If the export-symbols file already is a .def file (1st line
   12992           # is EXPORTS), use it as is; otherwise, prepend...
   12993           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   12994 	    cp $export_symbols $output_objdir/$soname.def;
   12995           else
   12996 	    echo EXPORTS > $output_objdir/$soname.def;
   12997 	    cat $export_symbols >> $output_objdir/$soname.def;
   12998           fi~
   12999           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13000         else
   13001           ld_shlibs_CXX=no
   13002         fi
   13003         ;;
   13004       darwin* | rhapsody*)
   13005 
   13006 
   13007   archive_cmds_need_lc_CXX=no
   13008   hardcode_direct_CXX=no
   13009   hardcode_automatic_CXX=yes
   13010   hardcode_shlibpath_var_CXX=unsupported
   13011   if test "$lt_cv_ld_force_load" = "yes"; then
   13012     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   13013   else
   13014     whole_archive_flag_spec_CXX=''
   13015   fi
   13016   link_all_deplibs_CXX=yes
   13017   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13018   case $cc_basename in
   13019      ifort*) _lt_dar_can_shared=yes ;;
   13020      *) _lt_dar_can_shared=$GCC ;;
   13021   esac
   13022   if test "$_lt_dar_can_shared" = "yes"; then
   13023     output_verbose_link_cmd=func_echo_all
   13024     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   13025     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13026     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   13027     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   13028        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13029       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   13030       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   13031     fi
   13032 
   13033   else
   13034   ld_shlibs_CXX=no
   13035   fi
   13036 
   13037 	;;
   13038 
   13039       dgux*)
   13040         case $cc_basename in
   13041           ec++*)
   13042 	    # FIXME: insert proper C++ library support
   13043 	    ld_shlibs_CXX=no
   13044 	    ;;
   13045           ghcx*)
   13046 	    # Green Hills C++ Compiler
   13047 	    # FIXME: insert proper C++ library support
   13048 	    ld_shlibs_CXX=no
   13049 	    ;;
   13050           *)
   13051 	    # FIXME: insert proper C++ library support
   13052 	    ld_shlibs_CXX=no
   13053 	    ;;
   13054         esac
   13055         ;;
   13056 
   13057       freebsd2.*)
   13058         # C++ shared libraries reported to be fairly broken before
   13059 	# switch to ELF
   13060         ld_shlibs_CXX=no
   13061         ;;
   13062 
   13063       freebsd-elf*)
   13064         archive_cmds_need_lc_CXX=no
   13065         ;;
   13066 
   13067       freebsd* | dragonfly*)
   13068         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13069         # conventions
   13070         ld_shlibs_CXX=yes
   13071         ;;
   13072 
   13073       gnu*)
   13074         ;;
   13075 
   13076       haiku*)
   13077         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13078         link_all_deplibs_CXX=yes
   13079         ;;
   13080 
   13081       hpux9*)
   13082         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13083         hardcode_libdir_separator_CXX=:
   13084         export_dynamic_flag_spec_CXX='${wl}-E'
   13085         hardcode_direct_CXX=yes
   13086         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13087 				             # but as the default
   13088 				             # location of the library.
   13089 
   13090         case $cc_basename in
   13091           CC*)
   13092             # FIXME: insert proper C++ library support
   13093             ld_shlibs_CXX=no
   13094             ;;
   13095           aCC*)
   13096             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13097             # Commands to make compiler produce verbose output that lists
   13098             # what "hidden" libraries, object files and flags are used when
   13099             # linking a shared library.
   13100             #
   13101             # There doesn't appear to be a way to prevent this compiler from
   13102             # explicitly linking system object files so we need to strip them
   13103             # from the output so that they don't get included in the library
   13104             # dependencies.
   13105             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13106             ;;
   13107           *)
   13108             if test "$GXX" = yes; then
   13109               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13110             else
   13111               # FIXME: insert proper C++ library support
   13112               ld_shlibs_CXX=no
   13113             fi
   13114             ;;
   13115         esac
   13116         ;;
   13117 
   13118       hpux10*|hpux11*)
   13119         if test $with_gnu_ld = no; then
   13120 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13121 	  hardcode_libdir_separator_CXX=:
   13122 
   13123           case $host_cpu in
   13124             hppa*64*|ia64*)
   13125               ;;
   13126             *)
   13127 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13128               ;;
   13129           esac
   13130         fi
   13131         case $host_cpu in
   13132           hppa*64*|ia64*)
   13133             hardcode_direct_CXX=no
   13134             hardcode_shlibpath_var_CXX=no
   13135             ;;
   13136           *)
   13137             hardcode_direct_CXX=yes
   13138             hardcode_direct_absolute_CXX=yes
   13139             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13140 					         # but as the default
   13141 					         # location of the library.
   13142             ;;
   13143         esac
   13144 
   13145         case $cc_basename in
   13146           CC*)
   13147 	    # FIXME: insert proper C++ library support
   13148 	    ld_shlibs_CXX=no
   13149 	    ;;
   13150           aCC*)
   13151 	    case $host_cpu in
   13152 	      hppa*64*)
   13153 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13154 	        ;;
   13155 	      ia64*)
   13156 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13157 	        ;;
   13158 	      *)
   13159 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13160 	        ;;
   13161 	    esac
   13162 	    # Commands to make compiler produce verbose output that lists
   13163 	    # what "hidden" libraries, object files and flags are used when
   13164 	    # linking a shared library.
   13165 	    #
   13166 	    # There doesn't appear to be a way to prevent this compiler from
   13167 	    # explicitly linking system object files so we need to strip them
   13168 	    # from the output so that they don't get included in the library
   13169 	    # dependencies.
   13170 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13171 	    ;;
   13172           *)
   13173 	    if test "$GXX" = yes; then
   13174 	      if test $with_gnu_ld = no; then
   13175 	        case $host_cpu in
   13176 	          hppa*64*)
   13177 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13178 	            ;;
   13179 	          ia64*)
   13180 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13181 	            ;;
   13182 	          *)
   13183 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13184 	            ;;
   13185 	        esac
   13186 	      fi
   13187 	    else
   13188 	      # FIXME: insert proper C++ library support
   13189 	      ld_shlibs_CXX=no
   13190 	    fi
   13191 	    ;;
   13192         esac
   13193         ;;
   13194 
   13195       interix[3-9]*)
   13196 	hardcode_direct_CXX=no
   13197 	hardcode_shlibpath_var_CXX=no
   13198 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13199 	export_dynamic_flag_spec_CXX='${wl}-E'
   13200 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13201 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13202 	# default) and relocated if they conflict, which is a slow very memory
   13203 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13204 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13205 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13206 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13207 	archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13208 	;;
   13209       irix5* | irix6*)
   13210         case $cc_basename in
   13211           CC*)
   13212 	    # SGI C++
   13213 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13214 
   13215 	    # Archives containing C++ object files must be created using
   13216 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13217 	    # necessary to make sure instantiated templates are included
   13218 	    # in the archive.
   13219 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13220 	    ;;
   13221           *)
   13222 	    if test "$GXX" = yes; then
   13223 	      if test "$with_gnu_ld" = no; then
   13224 	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   13225 	      else
   13226 	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
   13227 	      fi
   13228 	    fi
   13229 	    link_all_deplibs_CXX=yes
   13230 	    ;;
   13231         esac
   13232         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13233         hardcode_libdir_separator_CXX=:
   13234         inherit_rpath_CXX=yes
   13235         ;;
   13236 
   13237       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13238         case $cc_basename in
   13239           KCC*)
   13240 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13241 
   13242 	    # KCC will only create a shared library if the output file
   13243 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13244 	    # to its proper name (with version) after linking.
   13245 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   13246 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   13247 	    # Commands to make compiler produce verbose output that lists
   13248 	    # what "hidden" libraries, object files and flags are used when
   13249 	    # linking a shared library.
   13250 	    #
   13251 	    # There doesn't appear to be a way to prevent this compiler from
   13252 	    # explicitly linking system object files so we need to strip them
   13253 	    # from the output so that they don't get included in the library
   13254 	    # dependencies.
   13255 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13256 
   13257 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13258 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13259 
   13260 	    # Archives containing C++ object files must be created using
   13261 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13262 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13263 	    ;;
   13264 	  icpc* | ecpc* )
   13265 	    # Intel C++
   13266 	    with_gnu_ld=yes
   13267 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13268 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13269 	    # earlier do not add the objects themselves.
   13270 	    case `$CC -V 2>&1` in
   13271 	      *"Version 7."*)
   13272 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13273 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13274 		;;
   13275 	      *)  # Version 8.0 or newer
   13276 	        tmp_idyn=
   13277 	        case $host_cpu in
   13278 		  ia64*) tmp_idyn=' -i_dynamic';;
   13279 		esac
   13280 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13281 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13282 		;;
   13283 	    esac
   13284 	    archive_cmds_need_lc_CXX=no
   13285 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13286 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13287 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13288 	    ;;
   13289           pgCC* | pgcpp*)
   13290             # Portland Group C++ compiler
   13291 	    case `$CC -V` in
   13292 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13293 	      prelink_cmds_CXX='tpldir=Template.dir~
   13294 		rm -rf $tpldir~
   13295 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13296 		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
   13297 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13298 		rm -rf $tpldir~
   13299 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13300 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
   13301 		$RANLIB $oldlib'
   13302 	      archive_cmds_CXX='tpldir=Template.dir~
   13303 		rm -rf $tpldir~
   13304 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13305 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13306 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13307 		rm -rf $tpldir~
   13308 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13309 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13310 	      ;;
   13311 	    *) # Version 6 and above use weak symbols
   13312 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13313 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13314 	      ;;
   13315 	    esac
   13316 
   13317 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13318 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13319 	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   13320             ;;
   13321 	  cxx*)
   13322 	    # Compaq C++
   13323 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13324 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   13325 
   13326 	    runpath_var=LD_RUN_PATH
   13327 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13328 	    hardcode_libdir_separator_CXX=:
   13329 
   13330 	    # Commands to make compiler produce verbose output that lists
   13331 	    # what "hidden" libraries, object files and flags are used when
   13332 	    # linking a shared library.
   13333 	    #
   13334 	    # There doesn't appear to be a way to prevent this compiler from
   13335 	    # explicitly linking system object files so we need to strip them
   13336 	    # from the output so that they don't get included in the library
   13337 	    # dependencies.
   13338 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   13339 	    ;;
   13340 	  xl* | mpixl* | bgxl*)
   13341 	    # IBM XL 8.0 on PPC, with GNU ld
   13342 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13343 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13344 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13345 	    if test "x$supports_anon_versioning" = xyes; then
   13346 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13347 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13348 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13349 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13350 	    fi
   13351 	    ;;
   13352 	  *)
   13353 	    case `$CC -V 2>&1 | sed 5q` in
   13354 	    *Sun\ C*)
   13355 	      # Sun C++ 5.9
   13356 	      no_undefined_flag_CXX=' -zdefs'
   13357 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13358 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   13359 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13360 	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   13361 	      compiler_needs_object_CXX=yes
   13362 
   13363 	      # Not sure whether something based on
   13364 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13365 	      # would be better.
   13366 	      output_verbose_link_cmd='func_echo_all'
   13367 
   13368 	      # Archives containing C++ object files must be created using
   13369 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13370 	      # necessary to make sure instantiated templates are included
   13371 	      # in the archive.
   13372 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13373 	      ;;
   13374 	    esac
   13375 	    ;;
   13376 	esac
   13377 	;;
   13378 
   13379       lynxos*)
   13380         # FIXME: insert proper C++ library support
   13381 	ld_shlibs_CXX=no
   13382 	;;
   13383 
   13384       m88k*)
   13385         # FIXME: insert proper C++ library support
   13386         ld_shlibs_CXX=no
   13387 	;;
   13388 
   13389       mvs*)
   13390         case $cc_basename in
   13391           cxx*)
   13392 	    # FIXME: insert proper C++ library support
   13393 	    ld_shlibs_CXX=no
   13394 	    ;;
   13395 	  *)
   13396 	    # FIXME: insert proper C++ library support
   13397 	    ld_shlibs_CXX=no
   13398 	    ;;
   13399 	esac
   13400 	;;
   13401 
   13402       netbsd*)
   13403         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13404 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   13405 	  wlarc=
   13406 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   13407 	  hardcode_direct_CXX=yes
   13408 	  hardcode_shlibpath_var_CXX=no
   13409 	fi
   13410 	# Workaround some broken pre-1.5 toolchains
   13411 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   13412 	;;
   13413 
   13414       *nto* | *qnx*)
   13415         ld_shlibs_CXX=yes
   13416 	;;
   13417 
   13418       openbsd2*)
   13419         # C++ shared libraries are fairly broken
   13420 	ld_shlibs_CXX=no
   13421 	;;
   13422 
   13423       openbsd*)
   13424 	if test -f /usr/libexec/ld.so; then
   13425 	  hardcode_direct_CXX=yes
   13426 	  hardcode_shlibpath_var_CXX=no
   13427 	  hardcode_direct_absolute_CXX=yes
   13428 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13429 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13430 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13431 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   13432 	    export_dynamic_flag_spec_CXX='${wl}-E'
   13433 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13434 	  fi
   13435 	  output_verbose_link_cmd=func_echo_all
   13436 	else
   13437 	  ld_shlibs_CXX=no
   13438 	fi
   13439 	;;
   13440 
   13441       osf3* | osf4* | osf5*)
   13442         case $cc_basename in
   13443           KCC*)
   13444 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13445 
   13446 	    # KCC will only create a shared library if the output file
   13447 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13448 	    # to its proper name (with version) after linking.
   13449 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   13450 
   13451 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13452 	    hardcode_libdir_separator_CXX=:
   13453 
   13454 	    # Archives containing C++ object files must be created using
   13455 	    # the KAI C++ compiler.
   13456 	    case $host in
   13457 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   13458 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   13459 	    esac
   13460 	    ;;
   13461           RCC*)
   13462 	    # Rational C++ 2.4.1
   13463 	    # FIXME: insert proper C++ library support
   13464 	    ld_shlibs_CXX=no
   13465 	    ;;
   13466           cxx*)
   13467 	    case $host in
   13468 	      osf3*)
   13469 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13470 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13471 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13472 		;;
   13473 	      *)
   13474 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   13475 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13476 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   13477 	          echo "-hidden">> $lib.exp~
   13478 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
   13479 	          $RM $lib.exp'
   13480 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13481 		;;
   13482 	    esac
   13483 
   13484 	    hardcode_libdir_separator_CXX=:
   13485 
   13486 	    # Commands to make compiler produce verbose output that lists
   13487 	    # what "hidden" libraries, object files and flags are used when
   13488 	    # linking a shared library.
   13489 	    #
   13490 	    # There doesn't appear to be a way to prevent this compiler from
   13491 	    # explicitly linking system object files so we need to strip them
   13492 	    # from the output so that they don't get included in the library
   13493 	    # dependencies.
   13494 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13495 	    ;;
   13496 	  *)
   13497 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13498 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13499 	      case $host in
   13500 	        osf3*)
   13501 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   13502 		  ;;
   13503 	        *)
   13504 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   13505 		  ;;
   13506 	      esac
   13507 
   13508 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13509 	      hardcode_libdir_separator_CXX=:
   13510 
   13511 	      # Commands to make compiler produce verbose output that lists
   13512 	      # what "hidden" libraries, object files and flags are used when
   13513 	      # linking a shared library.
   13514 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13515 
   13516 	    else
   13517 	      # FIXME: insert proper C++ library support
   13518 	      ld_shlibs_CXX=no
   13519 	    fi
   13520 	    ;;
   13521         esac
   13522         ;;
   13523 
   13524       psos*)
   13525         # FIXME: insert proper C++ library support
   13526         ld_shlibs_CXX=no
   13527         ;;
   13528 
   13529       sunos4*)
   13530         case $cc_basename in
   13531           CC*)
   13532 	    # Sun C++ 4.x
   13533 	    # FIXME: insert proper C++ library support
   13534 	    ld_shlibs_CXX=no
   13535 	    ;;
   13536           lcc*)
   13537 	    # Lucid
   13538 	    # FIXME: insert proper C++ library support
   13539 	    ld_shlibs_CXX=no
   13540 	    ;;
   13541           *)
   13542 	    # FIXME: insert proper C++ library support
   13543 	    ld_shlibs_CXX=no
   13544 	    ;;
   13545         esac
   13546         ;;
   13547 
   13548       solaris*)
   13549         case $cc_basename in
   13550           CC*)
   13551 	    # Sun C++ 4.2, 5.x and Centerline C++
   13552             archive_cmds_need_lc_CXX=yes
   13553 	    no_undefined_flag_CXX=' -zdefs'
   13554 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13555 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13556 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13557 
   13558 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13559 	    hardcode_shlibpath_var_CXX=no
   13560 	    case $host_os in
   13561 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13562 	      *)
   13563 		# The compiler driver will combine and reorder linker options,
   13564 		# but understands `-z linker_flag'.
   13565 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13566 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13567 	        ;;
   13568 	    esac
   13569 	    link_all_deplibs_CXX=yes
   13570 
   13571 	    output_verbose_link_cmd='func_echo_all'
   13572 
   13573 	    # Archives containing C++ object files must be created using
   13574 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13575 	    # necessary to make sure instantiated templates are included
   13576 	    # in the archive.
   13577 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13578 	    ;;
   13579           gcx*)
   13580 	    # Green Hills C++ Compiler
   13581 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13582 
   13583 	    # The C++ compiler must be used to create the archive.
   13584 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13585 	    ;;
   13586           *)
   13587 	    # GNU C++ compiler with Solaris linker
   13588 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13589 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13590 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13591 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13592 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13593 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13594 
   13595 	        # Commands to make compiler produce verbose output that lists
   13596 	        # what "hidden" libraries, object files and flags are used when
   13597 	        # linking a shared library.
   13598 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13599 	      else
   13600 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13601 	        # platform.
   13602 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13603 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13604 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13605 
   13606 	        # Commands to make compiler produce verbose output that lists
   13607 	        # what "hidden" libraries, object files and flags are used when
   13608 	        # linking a shared library.
   13609 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13610 	      fi
   13611 
   13612 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13613 	      case $host_os in
   13614 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13615 		*)
   13616 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13617 		  ;;
   13618 	      esac
   13619 	    fi
   13620 	    ;;
   13621         esac
   13622         ;;
   13623 
   13624     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13625       no_undefined_flag_CXX='${wl}-z,text'
   13626       archive_cmds_need_lc_CXX=no
   13627       hardcode_shlibpath_var_CXX=no
   13628       runpath_var='LD_RUN_PATH'
   13629 
   13630       case $cc_basename in
   13631         CC*)
   13632 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13633 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13634 	  ;;
   13635 	*)
   13636 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13637 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13638 	  ;;
   13639       esac
   13640       ;;
   13641 
   13642       sysv5* | sco3.2v5* | sco5v6*)
   13643 	# Note: We can NOT use -z defs as we might desire, because we do not
   13644 	# link with -lc, and that would cause any symbols used from libc to
   13645 	# always be unresolved, which means just about no library would
   13646 	# ever link correctly.  If we're not using GNU ld we use -z text
   13647 	# though, which does catch some bad symbols but isn't as heavy-handed
   13648 	# as -z defs.
   13649 	no_undefined_flag_CXX='${wl}-z,text'
   13650 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13651 	archive_cmds_need_lc_CXX=no
   13652 	hardcode_shlibpath_var_CXX=no
   13653 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13654 	hardcode_libdir_separator_CXX=':'
   13655 	link_all_deplibs_CXX=yes
   13656 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13657 	runpath_var='LD_RUN_PATH'
   13658 
   13659 	case $cc_basename in
   13660           CC*)
   13661 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13662 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13663 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13664 	      '"$old_archive_cmds_CXX"
   13665 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13666 	      '"$reload_cmds_CXX"
   13667 	    ;;
   13668 	  *)
   13669 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13670 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13671 	    ;;
   13672 	esac
   13673       ;;
   13674 
   13675       tandem*)
   13676         case $cc_basename in
   13677           NCC*)
   13678 	    # NonStop-UX NCC 3.20
   13679 	    # FIXME: insert proper C++ library support
   13680 	    ld_shlibs_CXX=no
   13681 	    ;;
   13682           *)
   13683 	    # FIXME: insert proper C++ library support
   13684 	    ld_shlibs_CXX=no
   13685 	    ;;
   13686         esac
   13687         ;;
   13688 
   13689       vxworks*)
   13690         # FIXME: insert proper C++ library support
   13691         ld_shlibs_CXX=no
   13692         ;;
   13693 
   13694       *)
   13695         # FIXME: insert proper C++ library support
   13696         ld_shlibs_CXX=no
   13697         ;;
   13698     esac
   13699 
   13700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13701 $as_echo "$ld_shlibs_CXX" >&6; }
   13702     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13703 
   13704     GCC_CXX="$GXX"
   13705     LD_CXX="$LD"
   13706 
   13707     ## CAVEAT EMPTOR:
   13708     ## There is no encapsulation within the following macros, do not change
   13709     ## the running order or otherwise move them around unless you know exactly
   13710     ## what you are doing...
   13711     # Dependencies to place before and after the object being linked:
   13712 predep_objects_CXX=
   13713 postdep_objects_CXX=
   13714 predeps_CXX=
   13715 postdeps_CXX=
   13716 compiler_lib_search_path_CXX=
   13717 
   13718 cat > conftest.$ac_ext <<_LT_EOF
   13719 class Foo
   13720 {
   13721 public:
   13722   Foo (void) { a = 0; }
   13723 private:
   13724   int a;
   13725 };
   13726 _LT_EOF
   13727 
   13728 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13729   (eval $ac_compile) 2>&5
   13730   ac_status=$?
   13731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13732   test $ac_status = 0; }; then
   13733   # Parse the compiler output and extract the necessary
   13734   # objects, libraries and library flags.
   13735 
   13736   # Sentinel used to keep track of whether or not we are before
   13737   # the conftest object file.
   13738   pre_test_object_deps_done=no
   13739 
   13740   for p in `eval "$output_verbose_link_cmd"`; do
   13741     case $p in
   13742 
   13743     -L* | -R* | -l*)
   13744        # Some compilers place space between "-{L,R}" and the path.
   13745        # Remove the space.
   13746        if test $p = "-L" ||
   13747           test $p = "-R"; then
   13748 	 prev=$p
   13749 	 continue
   13750        else
   13751 	 prev=
   13752        fi
   13753 
   13754        if test "$pre_test_object_deps_done" = no; then
   13755 	 case $p in
   13756 	 -L* | -R*)
   13757 	   # Internal compiler library paths should come after those
   13758 	   # provided the user.  The postdeps already come after the
   13759 	   # user supplied libs so there is no need to process them.
   13760 	   if test -z "$compiler_lib_search_path_CXX"; then
   13761 	     compiler_lib_search_path_CXX="${prev}${p}"
   13762 	   else
   13763 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13764 	   fi
   13765 	   ;;
   13766 	 # The "-l" case would never come before the object being
   13767 	 # linked, so don't bother handling this case.
   13768 	 esac
   13769        else
   13770 	 if test -z "$postdeps_CXX"; then
   13771 	   postdeps_CXX="${prev}${p}"
   13772 	 else
   13773 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   13774 	 fi
   13775        fi
   13776        ;;
   13777 
   13778     *.$objext)
   13779        # This assumes that the test object file only shows up
   13780        # once in the compiler output.
   13781        if test "$p" = "conftest.$objext"; then
   13782 	 pre_test_object_deps_done=yes
   13783 	 continue
   13784        fi
   13785 
   13786        if test "$pre_test_object_deps_done" = no; then
   13787 	 if test -z "$predep_objects_CXX"; then
   13788 	   predep_objects_CXX="$p"
   13789 	 else
   13790 	   predep_objects_CXX="$predep_objects_CXX $p"
   13791 	 fi
   13792        else
   13793 	 if test -z "$postdep_objects_CXX"; then
   13794 	   postdep_objects_CXX="$p"
   13795 	 else
   13796 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   13797 	 fi
   13798        fi
   13799        ;;
   13800 
   13801     *) ;; # Ignore the rest.
   13802 
   13803     esac
   13804   done
   13805 
   13806   # Clean up.
   13807   rm -f a.out a.exe
   13808 else
   13809   echo "libtool.m4: error: problem compiling CXX test program"
   13810 fi
   13811 
   13812 $RM -f confest.$objext
   13813 
   13814 # PORTME: override above test on systems where it is broken
   13815 case $host_os in
   13816 interix[3-9]*)
   13817   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   13818   # hack all around it, let's just trust "g++" to DTRT.
   13819   predep_objects_CXX=
   13820   postdep_objects_CXX=
   13821   postdeps_CXX=
   13822   ;;
   13823 
   13824 linux*)
   13825   case `$CC -V 2>&1 | sed 5q` in
   13826   *Sun\ C*)
   13827     # Sun C++ 5.9
   13828 
   13829     # The more standards-conforming stlport4 library is
   13830     # incompatible with the Cstd library. Avoid specifying
   13831     # it if it's in CXXFLAGS. Ignore libCrun as
   13832     # -library=stlport4 depends on it.
   13833     case " $CXX $CXXFLAGS " in
   13834     *" -library=stlport4 "*)
   13835       solaris_use_stlport4=yes
   13836       ;;
   13837     esac
   13838 
   13839     if test "$solaris_use_stlport4" != yes; then
   13840       postdeps_CXX='-library=Cstd -library=Crun'
   13841     fi
   13842     ;;
   13843   esac
   13844   ;;
   13845 
   13846 solaris*)
   13847   case $cc_basename in
   13848   CC*)
   13849     # The more standards-conforming stlport4 library is
   13850     # incompatible with the Cstd library. Avoid specifying
   13851     # it if it's in CXXFLAGS. Ignore libCrun as
   13852     # -library=stlport4 depends on it.
   13853     case " $CXX $CXXFLAGS " in
   13854     *" -library=stlport4 "*)
   13855       solaris_use_stlport4=yes
   13856       ;;
   13857     esac
   13858 
   13859     # Adding this requires a known-good setup of shared libraries for
   13860     # Sun compiler versions before 5.6, else PIC objects from an old
   13861     # archive will be linked into the output, leading to subtle bugs.
   13862     if test "$solaris_use_stlport4" != yes; then
   13863       postdeps_CXX='-library=Cstd -library=Crun'
   13864     fi
   13865     ;;
   13866   esac
   13867   ;;
   13868 esac
   13869 
   13870 
   13871 case " $postdeps_CXX " in
   13872 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   13873 esac
   13874  compiler_lib_search_dirs_CXX=
   13875 if test -n "${compiler_lib_search_path_CXX}"; then
   13876  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   13877 fi
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 
   13888 
   13889 
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 
   13904 
   13905 
   13906 
   13907 
   13908 
   13909     lt_prog_compiler_wl_CXX=
   13910 lt_prog_compiler_pic_CXX=
   13911 lt_prog_compiler_static_CXX=
   13912 
   13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13914 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13915 
   13916   # C++ specific cases for pic, static, wl, etc.
   13917   if test "$GXX" = yes; then
   13918     lt_prog_compiler_wl_CXX='-Wl,'
   13919     lt_prog_compiler_static_CXX='-static'
   13920 
   13921     case $host_os in
   13922     aix*)
   13923       # All AIX code is PIC.
   13924       if test "$host_cpu" = ia64; then
   13925 	# AIX 5 now supports IA64 processor
   13926 	lt_prog_compiler_static_CXX='-Bstatic'
   13927       fi
   13928       lt_prog_compiler_pic_CXX='-fPIC'
   13929       ;;
   13930 
   13931     amigaos*)
   13932       case $host_cpu in
   13933       powerpc)
   13934             # see comment about AmigaOS4 .so support
   13935             lt_prog_compiler_pic_CXX='-fPIC'
   13936         ;;
   13937       m68k)
   13938             # FIXME: we need at least 68020 code to build shared libraries, but
   13939             # adding the `-m68020' flag to GCC prevents building anything better,
   13940             # like `-m68040'.
   13941             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   13942         ;;
   13943       esac
   13944       ;;
   13945 
   13946     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13947       # PIC is the default for these OSes.
   13948       ;;
   13949     mingw* | cygwin* | os2* | pw32* | cegcc*)
   13950       # This hack is so that the source file can tell whether it is being
   13951       # built for inclusion in a dll (and should export symbols for example).
   13952       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13953       # (--disable-auto-import) libraries
   13954       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   13955       ;;
   13956     darwin* | rhapsody*)
   13957       # PIC is the default on this platform
   13958       # Common symbols not allowed in MH_DYLIB files
   13959       lt_prog_compiler_pic_CXX='-fno-common'
   13960       ;;
   13961     *djgpp*)
   13962       # DJGPP does not support shared libraries at all
   13963       lt_prog_compiler_pic_CXX=
   13964       ;;
   13965     haiku*)
   13966       # PIC is the default for Haiku.
   13967       # The "-static" flag exists, but is broken.
   13968       lt_prog_compiler_static_CXX=
   13969       ;;
   13970     interix[3-9]*)
   13971       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13972       # Instead, we relocate shared libraries at runtime.
   13973       ;;
   13974     sysv4*MP*)
   13975       if test -d /usr/nec; then
   13976 	lt_prog_compiler_pic_CXX=-Kconform_pic
   13977       fi
   13978       ;;
   13979     hpux*)
   13980       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13981       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13982       # sets the default TLS model and affects inlining.
   13983       case $host_cpu in
   13984       hppa*64*)
   13985 	;;
   13986       *)
   13987 	lt_prog_compiler_pic_CXX='-fPIC'
   13988 	;;
   13989       esac
   13990       ;;
   13991     *qnx* | *nto*)
   13992       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13993       # it will coredump.
   13994       lt_prog_compiler_pic_CXX='-fPIC -shared'
   13995       ;;
   13996     *)
   13997       lt_prog_compiler_pic_CXX='-fPIC'
   13998       ;;
   13999     esac
   14000   else
   14001     case $host_os in
   14002       aix[4-9]*)
   14003 	# All AIX code is PIC.
   14004 	if test "$host_cpu" = ia64; then
   14005 	  # AIX 5 now supports IA64 processor
   14006 	  lt_prog_compiler_static_CXX='-Bstatic'
   14007 	else
   14008 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14009 	fi
   14010 	;;
   14011       chorus*)
   14012 	case $cc_basename in
   14013 	cxch68*)
   14014 	  # Green Hills C++ Compiler
   14015 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   14016 	  ;;
   14017 	esac
   14018 	;;
   14019       dgux*)
   14020 	case $cc_basename in
   14021 	  ec++*)
   14022 	    lt_prog_compiler_pic_CXX='-KPIC'
   14023 	    ;;
   14024 	  ghcx*)
   14025 	    # Green Hills C++ Compiler
   14026 	    lt_prog_compiler_pic_CXX='-pic'
   14027 	    ;;
   14028 	  *)
   14029 	    ;;
   14030 	esac
   14031 	;;
   14032       freebsd* | dragonfly*)
   14033 	# FreeBSD uses GNU C++
   14034 	;;
   14035       hpux9* | hpux10* | hpux11*)
   14036 	case $cc_basename in
   14037 	  CC*)
   14038 	    lt_prog_compiler_wl_CXX='-Wl,'
   14039 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14040 	    if test "$host_cpu" != ia64; then
   14041 	      lt_prog_compiler_pic_CXX='+Z'
   14042 	    fi
   14043 	    ;;
   14044 	  aCC*)
   14045 	    lt_prog_compiler_wl_CXX='-Wl,'
   14046 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14047 	    case $host_cpu in
   14048 	    hppa*64*|ia64*)
   14049 	      # +Z the default
   14050 	      ;;
   14051 	    *)
   14052 	      lt_prog_compiler_pic_CXX='+Z'
   14053 	      ;;
   14054 	    esac
   14055 	    ;;
   14056 	  *)
   14057 	    ;;
   14058 	esac
   14059 	;;
   14060       interix*)
   14061 	# This is c89, which is MS Visual C++ (no shared libs)
   14062 	# Anyone wants to do a port?
   14063 	;;
   14064       irix5* | irix6* | nonstopux*)
   14065 	case $cc_basename in
   14066 	  CC*)
   14067 	    lt_prog_compiler_wl_CXX='-Wl,'
   14068 	    lt_prog_compiler_static_CXX='-non_shared'
   14069 	    # CC pic flag -KPIC is the default.
   14070 	    ;;
   14071 	  *)
   14072 	    ;;
   14073 	esac
   14074 	;;
   14075       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14076 	case $cc_basename in
   14077 	  KCC*)
   14078 	    # KAI C++ Compiler
   14079 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14080 	    lt_prog_compiler_pic_CXX='-fPIC'
   14081 	    ;;
   14082 	  ecpc* )
   14083 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14084 	    lt_prog_compiler_wl_CXX='-Wl,'
   14085 	    lt_prog_compiler_pic_CXX='-KPIC'
   14086 	    lt_prog_compiler_static_CXX='-static'
   14087 	    ;;
   14088 	  icpc* )
   14089 	    # Intel C++, used to be incompatible with GCC.
   14090 	    # ICC 10 doesn't accept -KPIC any more.
   14091 	    lt_prog_compiler_wl_CXX='-Wl,'
   14092 	    lt_prog_compiler_pic_CXX='-fPIC'
   14093 	    lt_prog_compiler_static_CXX='-static'
   14094 	    ;;
   14095 	  pgCC* | pgcpp*)
   14096 	    # Portland Group C++ compiler
   14097 	    lt_prog_compiler_wl_CXX='-Wl,'
   14098 	    lt_prog_compiler_pic_CXX='-fpic'
   14099 	    lt_prog_compiler_static_CXX='-Bstatic'
   14100 	    ;;
   14101 	  cxx*)
   14102 	    # Compaq C++
   14103 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14104 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14105 	    lt_prog_compiler_pic_CXX=
   14106 	    lt_prog_compiler_static_CXX='-non_shared'
   14107 	    ;;
   14108 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14109 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14110 	    lt_prog_compiler_wl_CXX='-Wl,'
   14111 	    lt_prog_compiler_pic_CXX='-qpic'
   14112 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14113 	    ;;
   14114 	  *)
   14115 	    case `$CC -V 2>&1 | sed 5q` in
   14116 	    *Sun\ C*)
   14117 	      # Sun C++ 5.9
   14118 	      lt_prog_compiler_pic_CXX='-KPIC'
   14119 	      lt_prog_compiler_static_CXX='-Bstatic'
   14120 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14121 	      ;;
   14122 	    esac
   14123 	    ;;
   14124 	esac
   14125 	;;
   14126       lynxos*)
   14127 	;;
   14128       m88k*)
   14129 	;;
   14130       mvs*)
   14131 	case $cc_basename in
   14132 	  cxx*)
   14133 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14134 	    ;;
   14135 	  *)
   14136 	    ;;
   14137 	esac
   14138 	;;
   14139       netbsd*)
   14140 	;;
   14141       *qnx* | *nto*)
   14142         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14143         # it will coredump.
   14144         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14145         ;;
   14146       osf3* | osf4* | osf5*)
   14147 	case $cc_basename in
   14148 	  KCC*)
   14149 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14150 	    ;;
   14151 	  RCC*)
   14152 	    # Rational C++ 2.4.1
   14153 	    lt_prog_compiler_pic_CXX='-pic'
   14154 	    ;;
   14155 	  cxx*)
   14156 	    # Digital/Compaq C++
   14157 	    lt_prog_compiler_wl_CXX='-Wl,'
   14158 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14159 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14160 	    lt_prog_compiler_pic_CXX=
   14161 	    lt_prog_compiler_static_CXX='-non_shared'
   14162 	    ;;
   14163 	  *)
   14164 	    ;;
   14165 	esac
   14166 	;;
   14167       psos*)
   14168 	;;
   14169       solaris*)
   14170 	case $cc_basename in
   14171 	  CC*)
   14172 	    # Sun C++ 4.2, 5.x and Centerline C++
   14173 	    lt_prog_compiler_pic_CXX='-KPIC'
   14174 	    lt_prog_compiler_static_CXX='-Bstatic'
   14175 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14176 	    ;;
   14177 	  gcx*)
   14178 	    # Green Hills C++ Compiler
   14179 	    lt_prog_compiler_pic_CXX='-PIC'
   14180 	    ;;
   14181 	  *)
   14182 	    ;;
   14183 	esac
   14184 	;;
   14185       sunos4*)
   14186 	case $cc_basename in
   14187 	  CC*)
   14188 	    # Sun C++ 4.x
   14189 	    lt_prog_compiler_pic_CXX='-pic'
   14190 	    lt_prog_compiler_static_CXX='-Bstatic'
   14191 	    ;;
   14192 	  lcc*)
   14193 	    # Lucid
   14194 	    lt_prog_compiler_pic_CXX='-pic'
   14195 	    ;;
   14196 	  *)
   14197 	    ;;
   14198 	esac
   14199 	;;
   14200       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14201 	case $cc_basename in
   14202 	  CC*)
   14203 	    lt_prog_compiler_wl_CXX='-Wl,'
   14204 	    lt_prog_compiler_pic_CXX='-KPIC'
   14205 	    lt_prog_compiler_static_CXX='-Bstatic'
   14206 	    ;;
   14207 	esac
   14208 	;;
   14209       tandem*)
   14210 	case $cc_basename in
   14211 	  NCC*)
   14212 	    # NonStop-UX NCC 3.20
   14213 	    lt_prog_compiler_pic_CXX='-KPIC'
   14214 	    ;;
   14215 	  *)
   14216 	    ;;
   14217 	esac
   14218 	;;
   14219       vxworks*)
   14220 	;;
   14221       *)
   14222 	lt_prog_compiler_can_build_shared_CXX=no
   14223 	;;
   14224     esac
   14225   fi
   14226 
   14227 case $host_os in
   14228   # For platforms which do not support PIC, -DPIC is meaningless:
   14229   *djgpp*)
   14230     lt_prog_compiler_pic_CXX=
   14231     ;;
   14232   *)
   14233     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14234     ;;
   14235 esac
   14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   14237 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   14238 
   14239 
   14240 
   14241 #
   14242 # Check to make sure the PIC flag actually works.
   14243 #
   14244 if test -n "$lt_prog_compiler_pic_CXX"; then
   14245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14246 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14247 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
   14248   $as_echo_n "(cached) " >&6
   14249 else
   14250   lt_cv_prog_compiler_pic_works_CXX=no
   14251    ac_outfile=conftest.$ac_objext
   14252    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14253    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14254    # Insert the option either (1) after the last *FLAGS variable, or
   14255    # (2) before a word containing "conftest.", or (3) at the end.
   14256    # Note that $ac_compile itself does not contain backslashes and begins
   14257    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14258    # The option is referenced via a variable to avoid confusing sed.
   14259    lt_compile=`echo "$ac_compile" | $SED \
   14260    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14261    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14262    -e 's:$: $lt_compiler_flag:'`
   14263    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14264    (eval "$lt_compile" 2>conftest.err)
   14265    ac_status=$?
   14266    cat conftest.err >&5
   14267    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14268    if (exit $ac_status) && test -s "$ac_outfile"; then
   14269      # The compiler can only warn and ignore the option if not recognized
   14270      # So say no if there are warnings other than the usual output.
   14271      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14272      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14273      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14274        lt_cv_prog_compiler_pic_works_CXX=yes
   14275      fi
   14276    fi
   14277    $RM conftest*
   14278 
   14279 fi
   14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14281 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14282 
   14283 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14284     case $lt_prog_compiler_pic_CXX in
   14285      "" | " "*) ;;
   14286      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14287      esac
   14288 else
   14289     lt_prog_compiler_pic_CXX=
   14290      lt_prog_compiler_can_build_shared_CXX=no
   14291 fi
   14292 
   14293 fi
   14294 
   14295 
   14296 
   14297 #
   14298 # Check to make sure the static flag actually works.
   14299 #
   14300 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14302 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14303 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
   14304   $as_echo_n "(cached) " >&6
   14305 else
   14306   lt_cv_prog_compiler_static_works_CXX=no
   14307    save_LDFLAGS="$LDFLAGS"
   14308    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14309    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14310    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14311      # The linker can only warn and ignore the option if not recognized
   14312      # So say no if there are warnings
   14313      if test -s conftest.err; then
   14314        # Append any errors to the config.log.
   14315        cat conftest.err 1>&5
   14316        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14317        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14318        if diff conftest.exp conftest.er2 >/dev/null; then
   14319          lt_cv_prog_compiler_static_works_CXX=yes
   14320        fi
   14321      else
   14322        lt_cv_prog_compiler_static_works_CXX=yes
   14323      fi
   14324    fi
   14325    $RM -r conftest*
   14326    LDFLAGS="$save_LDFLAGS"
   14327 
   14328 fi
   14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14330 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14331 
   14332 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14333     :
   14334 else
   14335     lt_prog_compiler_static_CXX=
   14336 fi
   14337 
   14338 
   14339 
   14340 
   14341     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14342 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14343 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
   14344   $as_echo_n "(cached) " >&6
   14345 else
   14346   lt_cv_prog_compiler_c_o_CXX=no
   14347    $RM -r conftest 2>/dev/null
   14348    mkdir conftest
   14349    cd conftest
   14350    mkdir out
   14351    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14352 
   14353    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14354    # Insert the option either (1) after the last *FLAGS variable, or
   14355    # (2) before a word containing "conftest.", or (3) at the end.
   14356    # Note that $ac_compile itself does not contain backslashes and begins
   14357    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14358    lt_compile=`echo "$ac_compile" | $SED \
   14359    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14360    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14361    -e 's:$: $lt_compiler_flag:'`
   14362    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14363    (eval "$lt_compile" 2>out/conftest.err)
   14364    ac_status=$?
   14365    cat out/conftest.err >&5
   14366    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14367    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14368    then
   14369      # The compiler can only warn and ignore the option if not recognized
   14370      # So say no if there are warnings
   14371      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14372      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14373      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14374        lt_cv_prog_compiler_c_o_CXX=yes
   14375      fi
   14376    fi
   14377    chmod u+w . 2>&5
   14378    $RM conftest*
   14379    # SGI C++ compiler will create directory out/ii_files/ for
   14380    # template instantiation
   14381    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14382    $RM out/* && rmdir out
   14383    cd ..
   14384    $RM -r conftest
   14385    $RM conftest*
   14386 
   14387 fi
   14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14389 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14390 
   14391 
   14392 
   14393     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14394 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14395 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
   14396   $as_echo_n "(cached) " >&6
   14397 else
   14398   lt_cv_prog_compiler_c_o_CXX=no
   14399    $RM -r conftest 2>/dev/null
   14400    mkdir conftest
   14401    cd conftest
   14402    mkdir out
   14403    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14404 
   14405    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14406    # Insert the option either (1) after the last *FLAGS variable, or
   14407    # (2) before a word containing "conftest.", or (3) at the end.
   14408    # Note that $ac_compile itself does not contain backslashes and begins
   14409    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14410    lt_compile=`echo "$ac_compile" | $SED \
   14411    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14412    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14413    -e 's:$: $lt_compiler_flag:'`
   14414    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14415    (eval "$lt_compile" 2>out/conftest.err)
   14416    ac_status=$?
   14417    cat out/conftest.err >&5
   14418    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14419    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14420    then
   14421      # The compiler can only warn and ignore the option if not recognized
   14422      # So say no if there are warnings
   14423      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14424      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14425      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14426        lt_cv_prog_compiler_c_o_CXX=yes
   14427      fi
   14428    fi
   14429    chmod u+w . 2>&5
   14430    $RM conftest*
   14431    # SGI C++ compiler will create directory out/ii_files/ for
   14432    # template instantiation
   14433    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14434    $RM out/* && rmdir out
   14435    cd ..
   14436    $RM -r conftest
   14437    $RM conftest*
   14438 
   14439 fi
   14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14441 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14442 
   14443 
   14444 
   14445 
   14446 hard_links="nottested"
   14447 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   14448   # do not overwrite the value of need_locks provided by the user
   14449   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14450 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14451   hard_links=yes
   14452   $RM conftest*
   14453   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14454   touch conftest.a
   14455   ln conftest.a conftest.b 2>&5 || hard_links=no
   14456   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14458 $as_echo "$hard_links" >&6; }
   14459   if test "$hard_links" = no; then
   14460     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14461 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14462     need_locks=warn
   14463   fi
   14464 else
   14465   need_locks=no
   14466 fi
   14467 
   14468 
   14469 
   14470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14471 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14472 
   14473   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14474   case $host_os in
   14475   aix[4-9]*)
   14476     # If we're using GNU nm, then we don't want the "-C" option.
   14477     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   14478     # Also, AIX nm treats weak defined symbols like other global defined
   14479     # symbols, whereas GNU nm marks them as "W".
   14480     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14481       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14482     else
   14483       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14484     fi
   14485     ;;
   14486   pw32*)
   14487     export_symbols_cmds_CXX="$ltdll_cmds"
   14488   ;;
   14489   cygwin* | mingw* | cegcc*)
   14490     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   14491   ;;
   14492   *)
   14493     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14494   ;;
   14495   esac
   14496   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14497 
   14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14499 $as_echo "$ld_shlibs_CXX" >&6; }
   14500 test "$ld_shlibs_CXX" = no && can_build_shared=no
   14501 
   14502 with_gnu_ld_CXX=$with_gnu_ld
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 #
   14510 # Do we need to explicitly link libc?
   14511 #
   14512 case "x$archive_cmds_need_lc_CXX" in
   14513 x|xyes)
   14514   # Assume -lc should be added
   14515   archive_cmds_need_lc_CXX=yes
   14516 
   14517   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14518     case $archive_cmds_CXX in
   14519     *'~'*)
   14520       # FIXME: we may have to deal with multi-command sequences.
   14521       ;;
   14522     '$CC '*)
   14523       # Test whether the compiler implicitly links with -lc since on some
   14524       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14525       # to ld, don't add -lc before -lgcc.
   14526       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14527 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14528 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
   14529   $as_echo_n "(cached) " >&6
   14530 else
   14531   $RM conftest*
   14532 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14533 
   14534 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14535   (eval $ac_compile) 2>&5
   14536   ac_status=$?
   14537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14538   test $ac_status = 0; } 2>conftest.err; then
   14539 	  soname=conftest
   14540 	  lib=conftest
   14541 	  libobjs=conftest.$ac_objext
   14542 	  deplibs=
   14543 	  wl=$lt_prog_compiler_wl_CXX
   14544 	  pic_flag=$lt_prog_compiler_pic_CXX
   14545 	  compiler_flags=-v
   14546 	  linker_flags=-v
   14547 	  verstring=
   14548 	  output_objdir=.
   14549 	  libname=conftest
   14550 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14551 	  allow_undefined_flag_CXX=
   14552 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14553   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14554   ac_status=$?
   14555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14556   test $ac_status = 0; }
   14557 	  then
   14558 	    lt_cv_archive_cmds_need_lc_CXX=no
   14559 	  else
   14560 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14561 	  fi
   14562 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14563 	else
   14564 	  cat conftest.err 1>&5
   14565 	fi
   14566 	$RM conftest*
   14567 
   14568 fi
   14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14570 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14571       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14572       ;;
   14573     esac
   14574   fi
   14575   ;;
   14576 esac
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 
   14630 
   14631 
   14632 
   14633 
   14634 
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14642 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14643 
   14644 library_names_spec=
   14645 libname_spec='lib$name'
   14646 soname_spec=
   14647 shrext_cmds=".so"
   14648 postinstall_cmds=
   14649 postuninstall_cmds=
   14650 finish_cmds=
   14651 finish_eval=
   14652 shlibpath_var=
   14653 shlibpath_overrides_runpath=unknown
   14654 version_type=none
   14655 dynamic_linker="$host_os ld.so"
   14656 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14657 need_lib_prefix=unknown
   14658 hardcode_into_libs=no
   14659 
   14660 # when you set need_version to no, make sure it does not cause -set_version
   14661 # flags to be left without arguments
   14662 need_version=unknown
   14663 
   14664 case $host_os in
   14665 aix3*)
   14666   version_type=linux
   14667   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14668   shlibpath_var=LIBPATH
   14669 
   14670   # AIX 3 has no versioning support, so we append a major version to the name.
   14671   soname_spec='${libname}${release}${shared_ext}$major'
   14672   ;;
   14673 
   14674 aix[4-9]*)
   14675   version_type=linux
   14676   need_lib_prefix=no
   14677   need_version=no
   14678   hardcode_into_libs=yes
   14679   if test "$host_cpu" = ia64; then
   14680     # AIX 5 supports IA64
   14681     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14682     shlibpath_var=LD_LIBRARY_PATH
   14683   else
   14684     # With GCC up to 2.95.x, collect2 would create an import file
   14685     # for dependence libraries.  The import file would start with
   14686     # the line `#! .'.  This would cause the generated library to
   14687     # depend on `.', always an invalid library.  This was fixed in
   14688     # development snapshots of GCC prior to 3.0.
   14689     case $host_os in
   14690       aix4 | aix4.[01] | aix4.[01].*)
   14691       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14692 	   echo ' yes '
   14693 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14694 	:
   14695       else
   14696 	can_build_shared=no
   14697       fi
   14698       ;;
   14699     esac
   14700     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14701     # soname into executable. Probably we can add versioning support to
   14702     # collect2, so additional links can be useful in future.
   14703     if test "$aix_use_runtimelinking" = yes; then
   14704       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14705       # instead of lib<name>.a to let people know that these are not
   14706       # typical AIX shared libraries.
   14707       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14708     else
   14709       # We preserve .a as extension for shared libraries through AIX4.2
   14710       # and later when we are not doing run time linking.
   14711       library_names_spec='${libname}${release}.a $libname.a'
   14712       soname_spec='${libname}${release}${shared_ext}$major'
   14713     fi
   14714     shlibpath_var=LIBPATH
   14715   fi
   14716   ;;
   14717 
   14718 amigaos*)
   14719   case $host_cpu in
   14720   powerpc)
   14721     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14722     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14723     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14724     ;;
   14725   m68k)
   14726     library_names_spec='$libname.ixlibrary $libname.a'
   14727     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14728     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'
   14729     ;;
   14730   esac
   14731   ;;
   14732 
   14733 beos*)
   14734   library_names_spec='${libname}${shared_ext}'
   14735   dynamic_linker="$host_os ld.so"
   14736   shlibpath_var=LIBRARY_PATH
   14737   ;;
   14738 
   14739 bsdi[45]*)
   14740   version_type=linux
   14741   need_version=no
   14742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14743   soname_spec='${libname}${release}${shared_ext}$major'
   14744   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14745   shlibpath_var=LD_LIBRARY_PATH
   14746   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14747   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14748   # the default ld.so.conf also contains /usr/contrib/lib and
   14749   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14750   # libtool to hard-code these into programs
   14751   ;;
   14752 
   14753 cygwin* | mingw* | pw32* | cegcc*)
   14754   version_type=windows
   14755   shrext_cmds=".dll"
   14756   need_version=no
   14757   need_lib_prefix=no
   14758 
   14759   case $GCC,$host_os in
   14760   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14761     library_names_spec='$libname.dll.a'
   14762     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14763     postinstall_cmds='base_file=`basename \${file}`~
   14764       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14765       dldir=$destdir/`dirname \$dlpath`~
   14766       test -d \$dldir || mkdir -p \$dldir~
   14767       $install_prog $dir/$dlname \$dldir/$dlname~
   14768       chmod a+x \$dldir/$dlname~
   14769       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14770         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14771       fi'
   14772     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14773       dlpath=$dir/\$dldll~
   14774        $RM \$dlpath'
   14775     shlibpath_overrides_runpath=yes
   14776 
   14777     case $host_os in
   14778     cygwin*)
   14779       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14780       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14781 
   14782       ;;
   14783     mingw* | cegcc*)
   14784       # MinGW DLLs use traditional 'lib' prefix
   14785       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14786       ;;
   14787     pw32*)
   14788       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14789       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14790       ;;
   14791     esac
   14792     ;;
   14793 
   14794   *)
   14795     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14796     ;;
   14797   esac
   14798   dynamic_linker='Win32 ld.exe'
   14799   # FIXME: first we should search . and the directory the executable is in
   14800   shlibpath_var=PATH
   14801   ;;
   14802 
   14803 darwin* | rhapsody*)
   14804   dynamic_linker="$host_os dyld"
   14805   version_type=darwin
   14806   need_lib_prefix=no
   14807   need_version=no
   14808   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14809   soname_spec='${libname}${release}${major}$shared_ext'
   14810   shlibpath_overrides_runpath=yes
   14811   shlibpath_var=DYLD_LIBRARY_PATH
   14812   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14813 
   14814   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14815   ;;
   14816 
   14817 dgux*)
   14818   version_type=linux
   14819   need_lib_prefix=no
   14820   need_version=no
   14821   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14822   soname_spec='${libname}${release}${shared_ext}$major'
   14823   shlibpath_var=LD_LIBRARY_PATH
   14824   ;;
   14825 
   14826 freebsd* | dragonfly*)
   14827   # DragonFly does not have aout.  When/if they implement a new
   14828   # versioning mechanism, adjust this.
   14829   if test -x /usr/bin/objformat; then
   14830     objformat=`/usr/bin/objformat`
   14831   else
   14832     case $host_os in
   14833     freebsd[23].*) objformat=aout ;;
   14834     *) objformat=elf ;;
   14835     esac
   14836   fi
   14837   version_type=freebsd-$objformat
   14838   case $version_type in
   14839     freebsd-elf*)
   14840       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14841       need_version=no
   14842       need_lib_prefix=no
   14843       ;;
   14844     freebsd-*)
   14845       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14846       need_version=yes
   14847       ;;
   14848   esac
   14849   shlibpath_var=LD_LIBRARY_PATH
   14850   case $host_os in
   14851   freebsd2.*)
   14852     shlibpath_overrides_runpath=yes
   14853     ;;
   14854   freebsd3.[01]* | freebsdelf3.[01]*)
   14855     shlibpath_overrides_runpath=yes
   14856     hardcode_into_libs=yes
   14857     ;;
   14858   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14859   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14860     shlibpath_overrides_runpath=no
   14861     hardcode_into_libs=yes
   14862     ;;
   14863   *) # from 4.6 on, and DragonFly
   14864     shlibpath_overrides_runpath=yes
   14865     hardcode_into_libs=yes
   14866     ;;
   14867   esac
   14868   ;;
   14869 
   14870 gnu*)
   14871   version_type=linux
   14872   need_lib_prefix=no
   14873   need_version=no
   14874   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14875   soname_spec='${libname}${release}${shared_ext}$major'
   14876   shlibpath_var=LD_LIBRARY_PATH
   14877   hardcode_into_libs=yes
   14878   ;;
   14879 
   14880 haiku*)
   14881   version_type=linux
   14882   need_lib_prefix=no
   14883   need_version=no
   14884   dynamic_linker="$host_os runtime_loader"
   14885   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14886   soname_spec='${libname}${release}${shared_ext}$major'
   14887   shlibpath_var=LIBRARY_PATH
   14888   shlibpath_overrides_runpath=yes
   14889   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   14890   hardcode_into_libs=yes
   14891   ;;
   14892 
   14893 hpux9* | hpux10* | hpux11*)
   14894   # Give a soname corresponding to the major version so that dld.sl refuses to
   14895   # link against other versions.
   14896   version_type=sunos
   14897   need_lib_prefix=no
   14898   need_version=no
   14899   case $host_cpu in
   14900   ia64*)
   14901     shrext_cmds='.so'
   14902     hardcode_into_libs=yes
   14903     dynamic_linker="$host_os dld.so"
   14904     shlibpath_var=LD_LIBRARY_PATH
   14905     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14906     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14907     soname_spec='${libname}${release}${shared_ext}$major'
   14908     if test "X$HPUX_IA64_MODE" = X32; then
   14909       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14910     else
   14911       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14912     fi
   14913     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14914     ;;
   14915   hppa*64*)
   14916     shrext_cmds='.sl'
   14917     hardcode_into_libs=yes
   14918     dynamic_linker="$host_os dld.sl"
   14919     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14920     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14921     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14922     soname_spec='${libname}${release}${shared_ext}$major'
   14923     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14924     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14925     ;;
   14926   *)
   14927     shrext_cmds='.sl'
   14928     dynamic_linker="$host_os dld.sl"
   14929     shlibpath_var=SHLIB_PATH
   14930     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14931     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14932     soname_spec='${libname}${release}${shared_ext}$major'
   14933     ;;
   14934   esac
   14935   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   14936   postinstall_cmds='chmod 555 $lib'
   14937   # or fails outright, so override atomically:
   14938   install_override_mode=555
   14939   ;;
   14940 
   14941 interix[3-9]*)
   14942   version_type=linux
   14943   need_lib_prefix=no
   14944   need_version=no
   14945   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14946   soname_spec='${libname}${release}${shared_ext}$major'
   14947   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14948   shlibpath_var=LD_LIBRARY_PATH
   14949   shlibpath_overrides_runpath=no
   14950   hardcode_into_libs=yes
   14951   ;;
   14952 
   14953 irix5* | irix6* | nonstopux*)
   14954   case $host_os in
   14955     nonstopux*) version_type=nonstopux ;;
   14956     *)
   14957 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14958 		version_type=linux
   14959 	else
   14960 		version_type=irix
   14961 	fi ;;
   14962   esac
   14963   need_lib_prefix=no
   14964   need_version=no
   14965   soname_spec='${libname}${release}${shared_ext}$major'
   14966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14967   case $host_os in
   14968   irix5* | nonstopux*)
   14969     libsuff= shlibsuff=
   14970     ;;
   14971   *)
   14972     case $LD in # libtool.m4 will add one of these switches to LD
   14973     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14974       libsuff= shlibsuff= libmagic=32-bit;;
   14975     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14976       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14977     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14978       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14979     *) libsuff= shlibsuff= libmagic=never-match;;
   14980     esac
   14981     ;;
   14982   esac
   14983   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14984   shlibpath_overrides_runpath=no
   14985   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14986   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14987   hardcode_into_libs=yes
   14988   ;;
   14989 
   14990 # No shared lib support for Linux oldld, aout, or coff.
   14991 linux*oldld* | linux*aout* | linux*coff*)
   14992   dynamic_linker=no
   14993   ;;
   14994 
   14995 # This must be Linux ELF.
   14996 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14997   version_type=linux
   14998   need_lib_prefix=no
   14999   need_version=no
   15000   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15001   soname_spec='${libname}${release}${shared_ext}$major'
   15002   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15003   shlibpath_var=LD_LIBRARY_PATH
   15004   shlibpath_overrides_runpath=no
   15005 
   15006   # Some binutils ld are patched to set DT_RUNPATH
   15007   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
   15008   $as_echo_n "(cached) " >&6
   15009 else
   15010   lt_cv_shlibpath_overrides_runpath=no
   15011     save_LDFLAGS=$LDFLAGS
   15012     save_libdir=$libdir
   15013     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15014 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15015     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15016 /* end confdefs.h.  */
   15017 
   15018 int
   15019 main ()
   15020 {
   15021 
   15022   ;
   15023   return 0;
   15024 }
   15025 _ACEOF
   15026 if ac_fn_cxx_try_link "$LINENO"; then :
   15027   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15028   lt_cv_shlibpath_overrides_runpath=yes
   15029 fi
   15030 fi
   15031 rm -f core conftest.err conftest.$ac_objext \
   15032     conftest$ac_exeext conftest.$ac_ext
   15033     LDFLAGS=$save_LDFLAGS
   15034     libdir=$save_libdir
   15035 
   15036 fi
   15037 
   15038   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15039 
   15040   # This implies no fast_install, which is unacceptable.
   15041   # Some rework will be needed to allow for fast_install
   15042   # before this can be enabled.
   15043   hardcode_into_libs=yes
   15044 
   15045   # Append ld.so.conf contents to the search path
   15046   if test -f /etc/ld.so.conf; then
   15047     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' ' '`
   15048     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15049   fi
   15050 
   15051   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15052   # powerpc, because MkLinux only supported shared libraries with the
   15053   # GNU dynamic linker.  Since this was broken with cross compilers,
   15054   # most powerpc-linux boxes support dynamic linking these days and
   15055   # people can always --disable-shared, the test was removed, and we
   15056   # assume the GNU/Linux dynamic linker is in use.
   15057   dynamic_linker='GNU/Linux ld.so'
   15058   ;;
   15059 
   15060 netbsd*)
   15061   version_type=sunos
   15062   need_lib_prefix=no
   15063   need_version=no
   15064   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15065     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15066     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15067     dynamic_linker='NetBSD (a.out) ld.so'
   15068   else
   15069     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15070     soname_spec='${libname}${release}${shared_ext}$major'
   15071     dynamic_linker='NetBSD ld.elf_so'
   15072   fi
   15073   shlibpath_var=LD_LIBRARY_PATH
   15074   shlibpath_overrides_runpath=yes
   15075   hardcode_into_libs=yes
   15076   ;;
   15077 
   15078 newsos6)
   15079   version_type=linux
   15080   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15081   shlibpath_var=LD_LIBRARY_PATH
   15082   shlibpath_overrides_runpath=yes
   15083   ;;
   15084 
   15085 *nto* | *qnx*)
   15086   version_type=qnx
   15087   need_lib_prefix=no
   15088   need_version=no
   15089   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15090   soname_spec='${libname}${release}${shared_ext}$major'
   15091   shlibpath_var=LD_LIBRARY_PATH
   15092   shlibpath_overrides_runpath=no
   15093   hardcode_into_libs=yes
   15094   dynamic_linker='ldqnx.so'
   15095   ;;
   15096 
   15097 openbsd*)
   15098   version_type=sunos
   15099   sys_lib_dlsearch_path_spec="/usr/lib"
   15100   need_lib_prefix=no
   15101   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15102   case $host_os in
   15103     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15104     *)				need_version=no  ;;
   15105   esac
   15106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15107   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15108   shlibpath_var=LD_LIBRARY_PATH
   15109   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15110     case $host_os in
   15111       openbsd2.[89] | openbsd2.[89].*)
   15112 	shlibpath_overrides_runpath=no
   15113 	;;
   15114       *)
   15115 	shlibpath_overrides_runpath=yes
   15116 	;;
   15117       esac
   15118   else
   15119     shlibpath_overrides_runpath=yes
   15120   fi
   15121   ;;
   15122 
   15123 os2*)
   15124   libname_spec='$name'
   15125   shrext_cmds=".dll"
   15126   need_lib_prefix=no
   15127   library_names_spec='$libname${shared_ext} $libname.a'
   15128   dynamic_linker='OS/2 ld.exe'
   15129   shlibpath_var=LIBPATH
   15130   ;;
   15131 
   15132 osf3* | osf4* | osf5*)
   15133   version_type=osf
   15134   need_lib_prefix=no
   15135   need_version=no
   15136   soname_spec='${libname}${release}${shared_ext}$major'
   15137   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15138   shlibpath_var=LD_LIBRARY_PATH
   15139   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15140   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15141   ;;
   15142 
   15143 rdos*)
   15144   dynamic_linker=no
   15145   ;;
   15146 
   15147 solaris*)
   15148   version_type=linux
   15149   need_lib_prefix=no
   15150   need_version=no
   15151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15152   soname_spec='${libname}${release}${shared_ext}$major'
   15153   shlibpath_var=LD_LIBRARY_PATH
   15154   shlibpath_overrides_runpath=yes
   15155   hardcode_into_libs=yes
   15156   # ldd complains unless libraries are executable
   15157   postinstall_cmds='chmod +x $lib'
   15158   ;;
   15159 
   15160 sunos4*)
   15161   version_type=sunos
   15162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15163   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15164   shlibpath_var=LD_LIBRARY_PATH
   15165   shlibpath_overrides_runpath=yes
   15166   if test "$with_gnu_ld" = yes; then
   15167     need_lib_prefix=no
   15168   fi
   15169   need_version=yes
   15170   ;;
   15171 
   15172 sysv4 | sysv4.3*)
   15173   version_type=linux
   15174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15175   soname_spec='${libname}${release}${shared_ext}$major'
   15176   shlibpath_var=LD_LIBRARY_PATH
   15177   case $host_vendor in
   15178     sni)
   15179       shlibpath_overrides_runpath=no
   15180       need_lib_prefix=no
   15181       runpath_var=LD_RUN_PATH
   15182       ;;
   15183     siemens)
   15184       need_lib_prefix=no
   15185       ;;
   15186     motorola)
   15187       need_lib_prefix=no
   15188       need_version=no
   15189       shlibpath_overrides_runpath=no
   15190       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15191       ;;
   15192   esac
   15193   ;;
   15194 
   15195 sysv4*MP*)
   15196   if test -d /usr/nec ;then
   15197     version_type=linux
   15198     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15199     soname_spec='$libname${shared_ext}.$major'
   15200     shlibpath_var=LD_LIBRARY_PATH
   15201   fi
   15202   ;;
   15203 
   15204 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15205   version_type=freebsd-elf
   15206   need_lib_prefix=no
   15207   need_version=no
   15208   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15209   soname_spec='${libname}${release}${shared_ext}$major'
   15210   shlibpath_var=LD_LIBRARY_PATH
   15211   shlibpath_overrides_runpath=yes
   15212   hardcode_into_libs=yes
   15213   if test "$with_gnu_ld" = yes; then
   15214     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15215   else
   15216     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15217     case $host_os in
   15218       sco3.2v5*)
   15219         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15220 	;;
   15221     esac
   15222   fi
   15223   sys_lib_dlsearch_path_spec='/usr/lib'
   15224   ;;
   15225 
   15226 tpf*)
   15227   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15228   version_type=linux
   15229   need_lib_prefix=no
   15230   need_version=no
   15231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15232   shlibpath_var=LD_LIBRARY_PATH
   15233   shlibpath_overrides_runpath=no
   15234   hardcode_into_libs=yes
   15235   ;;
   15236 
   15237 uts4*)
   15238   version_type=linux
   15239   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15240   soname_spec='${libname}${release}${shared_ext}$major'
   15241   shlibpath_var=LD_LIBRARY_PATH
   15242   ;;
   15243 
   15244 *)
   15245   dynamic_linker=no
   15246   ;;
   15247 esac
   15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15249 $as_echo "$dynamic_linker" >&6; }
   15250 test "$dynamic_linker" = no && can_build_shared=no
   15251 
   15252 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15253 if test "$GCC" = yes; then
   15254   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15255 fi
   15256 
   15257 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15258   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15259 fi
   15260 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15261   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15262 fi
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281 
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292 
   15293 
   15294 
   15295 
   15296 
   15297 
   15298 
   15299 
   15300 
   15301     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15302 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15303 hardcode_action_CXX=
   15304 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15305    test -n "$runpath_var_CXX" ||
   15306    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15307 
   15308   # We can hardcode non-existent directories.
   15309   if test "$hardcode_direct_CXX" != no &&
   15310      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15311      # have to relink, otherwise we might link with an installed library
   15312      # when we should be linking with a yet-to-be-installed one
   15313      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15314      test "$hardcode_minus_L_CXX" != no; then
   15315     # Linking always hardcodes the temporary library directory.
   15316     hardcode_action_CXX=relink
   15317   else
   15318     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15319     hardcode_action_CXX=immediate
   15320   fi
   15321 else
   15322   # We cannot hardcode anything, or else we can only hardcode existing
   15323   # directories.
   15324   hardcode_action_CXX=unsupported
   15325 fi
   15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15327 $as_echo "$hardcode_action_CXX" >&6; }
   15328 
   15329 if test "$hardcode_action_CXX" = relink ||
   15330    test "$inherit_rpath_CXX" = yes; then
   15331   # Fast installation is not supported
   15332   enable_fast_install=no
   15333 elif test "$shlibpath_overrides_runpath" = yes ||
   15334      test "$enable_shared" = no; then
   15335   # Fast installation is not necessary
   15336   enable_fast_install=needless
   15337 fi
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345   fi # test -n "$compiler"
   15346 
   15347   CC=$lt_save_CC
   15348   LDCXX=$LD
   15349   LD=$lt_save_LD
   15350   GCC=$lt_save_GCC
   15351   with_gnu_ld=$lt_save_with_gnu_ld
   15352   lt_cv_path_LDCXX=$lt_cv_path_LD
   15353   lt_cv_path_LD=$lt_save_path_LD
   15354   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15355   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15356 fi # test "$_lt_caught_CXX_error" != yes
   15357 
   15358 ac_ext=c
   15359 ac_cpp='$CPP $CPPFLAGS'
   15360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376         ac_config_commands="$ac_config_commands libtool"
   15377 
   15378 
   15379 
   15380 
   15381 # Only expand once:
   15382 
   15383 
   15384 
   15385 for ac_prog in gawk mawk nawk awk
   15386 do
   15387   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15388 set dummy $ac_prog; ac_word=$2
   15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15390 $as_echo_n "checking for $ac_word... " >&6; }
   15391 if test "${ac_cv_prog_AWK+set}" = set; then :
   15392   $as_echo_n "(cached) " >&6
   15393 else
   15394   if test -n "$AWK"; then
   15395   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   15396 else
   15397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15398 for as_dir in $PATH
   15399 do
   15400   IFS=$as_save_IFS
   15401   test -z "$as_dir" && as_dir=.
   15402     for ac_exec_ext in '' $ac_executable_extensions; do
   15403   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   15404     ac_cv_prog_AWK="$ac_prog"
   15405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15406     break 2
   15407   fi
   15408 done
   15409   done
   15410 IFS=$as_save_IFS
   15411 
   15412 fi
   15413 fi
   15414 AWK=$ac_cv_prog_AWK
   15415 if test -n "$AWK"; then
   15416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   15417 $as_echo "$AWK" >&6; }
   15418 else
   15419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15420 $as_echo "no" >&6; }
   15421 fi
   15422 
   15423 
   15424   test -n "$AWK" && break
   15425 done
   15426 
   15427 case "$AWK" in
   15428 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
   15429 esac
   15430 
   15431 
   15432 
   15433 
   15434 # The cast to long int works around a bug in the HP C Compiler
   15435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15437 # This bug is HP SR number 8606223364.
   15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   15439 $as_echo_n "checking size of void *... " >&6; }
   15440 if test "${ac_cv_sizeof_void_p+set}" = set; then :
   15441   $as_echo_n "(cached) " >&6
   15442 else
   15443   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   15444 
   15445 else
   15446   if test "$ac_cv_type_void_p" = yes; then
   15447      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15449 { as_fn_set_status 77
   15450 as_fn_error "cannot compute sizeof (void *)
   15451 See \`config.log' for more details." "$LINENO" 5; }; }
   15452    else
   15453      ac_cv_sizeof_void_p=0
   15454    fi
   15455 fi
   15456 
   15457 fi
   15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   15459 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   15460 
   15461 
   15462 
   15463 cat >>confdefs.h <<_ACEOF
   15464 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   15465 _ACEOF
   15466 
   15467 
   15468 
   15469 if test "${multilib}" = "yes"; then
   15470   multilib_arg="--enable-multilib"
   15471 else
   15472   multilib_arg=
   15473 fi
   15474 
   15475 # Get target configury.
   15476 unset TSAN_SUPPORTED
   15477 unset LSAN_SUPPORTED
   15478 . ${srcdir}/configure.tgt
   15479  if test "x$TSAN_SUPPORTED" = "xyes"; then
   15480   TSAN_SUPPORTED_TRUE=
   15481   TSAN_SUPPORTED_FALSE='#'
   15482 else
   15483   TSAN_SUPPORTED_TRUE='#'
   15484   TSAN_SUPPORTED_FALSE=
   15485 fi
   15486 
   15487  if test "x$LSAN_SUPPORTED" = "xyes"; then
   15488   LSAN_SUPPORTED_TRUE=
   15489   LSAN_SUPPORTED_FALSE='#'
   15490 else
   15491   LSAN_SUPPORTED_TRUE='#'
   15492   LSAN_SUPPORTED_FALSE=
   15493 fi
   15494 
   15495 
   15496 # Check for functions needed.
   15497 for ac_func in clock_getres clock_gettime clock_settime
   15498 do :
   15499   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15501 eval as_val=\$$as_ac_var
   15502    if test "x$as_val" = x""yes; then :
   15503   cat >>confdefs.h <<_ACEOF
   15504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15505 _ACEOF
   15506 
   15507 fi
   15508 done
   15509 
   15510 
   15511 # Common libraries that we need to link against for all sanitizer libs.
   15512 link_sanitizer_common='-lpthread -ldl -lm'
   15513 
   15514 # Set up the set of additional libraries that we need to link against for libasan.
   15515 link_libasan=$link_sanitizer_common
   15516 
   15517 
   15518 # Set up the set of additional libraries that we need to link against for libtsan.
   15519 link_libtsan=$link_sanitizer_common
   15520 
   15521 
   15522 # Set up the set of additional libraries that we need to link against for libubsan.
   15523 link_libubsan=$link_sanitizer_common
   15524 
   15525 
   15526 # Set up the set of additional libraries that we need to link against for liblsan.
   15527 link_liblsan=$link_sanitizer_common
   15528 
   15529 
   15530 # At least for glibc, clock_gettime is in librt.  But don't pull that
   15531 # in if it still doesn't give us the function we want.  This
   15532 # test is copied from libgomp.
   15533 if test $ac_cv_func_clock_gettime = no; then
   15534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   15535 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   15536 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
   15537   $as_echo_n "(cached) " >&6
   15538 else
   15539   ac_check_lib_save_LIBS=$LIBS
   15540 LIBS="-lrt  $LIBS"
   15541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15542 /* end confdefs.h.  */
   15543 
   15544 /* Override any GCC internal prototype to avoid an error.
   15545    Use char because int might match the return type of a GCC
   15546    builtin and then its argument prototype would still apply.  */
   15547 #ifdef __cplusplus
   15548 extern "C"
   15549 #endif
   15550 char clock_gettime ();
   15551 int
   15552 main ()
   15553 {
   15554 return clock_gettime ();
   15555   ;
   15556   return 0;
   15557 }
   15558 _ACEOF
   15559 if ac_fn_c_try_link "$LINENO"; then :
   15560   ac_cv_lib_rt_clock_gettime=yes
   15561 else
   15562   ac_cv_lib_rt_clock_gettime=no
   15563 fi
   15564 rm -f core conftest.err conftest.$ac_objext \
   15565     conftest$ac_exeext conftest.$ac_ext
   15566 LIBS=$ac_check_lib_save_LIBS
   15567 fi
   15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   15569 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   15570 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
   15571   link_libasan="-lrt $link_libasan"
   15572 link_libtsan="-lrt $link_libtsan"
   15573 # Other sanitizers do not override clock_* API
   15574 
   15575 fi
   15576 
   15577 fi
   15578 
   15579 case "$host" in
   15580   *-*-darwin*) MAC_INTERPOSE=true ; enable_static=no ;;
   15581   *) MAC_INTERPOSE=false ;;
   15582 esac
   15583  if $MAC_INTERPOSE; then
   15584   USING_MAC_INTERPOSE_TRUE=
   15585   USING_MAC_INTERPOSE_FALSE='#'
   15586 else
   15587   USING_MAC_INTERPOSE_TRUE='#'
   15588   USING_MAC_INTERPOSE_FALSE=
   15589 fi
   15590 
   15591 
   15592 backtrace_supported=yes
   15593 
   15594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
   15595 $as_echo_n "checking for necessary platform features... " >&6; }
   15596 case "$target" in
   15597   *-*-linux*)
   15598     # Some old Linux distributions miss required syscalls.
   15599     sanitizer_supported=no
   15600     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15601 /* end confdefs.h.  */
   15602 #include <sys/syscall.h>
   15603 int
   15604 main ()
   15605 {
   15606 
   15607       syscall (__NR_gettid);
   15608       syscall (__NR_futex);
   15609       syscall (__NR_exit_group);
   15610 
   15611   ;
   15612   return 0;
   15613 }
   15614 _ACEOF
   15615 if ac_fn_c_try_compile "$LINENO"; then :
   15616   sanitizer_supported=yes
   15617 fi
   15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15619     ;;
   15620   *)
   15621     sanitizer_supported=yes
   15622     ;;
   15623 esac
   15624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
   15625 $as_echo "$sanitizer_supported" >&6; }
   15626  if test "$sanitizer_supported" = yes; then
   15627   SANITIZER_SUPPORTED_TRUE=
   15628   SANITIZER_SUPPORTED_FALSE='#'
   15629 else
   15630   SANITIZER_SUPPORTED_TRUE='#'
   15631   SANITIZER_SUPPORTED_FALSE=
   15632 fi
   15633 
   15634 
   15635 # Test for __sync support.
   15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
   15637 $as_echo_n "checking __sync extensions... " >&6; }
   15638 if test "${libsanitizer_cv_sys_sync+set}" = set; then :
   15639   $as_echo_n "(cached) " >&6
   15640 else
   15641   if test -n "${with_target_subdir}"; then
   15642    libsanitizer_cv_sys_sync=yes
   15643  else
   15644    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15645 /* end confdefs.h.  */
   15646 int i;
   15647 int
   15648 main ()
   15649 {
   15650 __sync_bool_compare_and_swap (&i, i, i);
   15651                        __sync_lock_test_and_set (&i, 1);
   15652                        __sync_lock_release (&i);
   15653   ;
   15654   return 0;
   15655 }
   15656 _ACEOF
   15657 if ac_fn_c_try_link "$LINENO"; then :
   15658   libsanitizer_cv_sys_sync=yes
   15659 else
   15660   libsanitizer_cv_sys_sync=no
   15661 fi
   15662 rm -f core conftest.err conftest.$ac_objext \
   15663     conftest$ac_exeext conftest.$ac_ext
   15664  fi
   15665 fi
   15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
   15667 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
   15668 if test "$libsanitizer_cv_sys_sync" = "yes"; then
   15669 
   15670 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
   15671 
   15672 fi
   15673 
   15674 # Test for __atomic support.
   15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
   15676 $as_echo_n "checking __atomic extensions... " >&6; }
   15677 if test "${libsanitizer_cv_sys_atomic+set}" = set; then :
   15678   $as_echo_n "(cached) " >&6
   15679 else
   15680   if test -n "${with_target_subdir}"; then
   15681    libsanitizer_cv_sys_atomic=yes
   15682  else
   15683    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 int i;
   15686 int
   15687 main ()
   15688 {
   15689 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
   15690 		       __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
   15691   ;
   15692   return 0;
   15693 }
   15694 _ACEOF
   15695 if ac_fn_c_try_link "$LINENO"; then :
   15696   libsanitizer_cv_sys_atomic=yes
   15697 else
   15698   libsanitizer_cv_sys_atomic=no
   15699 fi
   15700 rm -f core conftest.err conftest.$ac_objext \
   15701     conftest$ac_exeext conftest.$ac_ext
   15702  fi
   15703 fi
   15704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
   15705 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
   15706 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
   15707 
   15708 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
   15709 
   15710 fi
   15711 
   15712 # The library needs to be able to read the executable itself.  Compile
   15713 # a file to determine the executable format.  The awk script
   15714 # filetype.awk prints out the file type.
   15715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
   15716 $as_echo_n "checking output filetype... " >&6; }
   15717 if test "${libsanitizer_cv_sys_filetype+set}" = set; then :
   15718   $as_echo_n "(cached) " >&6
   15719 else
   15720   filetype=
   15721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15722 /* end confdefs.h.  */
   15723 int i;
   15724 int
   15725 main ()
   15726 {
   15727 int j;
   15728   ;
   15729   return 0;
   15730 }
   15731 _ACEOF
   15732 if ac_fn_c_try_compile "$LINENO"; then :
   15733   filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
   15734 else
   15735   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15737 as_fn_error "compiler failed
   15738 See \`config.log' for more details." "$LINENO" 5; }
   15739 fi
   15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15741 libsanitizer_cv_sys_filetype=$filetype
   15742 fi
   15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
   15744 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
   15745 
   15746 # Match the file type to decide what files to compile.
   15747 FORMAT_FILE=
   15748 case "$libsanitizer_cv_sys_filetype" in
   15749 elf*) FORMAT_FILE="elf.lo" ;;
   15750 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
   15751 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
   15752    FORMAT_FILE="unknown.lo"
   15753    backtrace_supported=no
   15754    ;;
   15755 esac
   15756 
   15757 
   15758 # ELF defines.
   15759 elfsize=
   15760 case "$libsanitizer_cv_sys_filetype" in
   15761 elf32) elfsize=32 ;;
   15762 elf64) elfsize=64 ;;
   15763 esac
   15764 
   15765 cat >>confdefs.h <<_ACEOF
   15766 #define BACKTRACE_ELF_SIZE $elfsize
   15767 _ACEOF
   15768 
   15769 
   15770 BACKTRACE_SUPPORTED=0
   15771 if test "$backtrace_supported" = "yes"; then
   15772   BACKTRACE_SUPPORTED=1
   15773 fi
   15774 
   15775 
   15776 
   15777 
   15778 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
   15779 
   15780 acx_cv_header_stdint=stddef.h
   15781 acx_cv_header_stdint_kind="(already complete)"
   15782 for i in stdint.h $inttype_headers; do
   15783   unset ac_cv_type_uintptr_t
   15784   unset ac_cv_type_uintmax_t
   15785   unset ac_cv_type_int_least32_t
   15786   unset ac_cv_type_int_fast32_t
   15787   unset ac_cv_type_uint64_t
   15788   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
   15789   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
   15790 #include <$i>
   15791 "
   15792 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
   15793   acx_cv_header_stdint=$i
   15794 else
   15795   continue
   15796 fi
   15797 
   15798   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   15799 #include <$i>
   15800 "
   15801 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
   15802 
   15803 else
   15804   acx_cv_header_stdint_kind="(mostly complete)"
   15805 fi
   15806 
   15807   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
   15808 #include <$i>
   15809 "
   15810 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
   15811 
   15812 else
   15813   acx_cv_header_stdint_kind="(mostly complete)"
   15814 fi
   15815 
   15816   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
   15817 #include <$i>
   15818 "
   15819 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
   15820 
   15821 else
   15822   acx_cv_header_stdint_kind="(mostly complete)"
   15823 fi
   15824 
   15825   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   15826 #include <$i>
   15827 "
   15828 if test "x$ac_cv_type_uint64_t" = x""yes; then :
   15829 
   15830 else
   15831   acx_cv_header_stdint_kind="(lacks uint64_t)"
   15832 fi
   15833 
   15834   break
   15835 done
   15836 if test "$acx_cv_header_stdint" = stddef.h; then
   15837   acx_cv_header_stdint_kind="(lacks uintmax_t)"
   15838   for i in stdint.h $inttype_headers; do
   15839     unset ac_cv_type_uintptr_t
   15840     unset ac_cv_type_uint32_t
   15841     unset ac_cv_type_uint64_t
   15842     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
   15843     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
   15844 #include <$i>
   15845 "
   15846 if test "x$ac_cv_type_uint32_t" = x""yes; then :
   15847   acx_cv_header_stdint=$i
   15848 else
   15849   continue
   15850 fi
   15851 
   15852     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   15853 #include <$i>
   15854 "
   15855 if test "x$ac_cv_type_uint64_t" = x""yes; then :
   15856 
   15857 fi
   15858 
   15859     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   15860 #include <$i>
   15861 "
   15862 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
   15863 
   15864 fi
   15865 
   15866     break
   15867   done
   15868 fi
   15869 if test "$acx_cv_header_stdint" = stddef.h; then
   15870   acx_cv_header_stdint_kind="(u_intXX_t style)"
   15871   for i in sys/types.h $inttype_headers; do
   15872     unset ac_cv_type_u_int32_t
   15873     unset ac_cv_type_u_int64_t
   15874     $as_echo_n "looking for u_intXX_t types in $i, " >&6
   15875     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
   15876 #include <$i>
   15877 "
   15878 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
   15879   acx_cv_header_stdint=$i
   15880 else
   15881   continue
   15882 fi
   15883 
   15884     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
   15885 #include <$i>
   15886 "
   15887 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
   15888 
   15889 fi
   15890 
   15891     break
   15892   done
   15893 fi
   15894 if test "$acx_cv_header_stdint" = stddef.h; then
   15895   acx_cv_header_stdint_kind="(using manual detection)"
   15896 fi
   15897 
   15898 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
   15899 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
   15900 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
   15901 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
   15902 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
   15903 
   15904 # ----------------- Summarize what we found so far
   15905 
   15906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
   15907 $as_echo_n "checking what to include in gstdint.h... " >&6; }
   15908 
   15909 case `$as_basename -- gstdint.h ||
   15910 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
   15911 	 Xgstdint.h : 'X\(//\)$' \| \
   15912 	 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
   15913 $as_echo X/gstdint.h |
   15914     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15915 	    s//\1/
   15916 	    q
   15917 	  }
   15918 	  /^X\/\(\/\/\)$/{
   15919 	    s//\1/
   15920 	    q
   15921 	  }
   15922 	  /^X\/\(\/\).*/{
   15923 	    s//\1/
   15924 	    q
   15925 	  }
   15926 	  s/.*/./; q'` in
   15927   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   15928 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   15929   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   15930 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   15931   *) ;;
   15932 esac
   15933 
   15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
   15935 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
   15936 
   15937 # ----------------- done included file, check C basic types --------
   15938 
   15939 # Lacking an uintptr_t?  Test size of void *
   15940 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
   15941   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
   15942 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15943 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15944 # This bug is HP SR number 8606223364.
   15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   15946 $as_echo_n "checking size of void *... " >&6; }
   15947 if test "${ac_cv_sizeof_void_p+set}" = set; then :
   15948   $as_echo_n "(cached) " >&6
   15949 else
   15950   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   15951 
   15952 else
   15953   if test "$ac_cv_type_void_p" = yes; then
   15954      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15956 { as_fn_set_status 77
   15957 as_fn_error "cannot compute sizeof (void *)
   15958 See \`config.log' for more details." "$LINENO" 5; }; }
   15959    else
   15960      ac_cv_sizeof_void_p=0
   15961    fi
   15962 fi
   15963 
   15964 fi
   15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   15966 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   15967 
   15968 
   15969 
   15970 cat >>confdefs.h <<_ACEOF
   15971 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   15972 _ACEOF
   15973 
   15974  ;;
   15975 esac
   15976 
   15977 # Lacking an uint64_t?  Test size of long
   15978 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
   15979   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
   15980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15982 # This bug is HP SR number 8606223364.
   15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   15984 $as_echo_n "checking size of long... " >&6; }
   15985 if test "${ac_cv_sizeof_long+set}" = set; then :
   15986   $as_echo_n "(cached) " >&6
   15987 else
   15988   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   15989 
   15990 else
   15991   if test "$ac_cv_type_long" = yes; then
   15992      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15994 { as_fn_set_status 77
   15995 as_fn_error "cannot compute sizeof (long)
   15996 See \`config.log' for more details." "$LINENO" 5; }; }
   15997    else
   15998      ac_cv_sizeof_long=0
   15999    fi
   16000 fi
   16001 
   16002 fi
   16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   16004 $as_echo "$ac_cv_sizeof_long" >&6; }
   16005 
   16006 
   16007 
   16008 cat >>confdefs.h <<_ACEOF
   16009 #define SIZEOF_LONG $ac_cv_sizeof_long
   16010 _ACEOF
   16011 
   16012  ;;
   16013 esac
   16014 
   16015 if test $acx_cv_header_stdint = stddef.h; then
   16016   # Lacking a good header?  Test size of everything and deduce all types.
   16017   # The cast to long int works around a bug in the HP C Compiler
   16018 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16019 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16020 # This bug is HP SR number 8606223364.
   16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   16022 $as_echo_n "checking size of int... " >&6; }
   16023 if test "${ac_cv_sizeof_int+set}" = set; then :
   16024   $as_echo_n "(cached) " >&6
   16025 else
   16026   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   16027 
   16028 else
   16029   if test "$ac_cv_type_int" = yes; then
   16030      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16031 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16032 { as_fn_set_status 77
   16033 as_fn_error "cannot compute sizeof (int)
   16034 See \`config.log' for more details." "$LINENO" 5; }; }
   16035    else
   16036      ac_cv_sizeof_int=0
   16037    fi
   16038 fi
   16039 
   16040 fi
   16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   16042 $as_echo "$ac_cv_sizeof_int" >&6; }
   16043 
   16044 
   16045 
   16046 cat >>confdefs.h <<_ACEOF
   16047 #define SIZEOF_INT $ac_cv_sizeof_int
   16048 _ACEOF
   16049 
   16050 
   16051   # The cast to long int works around a bug in the HP C Compiler
   16052 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16053 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16054 # This bug is HP SR number 8606223364.
   16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   16056 $as_echo_n "checking size of short... " >&6; }
   16057 if test "${ac_cv_sizeof_short+set}" = set; then :
   16058   $as_echo_n "(cached) " >&6
   16059 else
   16060   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   16061 
   16062 else
   16063   if test "$ac_cv_type_short" = yes; then
   16064      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16066 { as_fn_set_status 77
   16067 as_fn_error "cannot compute sizeof (short)
   16068 See \`config.log' for more details." "$LINENO" 5; }; }
   16069    else
   16070      ac_cv_sizeof_short=0
   16071    fi
   16072 fi
   16073 
   16074 fi
   16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   16076 $as_echo "$ac_cv_sizeof_short" >&6; }
   16077 
   16078 
   16079 
   16080 cat >>confdefs.h <<_ACEOF
   16081 #define SIZEOF_SHORT $ac_cv_sizeof_short
   16082 _ACEOF
   16083 
   16084 
   16085   # The cast to long int works around a bug in the HP C Compiler
   16086 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16087 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16088 # This bug is HP SR number 8606223364.
   16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   16090 $as_echo_n "checking size of char... " >&6; }
   16091 if test "${ac_cv_sizeof_char+set}" = set; then :
   16092   $as_echo_n "(cached) " >&6
   16093 else
   16094   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   16095 
   16096 else
   16097   if test "$ac_cv_type_char" = yes; then
   16098      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16099 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16100 { as_fn_set_status 77
   16101 as_fn_error "cannot compute sizeof (char)
   16102 See \`config.log' for more details." "$LINENO" 5; }; }
   16103    else
   16104      ac_cv_sizeof_char=0
   16105    fi
   16106 fi
   16107 
   16108 fi
   16109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   16110 $as_echo "$ac_cv_sizeof_char" >&6; }
   16111 
   16112 
   16113 
   16114 cat >>confdefs.h <<_ACEOF
   16115 #define SIZEOF_CHAR $ac_cv_sizeof_char
   16116 _ACEOF
   16117 
   16118 
   16119 
   16120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
   16121 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   16122   case "$ac_cv_sizeof_char" in
   16123     1) acx_cv_type_int8_t=char ;;
   16124     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
   16125   esac
   16126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
   16127 $as_echo "$acx_cv_type_int8_t" >&6; }
   16128 
   16129   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
   16130 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   16131   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
   16132     2:*) acx_cv_type_int16_t=int ;;
   16133     *:2) acx_cv_type_int16_t=short ;;
   16134     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
   16135   esac
   16136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
   16137 $as_echo "$acx_cv_type_int16_t" >&6; }
   16138 
   16139   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
   16140 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   16141   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
   16142     4:*) acx_cv_type_int32_t=int ;;
   16143     *:4) acx_cv_type_int32_t=long ;;
   16144     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
   16145   esac
   16146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
   16147 $as_echo "$acx_cv_type_int32_t" >&6; }
   16148 fi
   16149 
   16150 # These tests are here to make the output prettier
   16151 
   16152 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
   16153   case "$ac_cv_sizeof_long" in
   16154     8) acx_cv_type_int64_t=long ;;
   16155   esac
   16156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
   16157 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
   16158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
   16159 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
   16160 fi
   16161 
   16162 # Now we can use the above types
   16163 
   16164 if test "$ac_cv_type_uintptr_t" != yes; then
   16165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
   16166 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
   16167   case $ac_cv_sizeof_void_p in
   16168     2) acx_cv_type_intptr_t=int16_t ;;
   16169     4) acx_cv_type_intptr_t=int32_t ;;
   16170     8) acx_cv_type_intptr_t=int64_t ;;
   16171     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   16172   esac
   16173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
   16174 $as_echo "$acx_cv_type_intptr_t" >&6; }
   16175 fi
   16176 
   16177 # ----------------- done all checks, emit header -------------
   16178 ac_config_commands="$ac_config_commands gstdint.h"
   16179 
   16180 
   16181 
   16182 
   16183 for ac_header in sys/mman.h alloca.h
   16184 do :
   16185   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   16186 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   16187 eval as_val=\$$as_ac_Header
   16188    if test "x$as_val" = x""yes; then :
   16189   cat >>confdefs.h <<_ACEOF
   16190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   16191 _ACEOF
   16192 
   16193 fi
   16194 
   16195 done
   16196 
   16197 if test "$ac_cv_header_sys_mman_h" = "no"; then
   16198   have_mmap=no
   16199 else
   16200   if test -n "${with_target_subdir}"; then
   16201     # When built as a GCC target library, we can't do a link test.  We
   16202     # simply assume that if we have mman.h, we have mmap.
   16203     have_mmap=yes
   16204   else
   16205     ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
   16206 if test "x$ac_cv_func_mmap" = x""yes; then :
   16207   have_mmap=yes
   16208 else
   16209   have_mmap=no
   16210 fi
   16211 
   16212   fi
   16213 fi
   16214 if test "$have_mmap" = "no"; then
   16215   VIEW_FILE=read.lo
   16216   ALLOC_FILE=alloc.lo
   16217 else
   16218   VIEW_FILE=mmapio.lo
   16219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16220 /* end confdefs.h.  */
   16221 
   16222 #include <sys/mman.h>
   16223 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
   16224   #error no MAP_ANONYMOUS
   16225 #endif
   16226 
   16227 _ACEOF
   16228 if ac_fn_c_try_cpp "$LINENO"; then :
   16229   ALLOC_FILE=mmap.lo
   16230 else
   16231   ALLOC_FILE=alloc.lo
   16232 fi
   16233 rm -f conftest.err conftest.$ac_ext
   16234 fi
   16235 
   16236 
   16237 
   16238 BACKTRACE_USES_MALLOC=0
   16239 if test "$ALLOC_FILE" = "alloc.lo"; then
   16240   BACKTRACE_USES_MALLOC=1
   16241 fi
   16242 
   16243 
   16244 # Don't care about thread support
   16245 BACKTRACE_SUPPORTS_THREADS=0
   16246 
   16247 
   16248 # Check for dl_iterate_phdr.
   16249 for ac_header in link.h
   16250 do :
   16251   ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
   16252 if test "x$ac_cv_header_link_h" = x""yes; then :
   16253   cat >>confdefs.h <<_ACEOF
   16254 #define HAVE_LINK_H 1
   16255 _ACEOF
   16256 
   16257 fi
   16258 
   16259 done
   16260 
   16261 if test "$ac_cv_header_link_h" = "no"; then
   16262   have_dl_iterate_phdr=no
   16263 else
   16264   # When built as a GCC target library, we can't do a link test.
   16265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16266 /* end confdefs.h.  */
   16267 #include <link.h>
   16268 
   16269 _ACEOF
   16270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16271   $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
   16272   have_dl_iterate_phdr=yes
   16273 else
   16274   have_dl_iterate_phdr=no
   16275 fi
   16276 rm -f conftest*
   16277 
   16278   case "${host}" in
   16279   *-*-solaris2.10*)
   16280     # Avoid dl_iterate_phdr on Solaris 10, where it is in the
   16281     # header file but is only in -ldl.
   16282     have_dl_iterate_phdr=no ;;
   16283   esac
   16284 fi
   16285 if test "$have_dl_iterate_phdr" = "yes"; then
   16286 
   16287 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
   16288 
   16289 fi
   16290 
   16291 # Check for the fcntl function.
   16292 if test -n "${with_target_subdir}"; then
   16293    case "${host}" in
   16294    *-*-mingw*) have_fcntl=no ;;
   16295    *) have_fcntl=yes ;;
   16296    esac
   16297 else
   16298   ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
   16299 if test "x$ac_cv_func_fcntl" = x""yes; then :
   16300   have_fcntl=yes
   16301 else
   16302   have_fcntl=no
   16303 fi
   16304 
   16305 fi
   16306 if test "$have_fcntl" = "yes"; then
   16307 
   16308 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
   16309 
   16310 fi
   16311 
   16312 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   16313 if test "x$ac_cv_have_decl_strnlen" = x""yes; then :
   16314   ac_have_decl=1
   16315 else
   16316   ac_have_decl=0
   16317 fi
   16318 
   16319 cat >>confdefs.h <<_ACEOF
   16320 #define HAVE_DECL_STRNLEN $ac_have_decl
   16321 _ACEOF
   16322 
   16323 
   16324 # Check for getexecname function.
   16325 if test -n "${with_target_subdir}"; then
   16326    case "${host}" in
   16327    *-*-solaris2*) have_getexecname=yes ;;
   16328    *) have_getexecname=no ;;
   16329    esac
   16330 else
   16331   ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
   16332 if test "x$ac_cv_func_getexecname" = x""yes; then :
   16333   have_getexecname=yes
   16334 else
   16335   have_getexecname=no
   16336 fi
   16337 
   16338 fi
   16339 if test "$have_getexecname" = "yes"; then
   16340 
   16341 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
   16342 
   16343 fi
   16344 
   16345 # Check for rpc/xdr.h
   16346 for ac_header in rpc/xdr.h
   16347 do :
   16348   ac_fn_c_check_header_mongrel "$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default"
   16349 if test "x$ac_cv_header_rpc_xdr_h" = x""yes; then :
   16350   cat >>confdefs.h <<_ACEOF
   16351 #define HAVE_RPC_XDR_H 1
   16352 _ACEOF
   16353 
   16354 fi
   16355 
   16356 done
   16357 
   16358 if test x"$ac_cv_header_rpc_xdr_h" = xyes; then
   16359   rpc_defs="$rpc_defs -DHAVE_RPC_XDR_H=1"
   16360 else
   16361   rpc_defs="$rpc_defs -DHAVE_RPC_XDR_H=0"
   16362 fi
   16363 
   16364 # Check for tirpc/rpc/xdr.h
   16365 for ac_header in tirpc/rpc/xdr.h
   16366 do :
   16367   ac_fn_c_check_header_mongrel "$LINENO" "tirpc/rpc/xdr.h" "ac_cv_header_tirpc_rpc_xdr_h" "$ac_includes_default"
   16368 if test "x$ac_cv_header_tirpc_rpc_xdr_h" = x""yes; then :
   16369   cat >>confdefs.h <<_ACEOF
   16370 #define HAVE_TIRPC_RPC_XDR_H 1
   16371 _ACEOF
   16372 
   16373 fi
   16374 
   16375 done
   16376 
   16377 if test x"$ac_cv_header_tirpc_rpc_xdr_h" = xyes; then
   16378   rpc_defs="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1"
   16379 else
   16380   rpc_defs="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0"
   16381 fi
   16382 
   16383 RPC_DEFS=$rpc_defs
   16384 
   16385 
   16386  if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
   16387   LIBBACKTRACE_SUPPORTED_TRUE=
   16388   LIBBACKTRACE_SUPPORTED_FALSE='#'
   16389 else
   16390   LIBBACKTRACE_SUPPORTED_TRUE='#'
   16391   LIBBACKTRACE_SUPPORTED_FALSE=
   16392 fi
   16393 
   16394 
   16395 
   16396 ac_config_files="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
   16397 
   16398 ac_config_headers="$ac_config_headers config.h"
   16399 
   16400 
   16401 ac_config_files="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
   16402 
   16403 
   16404 if test "x$TSAN_SUPPORTED" = "xyes"; then
   16405   ac_config_files="$ac_config_files tsan/Makefile"
   16406 
   16407 fi
   16408 
   16409 
   16410 
   16411 cat >confcache <<\_ACEOF
   16412 # This file is a shell script that caches the results of configure
   16413 # tests run on this system so they can be shared between configure
   16414 # scripts and configure runs, see configure's option --config-cache.
   16415 # It is not useful on other systems.  If it contains results you don't
   16416 # want to keep, you may remove or edit it.
   16417 #
   16418 # config.status only pays attention to the cache file if you give it
   16419 # the --recheck option to rerun configure.
   16420 #
   16421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16423 # following values.
   16424 
   16425 _ACEOF
   16426 
   16427 # The following way of writing the cache mishandles newlines in values,
   16428 # but we know of no workaround that is simple, portable, and efficient.
   16429 # So, we kill variables containing newlines.
   16430 # Ultrix sh set writes to stderr and can't be redirected directly,
   16431 # and sets the high bit in the cache file unless we assign to the vars.
   16432 (
   16433   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16434     eval ac_val=\$$ac_var
   16435     case $ac_val in #(
   16436     *${as_nl}*)
   16437       case $ac_var in #(
   16438       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16439 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16440       esac
   16441       case $ac_var in #(
   16442       _ | IFS | as_nl) ;; #(
   16443       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16444       *) { eval $ac_var=; unset $ac_var;} ;;
   16445       esac ;;
   16446     esac
   16447   done
   16448 
   16449   (set) 2>&1 |
   16450     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16451     *${as_nl}ac_space=\ *)
   16452       # `set' does not quote correctly, so add quotes: double-quote
   16453       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16454       sed -n \
   16455 	"s/'/'\\\\''/g;
   16456 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16457       ;; #(
   16458     *)
   16459       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16460       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   16461       ;;
   16462     esac |
   16463     sort
   16464 ) |
   16465   sed '
   16466      /^ac_cv_env_/b end
   16467      t clear
   16468      :clear
   16469      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16470      t end
   16471      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16472      :end' >>confcache
   16473 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   16474   if test -w "$cache_file"; then
   16475     test "x$cache_file" != "x/dev/null" &&
   16476       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   16477 $as_echo "$as_me: updating cache $cache_file" >&6;}
   16478     cat confcache >$cache_file
   16479   else
   16480     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   16481 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   16482   fi
   16483 fi
   16484 rm -f confcache
   16485 
   16486 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   16487 # Let make expand exec_prefix.
   16488 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   16489 
   16490 DEFS=-DHAVE_CONFIG_H
   16491 
   16492 ac_libobjs=
   16493 ac_ltlibobjs=
   16494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   16495   # 1. Remove the extension, and $U if already installed.
   16496   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   16497   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   16498   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   16499   #    will be set to the directory where LIBOBJS objects are built.
   16500   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   16501   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   16502 done
   16503 LIBOBJS=$ac_libobjs
   16504 
   16505 LTLIBOBJS=$ac_ltlibobjs
   16506 
   16507 
   16508 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   16509   as_fn_error "conditional \"AMDEP\" was never defined.
   16510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16511 fi
   16512 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16513   as_fn_error "conditional \"am__fastdepCC\" was never defined.
   16514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16515 fi
   16516  if test -n "$EXEEXT"; then
   16517   am__EXEEXT_TRUE=
   16518   am__EXEEXT_FALSE='#'
   16519 else
   16520   am__EXEEXT_TRUE='#'
   16521   am__EXEEXT_FALSE=
   16522 fi
   16523 
   16524 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   16525   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
   16526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16527 fi
   16528 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   16529   as_fn_error "conditional \"am__fastdepCXX\" was never defined.
   16530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16531 fi
   16532 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   16533   as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
   16534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16535 fi
   16536 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
   16537   as_fn_error "conditional \"TSAN_SUPPORTED\" was never defined.
   16538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16539 fi
   16540 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
   16541   as_fn_error "conditional \"LSAN_SUPPORTED\" was never defined.
   16542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16543 fi
   16544 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
   16545   as_fn_error "conditional \"USING_MAC_INTERPOSE\" was never defined.
   16546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16547 fi
   16548 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
   16549   as_fn_error "conditional \"SANITIZER_SUPPORTED\" was never defined.
   16550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16551 fi
   16552 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
   16553   as_fn_error "conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
   16554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   16555 fi
   16556 
   16557 : ${CONFIG_STATUS=./config.status}
   16558 ac_write_fail=0
   16559 ac_clean_files_save=$ac_clean_files
   16560 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   16561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   16562 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   16563 as_write_fail=0
   16564 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   16565 #! $SHELL
   16566 # Generated by $as_me.
   16567 # Run this file to recreate the current configuration.
   16568 # Compiler output produced by configure, useful for debugging
   16569 # configure, is in config.log if it exists.
   16570 
   16571 debug=false
   16572 ac_cs_recheck=false
   16573 ac_cs_silent=false
   16574 
   16575 SHELL=\${CONFIG_SHELL-$SHELL}
   16576 export SHELL
   16577 _ASEOF
   16578 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   16579 ## -------------------- ##
   16580 ## M4sh Initialization. ##
   16581 ## -------------------- ##
   16582 
   16583 # Be more Bourne compatible
   16584 DUALCASE=1; export DUALCASE # for MKS sh
   16585 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   16586   emulate sh
   16587   NULLCMD=:
   16588   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   16589   # is contrary to our usage.  Disable this feature.
   16590   alias -g '${1+"$@"}'='"$@"'
   16591   setopt NO_GLOB_SUBST
   16592 else
   16593   case `(set -o) 2>/dev/null` in #(
   16594   *posix*) :
   16595     set -o posix ;; #(
   16596   *) :
   16597      ;;
   16598 esac
   16599 fi
   16600 
   16601 
   16602 as_nl='
   16603 '
   16604 export as_nl
   16605 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   16606 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   16607 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   16608 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   16609 # Prefer a ksh shell builtin over an external printf program on Solaris,
   16610 # but without wasting forks for bash or zsh.
   16611 if test -z "$BASH_VERSION$ZSH_VERSION" \
   16612     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   16613   as_echo='print -r --'
   16614   as_echo_n='print -rn --'
   16615 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   16616   as_echo='printf %s\n'
   16617   as_echo_n='printf %s'
   16618 else
   16619   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   16620     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   16621     as_echo_n='/usr/ucb/echo -n'
   16622   else
   16623     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   16624     as_echo_n_body='eval
   16625       arg=$1;
   16626       case $arg in #(
   16627       *"$as_nl"*)
   16628 	expr "X$arg" : "X\\(.*\\)$as_nl";
   16629 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   16630       esac;
   16631       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   16632     '
   16633     export as_echo_n_body
   16634     as_echo_n='sh -c $as_echo_n_body as_echo'
   16635   fi
   16636   export as_echo_body
   16637   as_echo='sh -c $as_echo_body as_echo'
   16638 fi
   16639 
   16640 # The user is always right.
   16641 if test "${PATH_SEPARATOR+set}" != set; then
   16642   PATH_SEPARATOR=:
   16643   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   16644     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   16645       PATH_SEPARATOR=';'
   16646   }
   16647 fi
   16648 
   16649 
   16650 # IFS
   16651 # We need space, tab and new line, in precisely that order.  Quoting is
   16652 # there to prevent editors from complaining about space-tab.
   16653 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   16654 # splitting by setting IFS to empty value.)
   16655 IFS=" ""	$as_nl"
   16656 
   16657 # Find who we are.  Look in the path if we contain no directory separator.
   16658 case $0 in #((
   16659   *[\\/]* ) as_myself=$0 ;;
   16660   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16661 for as_dir in $PATH
   16662 do
   16663   IFS=$as_save_IFS
   16664   test -z "$as_dir" && as_dir=.
   16665     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16666   done
   16667 IFS=$as_save_IFS
   16668 
   16669      ;;
   16670 esac
   16671 # We did not find ourselves, most probably we were run as `sh COMMAND'
   16672 # in which case we are not to be found in the path.
   16673 if test "x$as_myself" = x; then
   16674   as_myself=$0
   16675 fi
   16676 if test ! -f "$as_myself"; then
   16677   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   16678   exit 1
   16679 fi
   16680 
   16681 # Unset variables that we do not need and which cause bugs (e.g. in
   16682 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   16683 # suppresses any "Segmentation fault" message there.  '((' could
   16684 # trigger a bug in pdksh 5.2.14.
   16685 for as_var in BASH_ENV ENV MAIL MAILPATH
   16686 do eval test x\${$as_var+set} = xset \
   16687   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   16688 done
   16689 PS1='$ '
   16690 PS2='> '
   16691 PS4='+ '
   16692 
   16693 # NLS nuisances.
   16694 LC_ALL=C
   16695 export LC_ALL
   16696 LANGUAGE=C
   16697 export LANGUAGE
   16698 
   16699 # CDPATH.
   16700 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16701 
   16702 
   16703 # as_fn_error ERROR [LINENO LOG_FD]
   16704 # ---------------------------------
   16705 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   16706 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   16707 # script with status $?, using 1 if that was 0.
   16708 as_fn_error ()
   16709 {
   16710   as_status=$?; test $as_status -eq 0 && as_status=1
   16711   if test "$3"; then
   16712     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   16713     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   16714   fi
   16715   $as_echo "$as_me: error: $1" >&2
   16716   as_fn_exit $as_status
   16717 } # as_fn_error
   16718 
   16719 
   16720 # as_fn_set_status STATUS
   16721 # -----------------------
   16722 # Set $? to STATUS, without forking.
   16723 as_fn_set_status ()
   16724 {
   16725   return $1
   16726 } # as_fn_set_status
   16727 
   16728 # as_fn_exit STATUS
   16729 # -----------------
   16730 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   16731 as_fn_exit ()
   16732 {
   16733   set +e
   16734   as_fn_set_status $1
   16735   exit $1
   16736 } # as_fn_exit
   16737 
   16738 # as_fn_unset VAR
   16739 # ---------------
   16740 # Portably unset VAR.
   16741 as_fn_unset ()
   16742 {
   16743   { eval $1=; unset $1;}
   16744 }
   16745 as_unset=as_fn_unset
   16746 # as_fn_append VAR VALUE
   16747 # ----------------------
   16748 # Append the text in VALUE to the end of the definition contained in VAR. Take
   16749 # advantage of any shell optimizations that allow amortized linear growth over
   16750 # repeated appends, instead of the typical quadratic growth present in naive
   16751 # implementations.
   16752 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   16753   eval 'as_fn_append ()
   16754   {
   16755     eval $1+=\$2
   16756   }'
   16757 else
   16758   as_fn_append ()
   16759   {
   16760     eval $1=\$$1\$2
   16761   }
   16762 fi # as_fn_append
   16763 
   16764 # as_fn_arith ARG...
   16765 # ------------------
   16766 # Perform arithmetic evaluation on the ARGs, and store the result in the
   16767 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   16768 # must be portable across $(()) and expr.
   16769 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   16770   eval 'as_fn_arith ()
   16771   {
   16772     as_val=$(( $* ))
   16773   }'
   16774 else
   16775   as_fn_arith ()
   16776   {
   16777     as_val=`expr "$@" || test $? -eq 1`
   16778   }
   16779 fi # as_fn_arith
   16780 
   16781 
   16782 if expr a : '\(a\)' >/dev/null 2>&1 &&
   16783    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   16784   as_expr=expr
   16785 else
   16786   as_expr=false
   16787 fi
   16788 
   16789 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   16790   as_basename=basename
   16791 else
   16792   as_basename=false
   16793 fi
   16794 
   16795 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   16796   as_dirname=dirname
   16797 else
   16798   as_dirname=false
   16799 fi
   16800 
   16801 as_me=`$as_basename -- "$0" ||
   16802 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16803 	 X"$0" : 'X\(//\)$' \| \
   16804 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   16805 $as_echo X/"$0" |
   16806     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16807 	    s//\1/
   16808 	    q
   16809 	  }
   16810 	  /^X\/\(\/\/\)$/{
   16811 	    s//\1/
   16812 	    q
   16813 	  }
   16814 	  /^X\/\(\/\).*/{
   16815 	    s//\1/
   16816 	    q
   16817 	  }
   16818 	  s/.*/./; q'`
   16819 
   16820 # Avoid depending upon Character Ranges.
   16821 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16822 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16823 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16824 as_cr_digits='0123456789'
   16825 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16826 
   16827 ECHO_C= ECHO_N= ECHO_T=
   16828 case `echo -n x` in #(((((
   16829 -n*)
   16830   case `echo 'xy\c'` in
   16831   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16832   xy)  ECHO_C='\c';;
   16833   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16834        ECHO_T='	';;
   16835   esac;;
   16836 *)
   16837   ECHO_N='-n';;
   16838 esac
   16839 
   16840 rm -f conf$$ conf$$.exe conf$$.file
   16841 if test -d conf$$.dir; then
   16842   rm -f conf$$.dir/conf$$.file
   16843 else
   16844   rm -f conf$$.dir
   16845   mkdir conf$$.dir 2>/dev/null
   16846 fi
   16847 if (echo >conf$$.file) 2>/dev/null; then
   16848   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16849     as_ln_s='ln -s'
   16850     # ... but there are two gotchas:
   16851     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16852     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16853     # In both cases, we have to default to `cp -p'.
   16854     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16855       as_ln_s='cp -p'
   16856   elif ln conf$$.file conf$$ 2>/dev/null; then
   16857     as_ln_s=ln
   16858   else
   16859     as_ln_s='cp -p'
   16860   fi
   16861 else
   16862   as_ln_s='cp -p'
   16863 fi
   16864 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16865 rmdir conf$$.dir 2>/dev/null
   16866 
   16867 
   16868 # as_fn_mkdir_p
   16869 # -------------
   16870 # Create "$as_dir" as a directory, including parents if necessary.
   16871 as_fn_mkdir_p ()
   16872 {
   16873 
   16874   case $as_dir in #(
   16875   -*) as_dir=./$as_dir;;
   16876   esac
   16877   test -d "$as_dir" || eval $as_mkdir_p || {
   16878     as_dirs=
   16879     while :; do
   16880       case $as_dir in #(
   16881       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16882       *) as_qdir=$as_dir;;
   16883       esac
   16884       as_dirs="'$as_qdir' $as_dirs"
   16885       as_dir=`$as_dirname -- "$as_dir" ||
   16886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16887 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16888 	 X"$as_dir" : 'X\(//\)$' \| \
   16889 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16890 $as_echo X"$as_dir" |
   16891     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16892 	    s//\1/
   16893 	    q
   16894 	  }
   16895 	  /^X\(\/\/\)[^/].*/{
   16896 	    s//\1/
   16897 	    q
   16898 	  }
   16899 	  /^X\(\/\/\)$/{
   16900 	    s//\1/
   16901 	    q
   16902 	  }
   16903 	  /^X\(\/\).*/{
   16904 	    s//\1/
   16905 	    q
   16906 	  }
   16907 	  s/.*/./; q'`
   16908       test -d "$as_dir" && break
   16909     done
   16910     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16911   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   16912 
   16913 
   16914 } # as_fn_mkdir_p
   16915 if mkdir -p . 2>/dev/null; then
   16916   as_mkdir_p='mkdir -p "$as_dir"'
   16917 else
   16918   test -d ./-p && rmdir ./-p
   16919   as_mkdir_p=false
   16920 fi
   16921 
   16922 if test -x / >/dev/null 2>&1; then
   16923   as_test_x='test -x'
   16924 else
   16925   if ls -dL / >/dev/null 2>&1; then
   16926     as_ls_L_option=L
   16927   else
   16928     as_ls_L_option=
   16929   fi
   16930   as_test_x='
   16931     eval sh -c '\''
   16932       if test -d "$1"; then
   16933 	test -d "$1/.";
   16934       else
   16935 	case $1 in #(
   16936 	-*)set "./$1";;
   16937 	esac;
   16938 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   16939 	???[sx]*):;;*)false;;esac;fi
   16940     '\'' sh
   16941   '
   16942 fi
   16943 as_executable_p=$as_test_x
   16944 
   16945 # Sed expression to map a string onto a valid CPP name.
   16946 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16947 
   16948 # Sed expression to map a string onto a valid variable name.
   16949 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16950 
   16951 
   16952 exec 6>&1
   16953 ## ----------------------------------- ##
   16954 ## Main body of $CONFIG_STATUS script. ##
   16955 ## ----------------------------------- ##
   16956 _ASEOF
   16957 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16958 
   16959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16960 # Save the log message, to keep $0 and so on meaningful, and to
   16961 # report actual input values of CONFIG_FILES etc. instead of their
   16962 # values after options handling.
   16963 ac_log="
   16964 This file was extended by package-unused $as_me version-unused, which was
   16965 generated by GNU Autoconf 2.64.  Invocation command line was
   16966 
   16967   CONFIG_FILES    = $CONFIG_FILES
   16968   CONFIG_HEADERS  = $CONFIG_HEADERS
   16969   CONFIG_LINKS    = $CONFIG_LINKS
   16970   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16971   $ $0 $@
   16972 
   16973 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16974 "
   16975 
   16976 _ACEOF
   16977 
   16978 case $ac_config_files in *"
   16979 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16980 esac
   16981 
   16982 case $ac_config_headers in *"
   16983 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16984 esac
   16985 
   16986 
   16987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16988 # Files that config.status was made for.
   16989 config_files="$ac_config_files"
   16990 config_headers="$ac_config_headers"
   16991 config_commands="$ac_config_commands"
   16992 
   16993 _ACEOF
   16994 
   16995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16996 ac_cs_usage="\
   16997 \`$as_me' instantiates files and other configuration actions
   16998 from templates according to the current configuration.  Unless the files
   16999 and actions are specified as TAGs, all are instantiated by default.
   17000 
   17001 Usage: $0 [OPTION]... [TAG]...
   17002 
   17003   -h, --help       print this help, then exit
   17004   -V, --version    print version number and configuration settings, then exit
   17005   -q, --quiet, --silent
   17006                    do not print progress messages
   17007   -d, --debug      don't remove temporary files
   17008       --recheck    update $as_me by reconfiguring in the same conditions
   17009       --file=FILE[:TEMPLATE]
   17010                    instantiate the configuration file FILE
   17011       --header=FILE[:TEMPLATE]
   17012                    instantiate the configuration header FILE
   17013 
   17014 Configuration files:
   17015 $config_files
   17016 
   17017 Configuration headers:
   17018 $config_headers
   17019 
   17020 Configuration commands:
   17021 $config_commands
   17022 
   17023 Report bugs to <libsanitizer>."
   17024 
   17025 _ACEOF
   17026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17027 ac_cs_version="\\
   17028 package-unused config.status version-unused
   17029 configured by $0, generated by GNU Autoconf 2.64,
   17030   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   17031 
   17032 Copyright (C) 2009 Free Software Foundation, Inc.
   17033 This config.status script is free software; the Free Software Foundation
   17034 gives unlimited permission to copy, distribute and modify it."
   17035 
   17036 ac_pwd='$ac_pwd'
   17037 srcdir='$srcdir'
   17038 INSTALL='$INSTALL'
   17039 MKDIR_P='$MKDIR_P'
   17040 AWK='$AWK'
   17041 test -n "\$AWK" || AWK=awk
   17042 _ACEOF
   17043 
   17044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17045 # The default lists apply if the user does not specify any file.
   17046 ac_need_defaults=:
   17047 while test $# != 0
   17048 do
   17049   case $1 in
   17050   --*=*)
   17051     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17052     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17053     ac_shift=:
   17054     ;;
   17055   *)
   17056     ac_option=$1
   17057     ac_optarg=$2
   17058     ac_shift=shift
   17059     ;;
   17060   esac
   17061 
   17062   case $ac_option in
   17063   # Handling of the options.
   17064   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17065     ac_cs_recheck=: ;;
   17066   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17067     $as_echo "$ac_cs_version"; exit ;;
   17068   --debug | --debu | --deb | --de | --d | -d )
   17069     debug=: ;;
   17070   --file | --fil | --fi | --f )
   17071     $ac_shift
   17072     case $ac_optarg in
   17073     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17074     esac
   17075     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17076     ac_need_defaults=false;;
   17077   --header | --heade | --head | --hea )
   17078     $ac_shift
   17079     case $ac_optarg in
   17080     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17081     esac
   17082     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17083     ac_need_defaults=false;;
   17084   --he | --h)
   17085     # Conflict between --help and --header
   17086     as_fn_error "ambiguous option: \`$1'
   17087 Try \`$0 --help' for more information.";;
   17088   --help | --hel | -h )
   17089     $as_echo "$ac_cs_usage"; exit ;;
   17090   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17091   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17092     ac_cs_silent=: ;;
   17093 
   17094   # This is an error.
   17095   -*) as_fn_error "unrecognized option: \`$1'
   17096 Try \`$0 --help' for more information." ;;
   17097 
   17098   *) as_fn_append ac_config_targets " $1"
   17099      ac_need_defaults=false ;;
   17100 
   17101   esac
   17102   shift
   17103 done
   17104 
   17105 ac_configure_extra_args=
   17106 
   17107 if $ac_cs_silent; then
   17108   exec 6>/dev/null
   17109   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17110 fi
   17111 
   17112 _ACEOF
   17113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17114 if \$ac_cs_recheck; then
   17115   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17116   shift
   17117   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17118   CONFIG_SHELL='$SHELL'
   17119   export CONFIG_SHELL
   17120   exec "\$@"
   17121 fi
   17122 
   17123 _ACEOF
   17124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17125 exec 5>>config.log
   17126 {
   17127   echo
   17128   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17129 ## Running $as_me. ##
   17130 _ASBOX
   17131   $as_echo "$ac_log"
   17132 } >&5
   17133 
   17134 _ACEOF
   17135 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17136 #
   17137 # INIT-COMMANDS
   17138 #
   17139 
   17140 srcdir="$srcdir"
   17141 host="$host"
   17142 target="$target"
   17143 with_multisubdir="$with_multisubdir"
   17144 with_multisrctop="$with_multisrctop"
   17145 with_target_subdir="$with_target_subdir"
   17146 ac_configure_args="${multilib_arg} ${ac_configure_args}"
   17147 multi_basedir="$multi_basedir"
   17148 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   17149 CC="$CC"
   17150 CXX="$CXX"
   17151 GFORTRAN="$GFORTRAN"
   17152 GCJ="$GCJ"
   17153 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17154 
   17155 
   17156 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17157 # if CDPATH is set.
   17158 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17159 
   17160 sed_quote_subst='$sed_quote_subst'
   17161 double_quote_subst='$double_quote_subst'
   17162 delay_variable_subst='$delay_variable_subst'
   17163 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17164 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17165 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17166 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17167 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17168 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17169 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17170 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17171 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17172 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17173 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17174 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17175 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17176 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17177 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17178 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17179 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17180 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17181 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17182 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17183 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17184 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17185 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17186 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17187 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17188 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17189 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17190 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17191 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17192 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17193 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17194 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17195 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17196 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17197 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17198 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17199 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17200 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17201 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17202 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17203 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17204 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17205 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17206 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17207 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17208 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17209 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17210 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17211 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17212 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17213 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17214 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17215 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17216 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17217 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17218 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17219 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17220 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17221 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17222 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17223 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17224 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17225 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17226 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17227 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17228 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17229 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17230 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17231 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17232 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17233 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17234 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17235 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17236 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17237 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17238 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17239 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17240 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17241 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17242 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17243 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   17244 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17245 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17246 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17247 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17248 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17249 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17250 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17251 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17252 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   17253 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17254 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17255 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17256 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17257 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17258 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17259 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17260 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17261 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17262 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17263 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17264 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17265 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17266 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17267 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17268 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17269 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17270 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17271 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17272 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17273 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17274 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17275 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17276 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17277 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17278 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17279 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17280 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17281 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17282 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17283 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   17284 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   17285 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   17286 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   17287 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   17288 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   17289 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   17290 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17291 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17292 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17293 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   17294 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   17295 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17296 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   17297 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   17298 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   17299 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   17300 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   17301 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   17302 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17303 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17304 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   17305 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17306 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17307 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17308 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17309 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17310 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17311 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17312 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17313 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17314 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17315 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17316 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   17317 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   17318 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   17319 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   17320 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   17321 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   17322 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   17323 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   17324 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   17325 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   17326 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17327 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17328 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17329 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17330 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17331 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   17332 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   17333 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17334 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17335 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   17336 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   17337 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   17338 
   17339 LTCC='$LTCC'
   17340 LTCFLAGS='$LTCFLAGS'
   17341 compiler='$compiler_DEFAULT'
   17342 
   17343 # A function that is used when there is no print builtin or printf.
   17344 func_fallback_echo ()
   17345 {
   17346   eval 'cat <<_LTECHO_EOF
   17347 \$1
   17348 _LTECHO_EOF'
   17349 }
   17350 
   17351 # Quote evaled strings.
   17352 for var in SHELL \
   17353 ECHO \
   17354 SED \
   17355 GREP \
   17356 EGREP \
   17357 FGREP \
   17358 LD \
   17359 NM \
   17360 LN_S \
   17361 lt_SP2NL \
   17362 lt_NL2SP \
   17363 reload_flag \
   17364 OBJDUMP \
   17365 deplibs_check_method \
   17366 file_magic_cmd \
   17367 AR \
   17368 AR_FLAGS \
   17369 STRIP \
   17370 RANLIB \
   17371 CC \
   17372 CFLAGS \
   17373 compiler \
   17374 lt_cv_sys_global_symbol_pipe \
   17375 lt_cv_sys_global_symbol_to_cdecl \
   17376 lt_cv_sys_global_symbol_to_c_name_address \
   17377 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17378 lt_prog_compiler_no_builtin_flag \
   17379 lt_prog_compiler_wl \
   17380 lt_prog_compiler_pic \
   17381 lt_prog_compiler_static \
   17382 lt_cv_prog_compiler_c_o \
   17383 need_locks \
   17384 DSYMUTIL \
   17385 NMEDIT \
   17386 LIPO \
   17387 OTOOL \
   17388 OTOOL64 \
   17389 shrext_cmds \
   17390 export_dynamic_flag_spec \
   17391 whole_archive_flag_spec \
   17392 compiler_needs_object \
   17393 with_gnu_ld \
   17394 allow_undefined_flag \
   17395 no_undefined_flag \
   17396 hardcode_libdir_flag_spec \
   17397 hardcode_libdir_flag_spec_ld \
   17398 hardcode_libdir_separator \
   17399 fix_srcfile_path \
   17400 exclude_expsyms \
   17401 include_expsyms \
   17402 file_list_spec \
   17403 variables_saved_for_relink \
   17404 libname_spec \
   17405 library_names_spec \
   17406 soname_spec \
   17407 install_override_mode \
   17408 finish_eval \
   17409 old_striplib \
   17410 striplib \
   17411 compiler_lib_search_dirs \
   17412 predep_objects \
   17413 postdep_objects \
   17414 predeps \
   17415 postdeps \
   17416 compiler_lib_search_path \
   17417 LD_CXX \
   17418 reload_flag_CXX \
   17419 compiler_CXX \
   17420 lt_prog_compiler_no_builtin_flag_CXX \
   17421 lt_prog_compiler_wl_CXX \
   17422 lt_prog_compiler_pic_CXX \
   17423 lt_prog_compiler_static_CXX \
   17424 lt_cv_prog_compiler_c_o_CXX \
   17425 export_dynamic_flag_spec_CXX \
   17426 whole_archive_flag_spec_CXX \
   17427 compiler_needs_object_CXX \
   17428 with_gnu_ld_CXX \
   17429 allow_undefined_flag_CXX \
   17430 no_undefined_flag_CXX \
   17431 hardcode_libdir_flag_spec_CXX \
   17432 hardcode_libdir_flag_spec_ld_CXX \
   17433 hardcode_libdir_separator_CXX \
   17434 fix_srcfile_path_CXX \
   17435 exclude_expsyms_CXX \
   17436 include_expsyms_CXX \
   17437 file_list_spec_CXX \
   17438 compiler_lib_search_dirs_CXX \
   17439 predep_objects_CXX \
   17440 postdep_objects_CXX \
   17441 predeps_CXX \
   17442 postdeps_CXX \
   17443 compiler_lib_search_path_CXX; do
   17444     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17445     *[\\\\\\\`\\"\\\$]*)
   17446       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   17447       ;;
   17448     *)
   17449       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17450       ;;
   17451     esac
   17452 done
   17453 
   17454 # Double-quote double-evaled strings.
   17455 for var in reload_cmds \
   17456 old_postinstall_cmds \
   17457 old_postuninstall_cmds \
   17458 old_archive_cmds \
   17459 extract_expsyms_cmds \
   17460 old_archive_from_new_cmds \
   17461 old_archive_from_expsyms_cmds \
   17462 archive_cmds \
   17463 archive_expsym_cmds \
   17464 module_cmds \
   17465 module_expsym_cmds \
   17466 export_symbols_cmds \
   17467 prelink_cmds \
   17468 postinstall_cmds \
   17469 postuninstall_cmds \
   17470 finish_cmds \
   17471 sys_lib_search_path_spec \
   17472 sys_lib_dlsearch_path_spec \
   17473 reload_cmds_CXX \
   17474 old_archive_cmds_CXX \
   17475 old_archive_from_new_cmds_CXX \
   17476 old_archive_from_expsyms_cmds_CXX \
   17477 archive_cmds_CXX \
   17478 archive_expsym_cmds_CXX \
   17479 module_cmds_CXX \
   17480 module_expsym_cmds_CXX \
   17481 export_symbols_cmds_CXX \
   17482 prelink_cmds_CXX; do
   17483     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17484     *[\\\\\\\`\\"\\\$]*)
   17485       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   17486       ;;
   17487     *)
   17488       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17489       ;;
   17490     esac
   17491 done
   17492 
   17493 ac_aux_dir='$ac_aux_dir'
   17494 xsi_shell='$xsi_shell'
   17495 lt_shell_append='$lt_shell_append'
   17496 
   17497 # See if we are running on zsh, and set the options which allow our
   17498 # commands through without removal of \ escapes INIT.
   17499 if test -n "\${ZSH_VERSION+set}" ; then
   17500    setopt NO_GLOB_SUBST
   17501 fi
   17502 
   17503 
   17504     PACKAGE='$PACKAGE'
   17505     VERSION='$VERSION'
   17506     TIMESTAMP='$TIMESTAMP'
   17507     RM='$RM'
   17508     ofile='$ofile'
   17509 
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 GCC="$GCC"
   17516 CC="$CC"
   17517 acx_cv_header_stdint="$acx_cv_header_stdint"
   17518 acx_cv_type_int8_t="$acx_cv_type_int8_t"
   17519 acx_cv_type_int16_t="$acx_cv_type_int16_t"
   17520 acx_cv_type_int32_t="$acx_cv_type_int32_t"
   17521 acx_cv_type_int64_t="$acx_cv_type_int64_t"
   17522 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
   17523 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
   17524 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
   17525 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   17526 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   17527 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
   17528 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   17529 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   17530 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
   17531 
   17532 
   17533 _ACEOF
   17534 
   17535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17536 
   17537 # Handling of arguments.
   17538 for ac_config_target in $ac_config_targets
   17539 do
   17540   case $ac_config_target in
   17541     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   17542     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   17543     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   17544     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
   17545     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   17546     "libsanitizer.spec") CONFIG_FILES="$CONFIG_FILES libsanitizer.spec" ;;
   17547     "libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
   17548     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   17549     "interception/Makefile") CONFIG_FILES="$CONFIG_FILES interception/Makefile" ;;
   17550     "sanitizer_common/Makefile") CONFIG_FILES="$CONFIG_FILES sanitizer_common/Makefile" ;;
   17551     "libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES libbacktrace/Makefile" ;;
   17552     "lsan/Makefile") CONFIG_FILES="$CONFIG_FILES lsan/Makefile" ;;
   17553     "asan/Makefile") CONFIG_FILES="$CONFIG_FILES asan/Makefile" ;;
   17554     "ubsan/Makefile") CONFIG_FILES="$CONFIG_FILES ubsan/Makefile" ;;
   17555     "tsan/Makefile") CONFIG_FILES="$CONFIG_FILES tsan/Makefile" ;;
   17556 
   17557   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   17558   esac
   17559 done
   17560 
   17561 
   17562 # If the user did not use the arguments to specify the items to instantiate,
   17563 # then the envvar interface is used.  Set only those that are not.
   17564 # We use the long form for the default assignment because of an extremely
   17565 # bizarre bug on SunOS 4.1.3.
   17566 if $ac_need_defaults; then
   17567   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   17568   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   17569   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   17570 fi
   17571 
   17572 # Have a temporary directory for convenience.  Make it in the build tree
   17573 # simply because there is no reason against having it here, and in addition,
   17574 # creating and moving files from /tmp can sometimes cause problems.
   17575 # Hook for its removal unless debugging.
   17576 # Note that there is a small window in which the directory will not be cleaned:
   17577 # after its creation but before its name has been assigned to `$tmp'.
   17578 $debug ||
   17579 {
   17580   tmp=
   17581   trap 'exit_status=$?
   17582   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   17583 ' 0
   17584   trap 'as_fn_exit 1' 1 2 13 15
   17585 }
   17586 # Create a (secure) tmp directory for tmp files.
   17587 
   17588 {
   17589   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   17590   test -n "$tmp" && test -d "$tmp"
   17591 }  ||
   17592 {
   17593   tmp=./conf$$-$RANDOM
   17594   (umask 077 && mkdir "$tmp")
   17595 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   17596 
   17597 # Set up the scripts for CONFIG_FILES section.
   17598 # No need to generate them if there are no CONFIG_FILES.
   17599 # This happens for instance with `./config.status config.h'.
   17600 if test -n "$CONFIG_FILES"; then
   17601 
   17602 
   17603 ac_cr=`echo X | tr X '\015'`
   17604 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   17605 # But we know of no other shell where ac_cr would be empty at this
   17606 # point, so we can use a bashism as a fallback.
   17607 if test "x$ac_cr" = x; then
   17608   eval ac_cr=\$\'\\r\'
   17609 fi
   17610 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   17611 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   17612   ac_cs_awk_cr='\r'
   17613 else
   17614   ac_cs_awk_cr=$ac_cr
   17615 fi
   17616 
   17617 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   17618 _ACEOF
   17619 
   17620 
   17621 {
   17622   echo "cat >conf$$subs.awk <<_ACEOF" &&
   17623   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   17624   echo "_ACEOF"
   17625 } >conf$$subs.sh ||
   17626   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   17627 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   17628 ac_delim='%!_!# '
   17629 for ac_last_try in false false false false false :; do
   17630   . ./conf$$subs.sh ||
   17631     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   17632 
   17633   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   17634   if test $ac_delim_n = $ac_delim_num; then
   17635     break
   17636   elif $ac_last_try; then
   17637     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   17638   else
   17639     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17640   fi
   17641 done
   17642 rm -f conf$$subs.sh
   17643 
   17644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17645 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   17646 _ACEOF
   17647 sed -n '
   17648 h
   17649 s/^/S["/; s/!.*/"]=/
   17650 p
   17651 g
   17652 s/^[^!]*!//
   17653 :repl
   17654 t repl
   17655 s/'"$ac_delim"'$//
   17656 t delim
   17657 :nl
   17658 h
   17659 s/\(.\{148\}\).*/\1/
   17660 t more1
   17661 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   17662 p
   17663 n
   17664 b repl
   17665 :more1
   17666 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17667 p
   17668 g
   17669 s/.\{148\}//
   17670 t nl
   17671 :delim
   17672 h
   17673 s/\(.\{148\}\).*/\1/
   17674 t more2
   17675 s/["\\]/\\&/g; s/^/"/; s/$/"/
   17676 p
   17677 b
   17678 :more2
   17679 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   17680 p
   17681 g
   17682 s/.\{148\}//
   17683 t delim
   17684 ' <conf$$subs.awk | sed '
   17685 /^[^""]/{
   17686   N
   17687   s/\n//
   17688 }
   17689 ' >>$CONFIG_STATUS || ac_write_fail=1
   17690 rm -f conf$$subs.awk
   17691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17692 _ACAWK
   17693 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   17694   for (key in S) S_is_set[key] = 1
   17695   FS = ""
   17696 
   17697 }
   17698 {
   17699   line = $ 0
   17700   nfields = split(line, field, "@")
   17701   substed = 0
   17702   len = length(field[1])
   17703   for (i = 2; i < nfields; i++) {
   17704     key = field[i]
   17705     keylen = length(key)
   17706     if (S_is_set[key]) {
   17707       value = S[key]
   17708       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   17709       len += length(value) + length(field[++i])
   17710       substed = 1
   17711     } else
   17712       len += 1 + keylen
   17713   }
   17714 
   17715   print line
   17716 }
   17717 
   17718 _ACAWK
   17719 _ACEOF
   17720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17721 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   17722   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   17723 else
   17724   cat
   17725 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   17726   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   17727 _ACEOF
   17728 
   17729 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   17730 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   17731 # trailing colons and then remove the whole line if VPATH becomes empty
   17732 # (actually we leave an empty line to preserve line numbers).
   17733 if test "x$srcdir" = x.; then
   17734   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   17735 s/:*\$(srcdir):*/:/
   17736 s/:*\${srcdir}:*/:/
   17737 s/:*@srcdir@:*/:/
   17738 s/^\([^=]*=[	 ]*\):*/\1/
   17739 s/:*$//
   17740 s/^[^=]*=[	 ]*$//
   17741 }'
   17742 fi
   17743 
   17744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17745 fi # test -n "$CONFIG_FILES"
   17746 
   17747 # Set up the scripts for CONFIG_HEADERS section.
   17748 # No need to generate them if there are no CONFIG_HEADERS.
   17749 # This happens for instance with `./config.status Makefile'.
   17750 if test -n "$CONFIG_HEADERS"; then
   17751 cat >"$tmp/defines.awk" <<\_ACAWK ||
   17752 BEGIN {
   17753 _ACEOF
   17754 
   17755 # Transform confdefs.h into an awk script `defines.awk', embedded as
   17756 # here-document in config.status, that substitutes the proper values into
   17757 # config.h.in to produce config.h.
   17758 
   17759 # Create a delimiter string that does not exist in confdefs.h, to ease
   17760 # handling of long lines.
   17761 ac_delim='%!_!# '
   17762 for ac_last_try in false false :; do
   17763   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   17764   if test -z "$ac_t"; then
   17765     break
   17766   elif $ac_last_try; then
   17767     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   17768   else
   17769     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   17770   fi
   17771 done
   17772 
   17773 # For the awk script, D is an array of macro values keyed by name,
   17774 # likewise P contains macro parameters if any.  Preserve backslash
   17775 # newline sequences.
   17776 
   17777 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   17778 sed -n '
   17779 s/.\{148\}/&'"$ac_delim"'/g
   17780 t rset
   17781 :rset
   17782 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   17783 t def
   17784 d
   17785 :def
   17786 s/\\$//
   17787 t bsnl
   17788 s/["\\]/\\&/g
   17789 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17790 D["\1"]=" \3"/p
   17791 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   17792 d
   17793 :bsnl
   17794 s/["\\]/\\&/g
   17795 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   17796 D["\1"]=" \3\\\\\\n"\\/p
   17797 t cont
   17798 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   17799 t cont
   17800 d
   17801 :cont
   17802 n
   17803 s/.\{148\}/&'"$ac_delim"'/g
   17804 t clear
   17805 :clear
   17806 s/\\$//
   17807 t bsnlc
   17808 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   17809 d
   17810 :bsnlc
   17811 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   17812 b cont
   17813 ' <confdefs.h | sed '
   17814 s/'"$ac_delim"'/"\\\
   17815 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   17816 
   17817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17818   for (key in D) D_is_set[key] = 1
   17819   FS = ""
   17820 }
   17821 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   17822   line = \$ 0
   17823   split(line, arg, " ")
   17824   if (arg[1] == "#") {
   17825     defundef = arg[2]
   17826     mac1 = arg[3]
   17827   } else {
   17828     defundef = substr(arg[1], 2)
   17829     mac1 = arg[2]
   17830   }
   17831   split(mac1, mac2, "(") #)
   17832   macro = mac2[1]
   17833   prefix = substr(line, 1, index(line, defundef) - 1)
   17834   if (D_is_set[macro]) {
   17835     # Preserve the white space surrounding the "#".
   17836     print prefix "define", macro P[macro] D[macro]
   17837     next
   17838   } else {
   17839     # Replace #undef with comments.  This is necessary, for example,
   17840     # in the case of _POSIX_SOURCE, which is predefined and required
   17841     # on some systems where configure will not decide to define it.
   17842     if (defundef == "undef") {
   17843       print "/*", prefix defundef, macro, "*/"
   17844       next
   17845     }
   17846   }
   17847 }
   17848 { print }
   17849 _ACAWK
   17850 _ACEOF
   17851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17852   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   17853 fi # test -n "$CONFIG_HEADERS"
   17854 
   17855 
   17856 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   17857 shift
   17858 for ac_tag
   17859 do
   17860   case $ac_tag in
   17861   :[FHLC]) ac_mode=$ac_tag; continue;;
   17862   esac
   17863   case $ac_mode$ac_tag in
   17864   :[FHL]*:*);;
   17865   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17866   :[FH]-) ac_tag=-:-;;
   17867   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17868   esac
   17869   ac_save_IFS=$IFS
   17870   IFS=:
   17871   set x $ac_tag
   17872   IFS=$ac_save_IFS
   17873   shift
   17874   ac_file=$1
   17875   shift
   17876 
   17877   case $ac_mode in
   17878   :L) ac_source=$1;;
   17879   :[FH])
   17880     ac_file_inputs=
   17881     for ac_f
   17882     do
   17883       case $ac_f in
   17884       -) ac_f="$tmp/stdin";;
   17885       *) # Look for the file first in the build tree, then in the source tree
   17886 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17887 	 # because $ac_f cannot contain `:'.
   17888 	 test -f "$ac_f" ||
   17889 	   case $ac_f in
   17890 	   [\\/$]*) false;;
   17891 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17892 	   esac ||
   17893 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17894       esac
   17895       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17896       as_fn_append ac_file_inputs " '$ac_f'"
   17897     done
   17898 
   17899     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17900     # use $as_me), people would be surprised to read:
   17901     #    /* config.h.  Generated by config.status.  */
   17902     configure_input='Generated from '`
   17903 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17904 	`' by configure.'
   17905     if test x"$ac_file" != x-; then
   17906       configure_input="$ac_file.  $configure_input"
   17907       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17908 $as_echo "$as_me: creating $ac_file" >&6;}
   17909     fi
   17910     # Neutralize special characters interpreted by sed in replacement strings.
   17911     case $configure_input in #(
   17912     *\&* | *\|* | *\\* )
   17913        ac_sed_conf_input=`$as_echo "$configure_input" |
   17914        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17915     *) ac_sed_conf_input=$configure_input;;
   17916     esac
   17917 
   17918     case $ac_tag in
   17919     *:-:* | *:-) cat >"$tmp/stdin" \
   17920       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   17921     esac
   17922     ;;
   17923   esac
   17924 
   17925   ac_dir=`$as_dirname -- "$ac_file" ||
   17926 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17927 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17928 	 X"$ac_file" : 'X\(//\)$' \| \
   17929 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17930 $as_echo X"$ac_file" |
   17931     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17932 	    s//\1/
   17933 	    q
   17934 	  }
   17935 	  /^X\(\/\/\)[^/].*/{
   17936 	    s//\1/
   17937 	    q
   17938 	  }
   17939 	  /^X\(\/\/\)$/{
   17940 	    s//\1/
   17941 	    q
   17942 	  }
   17943 	  /^X\(\/\).*/{
   17944 	    s//\1/
   17945 	    q
   17946 	  }
   17947 	  s/.*/./; q'`
   17948   as_dir="$ac_dir"; as_fn_mkdir_p
   17949   ac_builddir=.
   17950 
   17951 case "$ac_dir" in
   17952 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17953 *)
   17954   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17955   # A ".." for each directory in $ac_dir_suffix.
   17956   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17957   case $ac_top_builddir_sub in
   17958   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17959   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17960   esac ;;
   17961 esac
   17962 ac_abs_top_builddir=$ac_pwd
   17963 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17964 # for backward compatibility:
   17965 ac_top_builddir=$ac_top_build_prefix
   17966 
   17967 case $srcdir in
   17968   .)  # We are building in place.
   17969     ac_srcdir=.
   17970     ac_top_srcdir=$ac_top_builddir_sub
   17971     ac_abs_top_srcdir=$ac_pwd ;;
   17972   [\\/]* | ?:[\\/]* )  # Absolute name.
   17973     ac_srcdir=$srcdir$ac_dir_suffix;
   17974     ac_top_srcdir=$srcdir
   17975     ac_abs_top_srcdir=$srcdir ;;
   17976   *) # Relative name.
   17977     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17978     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17979     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17980 esac
   17981 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17982 
   17983 
   17984   case $ac_mode in
   17985   :F)
   17986   #
   17987   # CONFIG_FILE
   17988   #
   17989 
   17990   case $INSTALL in
   17991   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17992   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17993   esac
   17994   ac_MKDIR_P=$MKDIR_P
   17995   case $MKDIR_P in
   17996   [\\/$]* | ?:[\\/]* ) ;;
   17997   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17998   esac
   17999 _ACEOF
   18000 
   18001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18002 # If the template does not know about datarootdir, expand it.
   18003 # FIXME: This hack should be removed a few years after 2.60.
   18004 ac_datarootdir_hack=; ac_datarootdir_seen=
   18005 ac_sed_dataroot='
   18006 /datarootdir/ {
   18007   p
   18008   q
   18009 }
   18010 /@datadir@/p
   18011 /@docdir@/p
   18012 /@infodir@/p
   18013 /@localedir@/p
   18014 /@mandir@/p'
   18015 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18016 *datarootdir*) ac_datarootdir_seen=yes;;
   18017 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18018   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18019 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18020 _ACEOF
   18021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18022   ac_datarootdir_hack='
   18023   s&@datadir@&$datadir&g
   18024   s&@docdir@&$docdir&g
   18025   s&@infodir@&$infodir&g
   18026   s&@localedir@&$localedir&g
   18027   s&@mandir@&$mandir&g
   18028   s&\\\${datarootdir}&$datarootdir&g' ;;
   18029 esac
   18030 _ACEOF
   18031 
   18032 # Neutralize VPATH when `$srcdir' = `.'.
   18033 # Shell code in configure.ac might set extrasub.
   18034 # FIXME: do we really want to maintain this feature?
   18035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18036 ac_sed_extra="$ac_vpsub
   18037 $extrasub
   18038 _ACEOF
   18039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18040 :t
   18041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18042 s|@configure_input@|$ac_sed_conf_input|;t t
   18043 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18044 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18045 s&@srcdir@&$ac_srcdir&;t t
   18046 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18047 s&@top_srcdir@&$ac_top_srcdir&;t t
   18048 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18049 s&@builddir@&$ac_builddir&;t t
   18050 s&@abs_builddir@&$ac_abs_builddir&;t t
   18051 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18052 s&@INSTALL@&$ac_INSTALL&;t t
   18053 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18054 $ac_datarootdir_hack
   18055 "
   18056 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   18057   || as_fn_error "could not create $ac_file" "$LINENO" 5
   18058 
   18059 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18060   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   18061   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   18062   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18063 which seems to be undefined.  Please make sure it is defined." >&5
   18064 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18065 which seems to be undefined.  Please make sure it is defined." >&2;}
   18066 
   18067   rm -f "$tmp/stdin"
   18068   case $ac_file in
   18069   -) cat "$tmp/out" && rm -f "$tmp/out";;
   18070   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   18071   esac \
   18072   || as_fn_error "could not create $ac_file" "$LINENO" 5
   18073  ;;
   18074   :H)
   18075   #
   18076   # CONFIG_HEADER
   18077   #
   18078   if test x"$ac_file" != x-; then
   18079     {
   18080       $as_echo "/* $configure_input  */" \
   18081       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   18082     } >"$tmp/config.h" \
   18083       || as_fn_error "could not create $ac_file" "$LINENO" 5
   18084     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   18085       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18086 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18087     else
   18088       rm -f "$ac_file"
   18089       mv "$tmp/config.h" "$ac_file" \
   18090 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   18091     fi
   18092   else
   18093     $as_echo "/* $configure_input  */" \
   18094       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   18095       || as_fn_error "could not create -" "$LINENO" 5
   18096   fi
   18097 # Compute "$ac_file"'s index in $config_headers.
   18098 _am_arg="$ac_file"
   18099 _am_stamp_count=1
   18100 for _am_header in $config_headers :; do
   18101   case $_am_header in
   18102     $_am_arg | $_am_arg:* )
   18103       break ;;
   18104     * )
   18105       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18106   esac
   18107 done
   18108 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18109 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18110 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18111 	 X"$_am_arg" : 'X\(//\)$' \| \
   18112 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18113 $as_echo X"$_am_arg" |
   18114     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18115 	    s//\1/
   18116 	    q
   18117 	  }
   18118 	  /^X\(\/\/\)[^/].*/{
   18119 	    s//\1/
   18120 	    q
   18121 	  }
   18122 	  /^X\(\/\/\)$/{
   18123 	    s//\1/
   18124 	    q
   18125 	  }
   18126 	  /^X\(\/\).*/{
   18127 	    s//\1/
   18128 	    q
   18129 	  }
   18130 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18131  ;;
   18132 
   18133   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18134 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18135  ;;
   18136   esac
   18137 
   18138 
   18139   case $ac_file$ac_mode in
   18140     "default-1":C)
   18141 # Only add multilib support code if we just rebuilt the top-level
   18142 # Makefile.
   18143 case " $CONFIG_FILES " in
   18144  *" Makefile "*)
   18145    ac_file=Makefile . ${multi_basedir}/config-ml.in
   18146    ;;
   18147 esac ;;
   18148     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18149   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   18150   # are listed without --file.  Let's play safe and only enable the eval
   18151   # if we detect the quoting.
   18152   case $CONFIG_FILES in
   18153   *\'*) eval set x "$CONFIG_FILES" ;;
   18154   *)   set x $CONFIG_FILES ;;
   18155   esac
   18156   shift
   18157   for mf
   18158   do
   18159     # Strip MF so we end up with the name of the file.
   18160     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18161     # Check whether this is an Automake generated Makefile or not.
   18162     # We used to match only the files named `Makefile.in', but
   18163     # some people rename them; so instead we look at the file content.
   18164     # Grep'ing the first line is not enough: some people post-process
   18165     # each Makefile.in and add a new line on top of each file to say so.
   18166     # Grep'ing the whole file is not good either: AIX grep has a line
   18167     # limit of 2048, but all sed's we know have understand at least 4000.
   18168     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18169       dirpart=`$as_dirname -- "$mf" ||
   18170 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18171 	 X"$mf" : 'X\(//\)[^/]' \| \
   18172 	 X"$mf" : 'X\(//\)$' \| \
   18173 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18174 $as_echo X"$mf" |
   18175     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18176 	    s//\1/
   18177 	    q
   18178 	  }
   18179 	  /^X\(\/\/\)[^/].*/{
   18180 	    s//\1/
   18181 	    q
   18182 	  }
   18183 	  /^X\(\/\/\)$/{
   18184 	    s//\1/
   18185 	    q
   18186 	  }
   18187 	  /^X\(\/\).*/{
   18188 	    s//\1/
   18189 	    q
   18190 	  }
   18191 	  s/.*/./; q'`
   18192     else
   18193       continue
   18194     fi
   18195     # Extract the definition of DEPDIR, am__include, and am__quote
   18196     # from the Makefile without running `make'.
   18197     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18198     test -z "$DEPDIR" && continue
   18199     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18200     test -z "am__include" && continue
   18201     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18202     # When using ansi2knr, U may be empty or an underscore; expand it
   18203     U=`sed -n 's/^U = //p' < "$mf"`
   18204     # Find all dependency output files, they are included files with
   18205     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18206     # simplest approach to changing $(DEPDIR) to its actual value in the
   18207     # expansion.
   18208     for file in `sed -n "
   18209       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18210 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   18211       # Make sure the directory exists.
   18212       test -f "$dirpart/$file" && continue
   18213       fdir=`$as_dirname -- "$file" ||
   18214 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18215 	 X"$file" : 'X\(//\)[^/]' \| \
   18216 	 X"$file" : 'X\(//\)$' \| \
   18217 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18218 $as_echo X"$file" |
   18219     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18220 	    s//\1/
   18221 	    q
   18222 	  }
   18223 	  /^X\(\/\/\)[^/].*/{
   18224 	    s//\1/
   18225 	    q
   18226 	  }
   18227 	  /^X\(\/\/\)$/{
   18228 	    s//\1/
   18229 	    q
   18230 	  }
   18231 	  /^X\(\/\).*/{
   18232 	    s//\1/
   18233 	    q
   18234 	  }
   18235 	  s/.*/./; q'`
   18236       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18237       # echo "creating $dirpart/$file"
   18238       echo '# dummy' > "$dirpart/$file"
   18239     done
   18240   done
   18241 }
   18242  ;;
   18243     "libtool":C)
   18244 
   18245     # See if we are running on zsh, and set the options which allow our
   18246     # commands through without removal of \ escapes.
   18247     if test -n "${ZSH_VERSION+set}" ; then
   18248       setopt NO_GLOB_SUBST
   18249     fi
   18250 
   18251     cfgfile="${ofile}T"
   18252     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18253     $RM "$cfgfile"
   18254 
   18255     cat <<_LT_EOF >> "$cfgfile"
   18256 #! $SHELL
   18257 
   18258 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18259 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18260 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18261 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18262 #
   18263 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18264 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   18265 #   Written by Gordon Matzigkeit, 1996
   18266 #
   18267 #   This file is part of GNU Libtool.
   18268 #
   18269 # GNU Libtool is free software; you can redistribute it and/or
   18270 # modify it under the terms of the GNU General Public License as
   18271 # published by the Free Software Foundation; either version 2 of
   18272 # the License, or (at your option) any later version.
   18273 #
   18274 # As a special exception to the GNU General Public License,
   18275 # if you distribute this file as part of a program or library that
   18276 # is built using GNU Libtool, you may include this file under the
   18277 # same distribution terms that you use for the rest of that program.
   18278 #
   18279 # GNU Libtool is distributed in the hope that it will be useful,
   18280 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18281 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18282 # GNU General Public License for more details.
   18283 #
   18284 # You should have received a copy of the GNU General Public License
   18285 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18286 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18287 # obtained by writing to the Free Software Foundation, Inc.,
   18288 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18289 
   18290 
   18291 # The names of the tagged configurations supported by this script.
   18292 available_tags="CXX "
   18293 
   18294 # ### BEGIN LIBTOOL CONFIG
   18295 
   18296 # Which release of libtool.m4 was used?
   18297 macro_version=$macro_version
   18298 macro_revision=$macro_revision
   18299 
   18300 # Whether or not to build shared libraries.
   18301 build_libtool_libs=$enable_shared
   18302 
   18303 # Whether or not to build static libraries.
   18304 build_old_libs=$enable_static
   18305 
   18306 # What type of objects to build.
   18307 pic_mode=$pic_mode
   18308 
   18309 # Whether or not to optimize for fast installation.
   18310 fast_install=$enable_fast_install
   18311 
   18312 # Shell to use when invoking shell scripts.
   18313 SHELL=$lt_SHELL
   18314 
   18315 # An echo program that protects backslashes.
   18316 ECHO=$lt_ECHO
   18317 
   18318 # The host system.
   18319 host_alias=$host_alias
   18320 host=$host
   18321 host_os=$host_os
   18322 
   18323 # The build system.
   18324 build_alias=$build_alias
   18325 build=$build
   18326 build_os=$build_os
   18327 
   18328 # A sed program that does not truncate output.
   18329 SED=$lt_SED
   18330 
   18331 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18332 Xsed="\$SED -e 1s/^X//"
   18333 
   18334 # A grep program that handles long lines.
   18335 GREP=$lt_GREP
   18336 
   18337 # An ERE matcher.
   18338 EGREP=$lt_EGREP
   18339 
   18340 # A literal string matcher.
   18341 FGREP=$lt_FGREP
   18342 
   18343 # A BSD- or MS-compatible name lister.
   18344 NM=$lt_NM
   18345 
   18346 # Whether we need soft or hard links.
   18347 LN_S=$lt_LN_S
   18348 
   18349 # What is the maximum length of a command?
   18350 max_cmd_len=$max_cmd_len
   18351 
   18352 # Object file suffix (normally "o").
   18353 objext=$ac_objext
   18354 
   18355 # Executable file suffix (normally "").
   18356 exeext=$exeext
   18357 
   18358 # whether the shell understands "unset".
   18359 lt_unset=$lt_unset
   18360 
   18361 # turn spaces into newlines.
   18362 SP2NL=$lt_lt_SP2NL
   18363 
   18364 # turn newlines into spaces.
   18365 NL2SP=$lt_lt_NL2SP
   18366 
   18367 # An object symbol dumper.
   18368 OBJDUMP=$lt_OBJDUMP
   18369 
   18370 # Method to check whether dependent libraries are shared objects.
   18371 deplibs_check_method=$lt_deplibs_check_method
   18372 
   18373 # Command to use when deplibs_check_method == "file_magic".
   18374 file_magic_cmd=$lt_file_magic_cmd
   18375 
   18376 # The archiver.
   18377 AR=$lt_AR
   18378 AR_FLAGS=$lt_AR_FLAGS
   18379 
   18380 # A symbol stripping program.
   18381 STRIP=$lt_STRIP
   18382 
   18383 # Commands used to install an old-style archive.
   18384 RANLIB=$lt_RANLIB
   18385 old_postinstall_cmds=$lt_old_postinstall_cmds
   18386 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18387 
   18388 # Whether to use a lock for old archive extraction.
   18389 lock_old_archive_extraction=$lock_old_archive_extraction
   18390 
   18391 # A C compiler.
   18392 LTCC=$lt_CC
   18393 
   18394 # LTCC compiler flags.
   18395 LTCFLAGS=$lt_CFLAGS
   18396 
   18397 # Take the output of nm and produce a listing of raw symbols and C names.
   18398 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18399 
   18400 # Transform the output of nm in a proper C declaration.
   18401 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18402 
   18403 # Transform the output of nm in a C name address pair.
   18404 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18405 
   18406 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18407 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18408 
   18409 # The name of the directory that contains temporary libtool files.
   18410 objdir=$objdir
   18411 
   18412 # Used to examine libraries when file_magic_cmd begins with "file".
   18413 MAGIC_CMD=$MAGIC_CMD
   18414 
   18415 # Must we lock files when doing compilation?
   18416 need_locks=$lt_need_locks
   18417 
   18418 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18419 DSYMUTIL=$lt_DSYMUTIL
   18420 
   18421 # Tool to change global to local symbols on Mac OS X.
   18422 NMEDIT=$lt_NMEDIT
   18423 
   18424 # Tool to manipulate fat objects and archives on Mac OS X.
   18425 LIPO=$lt_LIPO
   18426 
   18427 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   18428 OTOOL=$lt_OTOOL
   18429 
   18430 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   18431 OTOOL64=$lt_OTOOL64
   18432 
   18433 # Old archive suffix (normally "a").
   18434 libext=$libext
   18435 
   18436 # Shared library suffix (normally ".so").
   18437 shrext_cmds=$lt_shrext_cmds
   18438 
   18439 # The commands to extract the exported symbol list from a shared archive.
   18440 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18441 
   18442 # Variables whose values should be saved in libtool wrapper scripts and
   18443 # restored at link time.
   18444 variables_saved_for_relink=$lt_variables_saved_for_relink
   18445 
   18446 # Do we need the "lib" prefix for modules?
   18447 need_lib_prefix=$need_lib_prefix
   18448 
   18449 # Do we need a version for libraries?
   18450 need_version=$need_version
   18451 
   18452 # Library versioning type.
   18453 version_type=$version_type
   18454 
   18455 # Shared library runtime path variable.
   18456 runpath_var=$runpath_var
   18457 
   18458 # Shared library path variable.
   18459 shlibpath_var=$shlibpath_var
   18460 
   18461 # Is shlibpath searched before the hard-coded library search path?
   18462 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18463 
   18464 # Format of library name prefix.
   18465 libname_spec=$lt_libname_spec
   18466 
   18467 # List of archive names.  First name is the real one, the rest are links.
   18468 # The last name is the one that the linker finds with -lNAME
   18469 library_names_spec=$lt_library_names_spec
   18470 
   18471 # The coded name of the library, if different from the real name.
   18472 soname_spec=$lt_soname_spec
   18473 
   18474 # Permission mode override for installation of shared libraries.
   18475 install_override_mode=$lt_install_override_mode
   18476 
   18477 # Command to use after installation of a shared archive.
   18478 postinstall_cmds=$lt_postinstall_cmds
   18479 
   18480 # Command to use after uninstallation of a shared archive.
   18481 postuninstall_cmds=$lt_postuninstall_cmds
   18482 
   18483 # Commands used to finish a libtool library installation in a directory.
   18484 finish_cmds=$lt_finish_cmds
   18485 
   18486 # As "finish_cmds", except a single script fragment to be evaled but
   18487 # not shown.
   18488 finish_eval=$lt_finish_eval
   18489 
   18490 # Whether we should hardcode library paths into libraries.
   18491 hardcode_into_libs=$hardcode_into_libs
   18492 
   18493 # Compile-time system search path for libraries.
   18494 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   18495 
   18496 # Run-time system search path for libraries.
   18497 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   18498 
   18499 # Whether dlopen is supported.
   18500 dlopen_support=$enable_dlopen
   18501 
   18502 # Whether dlopen of programs is supported.
   18503 dlopen_self=$enable_dlopen_self
   18504 
   18505 # Whether dlopen of statically linked programs is supported.
   18506 dlopen_self_static=$enable_dlopen_self_static
   18507 
   18508 # Commands to strip libraries.
   18509 old_striplib=$lt_old_striplib
   18510 striplib=$lt_striplib
   18511 
   18512 
   18513 # The linker used to build libraries.
   18514 LD=$lt_LD
   18515 
   18516 # How to create reloadable object files.
   18517 reload_flag=$lt_reload_flag
   18518 reload_cmds=$lt_reload_cmds
   18519 
   18520 # Commands used to build an old-style archive.
   18521 old_archive_cmds=$lt_old_archive_cmds
   18522 
   18523 # A language specific compiler.
   18524 CC=$lt_compiler
   18525 
   18526 # Is the compiler the GNU compiler?
   18527 with_gcc=$GCC
   18528 
   18529 # Compiler flag to turn off builtin functions.
   18530 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   18531 
   18532 # How to pass a linker flag through the compiler.
   18533 wl=$lt_lt_prog_compiler_wl
   18534 
   18535 # Additional compiler flags for building library objects.
   18536 pic_flag=$lt_lt_prog_compiler_pic
   18537 
   18538 # Compiler flag to prevent dynamic linking.
   18539 link_static_flag=$lt_lt_prog_compiler_static
   18540 
   18541 # Does compiler simultaneously support -c and -o options?
   18542 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   18543 
   18544 # Whether or not to add -lc for building shared libraries.
   18545 build_libtool_need_lc=$archive_cmds_need_lc
   18546 
   18547 # Whether or not to disallow shared libs when runtime libs are static.
   18548 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   18549 
   18550 # Compiler flag to allow reflexive dlopens.
   18551 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   18552 
   18553 # Compiler flag to generate shared objects directly from archives.
   18554 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   18555 
   18556 # Whether the compiler copes with passing no objects directly.
   18557 compiler_needs_object=$lt_compiler_needs_object
   18558 
   18559 # Create an old-style archive from a shared archive.
   18560 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   18561 
   18562 # Create a temporary old-style archive to link instead of a shared archive.
   18563 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   18564 
   18565 # Commands used to build a shared archive.
   18566 archive_cmds=$lt_archive_cmds
   18567 archive_expsym_cmds=$lt_archive_expsym_cmds
   18568 
   18569 # Commands used to build a loadable module if different from building
   18570 # a shared archive.
   18571 module_cmds=$lt_module_cmds
   18572 module_expsym_cmds=$lt_module_expsym_cmds
   18573 
   18574 # Whether we are building with GNU ld or not.
   18575 with_gnu_ld=$lt_with_gnu_ld
   18576 
   18577 # Flag that allows shared libraries with undefined symbols to be built.
   18578 allow_undefined_flag=$lt_allow_undefined_flag
   18579 
   18580 # Flag that enforces no undefined symbols.
   18581 no_undefined_flag=$lt_no_undefined_flag
   18582 
   18583 # Flag to hardcode \$libdir into a binary during linking.
   18584 # This must work even if \$libdir does not exist
   18585 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   18586 
   18587 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18588 # during linking.  This must work even if \$libdir does not exist.
   18589 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   18590 
   18591 # Whether we need a single "-rpath" flag with a separated argument.
   18592 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   18593 
   18594 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18595 # DIR into the resulting binary.
   18596 hardcode_direct=$hardcode_direct
   18597 
   18598 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18599 # DIR into the resulting binary and the resulting library dependency is
   18600 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18601 # library is relocated.
   18602 hardcode_direct_absolute=$hardcode_direct_absolute
   18603 
   18604 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18605 # into the resulting binary.
   18606 hardcode_minus_L=$hardcode_minus_L
   18607 
   18608 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18609 # into the resulting binary.
   18610 hardcode_shlibpath_var=$hardcode_shlibpath_var
   18611 
   18612 # Set to "yes" if building a shared library automatically hardcodes DIR
   18613 # into the library and all subsequent libraries and executables linked
   18614 # against it.
   18615 hardcode_automatic=$hardcode_automatic
   18616 
   18617 # Set to yes if linker adds runtime paths of dependent libraries
   18618 # to runtime path list.
   18619 inherit_rpath=$inherit_rpath
   18620 
   18621 # Whether libtool must link a program against all its dependency libraries.
   18622 link_all_deplibs=$link_all_deplibs
   18623 
   18624 # Fix the shell variable \$srcfile for the compiler.
   18625 fix_srcfile_path=$lt_fix_srcfile_path
   18626 
   18627 # Set to "yes" if exported symbols are required.
   18628 always_export_symbols=$always_export_symbols
   18629 
   18630 # The commands to list exported symbols.
   18631 export_symbols_cmds=$lt_export_symbols_cmds
   18632 
   18633 # Symbols that should not be listed in the preloaded symbols.
   18634 exclude_expsyms=$lt_exclude_expsyms
   18635 
   18636 # Symbols that must always be exported.
   18637 include_expsyms=$lt_include_expsyms
   18638 
   18639 # Commands necessary for linking programs (against libraries) with templates.
   18640 prelink_cmds=$lt_prelink_cmds
   18641 
   18642 # Specify filename containing input files.
   18643 file_list_spec=$lt_file_list_spec
   18644 
   18645 # How to hardcode a shared library path into an executable.
   18646 hardcode_action=$hardcode_action
   18647 
   18648 # The directories searched by this compiler when creating a shared library.
   18649 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   18650 
   18651 # Dependencies to place before and after the objects being linked to
   18652 # create a shared library.
   18653 predep_objects=$lt_predep_objects
   18654 postdep_objects=$lt_postdep_objects
   18655 predeps=$lt_predeps
   18656 postdeps=$lt_postdeps
   18657 
   18658 # The library search path used internally by the compiler when linking
   18659 # a shared library.
   18660 compiler_lib_search_path=$lt_compiler_lib_search_path
   18661 
   18662 # ### END LIBTOOL CONFIG
   18663 
   18664 _LT_EOF
   18665 
   18666   case $host_os in
   18667   aix3*)
   18668     cat <<\_LT_EOF >> "$cfgfile"
   18669 # AIX sometimes has problems with the GCC collect2 program.  For some
   18670 # reason, if we set the COLLECT_NAMES environment variable, the problems
   18671 # vanish in a puff of smoke.
   18672 if test "X${COLLECT_NAMES+set}" != Xset; then
   18673   COLLECT_NAMES=
   18674   export COLLECT_NAMES
   18675 fi
   18676 _LT_EOF
   18677     ;;
   18678   esac
   18679 
   18680 
   18681 ltmain="$ac_aux_dir/ltmain.sh"
   18682 
   18683 
   18684   # We use sed instead of cat because bash on DJGPP gets confused if
   18685   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   18686   # text mode, it properly converts lines to CR/LF.  This bash problem
   18687   # is reportedly fixed, but why not run on old versions too?
   18688   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   18689     || (rm -f "$cfgfile"; exit 1)
   18690 
   18691   case $xsi_shell in
   18692   yes)
   18693     cat << \_LT_EOF >> "$cfgfile"
   18694 
   18695 # func_dirname file append nondir_replacement
   18696 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   18697 # otherwise set result to NONDIR_REPLACEMENT.
   18698 func_dirname ()
   18699 {
   18700   case ${1} in
   18701     */*) func_dirname_result="${1%/*}${2}" ;;
   18702     *  ) func_dirname_result="${3}" ;;
   18703   esac
   18704 }
   18705 
   18706 # func_basename file
   18707 func_basename ()
   18708 {
   18709   func_basename_result="${1##*/}"
   18710 }
   18711 
   18712 # func_dirname_and_basename file append nondir_replacement
   18713 # perform func_basename and func_dirname in a single function
   18714 # call:
   18715 #   dirname:  Compute the dirname of FILE.  If nonempty,
   18716 #             add APPEND to the result, otherwise set result
   18717 #             to NONDIR_REPLACEMENT.
   18718 #             value returned in "$func_dirname_result"
   18719 #   basename: Compute filename of FILE.
   18720 #             value retuned in "$func_basename_result"
   18721 # Implementation must be kept synchronized with func_dirname
   18722 # and func_basename. For efficiency, we do not delegate to
   18723 # those functions but instead duplicate the functionality here.
   18724 func_dirname_and_basename ()
   18725 {
   18726   case ${1} in
   18727     */*) func_dirname_result="${1%/*}${2}" ;;
   18728     *  ) func_dirname_result="${3}" ;;
   18729   esac
   18730   func_basename_result="${1##*/}"
   18731 }
   18732 
   18733 # func_stripname prefix suffix name
   18734 # strip PREFIX and SUFFIX off of NAME.
   18735 # PREFIX and SUFFIX must not contain globbing or regex special
   18736 # characters, hashes, percent signs, but SUFFIX may contain a leading
   18737 # dot (in which case that matches only a dot).
   18738 func_stripname ()
   18739 {
   18740   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   18741   # positional parameters, so assign one to ordinary parameter first.
   18742   func_stripname_result=${3}
   18743   func_stripname_result=${func_stripname_result#"${1}"}
   18744   func_stripname_result=${func_stripname_result%"${2}"}
   18745 }
   18746 
   18747 # func_opt_split
   18748 func_opt_split ()
   18749 {
   18750   func_opt_split_opt=${1%%=*}
   18751   func_opt_split_arg=${1#*=}
   18752 }
   18753 
   18754 # func_lo2o object
   18755 func_lo2o ()
   18756 {
   18757   case ${1} in
   18758     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   18759     *)    func_lo2o_result=${1} ;;
   18760   esac
   18761 }
   18762 
   18763 # func_xform libobj-or-source
   18764 func_xform ()
   18765 {
   18766   func_xform_result=${1%.*}.lo
   18767 }
   18768 
   18769 # func_arith arithmetic-term...
   18770 func_arith ()
   18771 {
   18772   func_arith_result=$(( $* ))
   18773 }
   18774 
   18775 # func_len string
   18776 # STRING may not start with a hyphen.
   18777 func_len ()
   18778 {
   18779   func_len_result=${#1}
   18780 }
   18781 
   18782 _LT_EOF
   18783     ;;
   18784   *) # Bourne compatible functions.
   18785     cat << \_LT_EOF >> "$cfgfile"
   18786 
   18787 # func_dirname file append nondir_replacement
   18788 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   18789 # otherwise set result to NONDIR_REPLACEMENT.
   18790 func_dirname ()
   18791 {
   18792   # Extract subdirectory from the argument.
   18793   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   18794   if test "X$func_dirname_result" = "X${1}"; then
   18795     func_dirname_result="${3}"
   18796   else
   18797     func_dirname_result="$func_dirname_result${2}"
   18798   fi
   18799 }
   18800 
   18801 # func_basename file
   18802 func_basename ()
   18803 {
   18804   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   18805 }
   18806 
   18807 
   18808 # func_stripname prefix suffix name
   18809 # strip PREFIX and SUFFIX off of NAME.
   18810 # PREFIX and SUFFIX must not contain globbing or regex special
   18811 # characters, hashes, percent signs, but SUFFIX may contain a leading
   18812 # dot (in which case that matches only a dot).
   18813 # func_strip_suffix prefix name
   18814 func_stripname ()
   18815 {
   18816   case ${2} in
   18817     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   18818     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   18819   esac
   18820 }
   18821 
   18822 # sed scripts:
   18823 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   18824 my_sed_long_arg='1s/^-[^=]*=//'
   18825 
   18826 # func_opt_split
   18827 func_opt_split ()
   18828 {
   18829   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   18830   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   18831 }
   18832 
   18833 # func_lo2o object
   18834 func_lo2o ()
   18835 {
   18836   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   18837 }
   18838 
   18839 # func_xform libobj-or-source
   18840 func_xform ()
   18841 {
   18842   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   18843 }
   18844 
   18845 # func_arith arithmetic-term...
   18846 func_arith ()
   18847 {
   18848   func_arith_result=`expr "$@"`
   18849 }
   18850 
   18851 # func_len string
   18852 # STRING may not start with a hyphen.
   18853 func_len ()
   18854 {
   18855   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   18856 }
   18857 
   18858 _LT_EOF
   18859 esac
   18860 
   18861 case $lt_shell_append in
   18862   yes)
   18863     cat << \_LT_EOF >> "$cfgfile"
   18864 
   18865 # func_append var value
   18866 # Append VALUE to the end of shell variable VAR.
   18867 func_append ()
   18868 {
   18869   eval "$1+=\$2"
   18870 }
   18871 _LT_EOF
   18872     ;;
   18873   *)
   18874     cat << \_LT_EOF >> "$cfgfile"
   18875 
   18876 # func_append var value
   18877 # Append VALUE to the end of shell variable VAR.
   18878 func_append ()
   18879 {
   18880   eval "$1=\$$1\$2"
   18881 }
   18882 
   18883 _LT_EOF
   18884     ;;
   18885   esac
   18886 
   18887 
   18888   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   18889     || (rm -f "$cfgfile"; exit 1)
   18890 
   18891   mv -f "$cfgfile" "$ofile" ||
   18892     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18893   chmod +x "$ofile"
   18894 
   18895 
   18896     cat <<_LT_EOF >> "$ofile"
   18897 
   18898 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   18899 
   18900 # The linker used to build libraries.
   18901 LD=$lt_LD_CXX
   18902 
   18903 # How to create reloadable object files.
   18904 reload_flag=$lt_reload_flag_CXX
   18905 reload_cmds=$lt_reload_cmds_CXX
   18906 
   18907 # Commands used to build an old-style archive.
   18908 old_archive_cmds=$lt_old_archive_cmds_CXX
   18909 
   18910 # A language specific compiler.
   18911 CC=$lt_compiler_CXX
   18912 
   18913 # Is the compiler the GNU compiler?
   18914 with_gcc=$GCC_CXX
   18915 
   18916 # Compiler flag to turn off builtin functions.
   18917 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   18918 
   18919 # How to pass a linker flag through the compiler.
   18920 wl=$lt_lt_prog_compiler_wl_CXX
   18921 
   18922 # Additional compiler flags for building library objects.
   18923 pic_flag=$lt_lt_prog_compiler_pic_CXX
   18924 
   18925 # Compiler flag to prevent dynamic linking.
   18926 link_static_flag=$lt_lt_prog_compiler_static_CXX
   18927 
   18928 # Does compiler simultaneously support -c and -o options?
   18929 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   18930 
   18931 # Whether or not to add -lc for building shared libraries.
   18932 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   18933 
   18934 # Whether or not to disallow shared libs when runtime libs are static.
   18935 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   18936 
   18937 # Compiler flag to allow reflexive dlopens.
   18938 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   18939 
   18940 # Compiler flag to generate shared objects directly from archives.
   18941 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   18942 
   18943 # Whether the compiler copes with passing no objects directly.
   18944 compiler_needs_object=$lt_compiler_needs_object_CXX
   18945 
   18946 # Create an old-style archive from a shared archive.
   18947 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   18948 
   18949 # Create a temporary old-style archive to link instead of a shared archive.
   18950 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   18951 
   18952 # Commands used to build a shared archive.
   18953 archive_cmds=$lt_archive_cmds_CXX
   18954 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   18955 
   18956 # Commands used to build a loadable module if different from building
   18957 # a shared archive.
   18958 module_cmds=$lt_module_cmds_CXX
   18959 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   18960 
   18961 # Whether we are building with GNU ld or not.
   18962 with_gnu_ld=$lt_with_gnu_ld_CXX
   18963 
   18964 # Flag that allows shared libraries with undefined symbols to be built.
   18965 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   18966 
   18967 # Flag that enforces no undefined symbols.
   18968 no_undefined_flag=$lt_no_undefined_flag_CXX
   18969 
   18970 # Flag to hardcode \$libdir into a binary during linking.
   18971 # This must work even if \$libdir does not exist
   18972 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   18973 
   18974 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18975 # during linking.  This must work even if \$libdir does not exist.
   18976 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   18977 
   18978 # Whether we need a single "-rpath" flag with a separated argument.
   18979 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   18980 
   18981 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18982 # DIR into the resulting binary.
   18983 hardcode_direct=$hardcode_direct_CXX
   18984 
   18985 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18986 # DIR into the resulting binary and the resulting library dependency is
   18987 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18988 # library is relocated.
   18989 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   18990 
   18991 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18992 # into the resulting binary.
   18993 hardcode_minus_L=$hardcode_minus_L_CXX
   18994 
   18995 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18996 # into the resulting binary.
   18997 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   18998 
   18999 # Set to "yes" if building a shared library automatically hardcodes DIR
   19000 # into the library and all subsequent libraries and executables linked
   19001 # against it.
   19002 hardcode_automatic=$hardcode_automatic_CXX
   19003 
   19004 # Set to yes if linker adds runtime paths of dependent libraries
   19005 # to runtime path list.
   19006 inherit_rpath=$inherit_rpath_CXX
   19007 
   19008 # Whether libtool must link a program against all its dependency libraries.
   19009 link_all_deplibs=$link_all_deplibs_CXX
   19010 
   19011 # Fix the shell variable \$srcfile for the compiler.
   19012 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   19013 
   19014 # Set to "yes" if exported symbols are required.
   19015 always_export_symbols=$always_export_symbols_CXX
   19016 
   19017 # The commands to list exported symbols.
   19018 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   19019 
   19020 # Symbols that should not be listed in the preloaded symbols.
   19021 exclude_expsyms=$lt_exclude_expsyms_CXX
   19022 
   19023 # Symbols that must always be exported.
   19024 include_expsyms=$lt_include_expsyms_CXX
   19025 
   19026 # Commands necessary for linking programs (against libraries) with templates.
   19027 prelink_cmds=$lt_prelink_cmds_CXX
   19028 
   19029 # Specify filename containing input files.
   19030 file_list_spec=$lt_file_list_spec_CXX
   19031 
   19032 # How to hardcode a shared library path into an executable.
   19033 hardcode_action=$hardcode_action_CXX
   19034 
   19035 # The directories searched by this compiler when creating a shared library.
   19036 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   19037 
   19038 # Dependencies to place before and after the objects being linked to
   19039 # create a shared library.
   19040 predep_objects=$lt_predep_objects_CXX
   19041 postdep_objects=$lt_postdep_objects_CXX
   19042 predeps=$lt_predeps_CXX
   19043 postdeps=$lt_postdeps_CXX
   19044 
   19045 # The library search path used internally by the compiler when linking
   19046 # a shared library.
   19047 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   19048 
   19049 # ### END LIBTOOL TAG CONFIG: CXX
   19050 _LT_EOF
   19051 
   19052  ;;
   19053     "gstdint.h":C)
   19054 if test "$GCC" = yes; then
   19055   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
   19056 else
   19057   echo "/* generated for $CC */" > tmp-stdint.h
   19058 fi
   19059 
   19060 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19061 
   19062   #ifndef GCC_GENERATED_STDINT_H
   19063   #define GCC_GENERATED_STDINT_H 1
   19064 
   19065   #include <sys/types.h>
   19066 EOF
   19067 
   19068 if test "$acx_cv_header_stdint" != stdint.h; then
   19069   echo "#include <stddef.h>" >> tmp-stdint.h
   19070 fi
   19071 if test "$acx_cv_header_stdint" != stddef.h; then
   19072   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
   19073 fi
   19074 
   19075 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19076   /* glibc uses these symbols as guards to prevent redefinitions.  */
   19077   #ifdef __int8_t_defined
   19078   #define _INT8_T
   19079   #define _INT16_T
   19080   #define _INT32_T
   19081   #endif
   19082   #ifdef __uint32_t_defined
   19083   #define _UINT32_T
   19084   #endif
   19085 
   19086 EOF
   19087 
   19088 # ----------------- done header, emit basic int types -------------
   19089 if test "$acx_cv_header_stdint" = stddef.h; then
   19090   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19091 
   19092     #ifndef _UINT8_T
   19093     #define _UINT8_T
   19094     #ifndef __uint8_t_defined
   19095     #define __uint8_t_defined
   19096     #ifndef uint8_t
   19097     typedef unsigned $acx_cv_type_int8_t uint8_t;
   19098     #endif
   19099     #endif
   19100     #endif
   19101 
   19102     #ifndef _UINT16_T
   19103     #define _UINT16_T
   19104     #ifndef __uint16_t_defined
   19105     #define __uint16_t_defined
   19106     #ifndef uint16_t
   19107     typedef unsigned $acx_cv_type_int16_t uint16_t;
   19108     #endif
   19109     #endif
   19110     #endif
   19111 
   19112     #ifndef _UINT32_T
   19113     #define _UINT32_T
   19114     #ifndef __uint32_t_defined
   19115     #define __uint32_t_defined
   19116     #ifndef uint32_t
   19117     typedef unsigned $acx_cv_type_int32_t uint32_t;
   19118     #endif
   19119     #endif
   19120     #endif
   19121 
   19122     #ifndef _INT8_T
   19123     #define _INT8_T
   19124     #ifndef __int8_t_defined
   19125     #define __int8_t_defined
   19126     #ifndef int8_t
   19127     typedef $acx_cv_type_int8_t int8_t;
   19128     #endif
   19129     #endif
   19130     #endif
   19131 
   19132     #ifndef _INT16_T
   19133     #define _INT16_T
   19134     #ifndef __int16_t_defined
   19135     #define __int16_t_defined
   19136     #ifndef int16_t
   19137     typedef $acx_cv_type_int16_t int16_t;
   19138     #endif
   19139     #endif
   19140     #endif
   19141 
   19142     #ifndef _INT32_T
   19143     #define _INT32_T
   19144     #ifndef __int32_t_defined
   19145     #define __int32_t_defined
   19146     #ifndef int32_t
   19147     typedef $acx_cv_type_int32_t int32_t;
   19148     #endif
   19149     #endif
   19150     #endif
   19151 EOF
   19152 elif test "$ac_cv_type_u_int32_t" = yes; then
   19153   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19154 
   19155     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
   19156     #ifndef _INT8_T
   19157     #define _INT8_T
   19158     #endif
   19159     #ifndef _INT16_T
   19160     #define _INT16_T
   19161     #endif
   19162     #ifndef _INT32_T
   19163     #define _INT32_T
   19164     #endif
   19165 
   19166     #ifndef _UINT8_T
   19167     #define _UINT8_T
   19168     #ifndef __uint8_t_defined
   19169     #define __uint8_t_defined
   19170     #ifndef uint8_t
   19171     typedef u_int8_t uint8_t;
   19172     #endif
   19173     #endif
   19174     #endif
   19175 
   19176     #ifndef _UINT16_T
   19177     #define _UINT16_T
   19178     #ifndef __uint16_t_defined
   19179     #define __uint16_t_defined
   19180     #ifndef uint16_t
   19181     typedef u_int16_t uint16_t;
   19182     #endif
   19183     #endif
   19184     #endif
   19185 
   19186     #ifndef _UINT32_T
   19187     #define _UINT32_T
   19188     #ifndef __uint32_t_defined
   19189     #define __uint32_t_defined
   19190     #ifndef uint32_t
   19191     typedef u_int32_t uint32_t;
   19192     #endif
   19193     #endif
   19194     #endif
   19195 EOF
   19196 else
   19197   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19198 
   19199     /* Some systems have guard macros to prevent redefinitions, define them.  */
   19200     #ifndef _INT8_T
   19201     #define _INT8_T
   19202     #endif
   19203     #ifndef _INT16_T
   19204     #define _INT16_T
   19205     #endif
   19206     #ifndef _INT32_T
   19207     #define _INT32_T
   19208     #endif
   19209     #ifndef _UINT8_T
   19210     #define _UINT8_T
   19211     #endif
   19212     #ifndef _UINT16_T
   19213     #define _UINT16_T
   19214     #endif
   19215     #ifndef _UINT32_T
   19216     #define _UINT32_T
   19217     #endif
   19218 EOF
   19219 fi
   19220 
   19221 # ------------- done basic int types, emit int64_t types ------------
   19222 if test "$ac_cv_type_uint64_t" = yes; then
   19223   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19224 
   19225     /* system headers have good uint64_t and int64_t */
   19226     #ifndef _INT64_T
   19227     #define _INT64_T
   19228     #endif
   19229     #ifndef _UINT64_T
   19230     #define _UINT64_T
   19231     #endif
   19232 EOF
   19233 elif test "$ac_cv_type_u_int64_t" = yes; then
   19234   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19235 
   19236     /* system headers have an u_int64_t (and int64_t) */
   19237     #ifndef _INT64_T
   19238     #define _INT64_T
   19239     #endif
   19240     #ifndef _UINT64_T
   19241     #define _UINT64_T
   19242     #ifndef __uint64_t_defined
   19243     #define __uint64_t_defined
   19244     #ifndef uint64_t
   19245     typedef u_int64_t uint64_t;
   19246     #endif
   19247     #endif
   19248     #endif
   19249 EOF
   19250 elif test -n "$acx_cv_type_int64_t"; then
   19251   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19252 
   19253     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
   19254     #ifndef _INT64_T
   19255     #define _INT64_T
   19256     #ifndef int64_t
   19257     typedef $acx_cv_type_int64_t int64_t;
   19258     #endif
   19259     #endif
   19260     #ifndef _UINT64_T
   19261     #define _UINT64_T
   19262     #ifndef __uint64_t_defined
   19263     #define __uint64_t_defined
   19264     #ifndef uint64_t
   19265     typedef unsigned $acx_cv_type_int64_t uint64_t;
   19266     #endif
   19267     #endif
   19268     #endif
   19269 EOF
   19270 else
   19271   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19272 
   19273     /* some common heuristics for int64_t, using compiler-specific tests */
   19274     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
   19275     #ifndef _INT64_T
   19276     #define _INT64_T
   19277     #ifndef __int64_t_defined
   19278     #ifndef int64_t
   19279     typedef long long int64_t;
   19280     #endif
   19281     #endif
   19282     #endif
   19283     #ifndef _UINT64_T
   19284     #define _UINT64_T
   19285     #ifndef uint64_t
   19286     typedef unsigned long long uint64_t;
   19287     #endif
   19288     #endif
   19289 
   19290     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
   19291     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
   19292        does not implement __extension__.  But that compiler doesn't define
   19293        __GNUC_MINOR__.  */
   19294     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
   19295     # define __extension__
   19296     # endif
   19297 
   19298     # ifndef _INT64_T
   19299     # define _INT64_T
   19300     # ifndef int64_t
   19301     __extension__ typedef long long int64_t;
   19302     # endif
   19303     # endif
   19304     # ifndef _UINT64_T
   19305     # define _UINT64_T
   19306     # ifndef uint64_t
   19307     __extension__ typedef unsigned long long uint64_t;
   19308     # endif
   19309     # endif
   19310 
   19311     #elif !defined __STRICT_ANSI__
   19312     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   19313 
   19314     #  ifndef _INT64_T
   19315     #  define _INT64_T
   19316     #  ifndef int64_t
   19317     typedef __int64 int64_t;
   19318     #  endif
   19319     #  endif
   19320     #  ifndef _UINT64_T
   19321     #  define _UINT64_T
   19322     #  ifndef uint64_t
   19323     typedef unsigned __int64 uint64_t;
   19324     #  endif
   19325     #  endif
   19326     # endif /* compiler */
   19327 
   19328     #endif /* ANSI version */
   19329 EOF
   19330 fi
   19331 
   19332 # ------------- done int64_t types, emit intptr types ------------
   19333 if test "$ac_cv_type_uintptr_t" != yes; then
   19334   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19335 
   19336     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
   19337     #ifndef __uintptr_t_defined
   19338     #ifndef uintptr_t
   19339     typedef u$acx_cv_type_intptr_t uintptr_t;
   19340     #endif
   19341     #endif
   19342     #ifndef __intptr_t_defined
   19343     #ifndef intptr_t
   19344     typedef $acx_cv_type_intptr_t  intptr_t;
   19345     #endif
   19346     #endif
   19347 EOF
   19348 fi
   19349 
   19350 # ------------- done intptr types, emit int_least types ------------
   19351 if test "$ac_cv_type_int_least32_t" != yes; then
   19352   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19353 
   19354     /* Define int_least types */
   19355     typedef int8_t     int_least8_t;
   19356     typedef int16_t    int_least16_t;
   19357     typedef int32_t    int_least32_t;
   19358     #ifdef _INT64_T
   19359     typedef int64_t    int_least64_t;
   19360     #endif
   19361 
   19362     typedef uint8_t    uint_least8_t;
   19363     typedef uint16_t   uint_least16_t;
   19364     typedef uint32_t   uint_least32_t;
   19365     #ifdef _UINT64_T
   19366     typedef uint64_t   uint_least64_t;
   19367     #endif
   19368 EOF
   19369 fi
   19370 
   19371 # ------------- done intptr types, emit int_fast types ------------
   19372 if test "$ac_cv_type_int_fast32_t" != yes; then
   19373       sed 's/^ *//' >> tmp-stdint.h <<EOF
   19374 
   19375     /* Define int_fast types.  short is often slow */
   19376     typedef int8_t       int_fast8_t;
   19377     typedef int          int_fast16_t;
   19378     typedef int32_t      int_fast32_t;
   19379     #ifdef _INT64_T
   19380     typedef int64_t      int_fast64_t;
   19381     #endif
   19382 
   19383     typedef uint8_t      uint_fast8_t;
   19384     typedef unsigned int uint_fast16_t;
   19385     typedef uint32_t     uint_fast32_t;
   19386     #ifdef _UINT64_T
   19387     typedef uint64_t     uint_fast64_t;
   19388     #endif
   19389 EOF
   19390 fi
   19391 
   19392 if test "$ac_cv_type_uintmax_t" != yes; then
   19393   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19394 
   19395     /* Define intmax based on what we found */
   19396     #ifndef intmax_t
   19397     #ifdef _INT64_T
   19398     typedef int64_t       intmax_t;
   19399     #else
   19400     typedef long          intmax_t;
   19401     #endif
   19402     #endif
   19403     #ifndef uintmax_t
   19404     #ifdef _UINT64_T
   19405     typedef uint64_t      uintmax_t;
   19406     #else
   19407     typedef unsigned long uintmax_t;
   19408     #endif
   19409     #endif
   19410 EOF
   19411 fi
   19412 
   19413 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19414 
   19415   #endif /* GCC_GENERATED_STDINT_H */
   19416 EOF
   19417 
   19418 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
   19419   rm -f tmp-stdint.h
   19420 else
   19421   mv -f tmp-stdint.h gstdint.h
   19422 fi
   19423 
   19424  ;;
   19425     "interception/Makefile":F) cat > vpsed$$ << \_EOF
   19426 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19427 _EOF
   19428    sed -f vpsed$$ $ac_file > tmp$$
   19429    mv tmp$$ $ac_file
   19430    rm vpsed$$
   19431    echo 'MULTISUBDIR =' >> $ac_file
   19432    ml_norecursion=yes
   19433    . ${multi_basedir}/config-ml.in
   19434    { ml_norecursion=; unset ml_norecursion;}
   19435  ;;
   19436     "sanitizer_common/Makefile":F) cat > vpsed$$ << \_EOF
   19437 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19438 _EOF
   19439    sed -f vpsed$$ $ac_file > tmp$$
   19440    mv tmp$$ $ac_file
   19441    rm vpsed$$
   19442    echo 'MULTISUBDIR =' >> $ac_file
   19443    ml_norecursion=yes
   19444    . ${multi_basedir}/config-ml.in
   19445    { ml_norecursion=; unset ml_norecursion;}
   19446  ;;
   19447     "libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
   19448 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19449 _EOF
   19450    sed -f vpsed$$ $ac_file > tmp$$
   19451    mv tmp$$ $ac_file
   19452    rm vpsed$$
   19453    echo 'MULTISUBDIR =' >> $ac_file
   19454    ml_norecursion=yes
   19455    . ${multi_basedir}/config-ml.in
   19456    { ml_norecursion=; unset ml_norecursion;}
   19457  ;;
   19458     "lsan/Makefile":F) cat > vpsed$$ << \_EOF
   19459 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19460 _EOF
   19461    sed -f vpsed$$ $ac_file > tmp$$
   19462    mv tmp$$ $ac_file
   19463    rm vpsed$$
   19464    echo 'MULTISUBDIR =' >> $ac_file
   19465    ml_norecursion=yes
   19466    . ${multi_basedir}/config-ml.in
   19467    { ml_norecursion=; unset ml_norecursion;}
   19468  ;;
   19469     "asan/Makefile":F) cat > vpsed$$ << \_EOF
   19470 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19471 _EOF
   19472    sed -f vpsed$$ $ac_file > tmp$$
   19473    mv tmp$$ $ac_file
   19474    rm vpsed$$
   19475    echo 'MULTISUBDIR =' >> $ac_file
   19476    ml_norecursion=yes
   19477    . ${multi_basedir}/config-ml.in
   19478    { ml_norecursion=; unset ml_norecursion;}
   19479  ;;
   19480     "ubsan/Makefile":F) cat > vpsed$$ << \_EOF
   19481 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19482 _EOF
   19483    sed -f vpsed$$ $ac_file > tmp$$
   19484    mv tmp$$ $ac_file
   19485    rm vpsed$$
   19486    echo 'MULTISUBDIR =' >> $ac_file
   19487    ml_norecursion=yes
   19488    . ${multi_basedir}/config-ml.in
   19489    { ml_norecursion=; unset ml_norecursion;}
   19490  ;;
   19491     "tsan/Makefile":F) cat > vpsed$$ << \_EOF
   19492 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19493 _EOF
   19494     sed -f vpsed$$ $ac_file > tmp$$
   19495     mv tmp$$ $ac_file
   19496     rm vpsed$$
   19497     echo 'MULTISUBDIR =' >> $ac_file
   19498     ml_norecursion=yes
   19499     . ${multi_basedir}/config-ml.in
   19500     { ml_norecursion=; unset ml_norecursion;}
   19501  ;;
   19502 
   19503   esac
   19504 done # for ac_tag
   19505 
   19506 
   19507 as_fn_exit 0
   19508 _ACEOF
   19509 ac_clean_files=$ac_clean_files_save
   19510 
   19511 test $ac_write_fail = 0 ||
   19512   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19513 
   19514 
   19515 # configure is writing to config.log, and then calls config.status.
   19516 # config.status does its own redirection, appending to config.log.
   19517 # Unfortunately, on DOS this fails, as config.log is still kept open
   19518 # by configure, so config.status won't be able to write to it; its
   19519 # output is simply discarded.  So we exec the FD to /dev/null,
   19520 # effectively closing config.log, so it can be properly (re)opened and
   19521 # appended to by config.status.  When coming back to configure, we
   19522 # need to make the FD available again.
   19523 if test "$no_create" != yes; then
   19524   ac_cs_success=:
   19525   ac_config_status_args=
   19526   test "$silent" = yes &&
   19527     ac_config_status_args="$ac_config_status_args --quiet"
   19528   exec 5>/dev/null
   19529   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19530   exec 5>>config.log
   19531   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19532   # would make configure fail if this is the last instruction.
   19533   $ac_cs_success || as_fn_exit $?
   19534 fi
   19535 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19536   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19537 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19538 fi
   19539 
   19540