Home | History | Annotate | Line # | Download | only in libsanitizer
configure revision 1.10
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
      4 #
      5 # Report bugs to <libsanitizer>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and libsanitizer about
    278 $0: your system, including any error possibly output before
    279 $0: this message. Then install a modern shell, or manually
    280 $0: run the script under such a shell if you do have one."
    281   fi
    282   exit 1
    283 fi
    284 fi
    285 fi
    286 SHELL=${CONFIG_SHELL-/bin/sh}
    287 export SHELL
    288 # Unset more variables known to interfere with behavior of common tools.
    289 CLICOLOR_FORCE= GREP_OPTIONS=
    290 unset CLICOLOR_FORCE GREP_OPTIONS
    291 
    292 ## --------------------- ##
    293 ## M4sh Shell Functions. ##
    294 ## --------------------- ##
    295 # as_fn_unset VAR
    296 # ---------------
    297 # Portably unset VAR.
    298 as_fn_unset ()
    299 {
    300   { eval $1=; unset $1;}
    301 }
    302 as_unset=as_fn_unset
    303 
    304 # as_fn_set_status STATUS
    305 # -----------------------
    306 # Set $? to STATUS, without forking.
    307 as_fn_set_status ()
    308 {
    309   return $1
    310 } # as_fn_set_status
    311 
    312 # as_fn_exit STATUS
    313 # -----------------
    314 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    315 as_fn_exit ()
    316 {
    317   set +e
    318   as_fn_set_status $1
    319   exit $1
    320 } # as_fn_exit
    321 
    322 # as_fn_mkdir_p
    323 # -------------
    324 # Create "$as_dir" as a directory, including parents if necessary.
    325 as_fn_mkdir_p ()
    326 {
    327 
    328   case $as_dir in #(
    329   -*) as_dir=./$as_dir;;
    330   esac
    331   test -d "$as_dir" || eval $as_mkdir_p || {
    332     as_dirs=
    333     while :; do
    334       case $as_dir in #(
    335       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    336       *) as_qdir=$as_dir;;
    337       esac
    338       as_dirs="'$as_qdir' $as_dirs"
    339       as_dir=`$as_dirname -- "$as_dir" ||
    340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    341 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    342 	 X"$as_dir" : 'X\(//\)$' \| \
    343 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    344 $as_echo X"$as_dir" |
    345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    346 	    s//\1/
    347 	    q
    348 	  }
    349 	  /^X\(\/\/\)[^/].*/{
    350 	    s//\1/
    351 	    q
    352 	  }
    353 	  /^X\(\/\/\)$/{
    354 	    s//\1/
    355 	    q
    356 	  }
    357 	  /^X\(\/\).*/{
    358 	    s//\1/
    359 	    q
    360 	  }
    361 	  s/.*/./; q'`
    362       test -d "$as_dir" && break
    363     done
    364     test -z "$as_dirs" || eval "mkdir $as_dirs"
    365   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    366 
    367 
    368 } # as_fn_mkdir_p
    369 
    370 # as_fn_executable_p FILE
    371 # -----------------------
    372 # Test if FILE is an executable regular file.
    373 as_fn_executable_p ()
    374 {
    375   test -f "$1" && test -x "$1"
    376 } # as_fn_executable_p
    377 # as_fn_append VAR VALUE
    378 # ----------------------
    379 # Append the text in VALUE to the end of the definition contained in VAR. Take
    380 # advantage of any shell optimizations that allow amortized linear growth over
    381 # repeated appends, instead of the typical quadratic growth present in naive
    382 # implementations.
    383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    384   eval 'as_fn_append ()
    385   {
    386     eval $1+=\$2
    387   }'
    388 else
    389   as_fn_append ()
    390   {
    391     eval $1=\$$1\$2
    392   }
    393 fi # as_fn_append
    394 
    395 # as_fn_arith ARG...
    396 # ------------------
    397 # Perform arithmetic evaluation on the ARGs, and store the result in the
    398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    399 # must be portable across $(()) and expr.
    400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    401   eval 'as_fn_arith ()
    402   {
    403     as_val=$(( $* ))
    404   }'
    405 else
    406   as_fn_arith ()
    407   {
    408     as_val=`expr "$@" || test $? -eq 1`
    409   }
    410 fi # as_fn_arith
    411 
    412 
    413 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    414 # ----------------------------------------
    415 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    416 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    417 # script with STATUS, using 1 if that was 0.
    418 as_fn_error ()
    419 {
    420   as_status=$1; test $as_status -eq 0 && as_status=1
    421   if test "$4"; then
    422     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    423     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    424   fi
    425   $as_echo "$as_me: error: $2" >&2
    426   as_fn_exit $as_status
    427 } # as_fn_error
    428 
    429 if expr a : '\(a\)' >/dev/null 2>&1 &&
    430    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    431   as_expr=expr
    432 else
    433   as_expr=false
    434 fi
    435 
    436 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    437   as_basename=basename
    438 else
    439   as_basename=false
    440 fi
    441 
    442 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    443   as_dirname=dirname
    444 else
    445   as_dirname=false
    446 fi
    447 
    448 as_me=`$as_basename -- "$0" ||
    449 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    450 	 X"$0" : 'X\(//\)$' \| \
    451 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    452 $as_echo X/"$0" |
    453     sed '/^.*\/\([^/][^/]*\)\/*$/{
    454 	    s//\1/
    455 	    q
    456 	  }
    457 	  /^X\/\(\/\/\)$/{
    458 	    s//\1/
    459 	    q
    460 	  }
    461 	  /^X\/\(\/\).*/{
    462 	    s//\1/
    463 	    q
    464 	  }
    465 	  s/.*/./; q'`
    466 
    467 # Avoid depending upon Character Ranges.
    468 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    469 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    470 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    471 as_cr_digits='0123456789'
    472 as_cr_alnum=$as_cr_Letters$as_cr_digits
    473 
    474 
    475   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    476   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    477   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    478   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    479   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    480   sed -n '
    481     p
    482     /[$]LINENO/=
    483   ' <$as_myself |
    484     sed '
    485       s/[$]LINENO.*/&-/
    486       t lineno
    487       b
    488       :lineno
    489       N
    490       :loop
    491       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    492       t loop
    493       s/-\n.*//
    494     ' >$as_me.lineno &&
    495   chmod +x "$as_me.lineno" ||
    496     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    497 
    498   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    499   # already done that, so ensure we don't try to do so again and fall
    500   # in an infinite loop.  This has already happened in practice.
    501   _as_can_reexec=no; export _as_can_reexec
    502   # Don't try to exec as it changes $[0], causing all sort of problems
    503   # (the dirname of $[0] is not the place where we might find the
    504   # original and so on.  Autoconf is especially sensitive to this).
    505   . "./$as_me.lineno"
    506   # Exit status is that of the last command.
    507   exit
    508 }
    509 
    510 ECHO_C= ECHO_N= ECHO_T=
    511 case `echo -n x` in #(((((
    512 -n*)
    513   case `echo 'xy\c'` in
    514   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    515   xy)  ECHO_C='\c';;
    516   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    517        ECHO_T='	';;
    518   esac;;
    519 *)
    520   ECHO_N='-n';;
    521 esac
    522 
    523 rm -f conf$$ conf$$.exe conf$$.file
    524 if test -d conf$$.dir; then
    525   rm -f conf$$.dir/conf$$.file
    526 else
    527   rm -f conf$$.dir
    528   mkdir conf$$.dir 2>/dev/null
    529 fi
    530 if (echo >conf$$.file) 2>/dev/null; then
    531   if ln -s conf$$.file conf$$ 2>/dev/null; then
    532     as_ln_s='ln -s'
    533     # ... but there are two gotchas:
    534     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    535     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    536     # In both cases, we have to default to `cp -pR'.
    537     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    538       as_ln_s='cp -pR'
    539   elif ln conf$$.file conf$$ 2>/dev/null; then
    540     as_ln_s=ln
    541   else
    542     as_ln_s='cp -pR'
    543   fi
    544 else
    545   as_ln_s='cp -pR'
    546 fi
    547 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    548 rmdir conf$$.dir 2>/dev/null
    549 
    550 if mkdir -p . 2>/dev/null; then
    551   as_mkdir_p='mkdir -p "$as_dir"'
    552 else
    553   test -d ./-p && rmdir ./-p
    554   as_mkdir_p=false
    555 fi
    556 
    557 as_test_x='test -x'
    558 as_executable_p=as_fn_executable_p
    559 
    560 # Sed expression to map a string onto a valid CPP name.
    561 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    562 
    563 # Sed expression to map a string onto a valid variable name.
    564 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    565 
    566 SHELL=${CONFIG_SHELL-/bin/sh}
    567 
    568 
    569 test -n "$DJDIR" || exec 7<&0 </dev/null
    570 exec 6>&1
    571 
    572 # Name of the host.
    573 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    574 # so uname gets run too.
    575 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    576 
    577 #
    578 # Initializations.
    579 #
    580 ac_default_prefix=/usr/local
    581 ac_clean_files=
    582 ac_config_libobj_dir=.
    583 LIBOBJS=
    584 cross_compiling=no
    585 subdirs=
    586 MFLAGS=
    587 MAKEFLAGS=
    588 
    589 # Identity of this package.
    590 PACKAGE_NAME='package-unused'
    591 PACKAGE_TARNAME='package-unused'
    592 PACKAGE_VERSION='version-unused'
    593 PACKAGE_STRING='package-unused version-unused'
    594 PACKAGE_BUGREPORT='libsanitizer'
    595 PACKAGE_URL=''
    596 
    597 ac_unique_file="include/sanitizer/common_interface_defs.h"
    598 # Factoring default headers for most tests.
    599 ac_includes_default="\
    600 #include <stdio.h>
    601 #ifdef HAVE_SYS_TYPES_H
    602 # include <sys/types.h>
    603 #endif
    604 #ifdef HAVE_SYS_STAT_H
    605 # include <sys/stat.h>
    606 #endif
    607 #ifdef STDC_HEADERS
    608 # include <stdlib.h>
    609 # include <stddef.h>
    610 #else
    611 # ifdef HAVE_STDLIB_H
    612 #  include <stdlib.h>
    613 # endif
    614 #endif
    615 #ifdef HAVE_STRING_H
    616 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    617 #  include <memory.h>
    618 # endif
    619 # include <string.h>
    620 #endif
    621 #ifdef HAVE_STRINGS_H
    622 # include <strings.h>
    623 #endif
    624 #ifdef HAVE_INTTYPES_H
    625 # include <inttypes.h>
    626 #endif
    627 #ifdef HAVE_STDINT_H
    628 # include <stdint.h>
    629 #endif
    630 #ifdef HAVE_UNISTD_H
    631 # include <unistd.h>
    632 #endif"
    633 
    634 ac_subst_vars='am__EXEEXT_FALSE
    635 am__EXEEXT_TRUE
    636 LTLIBOBJS
    637 LIBOBJS
    638 EXTRA_CXXFLAGS
    639 EXTRA_CFLAGS
    640 EXTRA_ASFLAGS
    641 get_gcc_base_ver
    642 SANITIZER_COMMON_TARGET_DEPENDENT_OBJECTS
    643 TSAN_TARGET_DEPENDENT_OBJECTS
    644 LIBBACKTRACE_SUPPORTED_FALSE
    645 LIBBACKTRACE_SUPPORTED_TRUE
    646 RPC_DEFS
    647 BACKTRACE_SUPPORTS_THREADS
    648 BACKTRACE_USES_MALLOC
    649 ALLOC_FILE
    650 VIEW_FILE
    651 BACKTRACE_SUPPORTED
    652 FORMAT_FILE
    653 SANITIZER_SUPPORTED_FALSE
    654 SANITIZER_SUPPORTED_TRUE
    655 USING_MAC_INTERPOSE_FALSE
    656 USING_MAC_INTERPOSE_TRUE
    657 link_liblsan
    658 link_libubsan
    659 link_libtsan
    660 link_libasan
    661 LSAN_SUPPORTED_FALSE
    662 LSAN_SUPPORTED_TRUE
    663 TSAN_SUPPORTED_FALSE
    664 TSAN_SUPPORTED_TRUE
    665 enable_static
    666 enable_shared
    667 CXXCPP
    668 OTOOL64
    669 OTOOL
    670 LIPO
    671 NMEDIT
    672 DSYMUTIL
    673 AR
    674 OBJDUMP
    675 LN_S
    676 NM
    677 ac_ct_DUMPBIN
    678 DUMPBIN
    679 LD
    680 FGREP
    681 SED
    682 LIBTOOL
    683 RANLIB
    684 am__fastdepCCAS_FALSE
    685 am__fastdepCCAS_TRUE
    686 CCASDEPMODE
    687 CCASFLAGS
    688 CCAS
    689 am__fastdepCXX_FALSE
    690 am__fastdepCXX_TRUE
    691 CXXDEPMODE
    692 ac_ct_CXX
    693 CXXFLAGS
    694 CXX
    695 toolexeclibdir
    696 toolexecdir
    697 MAINT
    698 MAINTAINER_MODE_FALSE
    699 MAINTAINER_MODE_TRUE
    700 AM_BACKSLASH
    701 AM_DEFAULT_VERBOSITY
    702 AM_DEFAULT_V
    703 AM_V
    704 am__fastdepCC_FALSE
    705 am__fastdepCC_TRUE
    706 CCDEPMODE
    707 am__nodep
    708 AMDEPBACKSLASH
    709 AMDEP_FALSE
    710 AMDEP_TRUE
    711 am__quote
    712 am__include
    713 DEPDIR
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 LIBSTDCXX_RAW_CXX_LDFLAGS
    738 LIBSTDCXX_RAW_CXX_CXXFLAGS
    739 target_noncanonical
    740 target_os
    741 target_vendor
    742 target_cpu
    743 target
    744 host_os
    745 host_vendor
    746 host_cpu
    747 host
    748 build_os
    749 build_vendor
    750 build_cpu
    751 build
    752 EGREP
    753 GREP
    754 CPP
    755 OBJEXT
    756 EXEEXT
    757 ac_ct_CC
    758 CPPFLAGS
    759 LDFLAGS
    760 CFLAGS
    761 CC
    762 multi_basedir
    763 target_alias
    764 host_alias
    765 build_alias
    766 LIBS
    767 ECHO_T
    768 ECHO_N
    769 ECHO_C
    770 DEFS
    771 mandir
    772 localedir
    773 libdir
    774 psdir
    775 pdfdir
    776 dvidir
    777 htmldir
    778 infodir
    779 docdir
    780 oldincludedir
    781 includedir
    782 localstatedir
    783 sharedstatedir
    784 sysconfdir
    785 datadir
    786 datarootdir
    787 libexecdir
    788 sbindir
    789 bindir
    790 program_transform_name
    791 prefix
    792 exec_prefix
    793 PACKAGE_URL
    794 PACKAGE_BUGREPORT
    795 PACKAGE_STRING
    796 PACKAGE_VERSION
    797 PACKAGE_TARNAME
    798 PACKAGE_NAME
    799 PATH_SEPARATOR
    800 SHELL'
    801 ac_subst_files=''
    802 ac_user_opts='
    803 enable_option_checking
    804 enable_multilib
    805 enable_version_specific_runtime_libs
    806 enable_dependency_tracking
    807 enable_silent_rules
    808 enable_maintainer_mode
    809 with_toolexeclibdir
    810 enable_shared
    811 enable_static
    812 with_pic
    813 enable_fast_install
    814 with_gnu_ld
    815 enable_libtool_lock
    816 with_gcc_major_version_only
    817 enable_cet
    818 '
    819       ac_precious_vars='build_alias
    820 host_alias
    821 target_alias
    822 CC
    823 CFLAGS
    824 LDFLAGS
    825 LIBS
    826 CPPFLAGS
    827 CPP
    828 CXX
    829 CXXFLAGS
    830 CCC
    831 CCAS
    832 CCASFLAGS
    833 CXXCPP'
    834 
    835 
    836 # Initialize some variables set by options.
    837 ac_init_help=
    838 ac_init_version=false
    839 ac_unrecognized_opts=
    840 ac_unrecognized_sep=
    841 # The variables have the same names as the options, with
    842 # dashes changed to underlines.
    843 cache_file=/dev/null
    844 exec_prefix=NONE
    845 no_create=
    846 no_recursion=
    847 prefix=NONE
    848 program_prefix=NONE
    849 program_suffix=NONE
    850 program_transform_name=s,x,x,
    851 silent=
    852 site=
    853 srcdir=
    854 verbose=
    855 x_includes=NONE
    856 x_libraries=NONE
    857 
    858 # Installation directory options.
    859 # These are left unexpanded so users can "make install exec_prefix=/foo"
    860 # and all the variables that are supposed to be based on exec_prefix
    861 # by default will actually change.
    862 # Use braces instead of parens because sh, perl, etc. also accept them.
    863 # (The list follows the same order as the GNU Coding Standards.)
    864 bindir='${exec_prefix}/bin'
    865 sbindir='${exec_prefix}/sbin'
    866 libexecdir='${exec_prefix}/libexec'
    867 datarootdir='${prefix}/share'
    868 datadir='${datarootdir}'
    869 sysconfdir='${prefix}/etc'
    870 sharedstatedir='${prefix}/com'
    871 localstatedir='${prefix}/var'
    872 includedir='${prefix}/include'
    873 oldincludedir='/usr/include'
    874 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    875 infodir='${datarootdir}/info'
    876 htmldir='${docdir}'
    877 dvidir='${docdir}'
    878 pdfdir='${docdir}'
    879 psdir='${docdir}'
    880 libdir='${exec_prefix}/lib'
    881 localedir='${datarootdir}/locale'
    882 mandir='${datarootdir}/man'
    883 
    884 ac_prev=
    885 ac_dashdash=
    886 for ac_option
    887 do
    888   # If the previous option needs an argument, assign it.
    889   if test -n "$ac_prev"; then
    890     eval $ac_prev=\$ac_option
    891     ac_prev=
    892     continue
    893   fi
    894 
    895   case $ac_option in
    896   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    897   *=)   ac_optarg= ;;
    898   *)    ac_optarg=yes ;;
    899   esac
    900 
    901   # Accept the important Cygnus configure options, so we can diagnose typos.
    902 
    903   case $ac_dashdash$ac_option in
    904   --)
    905     ac_dashdash=yes ;;
    906 
    907   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    908     ac_prev=bindir ;;
    909   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    910     bindir=$ac_optarg ;;
    911 
    912   -build | --build | --buil | --bui | --bu)
    913     ac_prev=build_alias ;;
    914   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    915     build_alias=$ac_optarg ;;
    916 
    917   -cache-file | --cache-file | --cache-fil | --cache-fi \
    918   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    919     ac_prev=cache_file ;;
    920   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    921   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    922     cache_file=$ac_optarg ;;
    923 
    924   --config-cache | -C)
    925     cache_file=config.cache ;;
    926 
    927   -datadir | --datadir | --datadi | --datad)
    928     ac_prev=datadir ;;
    929   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    930     datadir=$ac_optarg ;;
    931 
    932   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    933   | --dataroo | --dataro | --datar)
    934     ac_prev=datarootdir ;;
    935   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    936   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    937     datarootdir=$ac_optarg ;;
    938 
    939   -disable-* | --disable-*)
    940     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    941     # Reject names that are not valid shell variable names.
    942     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    943       as_fn_error $? "invalid feature name: $ac_useropt"
    944     ac_useropt_orig=$ac_useropt
    945     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    946     case $ac_user_opts in
    947       *"
    948 "enable_$ac_useropt"
    949 "*) ;;
    950       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    951 	 ac_unrecognized_sep=', ';;
    952     esac
    953     eval enable_$ac_useropt=no ;;
    954 
    955   -docdir | --docdir | --docdi | --doc | --do)
    956     ac_prev=docdir ;;
    957   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    958     docdir=$ac_optarg ;;
    959 
    960   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    961     ac_prev=dvidir ;;
    962   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    963     dvidir=$ac_optarg ;;
    964 
    965   -enable-* | --enable-*)
    966     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    967     # Reject names that are not valid shell variable names.
    968     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    969       as_fn_error $? "invalid feature name: $ac_useropt"
    970     ac_useropt_orig=$ac_useropt
    971     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    972     case $ac_user_opts in
    973       *"
    974 "enable_$ac_useropt"
    975 "*) ;;
    976       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    977 	 ac_unrecognized_sep=', ';;
    978     esac
    979     eval enable_$ac_useropt=\$ac_optarg ;;
    980 
    981   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    982   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    983   | --exec | --exe | --ex)
    984     ac_prev=exec_prefix ;;
    985   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    986   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    987   | --exec=* | --exe=* | --ex=*)
    988     exec_prefix=$ac_optarg ;;
    989 
    990   -gas | --gas | --ga | --g)
    991     # Obsolete; use --with-gas.
    992     with_gas=yes ;;
    993 
    994   -help | --help | --hel | --he | -h)
    995     ac_init_help=long ;;
    996   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    997     ac_init_help=recursive ;;
    998   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    999     ac_init_help=short ;;
   1000 
   1001   -host | --host | --hos | --ho)
   1002     ac_prev=host_alias ;;
   1003   -host=* | --host=* | --hos=* | --ho=*)
   1004     host_alias=$ac_optarg ;;
   1005 
   1006   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1007     ac_prev=htmldir ;;
   1008   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1009   | --ht=*)
   1010     htmldir=$ac_optarg ;;
   1011 
   1012   -includedir | --includedir | --includedi | --included | --include \
   1013   | --includ | --inclu | --incl | --inc)
   1014     ac_prev=includedir ;;
   1015   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1016   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1017     includedir=$ac_optarg ;;
   1018 
   1019   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1020     ac_prev=infodir ;;
   1021   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1022     infodir=$ac_optarg ;;
   1023 
   1024   -libdir | --libdir | --libdi | --libd)
   1025     ac_prev=libdir ;;
   1026   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1027     libdir=$ac_optarg ;;
   1028 
   1029   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1030   | --libexe | --libex | --libe)
   1031     ac_prev=libexecdir ;;
   1032   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1033   | --libexe=* | --libex=* | --libe=*)
   1034     libexecdir=$ac_optarg ;;
   1035 
   1036   -localedir | --localedir | --localedi | --localed | --locale)
   1037     ac_prev=localedir ;;
   1038   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1039     localedir=$ac_optarg ;;
   1040 
   1041   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1042   | --localstate | --localstat | --localsta | --localst | --locals)
   1043     ac_prev=localstatedir ;;
   1044   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1045   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1046     localstatedir=$ac_optarg ;;
   1047 
   1048   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1049     ac_prev=mandir ;;
   1050   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1051     mandir=$ac_optarg ;;
   1052 
   1053   -nfp | --nfp | --nf)
   1054     # Obsolete; use --without-fp.
   1055     with_fp=no ;;
   1056 
   1057   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1058   | --no-cr | --no-c | -n)
   1059     no_create=yes ;;
   1060 
   1061   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1062   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1063     no_recursion=yes ;;
   1064 
   1065   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1066   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1067   | --oldin | --oldi | --old | --ol | --o)
   1068     ac_prev=oldincludedir ;;
   1069   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1070   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1071   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1072     oldincludedir=$ac_optarg ;;
   1073 
   1074   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1075     ac_prev=prefix ;;
   1076   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1077     prefix=$ac_optarg ;;
   1078 
   1079   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1080   | --program-pre | --program-pr | --program-p)
   1081     ac_prev=program_prefix ;;
   1082   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1083   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1084     program_prefix=$ac_optarg ;;
   1085 
   1086   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1087   | --program-suf | --program-su | --program-s)
   1088     ac_prev=program_suffix ;;
   1089   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1090   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1091     program_suffix=$ac_optarg ;;
   1092 
   1093   -program-transform-name | --program-transform-name \
   1094   | --program-transform-nam | --program-transform-na \
   1095   | --program-transform-n | --program-transform- \
   1096   | --program-transform | --program-transfor \
   1097   | --program-transfo | --program-transf \
   1098   | --program-trans | --program-tran \
   1099   | --progr-tra | --program-tr | --program-t)
   1100     ac_prev=program_transform_name ;;
   1101   -program-transform-name=* | --program-transform-name=* \
   1102   | --program-transform-nam=* | --program-transform-na=* \
   1103   | --program-transform-n=* | --program-transform-=* \
   1104   | --program-transform=* | --program-transfor=* \
   1105   | --program-transfo=* | --program-transf=* \
   1106   | --program-trans=* | --program-tran=* \
   1107   | --progr-tra=* | --program-tr=* | --program-t=*)
   1108     program_transform_name=$ac_optarg ;;
   1109 
   1110   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1111     ac_prev=pdfdir ;;
   1112   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1113     pdfdir=$ac_optarg ;;
   1114 
   1115   -psdir | --psdir | --psdi | --psd | --ps)
   1116     ac_prev=psdir ;;
   1117   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1118     psdir=$ac_optarg ;;
   1119 
   1120   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1121   | -silent | --silent | --silen | --sile | --sil)
   1122     silent=yes ;;
   1123 
   1124   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1125     ac_prev=sbindir ;;
   1126   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1127   | --sbi=* | --sb=*)
   1128     sbindir=$ac_optarg ;;
   1129 
   1130   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1131   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1132   | --sharedst | --shareds | --shared | --share | --shar \
   1133   | --sha | --sh)
   1134     ac_prev=sharedstatedir ;;
   1135   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1136   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1137   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1138   | --sha=* | --sh=*)
   1139     sharedstatedir=$ac_optarg ;;
   1140 
   1141   -site | --site | --sit)
   1142     ac_prev=site ;;
   1143   -site=* | --site=* | --sit=*)
   1144     site=$ac_optarg ;;
   1145 
   1146   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1147     ac_prev=srcdir ;;
   1148   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1149     srcdir=$ac_optarg ;;
   1150 
   1151   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1152   | --syscon | --sysco | --sysc | --sys | --sy)
   1153     ac_prev=sysconfdir ;;
   1154   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1155   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1156     sysconfdir=$ac_optarg ;;
   1157 
   1158   -target | --target | --targe | --targ | --tar | --ta | --t)
   1159     ac_prev=target_alias ;;
   1160   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1161     target_alias=$ac_optarg ;;
   1162 
   1163   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1164     verbose=yes ;;
   1165 
   1166   -version | --version | --versio | --versi | --vers | -V)
   1167     ac_init_version=: ;;
   1168 
   1169   -with-* | --with-*)
   1170     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1171     # Reject names that are not valid shell variable names.
   1172     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1173       as_fn_error $? "invalid package name: $ac_useropt"
   1174     ac_useropt_orig=$ac_useropt
   1175     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1176     case $ac_user_opts in
   1177       *"
   1178 "with_$ac_useropt"
   1179 "*) ;;
   1180       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1181 	 ac_unrecognized_sep=', ';;
   1182     esac
   1183     eval with_$ac_useropt=\$ac_optarg ;;
   1184 
   1185   -without-* | --without-*)
   1186     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1187     # Reject names that are not valid shell variable names.
   1188     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1189       as_fn_error $? "invalid package name: $ac_useropt"
   1190     ac_useropt_orig=$ac_useropt
   1191     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1192     case $ac_user_opts in
   1193       *"
   1194 "with_$ac_useropt"
   1195 "*) ;;
   1196       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1197 	 ac_unrecognized_sep=', ';;
   1198     esac
   1199     eval with_$ac_useropt=no ;;
   1200 
   1201   --x)
   1202     # Obsolete; use --with-x.
   1203     with_x=yes ;;
   1204 
   1205   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1206   | --x-incl | --x-inc | --x-in | --x-i)
   1207     ac_prev=x_includes ;;
   1208   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1209   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1210     x_includes=$ac_optarg ;;
   1211 
   1212   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1213   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1214     ac_prev=x_libraries ;;
   1215   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1216   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1217     x_libraries=$ac_optarg ;;
   1218 
   1219   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1220 Try \`$0 --help' for more information"
   1221     ;;
   1222 
   1223   *=*)
   1224     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1225     # Reject names that are not valid shell variable names.
   1226     case $ac_envvar in #(
   1227       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1228       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1229     esac
   1230     eval $ac_envvar=\$ac_optarg
   1231     export $ac_envvar ;;
   1232 
   1233   *)
   1234     # FIXME: should be removed in autoconf 3.0.
   1235     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1236     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1237       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1238     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1239     ;;
   1240 
   1241   esac
   1242 done
   1243 
   1244 if test -n "$ac_prev"; then
   1245   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1246   as_fn_error $? "missing argument to $ac_option"
   1247 fi
   1248 
   1249 if test -n "$ac_unrecognized_opts"; then
   1250   case $enable_option_checking in
   1251     no) ;;
   1252     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1253     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1254   esac
   1255 fi
   1256 
   1257 # Check all directory arguments for consistency.
   1258 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1259 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1260 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1261 		libdir localedir mandir
   1262 do
   1263   eval ac_val=\$$ac_var
   1264   # Remove trailing slashes.
   1265   case $ac_val in
   1266     */ )
   1267       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1268       eval $ac_var=\$ac_val;;
   1269   esac
   1270   # Be sure to have absolute directory names.
   1271   case $ac_val in
   1272     [\\/$]* | ?:[\\/]* )  continue;;
   1273     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1274   esac
   1275   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1276 done
   1277 
   1278 # There might be people who depend on the old broken behavior: `$host'
   1279 # used to hold the argument of --host etc.
   1280 # FIXME: To remove some day.
   1281 build=$build_alias
   1282 host=$host_alias
   1283 target=$target_alias
   1284 
   1285 # FIXME: To remove some day.
   1286 if test "x$host_alias" != x; then
   1287   if test "x$build_alias" = x; then
   1288     cross_compiling=maybe
   1289   elif test "x$build_alias" != "x$host_alias"; then
   1290     cross_compiling=yes
   1291   fi
   1292 fi
   1293 
   1294 ac_tool_prefix=
   1295 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1296 
   1297 test "$silent" = yes && exec 6>/dev/null
   1298 
   1299 
   1300 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1301 ac_ls_di=`ls -di .` &&
   1302 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1303   as_fn_error $? "working directory cannot be determined"
   1304 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1305   as_fn_error $? "pwd does not report name of working directory"
   1306 
   1307 
   1308 # Find the source files, if location was not specified.
   1309 if test -z "$srcdir"; then
   1310   ac_srcdir_defaulted=yes
   1311   # Try the directory containing this script, then the parent directory.
   1312   ac_confdir=`$as_dirname -- "$as_myself" ||
   1313 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1314 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1315 	 X"$as_myself" : 'X\(//\)$' \| \
   1316 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1317 $as_echo X"$as_myself" |
   1318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\/\)[^/].*/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  /^X\(\/\/\)$/{
   1327 	    s//\1/
   1328 	    q
   1329 	  }
   1330 	  /^X\(\/\).*/{
   1331 	    s//\1/
   1332 	    q
   1333 	  }
   1334 	  s/.*/./; q'`
   1335   srcdir=$ac_confdir
   1336   if test ! -r "$srcdir/$ac_unique_file"; then
   1337     srcdir=..
   1338   fi
   1339 else
   1340   ac_srcdir_defaulted=no
   1341 fi
   1342 if test ! -r "$srcdir/$ac_unique_file"; then
   1343   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1344   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1345 fi
   1346 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1347 ac_abs_confdir=`(
   1348 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1349 	pwd)`
   1350 # When building in place, set srcdir=.
   1351 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1352   srcdir=.
   1353 fi
   1354 # Remove unnecessary trailing slashes from srcdir.
   1355 # Double slashes in file names in object file debugging info
   1356 # mess up M-x gdb in Emacs.
   1357 case $srcdir in
   1358 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1359 esac
   1360 for ac_var in $ac_precious_vars; do
   1361   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1362   eval ac_env_${ac_var}_value=\$${ac_var}
   1363   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1364   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1365 done
   1366 
   1367 #
   1368 # Report the --help message.
   1369 #
   1370 if test "$ac_init_help" = "long"; then
   1371   # Omit some internal or obsolete options to make the list less imposing.
   1372   # This message is too long to be a string in the A/UX 3.1 sh.
   1373   cat <<_ACEOF
   1374 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
   1375 
   1376 Usage: $0 [OPTION]... [VAR=VALUE]...
   1377 
   1378 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1379 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1380 
   1381 Defaults for the options are specified in brackets.
   1382 
   1383 Configuration:
   1384   -h, --help              display this help and exit
   1385       --help=short        display options specific to this package
   1386       --help=recursive    display the short help of all the included packages
   1387   -V, --version           display version information and exit
   1388   -q, --quiet, --silent   do not print \`checking ...' messages
   1389       --cache-file=FILE   cache test results in FILE [disabled]
   1390   -C, --config-cache      alias for \`--cache-file=config.cache'
   1391   -n, --no-create         do not create output files
   1392       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1393 
   1394 Installation directories:
   1395   --prefix=PREFIX         install architecture-independent files in PREFIX
   1396                           [$ac_default_prefix]
   1397   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1398                           [PREFIX]
   1399 
   1400 By default, \`make install' will install all the files in
   1401 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1402 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1403 for instance \`--prefix=\$HOME'.
   1404 
   1405 For better control, use the options below.
   1406 
   1407 Fine tuning of the installation directories:
   1408   --bindir=DIR            user executables [EPREFIX/bin]
   1409   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1410   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1411   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1412   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1413   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1414   --libdir=DIR            object code libraries [EPREFIX/lib]
   1415   --includedir=DIR        C header files [PREFIX/include]
   1416   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1417   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1418   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1419   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1420   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1421   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1422   --docdir=DIR            documentation root [DATAROOTDIR/doc/package-unused]
   1423   --htmldir=DIR           html documentation [DOCDIR]
   1424   --dvidir=DIR            dvi documentation [DOCDIR]
   1425   --pdfdir=DIR            pdf documentation [DOCDIR]
   1426   --psdir=DIR             ps documentation [DOCDIR]
   1427 _ACEOF
   1428 
   1429   cat <<\_ACEOF
   1430 
   1431 Program names:
   1432   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1433   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1434   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1435 
   1436 System types:
   1437   --build=BUILD     configure for building on BUILD [guessed]
   1438   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1439   --target=TARGET   configure for building compilers for TARGET [HOST]
   1440 _ACEOF
   1441 fi
   1442 
   1443 if test -n "$ac_init_help"; then
   1444   case $ac_init_help in
   1445      short | recursive ) echo "Configuration of package-unused version-unused:";;
   1446    esac
   1447   cat <<\_ACEOF
   1448 
   1449 Optional Features:
   1450   --disable-option-checking  ignore unrecognized --enable/--with options
   1451   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1452   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1453   --enable-multilib       build many library versions (default)
   1454   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
   1455   --enable-dependency-tracking
   1456                           do not reject slow dependency extractors
   1457   --disable-dependency-tracking
   1458                           speeds up one-time build
   1459   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1460   --disable-silent-rules  verbose build output (undo: "make V=0")
   1461   --enable-maintainer-mode
   1462                           enable make rules and dependencies not useful (and
   1463                           sometimes confusing) to the casual installer
   1464   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1465   --enable-static[=PKGS]  build static libraries [default=yes]
   1466   --enable-fast-install[=PKGS]
   1467                           optimize for fast installation [default=yes]
   1468   --disable-libtool-lock  avoid locking (might break parallel builds)
   1469   --enable-cet            enable Intel CET in target libraries [default=no]
   1470 
   1471 Optional Packages:
   1472   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1473   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1474   --with-toolexeclibdir=DIR
   1475                           install libraries built with a cross compiler within
   1476                           DIR
   1477   --with-pic              try to use only PIC/non-PIC objects [default=use
   1478                           both]
   1479   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1480   --with-gcc-major-version-only
   1481                           use only GCC major number in filesystem paths
   1482 
   1483 Some influential environment variables:
   1484   CC          C compiler command
   1485   CFLAGS      C compiler flags
   1486   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1487               nonstandard directory <lib dir>
   1488   LIBS        libraries to pass to the linker, e.g. -l<library>
   1489   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1490               you have headers in a nonstandard directory <include dir>
   1491   CPP         C preprocessor
   1492   CXX         C++ compiler command
   1493   CXXFLAGS    C++ compiler flags
   1494   CCAS        assembler compiler command (defaults to CC)
   1495   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1496   CXXCPP      C++ preprocessor
   1497 
   1498 Use these variables to override the choices made by `configure' or to help
   1499 it to find libraries and programs with nonstandard names/locations.
   1500 
   1501 Report bugs to <libsanitizer>.
   1502 _ACEOF
   1503 ac_status=$?
   1504 fi
   1505 
   1506 if test "$ac_init_help" = "recursive"; then
   1507   # If there are subdirs, report their specific --help.
   1508   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1509     test -d "$ac_dir" ||
   1510       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1511       continue
   1512     ac_builddir=.
   1513 
   1514 case "$ac_dir" in
   1515 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1516 *)
   1517   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1518   # A ".." for each directory in $ac_dir_suffix.
   1519   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1520   case $ac_top_builddir_sub in
   1521   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1522   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1523   esac ;;
   1524 esac
   1525 ac_abs_top_builddir=$ac_pwd
   1526 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1527 # for backward compatibility:
   1528 ac_top_builddir=$ac_top_build_prefix
   1529 
   1530 case $srcdir in
   1531   .)  # We are building in place.
   1532     ac_srcdir=.
   1533     ac_top_srcdir=$ac_top_builddir_sub
   1534     ac_abs_top_srcdir=$ac_pwd ;;
   1535   [\\/]* | ?:[\\/]* )  # Absolute name.
   1536     ac_srcdir=$srcdir$ac_dir_suffix;
   1537     ac_top_srcdir=$srcdir
   1538     ac_abs_top_srcdir=$srcdir ;;
   1539   *) # Relative name.
   1540     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1541     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1542     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1543 esac
   1544 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1545 
   1546     cd "$ac_dir" || { ac_status=$?; continue; }
   1547     # Check for guested configure.
   1548     if test -f "$ac_srcdir/configure.gnu"; then
   1549       echo &&
   1550       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1551     elif test -f "$ac_srcdir/configure"; then
   1552       echo &&
   1553       $SHELL "$ac_srcdir/configure" --help=recursive
   1554     else
   1555       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1556     fi || ac_status=$?
   1557     cd "$ac_pwd" || { ac_status=$?; break; }
   1558   done
   1559 fi
   1560 
   1561 test -n "$ac_init_help" && exit $ac_status
   1562 if $ac_init_version; then
   1563   cat <<\_ACEOF
   1564 package-unused configure version-unused
   1565 generated by GNU Autoconf 2.69
   1566 
   1567 Copyright (C) 2012 Free Software Foundation, Inc.
   1568 This configure script is free software; the Free Software Foundation
   1569 gives unlimited permission to copy, distribute and modify it.
   1570 _ACEOF
   1571   exit
   1572 fi
   1573 
   1574 ## ------------------------ ##
   1575 ## Autoconf initialization. ##
   1576 ## ------------------------ ##
   1577 
   1578 # ac_fn_c_try_compile LINENO
   1579 # --------------------------
   1580 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1581 ac_fn_c_try_compile ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   rm -f conftest.$ac_objext
   1585   if { { ac_try="$ac_compile"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_compile") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } && {
   1601 	 test -z "$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        } && test -s conftest.$ac_objext; then :
   1604   ac_retval=0
   1605 else
   1606   $as_echo "$as_me: failed program was:" >&5
   1607 sed 's/^/| /' conftest.$ac_ext >&5
   1608 
   1609 	ac_retval=1
   1610 fi
   1611   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1612   as_fn_set_status $ac_retval
   1613 
   1614 } # ac_fn_c_try_compile
   1615 
   1616 # ac_fn_c_try_cpp LINENO
   1617 # ----------------------
   1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1619 ac_fn_c_try_cpp ()
   1620 {
   1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1622   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1623 case "(($ac_try" in
   1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1625   *) ac_try_echo=$ac_try;;
   1626 esac
   1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1628 $as_echo "$ac_try_echo"; } >&5
   1629   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1630   ac_status=$?
   1631   if test -s conftest.err; then
   1632     grep -v '^ *+' conftest.err >conftest.er1
   1633     cat conftest.er1 >&5
   1634     mv -f conftest.er1 conftest.err
   1635   fi
   1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1637   test $ac_status = 0; } > conftest.i && {
   1638 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1639 	 test ! -s conftest.err
   1640        }; then :
   1641   ac_retval=0
   1642 else
   1643   $as_echo "$as_me: failed program was:" >&5
   1644 sed 's/^/| /' conftest.$ac_ext >&5
   1645 
   1646     ac_retval=1
   1647 fi
   1648   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1649   as_fn_set_status $ac_retval
   1650 
   1651 } # ac_fn_c_try_cpp
   1652 
   1653 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1654 # -------------------------------------------------------
   1655 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1656 # the include files in INCLUDES and setting the cache variable VAR
   1657 # accordingly.
   1658 ac_fn_c_check_header_mongrel ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   if eval \${$3+:} false; then :
   1662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1663 $as_echo_n "checking for $2... " >&6; }
   1664 if eval \${$3+:} false; then :
   1665   $as_echo_n "(cached) " >&6
   1666 fi
   1667 eval ac_res=\$$3
   1668 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1669 $as_echo "$ac_res" >&6; }
   1670 else
   1671   # Is the header compilable?
   1672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1673 $as_echo_n "checking $2 usability... " >&6; }
   1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1675 /* end confdefs.h.  */
   1676 $4
   1677 #include <$2>
   1678 _ACEOF
   1679 if ac_fn_c_try_compile "$LINENO"; then :
   1680   ac_header_compiler=yes
   1681 else
   1682   ac_header_compiler=no
   1683 fi
   1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1686 $as_echo "$ac_header_compiler" >&6; }
   1687 
   1688 # Is the header present?
   1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1690 $as_echo_n "checking $2 presence... " >&6; }
   1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1692 /* end confdefs.h.  */
   1693 #include <$2>
   1694 _ACEOF
   1695 if ac_fn_c_try_cpp "$LINENO"; then :
   1696   ac_header_preproc=yes
   1697 else
   1698   ac_header_preproc=no
   1699 fi
   1700 rm -f conftest.err conftest.i conftest.$ac_ext
   1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1702 $as_echo "$ac_header_preproc" >&6; }
   1703 
   1704 # So?  What about this header?
   1705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1706   yes:no: )
   1707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1708 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1709     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1710 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1711     ;;
   1712   no:yes:* )
   1713     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1714 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1716 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1717     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1718 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1719     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1720 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1721     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1722 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1723 ( $as_echo "## --------------------------- ##
   1724 ## Report this to libsanitizer ##
   1725 ## --------------------------- ##"
   1726      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1727     ;;
   1728 esac
   1729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1730 $as_echo_n "checking for $2... " >&6; }
   1731 if eval \${$3+:} false; then :
   1732   $as_echo_n "(cached) " >&6
   1733 else
   1734   eval "$3=\$ac_header_compiler"
   1735 fi
   1736 eval ac_res=\$$3
   1737 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1738 $as_echo "$ac_res" >&6; }
   1739 fi
   1740   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1741 
   1742 } # ac_fn_c_check_header_mongrel
   1743 
   1744 # ac_fn_c_try_run LINENO
   1745 # ----------------------
   1746 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1747 # that executables *can* be run.
   1748 ac_fn_c_try_run ()
   1749 {
   1750   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1751   if { { ac_try="$ac_link"
   1752 case "(($ac_try" in
   1753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1754   *) ac_try_echo=$ac_try;;
   1755 esac
   1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1757 $as_echo "$ac_try_echo"; } >&5
   1758   (eval "$ac_link") 2>&5
   1759   ac_status=$?
   1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1761   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1762   { { case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_try") 2>&5
   1769   ac_status=$?
   1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1771   test $ac_status = 0; }; }; then :
   1772   ac_retval=0
   1773 else
   1774   $as_echo "$as_me: program exited with status $ac_status" >&5
   1775        $as_echo "$as_me: failed program was:" >&5
   1776 sed 's/^/| /' conftest.$ac_ext >&5
   1777 
   1778        ac_retval=$ac_status
   1779 fi
   1780   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782   as_fn_set_status $ac_retval
   1783 
   1784 } # ac_fn_c_try_run
   1785 
   1786 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1787 # -------------------------------------------------------
   1788 # Tests whether HEADER exists and can be compiled using the include files in
   1789 # INCLUDES, setting the cache variable VAR accordingly.
   1790 ac_fn_c_check_header_compile ()
   1791 {
   1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1794 $as_echo_n "checking for $2... " >&6; }
   1795 if eval \${$3+:} false; then :
   1796   $as_echo_n "(cached) " >&6
   1797 else
   1798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1799 /* end confdefs.h.  */
   1800 $4
   1801 #include <$2>
   1802 _ACEOF
   1803 if ac_fn_c_try_compile "$LINENO"; then :
   1804   eval "$3=yes"
   1805 else
   1806   eval "$3=no"
   1807 fi
   1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1809 fi
   1810 eval ac_res=\$$3
   1811 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1812 $as_echo "$ac_res" >&6; }
   1813   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1814 
   1815 } # ac_fn_c_check_header_compile
   1816 
   1817 # ac_fn_cxx_try_compile LINENO
   1818 # ----------------------------
   1819 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1820 ac_fn_cxx_try_compile ()
   1821 {
   1822   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1823   rm -f conftest.$ac_objext
   1824   if { { ac_try="$ac_compile"
   1825 case "(($ac_try" in
   1826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1827   *) ac_try_echo=$ac_try;;
   1828 esac
   1829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1830 $as_echo "$ac_try_echo"; } >&5
   1831   (eval "$ac_compile") 2>conftest.err
   1832   ac_status=$?
   1833   if test -s conftest.err; then
   1834     grep -v '^ *+' conftest.err >conftest.er1
   1835     cat conftest.er1 >&5
   1836     mv -f conftest.er1 conftest.err
   1837   fi
   1838   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1839   test $ac_status = 0; } && {
   1840 	 test -z "$ac_cxx_werror_flag" ||
   1841 	 test ! -s conftest.err
   1842        } && test -s conftest.$ac_objext; then :
   1843   ac_retval=0
   1844 else
   1845   $as_echo "$as_me: failed program was:" >&5
   1846 sed 's/^/| /' conftest.$ac_ext >&5
   1847 
   1848 	ac_retval=1
   1849 fi
   1850   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1851   as_fn_set_status $ac_retval
   1852 
   1853 } # ac_fn_cxx_try_compile
   1854 
   1855 # ac_fn_c_try_link LINENO
   1856 # -----------------------
   1857 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1858 ac_fn_c_try_link ()
   1859 {
   1860   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1861   rm -f conftest.$ac_objext conftest$ac_exeext
   1862   if { { ac_try="$ac_link"
   1863 case "(($ac_try" in
   1864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1865   *) ac_try_echo=$ac_try;;
   1866 esac
   1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1868 $as_echo "$ac_try_echo"; } >&5
   1869   (eval "$ac_link") 2>conftest.err
   1870   ac_status=$?
   1871   if test -s conftest.err; then
   1872     grep -v '^ *+' conftest.err >conftest.er1
   1873     cat conftest.er1 >&5
   1874     mv -f conftest.er1 conftest.err
   1875   fi
   1876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1877   test $ac_status = 0; } && {
   1878 	 test -z "$ac_c_werror_flag" ||
   1879 	 test ! -s conftest.err
   1880        } && test -s conftest$ac_exeext && {
   1881 	 test "$cross_compiling" = yes ||
   1882 	 test -x conftest$ac_exeext
   1883        }; then :
   1884   ac_retval=0
   1885 else
   1886   $as_echo "$as_me: failed program was:" >&5
   1887 sed 's/^/| /' conftest.$ac_ext >&5
   1888 
   1889 	ac_retval=1
   1890 fi
   1891   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1892   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1893   # interfere with the next link command; also delete a directory that is
   1894   # left behind by Apple's compiler.  We do this before executing the actions.
   1895   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1896   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1897   as_fn_set_status $ac_retval
   1898 
   1899 } # ac_fn_c_try_link
   1900 
   1901 # ac_fn_c_check_func LINENO FUNC VAR
   1902 # ----------------------------------
   1903 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1904 ac_fn_c_check_func ()
   1905 {
   1906   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1908 $as_echo_n "checking for $2... " >&6; }
   1909 if eval \${$3+:} false; then :
   1910   $as_echo_n "(cached) " >&6
   1911 else
   1912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1913 /* end confdefs.h.  */
   1914 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1915    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1916 #define $2 innocuous_$2
   1917 
   1918 /* System header to define __stub macros and hopefully few prototypes,
   1919     which can conflict with char $2 (); below.
   1920     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1921     <limits.h> exists even on freestanding compilers.  */
   1922 
   1923 #ifdef __STDC__
   1924 # include <limits.h>
   1925 #else
   1926 # include <assert.h>
   1927 #endif
   1928 
   1929 #undef $2
   1930 
   1931 /* Override any GCC internal prototype to avoid an error.
   1932    Use char because int might match the return type of a GCC
   1933    builtin and then its argument prototype would still apply.  */
   1934 #ifdef __cplusplus
   1935 extern "C"
   1936 #endif
   1937 char $2 ();
   1938 /* The GNU C library defines this for functions which it implements
   1939     to always fail with ENOSYS.  Some functions are actually named
   1940     something starting with __ and the normal name is an alias.  */
   1941 #if defined __stub_$2 || defined __stub___$2
   1942 choke me
   1943 #endif
   1944 
   1945 int
   1946 main ()
   1947 {
   1948 return $2 ();
   1949   ;
   1950   return 0;
   1951 }
   1952 _ACEOF
   1953 if ac_fn_c_try_link "$LINENO"; then :
   1954   eval "$3=yes"
   1955 else
   1956   eval "$3=no"
   1957 fi
   1958 rm -f core conftest.err conftest.$ac_objext \
   1959     conftest$ac_exeext conftest.$ac_ext
   1960 fi
   1961 eval ac_res=\$$3
   1962 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1963 $as_echo "$ac_res" >&6; }
   1964   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1965 
   1966 } # ac_fn_c_check_func
   1967 
   1968 # ac_fn_cxx_try_cpp LINENO
   1969 # ------------------------
   1970 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1971 ac_fn_cxx_try_cpp ()
   1972 {
   1973   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1974   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1975 case "(($ac_try" in
   1976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1977   *) ac_try_echo=$ac_try;;
   1978 esac
   1979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1980 $as_echo "$ac_try_echo"; } >&5
   1981   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1982   ac_status=$?
   1983   if test -s conftest.err; then
   1984     grep -v '^ *+' conftest.err >conftest.er1
   1985     cat conftest.er1 >&5
   1986     mv -f conftest.er1 conftest.err
   1987   fi
   1988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1989   test $ac_status = 0; } > conftest.i && {
   1990 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1991 	 test ! -s conftest.err
   1992        }; then :
   1993   ac_retval=0
   1994 else
   1995   $as_echo "$as_me: failed program was:" >&5
   1996 sed 's/^/| /' conftest.$ac_ext >&5
   1997 
   1998     ac_retval=1
   1999 fi
   2000   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2001   as_fn_set_status $ac_retval
   2002 
   2003 } # ac_fn_cxx_try_cpp
   2004 
   2005 # ac_fn_cxx_try_link LINENO
   2006 # -------------------------
   2007 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2008 ac_fn_cxx_try_link ()
   2009 {
   2010   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2011   rm -f conftest.$ac_objext conftest$ac_exeext
   2012   if { { ac_try="$ac_link"
   2013 case "(($ac_try" in
   2014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2015   *) ac_try_echo=$ac_try;;
   2016 esac
   2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2018 $as_echo "$ac_try_echo"; } >&5
   2019   (eval "$ac_link") 2>conftest.err
   2020   ac_status=$?
   2021   if test -s conftest.err; then
   2022     grep -v '^ *+' conftest.err >conftest.er1
   2023     cat conftest.er1 >&5
   2024     mv -f conftest.er1 conftest.err
   2025   fi
   2026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2027   test $ac_status = 0; } && {
   2028 	 test -z "$ac_cxx_werror_flag" ||
   2029 	 test ! -s conftest.err
   2030        } && test -s conftest$ac_exeext && {
   2031 	 test "$cross_compiling" = yes ||
   2032 	 test -x conftest$ac_exeext
   2033        }; then :
   2034   ac_retval=0
   2035 else
   2036   $as_echo "$as_me: failed program was:" >&5
   2037 sed 's/^/| /' conftest.$ac_ext >&5
   2038 
   2039 	ac_retval=1
   2040 fi
   2041   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2042   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2043   # interfere with the next link command; also delete a directory that is
   2044   # left behind by Apple's compiler.  We do this before executing the actions.
   2045   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2046   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2047   as_fn_set_status $ac_retval
   2048 
   2049 } # ac_fn_cxx_try_link
   2050 
   2051 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2052 # --------------------------------------------
   2053 # Tries to find the compile-time value of EXPR in a program that includes
   2054 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2055 # computed
   2056 ac_fn_c_compute_int ()
   2057 {
   2058   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2059   if test "$cross_compiling" = yes; then
   2060     # Depending upon the size, compute the lo and hi bounds.
   2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2062 /* end confdefs.h.  */
   2063 $4
   2064 int
   2065 main ()
   2066 {
   2067 static int test_array [1 - 2 * !(($2) >= 0)];
   2068 test_array [0] = 0;
   2069 return test_array [0];
   2070 
   2071   ;
   2072   return 0;
   2073 }
   2074 _ACEOF
   2075 if ac_fn_c_try_compile "$LINENO"; then :
   2076   ac_lo=0 ac_mid=0
   2077   while :; do
   2078     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2079 /* end confdefs.h.  */
   2080 $4
   2081 int
   2082 main ()
   2083 {
   2084 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2085 test_array [0] = 0;
   2086 return test_array [0];
   2087 
   2088   ;
   2089   return 0;
   2090 }
   2091 _ACEOF
   2092 if ac_fn_c_try_compile "$LINENO"; then :
   2093   ac_hi=$ac_mid; break
   2094 else
   2095   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2096 			if test $ac_lo -le $ac_mid; then
   2097 			  ac_lo= ac_hi=
   2098 			  break
   2099 			fi
   2100 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2101 fi
   2102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2103   done
   2104 else
   2105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2106 /* end confdefs.h.  */
   2107 $4
   2108 int
   2109 main ()
   2110 {
   2111 static int test_array [1 - 2 * !(($2) < 0)];
   2112 test_array [0] = 0;
   2113 return test_array [0];
   2114 
   2115   ;
   2116   return 0;
   2117 }
   2118 _ACEOF
   2119 if ac_fn_c_try_compile "$LINENO"; then :
   2120   ac_hi=-1 ac_mid=-1
   2121   while :; do
   2122     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2123 /* end confdefs.h.  */
   2124 $4
   2125 int
   2126 main ()
   2127 {
   2128 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2129 test_array [0] = 0;
   2130 return test_array [0];
   2131 
   2132   ;
   2133   return 0;
   2134 }
   2135 _ACEOF
   2136 if ac_fn_c_try_compile "$LINENO"; then :
   2137   ac_lo=$ac_mid; break
   2138 else
   2139   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2140 			if test $ac_mid -le $ac_hi; then
   2141 			  ac_lo= ac_hi=
   2142 			  break
   2143 			fi
   2144 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2145 fi
   2146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2147   done
   2148 else
   2149   ac_lo= ac_hi=
   2150 fi
   2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2152 fi
   2153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2154 # Binary search between lo and hi bounds.
   2155 while test "x$ac_lo" != "x$ac_hi"; do
   2156   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2158 /* end confdefs.h.  */
   2159 $4
   2160 int
   2161 main ()
   2162 {
   2163 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2164 test_array [0] = 0;
   2165 return test_array [0];
   2166 
   2167   ;
   2168   return 0;
   2169 }
   2170 _ACEOF
   2171 if ac_fn_c_try_compile "$LINENO"; then :
   2172   ac_hi=$ac_mid
   2173 else
   2174   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2175 fi
   2176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2177 done
   2178 case $ac_lo in #((
   2179 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2180 '') ac_retval=1 ;;
   2181 esac
   2182   else
   2183     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2184 /* end confdefs.h.  */
   2185 $4
   2186 static long int longval () { return $2; }
   2187 static unsigned long int ulongval () { return $2; }
   2188 #include <stdio.h>
   2189 #include <stdlib.h>
   2190 int
   2191 main ()
   2192 {
   2193 
   2194   FILE *f = fopen ("conftest.val", "w");
   2195   if (! f)
   2196     return 1;
   2197   if (($2) < 0)
   2198     {
   2199       long int i = longval ();
   2200       if (i != ($2))
   2201 	return 1;
   2202       fprintf (f, "%ld", i);
   2203     }
   2204   else
   2205     {
   2206       unsigned long int i = ulongval ();
   2207       if (i != ($2))
   2208 	return 1;
   2209       fprintf (f, "%lu", i);
   2210     }
   2211   /* Do not output a trailing newline, as this causes \r\n confusion
   2212      on some platforms.  */
   2213   return ferror (f) || fclose (f) != 0;
   2214 
   2215   ;
   2216   return 0;
   2217 }
   2218 _ACEOF
   2219 if ac_fn_c_try_run "$LINENO"; then :
   2220   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2221 else
   2222   ac_retval=1
   2223 fi
   2224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2225   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2226 rm -f conftest.val
   2227 
   2228   fi
   2229   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2230   as_fn_set_status $ac_retval
   2231 
   2232 } # ac_fn_c_compute_int
   2233 
   2234 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2235 # -------------------------------------------
   2236 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2237 # variable VAR accordingly.
   2238 ac_fn_c_check_type ()
   2239 {
   2240   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2242 $as_echo_n "checking for $2... " >&6; }
   2243 if eval \${$3+:} false; then :
   2244   $as_echo_n "(cached) " >&6
   2245 else
   2246   eval "$3=no"
   2247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2248 /* end confdefs.h.  */
   2249 $4
   2250 int
   2251 main ()
   2252 {
   2253 if (sizeof ($2))
   2254 	 return 0;
   2255   ;
   2256   return 0;
   2257 }
   2258 _ACEOF
   2259 if ac_fn_c_try_compile "$LINENO"; then :
   2260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2261 /* end confdefs.h.  */
   2262 $4
   2263 int
   2264 main ()
   2265 {
   2266 if (sizeof (($2)))
   2267 	    return 0;
   2268   ;
   2269   return 0;
   2270 }
   2271 _ACEOF
   2272 if ac_fn_c_try_compile "$LINENO"; then :
   2273 
   2274 else
   2275   eval "$3=yes"
   2276 fi
   2277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2278 fi
   2279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2280 fi
   2281 eval ac_res=\$$3
   2282 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2283 $as_echo "$ac_res" >&6; }
   2284   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2285 
   2286 } # ac_fn_c_check_type
   2287 
   2288 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2289 # ---------------------------------------------
   2290 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2291 # accordingly.
   2292 ac_fn_c_check_decl ()
   2293 {
   2294   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2295   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2296   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2298 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2299 if eval \${$3+:} false; then :
   2300   $as_echo_n "(cached) " >&6
   2301 else
   2302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2303 /* end confdefs.h.  */
   2304 $4
   2305 int
   2306 main ()
   2307 {
   2308 #ifndef $as_decl_name
   2309 #ifdef __cplusplus
   2310   (void) $as_decl_use;
   2311 #else
   2312   (void) $as_decl_name;
   2313 #endif
   2314 #endif
   2315 
   2316   ;
   2317   return 0;
   2318 }
   2319 _ACEOF
   2320 if ac_fn_c_try_compile "$LINENO"; then :
   2321   eval "$3=yes"
   2322 else
   2323   eval "$3=no"
   2324 fi
   2325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2326 fi
   2327 eval ac_res=\$$3
   2328 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2329 $as_echo "$ac_res" >&6; }
   2330   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2331 
   2332 } # ac_fn_c_check_decl
   2333 cat >config.log <<_ACEOF
   2334 This file contains any messages produced by compilers while
   2335 running configure, to aid debugging if configure makes a mistake.
   2336 
   2337 It was created by package-unused $as_me version-unused, which was
   2338 generated by GNU Autoconf 2.69.  Invocation command line was
   2339 
   2340   $ $0 $@
   2341 
   2342 _ACEOF
   2343 exec 5>>config.log
   2344 {
   2345 cat <<_ASUNAME
   2346 ## --------- ##
   2347 ## Platform. ##
   2348 ## --------- ##
   2349 
   2350 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2351 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2352 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2353 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2354 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2355 
   2356 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2357 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2358 
   2359 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2360 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2361 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2362 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2363 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2364 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2365 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2366 
   2367 _ASUNAME
   2368 
   2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2370 for as_dir in $PATH
   2371 do
   2372   IFS=$as_save_IFS
   2373   test -z "$as_dir" && as_dir=.
   2374     $as_echo "PATH: $as_dir"
   2375   done
   2376 IFS=$as_save_IFS
   2377 
   2378 } >&5
   2379 
   2380 cat >&5 <<_ACEOF
   2381 
   2382 
   2383 ## ----------- ##
   2384 ## Core tests. ##
   2385 ## ----------- ##
   2386 
   2387 _ACEOF
   2388 
   2389 
   2390 # Keep a trace of the command line.
   2391 # Strip out --no-create and --no-recursion so they do not pile up.
   2392 # Strip out --silent because we don't want to record it for future runs.
   2393 # Also quote any args containing shell meta-characters.
   2394 # Make two passes to allow for proper duplicate-argument suppression.
   2395 ac_configure_args=
   2396 ac_configure_args0=
   2397 ac_configure_args1=
   2398 ac_must_keep_next=false
   2399 for ac_pass in 1 2
   2400 do
   2401   for ac_arg
   2402   do
   2403     case $ac_arg in
   2404     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2405     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2406     | -silent | --silent | --silen | --sile | --sil)
   2407       continue ;;
   2408     *\'*)
   2409       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2410     esac
   2411     case $ac_pass in
   2412     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2413     2)
   2414       as_fn_append ac_configure_args1 " '$ac_arg'"
   2415       if test $ac_must_keep_next = true; then
   2416 	ac_must_keep_next=false # Got value, back to normal.
   2417       else
   2418 	case $ac_arg in
   2419 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2420 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2421 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2422 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2423 	    case "$ac_configure_args0 " in
   2424 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2425 	    esac
   2426 	    ;;
   2427 	  -* ) ac_must_keep_next=true ;;
   2428 	esac
   2429       fi
   2430       as_fn_append ac_configure_args " '$ac_arg'"
   2431       ;;
   2432     esac
   2433   done
   2434 done
   2435 { ac_configure_args0=; unset ac_configure_args0;}
   2436 { ac_configure_args1=; unset ac_configure_args1;}
   2437 
   2438 # When interrupted or exit'd, cleanup temporary files, and complete
   2439 # config.log.  We remove comments because anyway the quotes in there
   2440 # would cause problems or look ugly.
   2441 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2442 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2443 trap 'exit_status=$?
   2444   # Save into config.log some information that might help in debugging.
   2445   {
   2446     echo
   2447 
   2448     $as_echo "## ---------------- ##
   2449 ## Cache variables. ##
   2450 ## ---------------- ##"
   2451     echo
   2452     # The following way of writing the cache mishandles newlines in values,
   2453 (
   2454   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2455     eval ac_val=\$$ac_var
   2456     case $ac_val in #(
   2457     *${as_nl}*)
   2458       case $ac_var in #(
   2459       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2460 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2461       esac
   2462       case $ac_var in #(
   2463       _ | IFS | as_nl) ;; #(
   2464       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2465       *) { eval $ac_var=; unset $ac_var;} ;;
   2466       esac ;;
   2467     esac
   2468   done
   2469   (set) 2>&1 |
   2470     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2471     *${as_nl}ac_space=\ *)
   2472       sed -n \
   2473 	"s/'\''/'\''\\\\'\'''\''/g;
   2474 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2475       ;; #(
   2476     *)
   2477       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2478       ;;
   2479     esac |
   2480     sort
   2481 )
   2482     echo
   2483 
   2484     $as_echo "## ----------------- ##
   2485 ## Output variables. ##
   2486 ## ----------------- ##"
   2487     echo
   2488     for ac_var in $ac_subst_vars
   2489     do
   2490       eval ac_val=\$$ac_var
   2491       case $ac_val in
   2492       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2493       esac
   2494       $as_echo "$ac_var='\''$ac_val'\''"
   2495     done | sort
   2496     echo
   2497 
   2498     if test -n "$ac_subst_files"; then
   2499       $as_echo "## ------------------- ##
   2500 ## File substitutions. ##
   2501 ## ------------------- ##"
   2502       echo
   2503       for ac_var in $ac_subst_files
   2504       do
   2505 	eval ac_val=\$$ac_var
   2506 	case $ac_val in
   2507 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2508 	esac
   2509 	$as_echo "$ac_var='\''$ac_val'\''"
   2510       done | sort
   2511       echo
   2512     fi
   2513 
   2514     if test -s confdefs.h; then
   2515       $as_echo "## ----------- ##
   2516 ## confdefs.h. ##
   2517 ## ----------- ##"
   2518       echo
   2519       cat confdefs.h
   2520       echo
   2521     fi
   2522     test "$ac_signal" != 0 &&
   2523       $as_echo "$as_me: caught signal $ac_signal"
   2524     $as_echo "$as_me: exit $exit_status"
   2525   } >&5
   2526   rm -f core *.core core.conftest.* &&
   2527     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2528     exit $exit_status
   2529 ' 0
   2530 for ac_signal in 1 2 13 15; do
   2531   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2532 done
   2533 ac_signal=0
   2534 
   2535 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2536 rm -f -r conftest* confdefs.h
   2537 
   2538 $as_echo "/* confdefs.h */" > confdefs.h
   2539 
   2540 # Predefined preprocessor variables.
   2541 
   2542 cat >>confdefs.h <<_ACEOF
   2543 #define PACKAGE_NAME "$PACKAGE_NAME"
   2544 _ACEOF
   2545 
   2546 cat >>confdefs.h <<_ACEOF
   2547 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2548 _ACEOF
   2549 
   2550 cat >>confdefs.h <<_ACEOF
   2551 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2552 _ACEOF
   2553 
   2554 cat >>confdefs.h <<_ACEOF
   2555 #define PACKAGE_STRING "$PACKAGE_STRING"
   2556 _ACEOF
   2557 
   2558 cat >>confdefs.h <<_ACEOF
   2559 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2560 _ACEOF
   2561 
   2562 cat >>confdefs.h <<_ACEOF
   2563 #define PACKAGE_URL "$PACKAGE_URL"
   2564 _ACEOF
   2565 
   2566 
   2567 # Let the site file select an alternate cache file if it wants to.
   2568 # Prefer an explicitly selected file to automatically selected ones.
   2569 ac_site_file1=NONE
   2570 ac_site_file2=NONE
   2571 if test -n "$CONFIG_SITE"; then
   2572   # We do not want a PATH search for config.site.
   2573   case $CONFIG_SITE in #((
   2574     -*)  ac_site_file1=./$CONFIG_SITE;;
   2575     */*) ac_site_file1=$CONFIG_SITE;;
   2576     *)   ac_site_file1=./$CONFIG_SITE;;
   2577   esac
   2578 elif test "x$prefix" != xNONE; then
   2579   ac_site_file1=$prefix/share/config.site
   2580   ac_site_file2=$prefix/etc/config.site
   2581 else
   2582   ac_site_file1=$ac_default_prefix/share/config.site
   2583   ac_site_file2=$ac_default_prefix/etc/config.site
   2584 fi
   2585 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2586 do
   2587   test "x$ac_site_file" = xNONE && continue
   2588   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2589     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2590 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2591     sed 's/^/| /' "$ac_site_file" >&5
   2592     . "$ac_site_file" \
   2593       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2595 as_fn_error $? "failed to load site script $ac_site_file
   2596 See \`config.log' for more details" "$LINENO" 5; }
   2597   fi
   2598 done
   2599 
   2600 if test -r "$cache_file"; then
   2601   # Some versions of bash will fail to source /dev/null (special files
   2602   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2603   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2604     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2605 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2606     case $cache_file in
   2607       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2608       *)                      . "./$cache_file";;
   2609     esac
   2610   fi
   2611 else
   2612   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2613 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2614   >$cache_file
   2615 fi
   2616 
   2617 # Check that the precious variables saved in the cache have kept the same
   2618 # value.
   2619 ac_cache_corrupted=false
   2620 for ac_var in $ac_precious_vars; do
   2621   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2622   eval ac_new_set=\$ac_env_${ac_var}_set
   2623   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2624   eval ac_new_val=\$ac_env_${ac_var}_value
   2625   case $ac_old_set,$ac_new_set in
   2626     set,)
   2627       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2628 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2629       ac_cache_corrupted=: ;;
   2630     ,set)
   2631       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2632 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2633       ac_cache_corrupted=: ;;
   2634     ,);;
   2635     *)
   2636       if test "x$ac_old_val" != "x$ac_new_val"; then
   2637 	# differences in whitespace do not lead to failure.
   2638 	ac_old_val_w=`echo x $ac_old_val`
   2639 	ac_new_val_w=`echo x $ac_new_val`
   2640 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2641 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2642 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2643 	  ac_cache_corrupted=:
   2644 	else
   2645 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2646 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2647 	  eval $ac_var=\$ac_old_val
   2648 	fi
   2649 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2650 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2651 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2652 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2653       fi;;
   2654   esac
   2655   # Pass precious variables to config.status.
   2656   if test "$ac_new_set" = set; then
   2657     case $ac_new_val in
   2658     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2659     *) ac_arg=$ac_var=$ac_new_val ;;
   2660     esac
   2661     case " $ac_configure_args " in
   2662       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2663       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2664     esac
   2665   fi
   2666 done
   2667 if $ac_cache_corrupted; then
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2670   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2671 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2672   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2673 fi
   2674 ## -------------------- ##
   2675 ## Main body of script. ##
   2676 ## -------------------- ##
   2677 
   2678 ac_ext=c
   2679 ac_cpp='$CPP $CPPFLAGS'
   2680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2683 
   2684 
   2685 
   2686 
   2687 
   2688 
   2689 
   2690 # Default to --enable-multilib
   2691 # Check whether --enable-multilib was given.
   2692 if test "${enable_multilib+set}" = set; then :
   2693   enableval=$enable_multilib; case "$enableval" in
   2694   yes) multilib=yes ;;
   2695   no)  multilib=no ;;
   2696   *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
   2697  esac
   2698 else
   2699   multilib=yes
   2700 fi
   2701 
   2702 
   2703 # We may get other options which we leave undocumented:
   2704 # --with-target-subdir, --with-multisrctop, --with-multisubdir
   2705 # See config-ml.in if you want the gory details.
   2706 
   2707 if test "$srcdir" = "."; then
   2708   if test "$with_target_subdir" != "."; then
   2709     multi_basedir="$srcdir/$with_multisrctop../.."
   2710   else
   2711     multi_basedir="$srcdir/$with_multisrctop.."
   2712   fi
   2713 else
   2714   multi_basedir="$srcdir/.."
   2715 fi
   2716 
   2717 
   2718 # Even if the default multilib is not a cross compilation,
   2719 # it may be that some of the other multilibs are.
   2720 if test $cross_compiling = no && test $multilib = yes \
   2721    && test "x${with_multisubdir}" != x ; then
   2722    cross_compiling=maybe
   2723 fi
   2724 
   2725 ac_config_commands="$ac_config_commands default-1"
   2726 
   2727 
   2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
   2729 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
   2730 # Check whether --enable-version-specific-runtime-libs was given.
   2731 if test "${enable_version_specific_runtime_libs+set}" = set; then :
   2732   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
   2733  yes) version_specific_libs=yes ;;
   2734  no)  version_specific_libs=no ;;
   2735  *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
   2736  esac
   2737 else
   2738   version_specific_libs=no
   2739 fi
   2740 
   2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
   2742 $as_echo "$version_specific_libs" >&6; }
   2743 
   2744 ac_aux_dir=
   2745 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2746   if test -f "$ac_dir/install-sh"; then
   2747     ac_aux_dir=$ac_dir
   2748     ac_install_sh="$ac_aux_dir/install-sh -c"
   2749     break
   2750   elif test -f "$ac_dir/install.sh"; then
   2751     ac_aux_dir=$ac_dir
   2752     ac_install_sh="$ac_aux_dir/install.sh -c"
   2753     break
   2754   elif test -f "$ac_dir/shtool"; then
   2755     ac_aux_dir=$ac_dir
   2756     ac_install_sh="$ac_aux_dir/shtool install -c"
   2757     break
   2758   fi
   2759 done
   2760 if test -z "$ac_aux_dir"; then
   2761   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2762 fi
   2763 
   2764 # These three variables are undocumented and unsupported,
   2765 # and are intended to be withdrawn in a future Autoconf release.
   2766 # They can cause serious problems if a builder's source tree is in a directory
   2767 # whose full name contains unusual characters.
   2768 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2769 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2770 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2771 
   2772 
   2773 # Expand $ac_aux_dir to an absolute path.
   2774 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2775 
   2776 ac_ext=c
   2777 ac_cpp='$CPP $CPPFLAGS'
   2778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2781 if test -n "$ac_tool_prefix"; then
   2782   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2783 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2785 $as_echo_n "checking for $ac_word... " >&6; }
   2786 if ${ac_cv_prog_CC+:} false; then :
   2787   $as_echo_n "(cached) " >&6
   2788 else
   2789   if test -n "$CC"; then
   2790   ac_cv_prog_CC="$CC" # Let the user override the test.
   2791 else
   2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2793 for as_dir in $PATH
   2794 do
   2795   IFS=$as_save_IFS
   2796   test -z "$as_dir" && as_dir=.
   2797     for ac_exec_ext in '' $ac_executable_extensions; do
   2798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2799     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804   done
   2805 IFS=$as_save_IFS
   2806 
   2807 fi
   2808 fi
   2809 CC=$ac_cv_prog_CC
   2810 if test -n "$CC"; then
   2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2812 $as_echo "$CC" >&6; }
   2813 else
   2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2815 $as_echo "no" >&6; }
   2816 fi
   2817 
   2818 
   2819 fi
   2820 if test -z "$ac_cv_prog_CC"; then
   2821   ac_ct_CC=$CC
   2822   # Extract the first word of "gcc", so it can be a program name with args.
   2823 set dummy gcc; ac_word=$2
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2825 $as_echo_n "checking for $ac_word... " >&6; }
   2826 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2827   $as_echo_n "(cached) " >&6
   2828 else
   2829   if test -n "$ac_ct_CC"; then
   2830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2831 else
   2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2833 for as_dir in $PATH
   2834 do
   2835   IFS=$as_save_IFS
   2836   test -z "$as_dir" && as_dir=.
   2837     for ac_exec_ext in '' $ac_executable_extensions; do
   2838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2839     ac_cv_prog_ac_ct_CC="gcc"
   2840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2841     break 2
   2842   fi
   2843 done
   2844   done
   2845 IFS=$as_save_IFS
   2846 
   2847 fi
   2848 fi
   2849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2850 if test -n "$ac_ct_CC"; then
   2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2852 $as_echo "$ac_ct_CC" >&6; }
   2853 else
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2855 $as_echo "no" >&6; }
   2856 fi
   2857 
   2858   if test "x$ac_ct_CC" = x; then
   2859     CC=""
   2860   else
   2861     case $cross_compiling:$ac_tool_warned in
   2862 yes:)
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2865 ac_tool_warned=yes ;;
   2866 esac
   2867     CC=$ac_ct_CC
   2868   fi
   2869 else
   2870   CC="$ac_cv_prog_CC"
   2871 fi
   2872 
   2873 if test -z "$CC"; then
   2874           if test -n "$ac_tool_prefix"; then
   2875     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2876 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2878 $as_echo_n "checking for $ac_word... " >&6; }
   2879 if ${ac_cv_prog_CC+:} false; then :
   2880   $as_echo_n "(cached) " >&6
   2881 else
   2882   if test -n "$CC"; then
   2883   ac_cv_prog_CC="$CC" # Let the user override the test.
   2884 else
   2885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2886 for as_dir in $PATH
   2887 do
   2888   IFS=$as_save_IFS
   2889   test -z "$as_dir" && as_dir=.
   2890     for ac_exec_ext in '' $ac_executable_extensions; do
   2891   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2892     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2893     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2894     break 2
   2895   fi
   2896 done
   2897   done
   2898 IFS=$as_save_IFS
   2899 
   2900 fi
   2901 fi
   2902 CC=$ac_cv_prog_CC
   2903 if test -n "$CC"; then
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2905 $as_echo "$CC" >&6; }
   2906 else
   2907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2908 $as_echo "no" >&6; }
   2909 fi
   2910 
   2911 
   2912   fi
   2913 fi
   2914 if test -z "$CC"; then
   2915   # Extract the first word of "cc", so it can be a program name with args.
   2916 set dummy cc; ac_word=$2
   2917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2918 $as_echo_n "checking for $ac_word... " >&6; }
   2919 if ${ac_cv_prog_CC+:} false; then :
   2920   $as_echo_n "(cached) " >&6
   2921 else
   2922   if test -n "$CC"; then
   2923   ac_cv_prog_CC="$CC" # Let the user override the test.
   2924 else
   2925   ac_prog_rejected=no
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2933     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2934        ac_prog_rejected=yes
   2935        continue
   2936      fi
   2937     ac_cv_prog_CC="cc"
   2938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942   done
   2943 IFS=$as_save_IFS
   2944 
   2945 if test $ac_prog_rejected = yes; then
   2946   # We found a bogon in the path, so make sure we never use it.
   2947   set dummy $ac_cv_prog_CC
   2948   shift
   2949   if test $# != 0; then
   2950     # We chose a different compiler from the bogus one.
   2951     # However, it has the same basename, so the bogon will be chosen
   2952     # first if we set CC to just the basename; use the full file name.
   2953     shift
   2954     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2955   fi
   2956 fi
   2957 fi
   2958 fi
   2959 CC=$ac_cv_prog_CC
   2960 if test -n "$CC"; then
   2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2962 $as_echo "$CC" >&6; }
   2963 else
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2965 $as_echo "no" >&6; }
   2966 fi
   2967 
   2968 
   2969 fi
   2970 if test -z "$CC"; then
   2971   if test -n "$ac_tool_prefix"; then
   2972   for ac_prog in cl.exe
   2973   do
   2974     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2975 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2977 $as_echo_n "checking for $ac_word... " >&6; }
   2978 if ${ac_cv_prog_CC+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   if test -n "$CC"; then
   2982   ac_cv_prog_CC="$CC" # Let the user override the test.
   2983 else
   2984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2985 for as_dir in $PATH
   2986 do
   2987   IFS=$as_save_IFS
   2988   test -z "$as_dir" && as_dir=.
   2989     for ac_exec_ext in '' $ac_executable_extensions; do
   2990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2991     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2993     break 2
   2994   fi
   2995 done
   2996   done
   2997 IFS=$as_save_IFS
   2998 
   2999 fi
   3000 fi
   3001 CC=$ac_cv_prog_CC
   3002 if test -n "$CC"; then
   3003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3004 $as_echo "$CC" >&6; }
   3005 else
   3006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3007 $as_echo "no" >&6; }
   3008 fi
   3009 
   3010 
   3011     test -n "$CC" && break
   3012   done
   3013 fi
   3014 if test -z "$CC"; then
   3015   ac_ct_CC=$CC
   3016   for ac_prog in cl.exe
   3017 do
   3018   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3019 set dummy $ac_prog; ac_word=$2
   3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3021 $as_echo_n "checking for $ac_word... " >&6; }
   3022 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3023   $as_echo_n "(cached) " >&6
   3024 else
   3025   if test -n "$ac_ct_CC"; then
   3026   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3027 else
   3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3029 for as_dir in $PATH
   3030 do
   3031   IFS=$as_save_IFS
   3032   test -z "$as_dir" && as_dir=.
   3033     for ac_exec_ext in '' $ac_executable_extensions; do
   3034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3035     ac_cv_prog_ac_ct_CC="$ac_prog"
   3036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3037     break 2
   3038   fi
   3039 done
   3040   done
   3041 IFS=$as_save_IFS
   3042 
   3043 fi
   3044 fi
   3045 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3046 if test -n "$ac_ct_CC"; then
   3047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3048 $as_echo "$ac_ct_CC" >&6; }
   3049 else
   3050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3051 $as_echo "no" >&6; }
   3052 fi
   3053 
   3054 
   3055   test -n "$ac_ct_CC" && break
   3056 done
   3057 
   3058   if test "x$ac_ct_CC" = x; then
   3059     CC=""
   3060   else
   3061     case $cross_compiling:$ac_tool_warned in
   3062 yes:)
   3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3065 ac_tool_warned=yes ;;
   3066 esac
   3067     CC=$ac_ct_CC
   3068   fi
   3069 fi
   3070 
   3071 fi
   3072 
   3073 
   3074 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3075 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3076 as_fn_error $? "no acceptable C compiler found in \$PATH
   3077 See \`config.log' for more details" "$LINENO" 5; }
   3078 
   3079 # Provide some information about the compiler.
   3080 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3081 set X $ac_compile
   3082 ac_compiler=$2
   3083 for ac_option in --version -v -V -qversion; do
   3084   { { ac_try="$ac_compiler $ac_option >&5"
   3085 case "(($ac_try" in
   3086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3087   *) ac_try_echo=$ac_try;;
   3088 esac
   3089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3090 $as_echo "$ac_try_echo"; } >&5
   3091   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3092   ac_status=$?
   3093   if test -s conftest.err; then
   3094     sed '10a\
   3095 ... rest of stderr output deleted ...
   3096          10q' conftest.err >conftest.er1
   3097     cat conftest.er1 >&5
   3098   fi
   3099   rm -f conftest.er1 conftest.err
   3100   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3101   test $ac_status = 0; }
   3102 done
   3103 
   3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3105 /* end confdefs.h.  */
   3106 
   3107 int
   3108 main ()
   3109 {
   3110 
   3111   ;
   3112   return 0;
   3113 }
   3114 _ACEOF
   3115 ac_clean_files_save=$ac_clean_files
   3116 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3117 # Try to create an executable without -o first, disregard a.out.
   3118 # It will help us diagnose broken compilers, and finding out an intuition
   3119 # of exeext.
   3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3121 $as_echo_n "checking whether the C compiler works... " >&6; }
   3122 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3123 
   3124 # The possible output files:
   3125 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3126 
   3127 ac_rmfiles=
   3128 for ac_file in $ac_files
   3129 do
   3130   case $ac_file in
   3131     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3132     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3133   esac
   3134 done
   3135 rm -f $ac_rmfiles
   3136 
   3137 if { { ac_try="$ac_link_default"
   3138 case "(($ac_try" in
   3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3140   *) ac_try_echo=$ac_try;;
   3141 esac
   3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3143 $as_echo "$ac_try_echo"; } >&5
   3144   (eval "$ac_link_default") 2>&5
   3145   ac_status=$?
   3146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3147   test $ac_status = 0; }; then :
   3148   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3149 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3150 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3151 # so that the user can short-circuit this test for compilers unknown to
   3152 # Autoconf.
   3153 for ac_file in $ac_files ''
   3154 do
   3155   test -f "$ac_file" || continue
   3156   case $ac_file in
   3157     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3158 	;;
   3159     [ab].out )
   3160 	# We found the default executable, but exeext='' is most
   3161 	# certainly right.
   3162 	break;;
   3163     *.* )
   3164 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3165 	then :; else
   3166 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3167 	fi
   3168 	# We set ac_cv_exeext here because the later test for it is not
   3169 	# safe: cross compilers may not add the suffix if given an `-o'
   3170 	# argument, so we may need to know it at that point already.
   3171 	# Even if this section looks crufty: it has the advantage of
   3172 	# actually working.
   3173 	break;;
   3174     * )
   3175 	break;;
   3176   esac
   3177 done
   3178 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3179 
   3180 else
   3181   ac_file=''
   3182 fi
   3183 if test -z "$ac_file"; then :
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3185 $as_echo "no" >&6; }
   3186 $as_echo "$as_me: failed program was:" >&5
   3187 sed 's/^/| /' conftest.$ac_ext >&5
   3188 
   3189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3190 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3191 as_fn_error 77 "C compiler cannot create executables
   3192 See \`config.log' for more details" "$LINENO" 5; }
   3193 else
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3195 $as_echo "yes" >&6; }
   3196 fi
   3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3198 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3200 $as_echo "$ac_file" >&6; }
   3201 ac_exeext=$ac_cv_exeext
   3202 
   3203 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3204 ac_clean_files=$ac_clean_files_save
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3206 $as_echo_n "checking for suffix of executables... " >&6; }
   3207 if { { ac_try="$ac_link"
   3208 case "(($ac_try" in
   3209   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3210   *) ac_try_echo=$ac_try;;
   3211 esac
   3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3213 $as_echo "$ac_try_echo"; } >&5
   3214   (eval "$ac_link") 2>&5
   3215   ac_status=$?
   3216   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3217   test $ac_status = 0; }; then :
   3218   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3219 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3220 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3221 # `rm'.
   3222 for ac_file in conftest.exe conftest conftest.*; do
   3223   test -f "$ac_file" || continue
   3224   case $ac_file in
   3225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3226     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3227 	  break;;
   3228     * ) break;;
   3229   esac
   3230 done
   3231 else
   3232   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3234 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3235 See \`config.log' for more details" "$LINENO" 5; }
   3236 fi
   3237 rm -f conftest conftest$ac_cv_exeext
   3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3239 $as_echo "$ac_cv_exeext" >&6; }
   3240 
   3241 rm -f conftest.$ac_ext
   3242 EXEEXT=$ac_cv_exeext
   3243 ac_exeext=$EXEEXT
   3244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3245 /* end confdefs.h.  */
   3246 #include <stdio.h>
   3247 int
   3248 main ()
   3249 {
   3250 FILE *f = fopen ("conftest.out", "w");
   3251  return ferror (f) || fclose (f) != 0;
   3252 
   3253   ;
   3254   return 0;
   3255 }
   3256 _ACEOF
   3257 ac_clean_files="$ac_clean_files conftest.out"
   3258 # Check that the compiler produces executables we can run.  If not, either
   3259 # the compiler is broken, or we cross compile.
   3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3261 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3262 if test "$cross_compiling" != yes; then
   3263   { { ac_try="$ac_link"
   3264 case "(($ac_try" in
   3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3266   *) ac_try_echo=$ac_try;;
   3267 esac
   3268 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3269 $as_echo "$ac_try_echo"; } >&5
   3270   (eval "$ac_link") 2>&5
   3271   ac_status=$?
   3272   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3273   test $ac_status = 0; }
   3274   if { ac_try='./conftest$ac_cv_exeext'
   3275   { { case "(($ac_try" in
   3276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3277   *) ac_try_echo=$ac_try;;
   3278 esac
   3279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3280 $as_echo "$ac_try_echo"; } >&5
   3281   (eval "$ac_try") 2>&5
   3282   ac_status=$?
   3283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3284   test $ac_status = 0; }; }; then
   3285     cross_compiling=no
   3286   else
   3287     if test "$cross_compiling" = maybe; then
   3288 	cross_compiling=yes
   3289     else
   3290 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3292 as_fn_error $? "cannot run C compiled programs.
   3293 If you meant to cross compile, use \`--host'.
   3294 See \`config.log' for more details" "$LINENO" 5; }
   3295     fi
   3296   fi
   3297 fi
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3299 $as_echo "$cross_compiling" >&6; }
   3300 
   3301 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3302 ac_clean_files=$ac_clean_files_save
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3304 $as_echo_n "checking for suffix of object files... " >&6; }
   3305 if ${ac_cv_objext+:} false; then :
   3306   $as_echo_n "(cached) " >&6
   3307 else
   3308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3309 /* end confdefs.h.  */
   3310 
   3311 int
   3312 main ()
   3313 {
   3314 
   3315   ;
   3316   return 0;
   3317 }
   3318 _ACEOF
   3319 rm -f conftest.o conftest.obj
   3320 if { { ac_try="$ac_compile"
   3321 case "(($ac_try" in
   3322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3323   *) ac_try_echo=$ac_try;;
   3324 esac
   3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3326 $as_echo "$ac_try_echo"; } >&5
   3327   (eval "$ac_compile") 2>&5
   3328   ac_status=$?
   3329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3330   test $ac_status = 0; }; then :
   3331   for ac_file in conftest.o conftest.obj conftest.*; do
   3332   test -f "$ac_file" || continue;
   3333   case $ac_file in
   3334     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3335     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3336        break;;
   3337   esac
   3338 done
   3339 else
   3340   $as_echo "$as_me: failed program was:" >&5
   3341 sed 's/^/| /' conftest.$ac_ext >&5
   3342 
   3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3345 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3346 See \`config.log' for more details" "$LINENO" 5; }
   3347 fi
   3348 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3349 fi
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3351 $as_echo "$ac_cv_objext" >&6; }
   3352 OBJEXT=$ac_cv_objext
   3353 ac_objext=$OBJEXT
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3355 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3356 if ${ac_cv_c_compiler_gnu+:} false; then :
   3357   $as_echo_n "(cached) " >&6
   3358 else
   3359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3360 /* end confdefs.h.  */
   3361 
   3362 int
   3363 main ()
   3364 {
   3365 #ifndef __GNUC__
   3366        choke me
   3367 #endif
   3368 
   3369   ;
   3370   return 0;
   3371 }
   3372 _ACEOF
   3373 if ac_fn_c_try_compile "$LINENO"; then :
   3374   ac_compiler_gnu=yes
   3375 else
   3376   ac_compiler_gnu=no
   3377 fi
   3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3379 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3380 
   3381 fi
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3383 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3384 if test $ac_compiler_gnu = yes; then
   3385   GCC=yes
   3386 else
   3387   GCC=
   3388 fi
   3389 ac_test_CFLAGS=${CFLAGS+set}
   3390 ac_save_CFLAGS=$CFLAGS
   3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3392 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3393 if ${ac_cv_prog_cc_g+:} false; then :
   3394   $as_echo_n "(cached) " >&6
   3395 else
   3396   ac_save_c_werror_flag=$ac_c_werror_flag
   3397    ac_c_werror_flag=yes
   3398    ac_cv_prog_cc_g=no
   3399    CFLAGS="-g"
   3400    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3401 /* end confdefs.h.  */
   3402 
   3403 int
   3404 main ()
   3405 {
   3406 
   3407   ;
   3408   return 0;
   3409 }
   3410 _ACEOF
   3411 if ac_fn_c_try_compile "$LINENO"; then :
   3412   ac_cv_prog_cc_g=yes
   3413 else
   3414   CFLAGS=""
   3415       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 
   3422   ;
   3423   return 0;
   3424 }
   3425 _ACEOF
   3426 if ac_fn_c_try_compile "$LINENO"; then :
   3427 
   3428 else
   3429   ac_c_werror_flag=$ac_save_c_werror_flag
   3430 	 CFLAGS="-g"
   3431 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3432 /* end confdefs.h.  */
   3433 
   3434 int
   3435 main ()
   3436 {
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 if ac_fn_c_try_compile "$LINENO"; then :
   3443   ac_cv_prog_cc_g=yes
   3444 fi
   3445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3446 fi
   3447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3448 fi
   3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3450    ac_c_werror_flag=$ac_save_c_werror_flag
   3451 fi
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3453 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3454 if test "$ac_test_CFLAGS" = set; then
   3455   CFLAGS=$ac_save_CFLAGS
   3456 elif test $ac_cv_prog_cc_g = yes; then
   3457   if test "$GCC" = yes; then
   3458     CFLAGS="-g -O2"
   3459   else
   3460     CFLAGS="-g"
   3461   fi
   3462 else
   3463   if test "$GCC" = yes; then
   3464     CFLAGS="-O2"
   3465   else
   3466     CFLAGS=
   3467   fi
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3470 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3471 if ${ac_cv_prog_cc_c89+:} false; then :
   3472   $as_echo_n "(cached) " >&6
   3473 else
   3474   ac_cv_prog_cc_c89=no
   3475 ac_save_CC=$CC
   3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3477 /* end confdefs.h.  */
   3478 #include <stdarg.h>
   3479 #include <stdio.h>
   3480 struct stat;
   3481 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3482 struct buf { int x; };
   3483 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3484 static char *e (p, i)
   3485      char **p;
   3486      int i;
   3487 {
   3488   return p[i];
   3489 }
   3490 static char *f (char * (*g) (char **, int), char **p, ...)
   3491 {
   3492   char *s;
   3493   va_list v;
   3494   va_start (v,p);
   3495   s = g (p, va_arg (v,int));
   3496   va_end (v);
   3497   return s;
   3498 }
   3499 
   3500 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3501    function prototypes and stuff, but not '\xHH' hex character constants.
   3502    These don't provoke an error unfortunately, instead are silently treated
   3503    as 'x'.  The following induces an error, until -std is added to get
   3504    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3505    array size at least.  It's necessary to write '\x00'==0 to get something
   3506    that's true only with -std.  */
   3507 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3508 
   3509 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3510    inside strings and character constants.  */
   3511 #define FOO(x) 'x'
   3512 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3513 
   3514 int test (int i, double x);
   3515 struct s1 {int (*f) (int a);};
   3516 struct s2 {int (*f) (double a);};
   3517 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3518 int argc;
   3519 char **argv;
   3520 int
   3521 main ()
   3522 {
   3523 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3524   ;
   3525   return 0;
   3526 }
   3527 _ACEOF
   3528 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3529 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3530 do
   3531   CC="$ac_save_CC $ac_arg"
   3532   if ac_fn_c_try_compile "$LINENO"; then :
   3533   ac_cv_prog_cc_c89=$ac_arg
   3534 fi
   3535 rm -f core conftest.err conftest.$ac_objext
   3536   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3537 done
   3538 rm -f conftest.$ac_ext
   3539 CC=$ac_save_CC
   3540 
   3541 fi
   3542 # AC_CACHE_VAL
   3543 case "x$ac_cv_prog_cc_c89" in
   3544   x)
   3545     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3546 $as_echo "none needed" >&6; } ;;
   3547   xno)
   3548     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3549 $as_echo "unsupported" >&6; } ;;
   3550   *)
   3551     CC="$CC $ac_cv_prog_cc_c89"
   3552     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3553 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3554 esac
   3555 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3556 
   3557 fi
   3558 
   3559 ac_ext=c
   3560 ac_cpp='$CPP $CPPFLAGS'
   3561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3564 
   3565 ac_ext=c
   3566 ac_cpp='$CPP $CPPFLAGS'
   3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3571 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3572 if ${am_cv_prog_cc_c_o+:} false; then :
   3573   $as_echo_n "(cached) " >&6
   3574 else
   3575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3576 /* end confdefs.h.  */
   3577 
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586   # Make sure it works both with $CC and with simple cc.
   3587   # Following AC_PROG_CC_C_O, we do the test twice because some
   3588   # compilers refuse to overwrite an existing .o file with -o,
   3589   # though they will create one.
   3590   am_cv_prog_cc_c_o=yes
   3591   for am_i in 1 2; do
   3592     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3593    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3594    ac_status=$?
   3595    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3596    (exit $ac_status); } \
   3597          && test -f conftest2.$ac_objext; then
   3598       : OK
   3599     else
   3600       am_cv_prog_cc_c_o=no
   3601       break
   3602     fi
   3603   done
   3604   rm -f core conftest*
   3605   unset am_i
   3606 fi
   3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3608 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3609 if test "$am_cv_prog_cc_c_o" != yes; then
   3610    # Losing compiler, so override with the script.
   3611    # FIXME: It is wrong to rewrite CC.
   3612    # But if we don't then we get into trouble of one sort or another.
   3613    # A longer-term fix would be to have automake use am__CC in this case,
   3614    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3615    CC="$am_aux_dir/compile $CC"
   3616 fi
   3617 ac_ext=c
   3618 ac_cpp='$CPP $CPPFLAGS'
   3619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3622 
   3623 
   3624 
   3625 ac_ext=c
   3626 ac_cpp='$CPP $CPPFLAGS'
   3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3631 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3632 # On Suns, sometimes $CPP names a directory.
   3633 if test -n "$CPP" && test -d "$CPP"; then
   3634   CPP=
   3635 fi
   3636 if test -z "$CPP"; then
   3637   if ${ac_cv_prog_CPP+:} false; then :
   3638   $as_echo_n "(cached) " >&6
   3639 else
   3640       # Double quotes because CPP needs to be expanded
   3641     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3642     do
   3643       ac_preproc_ok=false
   3644 for ac_c_preproc_warn_flag in '' yes
   3645 do
   3646   # Use a header file that comes with gcc, so configuring glibc
   3647   # with a fresh cross-compiler works.
   3648   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3649   # <limits.h> exists even on freestanding compilers.
   3650   # On the NeXT, cc -E runs the code through the compiler's parser,
   3651   # not just through cpp. "Syntax error" is here to catch this case.
   3652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3653 /* end confdefs.h.  */
   3654 #ifdef __STDC__
   3655 # include <limits.h>
   3656 #else
   3657 # include <assert.h>
   3658 #endif
   3659 		     Syntax error
   3660 _ACEOF
   3661 if ac_fn_c_try_cpp "$LINENO"; then :
   3662 
   3663 else
   3664   # Broken: fails on valid input.
   3665 continue
   3666 fi
   3667 rm -f conftest.err conftest.i conftest.$ac_ext
   3668 
   3669   # OK, works on sane cases.  Now check whether nonexistent headers
   3670   # can be detected and how.
   3671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3672 /* end confdefs.h.  */
   3673 #include <ac_nonexistent.h>
   3674 _ACEOF
   3675 if ac_fn_c_try_cpp "$LINENO"; then :
   3676   # Broken: success on invalid input.
   3677 continue
   3678 else
   3679   # Passes both tests.
   3680 ac_preproc_ok=:
   3681 break
   3682 fi
   3683 rm -f conftest.err conftest.i conftest.$ac_ext
   3684 
   3685 done
   3686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3687 rm -f conftest.i conftest.err conftest.$ac_ext
   3688 if $ac_preproc_ok; then :
   3689   break
   3690 fi
   3691 
   3692     done
   3693     ac_cv_prog_CPP=$CPP
   3694 
   3695 fi
   3696   CPP=$ac_cv_prog_CPP
   3697 else
   3698   ac_cv_prog_CPP=$CPP
   3699 fi
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3701 $as_echo "$CPP" >&6; }
   3702 ac_preproc_ok=false
   3703 for ac_c_preproc_warn_flag in '' yes
   3704 do
   3705   # Use a header file that comes with gcc, so configuring glibc
   3706   # with a fresh cross-compiler works.
   3707   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3708   # <limits.h> exists even on freestanding compilers.
   3709   # On the NeXT, cc -E runs the code through the compiler's parser,
   3710   # not just through cpp. "Syntax error" is here to catch this case.
   3711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 #ifdef __STDC__
   3714 # include <limits.h>
   3715 #else
   3716 # include <assert.h>
   3717 #endif
   3718 		     Syntax error
   3719 _ACEOF
   3720 if ac_fn_c_try_cpp "$LINENO"; then :
   3721 
   3722 else
   3723   # Broken: fails on valid input.
   3724 continue
   3725 fi
   3726 rm -f conftest.err conftest.i conftest.$ac_ext
   3727 
   3728   # OK, works on sane cases.  Now check whether nonexistent headers
   3729   # can be detected and how.
   3730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3731 /* end confdefs.h.  */
   3732 #include <ac_nonexistent.h>
   3733 _ACEOF
   3734 if ac_fn_c_try_cpp "$LINENO"; then :
   3735   # Broken: success on invalid input.
   3736 continue
   3737 else
   3738   # Passes both tests.
   3739 ac_preproc_ok=:
   3740 break
   3741 fi
   3742 rm -f conftest.err conftest.i conftest.$ac_ext
   3743 
   3744 done
   3745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3746 rm -f conftest.i conftest.err conftest.$ac_ext
   3747 if $ac_preproc_ok; then :
   3748 
   3749 else
   3750   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3752 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3753 See \`config.log' for more details" "$LINENO" 5; }
   3754 fi
   3755 
   3756 ac_ext=c
   3757 ac_cpp='$CPP $CPPFLAGS'
   3758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3761 
   3762 
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3764 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3765 if ${ac_cv_path_GREP+:} false; then :
   3766   $as_echo_n "(cached) " >&6
   3767 else
   3768   if test -z "$GREP"; then
   3769   ac_path_GREP_found=false
   3770   # Loop through the user's path and test for each of PROGNAME-LIST
   3771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3772 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3773 do
   3774   IFS=$as_save_IFS
   3775   test -z "$as_dir" && as_dir=.
   3776     for ac_prog in grep ggrep; do
   3777     for ac_exec_ext in '' $ac_executable_extensions; do
   3778       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3779       as_fn_executable_p "$ac_path_GREP" || continue
   3780 # Check for GNU ac_path_GREP and select it if it is found.
   3781   # Check for GNU $ac_path_GREP
   3782 case `"$ac_path_GREP" --version 2>&1` in
   3783 *GNU*)
   3784   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3785 *)
   3786   ac_count=0
   3787   $as_echo_n 0123456789 >"conftest.in"
   3788   while :
   3789   do
   3790     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3791     mv "conftest.tmp" "conftest.in"
   3792     cp "conftest.in" "conftest.nl"
   3793     $as_echo 'GREP' >> "conftest.nl"
   3794     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3795     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3796     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3797     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3798       # Best one so far, save it but keep looking for a better one
   3799       ac_cv_path_GREP="$ac_path_GREP"
   3800       ac_path_GREP_max=$ac_count
   3801     fi
   3802     # 10*(2^10) chars as input seems more than enough
   3803     test $ac_count -gt 10 && break
   3804   done
   3805   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3806 esac
   3807 
   3808       $ac_path_GREP_found && break 3
   3809     done
   3810   done
   3811   done
   3812 IFS=$as_save_IFS
   3813   if test -z "$ac_cv_path_GREP"; then
   3814     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3815   fi
   3816 else
   3817   ac_cv_path_GREP=$GREP
   3818 fi
   3819 
   3820 fi
   3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3822 $as_echo "$ac_cv_path_GREP" >&6; }
   3823  GREP="$ac_cv_path_GREP"
   3824 
   3825 
   3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3827 $as_echo_n "checking for egrep... " >&6; }
   3828 if ${ac_cv_path_EGREP+:} false; then :
   3829   $as_echo_n "(cached) " >&6
   3830 else
   3831   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3832    then ac_cv_path_EGREP="$GREP -E"
   3833    else
   3834      if test -z "$EGREP"; then
   3835   ac_path_EGREP_found=false
   3836   # Loop through the user's path and test for each of PROGNAME-LIST
   3837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3838 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3839 do
   3840   IFS=$as_save_IFS
   3841   test -z "$as_dir" && as_dir=.
   3842     for ac_prog in egrep; do
   3843     for ac_exec_ext in '' $ac_executable_extensions; do
   3844       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3845       as_fn_executable_p "$ac_path_EGREP" || continue
   3846 # Check for GNU ac_path_EGREP and select it if it is found.
   3847   # Check for GNU $ac_path_EGREP
   3848 case `"$ac_path_EGREP" --version 2>&1` in
   3849 *GNU*)
   3850   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3851 *)
   3852   ac_count=0
   3853   $as_echo_n 0123456789 >"conftest.in"
   3854   while :
   3855   do
   3856     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3857     mv "conftest.tmp" "conftest.in"
   3858     cp "conftest.in" "conftest.nl"
   3859     $as_echo 'EGREP' >> "conftest.nl"
   3860     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3861     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3862     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3863     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3864       # Best one so far, save it but keep looking for a better one
   3865       ac_cv_path_EGREP="$ac_path_EGREP"
   3866       ac_path_EGREP_max=$ac_count
   3867     fi
   3868     # 10*(2^10) chars as input seems more than enough
   3869     test $ac_count -gt 10 && break
   3870   done
   3871   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3872 esac
   3873 
   3874       $ac_path_EGREP_found && break 3
   3875     done
   3876   done
   3877   done
   3878 IFS=$as_save_IFS
   3879   if test -z "$ac_cv_path_EGREP"; then
   3880     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3881   fi
   3882 else
   3883   ac_cv_path_EGREP=$EGREP
   3884 fi
   3885 
   3886    fi
   3887 fi
   3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3889 $as_echo "$ac_cv_path_EGREP" >&6; }
   3890  EGREP="$ac_cv_path_EGREP"
   3891 
   3892 
   3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3894 $as_echo_n "checking for ANSI C header files... " >&6; }
   3895 if ${ac_cv_header_stdc+:} false; then :
   3896   $as_echo_n "(cached) " >&6
   3897 else
   3898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3899 /* end confdefs.h.  */
   3900 #include <stdlib.h>
   3901 #include <stdarg.h>
   3902 #include <string.h>
   3903 #include <float.h>
   3904 
   3905 int
   3906 main ()
   3907 {
   3908 
   3909   ;
   3910   return 0;
   3911 }
   3912 _ACEOF
   3913 if ac_fn_c_try_compile "$LINENO"; then :
   3914   ac_cv_header_stdc=yes
   3915 else
   3916   ac_cv_header_stdc=no
   3917 fi
   3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3919 
   3920 if test $ac_cv_header_stdc = yes; then
   3921   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3923 /* end confdefs.h.  */
   3924 #include <string.h>
   3925 
   3926 _ACEOF
   3927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3928   $EGREP "memchr" >/dev/null 2>&1; then :
   3929 
   3930 else
   3931   ac_cv_header_stdc=no
   3932 fi
   3933 rm -f conftest*
   3934 
   3935 fi
   3936 
   3937 if test $ac_cv_header_stdc = yes; then
   3938   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3940 /* end confdefs.h.  */
   3941 #include <stdlib.h>
   3942 
   3943 _ACEOF
   3944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3945   $EGREP "free" >/dev/null 2>&1; then :
   3946 
   3947 else
   3948   ac_cv_header_stdc=no
   3949 fi
   3950 rm -f conftest*
   3951 
   3952 fi
   3953 
   3954 if test $ac_cv_header_stdc = yes; then
   3955   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3956   if test "$cross_compiling" = yes; then :
   3957   :
   3958 else
   3959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3960 /* end confdefs.h.  */
   3961 #include <ctype.h>
   3962 #include <stdlib.h>
   3963 #if ((' ' & 0x0FF) == 0x020)
   3964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3966 #else
   3967 # define ISLOWER(c) \
   3968 		   (('a' <= (c) && (c) <= 'i') \
   3969 		     || ('j' <= (c) && (c) <= 'r') \
   3970 		     || ('s' <= (c) && (c) <= 'z'))
   3971 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3972 #endif
   3973 
   3974 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3975 int
   3976 main ()
   3977 {
   3978   int i;
   3979   for (i = 0; i < 256; i++)
   3980     if (XOR (islower (i), ISLOWER (i))
   3981 	|| toupper (i) != TOUPPER (i))
   3982       return 2;
   3983   return 0;
   3984 }
   3985 _ACEOF
   3986 if ac_fn_c_try_run "$LINENO"; then :
   3987 
   3988 else
   3989   ac_cv_header_stdc=no
   3990 fi
   3991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3992   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3993 fi
   3994 
   3995 fi
   3996 fi
   3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3998 $as_echo "$ac_cv_header_stdc" >&6; }
   3999 if test $ac_cv_header_stdc = yes; then
   4000 
   4001 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4002 
   4003 fi
   4004 
   4005 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4007 		  inttypes.h stdint.h unistd.h
   4008 do :
   4009   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4011 "
   4012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4013   cat >>confdefs.h <<_ACEOF
   4014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4015 _ACEOF
   4016 
   4017 fi
   4018 
   4019 done
   4020 
   4021 
   4022 
   4023   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4024 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4025   MINIX=yes
   4026 else
   4027   MINIX=
   4028 fi
   4029 
   4030 
   4031   if test "$MINIX" = yes; then
   4032 
   4033 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4034 
   4035 
   4036 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4037 
   4038 
   4039 $as_echo "#define _MINIX 1" >>confdefs.h
   4040 
   4041   fi
   4042 
   4043 
   4044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4045 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4046 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4047   $as_echo_n "(cached) " >&6
   4048 else
   4049   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4050 /* end confdefs.h.  */
   4051 
   4052 #         define __EXTENSIONS__ 1
   4053           $ac_includes_default
   4054 int
   4055 main ()
   4056 {
   4057 
   4058   ;
   4059   return 0;
   4060 }
   4061 _ACEOF
   4062 if ac_fn_c_try_compile "$LINENO"; then :
   4063   ac_cv_safe_to_define___extensions__=yes
   4064 else
   4065   ac_cv_safe_to_define___extensions__=no
   4066 fi
   4067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4068 fi
   4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4070 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4071   test $ac_cv_safe_to_define___extensions__ = yes &&
   4072     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4073 
   4074   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4075 
   4076   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4077 
   4078   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4079 
   4080   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4081 
   4082 
   4083 
   4084 # Do not delete or change the following two lines.  For why, see
   4085 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
   4086 # Make sure we can run config.sub.
   4087 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4088   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4089 
   4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4091 $as_echo_n "checking build system type... " >&6; }
   4092 if ${ac_cv_build+:} false; then :
   4093   $as_echo_n "(cached) " >&6
   4094 else
   4095   ac_build_alias=$build_alias
   4096 test "x$ac_build_alias" = x &&
   4097   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4098 test "x$ac_build_alias" = x &&
   4099   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4100 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4101   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4102 
   4103 fi
   4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4105 $as_echo "$ac_cv_build" >&6; }
   4106 case $ac_cv_build in
   4107 *-*-*) ;;
   4108 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4109 esac
   4110 build=$ac_cv_build
   4111 ac_save_IFS=$IFS; IFS='-'
   4112 set x $ac_cv_build
   4113 shift
   4114 build_cpu=$1
   4115 build_vendor=$2
   4116 shift; shift
   4117 # Remember, the first character of IFS is used to create $*,
   4118 # except with old shells:
   4119 build_os=$*
   4120 IFS=$ac_save_IFS
   4121 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4122 
   4123 
   4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4125 $as_echo_n "checking host system type... " >&6; }
   4126 if ${ac_cv_host+:} false; then :
   4127   $as_echo_n "(cached) " >&6
   4128 else
   4129   if test "x$host_alias" = x; then
   4130   ac_cv_host=$ac_cv_build
   4131 else
   4132   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4133     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4134 fi
   4135 
   4136 fi
   4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4138 $as_echo "$ac_cv_host" >&6; }
   4139 case $ac_cv_host in
   4140 *-*-*) ;;
   4141 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4142 esac
   4143 host=$ac_cv_host
   4144 ac_save_IFS=$IFS; IFS='-'
   4145 set x $ac_cv_host
   4146 shift
   4147 host_cpu=$1
   4148 host_vendor=$2
   4149 shift; shift
   4150 # Remember, the first character of IFS is used to create $*,
   4151 # except with old shells:
   4152 host_os=$*
   4153 IFS=$ac_save_IFS
   4154 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4155 
   4156 
   4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   4158 $as_echo_n "checking target system type... " >&6; }
   4159 if ${ac_cv_target+:} false; then :
   4160   $as_echo_n "(cached) " >&6
   4161 else
   4162   if test "x$target_alias" = x; then
   4163   ac_cv_target=$ac_cv_host
   4164 else
   4165   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   4166     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   4167 fi
   4168 
   4169 fi
   4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   4171 $as_echo "$ac_cv_target" >&6; }
   4172 case $ac_cv_target in
   4173 *-*-*) ;;
   4174 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   4175 esac
   4176 target=$ac_cv_target
   4177 ac_save_IFS=$IFS; IFS='-'
   4178 set x $ac_cv_target
   4179 shift
   4180 target_cpu=$1
   4181 target_vendor=$2
   4182 shift; shift
   4183 # Remember, the first character of IFS is used to create $*,
   4184 # except with old shells:
   4185 target_os=$*
   4186 IFS=$ac_save_IFS
   4187 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   4188 
   4189 
   4190 # The aliases save the names the user supplied, while $host etc.
   4191 # will get canonicalized.
   4192 test -n "$target_alias" &&
   4193   test "$program_prefix$program_suffix$program_transform_name" = \
   4194     NONENONEs,x,x, &&
   4195   program_prefix=${target_alias}-
   4196 
   4197 target_alias=${target_alias-$host_alias}
   4198 
   4199  case ${build_alias} in
   4200   "") build_noncanonical=${build} ;;
   4201   *) build_noncanonical=${build_alias} ;;
   4202 esac
   4203 
   4204  case ${host_alias} in
   4205   "") host_noncanonical=${build_noncanonical} ;;
   4206   *) host_noncanonical=${host_alias} ;;
   4207 esac
   4208 
   4209  case ${target_alias} in
   4210   "") target_noncanonical=${host_noncanonical} ;;
   4211   *) target_noncanonical=${target_alias} ;;
   4212 esac
   4213 
   4214 
   4215 
   4216 
   4217 
   4218   LIBSTDCXX_RAW_CXX_CXXFLAGS="\
   4219     -I\$(top_builddir)/../libstdc++-v3/include \
   4220     -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
   4221     -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
   4222   LIBSTDCXX_RAW_CXX_LDFLAGS="\
   4223     \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
   4224 
   4225 
   4226 
   4227 
   4228 am__api_version='1.15'
   4229 
   4230 # Find a good install program.  We prefer a C program (faster),
   4231 # so one script is as good as another.  But avoid the broken or
   4232 # incompatible versions:
   4233 # SysV /etc/install, /usr/sbin/install
   4234 # SunOS /usr/etc/install
   4235 # IRIX /sbin/install
   4236 # AIX /bin/install
   4237 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4238 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4239 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4240 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4241 # OS/2's system install, which has a completely different semantic
   4242 # ./install, which can be erroneously created by make from ./install.sh.
   4243 # Reject install programs that cannot install multiple files.
   4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4245 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4246 if test -z "$INSTALL"; then
   4247 if ${ac_cv_path_install+:} false; then :
   4248   $as_echo_n "(cached) " >&6
   4249 else
   4250   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4251 for as_dir in $PATH
   4252 do
   4253   IFS=$as_save_IFS
   4254   test -z "$as_dir" && as_dir=.
   4255     # Account for people who put trailing slashes in PATH elements.
   4256 case $as_dir/ in #((
   4257   ./ | .// | /[cC]/* | \
   4258   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4259   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4260   /usr/ucb/* ) ;;
   4261   *)
   4262     # OSF1 and SCO ODT 3.0 have their own names for install.
   4263     # Don't use installbsd from OSF since it installs stuff as root
   4264     # by default.
   4265     for ac_prog in ginstall scoinst install; do
   4266       for ac_exec_ext in '' $ac_executable_extensions; do
   4267 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   4268 	  if test $ac_prog = install &&
   4269 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4270 	    # AIX install.  It has an incompatible calling convention.
   4271 	    :
   4272 	  elif test $ac_prog = install &&
   4273 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4274 	    # program-specific install script used by HP pwplus--don't use.
   4275 	    :
   4276 	  else
   4277 	    rm -rf conftest.one conftest.two conftest.dir
   4278 	    echo one > conftest.one
   4279 	    echo two > conftest.two
   4280 	    mkdir conftest.dir
   4281 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4282 	      test -s conftest.one && test -s conftest.two &&
   4283 	      test -s conftest.dir/conftest.one &&
   4284 	      test -s conftest.dir/conftest.two
   4285 	    then
   4286 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4287 	      break 3
   4288 	    fi
   4289 	  fi
   4290 	fi
   4291       done
   4292     done
   4293     ;;
   4294 esac
   4295 
   4296   done
   4297 IFS=$as_save_IFS
   4298 
   4299 rm -rf conftest.one conftest.two conftest.dir
   4300 
   4301 fi
   4302   if test "${ac_cv_path_install+set}" = set; then
   4303     INSTALL=$ac_cv_path_install
   4304   else
   4305     # As a last resort, use the slow shell script.  Don't cache a
   4306     # value for INSTALL within a source directory, because that will
   4307     # break other packages using the cache if that directory is
   4308     # removed, or if the value is a relative name.
   4309     INSTALL=$ac_install_sh
   4310   fi
   4311 fi
   4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4313 $as_echo "$INSTALL" >&6; }
   4314 
   4315 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4316 # It thinks the first close brace ends the variable substitution.
   4317 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4318 
   4319 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4320 
   4321 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4322 
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4324 $as_echo_n "checking whether build environment is sane... " >&6; }
   4325 # Reject unsafe characters in $srcdir or the absolute working directory
   4326 # name.  Accept space and tab only in the latter.
   4327 am_lf='
   4328 '
   4329 case `pwd` in
   4330   *[\\\"\#\$\&\'\`$am_lf]*)
   4331     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4332 esac
   4333 case $srcdir in
   4334   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4335     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4336 esac
   4337 
   4338 # Do 'set' in a subshell so we don't clobber the current shell's
   4339 # arguments.  Must try -L first in case configure is actually a
   4340 # symlink; some systems play weird games with the mod time of symlinks
   4341 # (eg FreeBSD returns the mod time of the symlink's containing
   4342 # directory).
   4343 if (
   4344    am_has_slept=no
   4345    for am_try in 1 2; do
   4346      echo "timestamp, slept: $am_has_slept" > conftest.file
   4347      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4348      if test "$*" = "X"; then
   4349 	# -L didn't work.
   4350 	set X `ls -t "$srcdir/configure" conftest.file`
   4351      fi
   4352      if test "$*" != "X $srcdir/configure conftest.file" \
   4353 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4354 
   4355 	# If neither matched, then we have a broken ls.  This can happen
   4356 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4357 	# broken ls alias from the environment.  This has actually
   4358 	# happened.  Such a system could not be considered "sane".
   4359 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4360   alias in your environment" "$LINENO" 5
   4361      fi
   4362      if test "$2" = conftest.file || test $am_try -eq 2; then
   4363        break
   4364      fi
   4365      # Just in case.
   4366      sleep 1
   4367      am_has_slept=yes
   4368    done
   4369    test "$2" = conftest.file
   4370    )
   4371 then
   4372    # Ok.
   4373    :
   4374 else
   4375    as_fn_error $? "newly created file is older than distributed files!
   4376 Check your system clock" "$LINENO" 5
   4377 fi
   4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4379 $as_echo "yes" >&6; }
   4380 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4381 # generated files are strictly newer.
   4382 am_sleep_pid=
   4383 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4384   ( sleep 1 ) &
   4385   am_sleep_pid=$!
   4386 fi
   4387 
   4388 rm -f conftest.file
   4389 
   4390 test "$program_prefix" != NONE &&
   4391   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4392 # Use a double $ so make ignores it.
   4393 test "$program_suffix" != NONE &&
   4394   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4395 # Double any \ or $.
   4396 # By default was `s,x,x', remove it if useless.
   4397 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4398 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4399 
   4400 if test x"${MISSING+set}" != xset; then
   4401   case $am_aux_dir in
   4402   *\ * | *\	*)
   4403     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4404   *)
   4405     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4406   esac
   4407 fi
   4408 # Use eval to expand $SHELL
   4409 if eval "$MISSING --is-lightweight"; then
   4410   am_missing_run="$MISSING "
   4411 else
   4412   am_missing_run=
   4413   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4414 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4415 fi
   4416 
   4417 if test x"${install_sh+set}" != xset; then
   4418   case $am_aux_dir in
   4419   *\ * | *\	*)
   4420     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4421   *)
   4422     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4423   esac
   4424 fi
   4425 
   4426 # Installed binaries are usually stripped using 'strip' when the user
   4427 # run "make install-strip".  However 'strip' might not be the right
   4428 # tool to use in cross-compilation environments, therefore Automake
   4429 # will honor the 'STRIP' environment variable to overrule this program.
   4430 if test "$cross_compiling" != no; then
   4431   if test -n "$ac_tool_prefix"; then
   4432   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4433 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4435 $as_echo_n "checking for $ac_word... " >&6; }
   4436 if ${ac_cv_prog_STRIP+:} false; then :
   4437   $as_echo_n "(cached) " >&6
   4438 else
   4439   if test -n "$STRIP"; then
   4440   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4441 else
   4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4443 for as_dir in $PATH
   4444 do
   4445   IFS=$as_save_IFS
   4446   test -z "$as_dir" && as_dir=.
   4447     for ac_exec_ext in '' $ac_executable_extensions; do
   4448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4449     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4451     break 2
   4452   fi
   4453 done
   4454   done
   4455 IFS=$as_save_IFS
   4456 
   4457 fi
   4458 fi
   4459 STRIP=$ac_cv_prog_STRIP
   4460 if test -n "$STRIP"; then
   4461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4462 $as_echo "$STRIP" >&6; }
   4463 else
   4464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4465 $as_echo "no" >&6; }
   4466 fi
   4467 
   4468 
   4469 fi
   4470 if test -z "$ac_cv_prog_STRIP"; then
   4471   ac_ct_STRIP=$STRIP
   4472   # Extract the first word of "strip", so it can be a program name with args.
   4473 set dummy strip; ac_word=$2
   4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4475 $as_echo_n "checking for $ac_word... " >&6; }
   4476 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4477   $as_echo_n "(cached) " >&6
   4478 else
   4479   if test -n "$ac_ct_STRIP"; then
   4480   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4481 else
   4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4483 for as_dir in $PATH
   4484 do
   4485   IFS=$as_save_IFS
   4486   test -z "$as_dir" && as_dir=.
   4487     for ac_exec_ext in '' $ac_executable_extensions; do
   4488   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4489     ac_cv_prog_ac_ct_STRIP="strip"
   4490     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4491     break 2
   4492   fi
   4493 done
   4494   done
   4495 IFS=$as_save_IFS
   4496 
   4497 fi
   4498 fi
   4499 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4500 if test -n "$ac_ct_STRIP"; then
   4501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4502 $as_echo "$ac_ct_STRIP" >&6; }
   4503 else
   4504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4505 $as_echo "no" >&6; }
   4506 fi
   4507 
   4508   if test "x$ac_ct_STRIP" = x; then
   4509     STRIP=":"
   4510   else
   4511     case $cross_compiling:$ac_tool_warned in
   4512 yes:)
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4515 ac_tool_warned=yes ;;
   4516 esac
   4517     STRIP=$ac_ct_STRIP
   4518   fi
   4519 else
   4520   STRIP="$ac_cv_prog_STRIP"
   4521 fi
   4522 
   4523 fi
   4524 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4525 
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4527 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4528 if test -z "$MKDIR_P"; then
   4529   if ${ac_cv_path_mkdir+:} false; then :
   4530   $as_echo_n "(cached) " >&6
   4531 else
   4532   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4533 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4534 do
   4535   IFS=$as_save_IFS
   4536   test -z "$as_dir" && as_dir=.
   4537     for ac_prog in mkdir gmkdir; do
   4538 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4539 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4540 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4541 	     'mkdir (GNU coreutils) '* | \
   4542 	     'mkdir (coreutils) '* | \
   4543 	     'mkdir (fileutils) '4.1*)
   4544 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4545 	       break 3;;
   4546 	   esac
   4547 	 done
   4548        done
   4549   done
   4550 IFS=$as_save_IFS
   4551 
   4552 fi
   4553 
   4554   test -d ./--version && rmdir ./--version
   4555   if test "${ac_cv_path_mkdir+set}" = set; then
   4556     MKDIR_P="$ac_cv_path_mkdir -p"
   4557   else
   4558     # As a last resort, use the slow shell script.  Don't cache a
   4559     # value for MKDIR_P within a source directory, because that will
   4560     # break other packages using the cache if that directory is
   4561     # removed, or if the value is a relative name.
   4562     MKDIR_P="$ac_install_sh -d"
   4563   fi
   4564 fi
   4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4566 $as_echo "$MKDIR_P" >&6; }
   4567 
   4568 for ac_prog in gawk mawk nawk awk
   4569 do
   4570   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4571 set dummy $ac_prog; ac_word=$2
   4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4573 $as_echo_n "checking for $ac_word... " >&6; }
   4574 if ${ac_cv_prog_AWK+:} false; then :
   4575   $as_echo_n "(cached) " >&6
   4576 else
   4577   if test -n "$AWK"; then
   4578   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4579 else
   4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4581 for as_dir in $PATH
   4582 do
   4583   IFS=$as_save_IFS
   4584   test -z "$as_dir" && as_dir=.
   4585     for ac_exec_ext in '' $ac_executable_extensions; do
   4586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4587     ac_cv_prog_AWK="$ac_prog"
   4588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4589     break 2
   4590   fi
   4591 done
   4592   done
   4593 IFS=$as_save_IFS
   4594 
   4595 fi
   4596 fi
   4597 AWK=$ac_cv_prog_AWK
   4598 if test -n "$AWK"; then
   4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4600 $as_echo "$AWK" >&6; }
   4601 else
   4602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4603 $as_echo "no" >&6; }
   4604 fi
   4605 
   4606 
   4607   test -n "$AWK" && break
   4608 done
   4609 
   4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4611 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4612 set x ${MAKE-make}
   4613 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4614 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4615   $as_echo_n "(cached) " >&6
   4616 else
   4617   cat >conftest.make <<\_ACEOF
   4618 SHELL = /bin/sh
   4619 all:
   4620 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4621 _ACEOF
   4622 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4623 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4624   *@@@%%%=?*=@@@%%%*)
   4625     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4626   *)
   4627     eval ac_cv_prog_make_${ac_make}_set=no;;
   4628 esac
   4629 rm -f conftest.make
   4630 fi
   4631 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4633 $as_echo "yes" >&6; }
   4634   SET_MAKE=
   4635 else
   4636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4637 $as_echo "no" >&6; }
   4638   SET_MAKE="MAKE=${MAKE-make}"
   4639 fi
   4640 
   4641 rm -rf .tst 2>/dev/null
   4642 mkdir .tst 2>/dev/null
   4643 if test -d .tst; then
   4644   am__leading_dot=.
   4645 else
   4646   am__leading_dot=_
   4647 fi
   4648 rmdir .tst 2>/dev/null
   4649 
   4650 DEPDIR="${am__leading_dot}deps"
   4651 
   4652 ac_config_commands="$ac_config_commands depfiles"
   4653 
   4654 
   4655 am_make=${MAKE-make}
   4656 cat > confinc << 'END'
   4657 am__doit:
   4658 	@echo this is the am__doit target
   4659 .PHONY: am__doit
   4660 END
   4661 # If we don't find an include directive, just comment out the code.
   4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4663 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4664 am__include="#"
   4665 am__quote=
   4666 _am_result=none
   4667 # First try GNU make style include.
   4668 echo "include confinc" > confmf
   4669 # Ignore all kinds of additional output from 'make'.
   4670 case `$am_make -s -f confmf 2> /dev/null` in #(
   4671 *the\ am__doit\ target*)
   4672   am__include=include
   4673   am__quote=
   4674   _am_result=GNU
   4675   ;;
   4676 esac
   4677 # Now try BSD make style include.
   4678 if test "$am__include" = "#"; then
   4679    echo '.include "confinc"' > confmf
   4680    case `$am_make -s -f confmf 2> /dev/null` in #(
   4681    *the\ am__doit\ target*)
   4682      am__include=.include
   4683      am__quote="\""
   4684      _am_result=BSD
   4685      ;;
   4686    esac
   4687 fi
   4688 
   4689 
   4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4691 $as_echo "$_am_result" >&6; }
   4692 rm -f confinc confmf
   4693 
   4694 # Check whether --enable-dependency-tracking was given.
   4695 if test "${enable_dependency_tracking+set}" = set; then :
   4696   enableval=$enable_dependency_tracking;
   4697 fi
   4698 
   4699 if test "x$enable_dependency_tracking" != xno; then
   4700   am_depcomp="$ac_aux_dir/depcomp"
   4701   AMDEPBACKSLASH='\'
   4702   am__nodep='_no'
   4703 fi
   4704  if test "x$enable_dependency_tracking" != xno; then
   4705   AMDEP_TRUE=
   4706   AMDEP_FALSE='#'
   4707 else
   4708   AMDEP_TRUE='#'
   4709   AMDEP_FALSE=
   4710 fi
   4711 
   4712 
   4713 # Check whether --enable-silent-rules was given.
   4714 if test "${enable_silent_rules+set}" = set; then :
   4715   enableval=$enable_silent_rules;
   4716 fi
   4717 
   4718 case $enable_silent_rules in # (((
   4719   yes) AM_DEFAULT_VERBOSITY=0;;
   4720    no) AM_DEFAULT_VERBOSITY=1;;
   4721     *) AM_DEFAULT_VERBOSITY=1;;
   4722 esac
   4723 am_make=${MAKE-make}
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4725 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4726 if ${am_cv_make_support_nested_variables+:} false; then :
   4727   $as_echo_n "(cached) " >&6
   4728 else
   4729   if $as_echo 'TRUE=$(BAR$(V))
   4730 BAR0=false
   4731 BAR1=true
   4732 V=1
   4733 am__doit:
   4734 	@$(TRUE)
   4735 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4736   am_cv_make_support_nested_variables=yes
   4737 else
   4738   am_cv_make_support_nested_variables=no
   4739 fi
   4740 fi
   4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4742 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4743 if test $am_cv_make_support_nested_variables = yes; then
   4744     AM_V='$(V)'
   4745   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4746 else
   4747   AM_V=$AM_DEFAULT_VERBOSITY
   4748   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4749 fi
   4750 AM_BACKSLASH='\'
   4751 
   4752 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4753   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4754   # is not polluted with repeated "-I."
   4755   am__isrc=' -I$(srcdir)'
   4756   # test to see if srcdir already configured
   4757   if test -f $srcdir/config.status; then
   4758     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4759   fi
   4760 fi
   4761 
   4762 # test whether we have cygpath
   4763 if test -z "$CYGPATH_W"; then
   4764   if (cygpath --version) >/dev/null 2>/dev/null; then
   4765     CYGPATH_W='cygpath -w'
   4766   else
   4767     CYGPATH_W=echo
   4768   fi
   4769 fi
   4770 
   4771 
   4772 # Define the identity of the package.
   4773  PACKAGE='package-unused'
   4774  VERSION='version-unused'
   4775 
   4776 
   4777 cat >>confdefs.h <<_ACEOF
   4778 #define PACKAGE "$PACKAGE"
   4779 _ACEOF
   4780 
   4781 
   4782 cat >>confdefs.h <<_ACEOF
   4783 #define VERSION "$VERSION"
   4784 _ACEOF
   4785 
   4786 # Some tools Automake needs.
   4787 
   4788 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4789 
   4790 
   4791 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4792 
   4793 
   4794 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4795 
   4796 
   4797 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4798 
   4799 
   4800 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4801 
   4802 # For better backward compatibility.  To be removed once Automake 1.9.x
   4803 # dies out for good.  For more background, see:
   4804 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4805 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4806 mkdir_p='$(MKDIR_P)'
   4807 
   4808 # We need awk for the "check" target (and possibly the TAP driver).  The
   4809 # system "awk" is bad on some platforms.
   4810 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4811 # in the wild :-(  We should find a proper way to deprecate it ...
   4812 AMTAR='$${TAR-tar}'
   4813 
   4814 
   4815 # We'll loop over all known methods to create a tar archive until one works.
   4816 _am_tools='gnutar  pax cpio none'
   4817 
   4818 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4819 
   4820 
   4821 
   4822 
   4823 
   4824 depcc="$CC"   am_compiler_list=
   4825 
   4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4827 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4828 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4829   $as_echo_n "(cached) " >&6
   4830 else
   4831   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4832   # We make a subdir and do the tests there.  Otherwise we can end up
   4833   # making bogus files that we don't know about and never remove.  For
   4834   # instance it was reported that on HP-UX the gcc test will end up
   4835   # making a dummy file named 'D' -- because '-MD' means "put the output
   4836   # in D".
   4837   rm -rf conftest.dir
   4838   mkdir conftest.dir
   4839   # Copy depcomp to subdir because otherwise we won't find it if we're
   4840   # using a relative directory.
   4841   cp "$am_depcomp" conftest.dir
   4842   cd conftest.dir
   4843   # We will build objects and dependencies in a subdirectory because
   4844   # it helps to detect inapplicable dependency modes.  For instance
   4845   # both Tru64's cc and ICC support -MD to output dependencies as a
   4846   # side effect of compilation, but ICC will put the dependencies in
   4847   # the current directory while Tru64 will put them in the object
   4848   # directory.
   4849   mkdir sub
   4850 
   4851   am_cv_CC_dependencies_compiler_type=none
   4852   if test "$am_compiler_list" = ""; then
   4853      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4854   fi
   4855   am__universal=false
   4856   case " $depcc " in #(
   4857      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4858      esac
   4859 
   4860   for depmode in $am_compiler_list; do
   4861     # Setup a source with many dependencies, because some compilers
   4862     # like to wrap large dependency lists on column 80 (with \), and
   4863     # we should not choose a depcomp mode which is confused by this.
   4864     #
   4865     # We need to recreate these files for each test, as the compiler may
   4866     # overwrite some of them when testing with obscure command lines.
   4867     # This happens at least with the AIX C compiler.
   4868     : > sub/conftest.c
   4869     for i in 1 2 3 4 5 6; do
   4870       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4871       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4872       # Solaris 10 /bin/sh.
   4873       echo '/* dummy */' > sub/conftst$i.h
   4874     done
   4875     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4876 
   4877     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4878     # mode.  It turns out that the SunPro C++ compiler does not properly
   4879     # handle '-M -o', and we need to detect this.  Also, some Intel
   4880     # versions had trouble with output in subdirs.
   4881     am__obj=sub/conftest.${OBJEXT-o}
   4882     am__minus_obj="-o $am__obj"
   4883     case $depmode in
   4884     gcc)
   4885       # This depmode causes a compiler race in universal mode.
   4886       test "$am__universal" = false || continue
   4887       ;;
   4888     nosideeffect)
   4889       # After this tag, mechanisms are not by side-effect, so they'll
   4890       # only be used when explicitly requested.
   4891       if test "x$enable_dependency_tracking" = xyes; then
   4892 	continue
   4893       else
   4894 	break
   4895       fi
   4896       ;;
   4897     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4898       # This compiler won't grok '-c -o', but also, the minuso test has
   4899       # not run yet.  These depmodes are late enough in the game, and
   4900       # so weak that their functioning should not be impacted.
   4901       am__obj=conftest.${OBJEXT-o}
   4902       am__minus_obj=
   4903       ;;
   4904     none) break ;;
   4905     esac
   4906     if depmode=$depmode \
   4907        source=sub/conftest.c object=$am__obj \
   4908        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4909        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4910          >/dev/null 2>conftest.err &&
   4911        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4912        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4913        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4914        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4915       # icc doesn't choke on unknown options, it will just issue warnings
   4916       # or remarks (even with -Werror).  So we grep stderr for any message
   4917       # that says an option was ignored or not supported.
   4918       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4919       #   icc: Command line warning: ignoring option '-M'; no argument required
   4920       # The diagnosis changed in icc 8.0:
   4921       #   icc: Command line remark: option '-MP' not supported
   4922       if (grep 'ignoring option' conftest.err ||
   4923           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4924         am_cv_CC_dependencies_compiler_type=$depmode
   4925         break
   4926       fi
   4927     fi
   4928   done
   4929 
   4930   cd ..
   4931   rm -rf conftest.dir
   4932 else
   4933   am_cv_CC_dependencies_compiler_type=none
   4934 fi
   4935 
   4936 fi
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4938 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4939 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4940 
   4941  if
   4942   test "x$enable_dependency_tracking" != xno \
   4943   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4944   am__fastdepCC_TRUE=
   4945   am__fastdepCC_FALSE='#'
   4946 else
   4947   am__fastdepCC_TRUE='#'
   4948   am__fastdepCC_FALSE=
   4949 fi
   4950 
   4951 
   4952 
   4953 # POSIX will say in a future version that running "rm -f" with no argument
   4954 # is OK; and we want to be able to make that assumption in our Makefile
   4955 # recipes.  So use an aggressive probe to check that the usage we want is
   4956 # actually supported "in the wild" to an acceptable degree.
   4957 # See automake bug#10828.
   4958 # To make any issue more visible, cause the running configure to be aborted
   4959 # by default if the 'rm' program in use doesn't match our expectations; the
   4960 # user can still override this though.
   4961 if rm -f && rm -fr && rm -rf; then : OK; else
   4962   cat >&2 <<'END'
   4963 Oops!
   4964 
   4965 Your 'rm' program seems unable to run without file operands specified
   4966 on the command line, even when the '-f' option is present.  This is contrary
   4967 to the behaviour of most rm programs out there, and not conforming with
   4968 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4969 
   4970 Please tell bug-automake@gnu.org about your system, including the value
   4971 of your $PATH and any error possibly output before this message.  This
   4972 can help us improve future automake versions.
   4973 
   4974 END
   4975   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4976     echo 'Configuration will proceed anyway, since you have set the' >&2
   4977     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4978     echo >&2
   4979   else
   4980     cat >&2 <<'END'
   4981 Aborting the configuration process, to ensure you take notice of the issue.
   4982 
   4983 You can download and install GNU coreutils to get an 'rm' implementation
   4984 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4985 
   4986 If you want to complete the configuration process using your problematic
   4987 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4988 to "yes", and re-run configure.
   4989 
   4990 END
   4991     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4992   fi
   4993 fi
   4994 
   4995 
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4997 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4998     # Check whether --enable-maintainer-mode was given.
   4999 if test "${enable_maintainer_mode+set}" = set; then :
   5000   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   5001 else
   5002   USE_MAINTAINER_MODE=no
   5003 fi
   5004 
   5005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   5006 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   5007    if test $USE_MAINTAINER_MODE = yes; then
   5008   MAINTAINER_MODE_TRUE=
   5009   MAINTAINER_MODE_FALSE='#'
   5010 else
   5011   MAINTAINER_MODE_TRUE='#'
   5012   MAINTAINER_MODE_FALSE=
   5013 fi
   5014 
   5015   MAINT=$MAINTAINER_MODE_TRUE
   5016 
   5017 
   5018 
   5019 
   5020 # Check whether --with-toolexeclibdir was given.
   5021 if test "${with_toolexeclibdir+set}" = set; then :
   5022   withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
   5023   /)
   5024     ;;
   5025   */)
   5026     with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
   5027     ;;
   5028 esac
   5029 else
   5030   with_toolexeclibdir=no
   5031 fi
   5032 
   5033 
   5034 
   5035 # Calculate toolexeclibdir
   5036 # Also toolexecdir, though it's only used in toolexeclibdir
   5037 case ${version_specific_libs} in
   5038   yes)
   5039     # Need the gcc compiler version to know where to install libraries
   5040     # and header files if --enable-version-specific-runtime-libs option
   5041     # is selected.
   5042     toolexecdir='$(libdir)/gcc/$(target_alias)'
   5043     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
   5044     ;;
   5045   no)
   5046     if test -n "$with_cross_host" &&
   5047        test x"$with_cross_host" != x"no"; then
   5048       # Install a library built with a cross compiler in tooldir, not libdir.
   5049       toolexecdir='$(exec_prefix)/$(target_alias)'
   5050       case ${with_toolexeclibdir} in
   5051 	no)
   5052 	  toolexeclibdir='$(toolexecdir)/lib'
   5053 	  ;;
   5054 	*)
   5055 	  toolexeclibdir=${with_toolexeclibdir}
   5056 	  ;;
   5057       esac
   5058     else
   5059       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
   5060       toolexeclibdir='$(libdir)'
   5061     fi
   5062     multi_os_directory=`$CC -print-multi-os-directory`
   5063     case $multi_os_directory in
   5064       .) ;; # Avoid trailing /.
   5065       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
   5066     esac
   5067     ;;
   5068 esac
   5069 
   5070 
   5071 
   5072 # Checks for programs.
   5073 ac_ext=c
   5074 ac_cpp='$CPP $CPPFLAGS'
   5075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5078 if test -n "$ac_tool_prefix"; then
   5079   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   5080 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5082 $as_echo_n "checking for $ac_word... " >&6; }
   5083 if ${ac_cv_prog_CC+:} false; then :
   5084   $as_echo_n "(cached) " >&6
   5085 else
   5086   if test -n "$CC"; then
   5087   ac_cv_prog_CC="$CC" # Let the user override the test.
   5088 else
   5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5090 for as_dir in $PATH
   5091 do
   5092   IFS=$as_save_IFS
   5093   test -z "$as_dir" && as_dir=.
   5094     for ac_exec_ext in '' $ac_executable_extensions; do
   5095   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5096     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   5097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5098     break 2
   5099   fi
   5100 done
   5101   done
   5102 IFS=$as_save_IFS
   5103 
   5104 fi
   5105 fi
   5106 CC=$ac_cv_prog_CC
   5107 if test -n "$CC"; then
   5108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5109 $as_echo "$CC" >&6; }
   5110 else
   5111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5112 $as_echo "no" >&6; }
   5113 fi
   5114 
   5115 
   5116 fi
   5117 if test -z "$ac_cv_prog_CC"; then
   5118   ac_ct_CC=$CC
   5119   # Extract the first word of "gcc", so it can be a program name with args.
   5120 set dummy gcc; ac_word=$2
   5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5122 $as_echo_n "checking for $ac_word... " >&6; }
   5123 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5124   $as_echo_n "(cached) " >&6
   5125 else
   5126   if test -n "$ac_ct_CC"; then
   5127   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5128 else
   5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5130 for as_dir in $PATH
   5131 do
   5132   IFS=$as_save_IFS
   5133   test -z "$as_dir" && as_dir=.
   5134     for ac_exec_ext in '' $ac_executable_extensions; do
   5135   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5136     ac_cv_prog_ac_ct_CC="gcc"
   5137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5138     break 2
   5139   fi
   5140 done
   5141   done
   5142 IFS=$as_save_IFS
   5143 
   5144 fi
   5145 fi
   5146 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5147 if test -n "$ac_ct_CC"; then
   5148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5149 $as_echo "$ac_ct_CC" >&6; }
   5150 else
   5151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5152 $as_echo "no" >&6; }
   5153 fi
   5154 
   5155   if test "x$ac_ct_CC" = x; then
   5156     CC=""
   5157   else
   5158     case $cross_compiling:$ac_tool_warned in
   5159 yes:)
   5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5162 ac_tool_warned=yes ;;
   5163 esac
   5164     CC=$ac_ct_CC
   5165   fi
   5166 else
   5167   CC="$ac_cv_prog_CC"
   5168 fi
   5169 
   5170 if test -z "$CC"; then
   5171           if test -n "$ac_tool_prefix"; then
   5172     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   5173 set dummy ${ac_tool_prefix}cc; ac_word=$2
   5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5175 $as_echo_n "checking for $ac_word... " >&6; }
   5176 if ${ac_cv_prog_CC+:} false; then :
   5177   $as_echo_n "(cached) " >&6
   5178 else
   5179   if test -n "$CC"; then
   5180   ac_cv_prog_CC="$CC" # Let the user override the test.
   5181 else
   5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5183 for as_dir in $PATH
   5184 do
   5185   IFS=$as_save_IFS
   5186   test -z "$as_dir" && as_dir=.
   5187     for ac_exec_ext in '' $ac_executable_extensions; do
   5188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5189     ac_cv_prog_CC="${ac_tool_prefix}cc"
   5190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5191     break 2
   5192   fi
   5193 done
   5194   done
   5195 IFS=$as_save_IFS
   5196 
   5197 fi
   5198 fi
   5199 CC=$ac_cv_prog_CC
   5200 if test -n "$CC"; then
   5201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5202 $as_echo "$CC" >&6; }
   5203 else
   5204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5205 $as_echo "no" >&6; }
   5206 fi
   5207 
   5208 
   5209   fi
   5210 fi
   5211 if test -z "$CC"; then
   5212   # Extract the first word of "cc", so it can be a program name with args.
   5213 set dummy cc; ac_word=$2
   5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5215 $as_echo_n "checking for $ac_word... " >&6; }
   5216 if ${ac_cv_prog_CC+:} false; then :
   5217   $as_echo_n "(cached) " >&6
   5218 else
   5219   if test -n "$CC"; then
   5220   ac_cv_prog_CC="$CC" # Let the user override the test.
   5221 else
   5222   ac_prog_rejected=no
   5223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5224 for as_dir in $PATH
   5225 do
   5226   IFS=$as_save_IFS
   5227   test -z "$as_dir" && as_dir=.
   5228     for ac_exec_ext in '' $ac_executable_extensions; do
   5229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5230     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   5231        ac_prog_rejected=yes
   5232        continue
   5233      fi
   5234     ac_cv_prog_CC="cc"
   5235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5236     break 2
   5237   fi
   5238 done
   5239   done
   5240 IFS=$as_save_IFS
   5241 
   5242 if test $ac_prog_rejected = yes; then
   5243   # We found a bogon in the path, so make sure we never use it.
   5244   set dummy $ac_cv_prog_CC
   5245   shift
   5246   if test $# != 0; then
   5247     # We chose a different compiler from the bogus one.
   5248     # However, it has the same basename, so the bogon will be chosen
   5249     # first if we set CC to just the basename; use the full file name.
   5250     shift
   5251     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   5252   fi
   5253 fi
   5254 fi
   5255 fi
   5256 CC=$ac_cv_prog_CC
   5257 if test -n "$CC"; then
   5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5259 $as_echo "$CC" >&6; }
   5260 else
   5261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5262 $as_echo "no" >&6; }
   5263 fi
   5264 
   5265 
   5266 fi
   5267 if test -z "$CC"; then
   5268   if test -n "$ac_tool_prefix"; then
   5269   for ac_prog in cl.exe
   5270   do
   5271     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5274 $as_echo_n "checking for $ac_word... " >&6; }
   5275 if ${ac_cv_prog_CC+:} false; then :
   5276   $as_echo_n "(cached) " >&6
   5277 else
   5278   if test -n "$CC"; then
   5279   ac_cv_prog_CC="$CC" # Let the user override the test.
   5280 else
   5281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5282 for as_dir in $PATH
   5283 do
   5284   IFS=$as_save_IFS
   5285   test -z "$as_dir" && as_dir=.
   5286     for ac_exec_ext in '' $ac_executable_extensions; do
   5287   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5288     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   5289     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5290     break 2
   5291   fi
   5292 done
   5293   done
   5294 IFS=$as_save_IFS
   5295 
   5296 fi
   5297 fi
   5298 CC=$ac_cv_prog_CC
   5299 if test -n "$CC"; then
   5300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   5301 $as_echo "$CC" >&6; }
   5302 else
   5303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5304 $as_echo "no" >&6; }
   5305 fi
   5306 
   5307 
   5308     test -n "$CC" && break
   5309   done
   5310 fi
   5311 if test -z "$CC"; then
   5312   ac_ct_CC=$CC
   5313   for ac_prog in cl.exe
   5314 do
   5315   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5316 set dummy $ac_prog; ac_word=$2
   5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5318 $as_echo_n "checking for $ac_word... " >&6; }
   5319 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   5320   $as_echo_n "(cached) " >&6
   5321 else
   5322   if test -n "$ac_ct_CC"; then
   5323   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   5324 else
   5325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5326 for as_dir in $PATH
   5327 do
   5328   IFS=$as_save_IFS
   5329   test -z "$as_dir" && as_dir=.
   5330     for ac_exec_ext in '' $ac_executable_extensions; do
   5331   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5332     ac_cv_prog_ac_ct_CC="$ac_prog"
   5333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5334     break 2
   5335   fi
   5336 done
   5337   done
   5338 IFS=$as_save_IFS
   5339 
   5340 fi
   5341 fi
   5342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   5343 if test -n "$ac_ct_CC"; then
   5344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   5345 $as_echo "$ac_ct_CC" >&6; }
   5346 else
   5347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5348 $as_echo "no" >&6; }
   5349 fi
   5350 
   5351 
   5352   test -n "$ac_ct_CC" && break
   5353 done
   5354 
   5355   if test "x$ac_ct_CC" = x; then
   5356     CC=""
   5357   else
   5358     case $cross_compiling:$ac_tool_warned in
   5359 yes:)
   5360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5362 ac_tool_warned=yes ;;
   5363 esac
   5364     CC=$ac_ct_CC
   5365   fi
   5366 fi
   5367 
   5368 fi
   5369 
   5370 
   5371 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5373 as_fn_error $? "no acceptable C compiler found in \$PATH
   5374 See \`config.log' for more details" "$LINENO" 5; }
   5375 
   5376 # Provide some information about the compiler.
   5377 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   5378 set X $ac_compile
   5379 ac_compiler=$2
   5380 for ac_option in --version -v -V -qversion; do
   5381   { { ac_try="$ac_compiler $ac_option >&5"
   5382 case "(($ac_try" in
   5383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5384   *) ac_try_echo=$ac_try;;
   5385 esac
   5386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5387 $as_echo "$ac_try_echo"; } >&5
   5388   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5389   ac_status=$?
   5390   if test -s conftest.err; then
   5391     sed '10a\
   5392 ... rest of stderr output deleted ...
   5393          10q' conftest.err >conftest.er1
   5394     cat conftest.er1 >&5
   5395   fi
   5396   rm -f conftest.er1 conftest.err
   5397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5398   test $ac_status = 0; }
   5399 done
   5400 
   5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   5402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5403 if ${ac_cv_c_compiler_gnu+:} false; then :
   5404   $as_echo_n "(cached) " >&6
   5405 else
   5406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5407 /* end confdefs.h.  */
   5408 
   5409 int
   5410 main ()
   5411 {
   5412 #ifndef __GNUC__
   5413        choke me
   5414 #endif
   5415 
   5416   ;
   5417   return 0;
   5418 }
   5419 _ACEOF
   5420 if ac_fn_c_try_compile "$LINENO"; then :
   5421   ac_compiler_gnu=yes
   5422 else
   5423   ac_compiler_gnu=no
   5424 fi
   5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5427 
   5428 fi
   5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5431 if test $ac_compiler_gnu = yes; then
   5432   GCC=yes
   5433 else
   5434   GCC=
   5435 fi
   5436 ac_test_CFLAGS=${CFLAGS+set}
   5437 ac_save_CFLAGS=$CFLAGS
   5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5440 if ${ac_cv_prog_cc_g+:} false; then :
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   ac_save_c_werror_flag=$ac_c_werror_flag
   5444    ac_c_werror_flag=yes
   5445    ac_cv_prog_cc_g=no
   5446    CFLAGS="-g"
   5447    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5448 /* end confdefs.h.  */
   5449 
   5450 int
   5451 main ()
   5452 {
   5453 
   5454   ;
   5455   return 0;
   5456 }
   5457 _ACEOF
   5458 if ac_fn_c_try_compile "$LINENO"; then :
   5459   ac_cv_prog_cc_g=yes
   5460 else
   5461   CFLAGS=""
   5462       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5463 /* end confdefs.h.  */
   5464 
   5465 int
   5466 main ()
   5467 {
   5468 
   5469   ;
   5470   return 0;
   5471 }
   5472 _ACEOF
   5473 if ac_fn_c_try_compile "$LINENO"; then :
   5474 
   5475 else
   5476   ac_c_werror_flag=$ac_save_c_werror_flag
   5477 	 CFLAGS="-g"
   5478 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5479 /* end confdefs.h.  */
   5480 
   5481 int
   5482 main ()
   5483 {
   5484 
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 if ac_fn_c_try_compile "$LINENO"; then :
   5490   ac_cv_prog_cc_g=yes
   5491 fi
   5492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5493 fi
   5494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5495 fi
   5496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5497    ac_c_werror_flag=$ac_save_c_werror_flag
   5498 fi
   5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5500 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5501 if test "$ac_test_CFLAGS" = set; then
   5502   CFLAGS=$ac_save_CFLAGS
   5503 elif test $ac_cv_prog_cc_g = yes; then
   5504   if test "$GCC" = yes; then
   5505     CFLAGS="-g -O2"
   5506   else
   5507     CFLAGS="-g"
   5508   fi
   5509 else
   5510   if test "$GCC" = yes; then
   5511     CFLAGS="-O2"
   5512   else
   5513     CFLAGS=
   5514   fi
   5515 fi
   5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5518 if ${ac_cv_prog_cc_c89+:} false; then :
   5519   $as_echo_n "(cached) " >&6
   5520 else
   5521   ac_cv_prog_cc_c89=no
   5522 ac_save_CC=$CC
   5523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5524 /* end confdefs.h.  */
   5525 #include <stdarg.h>
   5526 #include <stdio.h>
   5527 struct stat;
   5528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5529 struct buf { int x; };
   5530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5531 static char *e (p, i)
   5532      char **p;
   5533      int i;
   5534 {
   5535   return p[i];
   5536 }
   5537 static char *f (char * (*g) (char **, int), char **p, ...)
   5538 {
   5539   char *s;
   5540   va_list v;
   5541   va_start (v,p);
   5542   s = g (p, va_arg (v,int));
   5543   va_end (v);
   5544   return s;
   5545 }
   5546 
   5547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5548    function prototypes and stuff, but not '\xHH' hex character constants.
   5549    These don't provoke an error unfortunately, instead are silently treated
   5550    as 'x'.  The following induces an error, until -std is added to get
   5551    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5552    array size at least.  It's necessary to write '\x00'==0 to get something
   5553    that's true only with -std.  */
   5554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5555 
   5556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5557    inside strings and character constants.  */
   5558 #define FOO(x) 'x'
   5559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5560 
   5561 int test (int i, double x);
   5562 struct s1 {int (*f) (int a);};
   5563 struct s2 {int (*f) (double a);};
   5564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5565 int argc;
   5566 char **argv;
   5567 int
   5568 main ()
   5569 {
   5570 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5571   ;
   5572   return 0;
   5573 }
   5574 _ACEOF
   5575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5576 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5577 do
   5578   CC="$ac_save_CC $ac_arg"
   5579   if ac_fn_c_try_compile "$LINENO"; then :
   5580   ac_cv_prog_cc_c89=$ac_arg
   5581 fi
   5582 rm -f core conftest.err conftest.$ac_objext
   5583   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5584 done
   5585 rm -f conftest.$ac_ext
   5586 CC=$ac_save_CC
   5587 
   5588 fi
   5589 # AC_CACHE_VAL
   5590 case "x$ac_cv_prog_cc_c89" in
   5591   x)
   5592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5593 $as_echo "none needed" >&6; } ;;
   5594   xno)
   5595     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5596 $as_echo "unsupported" >&6; } ;;
   5597   *)
   5598     CC="$CC $ac_cv_prog_cc_c89"
   5599     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5601 esac
   5602 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5603 
   5604 fi
   5605 
   5606 ac_ext=c
   5607 ac_cpp='$CPP $CPPFLAGS'
   5608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5611 
   5612 ac_ext=c
   5613 ac_cpp='$CPP $CPPFLAGS'
   5614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5618 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5619 if ${am_cv_prog_cc_c_o+:} false; then :
   5620   $as_echo_n "(cached) " >&6
   5621 else
   5622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5623 /* end confdefs.h.  */
   5624 
   5625 int
   5626 main ()
   5627 {
   5628 
   5629   ;
   5630   return 0;
   5631 }
   5632 _ACEOF
   5633   # Make sure it works both with $CC and with simple cc.
   5634   # Following AC_PROG_CC_C_O, we do the test twice because some
   5635   # compilers refuse to overwrite an existing .o file with -o,
   5636   # though they will create one.
   5637   am_cv_prog_cc_c_o=yes
   5638   for am_i in 1 2; do
   5639     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5640    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5641    ac_status=$?
   5642    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5643    (exit $ac_status); } \
   5644          && test -f conftest2.$ac_objext; then
   5645       : OK
   5646     else
   5647       am_cv_prog_cc_c_o=no
   5648       break
   5649     fi
   5650   done
   5651   rm -f core conftest*
   5652   unset am_i
   5653 fi
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5655 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5656 if test "$am_cv_prog_cc_c_o" != yes; then
   5657    # Losing compiler, so override with the script.
   5658    # FIXME: It is wrong to rewrite CC.
   5659    # But if we don't then we get into trouble of one sort or another.
   5660    # A longer-term fix would be to have automake use am__CC in this case,
   5661    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5662    CC="$am_aux_dir/compile $CC"
   5663 fi
   5664 ac_ext=c
   5665 ac_cpp='$CPP $CPPFLAGS'
   5666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5669 
   5670 
   5671 ac_ext=cpp
   5672 ac_cpp='$CXXCPP $CPPFLAGS'
   5673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5676 if test -z "$CXX"; then
   5677   if test -n "$CCC"; then
   5678     CXX=$CCC
   5679   else
   5680     if test -n "$ac_tool_prefix"; then
   5681   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5682   do
   5683     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5686 $as_echo_n "checking for $ac_word... " >&6; }
   5687 if ${ac_cv_prog_CXX+:} false; then :
   5688   $as_echo_n "(cached) " >&6
   5689 else
   5690   if test -n "$CXX"; then
   5691   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5692 else
   5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5694 for as_dir in $PATH
   5695 do
   5696   IFS=$as_save_IFS
   5697   test -z "$as_dir" && as_dir=.
   5698     for ac_exec_ext in '' $ac_executable_extensions; do
   5699   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5700     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5702     break 2
   5703   fi
   5704 done
   5705   done
   5706 IFS=$as_save_IFS
   5707 
   5708 fi
   5709 fi
   5710 CXX=$ac_cv_prog_CXX
   5711 if test -n "$CXX"; then
   5712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5713 $as_echo "$CXX" >&6; }
   5714 else
   5715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5716 $as_echo "no" >&6; }
   5717 fi
   5718 
   5719 
   5720     test -n "$CXX" && break
   5721   done
   5722 fi
   5723 if test -z "$CXX"; then
   5724   ac_ct_CXX=$CXX
   5725   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5726 do
   5727   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5728 set dummy $ac_prog; ac_word=$2
   5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5730 $as_echo_n "checking for $ac_word... " >&6; }
   5731 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5732   $as_echo_n "(cached) " >&6
   5733 else
   5734   if test -n "$ac_ct_CXX"; then
   5735   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5736 else
   5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5738 for as_dir in $PATH
   5739 do
   5740   IFS=$as_save_IFS
   5741   test -z "$as_dir" && as_dir=.
   5742     for ac_exec_ext in '' $ac_executable_extensions; do
   5743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5744     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5746     break 2
   5747   fi
   5748 done
   5749   done
   5750 IFS=$as_save_IFS
   5751 
   5752 fi
   5753 fi
   5754 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5755 if test -n "$ac_ct_CXX"; then
   5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5757 $as_echo "$ac_ct_CXX" >&6; }
   5758 else
   5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5760 $as_echo "no" >&6; }
   5761 fi
   5762 
   5763 
   5764   test -n "$ac_ct_CXX" && break
   5765 done
   5766 
   5767   if test "x$ac_ct_CXX" = x; then
   5768     CXX="g++"
   5769   else
   5770     case $cross_compiling:$ac_tool_warned in
   5771 yes:)
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5774 ac_tool_warned=yes ;;
   5775 esac
   5776     CXX=$ac_ct_CXX
   5777   fi
   5778 fi
   5779 
   5780   fi
   5781 fi
   5782 # Provide some information about the compiler.
   5783 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5784 set X $ac_compile
   5785 ac_compiler=$2
   5786 for ac_option in --version -v -V -qversion; do
   5787   { { ac_try="$ac_compiler $ac_option >&5"
   5788 case "(($ac_try" in
   5789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5790   *) ac_try_echo=$ac_try;;
   5791 esac
   5792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5793 $as_echo "$ac_try_echo"; } >&5
   5794   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5795   ac_status=$?
   5796   if test -s conftest.err; then
   5797     sed '10a\
   5798 ... rest of stderr output deleted ...
   5799          10q' conftest.err >conftest.er1
   5800     cat conftest.er1 >&5
   5801   fi
   5802   rm -f conftest.er1 conftest.err
   5803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5804   test $ac_status = 0; }
   5805 done
   5806 
   5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5808 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5809 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5810   $as_echo_n "(cached) " >&6
   5811 else
   5812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5813 /* end confdefs.h.  */
   5814 
   5815 int
   5816 main ()
   5817 {
   5818 #ifndef __GNUC__
   5819        choke me
   5820 #endif
   5821 
   5822   ;
   5823   return 0;
   5824 }
   5825 _ACEOF
   5826 if ac_fn_cxx_try_compile "$LINENO"; then :
   5827   ac_compiler_gnu=yes
   5828 else
   5829   ac_compiler_gnu=no
   5830 fi
   5831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5832 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5833 
   5834 fi
   5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5836 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5837 if test $ac_compiler_gnu = yes; then
   5838   GXX=yes
   5839 else
   5840   GXX=
   5841 fi
   5842 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5843 ac_save_CXXFLAGS=$CXXFLAGS
   5844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5845 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5846 if ${ac_cv_prog_cxx_g+:} false; then :
   5847   $as_echo_n "(cached) " >&6
   5848 else
   5849   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5850    ac_cxx_werror_flag=yes
   5851    ac_cv_prog_cxx_g=no
   5852    CXXFLAGS="-g"
   5853    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5854 /* end confdefs.h.  */
   5855 
   5856 int
   5857 main ()
   5858 {
   5859 
   5860   ;
   5861   return 0;
   5862 }
   5863 _ACEOF
   5864 if ac_fn_cxx_try_compile "$LINENO"; then :
   5865   ac_cv_prog_cxx_g=yes
   5866 else
   5867   CXXFLAGS=""
   5868       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5869 /* end confdefs.h.  */
   5870 
   5871 int
   5872 main ()
   5873 {
   5874 
   5875   ;
   5876   return 0;
   5877 }
   5878 _ACEOF
   5879 if ac_fn_cxx_try_compile "$LINENO"; then :
   5880 
   5881 else
   5882   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5883 	 CXXFLAGS="-g"
   5884 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5885 /* end confdefs.h.  */
   5886 
   5887 int
   5888 main ()
   5889 {
   5890 
   5891   ;
   5892   return 0;
   5893 }
   5894 _ACEOF
   5895 if ac_fn_cxx_try_compile "$LINENO"; then :
   5896   ac_cv_prog_cxx_g=yes
   5897 fi
   5898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5899 fi
   5900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5901 fi
   5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5903    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5904 fi
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5906 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5907 if test "$ac_test_CXXFLAGS" = set; then
   5908   CXXFLAGS=$ac_save_CXXFLAGS
   5909 elif test $ac_cv_prog_cxx_g = yes; then
   5910   if test "$GXX" = yes; then
   5911     CXXFLAGS="-g -O2"
   5912   else
   5913     CXXFLAGS="-g"
   5914   fi
   5915 else
   5916   if test "$GXX" = yes; then
   5917     CXXFLAGS="-O2"
   5918   else
   5919     CXXFLAGS=
   5920   fi
   5921 fi
   5922 ac_ext=c
   5923 ac_cpp='$CPP $CPPFLAGS'
   5924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5927 
   5928 depcc="$CXX"  am_compiler_list=
   5929 
   5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5931 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5932 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5933   $as_echo_n "(cached) " >&6
   5934 else
   5935   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5936   # We make a subdir and do the tests there.  Otherwise we can end up
   5937   # making bogus files that we don't know about and never remove.  For
   5938   # instance it was reported that on HP-UX the gcc test will end up
   5939   # making a dummy file named 'D' -- because '-MD' means "put the output
   5940   # in D".
   5941   rm -rf conftest.dir
   5942   mkdir conftest.dir
   5943   # Copy depcomp to subdir because otherwise we won't find it if we're
   5944   # using a relative directory.
   5945   cp "$am_depcomp" conftest.dir
   5946   cd conftest.dir
   5947   # We will build objects and dependencies in a subdirectory because
   5948   # it helps to detect inapplicable dependency modes.  For instance
   5949   # both Tru64's cc and ICC support -MD to output dependencies as a
   5950   # side effect of compilation, but ICC will put the dependencies in
   5951   # the current directory while Tru64 will put them in the object
   5952   # directory.
   5953   mkdir sub
   5954 
   5955   am_cv_CXX_dependencies_compiler_type=none
   5956   if test "$am_compiler_list" = ""; then
   5957      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5958   fi
   5959   am__universal=false
   5960   case " $depcc " in #(
   5961      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5962      esac
   5963 
   5964   for depmode in $am_compiler_list; do
   5965     # Setup a source with many dependencies, because some compilers
   5966     # like to wrap large dependency lists on column 80 (with \), and
   5967     # we should not choose a depcomp mode which is confused by this.
   5968     #
   5969     # We need to recreate these files for each test, as the compiler may
   5970     # overwrite some of them when testing with obscure command lines.
   5971     # This happens at least with the AIX C compiler.
   5972     : > sub/conftest.c
   5973     for i in 1 2 3 4 5 6; do
   5974       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5975       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5976       # Solaris 10 /bin/sh.
   5977       echo '/* dummy */' > sub/conftst$i.h
   5978     done
   5979     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5980 
   5981     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5982     # mode.  It turns out that the SunPro C++ compiler does not properly
   5983     # handle '-M -o', and we need to detect this.  Also, some Intel
   5984     # versions had trouble with output in subdirs.
   5985     am__obj=sub/conftest.${OBJEXT-o}
   5986     am__minus_obj="-o $am__obj"
   5987     case $depmode in
   5988     gcc)
   5989       # This depmode causes a compiler race in universal mode.
   5990       test "$am__universal" = false || continue
   5991       ;;
   5992     nosideeffect)
   5993       # After this tag, mechanisms are not by side-effect, so they'll
   5994       # only be used when explicitly requested.
   5995       if test "x$enable_dependency_tracking" = xyes; then
   5996 	continue
   5997       else
   5998 	break
   5999       fi
   6000       ;;
   6001     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6002       # This compiler won't grok '-c -o', but also, the minuso test has
   6003       # not run yet.  These depmodes are late enough in the game, and
   6004       # so weak that their functioning should not be impacted.
   6005       am__obj=conftest.${OBJEXT-o}
   6006       am__minus_obj=
   6007       ;;
   6008     none) break ;;
   6009     esac
   6010     if depmode=$depmode \
   6011        source=sub/conftest.c object=$am__obj \
   6012        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6013        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6014          >/dev/null 2>conftest.err &&
   6015        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6016        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6017        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6018        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6019       # icc doesn't choke on unknown options, it will just issue warnings
   6020       # or remarks (even with -Werror).  So we grep stderr for any message
   6021       # that says an option was ignored or not supported.
   6022       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6023       #   icc: Command line warning: ignoring option '-M'; no argument required
   6024       # The diagnosis changed in icc 8.0:
   6025       #   icc: Command line remark: option '-MP' not supported
   6026       if (grep 'ignoring option' conftest.err ||
   6027           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6028         am_cv_CXX_dependencies_compiler_type=$depmode
   6029         break
   6030       fi
   6031     fi
   6032   done
   6033 
   6034   cd ..
   6035   rm -rf conftest.dir
   6036 else
   6037   am_cv_CXX_dependencies_compiler_type=none
   6038 fi
   6039 
   6040 fi
   6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   6042 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   6043 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   6044 
   6045  if
   6046   test "x$enable_dependency_tracking" != xno \
   6047   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   6048   am__fastdepCXX_TRUE=
   6049   am__fastdepCXX_FALSE='#'
   6050 else
   6051   am__fastdepCXX_TRUE='#'
   6052   am__fastdepCXX_FALSE=
   6053 fi
   6054 
   6055 
   6056 # By default we simply use the C compiler to build assembly code.
   6057 
   6058 test "${CCAS+set}" = set || CCAS=$CC
   6059 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   6060 
   6061 
   6062 
   6063 depcc="$CCAS"   am_compiler_list=
   6064 
   6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   6066 $as_echo_n "checking dependency style of $depcc... " >&6; }
   6067 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
   6068   $as_echo_n "(cached) " >&6
   6069 else
   6070   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   6071   # We make a subdir and do the tests there.  Otherwise we can end up
   6072   # making bogus files that we don't know about and never remove.  For
   6073   # instance it was reported that on HP-UX the gcc test will end up
   6074   # making a dummy file named 'D' -- because '-MD' means "put the output
   6075   # in D".
   6076   rm -rf conftest.dir
   6077   mkdir conftest.dir
   6078   # Copy depcomp to subdir because otherwise we won't find it if we're
   6079   # using a relative directory.
   6080   cp "$am_depcomp" conftest.dir
   6081   cd conftest.dir
   6082   # We will build objects and dependencies in a subdirectory because
   6083   # it helps to detect inapplicable dependency modes.  For instance
   6084   # both Tru64's cc and ICC support -MD to output dependencies as a
   6085   # side effect of compilation, but ICC will put the dependencies in
   6086   # the current directory while Tru64 will put them in the object
   6087   # directory.
   6088   mkdir sub
   6089 
   6090   am_cv_CCAS_dependencies_compiler_type=none
   6091   if test "$am_compiler_list" = ""; then
   6092      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   6093   fi
   6094   am__universal=false
   6095 
   6096 
   6097   for depmode in $am_compiler_list; do
   6098     # Setup a source with many dependencies, because some compilers
   6099     # like to wrap large dependency lists on column 80 (with \), and
   6100     # we should not choose a depcomp mode which is confused by this.
   6101     #
   6102     # We need to recreate these files for each test, as the compiler may
   6103     # overwrite some of them when testing with obscure command lines.
   6104     # This happens at least with the AIX C compiler.
   6105     : > sub/conftest.c
   6106     for i in 1 2 3 4 5 6; do
   6107       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   6108       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   6109       # Solaris 10 /bin/sh.
   6110       echo '/* dummy */' > sub/conftst$i.h
   6111     done
   6112     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   6113 
   6114     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   6115     # mode.  It turns out that the SunPro C++ compiler does not properly
   6116     # handle '-M -o', and we need to detect this.  Also, some Intel
   6117     # versions had trouble with output in subdirs.
   6118     am__obj=sub/conftest.${OBJEXT-o}
   6119     am__minus_obj="-o $am__obj"
   6120     case $depmode in
   6121     gcc)
   6122       # This depmode causes a compiler race in universal mode.
   6123       test "$am__universal" = false || continue
   6124       ;;
   6125     nosideeffect)
   6126       # After this tag, mechanisms are not by side-effect, so they'll
   6127       # only be used when explicitly requested.
   6128       if test "x$enable_dependency_tracking" = xyes; then
   6129 	continue
   6130       else
   6131 	break
   6132       fi
   6133       ;;
   6134     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   6135       # This compiler won't grok '-c -o', but also, the minuso test has
   6136       # not run yet.  These depmodes are late enough in the game, and
   6137       # so weak that their functioning should not be impacted.
   6138       am__obj=conftest.${OBJEXT-o}
   6139       am__minus_obj=
   6140       ;;
   6141     none) break ;;
   6142     esac
   6143     if depmode=$depmode \
   6144        source=sub/conftest.c object=$am__obj \
   6145        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   6146        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   6147          >/dev/null 2>conftest.err &&
   6148        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   6149        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   6150        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   6151        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   6152       # icc doesn't choke on unknown options, it will just issue warnings
   6153       # or remarks (even with -Werror).  So we grep stderr for any message
   6154       # that says an option was ignored or not supported.
   6155       # When given -MP, icc 7.0 and 7.1 complain thusly:
   6156       #   icc: Command line warning: ignoring option '-M'; no argument required
   6157       # The diagnosis changed in icc 8.0:
   6158       #   icc: Command line remark: option '-MP' not supported
   6159       if (grep 'ignoring option' conftest.err ||
   6160           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   6161         am_cv_CCAS_dependencies_compiler_type=$depmode
   6162         break
   6163       fi
   6164     fi
   6165   done
   6166 
   6167   cd ..
   6168   rm -rf conftest.dir
   6169 else
   6170   am_cv_CCAS_dependencies_compiler_type=none
   6171 fi
   6172 
   6173 fi
   6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   6175 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
   6176 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   6177 
   6178  if
   6179   test "x$enable_dependency_tracking" != xno \
   6180   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   6181   am__fastdepCCAS_TRUE=
   6182   am__fastdepCCAS_FALSE='#'
   6183 else
   6184   am__fastdepCCAS_TRUE='#'
   6185   am__fastdepCCAS_FALSE=
   6186 fi
   6187 
   6188 
   6189 if test -n "$ac_tool_prefix"; then
   6190   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6191 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6193 $as_echo_n "checking for $ac_word... " >&6; }
   6194 if ${ac_cv_prog_RANLIB+:} false; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197   if test -n "$RANLIB"; then
   6198   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6199 else
   6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6201 for as_dir in $PATH
   6202 do
   6203   IFS=$as_save_IFS
   6204   test -z "$as_dir" && as_dir=.
   6205     for ac_exec_ext in '' $ac_executable_extensions; do
   6206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6207     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6208     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6209     break 2
   6210   fi
   6211 done
   6212   done
   6213 IFS=$as_save_IFS
   6214 
   6215 fi
   6216 fi
   6217 RANLIB=$ac_cv_prog_RANLIB
   6218 if test -n "$RANLIB"; then
   6219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6220 $as_echo "$RANLIB" >&6; }
   6221 else
   6222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6223 $as_echo "no" >&6; }
   6224 fi
   6225 
   6226 
   6227 fi
   6228 if test -z "$ac_cv_prog_RANLIB"; then
   6229   ac_ct_RANLIB=$RANLIB
   6230   # Extract the first word of "ranlib", so it can be a program name with args.
   6231 set dummy ranlib; ac_word=$2
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6233 $as_echo_n "checking for $ac_word... " >&6; }
   6234 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237   if test -n "$ac_ct_RANLIB"; then
   6238   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6239 else
   6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6241 for as_dir in $PATH
   6242 do
   6243   IFS=$as_save_IFS
   6244   test -z "$as_dir" && as_dir=.
   6245     for ac_exec_ext in '' $ac_executable_extensions; do
   6246   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6247     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6248     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6249     break 2
   6250   fi
   6251 done
   6252   done
   6253 IFS=$as_save_IFS
   6254 
   6255 fi
   6256 fi
   6257 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6258 if test -n "$ac_ct_RANLIB"; then
   6259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6260 $as_echo "$ac_ct_RANLIB" >&6; }
   6261 else
   6262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6263 $as_echo "no" >&6; }
   6264 fi
   6265 
   6266   if test "x$ac_ct_RANLIB" = x; then
   6267     RANLIB=":"
   6268   else
   6269     case $cross_compiling:$ac_tool_warned in
   6270 yes:)
   6271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6273 ac_tool_warned=yes ;;
   6274 esac
   6275     RANLIB=$ac_ct_RANLIB
   6276   fi
   6277 else
   6278   RANLIB="$ac_cv_prog_RANLIB"
   6279 fi
   6280 
   6281 
   6282 enable_dlopen=yes
   6283 
   6284 
   6285 
   6286 case `pwd` in
   6287   *\ * | *\	*)
   6288     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6289 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6290 esac
   6291 
   6292 
   6293 
   6294 macro_version='2.2.7a'
   6295 macro_revision='1.3134'
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 ltmain="$ac_aux_dir/ltmain.sh"
   6310 
   6311 # Backslashify metacharacters that are still active within
   6312 # double-quoted strings.
   6313 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6314 
   6315 # Same as above, but do not quote variable references.
   6316 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6317 
   6318 # Sed substitution to delay expansion of an escaped shell variable in a
   6319 # double_quote_subst'ed string.
   6320 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6321 
   6322 # Sed substitution to delay expansion of an escaped single quote.
   6323 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6324 
   6325 # Sed substitution to avoid accidental globbing in evaled expressions
   6326 no_glob_subst='s/\*/\\\*/g'
   6327 
   6328 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6329 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6330 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6331 
   6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6333 $as_echo_n "checking how to print strings... " >&6; }
   6334 # Test print first, because it will be a builtin if present.
   6335 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   6336    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6337   ECHO='print -r --'
   6338 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6339   ECHO='printf %s\n'
   6340 else
   6341   # Use this function as a fallback that always works.
   6342   func_fallback_echo ()
   6343   {
   6344     eval 'cat <<_LTECHO_EOF
   6345 $1
   6346 _LTECHO_EOF'
   6347   }
   6348   ECHO='func_fallback_echo'
   6349 fi
   6350 
   6351 # func_echo_all arg...
   6352 # Invoke $ECHO with all args, space-separated.
   6353 func_echo_all ()
   6354 {
   6355     $ECHO ""
   6356 }
   6357 
   6358 case "$ECHO" in
   6359   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6360 $as_echo "printf" >&6; } ;;
   6361   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6362 $as_echo "print -r" >&6; } ;;
   6363   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6364 $as_echo "cat" >&6; } ;;
   6365 esac
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 
   6376 
   6377 
   6378 
   6379 
   6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6381 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6382 if ${ac_cv_path_SED+:} false; then :
   6383   $as_echo_n "(cached) " >&6
   6384 else
   6385             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6386      for ac_i in 1 2 3 4 5 6 7; do
   6387        ac_script="$ac_script$as_nl$ac_script"
   6388      done
   6389      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6390      { ac_script=; unset ac_script;}
   6391      if test -z "$SED"; then
   6392   ac_path_SED_found=false
   6393   # Loop through the user's path and test for each of PROGNAME-LIST
   6394   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6395 for as_dir in $PATH
   6396 do
   6397   IFS=$as_save_IFS
   6398   test -z "$as_dir" && as_dir=.
   6399     for ac_prog in sed gsed; do
   6400     for ac_exec_ext in '' $ac_executable_extensions; do
   6401       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6402       as_fn_executable_p "$ac_path_SED" || continue
   6403 # Check for GNU ac_path_SED and select it if it is found.
   6404   # Check for GNU $ac_path_SED
   6405 case `"$ac_path_SED" --version 2>&1` in
   6406 *GNU*)
   6407   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6408 *)
   6409   ac_count=0
   6410   $as_echo_n 0123456789 >"conftest.in"
   6411   while :
   6412   do
   6413     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6414     mv "conftest.tmp" "conftest.in"
   6415     cp "conftest.in" "conftest.nl"
   6416     $as_echo '' >> "conftest.nl"
   6417     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6418     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6419     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6420     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6421       # Best one so far, save it but keep looking for a better one
   6422       ac_cv_path_SED="$ac_path_SED"
   6423       ac_path_SED_max=$ac_count
   6424     fi
   6425     # 10*(2^10) chars as input seems more than enough
   6426     test $ac_count -gt 10 && break
   6427   done
   6428   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6429 esac
   6430 
   6431       $ac_path_SED_found && break 3
   6432     done
   6433   done
   6434   done
   6435 IFS=$as_save_IFS
   6436   if test -z "$ac_cv_path_SED"; then
   6437     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6438   fi
   6439 else
   6440   ac_cv_path_SED=$SED
   6441 fi
   6442 
   6443 fi
   6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6445 $as_echo "$ac_cv_path_SED" >&6; }
   6446  SED="$ac_cv_path_SED"
   6447   rm -f conftest.sed
   6448 
   6449 test -z "$SED" && SED=sed
   6450 Xsed="$SED -e 1s/^X//"
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6463 $as_echo_n "checking for fgrep... " >&6; }
   6464 if ${ac_cv_path_FGREP+:} false; then :
   6465   $as_echo_n "(cached) " >&6
   6466 else
   6467   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6468    then ac_cv_path_FGREP="$GREP -F"
   6469    else
   6470      if test -z "$FGREP"; then
   6471   ac_path_FGREP_found=false
   6472   # Loop through the user's path and test for each of PROGNAME-LIST
   6473   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6474 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6475 do
   6476   IFS=$as_save_IFS
   6477   test -z "$as_dir" && as_dir=.
   6478     for ac_prog in fgrep; do
   6479     for ac_exec_ext in '' $ac_executable_extensions; do
   6480       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6481       as_fn_executable_p "$ac_path_FGREP" || continue
   6482 # Check for GNU ac_path_FGREP and select it if it is found.
   6483   # Check for GNU $ac_path_FGREP
   6484 case `"$ac_path_FGREP" --version 2>&1` in
   6485 *GNU*)
   6486   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6487 *)
   6488   ac_count=0
   6489   $as_echo_n 0123456789 >"conftest.in"
   6490   while :
   6491   do
   6492     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6493     mv "conftest.tmp" "conftest.in"
   6494     cp "conftest.in" "conftest.nl"
   6495     $as_echo 'FGREP' >> "conftest.nl"
   6496     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6497     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6498     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6499     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6500       # Best one so far, save it but keep looking for a better one
   6501       ac_cv_path_FGREP="$ac_path_FGREP"
   6502       ac_path_FGREP_max=$ac_count
   6503     fi
   6504     # 10*(2^10) chars as input seems more than enough
   6505     test $ac_count -gt 10 && break
   6506   done
   6507   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6508 esac
   6509 
   6510       $ac_path_FGREP_found && break 3
   6511     done
   6512   done
   6513   done
   6514 IFS=$as_save_IFS
   6515   if test -z "$ac_cv_path_FGREP"; then
   6516     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6517   fi
   6518 else
   6519   ac_cv_path_FGREP=$FGREP
   6520 fi
   6521 
   6522    fi
   6523 fi
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6525 $as_echo "$ac_cv_path_FGREP" >&6; }
   6526  FGREP="$ac_cv_path_FGREP"
   6527 
   6528 
   6529 test -z "$GREP" && GREP=grep
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 # Check whether --with-gnu-ld was given.
   6550 if test "${with_gnu_ld+set}" = set; then :
   6551   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6552 else
   6553   with_gnu_ld=no
   6554 fi
   6555 
   6556 ac_prog=ld
   6557 if test "$GCC" = yes; then
   6558   # Check if gcc -print-prog-name=ld gives a path.
   6559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6560 $as_echo_n "checking for ld used by $CC... " >&6; }
   6561   case $host in
   6562   *-*-mingw*)
   6563     # gcc leaves a trailing carriage return which upsets mingw
   6564     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6565   *)
   6566     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6567   esac
   6568   case $ac_prog in
   6569     # Accept absolute paths.
   6570     [\\/]* | ?:[\\/]*)
   6571       re_direlt='/[^/][^/]*/\.\./'
   6572       # Canonicalize the pathname of ld
   6573       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6574       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6575 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6576       done
   6577       test -z "$LD" && LD="$ac_prog"
   6578       ;;
   6579   "")
   6580     # If it fails, then pretend we aren't using GCC.
   6581     ac_prog=ld
   6582     ;;
   6583   *)
   6584     # If it is relative, then search for the first ld in PATH.
   6585     with_gnu_ld=unknown
   6586     ;;
   6587   esac
   6588 elif test "$with_gnu_ld" = yes; then
   6589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6590 $as_echo_n "checking for GNU ld... " >&6; }
   6591 else
   6592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6593 $as_echo_n "checking for non-GNU ld... " >&6; }
   6594 fi
   6595 if ${lt_cv_path_LD+:} false; then :
   6596   $as_echo_n "(cached) " >&6
   6597 else
   6598   if test -z "$LD"; then
   6599   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6600   for ac_dir in $PATH; do
   6601     IFS="$lt_save_ifs"
   6602     test -z "$ac_dir" && ac_dir=.
   6603     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6604       lt_cv_path_LD="$ac_dir/$ac_prog"
   6605       # Check to see if the program is GNU ld.  I'd rather use --version,
   6606       # but apparently some variants of GNU ld only accept -v.
   6607       # Break only if it was the GNU/non-GNU ld that we prefer.
   6608       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6609       *GNU* | *'with BFD'*)
   6610 	test "$with_gnu_ld" != no && break
   6611 	;;
   6612       *)
   6613 	test "$with_gnu_ld" != yes && break
   6614 	;;
   6615       esac
   6616     fi
   6617   done
   6618   IFS="$lt_save_ifs"
   6619 else
   6620   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6621 fi
   6622 fi
   6623 
   6624 LD="$lt_cv_path_LD"
   6625 if test -n "$LD"; then
   6626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6627 $as_echo "$LD" >&6; }
   6628 else
   6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6630 $as_echo "no" >&6; }
   6631 fi
   6632 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6634 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6635 if ${lt_cv_prog_gnu_ld+:} false; then :
   6636   $as_echo_n "(cached) " >&6
   6637 else
   6638   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6639 case `$LD -v 2>&1 </dev/null` in
   6640 *GNU* | *'with BFD'*)
   6641   lt_cv_prog_gnu_ld=yes
   6642   ;;
   6643 *)
   6644   lt_cv_prog_gnu_ld=no
   6645   ;;
   6646 esac
   6647 fi
   6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6649 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6650 with_gnu_ld=$lt_cv_prog_gnu_ld
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6661 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6662 if ${lt_cv_path_NM+:} false; then :
   6663   $as_echo_n "(cached) " >&6
   6664 else
   6665   if test -n "$NM"; then
   6666   # Let the user override the test.
   6667   lt_cv_path_NM="$NM"
   6668 else
   6669   lt_nm_to_check="${ac_tool_prefix}nm"
   6670   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6671     lt_nm_to_check="$lt_nm_to_check nm"
   6672   fi
   6673   for lt_tmp_nm in $lt_nm_to_check; do
   6674     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6675     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6676       IFS="$lt_save_ifs"
   6677       test -z "$ac_dir" && ac_dir=.
   6678       tmp_nm="$ac_dir/$lt_tmp_nm"
   6679       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   6680 	# Check to see if the nm accepts a BSD-compat flag.
   6681 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6682 	#   nm: unknown option "B" ignored
   6683 	# Tru64's nm complains that /dev/null is an invalid object file
   6684 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   6685 	*/dev/null* | *'Invalid file or object type'*)
   6686 	  lt_cv_path_NM="$tmp_nm -B"
   6687 	  break
   6688 	  ;;
   6689 	*)
   6690 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   6691 	  */dev/null*)
   6692 	    lt_cv_path_NM="$tmp_nm -p"
   6693 	    break
   6694 	    ;;
   6695 	  *)
   6696 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6697 	    continue # so that we can try to find one that supports BSD flags
   6698 	    ;;
   6699 	  esac
   6700 	  ;;
   6701 	esac
   6702       fi
   6703     done
   6704     IFS="$lt_save_ifs"
   6705   done
   6706   : ${lt_cv_path_NM=no}
   6707 fi
   6708 fi
   6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6710 $as_echo "$lt_cv_path_NM" >&6; }
   6711 if test "$lt_cv_path_NM" != "no"; then
   6712   NM="$lt_cv_path_NM"
   6713 else
   6714   # Didn't find any BSD compatible name lister, look for dumpbin.
   6715   if test -n "$DUMPBIN"; then :
   6716     # Let the user override the test.
   6717   else
   6718     if test -n "$ac_tool_prefix"; then
   6719   for ac_prog in dumpbin "link -dump"
   6720   do
   6721     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6722 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6724 $as_echo_n "checking for $ac_word... " >&6; }
   6725 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6726   $as_echo_n "(cached) " >&6
   6727 else
   6728   if test -n "$DUMPBIN"; then
   6729   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6730 else
   6731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6732 for as_dir in $PATH
   6733 do
   6734   IFS=$as_save_IFS
   6735   test -z "$as_dir" && as_dir=.
   6736     for ac_exec_ext in '' $ac_executable_extensions; do
   6737   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6738     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6740     break 2
   6741   fi
   6742 done
   6743   done
   6744 IFS=$as_save_IFS
   6745 
   6746 fi
   6747 fi
   6748 DUMPBIN=$ac_cv_prog_DUMPBIN
   6749 if test -n "$DUMPBIN"; then
   6750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6751 $as_echo "$DUMPBIN" >&6; }
   6752 else
   6753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6754 $as_echo "no" >&6; }
   6755 fi
   6756 
   6757 
   6758     test -n "$DUMPBIN" && break
   6759   done
   6760 fi
   6761 if test -z "$DUMPBIN"; then
   6762   ac_ct_DUMPBIN=$DUMPBIN
   6763   for ac_prog in dumpbin "link -dump"
   6764 do
   6765   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6766 set dummy $ac_prog; ac_word=$2
   6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6768 $as_echo_n "checking for $ac_word... " >&6; }
   6769 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6770   $as_echo_n "(cached) " >&6
   6771 else
   6772   if test -n "$ac_ct_DUMPBIN"; then
   6773   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6774 else
   6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6776 for as_dir in $PATH
   6777 do
   6778   IFS=$as_save_IFS
   6779   test -z "$as_dir" && as_dir=.
   6780     for ac_exec_ext in '' $ac_executable_extensions; do
   6781   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6782     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6784     break 2
   6785   fi
   6786 done
   6787   done
   6788 IFS=$as_save_IFS
   6789 
   6790 fi
   6791 fi
   6792 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6793 if test -n "$ac_ct_DUMPBIN"; then
   6794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6795 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6796 else
   6797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6798 $as_echo "no" >&6; }
   6799 fi
   6800 
   6801 
   6802   test -n "$ac_ct_DUMPBIN" && break
   6803 done
   6804 
   6805   if test "x$ac_ct_DUMPBIN" = x; then
   6806     DUMPBIN=":"
   6807   else
   6808     case $cross_compiling:$ac_tool_warned in
   6809 yes:)
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6812 ac_tool_warned=yes ;;
   6813 esac
   6814     DUMPBIN=$ac_ct_DUMPBIN
   6815   fi
   6816 fi
   6817 
   6818     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6819     *COFF*)
   6820       DUMPBIN="$DUMPBIN -symbols"
   6821       ;;
   6822     *)
   6823       DUMPBIN=:
   6824       ;;
   6825     esac
   6826   fi
   6827 
   6828   if test "$DUMPBIN" != ":"; then
   6829     NM="$DUMPBIN"
   6830   fi
   6831 fi
   6832 test -z "$NM" && NM=nm
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6840 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6841 if ${lt_cv_nm_interface+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   lt_cv_nm_interface="BSD nm"
   6845   echo "int some_variable = 0;" > conftest.$ac_ext
   6846   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6847   (eval "$ac_compile" 2>conftest.err)
   6848   cat conftest.err >&5
   6849   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6850   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6851   cat conftest.err >&5
   6852   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6853   cat conftest.out >&5
   6854   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6855     lt_cv_nm_interface="MS dumpbin"
   6856   fi
   6857   rm -f conftest*
   6858 fi
   6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6860 $as_echo "$lt_cv_nm_interface" >&6; }
   6861 
   6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6863 $as_echo_n "checking whether ln -s works... " >&6; }
   6864 LN_S=$as_ln_s
   6865 if test "$LN_S" = "ln -s"; then
   6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6867 $as_echo "yes" >&6; }
   6868 else
   6869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6870 $as_echo "no, using $LN_S" >&6; }
   6871 fi
   6872 
   6873 # find the maximum length of command line arguments
   6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6876 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6877   $as_echo_n "(cached) " >&6
   6878 else
   6879     i=0
   6880   teststring="ABCD"
   6881 
   6882   case $build_os in
   6883   msdosdjgpp*)
   6884     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6885     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6886     # during glob expansion).  Even if it were fixed, the result of this
   6887     # check would be larger than it should be.
   6888     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6889     ;;
   6890 
   6891   gnu*)
   6892     # Under GNU Hurd, this test is not required because there is
   6893     # no limit to the length of command line arguments.
   6894     # Libtool will interpret -1 as no limit whatsoever
   6895     lt_cv_sys_max_cmd_len=-1;
   6896     ;;
   6897 
   6898   cygwin* | mingw* | cegcc*)
   6899     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6900     # about 5 minutes as the teststring grows exponentially.
   6901     # Worse, since 9x/ME are not pre-emptively multitasking,
   6902     # you end up with a "frozen" computer, even though with patience
   6903     # the test eventually succeeds (with a max line length of 256k).
   6904     # Instead, let's just punt: use the minimum linelength reported by
   6905     # all of the supported platforms: 8192 (on NT/2K/XP).
   6906     lt_cv_sys_max_cmd_len=8192;
   6907     ;;
   6908 
   6909   mint*)
   6910     # On MiNT this can take a long time and run out of memory.
   6911     lt_cv_sys_max_cmd_len=8192;
   6912     ;;
   6913 
   6914   amigaos*)
   6915     # On AmigaOS with pdksh, this test takes hours, literally.
   6916     # So we just punt and use a minimum line length of 8192.
   6917     lt_cv_sys_max_cmd_len=8192;
   6918     ;;
   6919 
   6920   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6921     # This has been around since 386BSD, at least.  Likely further.
   6922     if test -x /sbin/sysctl; then
   6923       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6924     elif test -x /usr/sbin/sysctl; then
   6925       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6926     else
   6927       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6928     fi
   6929     # And add a safety zone
   6930     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6931     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6932     ;;
   6933 
   6934   interix*)
   6935     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6936     lt_cv_sys_max_cmd_len=196608
   6937     ;;
   6938 
   6939   osf*)
   6940     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6941     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6942     # nice to cause kernel panics so lets avoid the loop below.
   6943     # First set a reasonable default.
   6944     lt_cv_sys_max_cmd_len=16384
   6945     #
   6946     if test -x /sbin/sysconfig; then
   6947       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6948         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6949       esac
   6950     fi
   6951     ;;
   6952   sco3.2v5*)
   6953     lt_cv_sys_max_cmd_len=102400
   6954     ;;
   6955   sysv5* | sco5v6* | sysv4.2uw2*)
   6956     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6957     if test -n "$kargmax"; then
   6958       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6959     else
   6960       lt_cv_sys_max_cmd_len=32768
   6961     fi
   6962     ;;
   6963   *)
   6964     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6965     if test -n "$lt_cv_sys_max_cmd_len"; then
   6966       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6967       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6968     else
   6969       # Make teststring a little bigger before we do anything with it.
   6970       # a 1K string should be a reasonable start.
   6971       for i in 1 2 3 4 5 6 7 8 ; do
   6972         teststring=$teststring$teststring
   6973       done
   6974       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6975       # If test is not a shell built-in, we'll probably end up computing a
   6976       # maximum length that is only half of the actual maximum length, but
   6977       # we can't tell.
   6978       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6979 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6980 	      test $i != 17 # 1/2 MB should be enough
   6981       do
   6982         i=`expr $i + 1`
   6983         teststring=$teststring$teststring
   6984       done
   6985       # Only check the string length outside the loop.
   6986       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6987       teststring=
   6988       # Add a significant safety factor because C++ compilers can tack on
   6989       # massive amounts of additional arguments before passing them to the
   6990       # linker.  It appears as though 1/2 is a usable value.
   6991       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6992     fi
   6993     ;;
   6994   esac
   6995 
   6996 fi
   6997 
   6998 if test -n $lt_cv_sys_max_cmd_len ; then
   6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   7001 else
   7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7003 $as_echo "none" >&6; }
   7004 fi
   7005 max_cmd_len=$lt_cv_sys_max_cmd_len
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 : ${CP="cp -f"}
   7013 : ${MV="mv -f"}
   7014 : ${RM="rm -f"}
   7015 
   7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   7017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   7018 # Try some XSI features
   7019 xsi_shell=no
   7020 ( _lt_dummy="a/b/c"
   7021   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   7022       = c,a/b,, \
   7023     && eval 'test $(( 1 + 1 )) -eq 2 \
   7024     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   7025   && xsi_shell=yes
   7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   7027 $as_echo "$xsi_shell" >&6; }
   7028 
   7029 
   7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   7031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   7032 lt_shell_append=no
   7033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   7034     >/dev/null 2>&1 \
   7035   && lt_shell_append=yes
   7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   7037 $as_echo "$lt_shell_append" >&6; }
   7038 
   7039 
   7040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7041   lt_unset=unset
   7042 else
   7043   lt_unset=false
   7044 fi
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 # test EBCDIC or ASCII
   7051 case `echo X|tr X '\101'` in
   7052  A) # ASCII based system
   7053     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7054   lt_SP2NL='tr \040 \012'
   7055   lt_NL2SP='tr \015\012 \040\040'
   7056   ;;
   7057  *) # EBCDIC based system
   7058   lt_SP2NL='tr \100 \n'
   7059   lt_NL2SP='tr \r\n \100\100'
   7060   ;;
   7061 esac
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   7073 if ${lt_cv_ld_reload_flag+:} false; then :
   7074   $as_echo_n "(cached) " >&6
   7075 else
   7076   lt_cv_ld_reload_flag='-r'
   7077 fi
   7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   7080 reload_flag=$lt_cv_ld_reload_flag
   7081 case $reload_flag in
   7082 "" | " "*) ;;
   7083 *) reload_flag=" $reload_flag" ;;
   7084 esac
   7085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7086 case $host_os in
   7087   darwin*)
   7088     if test "$GCC" = yes; then
   7089       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   7090     else
   7091       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7092     fi
   7093     ;;
   7094 esac
   7095 
   7096 
   7097 
   7098 
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 if test -n "$ac_tool_prefix"; then
   7105   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7108 $as_echo_n "checking for $ac_word... " >&6; }
   7109 if ${ac_cv_prog_OBJDUMP+:} false; then :
   7110   $as_echo_n "(cached) " >&6
   7111 else
   7112   if test -n "$OBJDUMP"; then
   7113   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7114 else
   7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7116 for as_dir in $PATH
   7117 do
   7118   IFS=$as_save_IFS
   7119   test -z "$as_dir" && as_dir=.
   7120     for ac_exec_ext in '' $ac_executable_extensions; do
   7121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7122     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7124     break 2
   7125   fi
   7126 done
   7127   done
   7128 IFS=$as_save_IFS
   7129 
   7130 fi
   7131 fi
   7132 OBJDUMP=$ac_cv_prog_OBJDUMP
   7133 if test -n "$OBJDUMP"; then
   7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7135 $as_echo "$OBJDUMP" >&6; }
   7136 else
   7137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7138 $as_echo "no" >&6; }
   7139 fi
   7140 
   7141 
   7142 fi
   7143 if test -z "$ac_cv_prog_OBJDUMP"; then
   7144   ac_ct_OBJDUMP=$OBJDUMP
   7145   # Extract the first word of "objdump", so it can be a program name with args.
   7146 set dummy objdump; ac_word=$2
   7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7148 $as_echo_n "checking for $ac_word... " >&6; }
   7149 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7150   $as_echo_n "(cached) " >&6
   7151 else
   7152   if test -n "$ac_ct_OBJDUMP"; then
   7153   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7154 else
   7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7156 for as_dir in $PATH
   7157 do
   7158   IFS=$as_save_IFS
   7159   test -z "$as_dir" && as_dir=.
   7160     for ac_exec_ext in '' $ac_executable_extensions; do
   7161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7162     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7164     break 2
   7165   fi
   7166 done
   7167   done
   7168 IFS=$as_save_IFS
   7169 
   7170 fi
   7171 fi
   7172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7173 if test -n "$ac_ct_OBJDUMP"; then
   7174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7175 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7176 else
   7177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7178 $as_echo "no" >&6; }
   7179 fi
   7180 
   7181   if test "x$ac_ct_OBJDUMP" = x; then
   7182     OBJDUMP="false"
   7183   else
   7184     case $cross_compiling:$ac_tool_warned in
   7185 yes:)
   7186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7188 ac_tool_warned=yes ;;
   7189 esac
   7190     OBJDUMP=$ac_ct_OBJDUMP
   7191   fi
   7192 else
   7193   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7194 fi
   7195 
   7196 test -z "$OBJDUMP" && OBJDUMP=objdump
   7197 
   7198 
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 
   7205 
   7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7208 if ${lt_cv_deplibs_check_method+:} false; then :
   7209   $as_echo_n "(cached) " >&6
   7210 else
   7211   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7212 lt_cv_file_magic_test_file=
   7213 lt_cv_deplibs_check_method='unknown'
   7214 # Need to set the preceding variable on all platforms that support
   7215 # interlibrary dependencies.
   7216 # 'none' -- dependencies not supported.
   7217 # `unknown' -- same as none, but documents that we really don't know.
   7218 # 'pass_all' -- all dependencies passed with no checks.
   7219 # 'test_compile' -- check by making test program.
   7220 # 'file_magic [[regex]]' -- check by looking for files in library path
   7221 # which responds to the $file_magic_cmd with a given extended regex.
   7222 # If you have `file' or equivalent on your system and you're not sure
   7223 # whether `pass_all' will *always* work, you probably want this one.
   7224 
   7225 case $host_os in
   7226 aix[4-9]*)
   7227   lt_cv_deplibs_check_method=pass_all
   7228   ;;
   7229 
   7230 beos*)
   7231   lt_cv_deplibs_check_method=pass_all
   7232   ;;
   7233 
   7234 bsdi[45]*)
   7235   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7236   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7237   lt_cv_file_magic_test_file=/shlib/libc.so
   7238   ;;
   7239 
   7240 cygwin*)
   7241   # func_win32_libid is a shell function defined in ltmain.sh
   7242   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7243   lt_cv_file_magic_cmd='func_win32_libid'
   7244   ;;
   7245 
   7246 mingw* | pw32*)
   7247   # Base MSYS/MinGW do not provide the 'file' command needed by
   7248   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7249   # unless we find 'file', for example because we are cross-compiling.
   7250   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   7251   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   7252     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7253     lt_cv_file_magic_cmd='func_win32_libid'
   7254   else
   7255     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   7256     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7257   fi
   7258   ;;
   7259 
   7260 cegcc*)
   7261   # use the weaker test based on 'objdump'. See mingw*.
   7262   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7263   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7264   ;;
   7265 
   7266 darwin* | rhapsody*)
   7267   lt_cv_deplibs_check_method=pass_all
   7268   ;;
   7269 
   7270 freebsd* | dragonfly*)
   7271   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7272     case $host_cpu in
   7273     i*86 )
   7274       # Not sure whether the presence of OpenBSD here was a mistake.
   7275       # Let's accept both of them until this is cleared up.
   7276       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7277       lt_cv_file_magic_cmd=/usr/bin/file
   7278       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7279       ;;
   7280     esac
   7281   else
   7282     lt_cv_deplibs_check_method=pass_all
   7283   fi
   7284   ;;
   7285 
   7286 gnu*)
   7287   lt_cv_deplibs_check_method=pass_all
   7288   ;;
   7289 
   7290 haiku*)
   7291   lt_cv_deplibs_check_method=pass_all
   7292   ;;
   7293 
   7294 hpux10.20* | hpux11*)
   7295   lt_cv_file_magic_cmd=/usr/bin/file
   7296   case $host_cpu in
   7297   ia64*)
   7298     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7299     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7300     ;;
   7301   hppa*64*)
   7302     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]'
   7303     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7304     ;;
   7305   *)
   7306     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7307     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7308     ;;
   7309   esac
   7310   ;;
   7311 
   7312 interix[3-9]*)
   7313   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7314   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7315   ;;
   7316 
   7317 irix5* | irix6* | nonstopux*)
   7318   case $LD in
   7319   *-32|*"-32 ") libmagic=32-bit;;
   7320   *-n32|*"-n32 ") libmagic=N32;;
   7321   *-64|*"-64 ") libmagic=64-bit;;
   7322   *) libmagic=never-match;;
   7323   esac
   7324   lt_cv_deplibs_check_method=pass_all
   7325   ;;
   7326 
   7327 # This must be Linux ELF.
   7328 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   7329   lt_cv_deplibs_check_method=pass_all
   7330   ;;
   7331 
   7332 netbsd*)
   7333   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7334     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7335   else
   7336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7337   fi
   7338   ;;
   7339 
   7340 newos6*)
   7341   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7342   lt_cv_file_magic_cmd=/usr/bin/file
   7343   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7344   ;;
   7345 
   7346 *nto* | *qnx*)
   7347   lt_cv_deplibs_check_method=pass_all
   7348   ;;
   7349 
   7350 openbsd*)
   7351   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7352     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7353   else
   7354     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7355   fi
   7356   ;;
   7357 
   7358 osf3* | osf4* | osf5*)
   7359   lt_cv_deplibs_check_method=pass_all
   7360   ;;
   7361 
   7362 rdos*)
   7363   lt_cv_deplibs_check_method=pass_all
   7364   ;;
   7365 
   7366 solaris*)
   7367   lt_cv_deplibs_check_method=pass_all
   7368   ;;
   7369 
   7370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7371   lt_cv_deplibs_check_method=pass_all
   7372   ;;
   7373 
   7374 sysv4 | sysv4.3*)
   7375   case $host_vendor in
   7376   motorola)
   7377     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]'
   7378     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7379     ;;
   7380   ncr)
   7381     lt_cv_deplibs_check_method=pass_all
   7382     ;;
   7383   sequent)
   7384     lt_cv_file_magic_cmd='/bin/file'
   7385     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7386     ;;
   7387   sni)
   7388     lt_cv_file_magic_cmd='/bin/file'
   7389     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7390     lt_cv_file_magic_test_file=/lib/libc.so
   7391     ;;
   7392   siemens)
   7393     lt_cv_deplibs_check_method=pass_all
   7394     ;;
   7395   pc)
   7396     lt_cv_deplibs_check_method=pass_all
   7397     ;;
   7398   esac
   7399   ;;
   7400 
   7401 tpf*)
   7402   lt_cv_deplibs_check_method=pass_all
   7403   ;;
   7404 esac
   7405 
   7406 fi
   7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7409 file_magic_cmd=$lt_cv_file_magic_cmd
   7410 deplibs_check_method=$lt_cv_deplibs_check_method
   7411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7412 
   7413 
   7414 
   7415 
   7416 
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 if test -n "$ac_tool_prefix"; then
   7425   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7426 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7428 $as_echo_n "checking for $ac_word... " >&6; }
   7429 if ${ac_cv_prog_AR+:} false; then :
   7430   $as_echo_n "(cached) " >&6
   7431 else
   7432   if test -n "$AR"; then
   7433   ac_cv_prog_AR="$AR" # Let the user override the test.
   7434 else
   7435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7436 for as_dir in $PATH
   7437 do
   7438   IFS=$as_save_IFS
   7439   test -z "$as_dir" && as_dir=.
   7440     for ac_exec_ext in '' $ac_executable_extensions; do
   7441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7442     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7444     break 2
   7445   fi
   7446 done
   7447   done
   7448 IFS=$as_save_IFS
   7449 
   7450 fi
   7451 fi
   7452 AR=$ac_cv_prog_AR
   7453 if test -n "$AR"; then
   7454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7455 $as_echo "$AR" >&6; }
   7456 else
   7457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7458 $as_echo "no" >&6; }
   7459 fi
   7460 
   7461 
   7462 fi
   7463 if test -z "$ac_cv_prog_AR"; then
   7464   ac_ct_AR=$AR
   7465   # Extract the first word of "ar", so it can be a program name with args.
   7466 set dummy ar; ac_word=$2
   7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7468 $as_echo_n "checking for $ac_word... " >&6; }
   7469 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7470   $as_echo_n "(cached) " >&6
   7471 else
   7472   if test -n "$ac_ct_AR"; then
   7473   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7474 else
   7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7476 for as_dir in $PATH
   7477 do
   7478   IFS=$as_save_IFS
   7479   test -z "$as_dir" && as_dir=.
   7480     for ac_exec_ext in '' $ac_executable_extensions; do
   7481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7482     ac_cv_prog_ac_ct_AR="ar"
   7483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7484     break 2
   7485   fi
   7486 done
   7487   done
   7488 IFS=$as_save_IFS
   7489 
   7490 fi
   7491 fi
   7492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7493 if test -n "$ac_ct_AR"; then
   7494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7495 $as_echo "$ac_ct_AR" >&6; }
   7496 else
   7497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7498 $as_echo "no" >&6; }
   7499 fi
   7500 
   7501   if test "x$ac_ct_AR" = x; then
   7502     AR="false"
   7503   else
   7504     case $cross_compiling:$ac_tool_warned in
   7505 yes:)
   7506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7508 ac_tool_warned=yes ;;
   7509 esac
   7510     AR=$ac_ct_AR
   7511   fi
   7512 else
   7513   AR="$ac_cv_prog_AR"
   7514 fi
   7515 
   7516 test -z "$AR" && AR=ar
   7517 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 if test -n "$ac_tool_prefix"; then
   7530   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7531 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7533 $as_echo_n "checking for $ac_word... " >&6; }
   7534 if ${ac_cv_prog_STRIP+:} false; then :
   7535   $as_echo_n "(cached) " >&6
   7536 else
   7537   if test -n "$STRIP"; then
   7538   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7539 else
   7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7541 for as_dir in $PATH
   7542 do
   7543   IFS=$as_save_IFS
   7544   test -z "$as_dir" && as_dir=.
   7545     for ac_exec_ext in '' $ac_executable_extensions; do
   7546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7547     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7549     break 2
   7550   fi
   7551 done
   7552   done
   7553 IFS=$as_save_IFS
   7554 
   7555 fi
   7556 fi
   7557 STRIP=$ac_cv_prog_STRIP
   7558 if test -n "$STRIP"; then
   7559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7560 $as_echo "$STRIP" >&6; }
   7561 else
   7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7563 $as_echo "no" >&6; }
   7564 fi
   7565 
   7566 
   7567 fi
   7568 if test -z "$ac_cv_prog_STRIP"; then
   7569   ac_ct_STRIP=$STRIP
   7570   # Extract the first word of "strip", so it can be a program name with args.
   7571 set dummy strip; ac_word=$2
   7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7573 $as_echo_n "checking for $ac_word... " >&6; }
   7574 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7575   $as_echo_n "(cached) " >&6
   7576 else
   7577   if test -n "$ac_ct_STRIP"; then
   7578   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7579 else
   7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7581 for as_dir in $PATH
   7582 do
   7583   IFS=$as_save_IFS
   7584   test -z "$as_dir" && as_dir=.
   7585     for ac_exec_ext in '' $ac_executable_extensions; do
   7586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7587     ac_cv_prog_ac_ct_STRIP="strip"
   7588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7589     break 2
   7590   fi
   7591 done
   7592   done
   7593 IFS=$as_save_IFS
   7594 
   7595 fi
   7596 fi
   7597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7598 if test -n "$ac_ct_STRIP"; then
   7599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7600 $as_echo "$ac_ct_STRIP" >&6; }
   7601 else
   7602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7603 $as_echo "no" >&6; }
   7604 fi
   7605 
   7606   if test "x$ac_ct_STRIP" = x; then
   7607     STRIP=":"
   7608   else
   7609     case $cross_compiling:$ac_tool_warned in
   7610 yes:)
   7611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7613 ac_tool_warned=yes ;;
   7614 esac
   7615     STRIP=$ac_ct_STRIP
   7616   fi
   7617 else
   7618   STRIP="$ac_cv_prog_STRIP"
   7619 fi
   7620 
   7621 test -z "$STRIP" && STRIP=:
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 if test -n "$ac_tool_prefix"; then
   7629   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7632 $as_echo_n "checking for $ac_word... " >&6; }
   7633 if ${ac_cv_prog_RANLIB+:} false; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   if test -n "$RANLIB"; then
   7637   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7638 else
   7639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7640 for as_dir in $PATH
   7641 do
   7642   IFS=$as_save_IFS
   7643   test -z "$as_dir" && as_dir=.
   7644     for ac_exec_ext in '' $ac_executable_extensions; do
   7645   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7646     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7648     break 2
   7649   fi
   7650 done
   7651   done
   7652 IFS=$as_save_IFS
   7653 
   7654 fi
   7655 fi
   7656 RANLIB=$ac_cv_prog_RANLIB
   7657 if test -n "$RANLIB"; then
   7658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7659 $as_echo "$RANLIB" >&6; }
   7660 else
   7661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7662 $as_echo "no" >&6; }
   7663 fi
   7664 
   7665 
   7666 fi
   7667 if test -z "$ac_cv_prog_RANLIB"; then
   7668   ac_ct_RANLIB=$RANLIB
   7669   # Extract the first word of "ranlib", so it can be a program name with args.
   7670 set dummy ranlib; ac_word=$2
   7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7672 $as_echo_n "checking for $ac_word... " >&6; }
   7673 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7674   $as_echo_n "(cached) " >&6
   7675 else
   7676   if test -n "$ac_ct_RANLIB"; then
   7677   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7678 else
   7679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7680 for as_dir in $PATH
   7681 do
   7682   IFS=$as_save_IFS
   7683   test -z "$as_dir" && as_dir=.
   7684     for ac_exec_ext in '' $ac_executable_extensions; do
   7685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7686     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7688     break 2
   7689   fi
   7690 done
   7691   done
   7692 IFS=$as_save_IFS
   7693 
   7694 fi
   7695 fi
   7696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7697 if test -n "$ac_ct_RANLIB"; then
   7698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7699 $as_echo "$ac_ct_RANLIB" >&6; }
   7700 else
   7701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7702 $as_echo "no" >&6; }
   7703 fi
   7704 
   7705   if test "x$ac_ct_RANLIB" = x; then
   7706     RANLIB=":"
   7707   else
   7708     case $cross_compiling:$ac_tool_warned in
   7709 yes:)
   7710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7712 ac_tool_warned=yes ;;
   7713 esac
   7714     RANLIB=$ac_ct_RANLIB
   7715   fi
   7716 else
   7717   RANLIB="$ac_cv_prog_RANLIB"
   7718 fi
   7719 
   7720 test -z "$RANLIB" && RANLIB=:
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 # Determine commands to create old-style static archives.
   7728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7729 old_postinstall_cmds='chmod 644 $oldlib'
   7730 old_postuninstall_cmds=
   7731 
   7732 if test -n "$RANLIB"; then
   7733   case $host_os in
   7734   openbsd*)
   7735     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7736     ;;
   7737   *)
   7738     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7739     ;;
   7740   esac
   7741   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7742 fi
   7743 
   7744 case $host_os in
   7745   darwin*)
   7746     lock_old_archive_extraction=yes ;;
   7747   *)
   7748     lock_old_archive_extraction=no ;;
   7749 esac
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774 
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 # If no C compiler was specified, use CC.
   7790 LTCC=${LTCC-"$CC"}
   7791 
   7792 # If no C compiler flags were specified, use CFLAGS.
   7793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7794 
   7795 # Allow CC to be a program name with arguments.
   7796 compiler=$CC
   7797 
   7798 
   7799 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7802 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7803   $as_echo_n "(cached) " >&6
   7804 else
   7805 
   7806 # These are sane defaults that work on at least a few old systems.
   7807 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7808 
   7809 # Character class describing NM global symbol codes.
   7810 symcode='[BCDEGRST]'
   7811 
   7812 # Regexp to match symbols that can be accessed directly from C.
   7813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7814 
   7815 # Define system-specific variables.
   7816 case $host_os in
   7817 aix*)
   7818   symcode='[BCDT]'
   7819   ;;
   7820 cygwin* | mingw* | pw32* | cegcc*)
   7821   symcode='[ABCDGISTW]'
   7822   ;;
   7823 hpux*)
   7824   if test "$host_cpu" = ia64; then
   7825     symcode='[ABCDEGRST]'
   7826   fi
   7827   ;;
   7828 irix* | nonstopux*)
   7829   symcode='[BCDEGRST]'
   7830   ;;
   7831 osf*)
   7832   symcode='[BCDEGQRST]'
   7833   ;;
   7834 solaris*)
   7835   symcode='[BDRT]'
   7836   ;;
   7837 sco3.2v5*)
   7838   symcode='[DT]'
   7839   ;;
   7840 sysv4.2uw2*)
   7841   symcode='[DT]'
   7842   ;;
   7843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7844   symcode='[ABDT]'
   7845   ;;
   7846 sysv4)
   7847   symcode='[DFNSTU]'
   7848   ;;
   7849 esac
   7850 
   7851 # If we're using GNU nm, then use its standard symbol codes.
   7852 case `$NM -V 2>&1` in
   7853 *GNU* | *'with BFD'*)
   7854   symcode='[ABCDGIRSTW]' ;;
   7855 esac
   7856 
   7857 # Transform an extracted symbol line into a proper C declaration.
   7858 # Some systems (esp. on ia64) link data and code symbols differently,
   7859 # so use this general approach.
   7860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7861 
   7862 # Transform an extracted symbol line into symbol name and symbol address
   7863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7864 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'"
   7865 
   7866 # Handle CRLF in mingw tool chain
   7867 opt_cr=
   7868 case $build_os in
   7869 mingw*)
   7870   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7871   ;;
   7872 esac
   7873 
   7874 # Try without a prefix underscore, then with it.
   7875 for ac_symprfx in "" "_"; do
   7876 
   7877   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7878   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7879 
   7880   # Write the raw and C identifiers.
   7881   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7882     # Fake it for dumpbin and say T for any non-static function
   7883     # and D for any global variable.
   7884     # Also find C++ and __fastcall symbols from MSVC++,
   7885     # which start with @ or ?.
   7886     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7887 "     {last_section=section; section=\$ 3};"\
   7888 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7889 "     \$ 0!~/External *\|/{next};"\
   7890 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7891 "     {if(hide[section]) next};"\
   7892 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7893 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7894 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7895 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7896 "     ' prfx=^$ac_symprfx"
   7897   else
   7898     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7899   fi
   7900 
   7901   # Check to see that the pipe works correctly.
   7902   pipe_works=no
   7903 
   7904   rm -f conftest*
   7905   cat > conftest.$ac_ext <<_LT_EOF
   7906 #ifdef __cplusplus
   7907 extern "C" {
   7908 #endif
   7909 char nm_test_var;
   7910 void nm_test_func(void);
   7911 void nm_test_func(void){}
   7912 #ifdef __cplusplus
   7913 }
   7914 #endif
   7915 int main(){nm_test_var='a';nm_test_func();return(0);}
   7916 _LT_EOF
   7917 
   7918   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7919   (eval $ac_compile) 2>&5
   7920   ac_status=$?
   7921   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7922   test $ac_status = 0; }; then
   7923     # Now try to grab the symbols.
   7924     nlist=conftest.nm
   7925     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7926   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7927   ac_status=$?
   7928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7929   test $ac_status = 0; } && test -s "$nlist"; then
   7930       # Try sorting and uniquifying the output.
   7931       if sort "$nlist" | uniq > "$nlist"T; then
   7932 	mv -f "$nlist"T "$nlist"
   7933       else
   7934 	rm -f "$nlist"T
   7935       fi
   7936 
   7937       # Make sure that we snagged all the symbols we need.
   7938       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7939 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7940 	  cat <<_LT_EOF > conftest.$ac_ext
   7941 #ifdef __cplusplus
   7942 extern "C" {
   7943 #endif
   7944 
   7945 _LT_EOF
   7946 	  # Now generate the symbol file.
   7947 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7948 
   7949 	  cat <<_LT_EOF >> conftest.$ac_ext
   7950 
   7951 /* The mapping between symbol names and symbols.  */
   7952 const struct {
   7953   const char *name;
   7954   void       *address;
   7955 }
   7956 lt__PROGRAM__LTX_preloaded_symbols[] =
   7957 {
   7958   { "@PROGRAM@", (void *) 0 },
   7959 _LT_EOF
   7960 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7961 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7962   {0, (void *) 0}
   7963 };
   7964 
   7965 /* This works around a problem in FreeBSD linker */
   7966 #ifdef FREEBSD_WORKAROUND
   7967 static const void *lt_preloaded_setup() {
   7968   return lt__PROGRAM__LTX_preloaded_symbols;
   7969 }
   7970 #endif
   7971 
   7972 #ifdef __cplusplus
   7973 }
   7974 #endif
   7975 _LT_EOF
   7976 	  # Now try linking the two files.
   7977 	  mv conftest.$ac_objext conftstm.$ac_objext
   7978 	  lt_save_LIBS="$LIBS"
   7979 	  lt_save_CFLAGS="$CFLAGS"
   7980 	  LIBS="conftstm.$ac_objext"
   7981 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7982 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7983   (eval $ac_link) 2>&5
   7984   ac_status=$?
   7985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7986   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7987 	    pipe_works=yes
   7988 	  fi
   7989 	  LIBS="$lt_save_LIBS"
   7990 	  CFLAGS="$lt_save_CFLAGS"
   7991 	else
   7992 	  echo "cannot find nm_test_func in $nlist" >&5
   7993 	fi
   7994       else
   7995 	echo "cannot find nm_test_var in $nlist" >&5
   7996       fi
   7997     else
   7998       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7999     fi
   8000   else
   8001     echo "$progname: failed program was:" >&5
   8002     cat conftest.$ac_ext >&5
   8003   fi
   8004   rm -rf conftest* conftst*
   8005 
   8006   # Do not use the global_symbol_pipe unless it works.
   8007   if test "$pipe_works" = yes; then
   8008     break
   8009   else
   8010     lt_cv_sys_global_symbol_pipe=
   8011   fi
   8012 done
   8013 
   8014 fi
   8015 
   8016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8017   lt_cv_sys_global_symbol_to_cdecl=
   8018 fi
   8019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8021 $as_echo "failed" >&6; }
   8022 else
   8023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8024 $as_echo "ok" >&6; }
   8025 fi
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 # Check whether --enable-libtool-lock was given.
   8049 if test "${enable_libtool_lock+set}" = set; then :
   8050   enableval=$enable_libtool_lock;
   8051 fi
   8052 
   8053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   8054 
   8055 # Some flags need to be propagated to the compiler or linker for good
   8056 # libtool support.
   8057 case $host in
   8058 ia64-*-hpux*)
   8059   # Find out which ABI we are using.
   8060   echo 'int i;' > conftest.$ac_ext
   8061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8062   (eval $ac_compile) 2>&5
   8063   ac_status=$?
   8064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8065   test $ac_status = 0; }; then
   8066     case `/usr/bin/file conftest.$ac_objext` in
   8067       *ELF-32*)
   8068 	HPUX_IA64_MODE="32"
   8069 	;;
   8070       *ELF-64*)
   8071 	HPUX_IA64_MODE="64"
   8072 	;;
   8073     esac
   8074   fi
   8075   rm -rf conftest*
   8076   ;;
   8077 *-*-irix6*)
   8078   # Find out which ABI we are using.
   8079   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8080   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8081   (eval $ac_compile) 2>&5
   8082   ac_status=$?
   8083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8084   test $ac_status = 0; }; then
   8085     if test "$lt_cv_prog_gnu_ld" = yes; then
   8086       case `/usr/bin/file conftest.$ac_objext` in
   8087 	*32-bit*)
   8088 	  LD="${LD-ld} -melf32bsmip"
   8089 	  ;;
   8090 	*N32*)
   8091 	  LD="${LD-ld} -melf32bmipn32"
   8092 	  ;;
   8093 	*64-bit*)
   8094 	  LD="${LD-ld} -melf64bmip"
   8095 	;;
   8096       esac
   8097     else
   8098       case `/usr/bin/file conftest.$ac_objext` in
   8099 	*32-bit*)
   8100 	  LD="${LD-ld} -32"
   8101 	  ;;
   8102 	*N32*)
   8103 	  LD="${LD-ld} -n32"
   8104 	  ;;
   8105 	*64-bit*)
   8106 	  LD="${LD-ld} -64"
   8107 	  ;;
   8108       esac
   8109     fi
   8110   fi
   8111   rm -rf conftest*
   8112   ;;
   8113 
   8114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8116   # Find out which ABI we are using.
   8117   echo 'int i;' > conftest.$ac_ext
   8118   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8119   (eval $ac_compile) 2>&5
   8120   ac_status=$?
   8121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8122   test $ac_status = 0; }; then
   8123     case `/usr/bin/file conftest.o` in
   8124       *32-bit*)
   8125 	case $host in
   8126 	  x86_64-*kfreebsd*-gnu)
   8127 	    LD="${LD-ld} -m elf_i386_fbsd"
   8128 	    ;;
   8129 	  x86_64-*linux*)
   8130 	    case `/usr/bin/file conftest.o` in
   8131 	      *x86-64*)
   8132 		LD="${LD-ld} -m elf32_x86_64"
   8133 		;;
   8134 	      *)
   8135 		LD="${LD-ld} -m elf_i386"
   8136 		;;
   8137 	    esac
   8138 	    ;;
   8139 	  powerpc64le-*linux*)
   8140 	    LD="${LD-ld} -m elf32lppclinux"
   8141 	    ;;
   8142 	  powerpc64-*linux*)
   8143 	    LD="${LD-ld} -m elf32ppclinux"
   8144 	    ;;
   8145 	  s390x-*linux*)
   8146 	    LD="${LD-ld} -m elf_s390"
   8147 	    ;;
   8148 	  sparc64-*linux*)
   8149 	    LD="${LD-ld} -m elf32_sparc"
   8150 	    ;;
   8151 	esac
   8152 	;;
   8153       *64-bit*)
   8154 	case $host in
   8155 	  x86_64-*kfreebsd*-gnu)
   8156 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8157 	    ;;
   8158 	  x86_64-*linux*)
   8159 	    LD="${LD-ld} -m elf_x86_64"
   8160 	    ;;
   8161 	  powerpcle-*linux*)
   8162 	    LD="${LD-ld} -m elf64lppc"
   8163 	    ;;
   8164 	  powerpc-*linux*)
   8165 	    LD="${LD-ld} -m elf64ppc"
   8166 	    ;;
   8167 	  s390*-*linux*|s390*-*tpf*)
   8168 	    LD="${LD-ld} -m elf64_s390"
   8169 	    ;;
   8170 	  sparc*-*linux*)
   8171 	    LD="${LD-ld} -m elf64_sparc"
   8172 	    ;;
   8173 	esac
   8174 	;;
   8175     esac
   8176   fi
   8177   rm -rf conftest*
   8178   ;;
   8179 
   8180 *-*-sco3.2v5*)
   8181   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8182   SAVE_CFLAGS="$CFLAGS"
   8183   CFLAGS="$CFLAGS -belf"
   8184   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8185 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8186 if ${lt_cv_cc_needs_belf+:} false; then :
   8187   $as_echo_n "(cached) " >&6
   8188 else
   8189   ac_ext=c
   8190 ac_cpp='$CPP $CPPFLAGS'
   8191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8194 
   8195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8196 /* end confdefs.h.  */
   8197 
   8198 int
   8199 main ()
   8200 {
   8201 
   8202   ;
   8203   return 0;
   8204 }
   8205 _ACEOF
   8206 if ac_fn_c_try_link "$LINENO"; then :
   8207   lt_cv_cc_needs_belf=yes
   8208 else
   8209   lt_cv_cc_needs_belf=no
   8210 fi
   8211 rm -f core conftest.err conftest.$ac_objext \
   8212     conftest$ac_exeext conftest.$ac_ext
   8213      ac_ext=c
   8214 ac_cpp='$CPP $CPPFLAGS'
   8215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8218 
   8219 fi
   8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8221 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8222   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   8223     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8224     CFLAGS="$SAVE_CFLAGS"
   8225   fi
   8226   ;;
   8227 sparc*-*solaris*)
   8228   # Find out which ABI we are using.
   8229   echo 'int i;' > conftest.$ac_ext
   8230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8231   (eval $ac_compile) 2>&5
   8232   ac_status=$?
   8233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8234   test $ac_status = 0; }; then
   8235     case `/usr/bin/file conftest.o` in
   8236     *64-bit*)
   8237       case $lt_cv_prog_gnu_ld in
   8238       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   8239       *)
   8240 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8241 	  LD="${LD-ld} -64"
   8242 	fi
   8243 	;;
   8244       esac
   8245       ;;
   8246     esac
   8247   fi
   8248   rm -rf conftest*
   8249   ;;
   8250 esac
   8251 
   8252 need_locks="$enable_libtool_lock"
   8253 
   8254 
   8255   case $host_os in
   8256     rhapsody* | darwin*)
   8257     if test -n "$ac_tool_prefix"; then
   8258   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8259 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8261 $as_echo_n "checking for $ac_word... " >&6; }
   8262 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8263   $as_echo_n "(cached) " >&6
   8264 else
   8265   if test -n "$DSYMUTIL"; then
   8266   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8267 else
   8268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8269 for as_dir in $PATH
   8270 do
   8271   IFS=$as_save_IFS
   8272   test -z "$as_dir" && as_dir=.
   8273     for ac_exec_ext in '' $ac_executable_extensions; do
   8274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8275     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8277     break 2
   8278   fi
   8279 done
   8280   done
   8281 IFS=$as_save_IFS
   8282 
   8283 fi
   8284 fi
   8285 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8286 if test -n "$DSYMUTIL"; then
   8287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8288 $as_echo "$DSYMUTIL" >&6; }
   8289 else
   8290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8291 $as_echo "no" >&6; }
   8292 fi
   8293 
   8294 
   8295 fi
   8296 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8297   ac_ct_DSYMUTIL=$DSYMUTIL
   8298   # Extract the first word of "dsymutil", so it can be a program name with args.
   8299 set dummy dsymutil; ac_word=$2
   8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8301 $as_echo_n "checking for $ac_word... " >&6; }
   8302 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8303   $as_echo_n "(cached) " >&6
   8304 else
   8305   if test -n "$ac_ct_DSYMUTIL"; then
   8306   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8307 else
   8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8309 for as_dir in $PATH
   8310 do
   8311   IFS=$as_save_IFS
   8312   test -z "$as_dir" && as_dir=.
   8313     for ac_exec_ext in '' $ac_executable_extensions; do
   8314   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8315     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8317     break 2
   8318   fi
   8319 done
   8320   done
   8321 IFS=$as_save_IFS
   8322 
   8323 fi
   8324 fi
   8325 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8326 if test -n "$ac_ct_DSYMUTIL"; then
   8327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8328 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8329 else
   8330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8331 $as_echo "no" >&6; }
   8332 fi
   8333 
   8334   if test "x$ac_ct_DSYMUTIL" = x; then
   8335     DSYMUTIL=":"
   8336   else
   8337     case $cross_compiling:$ac_tool_warned in
   8338 yes:)
   8339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8341 ac_tool_warned=yes ;;
   8342 esac
   8343     DSYMUTIL=$ac_ct_DSYMUTIL
   8344   fi
   8345 else
   8346   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8347 fi
   8348 
   8349     if test -n "$ac_tool_prefix"; then
   8350   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8351 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8353 $as_echo_n "checking for $ac_word... " >&6; }
   8354 if ${ac_cv_prog_NMEDIT+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   if test -n "$NMEDIT"; then
   8358   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8359 else
   8360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8361 for as_dir in $PATH
   8362 do
   8363   IFS=$as_save_IFS
   8364   test -z "$as_dir" && as_dir=.
   8365     for ac_exec_ext in '' $ac_executable_extensions; do
   8366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8367     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8369     break 2
   8370   fi
   8371 done
   8372   done
   8373 IFS=$as_save_IFS
   8374 
   8375 fi
   8376 fi
   8377 NMEDIT=$ac_cv_prog_NMEDIT
   8378 if test -n "$NMEDIT"; then
   8379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8380 $as_echo "$NMEDIT" >&6; }
   8381 else
   8382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8383 $as_echo "no" >&6; }
   8384 fi
   8385 
   8386 
   8387 fi
   8388 if test -z "$ac_cv_prog_NMEDIT"; then
   8389   ac_ct_NMEDIT=$NMEDIT
   8390   # Extract the first word of "nmedit", so it can be a program name with args.
   8391 set dummy nmedit; ac_word=$2
   8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8393 $as_echo_n "checking for $ac_word... " >&6; }
   8394 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8395   $as_echo_n "(cached) " >&6
   8396 else
   8397   if test -n "$ac_ct_NMEDIT"; then
   8398   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8399 else
   8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8401 for as_dir in $PATH
   8402 do
   8403   IFS=$as_save_IFS
   8404   test -z "$as_dir" && as_dir=.
   8405     for ac_exec_ext in '' $ac_executable_extensions; do
   8406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8407     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8409     break 2
   8410   fi
   8411 done
   8412   done
   8413 IFS=$as_save_IFS
   8414 
   8415 fi
   8416 fi
   8417 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8418 if test -n "$ac_ct_NMEDIT"; then
   8419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8420 $as_echo "$ac_ct_NMEDIT" >&6; }
   8421 else
   8422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8423 $as_echo "no" >&6; }
   8424 fi
   8425 
   8426   if test "x$ac_ct_NMEDIT" = x; then
   8427     NMEDIT=":"
   8428   else
   8429     case $cross_compiling:$ac_tool_warned in
   8430 yes:)
   8431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8433 ac_tool_warned=yes ;;
   8434 esac
   8435     NMEDIT=$ac_ct_NMEDIT
   8436   fi
   8437 else
   8438   NMEDIT="$ac_cv_prog_NMEDIT"
   8439 fi
   8440 
   8441     if test -n "$ac_tool_prefix"; then
   8442   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8443 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8445 $as_echo_n "checking for $ac_word... " >&6; }
   8446 if ${ac_cv_prog_LIPO+:} false; then :
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   if test -n "$LIPO"; then
   8450   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8451 else
   8452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8453 for as_dir in $PATH
   8454 do
   8455   IFS=$as_save_IFS
   8456   test -z "$as_dir" && as_dir=.
   8457     for ac_exec_ext in '' $ac_executable_extensions; do
   8458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8459     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8461     break 2
   8462   fi
   8463 done
   8464   done
   8465 IFS=$as_save_IFS
   8466 
   8467 fi
   8468 fi
   8469 LIPO=$ac_cv_prog_LIPO
   8470 if test -n "$LIPO"; then
   8471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8472 $as_echo "$LIPO" >&6; }
   8473 else
   8474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8475 $as_echo "no" >&6; }
   8476 fi
   8477 
   8478 
   8479 fi
   8480 if test -z "$ac_cv_prog_LIPO"; then
   8481   ac_ct_LIPO=$LIPO
   8482   # Extract the first word of "lipo", so it can be a program name with args.
   8483 set dummy lipo; ac_word=$2
   8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8485 $as_echo_n "checking for $ac_word... " >&6; }
   8486 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8487   $as_echo_n "(cached) " >&6
   8488 else
   8489   if test -n "$ac_ct_LIPO"; then
   8490   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8491 else
   8492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8493 for as_dir in $PATH
   8494 do
   8495   IFS=$as_save_IFS
   8496   test -z "$as_dir" && as_dir=.
   8497     for ac_exec_ext in '' $ac_executable_extensions; do
   8498   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8499     ac_cv_prog_ac_ct_LIPO="lipo"
   8500     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8501     break 2
   8502   fi
   8503 done
   8504   done
   8505 IFS=$as_save_IFS
   8506 
   8507 fi
   8508 fi
   8509 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8510 if test -n "$ac_ct_LIPO"; then
   8511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8512 $as_echo "$ac_ct_LIPO" >&6; }
   8513 else
   8514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8515 $as_echo "no" >&6; }
   8516 fi
   8517 
   8518   if test "x$ac_ct_LIPO" = x; then
   8519     LIPO=":"
   8520   else
   8521     case $cross_compiling:$ac_tool_warned in
   8522 yes:)
   8523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8525 ac_tool_warned=yes ;;
   8526 esac
   8527     LIPO=$ac_ct_LIPO
   8528   fi
   8529 else
   8530   LIPO="$ac_cv_prog_LIPO"
   8531 fi
   8532 
   8533     if test -n "$ac_tool_prefix"; then
   8534   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8535 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8537 $as_echo_n "checking for $ac_word... " >&6; }
   8538 if ${ac_cv_prog_OTOOL+:} false; then :
   8539   $as_echo_n "(cached) " >&6
   8540 else
   8541   if test -n "$OTOOL"; then
   8542   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8543 else
   8544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8545 for as_dir in $PATH
   8546 do
   8547   IFS=$as_save_IFS
   8548   test -z "$as_dir" && as_dir=.
   8549     for ac_exec_ext in '' $ac_executable_extensions; do
   8550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8551     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8553     break 2
   8554   fi
   8555 done
   8556   done
   8557 IFS=$as_save_IFS
   8558 
   8559 fi
   8560 fi
   8561 OTOOL=$ac_cv_prog_OTOOL
   8562 if test -n "$OTOOL"; then
   8563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8564 $as_echo "$OTOOL" >&6; }
   8565 else
   8566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8567 $as_echo "no" >&6; }
   8568 fi
   8569 
   8570 
   8571 fi
   8572 if test -z "$ac_cv_prog_OTOOL"; then
   8573   ac_ct_OTOOL=$OTOOL
   8574   # Extract the first word of "otool", so it can be a program name with args.
   8575 set dummy otool; ac_word=$2
   8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8577 $as_echo_n "checking for $ac_word... " >&6; }
   8578 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8579   $as_echo_n "(cached) " >&6
   8580 else
   8581   if test -n "$ac_ct_OTOOL"; then
   8582   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8583 else
   8584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8585 for as_dir in $PATH
   8586 do
   8587   IFS=$as_save_IFS
   8588   test -z "$as_dir" && as_dir=.
   8589     for ac_exec_ext in '' $ac_executable_extensions; do
   8590   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8591     ac_cv_prog_ac_ct_OTOOL="otool"
   8592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8593     break 2
   8594   fi
   8595 done
   8596   done
   8597 IFS=$as_save_IFS
   8598 
   8599 fi
   8600 fi
   8601 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8602 if test -n "$ac_ct_OTOOL"; then
   8603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8604 $as_echo "$ac_ct_OTOOL" >&6; }
   8605 else
   8606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8607 $as_echo "no" >&6; }
   8608 fi
   8609 
   8610   if test "x$ac_ct_OTOOL" = x; then
   8611     OTOOL=":"
   8612   else
   8613     case $cross_compiling:$ac_tool_warned in
   8614 yes:)
   8615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8616 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8617 ac_tool_warned=yes ;;
   8618 esac
   8619     OTOOL=$ac_ct_OTOOL
   8620   fi
   8621 else
   8622   OTOOL="$ac_cv_prog_OTOOL"
   8623 fi
   8624 
   8625     if test -n "$ac_tool_prefix"; then
   8626   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8627 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8629 $as_echo_n "checking for $ac_word... " >&6; }
   8630 if ${ac_cv_prog_OTOOL64+:} false; then :
   8631   $as_echo_n "(cached) " >&6
   8632 else
   8633   if test -n "$OTOOL64"; then
   8634   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8635 else
   8636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8637 for as_dir in $PATH
   8638 do
   8639   IFS=$as_save_IFS
   8640   test -z "$as_dir" && as_dir=.
   8641     for ac_exec_ext in '' $ac_executable_extensions; do
   8642   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8643     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8644     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8645     break 2
   8646   fi
   8647 done
   8648   done
   8649 IFS=$as_save_IFS
   8650 
   8651 fi
   8652 fi
   8653 OTOOL64=$ac_cv_prog_OTOOL64
   8654 if test -n "$OTOOL64"; then
   8655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8656 $as_echo "$OTOOL64" >&6; }
   8657 else
   8658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8659 $as_echo "no" >&6; }
   8660 fi
   8661 
   8662 
   8663 fi
   8664 if test -z "$ac_cv_prog_OTOOL64"; then
   8665   ac_ct_OTOOL64=$OTOOL64
   8666   # Extract the first word of "otool64", so it can be a program name with args.
   8667 set dummy otool64; ac_word=$2
   8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8669 $as_echo_n "checking for $ac_word... " >&6; }
   8670 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8671   $as_echo_n "(cached) " >&6
   8672 else
   8673   if test -n "$ac_ct_OTOOL64"; then
   8674   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8675 else
   8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8677 for as_dir in $PATH
   8678 do
   8679   IFS=$as_save_IFS
   8680   test -z "$as_dir" && as_dir=.
   8681     for ac_exec_ext in '' $ac_executable_extensions; do
   8682   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8683     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8685     break 2
   8686   fi
   8687 done
   8688   done
   8689 IFS=$as_save_IFS
   8690 
   8691 fi
   8692 fi
   8693 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8694 if test -n "$ac_ct_OTOOL64"; then
   8695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8696 $as_echo "$ac_ct_OTOOL64" >&6; }
   8697 else
   8698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8699 $as_echo "no" >&6; }
   8700 fi
   8701 
   8702   if test "x$ac_ct_OTOOL64" = x; then
   8703     OTOOL64=":"
   8704   else
   8705     case $cross_compiling:$ac_tool_warned in
   8706 yes:)
   8707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8709 ac_tool_warned=yes ;;
   8710 esac
   8711     OTOOL64=$ac_ct_OTOOL64
   8712   fi
   8713 else
   8714   OTOOL64="$ac_cv_prog_OTOOL64"
   8715 fi
   8716 
   8717 
   8718 
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8744 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8745 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8746   $as_echo_n "(cached) " >&6
   8747 else
   8748   lt_cv_apple_cc_single_mod=no
   8749       if test -z "${LT_MULTI_MODULE}"; then
   8750 	# By default we will add the -single_module flag. You can override
   8751 	# by either setting the environment variable LT_MULTI_MODULE
   8752 	# non-empty at configure time, or by adding -multi_module to the
   8753 	# link flags.
   8754 	rm -rf libconftest.dylib*
   8755 	echo "int foo(void){return 1;}" > conftest.c
   8756 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8757 -dynamiclib -Wl,-single_module conftest.c" >&5
   8758 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8759 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8760         _lt_result=$?
   8761 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8762 	  lt_cv_apple_cc_single_mod=yes
   8763 	else
   8764 	  cat conftest.err >&5
   8765 	fi
   8766 	rm -rf libconftest.dylib*
   8767 	rm -f conftest.*
   8768       fi
   8769 fi
   8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8771 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8773 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8774 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8775   $as_echo_n "(cached) " >&6
   8776 else
   8777   lt_cv_ld_exported_symbols_list=no
   8778       save_LDFLAGS=$LDFLAGS
   8779       echo "_main" > conftest.sym
   8780       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8781       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8782 /* end confdefs.h.  */
   8783 
   8784 int
   8785 main ()
   8786 {
   8787 
   8788   ;
   8789   return 0;
   8790 }
   8791 _ACEOF
   8792 if ac_fn_c_try_link "$LINENO"; then :
   8793   lt_cv_ld_exported_symbols_list=yes
   8794 else
   8795   lt_cv_ld_exported_symbols_list=no
   8796 fi
   8797 rm -f core conftest.err conftest.$ac_objext \
   8798     conftest$ac_exeext conftest.$ac_ext
   8799 	LDFLAGS="$save_LDFLAGS"
   8800 
   8801 fi
   8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8804     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8805 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8806 if ${lt_cv_ld_force_load+:} false; then :
   8807   $as_echo_n "(cached) " >&6
   8808 else
   8809   lt_cv_ld_force_load=no
   8810       cat > conftest.c << _LT_EOF
   8811 int forced_loaded() { return 2;}
   8812 _LT_EOF
   8813       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8814       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8815       echo "$AR cru libconftest.a conftest.o" >&5
   8816       $AR cru libconftest.a conftest.o 2>&5
   8817       cat > conftest.c << _LT_EOF
   8818 int main() { return 0;}
   8819 _LT_EOF
   8820       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8821       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8822       _lt_result=$?
   8823       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8824 	lt_cv_ld_force_load=yes
   8825       else
   8826 	cat conftest.err >&5
   8827       fi
   8828         rm -f conftest.err libconftest.a conftest conftest.c
   8829         rm -rf conftest.dSYM
   8830 
   8831 fi
   8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8833 $as_echo "$lt_cv_ld_force_load" >&6; }
   8834     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8835     # build without first building modern cctools / linker.
   8836     case $host_cpu-$host_os in
   8837     *-rhapsody* | *-darwin1.[012])
   8838       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8839     *-darwin1.*)
   8840       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8841     *-darwin*)
   8842       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8843       # deployment target is forced to an earlier version.
   8844       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8845 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8846 	  ;;
   8847 	10.[012][,.]*)
   8848 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8849 	  ;;
   8850 	*)
   8851 	  ;;
   8852      esac
   8853     ;;
   8854   esac
   8855     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8856       _lt_dar_single_mod='$single_module'
   8857     fi
   8858     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8859       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8860     else
   8861       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8862     fi
   8863     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8864       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8865     else
   8866       _lt_dsymutil=
   8867     fi
   8868     ;;
   8869   esac
   8870 
   8871 for ac_header in dlfcn.h
   8872 do :
   8873   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8874 "
   8875 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8876   cat >>confdefs.h <<_ACEOF
   8877 #define HAVE_DLFCN_H 1
   8878 _ACEOF
   8879 
   8880 fi
   8881 
   8882 done
   8883 
   8884 
   8885 
   8886 
   8887 
   8888 
   8889 # Set options
   8890 
   8891 
   8892 
   8893 
   8894   enable_win32_dll=no
   8895 
   8896 
   8897             # Check whether --enable-shared was given.
   8898 if test "${enable_shared+set}" = set; then :
   8899   enableval=$enable_shared; p=${PACKAGE-default}
   8900     case $enableval in
   8901     yes) enable_shared=yes ;;
   8902     no) enable_shared=no ;;
   8903     *)
   8904       enable_shared=no
   8905       # Look at the argument we got.  We use all the common list separators.
   8906       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8907       for pkg in $enableval; do
   8908 	IFS="$lt_save_ifs"
   8909 	if test "X$pkg" = "X$p"; then
   8910 	  enable_shared=yes
   8911 	fi
   8912       done
   8913       IFS="$lt_save_ifs"
   8914       ;;
   8915     esac
   8916 else
   8917   enable_shared=yes
   8918 fi
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928   # Check whether --enable-static was given.
   8929 if test "${enable_static+set}" = set; then :
   8930   enableval=$enable_static; p=${PACKAGE-default}
   8931     case $enableval in
   8932     yes) enable_static=yes ;;
   8933     no) enable_static=no ;;
   8934     *)
   8935      enable_static=no
   8936       # Look at the argument we got.  We use all the common list separators.
   8937       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8938       for pkg in $enableval; do
   8939 	IFS="$lt_save_ifs"
   8940 	if test "X$pkg" = "X$p"; then
   8941 	  enable_static=yes
   8942 	fi
   8943       done
   8944       IFS="$lt_save_ifs"
   8945       ;;
   8946     esac
   8947 else
   8948   enable_static=yes
   8949 fi
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 # Check whether --with-pic was given.
   8961 if test "${with_pic+set}" = set; then :
   8962   withval=$with_pic; pic_mode="$withval"
   8963 else
   8964   pic_mode=default
   8965 fi
   8966 
   8967 
   8968 test -z "$pic_mode" && pic_mode=default
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976   # Check whether --enable-fast-install was given.
   8977 if test "${enable_fast_install+set}" = set; then :
   8978   enableval=$enable_fast_install; p=${PACKAGE-default}
   8979     case $enableval in
   8980     yes) enable_fast_install=yes ;;
   8981     no) enable_fast_install=no ;;
   8982     *)
   8983       enable_fast_install=no
   8984       # Look at the argument we got.  We use all the common list separators.
   8985       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8986       for pkg in $enableval; do
   8987 	IFS="$lt_save_ifs"
   8988 	if test "X$pkg" = "X$p"; then
   8989 	  enable_fast_install=yes
   8990 	fi
   8991       done
   8992       IFS="$lt_save_ifs"
   8993       ;;
   8994     esac
   8995 else
   8996   enable_fast_install=yes
   8997 fi
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 # This can be used to rebuild libtool when needed
   9010 LIBTOOL_DEPS="$ltmain"
   9011 
   9012 # Always use our own libtool.
   9013 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 test -z "$LN_S" && LN_S="ln -s"
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 if test -n "${ZSH_VERSION+set}" ; then
   9056    setopt NO_GLOB_SUBST
   9057 fi
   9058 
   9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9060 $as_echo_n "checking for objdir... " >&6; }
   9061 if ${lt_cv_objdir+:} false; then :
   9062   $as_echo_n "(cached) " >&6
   9063 else
   9064   rm -f .libs 2>/dev/null
   9065 mkdir .libs 2>/dev/null
   9066 if test -d .libs; then
   9067   lt_cv_objdir=.libs
   9068 else
   9069   # MS-DOS does not allow filenames that begin with a dot.
   9070   lt_cv_objdir=_libs
   9071 fi
   9072 rmdir .libs 2>/dev/null
   9073 fi
   9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9075 $as_echo "$lt_cv_objdir" >&6; }
   9076 objdir=$lt_cv_objdir
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 cat >>confdefs.h <<_ACEOF
   9083 #define LT_OBJDIR "$lt_cv_objdir/"
   9084 _ACEOF
   9085 
   9086 
   9087 
   9088 
   9089 case $host_os in
   9090 aix3*)
   9091   # AIX sometimes has problems with the GCC collect2 program.  For some
   9092   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9093   # vanish in a puff of smoke.
   9094   if test "X${COLLECT_NAMES+set}" != Xset; then
   9095     COLLECT_NAMES=
   9096     export COLLECT_NAMES
   9097   fi
   9098   ;;
   9099 esac
   9100 
   9101 # Global variables:
   9102 ofile=libtool
   9103 can_build_shared=yes
   9104 
   9105 # All known linkers require a `.a' archive for static linking (except MSVC,
   9106 # which needs '.lib').
   9107 libext=a
   9108 
   9109 with_gnu_ld="$lt_cv_prog_gnu_ld"
   9110 
   9111 old_CC="$CC"
   9112 old_CFLAGS="$CFLAGS"
   9113 
   9114 # Set sane defaults for various variables
   9115 test -z "$CC" && CC=cc
   9116 test -z "$LTCC" && LTCC=$CC
   9117 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9118 test -z "$LD" && LD=ld
   9119 test -z "$ac_objext" && ac_objext=o
   9120 
   9121 for cc_temp in $compiler""; do
   9122   case $cc_temp in
   9123     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9124     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9125     \-*) ;;
   9126     *) break;;
   9127   esac
   9128 done
   9129 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9130 
   9131 
   9132 # Only perform the check for file, if the check method requires it
   9133 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9134 case $deplibs_check_method in
   9135 file_magic*)
   9136   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9138 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9139 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9140   $as_echo_n "(cached) " >&6
   9141 else
   9142   case $MAGIC_CMD in
   9143 [\\/*] |  ?:[\\/]*)
   9144   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9145   ;;
   9146 *)
   9147   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9148   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9149   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9150   for ac_dir in $ac_dummy; do
   9151     IFS="$lt_save_ifs"
   9152     test -z "$ac_dir" && ac_dir=.
   9153     if test -f $ac_dir/${ac_tool_prefix}file; then
   9154       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9155       if test -n "$file_magic_test_file"; then
   9156 	case $deplibs_check_method in
   9157 	"file_magic "*)
   9158 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9159 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9160 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9161 	    $EGREP "$file_magic_regex" > /dev/null; then
   9162 	    :
   9163 	  else
   9164 	    cat <<_LT_EOF 1>&2
   9165 
   9166 *** Warning: the command libtool uses to detect shared libraries,
   9167 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9168 *** The result is that libtool may fail to recognize shared libraries
   9169 *** as such.  This will affect the creation of libtool libraries that
   9170 *** depend on shared libraries, but programs linked with such libtool
   9171 *** libraries will work regardless of this problem.  Nevertheless, you
   9172 *** may want to report the problem to your system manager and/or to
   9173 *** bug-libtool@gnu.org
   9174 
   9175 _LT_EOF
   9176 	  fi ;;
   9177 	esac
   9178       fi
   9179       break
   9180     fi
   9181   done
   9182   IFS="$lt_save_ifs"
   9183   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9184   ;;
   9185 esac
   9186 fi
   9187 
   9188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9189 if test -n "$MAGIC_CMD"; then
   9190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9191 $as_echo "$MAGIC_CMD" >&6; }
   9192 else
   9193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9194 $as_echo "no" >&6; }
   9195 fi
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9202   if test -n "$ac_tool_prefix"; then
   9203     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9204 $as_echo_n "checking for file... " >&6; }
   9205 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9206   $as_echo_n "(cached) " >&6
   9207 else
   9208   case $MAGIC_CMD in
   9209 [\\/*] |  ?:[\\/]*)
   9210   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9211   ;;
   9212 *)
   9213   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9214   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9215   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9216   for ac_dir in $ac_dummy; do
   9217     IFS="$lt_save_ifs"
   9218     test -z "$ac_dir" && ac_dir=.
   9219     if test -f $ac_dir/file; then
   9220       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9221       if test -n "$file_magic_test_file"; then
   9222 	case $deplibs_check_method in
   9223 	"file_magic "*)
   9224 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9225 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9226 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9227 	    $EGREP "$file_magic_regex" > /dev/null; then
   9228 	    :
   9229 	  else
   9230 	    cat <<_LT_EOF 1>&2
   9231 
   9232 *** Warning: the command libtool uses to detect shared libraries,
   9233 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9234 *** The result is that libtool may fail to recognize shared libraries
   9235 *** as such.  This will affect the creation of libtool libraries that
   9236 *** depend on shared libraries, but programs linked with such libtool
   9237 *** libraries will work regardless of this problem.  Nevertheless, you
   9238 *** may want to report the problem to your system manager and/or to
   9239 *** bug-libtool@gnu.org
   9240 
   9241 _LT_EOF
   9242 	  fi ;;
   9243 	esac
   9244       fi
   9245       break
   9246     fi
   9247   done
   9248   IFS="$lt_save_ifs"
   9249   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9250   ;;
   9251 esac
   9252 fi
   9253 
   9254 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9255 if test -n "$MAGIC_CMD"; then
   9256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9257 $as_echo "$MAGIC_CMD" >&6; }
   9258 else
   9259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9260 $as_echo "no" >&6; }
   9261 fi
   9262 
   9263 
   9264   else
   9265     MAGIC_CMD=:
   9266   fi
   9267 fi
   9268 
   9269   fi
   9270   ;;
   9271 esac
   9272 
   9273 # Use C for the default configuration in the libtool script
   9274 
   9275 lt_save_CC="$CC"
   9276 ac_ext=c
   9277 ac_cpp='$CPP $CPPFLAGS'
   9278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9281 
   9282 
   9283 # Source file extension for C test sources.
   9284 ac_ext=c
   9285 
   9286 # Object file extension for compiled C test sources.
   9287 objext=o
   9288 objext=$objext
   9289 
   9290 # Code to be used in simple compile tests
   9291 lt_simple_compile_test_code="int some_variable = 0;"
   9292 
   9293 # Code to be used in simple link tests
   9294 lt_simple_link_test_code='int main(){return(0);}'
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 # If no C compiler was specified, use CC.
   9303 LTCC=${LTCC-"$CC"}
   9304 
   9305 # If no C compiler flags were specified, use CFLAGS.
   9306 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9307 
   9308 # Allow CC to be a program name with arguments.
   9309 compiler=$CC
   9310 
   9311 # Save the default compiler, since it gets overwritten when the other
   9312 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9313 compiler_DEFAULT=$CC
   9314 
   9315 # save warnings/boilerplate of simple test code
   9316 ac_outfile=conftest.$ac_objext
   9317 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9318 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9319 _lt_compiler_boilerplate=`cat conftest.err`
   9320 $RM conftest*
   9321 
   9322 ac_outfile=conftest.$ac_objext
   9323 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9324 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9325 _lt_linker_boilerplate=`cat conftest.err`
   9326 $RM -r conftest*
   9327 
   9328 
   9329 ## CAVEAT EMPTOR:
   9330 ## There is no encapsulation within the following macros, do not change
   9331 ## the running order or otherwise move them around unless you know exactly
   9332 ## what you are doing...
   9333 if test -n "$compiler"; then
   9334 
   9335 lt_prog_compiler_no_builtin_flag=
   9336 
   9337 if test "$GCC" = yes; then
   9338   case $cc_basename in
   9339   nvcc*)
   9340     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9341   *)
   9342     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9343   esac
   9344 
   9345   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9346 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9347 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9348   $as_echo_n "(cached) " >&6
   9349 else
   9350   lt_cv_prog_compiler_rtti_exceptions=no
   9351    ac_outfile=conftest.$ac_objext
   9352    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9353    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9354    # Insert the option either (1) after the last *FLAGS variable, or
   9355    # (2) before a word containing "conftest.", or (3) at the end.
   9356    # Note that $ac_compile itself does not contain backslashes and begins
   9357    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9358    # The option is referenced via a variable to avoid confusing sed.
   9359    lt_compile=`echo "$ac_compile" | $SED \
   9360    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9361    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9362    -e 's:$: $lt_compiler_flag:'`
   9363    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9364    (eval "$lt_compile" 2>conftest.err)
   9365    ac_status=$?
   9366    cat conftest.err >&5
   9367    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9368    if (exit $ac_status) && test -s "$ac_outfile"; then
   9369      # The compiler can only warn and ignore the option if not recognized
   9370      # So say no if there are warnings other than the usual output.
   9371      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9372      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9373      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9374        lt_cv_prog_compiler_rtti_exceptions=yes
   9375      fi
   9376    fi
   9377    $RM conftest*
   9378 
   9379 fi
   9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9381 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9382 
   9383 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9384     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9385 else
   9386     :
   9387 fi
   9388 
   9389 fi
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396   lt_prog_compiler_wl=
   9397 lt_prog_compiler_pic=
   9398 lt_prog_compiler_static=
   9399 
   9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9401 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9402 
   9403   if test "$GCC" = yes; then
   9404     lt_prog_compiler_wl='-Wl,'
   9405     lt_prog_compiler_static='-static'
   9406 
   9407     case $host_os in
   9408       aix*)
   9409       # All AIX code is PIC.
   9410       if test "$host_cpu" = ia64; then
   9411 	# AIX 5 now supports IA64 processor
   9412 	lt_prog_compiler_static='-Bstatic'
   9413       fi
   9414       lt_prog_compiler_pic='-fPIC'
   9415       ;;
   9416 
   9417     amigaos*)
   9418       case $host_cpu in
   9419       powerpc)
   9420             # see comment about AmigaOS4 .so support
   9421             lt_prog_compiler_pic='-fPIC'
   9422         ;;
   9423       m68k)
   9424             # FIXME: we need at least 68020 code to build shared libraries, but
   9425             # adding the `-m68020' flag to GCC prevents building anything better,
   9426             # like `-m68040'.
   9427             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9428         ;;
   9429       esac
   9430       ;;
   9431 
   9432     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9433       # PIC is the default for these OSes.
   9434       ;;
   9435 
   9436     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9437       # This hack is so that the source file can tell whether it is being
   9438       # built for inclusion in a dll (and should export symbols for example).
   9439       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9440       # (--disable-auto-import) libraries
   9441       lt_prog_compiler_pic='-DDLL_EXPORT'
   9442       ;;
   9443 
   9444     darwin* | rhapsody*)
   9445       # PIC is the default on this platform
   9446       # Common symbols not allowed in MH_DYLIB files
   9447       lt_prog_compiler_pic='-fno-common'
   9448       ;;
   9449 
   9450     haiku*)
   9451       # PIC is the default for Haiku.
   9452       # The "-static" flag exists, but is broken.
   9453       lt_prog_compiler_static=
   9454       ;;
   9455 
   9456     hpux*)
   9457       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9458       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9459       # sets the default TLS model and affects inlining.
   9460       case $host_cpu in
   9461       hppa*64*)
   9462 	# +Z the default
   9463 	;;
   9464       *)
   9465 	lt_prog_compiler_pic='-fPIC'
   9466 	;;
   9467       esac
   9468       ;;
   9469 
   9470     interix[3-9]*)
   9471       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9472       # Instead, we relocate shared libraries at runtime.
   9473       ;;
   9474 
   9475     msdosdjgpp*)
   9476       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9477       # on systems that don't support them.
   9478       lt_prog_compiler_can_build_shared=no
   9479       enable_shared=no
   9480       ;;
   9481 
   9482     *nto* | *qnx*)
   9483       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9484       # it will coredump.
   9485       lt_prog_compiler_pic='-fPIC -shared'
   9486       ;;
   9487 
   9488     sysv4*MP*)
   9489       if test -d /usr/nec; then
   9490 	lt_prog_compiler_pic=-Kconform_pic
   9491       fi
   9492       ;;
   9493 
   9494     *)
   9495       lt_prog_compiler_pic='-fPIC'
   9496       ;;
   9497     esac
   9498 
   9499     case $cc_basename in
   9500     nvcc*) # Cuda Compiler Driver 2.2
   9501       lt_prog_compiler_wl='-Xlinker '
   9502       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9503       ;;
   9504     esac
   9505   else
   9506     # PORTME Check for flag to pass linker flags through the system compiler.
   9507     case $host_os in
   9508     aix*)
   9509       lt_prog_compiler_wl='-Wl,'
   9510       if test "$host_cpu" = ia64; then
   9511 	# AIX 5 now supports IA64 processor
   9512 	lt_prog_compiler_static='-Bstatic'
   9513       else
   9514 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9515       fi
   9516       ;;
   9517 
   9518     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9519       # This hack is so that the source file can tell whether it is being
   9520       # built for inclusion in a dll (and should export symbols for example).
   9521       lt_prog_compiler_pic='-DDLL_EXPORT'
   9522       ;;
   9523 
   9524     hpux9* | hpux10* | hpux11*)
   9525       lt_prog_compiler_wl='-Wl,'
   9526       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9527       # not for PA HP-UX.
   9528       case $host_cpu in
   9529       hppa*64*|ia64*)
   9530 	# +Z the default
   9531 	;;
   9532       *)
   9533 	lt_prog_compiler_pic='+Z'
   9534 	;;
   9535       esac
   9536       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9537       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9538       ;;
   9539 
   9540     irix5* | irix6* | nonstopux*)
   9541       lt_prog_compiler_wl='-Wl,'
   9542       # PIC (with -KPIC) is the default.
   9543       lt_prog_compiler_static='-non_shared'
   9544       ;;
   9545 
   9546     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9547       case $cc_basename in
   9548       # old Intel for x86_64 which still supported -KPIC.
   9549       ecc*)
   9550 	lt_prog_compiler_wl='-Wl,'
   9551 	lt_prog_compiler_pic='-KPIC'
   9552 	lt_prog_compiler_static='-static'
   9553         ;;
   9554       # icc used to be incompatible with GCC.
   9555       # ICC 10 doesn't accept -KPIC any more.
   9556       icc* | ifort*)
   9557 	lt_prog_compiler_wl='-Wl,'
   9558 	lt_prog_compiler_pic='-fPIC'
   9559 	lt_prog_compiler_static='-static'
   9560         ;;
   9561       # Lahey Fortran 8.1.
   9562       lf95*)
   9563 	lt_prog_compiler_wl='-Wl,'
   9564 	lt_prog_compiler_pic='--shared'
   9565 	lt_prog_compiler_static='--static'
   9566 	;;
   9567       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9568         # Portland Group compilers (*not* the Pentium gcc compiler,
   9569 	# which looks to be a dead project)
   9570 	lt_prog_compiler_wl='-Wl,'
   9571 	lt_prog_compiler_pic='-fpic'
   9572 	lt_prog_compiler_static='-Bstatic'
   9573         ;;
   9574       ccc*)
   9575         lt_prog_compiler_wl='-Wl,'
   9576         # All Alpha code is PIC.
   9577         lt_prog_compiler_static='-non_shared'
   9578         ;;
   9579       xl* | bgxl* | bgf* | mpixl*)
   9580 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9581 	lt_prog_compiler_wl='-Wl,'
   9582 	lt_prog_compiler_pic='-qpic'
   9583 	lt_prog_compiler_static='-qstaticlink'
   9584 	;;
   9585       *)
   9586 	case `$CC -V 2>&1 | sed 5q` in
   9587 	*Sun\ F* | *Sun*Fortran*)
   9588 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9589 	  lt_prog_compiler_pic='-KPIC'
   9590 	  lt_prog_compiler_static='-Bstatic'
   9591 	  lt_prog_compiler_wl=''
   9592 	  ;;
   9593 	*Sun\ C*)
   9594 	  # Sun C 5.9
   9595 	  lt_prog_compiler_pic='-KPIC'
   9596 	  lt_prog_compiler_static='-Bstatic'
   9597 	  lt_prog_compiler_wl='-Wl,'
   9598 	  ;;
   9599 	esac
   9600 	;;
   9601       esac
   9602       ;;
   9603 
   9604     newsos6)
   9605       lt_prog_compiler_pic='-KPIC'
   9606       lt_prog_compiler_static='-Bstatic'
   9607       ;;
   9608 
   9609     *nto* | *qnx*)
   9610       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9611       # it will coredump.
   9612       lt_prog_compiler_pic='-fPIC -shared'
   9613       ;;
   9614 
   9615     osf3* | osf4* | osf5*)
   9616       lt_prog_compiler_wl='-Wl,'
   9617       # All OSF/1 code is PIC.
   9618       lt_prog_compiler_static='-non_shared'
   9619       ;;
   9620 
   9621     rdos*)
   9622       lt_prog_compiler_static='-non_shared'
   9623       ;;
   9624 
   9625     solaris*)
   9626       lt_prog_compiler_pic='-KPIC'
   9627       lt_prog_compiler_static='-Bstatic'
   9628       case $cc_basename in
   9629       f77* | f90* | f95*)
   9630 	lt_prog_compiler_wl='-Qoption ld ';;
   9631       *)
   9632 	lt_prog_compiler_wl='-Wl,';;
   9633       esac
   9634       ;;
   9635 
   9636     sunos4*)
   9637       lt_prog_compiler_wl='-Qoption ld '
   9638       lt_prog_compiler_pic='-PIC'
   9639       lt_prog_compiler_static='-Bstatic'
   9640       ;;
   9641 
   9642     sysv4 | sysv4.2uw2* | sysv4.3*)
   9643       lt_prog_compiler_wl='-Wl,'
   9644       lt_prog_compiler_pic='-KPIC'
   9645       lt_prog_compiler_static='-Bstatic'
   9646       ;;
   9647 
   9648     sysv4*MP*)
   9649       if test -d /usr/nec ;then
   9650 	lt_prog_compiler_pic='-Kconform_pic'
   9651 	lt_prog_compiler_static='-Bstatic'
   9652       fi
   9653       ;;
   9654 
   9655     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9656       lt_prog_compiler_wl='-Wl,'
   9657       lt_prog_compiler_pic='-KPIC'
   9658       lt_prog_compiler_static='-Bstatic'
   9659       ;;
   9660 
   9661     unicos*)
   9662       lt_prog_compiler_wl='-Wl,'
   9663       lt_prog_compiler_can_build_shared=no
   9664       ;;
   9665 
   9666     uts4*)
   9667       lt_prog_compiler_pic='-pic'
   9668       lt_prog_compiler_static='-Bstatic'
   9669       ;;
   9670 
   9671     *)
   9672       lt_prog_compiler_can_build_shared=no
   9673       ;;
   9674     esac
   9675   fi
   9676 
   9677 case $host_os in
   9678   # For platforms which do not support PIC, -DPIC is meaningless:
   9679   *djgpp*)
   9680     lt_prog_compiler_pic=
   9681     ;;
   9682   *)
   9683     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9684     ;;
   9685 esac
   9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9687 $as_echo "$lt_prog_compiler_pic" >&6; }
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 #
   9695 # Check to make sure the PIC flag actually works.
   9696 #
   9697 if test -n "$lt_prog_compiler_pic"; then
   9698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9699 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9700 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9701   $as_echo_n "(cached) " >&6
   9702 else
   9703   lt_cv_prog_compiler_pic_works=no
   9704    ac_outfile=conftest.$ac_objext
   9705    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9706    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9707    # Insert the option either (1) after the last *FLAGS variable, or
   9708    # (2) before a word containing "conftest.", or (3) at the end.
   9709    # Note that $ac_compile itself does not contain backslashes and begins
   9710    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9711    # The option is referenced via a variable to avoid confusing sed.
   9712    lt_compile=`echo "$ac_compile" | $SED \
   9713    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9714    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9715    -e 's:$: $lt_compiler_flag:'`
   9716    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9717    (eval "$lt_compile" 2>conftest.err)
   9718    ac_status=$?
   9719    cat conftest.err >&5
   9720    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9721    if (exit $ac_status) && test -s "$ac_outfile"; then
   9722      # The compiler can only warn and ignore the option if not recognized
   9723      # So say no if there are warnings other than the usual output.
   9724      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9725      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9726      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9727        lt_cv_prog_compiler_pic_works=yes
   9728      fi
   9729    fi
   9730    $RM conftest*
   9731 
   9732 fi
   9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9734 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9735 
   9736 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9737     case $lt_prog_compiler_pic in
   9738      "" | " "*) ;;
   9739      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9740      esac
   9741 else
   9742     lt_prog_compiler_pic=
   9743      lt_prog_compiler_can_build_shared=no
   9744 fi
   9745 
   9746 fi
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 #
   9754 # Check to make sure the static flag actually works.
   9755 #
   9756 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9758 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9759 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9760   $as_echo_n "(cached) " >&6
   9761 else
   9762   lt_cv_prog_compiler_static_works=no
   9763    save_LDFLAGS="$LDFLAGS"
   9764    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9765    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9766    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9767      # The linker can only warn and ignore the option if not recognized
   9768      # So say no if there are warnings
   9769      if test -s conftest.err; then
   9770        # Append any errors to the config.log.
   9771        cat conftest.err 1>&5
   9772        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9773        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9774        if diff conftest.exp conftest.er2 >/dev/null; then
   9775          lt_cv_prog_compiler_static_works=yes
   9776        fi
   9777      else
   9778        lt_cv_prog_compiler_static_works=yes
   9779      fi
   9780    fi
   9781    $RM -r conftest*
   9782    LDFLAGS="$save_LDFLAGS"
   9783 
   9784 fi
   9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9786 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9787 
   9788 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9789     :
   9790 else
   9791     lt_prog_compiler_static=
   9792 fi
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9801 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9802 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9803   $as_echo_n "(cached) " >&6
   9804 else
   9805   lt_cv_prog_compiler_c_o=no
   9806    $RM -r conftest 2>/dev/null
   9807    mkdir conftest
   9808    cd conftest
   9809    mkdir out
   9810    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9811 
   9812    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9813    # Insert the option either (1) after the last *FLAGS variable, or
   9814    # (2) before a word containing "conftest.", or (3) at the end.
   9815    # Note that $ac_compile itself does not contain backslashes and begins
   9816    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9817    lt_compile=`echo "$ac_compile" | $SED \
   9818    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9819    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9820    -e 's:$: $lt_compiler_flag:'`
   9821    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9822    (eval "$lt_compile" 2>out/conftest.err)
   9823    ac_status=$?
   9824    cat out/conftest.err >&5
   9825    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9826    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9827    then
   9828      # The compiler can only warn and ignore the option if not recognized
   9829      # So say no if there are warnings
   9830      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9831      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9832      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9833        lt_cv_prog_compiler_c_o=yes
   9834      fi
   9835    fi
   9836    chmod u+w . 2>&5
   9837    $RM conftest*
   9838    # SGI C++ compiler will create directory out/ii_files/ for
   9839    # template instantiation
   9840    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9841    $RM out/* && rmdir out
   9842    cd ..
   9843    $RM -r conftest
   9844    $RM conftest*
   9845 
   9846 fi
   9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9848 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9856 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9857 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9858   $as_echo_n "(cached) " >&6
   9859 else
   9860   lt_cv_prog_compiler_c_o=no
   9861    $RM -r conftest 2>/dev/null
   9862    mkdir conftest
   9863    cd conftest
   9864    mkdir out
   9865    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9866 
   9867    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9868    # Insert the option either (1) after the last *FLAGS variable, or
   9869    # (2) before a word containing "conftest.", or (3) at the end.
   9870    # Note that $ac_compile itself does not contain backslashes and begins
   9871    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9872    lt_compile=`echo "$ac_compile" | $SED \
   9873    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9874    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9875    -e 's:$: $lt_compiler_flag:'`
   9876    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9877    (eval "$lt_compile" 2>out/conftest.err)
   9878    ac_status=$?
   9879    cat out/conftest.err >&5
   9880    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9881    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9882    then
   9883      # The compiler can only warn and ignore the option if not recognized
   9884      # So say no if there are warnings
   9885      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9886      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9887      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9888        lt_cv_prog_compiler_c_o=yes
   9889      fi
   9890    fi
   9891    chmod u+w . 2>&5
   9892    $RM conftest*
   9893    # SGI C++ compiler will create directory out/ii_files/ for
   9894    # template instantiation
   9895    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9896    $RM out/* && rmdir out
   9897    cd ..
   9898    $RM -r conftest
   9899    $RM conftest*
   9900 
   9901 fi
   9902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9903 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9904 
   9905 
   9906 
   9907 
   9908 hard_links="nottested"
   9909 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9910   # do not overwrite the value of need_locks provided by the user
   9911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9912 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9913   hard_links=yes
   9914   $RM conftest*
   9915   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9916   touch conftest.a
   9917   ln conftest.a conftest.b 2>&5 || hard_links=no
   9918   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9920 $as_echo "$hard_links" >&6; }
   9921   if test "$hard_links" = no; then
   9922     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9923 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9924     need_locks=warn
   9925   fi
   9926 else
   9927   need_locks=no
   9928 fi
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9936 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9937 
   9938   runpath_var=
   9939   allow_undefined_flag=
   9940   always_export_symbols=no
   9941   archive_cmds=
   9942   archive_expsym_cmds=
   9943   compiler_needs_object=no
   9944   enable_shared_with_static_runtimes=no
   9945   export_dynamic_flag_spec=
   9946   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9947   hardcode_automatic=no
   9948   hardcode_direct=no
   9949   hardcode_direct_absolute=no
   9950   hardcode_libdir_flag_spec=
   9951   hardcode_libdir_flag_spec_ld=
   9952   hardcode_libdir_separator=
   9953   hardcode_minus_L=no
   9954   hardcode_shlibpath_var=unsupported
   9955   inherit_rpath=no
   9956   link_all_deplibs=unknown
   9957   module_cmds=
   9958   module_expsym_cmds=
   9959   old_archive_from_new_cmds=
   9960   old_archive_from_expsyms_cmds=
   9961   thread_safe_flag_spec=
   9962   whole_archive_flag_spec=
   9963   # include_expsyms should be a list of space-separated symbols to be *always*
   9964   # included in the symbol list
   9965   include_expsyms=
   9966   # exclude_expsyms can be an extended regexp of symbols to exclude
   9967   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9968   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9969   # as well as any symbol that contains `d'.
   9970   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9971   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9972   # platforms (ab)use it in PIC code, but their linkers get confused if
   9973   # the symbol is explicitly referenced.  Since portable code cannot
   9974   # rely on this symbol name, it's probably fine to never include it in
   9975   # preloaded symbol tables.
   9976   # Exclude shared library initialization/finalization symbols.
   9977   extract_expsyms_cmds=
   9978 
   9979   case $host_os in
   9980   cygwin* | mingw* | pw32* | cegcc*)
   9981     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9982     # When not using gcc, we currently assume that we are using
   9983     # Microsoft Visual C++.
   9984     if test "$GCC" != yes; then
   9985       with_gnu_ld=no
   9986     fi
   9987     ;;
   9988   interix*)
   9989     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9990     with_gnu_ld=yes
   9991     ;;
   9992   openbsd*)
   9993     with_gnu_ld=no
   9994     ;;
   9995   esac
   9996 
   9997   ld_shlibs=yes
   9998 
   9999   # On some targets, GNU ld is compatible enough with the native linker
   10000   # that we're better off using the native interface for both.
   10001   lt_use_gnu_ld_interface=no
   10002   if test "$with_gnu_ld" = yes; then
   10003     case $host_os in
   10004       aix*)
   10005 	# The AIX port of GNU ld has always aspired to compatibility
   10006 	# with the native linker.  However, as the warning in the GNU ld
   10007 	# block says, versions before 2.19.5* couldn't really create working
   10008 	# shared libraries, regardless of the interface used.
   10009 	case `$LD -v 2>&1` in
   10010 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10011 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10012 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10013 	  *)
   10014 	    lt_use_gnu_ld_interface=yes
   10015 	    ;;
   10016 	esac
   10017 	;;
   10018       *)
   10019 	lt_use_gnu_ld_interface=yes
   10020 	;;
   10021     esac
   10022   fi
   10023 
   10024   if test "$lt_use_gnu_ld_interface" = yes; then
   10025     # If archive_cmds runs LD, not CC, wlarc should be empty
   10026     wlarc='${wl}'
   10027 
   10028     # Set some defaults for GNU ld with shared library support. These
   10029     # are reset later if shared libraries are not supported. Putting them
   10030     # here allows them to be overridden if necessary.
   10031     runpath_var=LD_RUN_PATH
   10032     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10033     export_dynamic_flag_spec='${wl}--export-dynamic'
   10034     # ancient GNU ld didn't support --whole-archive et. al.
   10035     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10036       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10037     else
   10038       whole_archive_flag_spec=
   10039     fi
   10040     supports_anon_versioning=no
   10041     case `$LD -v 2>&1` in
   10042       *GNU\ gold*) supports_anon_versioning=yes ;;
   10043       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10044       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10045       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10046       *\ 2.11.*) ;; # other 2.11 versions
   10047       *) supports_anon_versioning=yes ;;
   10048     esac
   10049 
   10050     # See if GNU ld supports shared libraries.
   10051     case $host_os in
   10052     aix[3-9]*)
   10053       # On AIX/PPC, the GNU linker is very broken
   10054       if test "$host_cpu" != ia64; then
   10055 	ld_shlibs=no
   10056 	cat <<_LT_EOF 1>&2
   10057 
   10058 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10059 *** to be unable to reliably create shared libraries on AIX.
   10060 *** Therefore, libtool is disabling shared libraries support.  If you
   10061 *** really care for shared libraries, you may want to install binutils
   10062 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10063 *** You will then need to restart the configuration process.
   10064 
   10065 _LT_EOF
   10066       fi
   10067       ;;
   10068 
   10069     amigaos*)
   10070       case $host_cpu in
   10071       powerpc)
   10072             # see comment about AmigaOS4 .so support
   10073             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10074             archive_expsym_cmds=''
   10075         ;;
   10076       m68k)
   10077             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)'
   10078             hardcode_libdir_flag_spec='-L$libdir'
   10079             hardcode_minus_L=yes
   10080         ;;
   10081       esac
   10082       ;;
   10083 
   10084     beos*)
   10085       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10086 	allow_undefined_flag=unsupported
   10087 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10088 	# support --undefined.  This deserves some investigation.  FIXME
   10089 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10090       else
   10091 	ld_shlibs=no
   10092       fi
   10093       ;;
   10094 
   10095     cygwin* | mingw* | pw32* | cegcc*)
   10096       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10097       # as there is no search path for DLLs.
   10098       hardcode_libdir_flag_spec='-L$libdir'
   10099       export_dynamic_flag_spec='${wl}--export-all-symbols'
   10100       allow_undefined_flag=unsupported
   10101       always_export_symbols=no
   10102       enable_shared_with_static_runtimes=yes
   10103       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10104 
   10105       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10106         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10107 	# If the export-symbols file already is a .def file (1st line
   10108 	# is EXPORTS), use it as is; otherwise, prepend...
   10109 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10110 	  cp $export_symbols $output_objdir/$soname.def;
   10111 	else
   10112 	  echo EXPORTS > $output_objdir/$soname.def;
   10113 	  cat $export_symbols >> $output_objdir/$soname.def;
   10114 	fi~
   10115 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10116       else
   10117 	ld_shlibs=no
   10118       fi
   10119       ;;
   10120 
   10121     haiku*)
   10122       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10123       link_all_deplibs=yes
   10124       ;;
   10125 
   10126     interix[3-9]*)
   10127       hardcode_direct=no
   10128       hardcode_shlibpath_var=no
   10129       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10130       export_dynamic_flag_spec='${wl}-E'
   10131       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10132       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10133       # default) and relocated if they conflict, which is a slow very memory
   10134       # consuming and fragmenting process.  To avoid this, we pick a random,
   10135       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10136       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10137       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10138       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'
   10139       ;;
   10140 
   10141     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   10142       tmp_diet=no
   10143       if test "$host_os" = linux-dietlibc; then
   10144 	case $cc_basename in
   10145 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10146 	esac
   10147       fi
   10148       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10149 	 && test "$tmp_diet" = no
   10150       then
   10151 	tmp_addflag=' $pic_flag'
   10152 	tmp_sharedflag='-shared'
   10153 	case $cc_basename,$host_cpu in
   10154         pgcc*)				# Portland Group C compiler
   10155 	  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'
   10156 	  tmp_addflag=' $pic_flag'
   10157 	  ;;
   10158 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10159 					# Portland Group f77 and f90 compilers
   10160 	  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'
   10161 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10162 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10163 	  tmp_addflag=' -i_dynamic' ;;
   10164 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10165 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10166 	ifc* | ifort*)			# Intel Fortran compiler
   10167 	  tmp_addflag=' -nofor_main' ;;
   10168 	lf95*)				# Lahey Fortran 8.1
   10169 	  whole_archive_flag_spec=
   10170 	  tmp_sharedflag='--shared' ;;
   10171 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10172 	  tmp_sharedflag='-qmkshrobj'
   10173 	  tmp_addflag= ;;
   10174 	nvcc*)	# Cuda Compiler Driver 2.2
   10175 	  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'
   10176 	  compiler_needs_object=yes
   10177 	  ;;
   10178 	esac
   10179 	case `$CC -V 2>&1 | sed 5q` in
   10180 	*Sun\ C*)			# Sun C 5.9
   10181 	  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'
   10182 	  compiler_needs_object=yes
   10183 	  tmp_sharedflag='-G' ;;
   10184 	*Sun\ F*)			# Sun Fortran 8.3
   10185 	  tmp_sharedflag='-G' ;;
   10186 	esac
   10187 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10188 
   10189         if test "x$supports_anon_versioning" = xyes; then
   10190           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10191 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10192 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10193 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10194         fi
   10195 
   10196 	case $cc_basename in
   10197 	xlf* | bgf* | bgxlf* | mpixlf*)
   10198 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10199 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10200 	  hardcode_libdir_flag_spec=
   10201 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   10202 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   10203 	  if test "x$supports_anon_versioning" = xyes; then
   10204 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10205 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10206 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10207 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10208 	  fi
   10209 	  ;;
   10210 	esac
   10211       else
   10212         ld_shlibs=no
   10213       fi
   10214       ;;
   10215 
   10216     netbsd*)
   10217       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10218 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10219 	wlarc=
   10220       else
   10221 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10222 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10223       fi
   10224       ;;
   10225 
   10226     solaris*)
   10227       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10228 	ld_shlibs=no
   10229 	cat <<_LT_EOF 1>&2
   10230 
   10231 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10232 *** create shared libraries on Solaris systems.  Therefore, libtool
   10233 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10234 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10235 *** your PATH or compiler configuration so that the native linker is
   10236 *** used, and then restart.
   10237 
   10238 _LT_EOF
   10239       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10240 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10241 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10242       else
   10243 	ld_shlibs=no
   10244       fi
   10245       ;;
   10246 
   10247     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10248       case `$LD -v 2>&1` in
   10249         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10250 	ld_shlibs=no
   10251 	cat <<_LT_EOF 1>&2
   10252 
   10253 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10254 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10255 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10256 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10257 *** your PATH or compiler configuration so that the native linker is
   10258 *** used, and then restart.
   10259 
   10260 _LT_EOF
   10261 	;;
   10262 	*)
   10263 	  # For security reasons, it is highly recommended that you always
   10264 	  # use absolute paths for naming shared libraries, and exclude the
   10265 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10266 	  # requires that you compile everything twice, which is a pain.
   10267 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10268 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10269 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10270 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10271 	  else
   10272 	    ld_shlibs=no
   10273 	  fi
   10274 	;;
   10275       esac
   10276       ;;
   10277 
   10278     sunos4*)
   10279       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10280       wlarc=
   10281       hardcode_direct=yes
   10282       hardcode_shlibpath_var=no
   10283       ;;
   10284 
   10285     *)
   10286       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10287 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10288 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10289       else
   10290 	ld_shlibs=no
   10291       fi
   10292       ;;
   10293     esac
   10294 
   10295     if test "$ld_shlibs" = no; then
   10296       runpath_var=
   10297       hardcode_libdir_flag_spec=
   10298       export_dynamic_flag_spec=
   10299       whole_archive_flag_spec=
   10300     fi
   10301   else
   10302     # PORTME fill in a description of your system's linker (not GNU ld)
   10303     case $host_os in
   10304     aix3*)
   10305       allow_undefined_flag=unsupported
   10306       always_export_symbols=yes
   10307       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'
   10308       # Note: this linker hardcodes the directories in LIBPATH if there
   10309       # are no directories specified by -L.
   10310       hardcode_minus_L=yes
   10311       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10312 	# Neither direct hardcoding nor static linking is supported with a
   10313 	# broken collect2.
   10314 	hardcode_direct=unsupported
   10315       fi
   10316       ;;
   10317 
   10318     aix[4-9]*)
   10319       if test "$host_cpu" = ia64; then
   10320 	# On IA64, the linker does run time linking by default, so we don't
   10321 	# have to do anything special.
   10322 	aix_use_runtimelinking=no
   10323 	exp_sym_flag='-Bexport'
   10324 	no_entry_flag=""
   10325       else
   10326 	# If we're using GNU nm, then we don't want the "-C" option.
   10327 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10328 	# Also, AIX nm treats weak defined symbols like other global
   10329 	# defined symbols, whereas GNU nm marks them as "W".
   10330 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10331 	  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'
   10332 	else
   10333 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   10334 	fi
   10335 	aix_use_runtimelinking=no
   10336 
   10337 	# Test if we are trying to use run time linking or normal
   10338 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10339 	# need to do runtime linking.
   10340 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10341 	  for ld_flag in $LDFLAGS; do
   10342 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10343 	    aix_use_runtimelinking=yes
   10344 	    break
   10345 	  fi
   10346 	  done
   10347 	  ;;
   10348 	esac
   10349 
   10350 	exp_sym_flag='-bexport'
   10351 	no_entry_flag='-bnoentry'
   10352       fi
   10353 
   10354       # When large executables or shared objects are built, AIX ld can
   10355       # have problems creating the table of contents.  If linking a library
   10356       # or program results in "error TOC overflow" add -mminimal-toc to
   10357       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10358       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10359 
   10360       archive_cmds=''
   10361       hardcode_direct=yes
   10362       hardcode_direct_absolute=yes
   10363       hardcode_libdir_separator=':'
   10364       link_all_deplibs=yes
   10365       file_list_spec='${wl}-f,'
   10366 
   10367       if test "$GCC" = yes; then
   10368 	case $host_os in aix4.[012]|aix4.[012].*)
   10369 	# We only want to do this on AIX 4.2 and lower, the check
   10370 	# below for broken collect2 doesn't work under 4.3+
   10371 	  collect2name=`${CC} -print-prog-name=collect2`
   10372 	  if test -f "$collect2name" &&
   10373 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10374 	  then
   10375 	  # We have reworked collect2
   10376 	  :
   10377 	  else
   10378 	  # We have old collect2
   10379 	  hardcode_direct=unsupported
   10380 	  # It fails to find uninstalled libraries when the uninstalled
   10381 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10382 	  # to unsupported forces relinking
   10383 	  hardcode_minus_L=yes
   10384 	  hardcode_libdir_flag_spec='-L$libdir'
   10385 	  hardcode_libdir_separator=
   10386 	  fi
   10387 	  ;;
   10388 	esac
   10389 	shared_flag='-shared'
   10390 	if test "$aix_use_runtimelinking" = yes; then
   10391 	  shared_flag="$shared_flag "'${wl}-G'
   10392 	fi
   10393       else
   10394 	# not using gcc
   10395 	if test "$host_cpu" = ia64; then
   10396 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10397 	# chokes on -Wl,-G. The following line is correct:
   10398 	  shared_flag='-G'
   10399 	else
   10400 	  if test "$aix_use_runtimelinking" = yes; then
   10401 	    shared_flag='${wl}-G'
   10402 	  else
   10403 	    shared_flag='${wl}-bM:SRE'
   10404 	  fi
   10405 	fi
   10406       fi
   10407 
   10408       export_dynamic_flag_spec='${wl}-bexpall'
   10409       # It seems that -bexpall does not export symbols beginning with
   10410       # underscore (_), so it is better to generate a list of symbols to export.
   10411       always_export_symbols=yes
   10412       if test "$aix_use_runtimelinking" = yes; then
   10413 	# Warning - without using the other runtime loading flags (-brtl),
   10414 	# -berok will link without error, but may produce a broken library.
   10415 	allow_undefined_flag='-berok'
   10416         # Determine the default libpath from the value encoded in an
   10417         # empty executable.
   10418         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10419 /* end confdefs.h.  */
   10420 
   10421 int
   10422 main ()
   10423 {
   10424 
   10425   ;
   10426   return 0;
   10427 }
   10428 _ACEOF
   10429 if ac_fn_c_try_link "$LINENO"; then :
   10430 
   10431 lt_aix_libpath_sed='
   10432     /Import File Strings/,/^$/ {
   10433 	/^0/ {
   10434 	    s/^0  *\(.*\)$/\1/
   10435 	    p
   10436 	}
   10437     }'
   10438 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10439 # Check for a 64-bit object if we didn't find anything.
   10440 if test -z "$aix_libpath"; then
   10441   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10442 fi
   10443 fi
   10444 rm -f core conftest.err conftest.$ac_objext \
   10445     conftest$ac_exeext conftest.$ac_ext
   10446 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10447 
   10448         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10449         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"
   10450       else
   10451 	if test "$host_cpu" = ia64; then
   10452 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10453 	  allow_undefined_flag="-z nodefs"
   10454 	  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"
   10455 	else
   10456 	 # Determine the default libpath from the value encoded in an
   10457 	 # empty executable.
   10458 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10459 /* end confdefs.h.  */
   10460 
   10461 int
   10462 main ()
   10463 {
   10464 
   10465   ;
   10466   return 0;
   10467 }
   10468 _ACEOF
   10469 if ac_fn_c_try_link "$LINENO"; then :
   10470 
   10471 lt_aix_libpath_sed='
   10472     /Import File Strings/,/^$/ {
   10473 	/^0/ {
   10474 	    s/^0  *\(.*\)$/\1/
   10475 	    p
   10476 	}
   10477     }'
   10478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10479 # Check for a 64-bit object if we didn't find anything.
   10480 if test -z "$aix_libpath"; then
   10481   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10482 fi
   10483 fi
   10484 rm -f core conftest.err conftest.$ac_objext \
   10485     conftest$ac_exeext conftest.$ac_ext
   10486 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10487 
   10488 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10489 	  # Warning - without using the other run time loading flags,
   10490 	  # -berok will link without error, but may produce a broken library.
   10491 	  no_undefined_flag=' ${wl}-bernotok'
   10492 	  allow_undefined_flag=' ${wl}-berok'
   10493 	  if test "$with_gnu_ld" = yes; then
   10494 	    # We only use this code for GNU lds that support --whole-archive.
   10495 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10496 	  else
   10497 	    # Exported symbols can be pulled into shared objects from archives
   10498 	    whole_archive_flag_spec='$convenience'
   10499 	  fi
   10500 	  archive_cmds_need_lc=yes
   10501 	  # This is similar to how AIX traditionally builds its shared libraries.
   10502 	  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'
   10503 	fi
   10504       fi
   10505       ;;
   10506 
   10507     amigaos*)
   10508       case $host_cpu in
   10509       powerpc)
   10510             # see comment about AmigaOS4 .so support
   10511             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10512             archive_expsym_cmds=''
   10513         ;;
   10514       m68k)
   10515             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)'
   10516             hardcode_libdir_flag_spec='-L$libdir'
   10517             hardcode_minus_L=yes
   10518         ;;
   10519       esac
   10520       ;;
   10521 
   10522     bsdi[45]*)
   10523       export_dynamic_flag_spec=-rdynamic
   10524       ;;
   10525 
   10526     cygwin* | mingw* | pw32* | cegcc*)
   10527       # When not using gcc, we currently assume that we are using
   10528       # Microsoft Visual C++.
   10529       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10530       # no search path for DLLs.
   10531       hardcode_libdir_flag_spec=' '
   10532       allow_undefined_flag=unsupported
   10533       # Tell ltmain to make .lib files, not .a files.
   10534       libext=lib
   10535       # Tell ltmain to make .dll files, not .so files.
   10536       shrext_cmds=".dll"
   10537       # FIXME: Setting linknames here is a bad hack.
   10538       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10539       # The linker will automatically build a .lib file if we build a DLL.
   10540       old_archive_from_new_cmds='true'
   10541       # FIXME: Should let the user specify the lib program.
   10542       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10543       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10544       enable_shared_with_static_runtimes=yes
   10545       ;;
   10546 
   10547     darwin* | rhapsody*)
   10548 
   10549 
   10550   archive_cmds_need_lc=no
   10551   hardcode_direct=no
   10552   hardcode_automatic=yes
   10553   hardcode_shlibpath_var=unsupported
   10554   if test "$lt_cv_ld_force_load" = "yes"; then
   10555     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\"`'
   10556   else
   10557     whole_archive_flag_spec=''
   10558   fi
   10559   link_all_deplibs=yes
   10560   allow_undefined_flag="$_lt_dar_allow_undefined"
   10561   case $cc_basename in
   10562      ifort*) _lt_dar_can_shared=yes ;;
   10563      *) _lt_dar_can_shared=$GCC ;;
   10564   esac
   10565   if test "$_lt_dar_can_shared" = "yes"; then
   10566     output_verbose_link_cmd=func_echo_all
   10567     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10568     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10569     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}"
   10570     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}"
   10571 
   10572   else
   10573   ld_shlibs=no
   10574   fi
   10575 
   10576       ;;
   10577 
   10578     dgux*)
   10579       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10580       hardcode_libdir_flag_spec='-L$libdir'
   10581       hardcode_shlibpath_var=no
   10582       ;;
   10583 
   10584     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10585     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10586     # does not break anything, and helps significantly (at the cost of a little
   10587     # extra space).
   10588     freebsd2.2*)
   10589       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10590       hardcode_libdir_flag_spec='-R$libdir'
   10591       hardcode_direct=yes
   10592       hardcode_shlibpath_var=no
   10593       ;;
   10594 
   10595     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10596     freebsd2.*)
   10597       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10598       hardcode_direct=yes
   10599       hardcode_minus_L=yes
   10600       hardcode_shlibpath_var=no
   10601       ;;
   10602 
   10603     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10604     freebsd* | dragonfly*)
   10605       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10606       hardcode_libdir_flag_spec='-R$libdir'
   10607       hardcode_direct=yes
   10608       hardcode_shlibpath_var=no
   10609       ;;
   10610 
   10611     hpux9*)
   10612       if test "$GCC" = yes; then
   10613 	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'
   10614       else
   10615 	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'
   10616       fi
   10617       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10618       hardcode_libdir_separator=:
   10619       hardcode_direct=yes
   10620 
   10621       # hardcode_minus_L: Not really in the search PATH,
   10622       # but as the default location of the library.
   10623       hardcode_minus_L=yes
   10624       export_dynamic_flag_spec='${wl}-E'
   10625       ;;
   10626 
   10627     hpux10*)
   10628       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10629 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10630       else
   10631 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10632       fi
   10633       if test "$with_gnu_ld" = no; then
   10634 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10635 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10636 	hardcode_libdir_separator=:
   10637 	hardcode_direct=yes
   10638 	hardcode_direct_absolute=yes
   10639 	export_dynamic_flag_spec='${wl}-E'
   10640 	# hardcode_minus_L: Not really in the search PATH,
   10641 	# but as the default location of the library.
   10642 	hardcode_minus_L=yes
   10643       fi
   10644       ;;
   10645 
   10646     hpux11*)
   10647       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10648 	case $host_cpu in
   10649 	hppa*64*)
   10650 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10651 	  ;;
   10652 	ia64*)
   10653 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10654 	  ;;
   10655 	*)
   10656 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10657 	  ;;
   10658 	esac
   10659       else
   10660 	case $host_cpu in
   10661 	hppa*64*)
   10662 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10663 	  ;;
   10664 	ia64*)
   10665 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10666 	  ;;
   10667 	*)
   10668 
   10669 	  # Older versions of the 11.00 compiler do not understand -b yet
   10670 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10671 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10672 $as_echo_n "checking if $CC understands -b... " >&6; }
   10673 if ${lt_cv_prog_compiler__b+:} false; then :
   10674   $as_echo_n "(cached) " >&6
   10675 else
   10676   lt_cv_prog_compiler__b=no
   10677    save_LDFLAGS="$LDFLAGS"
   10678    LDFLAGS="$LDFLAGS -b"
   10679    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10680    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10681      # The linker can only warn and ignore the option if not recognized
   10682      # So say no if there are warnings
   10683      if test -s conftest.err; then
   10684        # Append any errors to the config.log.
   10685        cat conftest.err 1>&5
   10686        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10687        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10688        if diff conftest.exp conftest.er2 >/dev/null; then
   10689          lt_cv_prog_compiler__b=yes
   10690        fi
   10691      else
   10692        lt_cv_prog_compiler__b=yes
   10693      fi
   10694    fi
   10695    $RM -r conftest*
   10696    LDFLAGS="$save_LDFLAGS"
   10697 
   10698 fi
   10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10700 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10701 
   10702 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10703     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10704 else
   10705     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10706 fi
   10707 
   10708 	  ;;
   10709 	esac
   10710       fi
   10711       if test "$with_gnu_ld" = no; then
   10712 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10713 	hardcode_libdir_separator=:
   10714 
   10715 	case $host_cpu in
   10716 	hppa*64*|ia64*)
   10717 	  hardcode_direct=no
   10718 	  hardcode_shlibpath_var=no
   10719 	  ;;
   10720 	*)
   10721 	  hardcode_direct=yes
   10722 	  hardcode_direct_absolute=yes
   10723 	  export_dynamic_flag_spec='${wl}-E'
   10724 
   10725 	  # hardcode_minus_L: Not really in the search PATH,
   10726 	  # but as the default location of the library.
   10727 	  hardcode_minus_L=yes
   10728 	  ;;
   10729 	esac
   10730       fi
   10731       ;;
   10732 
   10733     irix5* | irix6* | nonstopux*)
   10734       if test "$GCC" = yes; then
   10735 	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'
   10736 	# Try to use the -exported_symbol ld option, if it does not
   10737 	# work, assume that -exports_file does not work either and
   10738 	# implicitly export all symbols.
   10739         save_LDFLAGS="$LDFLAGS"
   10740         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10741         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10742 /* end confdefs.h.  */
   10743 int foo(void) {}
   10744 _ACEOF
   10745 if ac_fn_c_try_link "$LINENO"; then :
   10746   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'
   10747 
   10748 fi
   10749 rm -f core conftest.err conftest.$ac_objext \
   10750     conftest$ac_exeext conftest.$ac_ext
   10751         LDFLAGS="$save_LDFLAGS"
   10752       else
   10753 	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'
   10754 	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'
   10755       fi
   10756       archive_cmds_need_lc='no'
   10757       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10758       hardcode_libdir_separator=:
   10759       inherit_rpath=yes
   10760       link_all_deplibs=yes
   10761       ;;
   10762 
   10763     netbsd*)
   10764       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10765 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10766       else
   10767 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10768       fi
   10769       hardcode_libdir_flag_spec='-R$libdir'
   10770       hardcode_direct=yes
   10771       hardcode_shlibpath_var=no
   10772       ;;
   10773 
   10774     newsos6)
   10775       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10776       hardcode_direct=yes
   10777       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10778       hardcode_libdir_separator=:
   10779       hardcode_shlibpath_var=no
   10780       ;;
   10781 
   10782     *nto* | *qnx*)
   10783       ;;
   10784 
   10785     openbsd*)
   10786       if test -f /usr/libexec/ld.so; then
   10787 	hardcode_direct=yes
   10788 	hardcode_shlibpath_var=no
   10789 	hardcode_direct_absolute=yes
   10790 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10791 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10792 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10793 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10794 	  export_dynamic_flag_spec='${wl}-E'
   10795 	else
   10796 	  case $host_os in
   10797 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10798 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10799 	     hardcode_libdir_flag_spec='-R$libdir'
   10800 	     ;;
   10801 	   *)
   10802 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10803 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10804 	     ;;
   10805 	  esac
   10806 	fi
   10807       else
   10808 	ld_shlibs=no
   10809       fi
   10810       ;;
   10811 
   10812     os2*)
   10813       hardcode_libdir_flag_spec='-L$libdir'
   10814       hardcode_minus_L=yes
   10815       allow_undefined_flag=unsupported
   10816       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'
   10817       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10818       ;;
   10819 
   10820     osf3*)
   10821       if test "$GCC" = yes; then
   10822 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10823 	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'
   10824       else
   10825 	allow_undefined_flag=' -expect_unresolved \*'
   10826 	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'
   10827       fi
   10828       archive_cmds_need_lc='no'
   10829       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10830       hardcode_libdir_separator=:
   10831       ;;
   10832 
   10833     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10834       if test "$GCC" = yes; then
   10835 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10836 	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'
   10837 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10838       else
   10839 	allow_undefined_flag=' -expect_unresolved \*'
   10840 	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'
   10841 	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~
   10842 	$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'
   10843 
   10844 	# Both c and cxx compiler support -rpath directly
   10845 	hardcode_libdir_flag_spec='-rpath $libdir'
   10846       fi
   10847       archive_cmds_need_lc='no'
   10848       hardcode_libdir_separator=:
   10849       ;;
   10850 
   10851     solaris*)
   10852       no_undefined_flag=' -z defs'
   10853       if test "$GCC" = yes; then
   10854 	wlarc='${wl}'
   10855 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10856 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10857 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10858       else
   10859 	case `$CC -V 2>&1` in
   10860 	*"Compilers 5.0"*)
   10861 	  wlarc=''
   10862 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10863 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10864 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10865 	  ;;
   10866 	*)
   10867 	  wlarc='${wl}'
   10868 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10869 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10870 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10871 	  ;;
   10872 	esac
   10873       fi
   10874       hardcode_libdir_flag_spec='-R$libdir'
   10875       hardcode_shlibpath_var=no
   10876       case $host_os in
   10877       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10878       *)
   10879 	# The compiler driver will combine and reorder linker options,
   10880 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10881 	# but is careful enough not to reorder.
   10882 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10883 	if test "$GCC" = yes; then
   10884 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10885 	else
   10886 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10887 	fi
   10888 	;;
   10889       esac
   10890       link_all_deplibs=yes
   10891       ;;
   10892 
   10893     sunos4*)
   10894       if test "x$host_vendor" = xsequent; then
   10895 	# Use $CC to link under sequent, because it throws in some extra .o
   10896 	# files that make .init and .fini sections work.
   10897 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10898       else
   10899 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10900       fi
   10901       hardcode_libdir_flag_spec='-L$libdir'
   10902       hardcode_direct=yes
   10903       hardcode_minus_L=yes
   10904       hardcode_shlibpath_var=no
   10905       ;;
   10906 
   10907     sysv4)
   10908       case $host_vendor in
   10909 	sni)
   10910 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10911 	  hardcode_direct=yes # is this really true???
   10912 	;;
   10913 	siemens)
   10914 	  ## LD is ld it makes a PLAMLIB
   10915 	  ## CC just makes a GrossModule.
   10916 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10917 	  reload_cmds='$CC -r -o $output$reload_objs'
   10918 	  hardcode_direct=no
   10919         ;;
   10920 	motorola)
   10921 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10922 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10923 	;;
   10924       esac
   10925       runpath_var='LD_RUN_PATH'
   10926       hardcode_shlibpath_var=no
   10927       ;;
   10928 
   10929     sysv4.3*)
   10930       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10931       hardcode_shlibpath_var=no
   10932       export_dynamic_flag_spec='-Bexport'
   10933       ;;
   10934 
   10935     sysv4*MP*)
   10936       if test -d /usr/nec; then
   10937 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10938 	hardcode_shlibpath_var=no
   10939 	runpath_var=LD_RUN_PATH
   10940 	hardcode_runpath_var=yes
   10941 	ld_shlibs=yes
   10942       fi
   10943       ;;
   10944 
   10945     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10946       no_undefined_flag='${wl}-z,text'
   10947       archive_cmds_need_lc=no
   10948       hardcode_shlibpath_var=no
   10949       runpath_var='LD_RUN_PATH'
   10950 
   10951       if test "$GCC" = yes; then
   10952 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10953 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10954       else
   10955 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10956 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10957       fi
   10958       ;;
   10959 
   10960     sysv5* | sco3.2v5* | sco5v6*)
   10961       # Note: We can NOT use -z defs as we might desire, because we do not
   10962       # link with -lc, and that would cause any symbols used from libc to
   10963       # always be unresolved, which means just about no library would
   10964       # ever link correctly.  If we're not using GNU ld we use -z text
   10965       # though, which does catch some bad symbols but isn't as heavy-handed
   10966       # as -z defs.
   10967       no_undefined_flag='${wl}-z,text'
   10968       allow_undefined_flag='${wl}-z,nodefs'
   10969       archive_cmds_need_lc=no
   10970       hardcode_shlibpath_var=no
   10971       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10972       hardcode_libdir_separator=':'
   10973       link_all_deplibs=yes
   10974       export_dynamic_flag_spec='${wl}-Bexport'
   10975       runpath_var='LD_RUN_PATH'
   10976 
   10977       if test "$GCC" = yes; then
   10978 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10979 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10980       else
   10981 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10982 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10983       fi
   10984       ;;
   10985 
   10986     uts4*)
   10987       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10988       hardcode_libdir_flag_spec='-L$libdir'
   10989       hardcode_shlibpath_var=no
   10990       ;;
   10991 
   10992     *)
   10993       ld_shlibs=no
   10994       ;;
   10995     esac
   10996 
   10997     if test x$host_vendor = xsni; then
   10998       case $host in
   10999       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11000 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11001 	;;
   11002       esac
   11003     fi
   11004   fi
   11005 
   11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11007 $as_echo "$ld_shlibs" >&6; }
   11008 test "$ld_shlibs" = no && can_build_shared=no
   11009 
   11010 with_gnu_ld=$with_gnu_ld
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 #
   11027 # Do we need to explicitly link libc?
   11028 #
   11029 case "x$archive_cmds_need_lc" in
   11030 x|xyes)
   11031   # Assume -lc should be added
   11032   archive_cmds_need_lc=yes
   11033 
   11034   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11035     case $archive_cmds in
   11036     *'~'*)
   11037       # FIXME: we may have to deal with multi-command sequences.
   11038       ;;
   11039     '$CC '*)
   11040       # Test whether the compiler implicitly links with -lc since on some
   11041       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11042       # to ld, don't add -lc before -lgcc.
   11043       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11044 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11045 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11046   $as_echo_n "(cached) " >&6
   11047 else
   11048   $RM conftest*
   11049 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11050 
   11051 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11052   (eval $ac_compile) 2>&5
   11053   ac_status=$?
   11054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11055   test $ac_status = 0; } 2>conftest.err; then
   11056 	  soname=conftest
   11057 	  lib=conftest
   11058 	  libobjs=conftest.$ac_objext
   11059 	  deplibs=
   11060 	  wl=$lt_prog_compiler_wl
   11061 	  pic_flag=$lt_prog_compiler_pic
   11062 	  compiler_flags=-v
   11063 	  linker_flags=-v
   11064 	  verstring=
   11065 	  output_objdir=.
   11066 	  libname=conftest
   11067 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11068 	  allow_undefined_flag=
   11069 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11070   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11071   ac_status=$?
   11072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11073   test $ac_status = 0; }
   11074 	  then
   11075 	    lt_cv_archive_cmds_need_lc=no
   11076 	  else
   11077 	    lt_cv_archive_cmds_need_lc=yes
   11078 	  fi
   11079 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11080 	else
   11081 	  cat conftest.err 1>&5
   11082 	fi
   11083 	$RM conftest*
   11084 
   11085 fi
   11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11087 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11088       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11089       ;;
   11090     esac
   11091   fi
   11092   ;;
   11093 esac
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11252 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11253 
   11254 if test "$GCC" = yes; then
   11255   case $host_os in
   11256     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11257     *) lt_awk_arg="/^libraries:/" ;;
   11258   esac
   11259   case $host_os in
   11260     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11261     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11262   esac
   11263   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11264   case $lt_search_path_spec in
   11265   *\;*)
   11266     # if the path contains ";" then we assume it to be the separator
   11267     # otherwise default to the standard path separator (i.e. ":") - it is
   11268     # assumed that no part of a normal pathname contains ";" but that should
   11269     # okay in the real world where ";" in dirpaths is itself problematic.
   11270     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11271     ;;
   11272   *)
   11273     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11274     ;;
   11275   esac
   11276   # Ok, now we have the path, separated by spaces, we can step through it
   11277   # and add multilib dir if necessary.
   11278   lt_tmp_lt_search_path_spec=
   11279   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11280   for lt_sys_path in $lt_search_path_spec; do
   11281     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11282       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11283     else
   11284       test -d "$lt_sys_path" && \
   11285 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11286     fi
   11287   done
   11288   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11289 BEGIN {RS=" "; FS="/|\n";} {
   11290   lt_foo="";
   11291   lt_count=0;
   11292   for (lt_i = NF; lt_i > 0; lt_i--) {
   11293     if ($lt_i != "" && $lt_i != ".") {
   11294       if ($lt_i == "..") {
   11295         lt_count++;
   11296       } else {
   11297         if (lt_count == 0) {
   11298           lt_foo="/" $lt_i lt_foo;
   11299         } else {
   11300           lt_count--;
   11301         }
   11302       }
   11303     }
   11304   }
   11305   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11306   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11307 }'`
   11308   # AWK program above erroneously prepends '/' to C:/dos/paths
   11309   # for these hosts.
   11310   case $host_os in
   11311     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11312       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11313   esac
   11314   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11315 else
   11316   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11317 fi
   11318 library_names_spec=
   11319 libname_spec='lib$name'
   11320 soname_spec=
   11321 shrext_cmds=".so"
   11322 postinstall_cmds=
   11323 postuninstall_cmds=
   11324 finish_cmds=
   11325 finish_eval=
   11326 shlibpath_var=
   11327 shlibpath_overrides_runpath=unknown
   11328 version_type=none
   11329 dynamic_linker="$host_os ld.so"
   11330 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11331 need_lib_prefix=unknown
   11332 hardcode_into_libs=no
   11333 
   11334 # when you set need_version to no, make sure it does not cause -set_version
   11335 # flags to be left without arguments
   11336 need_version=unknown
   11337 
   11338 case $host_os in
   11339 aix3*)
   11340   version_type=linux
   11341   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11342   shlibpath_var=LIBPATH
   11343 
   11344   # AIX 3 has no versioning support, so we append a major version to the name.
   11345   soname_spec='${libname}${release}${shared_ext}$major'
   11346   ;;
   11347 
   11348 aix[4-9]*)
   11349   version_type=linux
   11350   need_lib_prefix=no
   11351   need_version=no
   11352   hardcode_into_libs=yes
   11353   if test "$host_cpu" = ia64; then
   11354     # AIX 5 supports IA64
   11355     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11356     shlibpath_var=LD_LIBRARY_PATH
   11357   else
   11358     # With GCC up to 2.95.x, collect2 would create an import file
   11359     # for dependence libraries.  The import file would start with
   11360     # the line `#! .'.  This would cause the generated library to
   11361     # depend on `.', always an invalid library.  This was fixed in
   11362     # development snapshots of GCC prior to 3.0.
   11363     case $host_os in
   11364       aix4 | aix4.[01] | aix4.[01].*)
   11365       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11366 	   echo ' yes '
   11367 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11368 	:
   11369       else
   11370 	can_build_shared=no
   11371       fi
   11372       ;;
   11373     esac
   11374     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11375     # soname into executable. Probably we can add versioning support to
   11376     # collect2, so additional links can be useful in future.
   11377     if test "$aix_use_runtimelinking" = yes; then
   11378       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11379       # instead of lib<name>.a to let people know that these are not
   11380       # typical AIX shared libraries.
   11381       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11382     else
   11383       # We preserve .a as extension for shared libraries through AIX4.2
   11384       # and later when we are not doing run time linking.
   11385       library_names_spec='${libname}${release}.a $libname.a'
   11386       soname_spec='${libname}${release}${shared_ext}$major'
   11387     fi
   11388     shlibpath_var=LIBPATH
   11389   fi
   11390   ;;
   11391 
   11392 amigaos*)
   11393   case $host_cpu in
   11394   powerpc)
   11395     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11396     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11398     ;;
   11399   m68k)
   11400     library_names_spec='$libname.ixlibrary $libname.a'
   11401     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11402     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'
   11403     ;;
   11404   esac
   11405   ;;
   11406 
   11407 beos*)
   11408   library_names_spec='${libname}${shared_ext}'
   11409   dynamic_linker="$host_os ld.so"
   11410   shlibpath_var=LIBRARY_PATH
   11411   ;;
   11412 
   11413 bsdi[45]*)
   11414   version_type=linux
   11415   need_version=no
   11416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11417   soname_spec='${libname}${release}${shared_ext}$major'
   11418   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11419   shlibpath_var=LD_LIBRARY_PATH
   11420   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11421   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11422   # the default ld.so.conf also contains /usr/contrib/lib and
   11423   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11424   # libtool to hard-code these into programs
   11425   ;;
   11426 
   11427 cygwin* | mingw* | pw32* | cegcc*)
   11428   version_type=windows
   11429   shrext_cmds=".dll"
   11430   need_version=no
   11431   need_lib_prefix=no
   11432 
   11433   case $GCC,$host_os in
   11434   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11435     library_names_spec='$libname.dll.a'
   11436     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11437     postinstall_cmds='base_file=`basename \${file}`~
   11438       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11439       dldir=$destdir/`dirname \$dlpath`~
   11440       test -d \$dldir || mkdir -p \$dldir~
   11441       $install_prog $dir/$dlname \$dldir/$dlname~
   11442       chmod a+x \$dldir/$dlname~
   11443       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11444         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11445       fi'
   11446     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11447       dlpath=$dir/\$dldll~
   11448        $RM \$dlpath'
   11449     shlibpath_overrides_runpath=yes
   11450 
   11451     case $host_os in
   11452     cygwin*)
   11453       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11454       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11455 
   11456       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11457       ;;
   11458     mingw* | cegcc*)
   11459       # MinGW DLLs use traditional 'lib' prefix
   11460       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11461       ;;
   11462     pw32*)
   11463       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11464       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11465       ;;
   11466     esac
   11467     ;;
   11468 
   11469   *)
   11470     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11471     ;;
   11472   esac
   11473   dynamic_linker='Win32 ld.exe'
   11474   # FIXME: first we should search . and the directory the executable is in
   11475   shlibpath_var=PATH
   11476   ;;
   11477 
   11478 darwin* | rhapsody*)
   11479   dynamic_linker="$host_os dyld"
   11480   version_type=darwin
   11481   need_lib_prefix=no
   11482   need_version=no
   11483   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11484   soname_spec='${libname}${release}${major}$shared_ext'
   11485   shlibpath_overrides_runpath=yes
   11486   shlibpath_var=DYLD_LIBRARY_PATH
   11487   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11488 
   11489   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11490   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11491   ;;
   11492 
   11493 dgux*)
   11494   version_type=linux
   11495   need_lib_prefix=no
   11496   need_version=no
   11497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11498   soname_spec='${libname}${release}${shared_ext}$major'
   11499   shlibpath_var=LD_LIBRARY_PATH
   11500   ;;
   11501 
   11502 freebsd* | dragonfly*)
   11503   # DragonFly does not have aout.  When/if they implement a new
   11504   # versioning mechanism, adjust this.
   11505   if test -x /usr/bin/objformat; then
   11506     objformat=`/usr/bin/objformat`
   11507   else
   11508     case $host_os in
   11509     freebsd[23].*) objformat=aout ;;
   11510     *) objformat=elf ;;
   11511     esac
   11512   fi
   11513   version_type=freebsd-$objformat
   11514   case $version_type in
   11515     freebsd-elf*)
   11516       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11517       need_version=no
   11518       need_lib_prefix=no
   11519       ;;
   11520     freebsd-*)
   11521       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11522       need_version=yes
   11523       ;;
   11524   esac
   11525   shlibpath_var=LD_LIBRARY_PATH
   11526   case $host_os in
   11527   freebsd2.*)
   11528     shlibpath_overrides_runpath=yes
   11529     ;;
   11530   freebsd3.[01]* | freebsdelf3.[01]*)
   11531     shlibpath_overrides_runpath=yes
   11532     hardcode_into_libs=yes
   11533     ;;
   11534   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11535   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11536     shlibpath_overrides_runpath=no
   11537     hardcode_into_libs=yes
   11538     ;;
   11539   *) # from 4.6 on, and DragonFly
   11540     shlibpath_overrides_runpath=yes
   11541     hardcode_into_libs=yes
   11542     ;;
   11543   esac
   11544   ;;
   11545 
   11546 gnu*)
   11547   version_type=linux
   11548   need_lib_prefix=no
   11549   need_version=no
   11550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11551   soname_spec='${libname}${release}${shared_ext}$major'
   11552   shlibpath_var=LD_LIBRARY_PATH
   11553   hardcode_into_libs=yes
   11554   ;;
   11555 
   11556 haiku*)
   11557   version_type=linux
   11558   need_lib_prefix=no
   11559   need_version=no
   11560   dynamic_linker="$host_os runtime_loader"
   11561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11562   soname_spec='${libname}${release}${shared_ext}$major'
   11563   shlibpath_var=LIBRARY_PATH
   11564   shlibpath_overrides_runpath=yes
   11565   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   11566   hardcode_into_libs=yes
   11567   ;;
   11568 
   11569 hpux9* | hpux10* | hpux11*)
   11570   # Give a soname corresponding to the major version so that dld.sl refuses to
   11571   # link against other versions.
   11572   version_type=sunos
   11573   need_lib_prefix=no
   11574   need_version=no
   11575   case $host_cpu in
   11576   ia64*)
   11577     shrext_cmds='.so'
   11578     hardcode_into_libs=yes
   11579     dynamic_linker="$host_os dld.so"
   11580     shlibpath_var=LD_LIBRARY_PATH
   11581     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11583     soname_spec='${libname}${release}${shared_ext}$major'
   11584     if test "X$HPUX_IA64_MODE" = X32; then
   11585       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11586     else
   11587       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11588     fi
   11589     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11590     ;;
   11591   hppa*64*)
   11592     shrext_cmds='.sl'
   11593     hardcode_into_libs=yes
   11594     dynamic_linker="$host_os dld.sl"
   11595     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11596     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11597     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11598     soname_spec='${libname}${release}${shared_ext}$major'
   11599     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11600     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11601     ;;
   11602   *)
   11603     shrext_cmds='.sl'
   11604     dynamic_linker="$host_os dld.sl"
   11605     shlibpath_var=SHLIB_PATH
   11606     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11607     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11608     soname_spec='${libname}${release}${shared_ext}$major'
   11609     ;;
   11610   esac
   11611   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11612   postinstall_cmds='chmod 555 $lib'
   11613   # or fails outright, so override atomically:
   11614   install_override_mode=555
   11615   ;;
   11616 
   11617 interix[3-9]*)
   11618   version_type=linux
   11619   need_lib_prefix=no
   11620   need_version=no
   11621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11622   soname_spec='${libname}${release}${shared_ext}$major'
   11623   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11624   shlibpath_var=LD_LIBRARY_PATH
   11625   shlibpath_overrides_runpath=no
   11626   hardcode_into_libs=yes
   11627   ;;
   11628 
   11629 irix5* | irix6* | nonstopux*)
   11630   case $host_os in
   11631     nonstopux*) version_type=nonstopux ;;
   11632     *)
   11633 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11634 		version_type=linux
   11635 	else
   11636 		version_type=irix
   11637 	fi ;;
   11638   esac
   11639   need_lib_prefix=no
   11640   need_version=no
   11641   soname_spec='${libname}${release}${shared_ext}$major'
   11642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11643   case $host_os in
   11644   irix5* | nonstopux*)
   11645     libsuff= shlibsuff=
   11646     ;;
   11647   *)
   11648     case $LD in # libtool.m4 will add one of these switches to LD
   11649     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11650       libsuff= shlibsuff= libmagic=32-bit;;
   11651     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11652       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11653     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11654       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11655     *) libsuff= shlibsuff= libmagic=never-match;;
   11656     esac
   11657     ;;
   11658   esac
   11659   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11660   shlibpath_overrides_runpath=no
   11661   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11662   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11663   hardcode_into_libs=yes
   11664   ;;
   11665 
   11666 # No shared lib support for Linux oldld, aout, or coff.
   11667 linux*oldld* | linux*aout* | linux*coff*)
   11668   dynamic_linker=no
   11669   ;;
   11670 
   11671 # This must be Linux ELF.
   11672 
   11673 # uclinux* changes (here and below) have been submitted to the libtool
   11674 # project, but have not yet been accepted: they are GCC-local changes
   11675 # for the time being.  (See
   11676 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   11677 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   11678   version_type=linux
   11679   need_lib_prefix=no
   11680   need_version=no
   11681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11682   soname_spec='${libname}${release}${shared_ext}$major'
   11683   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11684   shlibpath_var=LD_LIBRARY_PATH
   11685   shlibpath_overrides_runpath=no
   11686 
   11687   # Some binutils ld are patched to set DT_RUNPATH
   11688   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11689   $as_echo_n "(cached) " >&6
   11690 else
   11691   lt_cv_shlibpath_overrides_runpath=no
   11692     save_LDFLAGS=$LDFLAGS
   11693     save_libdir=$libdir
   11694     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11695 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11697 /* end confdefs.h.  */
   11698 
   11699 int
   11700 main ()
   11701 {
   11702 
   11703   ;
   11704   return 0;
   11705 }
   11706 _ACEOF
   11707 if ac_fn_c_try_link "$LINENO"; then :
   11708   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11709   lt_cv_shlibpath_overrides_runpath=yes
   11710 fi
   11711 fi
   11712 rm -f core conftest.err conftest.$ac_objext \
   11713     conftest$ac_exeext conftest.$ac_ext
   11714     LDFLAGS=$save_LDFLAGS
   11715     libdir=$save_libdir
   11716 
   11717 fi
   11718 
   11719   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11720 
   11721   # This implies no fast_install, which is unacceptable.
   11722   # Some rework will be needed to allow for fast_install
   11723   # before this can be enabled.
   11724   hardcode_into_libs=yes
   11725 
   11726   # Append ld.so.conf contents to the search path
   11727   if test -f /etc/ld.so.conf; then
   11728     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' ' '`
   11729     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11730   fi
   11731 
   11732   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11733   # powerpc, because MkLinux only supported shared libraries with the
   11734   # GNU dynamic linker.  Since this was broken with cross compilers,
   11735   # most powerpc-linux boxes support dynamic linking these days and
   11736   # people can always --disable-shared, the test was removed, and we
   11737   # assume the GNU/Linux dynamic linker is in use.
   11738   dynamic_linker='GNU/Linux ld.so'
   11739   ;;
   11740 
   11741 netbsd*)
   11742   version_type=sunos
   11743   need_lib_prefix=no
   11744   need_version=no
   11745   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11746     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11747     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11748     dynamic_linker='NetBSD (a.out) ld.so'
   11749   else
   11750     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11751     soname_spec='${libname}${release}${shared_ext}$major'
   11752     dynamic_linker='NetBSD ld.elf_so'
   11753   fi
   11754   shlibpath_var=LD_LIBRARY_PATH
   11755   shlibpath_overrides_runpath=yes
   11756   hardcode_into_libs=yes
   11757   ;;
   11758 
   11759 newsos6)
   11760   version_type=linux
   11761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11762   shlibpath_var=LD_LIBRARY_PATH
   11763   shlibpath_overrides_runpath=yes
   11764   ;;
   11765 
   11766 *nto* | *qnx*)
   11767   version_type=qnx
   11768   need_lib_prefix=no
   11769   need_version=no
   11770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11771   soname_spec='${libname}${release}${shared_ext}$major'
   11772   shlibpath_var=LD_LIBRARY_PATH
   11773   shlibpath_overrides_runpath=no
   11774   hardcode_into_libs=yes
   11775   dynamic_linker='ldqnx.so'
   11776   ;;
   11777 
   11778 openbsd*)
   11779   version_type=sunos
   11780   sys_lib_dlsearch_path_spec="/usr/lib"
   11781   need_lib_prefix=no
   11782   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11783   case $host_os in
   11784     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11785     *)				need_version=no  ;;
   11786   esac
   11787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11788   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11789   shlibpath_var=LD_LIBRARY_PATH
   11790   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11791     case $host_os in
   11792       openbsd2.[89] | openbsd2.[89].*)
   11793 	shlibpath_overrides_runpath=no
   11794 	;;
   11795       *)
   11796 	shlibpath_overrides_runpath=yes
   11797 	;;
   11798       esac
   11799   else
   11800     shlibpath_overrides_runpath=yes
   11801   fi
   11802   ;;
   11803 
   11804 os2*)
   11805   libname_spec='$name'
   11806   shrext_cmds=".dll"
   11807   need_lib_prefix=no
   11808   library_names_spec='$libname${shared_ext} $libname.a'
   11809   dynamic_linker='OS/2 ld.exe'
   11810   shlibpath_var=LIBPATH
   11811   ;;
   11812 
   11813 osf3* | osf4* | osf5*)
   11814   version_type=osf
   11815   need_lib_prefix=no
   11816   need_version=no
   11817   soname_spec='${libname}${release}${shared_ext}$major'
   11818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11819   shlibpath_var=LD_LIBRARY_PATH
   11820   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11821   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11822   ;;
   11823 
   11824 rdos*)
   11825   dynamic_linker=no
   11826   ;;
   11827 
   11828 solaris*)
   11829   version_type=linux
   11830   need_lib_prefix=no
   11831   need_version=no
   11832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11833   soname_spec='${libname}${release}${shared_ext}$major'
   11834   shlibpath_var=LD_LIBRARY_PATH
   11835   shlibpath_overrides_runpath=yes
   11836   hardcode_into_libs=yes
   11837   # ldd complains unless libraries are executable
   11838   postinstall_cmds='chmod +x $lib'
   11839   ;;
   11840 
   11841 sunos4*)
   11842   version_type=sunos
   11843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11844   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11845   shlibpath_var=LD_LIBRARY_PATH
   11846   shlibpath_overrides_runpath=yes
   11847   if test "$with_gnu_ld" = yes; then
   11848     need_lib_prefix=no
   11849   fi
   11850   need_version=yes
   11851   ;;
   11852 
   11853 sysv4 | sysv4.3*)
   11854   version_type=linux
   11855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11856   soname_spec='${libname}${release}${shared_ext}$major'
   11857   shlibpath_var=LD_LIBRARY_PATH
   11858   case $host_vendor in
   11859     sni)
   11860       shlibpath_overrides_runpath=no
   11861       need_lib_prefix=no
   11862       runpath_var=LD_RUN_PATH
   11863       ;;
   11864     siemens)
   11865       need_lib_prefix=no
   11866       ;;
   11867     motorola)
   11868       need_lib_prefix=no
   11869       need_version=no
   11870       shlibpath_overrides_runpath=no
   11871       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11872       ;;
   11873   esac
   11874   ;;
   11875 
   11876 sysv4*MP*)
   11877   if test -d /usr/nec ;then
   11878     version_type=linux
   11879     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11880     soname_spec='$libname${shared_ext}.$major'
   11881     shlibpath_var=LD_LIBRARY_PATH
   11882   fi
   11883   ;;
   11884 
   11885 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11886   version_type=freebsd-elf
   11887   need_lib_prefix=no
   11888   need_version=no
   11889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11890   soname_spec='${libname}${release}${shared_ext}$major'
   11891   shlibpath_var=LD_LIBRARY_PATH
   11892   shlibpath_overrides_runpath=yes
   11893   hardcode_into_libs=yes
   11894   if test "$with_gnu_ld" = yes; then
   11895     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11896   else
   11897     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11898     case $host_os in
   11899       sco3.2v5*)
   11900         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11901 	;;
   11902     esac
   11903   fi
   11904   sys_lib_dlsearch_path_spec='/usr/lib'
   11905   ;;
   11906 
   11907 tpf*)
   11908   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11909   version_type=linux
   11910   need_lib_prefix=no
   11911   need_version=no
   11912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11913   shlibpath_var=LD_LIBRARY_PATH
   11914   shlibpath_overrides_runpath=no
   11915   hardcode_into_libs=yes
   11916   ;;
   11917 
   11918 uts4*)
   11919   version_type=linux
   11920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11921   soname_spec='${libname}${release}${shared_ext}$major'
   11922   shlibpath_var=LD_LIBRARY_PATH
   11923   ;;
   11924 
   11925 *)
   11926   dynamic_linker=no
   11927   ;;
   11928 esac
   11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11930 $as_echo "$dynamic_linker" >&6; }
   11931 test "$dynamic_linker" = no && can_build_shared=no
   11932 
   11933 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11934 if test "$GCC" = yes; then
   11935   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11936 fi
   11937 
   11938 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11939   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11940 fi
   11941 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11942   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11943 fi
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018 
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12037 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12038 hardcode_action=
   12039 if test -n "$hardcode_libdir_flag_spec" ||
   12040    test -n "$runpath_var" ||
   12041    test "X$hardcode_automatic" = "Xyes" ; then
   12042 
   12043   # We can hardcode non-existent directories.
   12044   if test "$hardcode_direct" != no &&
   12045      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12046      # have to relink, otherwise we might link with an installed library
   12047      # when we should be linking with a yet-to-be-installed one
   12048      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   12049      test "$hardcode_minus_L" != no; then
   12050     # Linking always hardcodes the temporary library directory.
   12051     hardcode_action=relink
   12052   else
   12053     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12054     hardcode_action=immediate
   12055   fi
   12056 else
   12057   # We cannot hardcode anything, or else we can only hardcode existing
   12058   # directories.
   12059   hardcode_action=unsupported
   12060 fi
   12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12062 $as_echo "$hardcode_action" >&6; }
   12063 
   12064 if test "$hardcode_action" = relink ||
   12065    test "$inherit_rpath" = yes; then
   12066   # Fast installation is not supported
   12067   enable_fast_install=no
   12068 elif test "$shlibpath_overrides_runpath" = yes ||
   12069      test "$enable_shared" = no; then
   12070   # Fast installation is not necessary
   12071   enable_fast_install=needless
   12072 fi
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079   if test "x$enable_dlopen" != xyes; then
   12080   enable_dlopen=unknown
   12081   enable_dlopen_self=unknown
   12082   enable_dlopen_self_static=unknown
   12083 else
   12084   lt_cv_dlopen=no
   12085   lt_cv_dlopen_libs=
   12086 
   12087   case $host_os in
   12088   beos*)
   12089     lt_cv_dlopen="load_add_on"
   12090     lt_cv_dlopen_libs=
   12091     lt_cv_dlopen_self=yes
   12092     ;;
   12093 
   12094   mingw* | pw32* | cegcc*)
   12095     lt_cv_dlopen="LoadLibrary"
   12096     lt_cv_dlopen_libs=
   12097     ;;
   12098 
   12099   cygwin*)
   12100     lt_cv_dlopen="dlopen"
   12101     lt_cv_dlopen_libs=
   12102     ;;
   12103 
   12104   darwin*)
   12105   # if libdl is installed we need to link against it
   12106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12107 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12108 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12109   $as_echo_n "(cached) " >&6
   12110 else
   12111   ac_check_lib_save_LIBS=$LIBS
   12112 LIBS="-ldl  $LIBS"
   12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12114 /* end confdefs.h.  */
   12115 
   12116 /* Override any GCC internal prototype to avoid an error.
   12117    Use char because int might match the return type of a GCC
   12118    builtin and then its argument prototype would still apply.  */
   12119 #ifdef __cplusplus
   12120 extern "C"
   12121 #endif
   12122 char dlopen ();
   12123 int
   12124 main ()
   12125 {
   12126 return dlopen ();
   12127   ;
   12128   return 0;
   12129 }
   12130 _ACEOF
   12131 if ac_fn_c_try_link "$LINENO"; then :
   12132   ac_cv_lib_dl_dlopen=yes
   12133 else
   12134   ac_cv_lib_dl_dlopen=no
   12135 fi
   12136 rm -f core conftest.err conftest.$ac_objext \
   12137     conftest$ac_exeext conftest.$ac_ext
   12138 LIBS=$ac_check_lib_save_LIBS
   12139 fi
   12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12141 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12142 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12143   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12144 else
   12145 
   12146     lt_cv_dlopen="dyld"
   12147     lt_cv_dlopen_libs=
   12148     lt_cv_dlopen_self=yes
   12149 
   12150 fi
   12151 
   12152     ;;
   12153 
   12154   *)
   12155     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12156 if test "x$ac_cv_func_shl_load" = xyes; then :
   12157   lt_cv_dlopen="shl_load"
   12158 else
   12159   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12160 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12161 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12162   $as_echo_n "(cached) " >&6
   12163 else
   12164   ac_check_lib_save_LIBS=$LIBS
   12165 LIBS="-ldld  $LIBS"
   12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12167 /* end confdefs.h.  */
   12168 
   12169 /* Override any GCC internal prototype to avoid an error.
   12170    Use char because int might match the return type of a GCC
   12171    builtin and then its argument prototype would still apply.  */
   12172 #ifdef __cplusplus
   12173 extern "C"
   12174 #endif
   12175 char shl_load ();
   12176 int
   12177 main ()
   12178 {
   12179 return shl_load ();
   12180   ;
   12181   return 0;
   12182 }
   12183 _ACEOF
   12184 if ac_fn_c_try_link "$LINENO"; then :
   12185   ac_cv_lib_dld_shl_load=yes
   12186 else
   12187   ac_cv_lib_dld_shl_load=no
   12188 fi
   12189 rm -f core conftest.err conftest.$ac_objext \
   12190     conftest$ac_exeext conftest.$ac_ext
   12191 LIBS=$ac_check_lib_save_LIBS
   12192 fi
   12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12194 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12195 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12196   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12197 else
   12198   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12199 if test "x$ac_cv_func_dlopen" = xyes; then :
   12200   lt_cv_dlopen="dlopen"
   12201 else
   12202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12203 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12204 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12205   $as_echo_n "(cached) " >&6
   12206 else
   12207   ac_check_lib_save_LIBS=$LIBS
   12208 LIBS="-ldl  $LIBS"
   12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12210 /* end confdefs.h.  */
   12211 
   12212 /* Override any GCC internal prototype to avoid an error.
   12213    Use char because int might match the return type of a GCC
   12214    builtin and then its argument prototype would still apply.  */
   12215 #ifdef __cplusplus
   12216 extern "C"
   12217 #endif
   12218 char dlopen ();
   12219 int
   12220 main ()
   12221 {
   12222 return dlopen ();
   12223   ;
   12224   return 0;
   12225 }
   12226 _ACEOF
   12227 if ac_fn_c_try_link "$LINENO"; then :
   12228   ac_cv_lib_dl_dlopen=yes
   12229 else
   12230   ac_cv_lib_dl_dlopen=no
   12231 fi
   12232 rm -f core conftest.err conftest.$ac_objext \
   12233     conftest$ac_exeext conftest.$ac_ext
   12234 LIBS=$ac_check_lib_save_LIBS
   12235 fi
   12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12237 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12238 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12239   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12240 else
   12241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12242 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12243 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12244   $as_echo_n "(cached) " >&6
   12245 else
   12246   ac_check_lib_save_LIBS=$LIBS
   12247 LIBS="-lsvld  $LIBS"
   12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12249 /* end confdefs.h.  */
   12250 
   12251 /* Override any GCC internal prototype to avoid an error.
   12252    Use char because int might match the return type of a GCC
   12253    builtin and then its argument prototype would still apply.  */
   12254 #ifdef __cplusplus
   12255 extern "C"
   12256 #endif
   12257 char dlopen ();
   12258 int
   12259 main ()
   12260 {
   12261 return dlopen ();
   12262   ;
   12263   return 0;
   12264 }
   12265 _ACEOF
   12266 if ac_fn_c_try_link "$LINENO"; then :
   12267   ac_cv_lib_svld_dlopen=yes
   12268 else
   12269   ac_cv_lib_svld_dlopen=no
   12270 fi
   12271 rm -f core conftest.err conftest.$ac_objext \
   12272     conftest$ac_exeext conftest.$ac_ext
   12273 LIBS=$ac_check_lib_save_LIBS
   12274 fi
   12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12276 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12277 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12278   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12279 else
   12280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12281 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12282 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12283   $as_echo_n "(cached) " >&6
   12284 else
   12285   ac_check_lib_save_LIBS=$LIBS
   12286 LIBS="-ldld  $LIBS"
   12287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12288 /* end confdefs.h.  */
   12289 
   12290 /* Override any GCC internal prototype to avoid an error.
   12291    Use char because int might match the return type of a GCC
   12292    builtin and then its argument prototype would still apply.  */
   12293 #ifdef __cplusplus
   12294 extern "C"
   12295 #endif
   12296 char dld_link ();
   12297 int
   12298 main ()
   12299 {
   12300 return dld_link ();
   12301   ;
   12302   return 0;
   12303 }
   12304 _ACEOF
   12305 if ac_fn_c_try_link "$LINENO"; then :
   12306   ac_cv_lib_dld_dld_link=yes
   12307 else
   12308   ac_cv_lib_dld_dld_link=no
   12309 fi
   12310 rm -f core conftest.err conftest.$ac_objext \
   12311     conftest$ac_exeext conftest.$ac_ext
   12312 LIBS=$ac_check_lib_save_LIBS
   12313 fi
   12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12315 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12316 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12317   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12318 fi
   12319 
   12320 
   12321 fi
   12322 
   12323 
   12324 fi
   12325 
   12326 
   12327 fi
   12328 
   12329 
   12330 fi
   12331 
   12332 
   12333 fi
   12334 
   12335     ;;
   12336   esac
   12337 
   12338   if test "x$lt_cv_dlopen" != xno; then
   12339     enable_dlopen=yes
   12340   else
   12341     enable_dlopen=no
   12342   fi
   12343 
   12344   case $lt_cv_dlopen in
   12345   dlopen)
   12346     save_CPPFLAGS="$CPPFLAGS"
   12347     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12348 
   12349     save_LDFLAGS="$LDFLAGS"
   12350     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12351 
   12352     save_LIBS="$LIBS"
   12353     LIBS="$lt_cv_dlopen_libs $LIBS"
   12354 
   12355     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12356 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12357 if ${lt_cv_dlopen_self+:} false; then :
   12358   $as_echo_n "(cached) " >&6
   12359 else
   12360   	  if test "$cross_compiling" = yes; then :
   12361   lt_cv_dlopen_self=cross
   12362 else
   12363   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12364   lt_status=$lt_dlunknown
   12365   cat > conftest.$ac_ext <<_LT_EOF
   12366 #line 12366 "configure"
   12367 #include "confdefs.h"
   12368 
   12369 #if HAVE_DLFCN_H
   12370 #include <dlfcn.h>
   12371 #endif
   12372 
   12373 #include <stdio.h>
   12374 
   12375 #ifdef RTLD_GLOBAL
   12376 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12377 #else
   12378 #  ifdef DL_GLOBAL
   12379 #    define LT_DLGLOBAL		DL_GLOBAL
   12380 #  else
   12381 #    define LT_DLGLOBAL		0
   12382 #  endif
   12383 #endif
   12384 
   12385 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12386    find out it does not work in some platform. */
   12387 #ifndef LT_DLLAZY_OR_NOW
   12388 #  ifdef RTLD_LAZY
   12389 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12390 #  else
   12391 #    ifdef DL_LAZY
   12392 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12393 #    else
   12394 #      ifdef RTLD_NOW
   12395 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12396 #      else
   12397 #        ifdef DL_NOW
   12398 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12399 #        else
   12400 #          define LT_DLLAZY_OR_NOW	0
   12401 #        endif
   12402 #      endif
   12403 #    endif
   12404 #  endif
   12405 #endif
   12406 
   12407 /* When -fvisbility=hidden is used, assume the code has been annotated
   12408    correspondingly for the symbols needed.  */
   12409 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12410 void fnord () __attribute__((visibility("default")));
   12411 #endif
   12412 
   12413 void fnord () { int i=42; }
   12414 int main ()
   12415 {
   12416   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12417   int status = $lt_dlunknown;
   12418 
   12419   if (self)
   12420     {
   12421       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12422       else
   12423         {
   12424 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12425           else puts (dlerror ());
   12426 	}
   12427       /* dlclose (self); */
   12428     }
   12429   else
   12430     puts (dlerror ());
   12431 
   12432   return status;
   12433 }
   12434 _LT_EOF
   12435   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12436   (eval $ac_link) 2>&5
   12437   ac_status=$?
   12438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12439   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12440     (./conftest; exit; ) >&5 2>/dev/null
   12441     lt_status=$?
   12442     case x$lt_status in
   12443       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12444       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12445       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12446     esac
   12447   else :
   12448     # compilation failed
   12449     lt_cv_dlopen_self=no
   12450   fi
   12451 fi
   12452 rm -fr conftest*
   12453 
   12454 
   12455 fi
   12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12457 $as_echo "$lt_cv_dlopen_self" >&6; }
   12458 
   12459     if test "x$lt_cv_dlopen_self" = xyes; then
   12460       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12461       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12462 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12463 if ${lt_cv_dlopen_self_static+:} false; then :
   12464   $as_echo_n "(cached) " >&6
   12465 else
   12466   	  if test "$cross_compiling" = yes; then :
   12467   lt_cv_dlopen_self_static=cross
   12468 else
   12469   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12470   lt_status=$lt_dlunknown
   12471   cat > conftest.$ac_ext <<_LT_EOF
   12472 #line 12472 "configure"
   12473 #include "confdefs.h"
   12474 
   12475 #if HAVE_DLFCN_H
   12476 #include <dlfcn.h>
   12477 #endif
   12478 
   12479 #include <stdio.h>
   12480 
   12481 #ifdef RTLD_GLOBAL
   12482 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12483 #else
   12484 #  ifdef DL_GLOBAL
   12485 #    define LT_DLGLOBAL		DL_GLOBAL
   12486 #  else
   12487 #    define LT_DLGLOBAL		0
   12488 #  endif
   12489 #endif
   12490 
   12491 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12492    find out it does not work in some platform. */
   12493 #ifndef LT_DLLAZY_OR_NOW
   12494 #  ifdef RTLD_LAZY
   12495 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12496 #  else
   12497 #    ifdef DL_LAZY
   12498 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12499 #    else
   12500 #      ifdef RTLD_NOW
   12501 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12502 #      else
   12503 #        ifdef DL_NOW
   12504 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12505 #        else
   12506 #          define LT_DLLAZY_OR_NOW	0
   12507 #        endif
   12508 #      endif
   12509 #    endif
   12510 #  endif
   12511 #endif
   12512 
   12513 /* When -fvisbility=hidden is used, assume the code has been annotated
   12514    correspondingly for the symbols needed.  */
   12515 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12516 void fnord () __attribute__((visibility("default")));
   12517 #endif
   12518 
   12519 void fnord () { int i=42; }
   12520 int main ()
   12521 {
   12522   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12523   int status = $lt_dlunknown;
   12524 
   12525   if (self)
   12526     {
   12527       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12528       else
   12529         {
   12530 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12531           else puts (dlerror ());
   12532 	}
   12533       /* dlclose (self); */
   12534     }
   12535   else
   12536     puts (dlerror ());
   12537 
   12538   return status;
   12539 }
   12540 _LT_EOF
   12541   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12542   (eval $ac_link) 2>&5
   12543   ac_status=$?
   12544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12545   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12546     (./conftest; exit; ) >&5 2>/dev/null
   12547     lt_status=$?
   12548     case x$lt_status in
   12549       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12550       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12551       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12552     esac
   12553   else :
   12554     # compilation failed
   12555     lt_cv_dlopen_self_static=no
   12556   fi
   12557 fi
   12558 rm -fr conftest*
   12559 
   12560 
   12561 fi
   12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12563 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12564     fi
   12565 
   12566     CPPFLAGS="$save_CPPFLAGS"
   12567     LDFLAGS="$save_LDFLAGS"
   12568     LIBS="$save_LIBS"
   12569     ;;
   12570   esac
   12571 
   12572   case $lt_cv_dlopen_self in
   12573   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12574   *) enable_dlopen_self=unknown ;;
   12575   esac
   12576 
   12577   case $lt_cv_dlopen_self_static in
   12578   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12579   *) enable_dlopen_self_static=unknown ;;
   12580   esac
   12581 fi
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 striplib=
   12600 old_striplib=
   12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12602 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12603 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12604   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12605   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12607 $as_echo "yes" >&6; }
   12608 else
   12609 # FIXME - insert some real tests, host_os isn't really good enough
   12610   case $host_os in
   12611   darwin*)
   12612     if test -n "$STRIP" ; then
   12613       striplib="$STRIP -x"
   12614       old_striplib="$STRIP -S"
   12615       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12616 $as_echo "yes" >&6; }
   12617     else
   12618       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12619 $as_echo "no" >&6; }
   12620     fi
   12621     ;;
   12622   *)
   12623     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12624 $as_echo "no" >&6; }
   12625     ;;
   12626   esac
   12627 fi
   12628 
   12629 
   12630 
   12631 
   12632 
   12633 
   12634 
   12635 
   12636 
   12637 
   12638 
   12639 
   12640   # Report which library types will actually be built
   12641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12642 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12644 $as_echo "$can_build_shared" >&6; }
   12645 
   12646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12647 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12648   test "$can_build_shared" = "no" && enable_shared=no
   12649 
   12650   # On AIX, shared libraries and static libraries use the same namespace, and
   12651   # are all built from PIC.
   12652   case $host_os in
   12653   aix3*)
   12654     test "$enable_shared" = yes && enable_static=no
   12655     if test -n "$RANLIB"; then
   12656       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12657       postinstall_cmds='$RANLIB $lib'
   12658     fi
   12659     ;;
   12660 
   12661   aix[4-9]*)
   12662     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12663       test "$enable_shared" = yes && enable_static=no
   12664     fi
   12665     ;;
   12666   esac
   12667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12668 $as_echo "$enable_shared" >&6; }
   12669 
   12670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12671 $as_echo_n "checking whether to build static libraries... " >&6; }
   12672   # Make sure either enable_shared or enable_static is yes.
   12673   test "$enable_shared" = yes || enable_static=yes
   12674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12675 $as_echo "$enable_static" >&6; }
   12676 
   12677 
   12678 
   12679 
   12680 fi
   12681 ac_ext=c
   12682 ac_cpp='$CPP $CPPFLAGS'
   12683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12686 
   12687 CC="$lt_save_CC"
   12688 
   12689       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12690     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12691     (test "X$CXX" != "Xg++"))) ; then
   12692   ac_ext=cpp
   12693 ac_cpp='$CXXCPP $CPPFLAGS'
   12694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12698 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12699 if test -z "$CXXCPP"; then
   12700   if ${ac_cv_prog_CXXCPP+:} false; then :
   12701   $as_echo_n "(cached) " >&6
   12702 else
   12703       # Double quotes because CXXCPP needs to be expanded
   12704     for CXXCPP in "$CXX -E" "/lib/cpp"
   12705     do
   12706       ac_preproc_ok=false
   12707 for ac_cxx_preproc_warn_flag in '' yes
   12708 do
   12709   # Use a header file that comes with gcc, so configuring glibc
   12710   # with a fresh cross-compiler works.
   12711   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12712   # <limits.h> exists even on freestanding compilers.
   12713   # On the NeXT, cc -E runs the code through the compiler's parser,
   12714   # not just through cpp. "Syntax error" is here to catch this case.
   12715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12716 /* end confdefs.h.  */
   12717 #ifdef __STDC__
   12718 # include <limits.h>
   12719 #else
   12720 # include <assert.h>
   12721 #endif
   12722 		     Syntax error
   12723 _ACEOF
   12724 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12725 
   12726 else
   12727   # Broken: fails on valid input.
   12728 continue
   12729 fi
   12730 rm -f conftest.err conftest.i conftest.$ac_ext
   12731 
   12732   # OK, works on sane cases.  Now check whether nonexistent headers
   12733   # can be detected and how.
   12734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12735 /* end confdefs.h.  */
   12736 #include <ac_nonexistent.h>
   12737 _ACEOF
   12738 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12739   # Broken: success on invalid input.
   12740 continue
   12741 else
   12742   # Passes both tests.
   12743 ac_preproc_ok=:
   12744 break
   12745 fi
   12746 rm -f conftest.err conftest.i conftest.$ac_ext
   12747 
   12748 done
   12749 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12750 rm -f conftest.i conftest.err conftest.$ac_ext
   12751 if $ac_preproc_ok; then :
   12752   break
   12753 fi
   12754 
   12755     done
   12756     ac_cv_prog_CXXCPP=$CXXCPP
   12757 
   12758 fi
   12759   CXXCPP=$ac_cv_prog_CXXCPP
   12760 else
   12761   ac_cv_prog_CXXCPP=$CXXCPP
   12762 fi
   12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12764 $as_echo "$CXXCPP" >&6; }
   12765 ac_preproc_ok=false
   12766 for ac_cxx_preproc_warn_flag in '' yes
   12767 do
   12768   # Use a header file that comes with gcc, so configuring glibc
   12769   # with a fresh cross-compiler works.
   12770   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12771   # <limits.h> exists even on freestanding compilers.
   12772   # On the NeXT, cc -E runs the code through the compiler's parser,
   12773   # not just through cpp. "Syntax error" is here to catch this case.
   12774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12775 /* end confdefs.h.  */
   12776 #ifdef __STDC__
   12777 # include <limits.h>
   12778 #else
   12779 # include <assert.h>
   12780 #endif
   12781 		     Syntax error
   12782 _ACEOF
   12783 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12784 
   12785 else
   12786   # Broken: fails on valid input.
   12787 continue
   12788 fi
   12789 rm -f conftest.err conftest.i conftest.$ac_ext
   12790 
   12791   # OK, works on sane cases.  Now check whether nonexistent headers
   12792   # can be detected and how.
   12793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12794 /* end confdefs.h.  */
   12795 #include <ac_nonexistent.h>
   12796 _ACEOF
   12797 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12798   # Broken: success on invalid input.
   12799 continue
   12800 else
   12801   # Passes both tests.
   12802 ac_preproc_ok=:
   12803 break
   12804 fi
   12805 rm -f conftest.err conftest.i conftest.$ac_ext
   12806 
   12807 done
   12808 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12809 rm -f conftest.i conftest.err conftest.$ac_ext
   12810 if $ac_preproc_ok; then :
   12811 
   12812 else
   12813   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12815 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   12816 See \`config.log' for more details" "$LINENO" 5; }
   12817 fi
   12818 
   12819 ac_ext=c
   12820 ac_cpp='$CPP $CPPFLAGS'
   12821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12824 
   12825 else
   12826   _lt_caught_CXX_error=yes
   12827 fi
   12828 
   12829 ac_ext=cpp
   12830 ac_cpp='$CXXCPP $CPPFLAGS'
   12831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12834 
   12835 archive_cmds_need_lc_CXX=no
   12836 allow_undefined_flag_CXX=
   12837 always_export_symbols_CXX=no
   12838 archive_expsym_cmds_CXX=
   12839 compiler_needs_object_CXX=no
   12840 export_dynamic_flag_spec_CXX=
   12841 hardcode_direct_CXX=no
   12842 hardcode_direct_absolute_CXX=no
   12843 hardcode_libdir_flag_spec_CXX=
   12844 hardcode_libdir_flag_spec_ld_CXX=
   12845 hardcode_libdir_separator_CXX=
   12846 hardcode_minus_L_CXX=no
   12847 hardcode_shlibpath_var_CXX=unsupported
   12848 hardcode_automatic_CXX=no
   12849 inherit_rpath_CXX=no
   12850 module_cmds_CXX=
   12851 module_expsym_cmds_CXX=
   12852 link_all_deplibs_CXX=unknown
   12853 old_archive_cmds_CXX=$old_archive_cmds
   12854 reload_flag_CXX=$reload_flag
   12855 reload_cmds_CXX=$reload_cmds
   12856 no_undefined_flag_CXX=
   12857 whole_archive_flag_spec_CXX=
   12858 enable_shared_with_static_runtimes_CXX=no
   12859 
   12860 # Source file extension for C++ test sources.
   12861 ac_ext=cpp
   12862 
   12863 # Object file extension for compiled C++ test sources.
   12864 objext=o
   12865 objext_CXX=$objext
   12866 
   12867 # No sense in running all these tests if we already determined that
   12868 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12869 # are currently assumed to apply to all compilers on this platform,
   12870 # and will be corrupted by setting them based on a non-working compiler.
   12871 if test "$_lt_caught_CXX_error" != yes; then
   12872   # Code to be used in simple compile tests
   12873   lt_simple_compile_test_code="int some_variable = 0;"
   12874 
   12875   # Code to be used in simple link tests
   12876   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12877 
   12878   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12879 
   12880 
   12881 
   12882 
   12883 
   12884 
   12885 # If no C compiler was specified, use CC.
   12886 LTCC=${LTCC-"$CC"}
   12887 
   12888 # If no C compiler flags were specified, use CFLAGS.
   12889 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12890 
   12891 # Allow CC to be a program name with arguments.
   12892 compiler=$CC
   12893 
   12894 
   12895   # save warnings/boilerplate of simple test code
   12896   ac_outfile=conftest.$ac_objext
   12897 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12898 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12899 _lt_compiler_boilerplate=`cat conftest.err`
   12900 $RM conftest*
   12901 
   12902   ac_outfile=conftest.$ac_objext
   12903 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12904 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12905 _lt_linker_boilerplate=`cat conftest.err`
   12906 $RM -r conftest*
   12907 
   12908 
   12909   # Allow CC to be a program name with arguments.
   12910   lt_save_CC=$CC
   12911   lt_save_LD=$LD
   12912   lt_save_GCC=$GCC
   12913   GCC=$GXX
   12914   lt_save_with_gnu_ld=$with_gnu_ld
   12915   lt_save_path_LD=$lt_cv_path_LD
   12916   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12917     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12918   else
   12919     $as_unset lt_cv_prog_gnu_ld
   12920   fi
   12921   if test -n "${lt_cv_path_LDCXX+set}"; then
   12922     lt_cv_path_LD=$lt_cv_path_LDCXX
   12923   else
   12924     $as_unset lt_cv_path_LD
   12925   fi
   12926   test -z "${LDCXX+set}" || LD=$LDCXX
   12927   CC=${CXX-"c++"}
   12928   compiler=$CC
   12929   compiler_CXX=$CC
   12930   for cc_temp in $compiler""; do
   12931   case $cc_temp in
   12932     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12933     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12934     \-*) ;;
   12935     *) break;;
   12936   esac
   12937 done
   12938 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12939 
   12940 
   12941   if test -n "$compiler"; then
   12942     # We don't want -fno-exception when compiling C++ code, so set the
   12943     # no_builtin_flag separately
   12944     if test "$GXX" = yes; then
   12945       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12946     else
   12947       lt_prog_compiler_no_builtin_flag_CXX=
   12948     fi
   12949 
   12950     if test "$GXX" = yes; then
   12951       # Set up default GNU C++ configuration
   12952 
   12953 
   12954 
   12955 # Check whether --with-gnu-ld was given.
   12956 if test "${with_gnu_ld+set}" = set; then :
   12957   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12958 else
   12959   with_gnu_ld=no
   12960 fi
   12961 
   12962 ac_prog=ld
   12963 if test "$GCC" = yes; then
   12964   # Check if gcc -print-prog-name=ld gives a path.
   12965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12966 $as_echo_n "checking for ld used by $CC... " >&6; }
   12967   case $host in
   12968   *-*-mingw*)
   12969     # gcc leaves a trailing carriage return which upsets mingw
   12970     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12971   *)
   12972     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12973   esac
   12974   case $ac_prog in
   12975     # Accept absolute paths.
   12976     [\\/]* | ?:[\\/]*)
   12977       re_direlt='/[^/][^/]*/\.\./'
   12978       # Canonicalize the pathname of ld
   12979       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12980       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12981 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12982       done
   12983       test -z "$LD" && LD="$ac_prog"
   12984       ;;
   12985   "")
   12986     # If it fails, then pretend we aren't using GCC.
   12987     ac_prog=ld
   12988     ;;
   12989   *)
   12990     # If it is relative, then search for the first ld in PATH.
   12991     with_gnu_ld=unknown
   12992     ;;
   12993   esac
   12994 elif test "$with_gnu_ld" = yes; then
   12995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12996 $as_echo_n "checking for GNU ld... " >&6; }
   12997 else
   12998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12999 $as_echo_n "checking for non-GNU ld... " >&6; }
   13000 fi
   13001 if ${lt_cv_path_LD+:} false; then :
   13002   $as_echo_n "(cached) " >&6
   13003 else
   13004   if test -z "$LD"; then
   13005   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   13006   for ac_dir in $PATH; do
   13007     IFS="$lt_save_ifs"
   13008     test -z "$ac_dir" && ac_dir=.
   13009     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13010       lt_cv_path_LD="$ac_dir/$ac_prog"
   13011       # Check to see if the program is GNU ld.  I'd rather use --version,
   13012       # but apparently some variants of GNU ld only accept -v.
   13013       # Break only if it was the GNU/non-GNU ld that we prefer.
   13014       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   13015       *GNU* | *'with BFD'*)
   13016 	test "$with_gnu_ld" != no && break
   13017 	;;
   13018       *)
   13019 	test "$with_gnu_ld" != yes && break
   13020 	;;
   13021       esac
   13022     fi
   13023   done
   13024   IFS="$lt_save_ifs"
   13025 else
   13026   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   13027 fi
   13028 fi
   13029 
   13030 LD="$lt_cv_path_LD"
   13031 if test -n "$LD"; then
   13032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13033 $as_echo "$LD" >&6; }
   13034 else
   13035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13036 $as_echo "no" >&6; }
   13037 fi
   13038 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13040 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13041 if ${lt_cv_prog_gnu_ld+:} false; then :
   13042   $as_echo_n "(cached) " >&6
   13043 else
   13044   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   13045 case `$LD -v 2>&1 </dev/null` in
   13046 *GNU* | *'with BFD'*)
   13047   lt_cv_prog_gnu_ld=yes
   13048   ;;
   13049 *)
   13050   lt_cv_prog_gnu_ld=no
   13051   ;;
   13052 esac
   13053 fi
   13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   13055 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   13056 with_gnu_ld=$lt_cv_prog_gnu_ld
   13057 
   13058 
   13059 
   13060 
   13061 
   13062 
   13063 
   13064       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   13065       # archiving commands below assume that GNU ld is being used.
   13066       if test "$with_gnu_ld" = yes; then
   13067         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13068         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'
   13069 
   13070         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13071         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13072 
   13073         # If archive_cmds runs LD, not CC, wlarc should be empty
   13074         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   13075         #     investigate it a little bit more. (MM)
   13076         wlarc='${wl}'
   13077 
   13078         # ancient GNU ld didn't support --whole-archive et. al.
   13079         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   13080 	  $GREP 'no-whole-archive' > /dev/null; then
   13081           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13082         else
   13083           whole_archive_flag_spec_CXX=
   13084         fi
   13085       else
   13086         with_gnu_ld=no
   13087         wlarc=
   13088 
   13089         # A generic and very simple default shared library creation
   13090         # command for GNU C++ for the case where it uses the native
   13091         # linker, instead of GNU ld.  If possible, this setting should
   13092         # overridden to take advantage of the native linker features on
   13093         # the platform it is being used on.
   13094         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13095       fi
   13096 
   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       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13101 
   13102     else
   13103       GXX=no
   13104       with_gnu_ld=no
   13105       wlarc=
   13106     fi
   13107 
   13108     # PORTME: fill in a description of your system's C++ link characteristics
   13109     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13110 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13111     ld_shlibs_CXX=yes
   13112     case $host_os in
   13113       aix3*)
   13114         # FIXME: insert proper C++ library support
   13115         ld_shlibs_CXX=no
   13116         ;;
   13117       aix[4-9]*)
   13118         if test "$host_cpu" = ia64; then
   13119           # On IA64, the linker does run time linking by default, so we don't
   13120           # have to do anything special.
   13121           aix_use_runtimelinking=no
   13122           exp_sym_flag='-Bexport'
   13123           no_entry_flag=""
   13124         else
   13125           aix_use_runtimelinking=no
   13126 
   13127           # Test if we are trying to use run time linking or normal
   13128           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13129           # need to do runtime linking.
   13130           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13131 	    for ld_flag in $LDFLAGS; do
   13132 	      case $ld_flag in
   13133 	      *-brtl*)
   13134 	        aix_use_runtimelinking=yes
   13135 	        break
   13136 	        ;;
   13137 	      esac
   13138 	    done
   13139 	    ;;
   13140           esac
   13141 
   13142           exp_sym_flag='-bexport'
   13143           no_entry_flag='-bnoentry'
   13144         fi
   13145 
   13146         # When large executables or shared objects are built, AIX ld can
   13147         # have problems creating the table of contents.  If linking a library
   13148         # or program results in "error TOC overflow" add -mminimal-toc to
   13149         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13150         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13151 
   13152         archive_cmds_CXX=''
   13153         hardcode_direct_CXX=yes
   13154         hardcode_direct_absolute_CXX=yes
   13155         hardcode_libdir_separator_CXX=':'
   13156         link_all_deplibs_CXX=yes
   13157         file_list_spec_CXX='${wl}-f,'
   13158 
   13159         if test "$GXX" = yes; then
   13160           case $host_os in aix4.[012]|aix4.[012].*)
   13161           # We only want to do this on AIX 4.2 and lower, the check
   13162           # below for broken collect2 doesn't work under 4.3+
   13163 	  collect2name=`${CC} -print-prog-name=collect2`
   13164 	  if test -f "$collect2name" &&
   13165 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13166 	  then
   13167 	    # We have reworked collect2
   13168 	    :
   13169 	  else
   13170 	    # We have old collect2
   13171 	    hardcode_direct_CXX=unsupported
   13172 	    # It fails to find uninstalled libraries when the uninstalled
   13173 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13174 	    # to unsupported forces relinking
   13175 	    hardcode_minus_L_CXX=yes
   13176 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13177 	    hardcode_libdir_separator_CXX=
   13178 	  fi
   13179           esac
   13180           shared_flag='-shared'
   13181 	  if test "$aix_use_runtimelinking" = yes; then
   13182 	    shared_flag="$shared_flag "'${wl}-G'
   13183 	  fi
   13184         else
   13185           # not using gcc
   13186           if test "$host_cpu" = ia64; then
   13187 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13188 	  # chokes on -Wl,-G. The following line is correct:
   13189 	  shared_flag='-G'
   13190           else
   13191 	    if test "$aix_use_runtimelinking" = yes; then
   13192 	      shared_flag='${wl}-G'
   13193 	    else
   13194 	      shared_flag='${wl}-bM:SRE'
   13195 	    fi
   13196           fi
   13197         fi
   13198 
   13199         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   13200         # It seems that -bexpall does not export symbols beginning with
   13201         # underscore (_), so it is better to generate a list of symbols to
   13202 	# export.
   13203         always_export_symbols_CXX=yes
   13204         if test "$aix_use_runtimelinking" = yes; then
   13205           # Warning - without using the other runtime loading flags (-brtl),
   13206           # -berok will link without error, but may produce a broken library.
   13207           allow_undefined_flag_CXX='-berok'
   13208           # Determine the default libpath from the value encoded in an empty
   13209           # executable.
   13210           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13211 /* end confdefs.h.  */
   13212 
   13213 int
   13214 main ()
   13215 {
   13216 
   13217   ;
   13218   return 0;
   13219 }
   13220 _ACEOF
   13221 if ac_fn_cxx_try_link "$LINENO"; then :
   13222 
   13223 lt_aix_libpath_sed='
   13224     /Import File Strings/,/^$/ {
   13225 	/^0/ {
   13226 	    s/^0  *\(.*\)$/\1/
   13227 	    p
   13228 	}
   13229     }'
   13230 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13231 # Check for a 64-bit object if we didn't find anything.
   13232 if test -z "$aix_libpath"; then
   13233   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13234 fi
   13235 fi
   13236 rm -f core conftest.err conftest.$ac_objext \
   13237     conftest$ac_exeext conftest.$ac_ext
   13238 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13239 
   13240           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13241 
   13242           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"
   13243         else
   13244           if test "$host_cpu" = ia64; then
   13245 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   13246 	    allow_undefined_flag_CXX="-z nodefs"
   13247 	    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"
   13248           else
   13249 	    # Determine the default libpath from the value encoded in an
   13250 	    # empty executable.
   13251 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13252 /* end confdefs.h.  */
   13253 
   13254 int
   13255 main ()
   13256 {
   13257 
   13258   ;
   13259   return 0;
   13260 }
   13261 _ACEOF
   13262 if ac_fn_cxx_try_link "$LINENO"; then :
   13263 
   13264 lt_aix_libpath_sed='
   13265     /Import File Strings/,/^$/ {
   13266 	/^0/ {
   13267 	    s/^0  *\(.*\)$/\1/
   13268 	    p
   13269 	}
   13270     }'
   13271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13272 # Check for a 64-bit object if we didn't find anything.
   13273 if test -z "$aix_libpath"; then
   13274   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13275 fi
   13276 fi
   13277 rm -f core conftest.err conftest.$ac_objext \
   13278     conftest$ac_exeext conftest.$ac_ext
   13279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13280 
   13281 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13282 	    # Warning - without using the other run time loading flags,
   13283 	    # -berok will link without error, but may produce a broken library.
   13284 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13285 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13286 	    if test "$with_gnu_ld" = yes; then
   13287 	      # We only use this code for GNU lds that support --whole-archive.
   13288 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13289 	    else
   13290 	      # Exported symbols can be pulled into shared objects from archives
   13291 	      whole_archive_flag_spec_CXX='$convenience'
   13292 	    fi
   13293 	    archive_cmds_need_lc_CXX=yes
   13294 	    # This is similar to how AIX traditionally builds its shared
   13295 	    # libraries.
   13296 	    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'
   13297           fi
   13298         fi
   13299         ;;
   13300 
   13301       beos*)
   13302 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13303 	  allow_undefined_flag_CXX=unsupported
   13304 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13305 	  # support --undefined.  This deserves some investigation.  FIXME
   13306 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13307 	else
   13308 	  ld_shlibs_CXX=no
   13309 	fi
   13310 	;;
   13311 
   13312       chorus*)
   13313         case $cc_basename in
   13314           *)
   13315 	  # FIXME: insert proper C++ library support
   13316 	  ld_shlibs_CXX=no
   13317 	  ;;
   13318         esac
   13319         ;;
   13320 
   13321       cygwin* | mingw* | pw32* | cegcc*)
   13322         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13323         # as there is no search path for DLLs.
   13324         hardcode_libdir_flag_spec_CXX='-L$libdir'
   13325         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13326         allow_undefined_flag_CXX=unsupported
   13327         always_export_symbols_CXX=no
   13328         enable_shared_with_static_runtimes_CXX=yes
   13329 
   13330         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13331           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'
   13332           # If the export-symbols file already is a .def file (1st line
   13333           # is EXPORTS), use it as is; otherwise, prepend...
   13334           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13335 	    cp $export_symbols $output_objdir/$soname.def;
   13336           else
   13337 	    echo EXPORTS > $output_objdir/$soname.def;
   13338 	    cat $export_symbols >> $output_objdir/$soname.def;
   13339           fi~
   13340           $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'
   13341         else
   13342           ld_shlibs_CXX=no
   13343         fi
   13344         ;;
   13345       darwin* | rhapsody*)
   13346 
   13347 
   13348   archive_cmds_need_lc_CXX=no
   13349   hardcode_direct_CXX=no
   13350   hardcode_automatic_CXX=yes
   13351   hardcode_shlibpath_var_CXX=unsupported
   13352   if test "$lt_cv_ld_force_load" = "yes"; then
   13353     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\"`'
   13354   else
   13355     whole_archive_flag_spec_CXX=''
   13356   fi
   13357   link_all_deplibs_CXX=yes
   13358   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13359   case $cc_basename in
   13360      ifort*) _lt_dar_can_shared=yes ;;
   13361      *) _lt_dar_can_shared=$GCC ;;
   13362   esac
   13363   if test "$_lt_dar_can_shared" = "yes"; then
   13364     output_verbose_link_cmd=func_echo_all
   13365     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}"
   13366     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13367     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}"
   13368     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}"
   13369        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13370       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}"
   13371       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}"
   13372     fi
   13373 
   13374   else
   13375   ld_shlibs_CXX=no
   13376   fi
   13377 
   13378 	;;
   13379 
   13380       dgux*)
   13381         case $cc_basename in
   13382           ec++*)
   13383 	    # FIXME: insert proper C++ library support
   13384 	    ld_shlibs_CXX=no
   13385 	    ;;
   13386           ghcx*)
   13387 	    # Green Hills C++ Compiler
   13388 	    # FIXME: insert proper C++ library support
   13389 	    ld_shlibs_CXX=no
   13390 	    ;;
   13391           *)
   13392 	    # FIXME: insert proper C++ library support
   13393 	    ld_shlibs_CXX=no
   13394 	    ;;
   13395         esac
   13396         ;;
   13397 
   13398       freebsd2.*)
   13399         # C++ shared libraries reported to be fairly broken before
   13400 	# switch to ELF
   13401         ld_shlibs_CXX=no
   13402         ;;
   13403 
   13404       freebsd-elf*)
   13405         archive_cmds_need_lc_CXX=no
   13406         ;;
   13407 
   13408       freebsd* | dragonfly*)
   13409         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13410         # conventions
   13411         ld_shlibs_CXX=yes
   13412         ;;
   13413 
   13414       gnu*)
   13415         ;;
   13416 
   13417       haiku*)
   13418         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13419         link_all_deplibs_CXX=yes
   13420         ;;
   13421 
   13422       hpux9*)
   13423         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13424         hardcode_libdir_separator_CXX=:
   13425         export_dynamic_flag_spec_CXX='${wl}-E'
   13426         hardcode_direct_CXX=yes
   13427         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13428 				             # but as the default
   13429 				             # location of the library.
   13430 
   13431         case $cc_basename in
   13432           CC*)
   13433             # FIXME: insert proper C++ library support
   13434             ld_shlibs_CXX=no
   13435             ;;
   13436           aCC*)
   13437             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'
   13438             # Commands to make compiler produce verbose output that lists
   13439             # what "hidden" libraries, object files and flags are used when
   13440             # linking a shared library.
   13441             #
   13442             # There doesn't appear to be a way to prevent this compiler from
   13443             # explicitly linking system object files so we need to strip them
   13444             # from the output so that they don't get included in the library
   13445             # dependencies.
   13446             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"'
   13447             ;;
   13448           *)
   13449             if test "$GXX" = yes; then
   13450               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'
   13451             else
   13452               # FIXME: insert proper C++ library support
   13453               ld_shlibs_CXX=no
   13454             fi
   13455             ;;
   13456         esac
   13457         ;;
   13458 
   13459       hpux10*|hpux11*)
   13460         if test $with_gnu_ld = no; then
   13461 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13462 	  hardcode_libdir_separator_CXX=:
   13463 
   13464           case $host_cpu in
   13465             hppa*64*|ia64*)
   13466               ;;
   13467             *)
   13468 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13469               ;;
   13470           esac
   13471         fi
   13472         case $host_cpu in
   13473           hppa*64*|ia64*)
   13474             hardcode_direct_CXX=no
   13475             hardcode_shlibpath_var_CXX=no
   13476             ;;
   13477           *)
   13478             hardcode_direct_CXX=yes
   13479             hardcode_direct_absolute_CXX=yes
   13480             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13481 					         # but as the default
   13482 					         # location of the library.
   13483             ;;
   13484         esac
   13485 
   13486         case $cc_basename in
   13487           CC*)
   13488 	    # FIXME: insert proper C++ library support
   13489 	    ld_shlibs_CXX=no
   13490 	    ;;
   13491           aCC*)
   13492 	    case $host_cpu in
   13493 	      hppa*64*)
   13494 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13495 	        ;;
   13496 	      ia64*)
   13497 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13498 	        ;;
   13499 	      *)
   13500 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13501 	        ;;
   13502 	    esac
   13503 	    # Commands to make compiler produce verbose output that lists
   13504 	    # what "hidden" libraries, object files and flags are used when
   13505 	    # linking a shared library.
   13506 	    #
   13507 	    # There doesn't appear to be a way to prevent this compiler from
   13508 	    # explicitly linking system object files so we need to strip them
   13509 	    # from the output so that they don't get included in the library
   13510 	    # dependencies.
   13511 	    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"'
   13512 	    ;;
   13513           *)
   13514 	    if test "$GXX" = yes; then
   13515 	      if test $with_gnu_ld = no; then
   13516 	        case $host_cpu in
   13517 	          hppa*64*)
   13518 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13519 	            ;;
   13520 	          ia64*)
   13521 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13522 	            ;;
   13523 	          *)
   13524 	            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'
   13525 	            ;;
   13526 	        esac
   13527 	      fi
   13528 	    else
   13529 	      # FIXME: insert proper C++ library support
   13530 	      ld_shlibs_CXX=no
   13531 	    fi
   13532 	    ;;
   13533         esac
   13534         ;;
   13535 
   13536       interix[3-9]*)
   13537 	hardcode_direct_CXX=no
   13538 	hardcode_shlibpath_var_CXX=no
   13539 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13540 	export_dynamic_flag_spec_CXX='${wl}-E'
   13541 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13542 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13543 	# default) and relocated if they conflict, which is a slow very memory
   13544 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13545 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13546 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13547 	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'
   13548 	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'
   13549 	;;
   13550       irix5* | irix6*)
   13551         case $cc_basename in
   13552           CC*)
   13553 	    # SGI C++
   13554 	    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'
   13555 
   13556 	    # Archives containing C++ object files must be created using
   13557 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13558 	    # necessary to make sure instantiated templates are included
   13559 	    # in the archive.
   13560 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13561 	    ;;
   13562           *)
   13563 	    if test "$GXX" = yes; then
   13564 	      if test "$with_gnu_ld" = no; then
   13565 	        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'
   13566 	      else
   13567 	        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'
   13568 	      fi
   13569 	    fi
   13570 	    link_all_deplibs_CXX=yes
   13571 	    ;;
   13572         esac
   13573         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13574         hardcode_libdir_separator_CXX=:
   13575         inherit_rpath_CXX=yes
   13576         ;;
   13577 
   13578       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13579         case $cc_basename in
   13580           KCC*)
   13581 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13582 
   13583 	    # KCC will only create a shared library if the output file
   13584 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13585 	    # to its proper name (with version) after linking.
   13586 	    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'
   13587 	    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'
   13588 	    # Commands to make compiler produce verbose output that lists
   13589 	    # what "hidden" libraries, object files and flags are used when
   13590 	    # linking a shared library.
   13591 	    #
   13592 	    # There doesn't appear to be a way to prevent this compiler from
   13593 	    # explicitly linking system object files so we need to strip them
   13594 	    # from the output so that they don't get included in the library
   13595 	    # dependencies.
   13596 	    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"'
   13597 
   13598 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13599 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13600 
   13601 	    # Archives containing C++ object files must be created using
   13602 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13603 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13604 	    ;;
   13605 	  icpc* | ecpc* )
   13606 	    # Intel C++
   13607 	    with_gnu_ld=yes
   13608 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13609 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13610 	    # earlier do not add the objects themselves.
   13611 	    case `$CC -V 2>&1` in
   13612 	      *"Version 7."*)
   13613 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13614 		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'
   13615 		;;
   13616 	      *)  # Version 8.0 or newer
   13617 	        tmp_idyn=
   13618 	        case $host_cpu in
   13619 		  ia64*) tmp_idyn=' -i_dynamic';;
   13620 		esac
   13621 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13622 		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'
   13623 		;;
   13624 	    esac
   13625 	    archive_cmds_need_lc_CXX=no
   13626 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13627 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13628 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13629 	    ;;
   13630           pgCC* | pgcpp*)
   13631             # Portland Group C++ compiler
   13632 	    case `$CC -V` in
   13633 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13634 	      prelink_cmds_CXX='tpldir=Template.dir~
   13635 		rm -rf $tpldir~
   13636 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13637 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13638 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13639 		rm -rf $tpldir~
   13640 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13641 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13642 		$RANLIB $oldlib'
   13643 	      archive_cmds_CXX='tpldir=Template.dir~
   13644 		rm -rf $tpldir~
   13645 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13646 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13647 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13648 		rm -rf $tpldir~
   13649 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13650 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13651 	      ;;
   13652 	    *) # Version 6 and above use weak symbols
   13653 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13654 	      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'
   13655 	      ;;
   13656 	    esac
   13657 
   13658 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13659 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13660 	    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'
   13661             ;;
   13662 	  cxx*)
   13663 	    # Compaq C++
   13664 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13665 	    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'
   13666 
   13667 	    runpath_var=LD_RUN_PATH
   13668 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13669 	    hardcode_libdir_separator_CXX=:
   13670 
   13671 	    # Commands to make compiler produce verbose output that lists
   13672 	    # what "hidden" libraries, object files and flags are used when
   13673 	    # linking a shared library.
   13674 	    #
   13675 	    # There doesn't appear to be a way to prevent this compiler from
   13676 	    # explicitly linking system object files so we need to strip them
   13677 	    # from the output so that they don't get included in the library
   13678 	    # dependencies.
   13679 	    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'
   13680 	    ;;
   13681 	  xl* | mpixl* | bgxl*)
   13682 	    # IBM XL 8.0 on PPC, with GNU ld
   13683 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13684 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13685 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13686 	    if test "x$supports_anon_versioning" = xyes; then
   13687 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13688 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13689 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13690 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13691 	    fi
   13692 	    ;;
   13693 	  *)
   13694 	    case `$CC -V 2>&1 | sed 5q` in
   13695 	    *Sun\ C*)
   13696 	      # Sun C++ 5.9
   13697 	      no_undefined_flag_CXX=' -zdefs'
   13698 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13699 	      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'
   13700 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13701 	      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'
   13702 	      compiler_needs_object_CXX=yes
   13703 
   13704 	      # Not sure whether something based on
   13705 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13706 	      # would be better.
   13707 	      output_verbose_link_cmd='func_echo_all'
   13708 
   13709 	      # Archives containing C++ object files must be created using
   13710 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13711 	      # necessary to make sure instantiated templates are included
   13712 	      # in the archive.
   13713 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13714 	      ;;
   13715 	    esac
   13716 	    ;;
   13717 	esac
   13718 	;;
   13719 
   13720       lynxos*)
   13721         # FIXME: insert proper C++ library support
   13722 	ld_shlibs_CXX=no
   13723 	;;
   13724 
   13725       m88k*)
   13726         # FIXME: insert proper C++ library support
   13727         ld_shlibs_CXX=no
   13728 	;;
   13729 
   13730       mvs*)
   13731         case $cc_basename in
   13732           cxx*)
   13733 	    # FIXME: insert proper C++ library support
   13734 	    ld_shlibs_CXX=no
   13735 	    ;;
   13736 	  *)
   13737 	    # FIXME: insert proper C++ library support
   13738 	    ld_shlibs_CXX=no
   13739 	    ;;
   13740 	esac
   13741 	;;
   13742 
   13743       netbsd*)
   13744         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13745 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   13746 	  wlarc=
   13747 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   13748 	  hardcode_direct_CXX=yes
   13749 	  hardcode_shlibpath_var_CXX=no
   13750 	fi
   13751 	# Workaround some broken pre-1.5 toolchains
   13752 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   13753 	;;
   13754 
   13755       *nto* | *qnx*)
   13756         ld_shlibs_CXX=yes
   13757 	;;
   13758 
   13759       openbsd2*)
   13760         # C++ shared libraries are fairly broken
   13761 	ld_shlibs_CXX=no
   13762 	;;
   13763 
   13764       openbsd*)
   13765 	if test -f /usr/libexec/ld.so; then
   13766 	  hardcode_direct_CXX=yes
   13767 	  hardcode_shlibpath_var_CXX=no
   13768 	  hardcode_direct_absolute_CXX=yes
   13769 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13770 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13771 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13772 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   13773 	    export_dynamic_flag_spec_CXX='${wl}-E'
   13774 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13775 	  fi
   13776 	  output_verbose_link_cmd=func_echo_all
   13777 	else
   13778 	  ld_shlibs_CXX=no
   13779 	fi
   13780 	;;
   13781 
   13782       osf3* | osf4* | osf5*)
   13783         case $cc_basename in
   13784           KCC*)
   13785 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13786 
   13787 	    # KCC will only create a shared library if the output file
   13788 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13789 	    # to its proper name (with version) after linking.
   13790 	    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'
   13791 
   13792 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13793 	    hardcode_libdir_separator_CXX=:
   13794 
   13795 	    # Archives containing C++ object files must be created using
   13796 	    # the KAI C++ compiler.
   13797 	    case $host in
   13798 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   13799 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   13800 	    esac
   13801 	    ;;
   13802           RCC*)
   13803 	    # Rational C++ 2.4.1
   13804 	    # FIXME: insert proper C++ library support
   13805 	    ld_shlibs_CXX=no
   13806 	    ;;
   13807           cxx*)
   13808 	    case $host in
   13809 	      osf3*)
   13810 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13811 	        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'
   13812 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13813 		;;
   13814 	      *)
   13815 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   13816 	        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'
   13817 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   13818 	          echo "-hidden">> $lib.exp~
   13819 	          $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~
   13820 	          $RM $lib.exp'
   13821 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13822 		;;
   13823 	    esac
   13824 
   13825 	    hardcode_libdir_separator_CXX=:
   13826 
   13827 	    # Commands to make compiler produce verbose output that lists
   13828 	    # what "hidden" libraries, object files and flags are used when
   13829 	    # linking a shared library.
   13830 	    #
   13831 	    # There doesn't appear to be a way to prevent this compiler from
   13832 	    # explicitly linking system object files so we need to strip them
   13833 	    # from the output so that they don't get included in the library
   13834 	    # dependencies.
   13835 	    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"'
   13836 	    ;;
   13837 	  *)
   13838 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13839 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13840 	      case $host in
   13841 	        osf3*)
   13842 	          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'
   13843 		  ;;
   13844 	        *)
   13845 	          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'
   13846 		  ;;
   13847 	      esac
   13848 
   13849 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13850 	      hardcode_libdir_separator_CXX=:
   13851 
   13852 	      # Commands to make compiler produce verbose output that lists
   13853 	      # what "hidden" libraries, object files and flags are used when
   13854 	      # linking a shared library.
   13855 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13856 
   13857 	    else
   13858 	      # FIXME: insert proper C++ library support
   13859 	      ld_shlibs_CXX=no
   13860 	    fi
   13861 	    ;;
   13862         esac
   13863         ;;
   13864 
   13865       psos*)
   13866         # FIXME: insert proper C++ library support
   13867         ld_shlibs_CXX=no
   13868         ;;
   13869 
   13870       sunos4*)
   13871         case $cc_basename in
   13872           CC*)
   13873 	    # Sun C++ 4.x
   13874 	    # FIXME: insert proper C++ library support
   13875 	    ld_shlibs_CXX=no
   13876 	    ;;
   13877           lcc*)
   13878 	    # Lucid
   13879 	    # FIXME: insert proper C++ library support
   13880 	    ld_shlibs_CXX=no
   13881 	    ;;
   13882           *)
   13883 	    # FIXME: insert proper C++ library support
   13884 	    ld_shlibs_CXX=no
   13885 	    ;;
   13886         esac
   13887         ;;
   13888 
   13889       solaris*)
   13890         case $cc_basename in
   13891           CC*)
   13892 	    # Sun C++ 4.2, 5.x and Centerline C++
   13893             archive_cmds_need_lc_CXX=yes
   13894 	    no_undefined_flag_CXX=' -zdefs'
   13895 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13896 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13897 	      $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'
   13898 
   13899 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13900 	    hardcode_shlibpath_var_CXX=no
   13901 	    case $host_os in
   13902 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13903 	      *)
   13904 		# The compiler driver will combine and reorder linker options,
   13905 		# but understands `-z linker_flag'.
   13906 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13907 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13908 	        ;;
   13909 	    esac
   13910 	    link_all_deplibs_CXX=yes
   13911 
   13912 	    output_verbose_link_cmd='func_echo_all'
   13913 
   13914 	    # Archives containing C++ object files must be created using
   13915 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13916 	    # necessary to make sure instantiated templates are included
   13917 	    # in the archive.
   13918 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13919 	    ;;
   13920           gcx*)
   13921 	    # Green Hills C++ Compiler
   13922 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13923 
   13924 	    # The C++ compiler must be used to create the archive.
   13925 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13926 	    ;;
   13927           *)
   13928 	    # GNU C++ compiler with Solaris linker
   13929 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13930 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13931 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13932 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13933 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13934 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13935 
   13936 	        # Commands to make compiler produce verbose output that lists
   13937 	        # what "hidden" libraries, object files and flags are used when
   13938 	        # linking a shared library.
   13939 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13940 	      else
   13941 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13942 	        # platform.
   13943 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13944 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13945 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13946 
   13947 	        # Commands to make compiler produce verbose output that lists
   13948 	        # what "hidden" libraries, object files and flags are used when
   13949 	        # linking a shared library.
   13950 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13951 	      fi
   13952 
   13953 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13954 	      case $host_os in
   13955 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13956 		*)
   13957 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13958 		  ;;
   13959 	      esac
   13960 	    fi
   13961 	    ;;
   13962         esac
   13963         ;;
   13964 
   13965     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13966       no_undefined_flag_CXX='${wl}-z,text'
   13967       archive_cmds_need_lc_CXX=no
   13968       hardcode_shlibpath_var_CXX=no
   13969       runpath_var='LD_RUN_PATH'
   13970 
   13971       case $cc_basename in
   13972         CC*)
   13973 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13974 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13975 	  ;;
   13976 	*)
   13977 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13978 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13979 	  ;;
   13980       esac
   13981       ;;
   13982 
   13983       sysv5* | sco3.2v5* | sco5v6*)
   13984 	# Note: We can NOT use -z defs as we might desire, because we do not
   13985 	# link with -lc, and that would cause any symbols used from libc to
   13986 	# always be unresolved, which means just about no library would
   13987 	# ever link correctly.  If we're not using GNU ld we use -z text
   13988 	# though, which does catch some bad symbols but isn't as heavy-handed
   13989 	# as -z defs.
   13990 	no_undefined_flag_CXX='${wl}-z,text'
   13991 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13992 	archive_cmds_need_lc_CXX=no
   13993 	hardcode_shlibpath_var_CXX=no
   13994 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13995 	hardcode_libdir_separator_CXX=':'
   13996 	link_all_deplibs_CXX=yes
   13997 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13998 	runpath_var='LD_RUN_PATH'
   13999 
   14000 	case $cc_basename in
   14001           CC*)
   14002 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14003 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14004 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   14005 	      '"$old_archive_cmds_CXX"
   14006 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   14007 	      '"$reload_cmds_CXX"
   14008 	    ;;
   14009 	  *)
   14010 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14011 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14012 	    ;;
   14013 	esac
   14014       ;;
   14015 
   14016       tandem*)
   14017         case $cc_basename in
   14018           NCC*)
   14019 	    # NonStop-UX NCC 3.20
   14020 	    # FIXME: insert proper C++ library support
   14021 	    ld_shlibs_CXX=no
   14022 	    ;;
   14023           *)
   14024 	    # FIXME: insert proper C++ library support
   14025 	    ld_shlibs_CXX=no
   14026 	    ;;
   14027         esac
   14028         ;;
   14029 
   14030       vxworks*)
   14031         # FIXME: insert proper C++ library support
   14032         ld_shlibs_CXX=no
   14033         ;;
   14034 
   14035       *)
   14036         # FIXME: insert proper C++ library support
   14037         ld_shlibs_CXX=no
   14038         ;;
   14039     esac
   14040 
   14041     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14042 $as_echo "$ld_shlibs_CXX" >&6; }
   14043     test "$ld_shlibs_CXX" = no && can_build_shared=no
   14044 
   14045     GCC_CXX="$GXX"
   14046     LD_CXX="$LD"
   14047 
   14048     ## CAVEAT EMPTOR:
   14049     ## There is no encapsulation within the following macros, do not change
   14050     ## the running order or otherwise move them around unless you know exactly
   14051     ## what you are doing...
   14052     # Dependencies to place before and after the object being linked:
   14053 predep_objects_CXX=
   14054 postdep_objects_CXX=
   14055 predeps_CXX=
   14056 postdeps_CXX=
   14057 compiler_lib_search_path_CXX=
   14058 
   14059 cat > conftest.$ac_ext <<_LT_EOF
   14060 class Foo
   14061 {
   14062 public:
   14063   Foo (void) { a = 0; }
   14064 private:
   14065   int a;
   14066 };
   14067 _LT_EOF
   14068 
   14069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14070   (eval $ac_compile) 2>&5
   14071   ac_status=$?
   14072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14073   test $ac_status = 0; }; then
   14074   # Parse the compiler output and extract the necessary
   14075   # objects, libraries and library flags.
   14076 
   14077   # Sentinel used to keep track of whether or not we are before
   14078   # the conftest object file.
   14079   pre_test_object_deps_done=no
   14080 
   14081   for p in `eval "$output_verbose_link_cmd"`; do
   14082     case $p in
   14083 
   14084     -L* | -R* | -l*)
   14085        # Some compilers place space between "-{L,R}" and the path.
   14086        # Remove the space.
   14087        if test $p = "-L" ||
   14088           test $p = "-R"; then
   14089 	 prev=$p
   14090 	 continue
   14091        else
   14092 	 prev=
   14093        fi
   14094 
   14095        if test "$pre_test_object_deps_done" = no; then
   14096 	 case $p in
   14097 	 -L* | -R*)
   14098 	   # Internal compiler library paths should come after those
   14099 	   # provided the user.  The postdeps already come after the
   14100 	   # user supplied libs so there is no need to process them.
   14101 	   if test -z "$compiler_lib_search_path_CXX"; then
   14102 	     compiler_lib_search_path_CXX="${prev}${p}"
   14103 	   else
   14104 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   14105 	   fi
   14106 	   ;;
   14107 	 # The "-l" case would never come before the object being
   14108 	 # linked, so don't bother handling this case.
   14109 	 esac
   14110        else
   14111 	 if test -z "$postdeps_CXX"; then
   14112 	   postdeps_CXX="${prev}${p}"
   14113 	 else
   14114 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   14115 	 fi
   14116        fi
   14117        ;;
   14118 
   14119     *.$objext)
   14120        # This assumes that the test object file only shows up
   14121        # once in the compiler output.
   14122        if test "$p" = "conftest.$objext"; then
   14123 	 pre_test_object_deps_done=yes
   14124 	 continue
   14125        fi
   14126 
   14127        if test "$pre_test_object_deps_done" = no; then
   14128 	 if test -z "$predep_objects_CXX"; then
   14129 	   predep_objects_CXX="$p"
   14130 	 else
   14131 	   predep_objects_CXX="$predep_objects_CXX $p"
   14132 	 fi
   14133        else
   14134 	 if test -z "$postdep_objects_CXX"; then
   14135 	   postdep_objects_CXX="$p"
   14136 	 else
   14137 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14138 	 fi
   14139        fi
   14140        ;;
   14141 
   14142     *) ;; # Ignore the rest.
   14143 
   14144     esac
   14145   done
   14146 
   14147   # Clean up.
   14148   rm -f a.out a.exe
   14149 else
   14150   echo "libtool.m4: error: problem compiling CXX test program"
   14151 fi
   14152 
   14153 $RM -f confest.$objext
   14154 
   14155 # PORTME: override above test on systems where it is broken
   14156 case $host_os in
   14157 interix[3-9]*)
   14158   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14159   # hack all around it, let's just trust "g++" to DTRT.
   14160   predep_objects_CXX=
   14161   postdep_objects_CXX=
   14162   postdeps_CXX=
   14163   ;;
   14164 
   14165 linux*)
   14166   case `$CC -V 2>&1 | sed 5q` in
   14167   *Sun\ C*)
   14168     # Sun C++ 5.9
   14169 
   14170     # The more standards-conforming stlport4 library is
   14171     # incompatible with the Cstd library. Avoid specifying
   14172     # it if it's in CXXFLAGS. Ignore libCrun as
   14173     # -library=stlport4 depends on it.
   14174     case " $CXX $CXXFLAGS " in
   14175     *" -library=stlport4 "*)
   14176       solaris_use_stlport4=yes
   14177       ;;
   14178     esac
   14179 
   14180     if test "$solaris_use_stlport4" != yes; then
   14181       postdeps_CXX='-library=Cstd -library=Crun'
   14182     fi
   14183     ;;
   14184   esac
   14185   ;;
   14186 
   14187 solaris*)
   14188   case $cc_basename in
   14189   CC*)
   14190     # The more standards-conforming stlport4 library is
   14191     # incompatible with the Cstd library. Avoid specifying
   14192     # it if it's in CXXFLAGS. Ignore libCrun as
   14193     # -library=stlport4 depends on it.
   14194     case " $CXX $CXXFLAGS " in
   14195     *" -library=stlport4 "*)
   14196       solaris_use_stlport4=yes
   14197       ;;
   14198     esac
   14199 
   14200     # Adding this requires a known-good setup of shared libraries for
   14201     # Sun compiler versions before 5.6, else PIC objects from an old
   14202     # archive will be linked into the output, leading to subtle bugs.
   14203     if test "$solaris_use_stlport4" != yes; then
   14204       postdeps_CXX='-library=Cstd -library=Crun'
   14205     fi
   14206     ;;
   14207   esac
   14208   ;;
   14209 esac
   14210 
   14211 
   14212 case " $postdeps_CXX " in
   14213 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14214 esac
   14215  compiler_lib_search_dirs_CXX=
   14216 if test -n "${compiler_lib_search_path_CXX}"; then
   14217  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   14218 fi
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250     lt_prog_compiler_wl_CXX=
   14251 lt_prog_compiler_pic_CXX=
   14252 lt_prog_compiler_static_CXX=
   14253 
   14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14255 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14256 
   14257   # C++ specific cases for pic, static, wl, etc.
   14258   if test "$GXX" = yes; then
   14259     lt_prog_compiler_wl_CXX='-Wl,'
   14260     lt_prog_compiler_static_CXX='-static'
   14261 
   14262     case $host_os in
   14263     aix*)
   14264       # All AIX code is PIC.
   14265       if test "$host_cpu" = ia64; then
   14266 	# AIX 5 now supports IA64 processor
   14267 	lt_prog_compiler_static_CXX='-Bstatic'
   14268       fi
   14269       lt_prog_compiler_pic_CXX='-fPIC'
   14270       ;;
   14271 
   14272     amigaos*)
   14273       case $host_cpu in
   14274       powerpc)
   14275             # see comment about AmigaOS4 .so support
   14276             lt_prog_compiler_pic_CXX='-fPIC'
   14277         ;;
   14278       m68k)
   14279             # FIXME: we need at least 68020 code to build shared libraries, but
   14280             # adding the `-m68020' flag to GCC prevents building anything better,
   14281             # like `-m68040'.
   14282             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14283         ;;
   14284       esac
   14285       ;;
   14286 
   14287     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14288       # PIC is the default for these OSes.
   14289       ;;
   14290     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14291       # This hack is so that the source file can tell whether it is being
   14292       # built for inclusion in a dll (and should export symbols for example).
   14293       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14294       # (--disable-auto-import) libraries
   14295       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14296       ;;
   14297     darwin* | rhapsody*)
   14298       # PIC is the default on this platform
   14299       # Common symbols not allowed in MH_DYLIB files
   14300       lt_prog_compiler_pic_CXX='-fno-common'
   14301       ;;
   14302     *djgpp*)
   14303       # DJGPP does not support shared libraries at all
   14304       lt_prog_compiler_pic_CXX=
   14305       ;;
   14306     haiku*)
   14307       # PIC is the default for Haiku.
   14308       # The "-static" flag exists, but is broken.
   14309       lt_prog_compiler_static_CXX=
   14310       ;;
   14311     interix[3-9]*)
   14312       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14313       # Instead, we relocate shared libraries at runtime.
   14314       ;;
   14315     sysv4*MP*)
   14316       if test -d /usr/nec; then
   14317 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14318       fi
   14319       ;;
   14320     hpux*)
   14321       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14322       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14323       # sets the default TLS model and affects inlining.
   14324       case $host_cpu in
   14325       hppa*64*)
   14326 	;;
   14327       *)
   14328 	lt_prog_compiler_pic_CXX='-fPIC'
   14329 	;;
   14330       esac
   14331       ;;
   14332     *qnx* | *nto*)
   14333       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14334       # it will coredump.
   14335       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14336       ;;
   14337     *)
   14338       lt_prog_compiler_pic_CXX='-fPIC'
   14339       ;;
   14340     esac
   14341   else
   14342     case $host_os in
   14343       aix[4-9]*)
   14344 	# All AIX code is PIC.
   14345 	if test "$host_cpu" = ia64; then
   14346 	  # AIX 5 now supports IA64 processor
   14347 	  lt_prog_compiler_static_CXX='-Bstatic'
   14348 	else
   14349 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14350 	fi
   14351 	;;
   14352       chorus*)
   14353 	case $cc_basename in
   14354 	cxch68*)
   14355 	  # Green Hills C++ Compiler
   14356 	  # _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"
   14357 	  ;;
   14358 	esac
   14359 	;;
   14360       dgux*)
   14361 	case $cc_basename in
   14362 	  ec++*)
   14363 	    lt_prog_compiler_pic_CXX='-KPIC'
   14364 	    ;;
   14365 	  ghcx*)
   14366 	    # Green Hills C++ Compiler
   14367 	    lt_prog_compiler_pic_CXX='-pic'
   14368 	    ;;
   14369 	  *)
   14370 	    ;;
   14371 	esac
   14372 	;;
   14373       freebsd* | dragonfly*)
   14374 	# FreeBSD uses GNU C++
   14375 	;;
   14376       hpux9* | hpux10* | hpux11*)
   14377 	case $cc_basename in
   14378 	  CC*)
   14379 	    lt_prog_compiler_wl_CXX='-Wl,'
   14380 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14381 	    if test "$host_cpu" != ia64; then
   14382 	      lt_prog_compiler_pic_CXX='+Z'
   14383 	    fi
   14384 	    ;;
   14385 	  aCC*)
   14386 	    lt_prog_compiler_wl_CXX='-Wl,'
   14387 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14388 	    case $host_cpu in
   14389 	    hppa*64*|ia64*)
   14390 	      # +Z the default
   14391 	      ;;
   14392 	    *)
   14393 	      lt_prog_compiler_pic_CXX='+Z'
   14394 	      ;;
   14395 	    esac
   14396 	    ;;
   14397 	  *)
   14398 	    ;;
   14399 	esac
   14400 	;;
   14401       interix*)
   14402 	# This is c89, which is MS Visual C++ (no shared libs)
   14403 	# Anyone wants to do a port?
   14404 	;;
   14405       irix5* | irix6* | nonstopux*)
   14406 	case $cc_basename in
   14407 	  CC*)
   14408 	    lt_prog_compiler_wl_CXX='-Wl,'
   14409 	    lt_prog_compiler_static_CXX='-non_shared'
   14410 	    # CC pic flag -KPIC is the default.
   14411 	    ;;
   14412 	  *)
   14413 	    ;;
   14414 	esac
   14415 	;;
   14416       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14417 	case $cc_basename in
   14418 	  KCC*)
   14419 	    # KAI C++ Compiler
   14420 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14421 	    lt_prog_compiler_pic_CXX='-fPIC'
   14422 	    ;;
   14423 	  ecpc* )
   14424 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14425 	    lt_prog_compiler_wl_CXX='-Wl,'
   14426 	    lt_prog_compiler_pic_CXX='-KPIC'
   14427 	    lt_prog_compiler_static_CXX='-static'
   14428 	    ;;
   14429 	  icpc* )
   14430 	    # Intel C++, used to be incompatible with GCC.
   14431 	    # ICC 10 doesn't accept -KPIC any more.
   14432 	    lt_prog_compiler_wl_CXX='-Wl,'
   14433 	    lt_prog_compiler_pic_CXX='-fPIC'
   14434 	    lt_prog_compiler_static_CXX='-static'
   14435 	    ;;
   14436 	  pgCC* | pgcpp*)
   14437 	    # Portland Group C++ compiler
   14438 	    lt_prog_compiler_wl_CXX='-Wl,'
   14439 	    lt_prog_compiler_pic_CXX='-fpic'
   14440 	    lt_prog_compiler_static_CXX='-Bstatic'
   14441 	    ;;
   14442 	  cxx*)
   14443 	    # Compaq C++
   14444 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14445 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14446 	    lt_prog_compiler_pic_CXX=
   14447 	    lt_prog_compiler_static_CXX='-non_shared'
   14448 	    ;;
   14449 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14450 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14451 	    lt_prog_compiler_wl_CXX='-Wl,'
   14452 	    lt_prog_compiler_pic_CXX='-qpic'
   14453 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14454 	    ;;
   14455 	  *)
   14456 	    case `$CC -V 2>&1 | sed 5q` in
   14457 	    *Sun\ C*)
   14458 	      # Sun C++ 5.9
   14459 	      lt_prog_compiler_pic_CXX='-KPIC'
   14460 	      lt_prog_compiler_static_CXX='-Bstatic'
   14461 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14462 	      ;;
   14463 	    esac
   14464 	    ;;
   14465 	esac
   14466 	;;
   14467       lynxos*)
   14468 	;;
   14469       m88k*)
   14470 	;;
   14471       mvs*)
   14472 	case $cc_basename in
   14473 	  cxx*)
   14474 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14475 	    ;;
   14476 	  *)
   14477 	    ;;
   14478 	esac
   14479 	;;
   14480       netbsd*)
   14481 	;;
   14482       *qnx* | *nto*)
   14483         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14484         # it will coredump.
   14485         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14486         ;;
   14487       osf3* | osf4* | osf5*)
   14488 	case $cc_basename in
   14489 	  KCC*)
   14490 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14491 	    ;;
   14492 	  RCC*)
   14493 	    # Rational C++ 2.4.1
   14494 	    lt_prog_compiler_pic_CXX='-pic'
   14495 	    ;;
   14496 	  cxx*)
   14497 	    # Digital/Compaq C++
   14498 	    lt_prog_compiler_wl_CXX='-Wl,'
   14499 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14500 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14501 	    lt_prog_compiler_pic_CXX=
   14502 	    lt_prog_compiler_static_CXX='-non_shared'
   14503 	    ;;
   14504 	  *)
   14505 	    ;;
   14506 	esac
   14507 	;;
   14508       psos*)
   14509 	;;
   14510       solaris*)
   14511 	case $cc_basename in
   14512 	  CC*)
   14513 	    # Sun C++ 4.2, 5.x and Centerline C++
   14514 	    lt_prog_compiler_pic_CXX='-KPIC'
   14515 	    lt_prog_compiler_static_CXX='-Bstatic'
   14516 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14517 	    ;;
   14518 	  gcx*)
   14519 	    # Green Hills C++ Compiler
   14520 	    lt_prog_compiler_pic_CXX='-PIC'
   14521 	    ;;
   14522 	  *)
   14523 	    ;;
   14524 	esac
   14525 	;;
   14526       sunos4*)
   14527 	case $cc_basename in
   14528 	  CC*)
   14529 	    # Sun C++ 4.x
   14530 	    lt_prog_compiler_pic_CXX='-pic'
   14531 	    lt_prog_compiler_static_CXX='-Bstatic'
   14532 	    ;;
   14533 	  lcc*)
   14534 	    # Lucid
   14535 	    lt_prog_compiler_pic_CXX='-pic'
   14536 	    ;;
   14537 	  *)
   14538 	    ;;
   14539 	esac
   14540 	;;
   14541       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14542 	case $cc_basename in
   14543 	  CC*)
   14544 	    lt_prog_compiler_wl_CXX='-Wl,'
   14545 	    lt_prog_compiler_pic_CXX='-KPIC'
   14546 	    lt_prog_compiler_static_CXX='-Bstatic'
   14547 	    ;;
   14548 	esac
   14549 	;;
   14550       tandem*)
   14551 	case $cc_basename in
   14552 	  NCC*)
   14553 	    # NonStop-UX NCC 3.20
   14554 	    lt_prog_compiler_pic_CXX='-KPIC'
   14555 	    ;;
   14556 	  *)
   14557 	    ;;
   14558 	esac
   14559 	;;
   14560       vxworks*)
   14561 	;;
   14562       *)
   14563 	lt_prog_compiler_can_build_shared_CXX=no
   14564 	;;
   14565     esac
   14566   fi
   14567 
   14568 case $host_os in
   14569   # For platforms which do not support PIC, -DPIC is meaningless:
   14570   *djgpp*)
   14571     lt_prog_compiler_pic_CXX=
   14572     ;;
   14573   *)
   14574     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14575     ;;
   14576 esac
   14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   14578 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   14579 
   14580 
   14581 
   14582 #
   14583 # Check to make sure the PIC flag actually works.
   14584 #
   14585 if test -n "$lt_prog_compiler_pic_CXX"; then
   14586   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14587 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14588 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14589   $as_echo_n "(cached) " >&6
   14590 else
   14591   lt_cv_prog_compiler_pic_works_CXX=no
   14592    ac_outfile=conftest.$ac_objext
   14593    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14594    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14595    # Insert the option either (1) after the last *FLAGS variable, or
   14596    # (2) before a word containing "conftest.", or (3) at the end.
   14597    # Note that $ac_compile itself does not contain backslashes and begins
   14598    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14599    # The option is referenced via a variable to avoid confusing sed.
   14600    lt_compile=`echo "$ac_compile" | $SED \
   14601    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14602    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14603    -e 's:$: $lt_compiler_flag:'`
   14604    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14605    (eval "$lt_compile" 2>conftest.err)
   14606    ac_status=$?
   14607    cat conftest.err >&5
   14608    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14609    if (exit $ac_status) && test -s "$ac_outfile"; then
   14610      # The compiler can only warn and ignore the option if not recognized
   14611      # So say no if there are warnings other than the usual output.
   14612      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14613      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14614      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14615        lt_cv_prog_compiler_pic_works_CXX=yes
   14616      fi
   14617    fi
   14618    $RM conftest*
   14619 
   14620 fi
   14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14622 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14623 
   14624 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14625     case $lt_prog_compiler_pic_CXX in
   14626      "" | " "*) ;;
   14627      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14628      esac
   14629 else
   14630     lt_prog_compiler_pic_CXX=
   14631      lt_prog_compiler_can_build_shared_CXX=no
   14632 fi
   14633 
   14634 fi
   14635 
   14636 
   14637 
   14638 #
   14639 # Check to make sure the static flag actually works.
   14640 #
   14641 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14643 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14644 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14645   $as_echo_n "(cached) " >&6
   14646 else
   14647   lt_cv_prog_compiler_static_works_CXX=no
   14648    save_LDFLAGS="$LDFLAGS"
   14649    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14650    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14651    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14652      # The linker can only warn and ignore the option if not recognized
   14653      # So say no if there are warnings
   14654      if test -s conftest.err; then
   14655        # Append any errors to the config.log.
   14656        cat conftest.err 1>&5
   14657        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14658        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14659        if diff conftest.exp conftest.er2 >/dev/null; then
   14660          lt_cv_prog_compiler_static_works_CXX=yes
   14661        fi
   14662      else
   14663        lt_cv_prog_compiler_static_works_CXX=yes
   14664      fi
   14665    fi
   14666    $RM -r conftest*
   14667    LDFLAGS="$save_LDFLAGS"
   14668 
   14669 fi
   14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14671 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14672 
   14673 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14674     :
   14675 else
   14676     lt_prog_compiler_static_CXX=
   14677 fi
   14678 
   14679 
   14680 
   14681 
   14682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14683 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14684 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14685   $as_echo_n "(cached) " >&6
   14686 else
   14687   lt_cv_prog_compiler_c_o_CXX=no
   14688    $RM -r conftest 2>/dev/null
   14689    mkdir conftest
   14690    cd conftest
   14691    mkdir out
   14692    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14693 
   14694    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14695    # Insert the option either (1) after the last *FLAGS variable, or
   14696    # (2) before a word containing "conftest.", or (3) at the end.
   14697    # Note that $ac_compile itself does not contain backslashes and begins
   14698    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14699    lt_compile=`echo "$ac_compile" | $SED \
   14700    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14701    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14702    -e 's:$: $lt_compiler_flag:'`
   14703    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14704    (eval "$lt_compile" 2>out/conftest.err)
   14705    ac_status=$?
   14706    cat out/conftest.err >&5
   14707    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14708    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14709    then
   14710      # The compiler can only warn and ignore the option if not recognized
   14711      # So say no if there are warnings
   14712      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14713      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14714      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14715        lt_cv_prog_compiler_c_o_CXX=yes
   14716      fi
   14717    fi
   14718    chmod u+w . 2>&5
   14719    $RM conftest*
   14720    # SGI C++ compiler will create directory out/ii_files/ for
   14721    # template instantiation
   14722    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14723    $RM out/* && rmdir out
   14724    cd ..
   14725    $RM -r conftest
   14726    $RM conftest*
   14727 
   14728 fi
   14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14730 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14731 
   14732 
   14733 
   14734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14735 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14736 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14737   $as_echo_n "(cached) " >&6
   14738 else
   14739   lt_cv_prog_compiler_c_o_CXX=no
   14740    $RM -r conftest 2>/dev/null
   14741    mkdir conftest
   14742    cd conftest
   14743    mkdir out
   14744    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14745 
   14746    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14747    # Insert the option either (1) after the last *FLAGS variable, or
   14748    # (2) before a word containing "conftest.", or (3) at the end.
   14749    # Note that $ac_compile itself does not contain backslashes and begins
   14750    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14751    lt_compile=`echo "$ac_compile" | $SED \
   14752    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14753    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14754    -e 's:$: $lt_compiler_flag:'`
   14755    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14756    (eval "$lt_compile" 2>out/conftest.err)
   14757    ac_status=$?
   14758    cat out/conftest.err >&5
   14759    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14760    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14761    then
   14762      # The compiler can only warn and ignore the option if not recognized
   14763      # So say no if there are warnings
   14764      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14765      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14766      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14767        lt_cv_prog_compiler_c_o_CXX=yes
   14768      fi
   14769    fi
   14770    chmod u+w . 2>&5
   14771    $RM conftest*
   14772    # SGI C++ compiler will create directory out/ii_files/ for
   14773    # template instantiation
   14774    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14775    $RM out/* && rmdir out
   14776    cd ..
   14777    $RM -r conftest
   14778    $RM conftest*
   14779 
   14780 fi
   14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14782 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14783 
   14784 
   14785 
   14786 
   14787 hard_links="nottested"
   14788 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   14789   # do not overwrite the value of need_locks provided by the user
   14790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14791 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14792   hard_links=yes
   14793   $RM conftest*
   14794   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14795   touch conftest.a
   14796   ln conftest.a conftest.b 2>&5 || hard_links=no
   14797   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14799 $as_echo "$hard_links" >&6; }
   14800   if test "$hard_links" = no; then
   14801     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14802 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14803     need_locks=warn
   14804   fi
   14805 else
   14806   need_locks=no
   14807 fi
   14808 
   14809 
   14810 
   14811     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14812 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14813 
   14814   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14815   case $host_os in
   14816   aix[4-9]*)
   14817     # If we're using GNU nm, then we don't want the "-C" option.
   14818     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   14819     # Also, AIX nm treats weak defined symbols like other global defined
   14820     # symbols, whereas GNU nm marks them as "W".
   14821     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14822       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'
   14823     else
   14824       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14825     fi
   14826     ;;
   14827   pw32*)
   14828     export_symbols_cmds_CXX="$ltdll_cmds"
   14829   ;;
   14830   cygwin* | mingw* | cegcc*)
   14831     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'
   14832   ;;
   14833   *)
   14834     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14835   ;;
   14836   esac
   14837   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14838 
   14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14840 $as_echo "$ld_shlibs_CXX" >&6; }
   14841 test "$ld_shlibs_CXX" = no && can_build_shared=no
   14842 
   14843 with_gnu_ld_CXX=$with_gnu_ld
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 #
   14851 # Do we need to explicitly link libc?
   14852 #
   14853 case "x$archive_cmds_need_lc_CXX" in
   14854 x|xyes)
   14855   # Assume -lc should be added
   14856   archive_cmds_need_lc_CXX=yes
   14857 
   14858   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14859     case $archive_cmds_CXX in
   14860     *'~'*)
   14861       # FIXME: we may have to deal with multi-command sequences.
   14862       ;;
   14863     '$CC '*)
   14864       # Test whether the compiler implicitly links with -lc since on some
   14865       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14866       # to ld, don't add -lc before -lgcc.
   14867       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14868 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14869 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14870   $as_echo_n "(cached) " >&6
   14871 else
   14872   $RM conftest*
   14873 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14874 
   14875 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14876   (eval $ac_compile) 2>&5
   14877   ac_status=$?
   14878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14879   test $ac_status = 0; } 2>conftest.err; then
   14880 	  soname=conftest
   14881 	  lib=conftest
   14882 	  libobjs=conftest.$ac_objext
   14883 	  deplibs=
   14884 	  wl=$lt_prog_compiler_wl_CXX
   14885 	  pic_flag=$lt_prog_compiler_pic_CXX
   14886 	  compiler_flags=-v
   14887 	  linker_flags=-v
   14888 	  verstring=
   14889 	  output_objdir=.
   14890 	  libname=conftest
   14891 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14892 	  allow_undefined_flag_CXX=
   14893 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14894   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14895   ac_status=$?
   14896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14897   test $ac_status = 0; }
   14898 	  then
   14899 	    lt_cv_archive_cmds_need_lc_CXX=no
   14900 	  else
   14901 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14902 	  fi
   14903 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14904 	else
   14905 	  cat conftest.err 1>&5
   14906 	fi
   14907 	$RM conftest*
   14908 
   14909 fi
   14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14911 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14912       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14913       ;;
   14914     esac
   14915   fi
   14916   ;;
   14917 esac
   14918 
   14919 
   14920 
   14921 
   14922 
   14923 
   14924 
   14925 
   14926 
   14927 
   14928 
   14929 
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 
   14936 
   14937 
   14938 
   14939 
   14940 
   14941 
   14942 
   14943 
   14944 
   14945 
   14946 
   14947 
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 
   14969 
   14970 
   14971 
   14972 
   14973 
   14974 
   14975 
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14983 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14984 
   14985 library_names_spec=
   14986 libname_spec='lib$name'
   14987 soname_spec=
   14988 shrext_cmds=".so"
   14989 postinstall_cmds=
   14990 postuninstall_cmds=
   14991 finish_cmds=
   14992 finish_eval=
   14993 shlibpath_var=
   14994 shlibpath_overrides_runpath=unknown
   14995 version_type=none
   14996 dynamic_linker="$host_os ld.so"
   14997 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14998 need_lib_prefix=unknown
   14999 hardcode_into_libs=no
   15000 
   15001 # when you set need_version to no, make sure it does not cause -set_version
   15002 # flags to be left without arguments
   15003 need_version=unknown
   15004 
   15005 case $host_os in
   15006 aix3*)
   15007   version_type=linux
   15008   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15009   shlibpath_var=LIBPATH
   15010 
   15011   # AIX 3 has no versioning support, so we append a major version to the name.
   15012   soname_spec='${libname}${release}${shared_ext}$major'
   15013   ;;
   15014 
   15015 aix[4-9]*)
   15016   version_type=linux
   15017   need_lib_prefix=no
   15018   need_version=no
   15019   hardcode_into_libs=yes
   15020   if test "$host_cpu" = ia64; then
   15021     # AIX 5 supports IA64
   15022     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15023     shlibpath_var=LD_LIBRARY_PATH
   15024   else
   15025     # With GCC up to 2.95.x, collect2 would create an import file
   15026     # for dependence libraries.  The import file would start with
   15027     # the line `#! .'.  This would cause the generated library to
   15028     # depend on `.', always an invalid library.  This was fixed in
   15029     # development snapshots of GCC prior to 3.0.
   15030     case $host_os in
   15031       aix4 | aix4.[01] | aix4.[01].*)
   15032       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15033 	   echo ' yes '
   15034 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   15035 	:
   15036       else
   15037 	can_build_shared=no
   15038       fi
   15039       ;;
   15040     esac
   15041     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15042     # soname into executable. Probably we can add versioning support to
   15043     # collect2, so additional links can be useful in future.
   15044     if test "$aix_use_runtimelinking" = yes; then
   15045       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15046       # instead of lib<name>.a to let people know that these are not
   15047       # typical AIX shared libraries.
   15048       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15049     else
   15050       # We preserve .a as extension for shared libraries through AIX4.2
   15051       # and later when we are not doing run time linking.
   15052       library_names_spec='${libname}${release}.a $libname.a'
   15053       soname_spec='${libname}${release}${shared_ext}$major'
   15054     fi
   15055     shlibpath_var=LIBPATH
   15056   fi
   15057   ;;
   15058 
   15059 amigaos*)
   15060   case $host_cpu in
   15061   powerpc)
   15062     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15063     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15064     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15065     ;;
   15066   m68k)
   15067     library_names_spec='$libname.ixlibrary $libname.a'
   15068     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15069     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'
   15070     ;;
   15071   esac
   15072   ;;
   15073 
   15074 beos*)
   15075   library_names_spec='${libname}${shared_ext}'
   15076   dynamic_linker="$host_os ld.so"
   15077   shlibpath_var=LIBRARY_PATH
   15078   ;;
   15079 
   15080 bsdi[45]*)
   15081   version_type=linux
   15082   need_version=no
   15083   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15084   soname_spec='${libname}${release}${shared_ext}$major'
   15085   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15086   shlibpath_var=LD_LIBRARY_PATH
   15087   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15088   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15089   # the default ld.so.conf also contains /usr/contrib/lib and
   15090   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15091   # libtool to hard-code these into programs
   15092   ;;
   15093 
   15094 cygwin* | mingw* | pw32* | cegcc*)
   15095   version_type=windows
   15096   shrext_cmds=".dll"
   15097   need_version=no
   15098   need_lib_prefix=no
   15099 
   15100   case $GCC,$host_os in
   15101   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   15102     library_names_spec='$libname.dll.a'
   15103     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15104     postinstall_cmds='base_file=`basename \${file}`~
   15105       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15106       dldir=$destdir/`dirname \$dlpath`~
   15107       test -d \$dldir || mkdir -p \$dldir~
   15108       $install_prog $dir/$dlname \$dldir/$dlname~
   15109       chmod a+x \$dldir/$dlname~
   15110       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15111         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15112       fi'
   15113     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15114       dlpath=$dir/\$dldll~
   15115        $RM \$dlpath'
   15116     shlibpath_overrides_runpath=yes
   15117 
   15118     case $host_os in
   15119     cygwin*)
   15120       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15121       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15122 
   15123       ;;
   15124     mingw* | cegcc*)
   15125       # MinGW DLLs use traditional 'lib' prefix
   15126       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15127       ;;
   15128     pw32*)
   15129       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15130       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15131       ;;
   15132     esac
   15133     ;;
   15134 
   15135   *)
   15136     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15137     ;;
   15138   esac
   15139   dynamic_linker='Win32 ld.exe'
   15140   # FIXME: first we should search . and the directory the executable is in
   15141   shlibpath_var=PATH
   15142   ;;
   15143 
   15144 darwin* | rhapsody*)
   15145   dynamic_linker="$host_os dyld"
   15146   version_type=darwin
   15147   need_lib_prefix=no
   15148   need_version=no
   15149   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15150   soname_spec='${libname}${release}${major}$shared_ext'
   15151   shlibpath_overrides_runpath=yes
   15152   shlibpath_var=DYLD_LIBRARY_PATH
   15153   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15154 
   15155   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15156   ;;
   15157 
   15158 dgux*)
   15159   version_type=linux
   15160   need_lib_prefix=no
   15161   need_version=no
   15162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15163   soname_spec='${libname}${release}${shared_ext}$major'
   15164   shlibpath_var=LD_LIBRARY_PATH
   15165   ;;
   15166 
   15167 freebsd* | dragonfly*)
   15168   # DragonFly does not have aout.  When/if they implement a new
   15169   # versioning mechanism, adjust this.
   15170   if test -x /usr/bin/objformat; then
   15171     objformat=`/usr/bin/objformat`
   15172   else
   15173     case $host_os in
   15174     freebsd[23].*) objformat=aout ;;
   15175     *) objformat=elf ;;
   15176     esac
   15177   fi
   15178   version_type=freebsd-$objformat
   15179   case $version_type in
   15180     freebsd-elf*)
   15181       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15182       need_version=no
   15183       need_lib_prefix=no
   15184       ;;
   15185     freebsd-*)
   15186       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15187       need_version=yes
   15188       ;;
   15189   esac
   15190   shlibpath_var=LD_LIBRARY_PATH
   15191   case $host_os in
   15192   freebsd2.*)
   15193     shlibpath_overrides_runpath=yes
   15194     ;;
   15195   freebsd3.[01]* | freebsdelf3.[01]*)
   15196     shlibpath_overrides_runpath=yes
   15197     hardcode_into_libs=yes
   15198     ;;
   15199   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15200   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15201     shlibpath_overrides_runpath=no
   15202     hardcode_into_libs=yes
   15203     ;;
   15204   *) # from 4.6 on, and DragonFly
   15205     shlibpath_overrides_runpath=yes
   15206     hardcode_into_libs=yes
   15207     ;;
   15208   esac
   15209   ;;
   15210 
   15211 gnu*)
   15212   version_type=linux
   15213   need_lib_prefix=no
   15214   need_version=no
   15215   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15216   soname_spec='${libname}${release}${shared_ext}$major'
   15217   shlibpath_var=LD_LIBRARY_PATH
   15218   hardcode_into_libs=yes
   15219   ;;
   15220 
   15221 haiku*)
   15222   version_type=linux
   15223   need_lib_prefix=no
   15224   need_version=no
   15225   dynamic_linker="$host_os runtime_loader"
   15226   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15227   soname_spec='${libname}${release}${shared_ext}$major'
   15228   shlibpath_var=LIBRARY_PATH
   15229   shlibpath_overrides_runpath=yes
   15230   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   15231   hardcode_into_libs=yes
   15232   ;;
   15233 
   15234 hpux9* | hpux10* | hpux11*)
   15235   # Give a soname corresponding to the major version so that dld.sl refuses to
   15236   # link against other versions.
   15237   version_type=sunos
   15238   need_lib_prefix=no
   15239   need_version=no
   15240   case $host_cpu in
   15241   ia64*)
   15242     shrext_cmds='.so'
   15243     hardcode_into_libs=yes
   15244     dynamic_linker="$host_os dld.so"
   15245     shlibpath_var=LD_LIBRARY_PATH
   15246     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15247     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15248     soname_spec='${libname}${release}${shared_ext}$major'
   15249     if test "X$HPUX_IA64_MODE" = X32; then
   15250       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15251     else
   15252       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15253     fi
   15254     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15255     ;;
   15256   hppa*64*)
   15257     shrext_cmds='.sl'
   15258     hardcode_into_libs=yes
   15259     dynamic_linker="$host_os dld.sl"
   15260     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15261     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15262     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15263     soname_spec='${libname}${release}${shared_ext}$major'
   15264     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15265     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15266     ;;
   15267   *)
   15268     shrext_cmds='.sl'
   15269     dynamic_linker="$host_os dld.sl"
   15270     shlibpath_var=SHLIB_PATH
   15271     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15272     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15273     soname_spec='${libname}${release}${shared_ext}$major'
   15274     ;;
   15275   esac
   15276   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15277   postinstall_cmds='chmod 555 $lib'
   15278   # or fails outright, so override atomically:
   15279   install_override_mode=555
   15280   ;;
   15281 
   15282 interix[3-9]*)
   15283   version_type=linux
   15284   need_lib_prefix=no
   15285   need_version=no
   15286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15287   soname_spec='${libname}${release}${shared_ext}$major'
   15288   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15289   shlibpath_var=LD_LIBRARY_PATH
   15290   shlibpath_overrides_runpath=no
   15291   hardcode_into_libs=yes
   15292   ;;
   15293 
   15294 irix5* | irix6* | nonstopux*)
   15295   case $host_os in
   15296     nonstopux*) version_type=nonstopux ;;
   15297     *)
   15298 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15299 		version_type=linux
   15300 	else
   15301 		version_type=irix
   15302 	fi ;;
   15303   esac
   15304   need_lib_prefix=no
   15305   need_version=no
   15306   soname_spec='${libname}${release}${shared_ext}$major'
   15307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15308   case $host_os in
   15309   irix5* | nonstopux*)
   15310     libsuff= shlibsuff=
   15311     ;;
   15312   *)
   15313     case $LD in # libtool.m4 will add one of these switches to LD
   15314     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15315       libsuff= shlibsuff= libmagic=32-bit;;
   15316     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15317       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15318     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15319       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15320     *) libsuff= shlibsuff= libmagic=never-match;;
   15321     esac
   15322     ;;
   15323   esac
   15324   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15325   shlibpath_overrides_runpath=no
   15326   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15327   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15328   hardcode_into_libs=yes
   15329   ;;
   15330 
   15331 # No shared lib support for Linux oldld, aout, or coff.
   15332 linux*oldld* | linux*aout* | linux*coff*)
   15333   dynamic_linker=no
   15334   ;;
   15335 
   15336 # This must be Linux ELF.
   15337 
   15338 # uclinux* changes (here and below) have been submitted to the libtool
   15339 # project, but have not yet been accepted: they are GCC-local changes
   15340 # for the time being.  (See
   15341 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   15342 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   15343   version_type=linux
   15344   need_lib_prefix=no
   15345   need_version=no
   15346   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15347   soname_spec='${libname}${release}${shared_ext}$major'
   15348   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15349   shlibpath_var=LD_LIBRARY_PATH
   15350   shlibpath_overrides_runpath=no
   15351 
   15352   # Some binutils ld are patched to set DT_RUNPATH
   15353   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15354   $as_echo_n "(cached) " >&6
   15355 else
   15356   lt_cv_shlibpath_overrides_runpath=no
   15357     save_LDFLAGS=$LDFLAGS
   15358     save_libdir=$libdir
   15359     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15360 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15361     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15362 /* end confdefs.h.  */
   15363 
   15364 int
   15365 main ()
   15366 {
   15367 
   15368   ;
   15369   return 0;
   15370 }
   15371 _ACEOF
   15372 if ac_fn_cxx_try_link "$LINENO"; then :
   15373   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15374   lt_cv_shlibpath_overrides_runpath=yes
   15375 fi
   15376 fi
   15377 rm -f core conftest.err conftest.$ac_objext \
   15378     conftest$ac_exeext conftest.$ac_ext
   15379     LDFLAGS=$save_LDFLAGS
   15380     libdir=$save_libdir
   15381 
   15382 fi
   15383 
   15384   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15385 
   15386   # This implies no fast_install, which is unacceptable.
   15387   # Some rework will be needed to allow for fast_install
   15388   # before this can be enabled.
   15389   hardcode_into_libs=yes
   15390 
   15391   # Append ld.so.conf contents to the search path
   15392   if test -f /etc/ld.so.conf; then
   15393     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' ' '`
   15394     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15395   fi
   15396 
   15397   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15398   # powerpc, because MkLinux only supported shared libraries with the
   15399   # GNU dynamic linker.  Since this was broken with cross compilers,
   15400   # most powerpc-linux boxes support dynamic linking these days and
   15401   # people can always --disable-shared, the test was removed, and we
   15402   # assume the GNU/Linux dynamic linker is in use.
   15403   dynamic_linker='GNU/Linux ld.so'
   15404   ;;
   15405 
   15406 netbsd*)
   15407   version_type=sunos
   15408   need_lib_prefix=no
   15409   need_version=no
   15410   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15411     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15412     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15413     dynamic_linker='NetBSD (a.out) ld.so'
   15414   else
   15415     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15416     soname_spec='${libname}${release}${shared_ext}$major'
   15417     dynamic_linker='NetBSD ld.elf_so'
   15418   fi
   15419   shlibpath_var=LD_LIBRARY_PATH
   15420   shlibpath_overrides_runpath=yes
   15421   hardcode_into_libs=yes
   15422   ;;
   15423 
   15424 newsos6)
   15425   version_type=linux
   15426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15427   shlibpath_var=LD_LIBRARY_PATH
   15428   shlibpath_overrides_runpath=yes
   15429   ;;
   15430 
   15431 *nto* | *qnx*)
   15432   version_type=qnx
   15433   need_lib_prefix=no
   15434   need_version=no
   15435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15436   soname_spec='${libname}${release}${shared_ext}$major'
   15437   shlibpath_var=LD_LIBRARY_PATH
   15438   shlibpath_overrides_runpath=no
   15439   hardcode_into_libs=yes
   15440   dynamic_linker='ldqnx.so'
   15441   ;;
   15442 
   15443 openbsd*)
   15444   version_type=sunos
   15445   sys_lib_dlsearch_path_spec="/usr/lib"
   15446   need_lib_prefix=no
   15447   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15448   case $host_os in
   15449     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15450     *)				need_version=no  ;;
   15451   esac
   15452   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15453   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15454   shlibpath_var=LD_LIBRARY_PATH
   15455   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15456     case $host_os in
   15457       openbsd2.[89] | openbsd2.[89].*)
   15458 	shlibpath_overrides_runpath=no
   15459 	;;
   15460       *)
   15461 	shlibpath_overrides_runpath=yes
   15462 	;;
   15463       esac
   15464   else
   15465     shlibpath_overrides_runpath=yes
   15466   fi
   15467   ;;
   15468 
   15469 os2*)
   15470   libname_spec='$name'
   15471   shrext_cmds=".dll"
   15472   need_lib_prefix=no
   15473   library_names_spec='$libname${shared_ext} $libname.a'
   15474   dynamic_linker='OS/2 ld.exe'
   15475   shlibpath_var=LIBPATH
   15476   ;;
   15477 
   15478 osf3* | osf4* | osf5*)
   15479   version_type=osf
   15480   need_lib_prefix=no
   15481   need_version=no
   15482   soname_spec='${libname}${release}${shared_ext}$major'
   15483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15484   shlibpath_var=LD_LIBRARY_PATH
   15485   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15486   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15487   ;;
   15488 
   15489 rdos*)
   15490   dynamic_linker=no
   15491   ;;
   15492 
   15493 solaris*)
   15494   version_type=linux
   15495   need_lib_prefix=no
   15496   need_version=no
   15497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15498   soname_spec='${libname}${release}${shared_ext}$major'
   15499   shlibpath_var=LD_LIBRARY_PATH
   15500   shlibpath_overrides_runpath=yes
   15501   hardcode_into_libs=yes
   15502   # ldd complains unless libraries are executable
   15503   postinstall_cmds='chmod +x $lib'
   15504   ;;
   15505 
   15506 sunos4*)
   15507   version_type=sunos
   15508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15509   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15510   shlibpath_var=LD_LIBRARY_PATH
   15511   shlibpath_overrides_runpath=yes
   15512   if test "$with_gnu_ld" = yes; then
   15513     need_lib_prefix=no
   15514   fi
   15515   need_version=yes
   15516   ;;
   15517 
   15518 sysv4 | sysv4.3*)
   15519   version_type=linux
   15520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15521   soname_spec='${libname}${release}${shared_ext}$major'
   15522   shlibpath_var=LD_LIBRARY_PATH
   15523   case $host_vendor in
   15524     sni)
   15525       shlibpath_overrides_runpath=no
   15526       need_lib_prefix=no
   15527       runpath_var=LD_RUN_PATH
   15528       ;;
   15529     siemens)
   15530       need_lib_prefix=no
   15531       ;;
   15532     motorola)
   15533       need_lib_prefix=no
   15534       need_version=no
   15535       shlibpath_overrides_runpath=no
   15536       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15537       ;;
   15538   esac
   15539   ;;
   15540 
   15541 sysv4*MP*)
   15542   if test -d /usr/nec ;then
   15543     version_type=linux
   15544     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15545     soname_spec='$libname${shared_ext}.$major'
   15546     shlibpath_var=LD_LIBRARY_PATH
   15547   fi
   15548   ;;
   15549 
   15550 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15551   version_type=freebsd-elf
   15552   need_lib_prefix=no
   15553   need_version=no
   15554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15555   soname_spec='${libname}${release}${shared_ext}$major'
   15556   shlibpath_var=LD_LIBRARY_PATH
   15557   shlibpath_overrides_runpath=yes
   15558   hardcode_into_libs=yes
   15559   if test "$with_gnu_ld" = yes; then
   15560     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15561   else
   15562     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15563     case $host_os in
   15564       sco3.2v5*)
   15565         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15566 	;;
   15567     esac
   15568   fi
   15569   sys_lib_dlsearch_path_spec='/usr/lib'
   15570   ;;
   15571 
   15572 tpf*)
   15573   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15574   version_type=linux
   15575   need_lib_prefix=no
   15576   need_version=no
   15577   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15578   shlibpath_var=LD_LIBRARY_PATH
   15579   shlibpath_overrides_runpath=no
   15580   hardcode_into_libs=yes
   15581   ;;
   15582 
   15583 uts4*)
   15584   version_type=linux
   15585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15586   soname_spec='${libname}${release}${shared_ext}$major'
   15587   shlibpath_var=LD_LIBRARY_PATH
   15588   ;;
   15589 
   15590 *)
   15591   dynamic_linker=no
   15592   ;;
   15593 esac
   15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15595 $as_echo "$dynamic_linker" >&6; }
   15596 test "$dynamic_linker" = no && can_build_shared=no
   15597 
   15598 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15599 if test "$GCC" = yes; then
   15600   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15601 fi
   15602 
   15603 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15604   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15605 fi
   15606 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15607   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15608 fi
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15648 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15649 hardcode_action_CXX=
   15650 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15651    test -n "$runpath_var_CXX" ||
   15652    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15653 
   15654   # We can hardcode non-existent directories.
   15655   if test "$hardcode_direct_CXX" != no &&
   15656      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15657      # have to relink, otherwise we might link with an installed library
   15658      # when we should be linking with a yet-to-be-installed one
   15659      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15660      test "$hardcode_minus_L_CXX" != no; then
   15661     # Linking always hardcodes the temporary library directory.
   15662     hardcode_action_CXX=relink
   15663   else
   15664     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15665     hardcode_action_CXX=immediate
   15666   fi
   15667 else
   15668   # We cannot hardcode anything, or else we can only hardcode existing
   15669   # directories.
   15670   hardcode_action_CXX=unsupported
   15671 fi
   15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15673 $as_echo "$hardcode_action_CXX" >&6; }
   15674 
   15675 if test "$hardcode_action_CXX" = relink ||
   15676    test "$inherit_rpath_CXX" = yes; then
   15677   # Fast installation is not supported
   15678   enable_fast_install=no
   15679 elif test "$shlibpath_overrides_runpath" = yes ||
   15680      test "$enable_shared" = no; then
   15681   # Fast installation is not necessary
   15682   enable_fast_install=needless
   15683 fi
   15684 
   15685 
   15686 
   15687 
   15688 
   15689 
   15690 
   15691   fi # test -n "$compiler"
   15692 
   15693   CC=$lt_save_CC
   15694   LDCXX=$LD
   15695   LD=$lt_save_LD
   15696   GCC=$lt_save_GCC
   15697   with_gnu_ld=$lt_save_with_gnu_ld
   15698   lt_cv_path_LDCXX=$lt_cv_path_LD
   15699   lt_cv_path_LD=$lt_save_path_LD
   15700   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15701   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15702 fi # test "$_lt_caught_CXX_error" != yes
   15703 
   15704 ac_ext=c
   15705 ac_cpp='$CPP $CPPFLAGS'
   15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722         ac_config_commands="$ac_config_commands libtool"
   15723 
   15724 
   15725 
   15726 
   15727 # Only expand once:
   15728 
   15729 
   15730 
   15731 for ac_prog in gawk mawk nawk awk
   15732 do
   15733   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15734 set dummy $ac_prog; ac_word=$2
   15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15736 $as_echo_n "checking for $ac_word... " >&6; }
   15737 if ${ac_cv_prog_AWK+:} false; then :
   15738   $as_echo_n "(cached) " >&6
   15739 else
   15740   if test -n "$AWK"; then
   15741   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   15742 else
   15743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15744 for as_dir in $PATH
   15745 do
   15746   IFS=$as_save_IFS
   15747   test -z "$as_dir" && as_dir=.
   15748     for ac_exec_ext in '' $ac_executable_extensions; do
   15749   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15750     ac_cv_prog_AWK="$ac_prog"
   15751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15752     break 2
   15753   fi
   15754 done
   15755   done
   15756 IFS=$as_save_IFS
   15757 
   15758 fi
   15759 fi
   15760 AWK=$ac_cv_prog_AWK
   15761 if test -n "$AWK"; then
   15762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   15763 $as_echo "$AWK" >&6; }
   15764 else
   15765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15766 $as_echo "no" >&6; }
   15767 fi
   15768 
   15769 
   15770   test -n "$AWK" && break
   15771 done
   15772 
   15773 case "$AWK" in
   15774 "") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
   15775 esac
   15776 
   15777 
   15778 
   15779 
   15780 # The cast to long int works around a bug in the HP C Compiler
   15781 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15782 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15783 # This bug is HP SR number 8606223364.
   15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   15785 $as_echo_n "checking size of void *... " >&6; }
   15786 if ${ac_cv_sizeof_void_p+:} false; then :
   15787   $as_echo_n "(cached) " >&6
   15788 else
   15789   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   15790 
   15791 else
   15792   if test "$ac_cv_type_void_p" = yes; then
   15793      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15795 as_fn_error 77 "cannot compute sizeof (void *)
   15796 See \`config.log' for more details" "$LINENO" 5; }
   15797    else
   15798      ac_cv_sizeof_void_p=0
   15799    fi
   15800 fi
   15801 
   15802 fi
   15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   15804 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   15805 
   15806 
   15807 
   15808 cat >>confdefs.h <<_ACEOF
   15809 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   15810 _ACEOF
   15811 
   15812 
   15813 
   15814 if test "${multilib}" = "yes"; then
   15815   multilib_arg="--enable-multilib"
   15816 else
   15817   multilib_arg=
   15818 fi
   15819 
   15820 # Get target configury.
   15821 unset TSAN_SUPPORTED
   15822 unset LSAN_SUPPORTED
   15823 . ${srcdir}/configure.tgt
   15824  if test "x$TSAN_SUPPORTED" = "xyes"; then
   15825   TSAN_SUPPORTED_TRUE=
   15826   TSAN_SUPPORTED_FALSE='#'
   15827 else
   15828   TSAN_SUPPORTED_TRUE='#'
   15829   TSAN_SUPPORTED_FALSE=
   15830 fi
   15831 
   15832  if test "x$LSAN_SUPPORTED" = "xyes"; then
   15833   LSAN_SUPPORTED_TRUE=
   15834   LSAN_SUPPORTED_FALSE='#'
   15835 else
   15836   LSAN_SUPPORTED_TRUE='#'
   15837   LSAN_SUPPORTED_FALSE=
   15838 fi
   15839 
   15840 
   15841 # Check for functions needed.
   15842 for ac_func in clock_getres clock_gettime clock_settime lstat readlink
   15843 do :
   15844   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   15845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   15846 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   15847   cat >>confdefs.h <<_ACEOF
   15848 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   15849 _ACEOF
   15850 
   15851 fi
   15852 done
   15853 
   15854 
   15855 # Common libraries that we need to link against for all sanitizer libs.
   15856 link_sanitizer_common='-lpthread -lm'
   15857 
   15858 # At least for glibc, shm_open is in librt.  But don't pull that
   15859 # in if it still doesn't give us the function we want.  This
   15860 # test is copied from libgomp.
   15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
   15862 $as_echo_n "checking for shm_open in -lrt... " >&6; }
   15863 if ${ac_cv_lib_rt_shm_open+:} false; then :
   15864   $as_echo_n "(cached) " >&6
   15865 else
   15866   ac_check_lib_save_LIBS=$LIBS
   15867 LIBS="-lrt  $LIBS"
   15868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15869 /* end confdefs.h.  */
   15870 
   15871 /* Override any GCC internal prototype to avoid an error.
   15872    Use char because int might match the return type of a GCC
   15873    builtin and then its argument prototype would still apply.  */
   15874 #ifdef __cplusplus
   15875 extern "C"
   15876 #endif
   15877 char shm_open ();
   15878 int
   15879 main ()
   15880 {
   15881 return shm_open ();
   15882   ;
   15883   return 0;
   15884 }
   15885 _ACEOF
   15886 if ac_fn_c_try_link "$LINENO"; then :
   15887   ac_cv_lib_rt_shm_open=yes
   15888 else
   15889   ac_cv_lib_rt_shm_open=no
   15890 fi
   15891 rm -f core conftest.err conftest.$ac_objext \
   15892     conftest$ac_exeext conftest.$ac_ext
   15893 LIBS=$ac_check_lib_save_LIBS
   15894 fi
   15895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
   15896 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
   15897 if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
   15898   link_sanitizer_common="-lrt $link_sanitizer_common"
   15899 fi
   15900 
   15901 
   15902 # Do a configure time check for -ldl
   15903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
   15904 $as_echo_n "checking for dlsym in -ldl... " >&6; }
   15905 if ${ac_cv_lib_dl_dlsym+:} false; then :
   15906   $as_echo_n "(cached) " >&6
   15907 else
   15908   ac_check_lib_save_LIBS=$LIBS
   15909 LIBS="-ldl  $LIBS"
   15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15911 /* end confdefs.h.  */
   15912 
   15913 /* Override any GCC internal prototype to avoid an error.
   15914    Use char because int might match the return type of a GCC
   15915    builtin and then its argument prototype would still apply.  */
   15916 #ifdef __cplusplus
   15917 extern "C"
   15918 #endif
   15919 char dlsym ();
   15920 int
   15921 main ()
   15922 {
   15923 return dlsym ();
   15924   ;
   15925   return 0;
   15926 }
   15927 _ACEOF
   15928 if ac_fn_c_try_link "$LINENO"; then :
   15929   ac_cv_lib_dl_dlsym=yes
   15930 else
   15931   ac_cv_lib_dl_dlsym=no
   15932 fi
   15933 rm -f core conftest.err conftest.$ac_objext \
   15934     conftest$ac_exeext conftest.$ac_ext
   15935 LIBS=$ac_check_lib_save_LIBS
   15936 fi
   15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
   15938 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
   15939 if test "x$ac_cv_lib_dl_dlsym" = xyes; then :
   15940   link_sanitizer_common="-ldl $link_sanitizer_common"
   15941 fi
   15942 
   15943 
   15944 # Set up the set of additional libraries that we need to link against for libasan.
   15945 link_libasan=$link_sanitizer_common
   15946 
   15947 
   15948 # Set up the set of additional libraries that we need to link against for libtsan.
   15949 link_libtsan=$link_sanitizer_common
   15950 
   15951 
   15952 # Set up the set of additional libraries that we need to link against for libubsan.
   15953 link_libubsan=$link_sanitizer_common
   15954 
   15955 
   15956 # Set up the set of additional libraries that we need to link against for liblsan.
   15957 link_liblsan=$link_sanitizer_common
   15958 
   15959 
   15960 
   15961 # At least for glibc, clock_gettime is in librt.  But don't pull that
   15962 # in if it still doesn't give us the function we want.  This
   15963 # test is copied from libgomp.
   15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   15965 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   15966 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   15967   $as_echo_n "(cached) " >&6
   15968 else
   15969   ac_check_lib_save_LIBS=$LIBS
   15970 LIBS="-lrt  $LIBS"
   15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15972 /* end confdefs.h.  */
   15973 
   15974 /* Override any GCC internal prototype to avoid an error.
   15975    Use char because int might match the return type of a GCC
   15976    builtin and then its argument prototype would still apply.  */
   15977 #ifdef __cplusplus
   15978 extern "C"
   15979 #endif
   15980 char clock_gettime ();
   15981 int
   15982 main ()
   15983 {
   15984 return clock_gettime ();
   15985   ;
   15986   return 0;
   15987 }
   15988 _ACEOF
   15989 if ac_fn_c_try_link "$LINENO"; then :
   15990   ac_cv_lib_rt_clock_gettime=yes
   15991 else
   15992   ac_cv_lib_rt_clock_gettime=no
   15993 fi
   15994 rm -f core conftest.err conftest.$ac_objext \
   15995     conftest$ac_exeext conftest.$ac_ext
   15996 LIBS=$ac_check_lib_save_LIBS
   15997 fi
   15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   15999 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   16000 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   16001   link_libasan="-lrt $link_libasan"
   16002 link_libtsan="-lrt $link_libtsan"
   16003 # Other sanitizers do not override clock_* API
   16004 
   16005 fi
   16006 
   16007 
   16008 case "$host" in
   16009   *-*-darwin*) MAC_INTERPOSE=true ; enable_static=no ;;
   16010   *) MAC_INTERPOSE=false ;;
   16011 esac
   16012  if $MAC_INTERPOSE; then
   16013   USING_MAC_INTERPOSE_TRUE=
   16014   USING_MAC_INTERPOSE_FALSE='#'
   16015 else
   16016   USING_MAC_INTERPOSE_TRUE='#'
   16017   USING_MAC_INTERPOSE_FALSE=
   16018 fi
   16019 
   16020 
   16021 backtrace_supported=yes
   16022 
   16023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for necessary platform features" >&5
   16024 $as_echo_n "checking for necessary platform features... " >&6; }
   16025 case "$target" in
   16026   *-*-linux*)
   16027     # Some old Linux distributions miss required syscalls.
   16028     sanitizer_supported=no
   16029     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16030 /* end confdefs.h.  */
   16031 #include <sys/syscall.h>
   16032 int
   16033 main ()
   16034 {
   16035 
   16036       syscall (__NR_gettid);
   16037       syscall (__NR_futex);
   16038       syscall (__NR_exit_group);
   16039 
   16040   ;
   16041   return 0;
   16042 }
   16043 _ACEOF
   16044 if ac_fn_c_try_compile "$LINENO"; then :
   16045   sanitizer_supported=yes
   16046 fi
   16047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16048     ;;
   16049   *)
   16050     sanitizer_supported=yes
   16051     ;;
   16052 esac
   16053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sanitizer_supported" >&5
   16054 $as_echo "$sanitizer_supported" >&6; }
   16055  if test "$sanitizer_supported" = yes; then
   16056   SANITIZER_SUPPORTED_TRUE=
   16057   SANITIZER_SUPPORTED_FALSE='#'
   16058 else
   16059   SANITIZER_SUPPORTED_TRUE='#'
   16060   SANITIZER_SUPPORTED_FALSE=
   16061 fi
   16062 
   16063 
   16064 # Test for __sync support.
   16065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
   16066 $as_echo_n "checking __sync extensions... " >&6; }
   16067 if ${libsanitizer_cv_sys_sync+:} false; then :
   16068   $as_echo_n "(cached) " >&6
   16069 else
   16070   if test -n "${with_target_subdir}"; then
   16071    libsanitizer_cv_sys_sync=yes
   16072  else
   16073    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16074 /* end confdefs.h.  */
   16075 int i;
   16076 int
   16077 main ()
   16078 {
   16079 __sync_bool_compare_and_swap (&i, i, i);
   16080                        __sync_lock_test_and_set (&i, 1);
   16081                        __sync_lock_release (&i);
   16082   ;
   16083   return 0;
   16084 }
   16085 _ACEOF
   16086 if ac_fn_c_try_link "$LINENO"; then :
   16087   libsanitizer_cv_sys_sync=yes
   16088 else
   16089   libsanitizer_cv_sys_sync=no
   16090 fi
   16091 rm -f core conftest.err conftest.$ac_objext \
   16092     conftest$ac_exeext conftest.$ac_ext
   16093  fi
   16094 fi
   16095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_sync" >&5
   16096 $as_echo "$libsanitizer_cv_sys_sync" >&6; }
   16097 if test "$libsanitizer_cv_sys_sync" = "yes"; then
   16098 
   16099 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
   16100 
   16101 fi
   16102 
   16103 # Test for __atomic support.
   16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
   16105 $as_echo_n "checking __atomic extensions... " >&6; }
   16106 if ${libsanitizer_cv_sys_atomic+:} false; then :
   16107   $as_echo_n "(cached) " >&6
   16108 else
   16109   if test -n "${with_target_subdir}"; then
   16110    libsanitizer_cv_sys_atomic=yes
   16111  else
   16112    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16113 /* end confdefs.h.  */
   16114 int i;
   16115 int
   16116 main ()
   16117 {
   16118 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
   16119 		       __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
   16120   ;
   16121   return 0;
   16122 }
   16123 _ACEOF
   16124 if ac_fn_c_try_link "$LINENO"; then :
   16125   libsanitizer_cv_sys_atomic=yes
   16126 else
   16127   libsanitizer_cv_sys_atomic=no
   16128 fi
   16129 rm -f core conftest.err conftest.$ac_objext \
   16130     conftest$ac_exeext conftest.$ac_ext
   16131  fi
   16132 fi
   16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_atomic" >&5
   16134 $as_echo "$libsanitizer_cv_sys_atomic" >&6; }
   16135 if test "$libsanitizer_cv_sys_atomic" = "yes"; then
   16136 
   16137 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
   16138 
   16139 fi
   16140 
   16141 # The library needs to be able to read the executable itself.  Compile
   16142 # a file to determine the executable format.  The awk script
   16143 # filetype.awk prints out the file type.
   16144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
   16145 $as_echo_n "checking output filetype... " >&6; }
   16146 if ${libsanitizer_cv_sys_filetype+:} false; then :
   16147   $as_echo_n "(cached) " >&6
   16148 else
   16149   filetype=
   16150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16151 /* end confdefs.h.  */
   16152 int i;
   16153 int
   16154 main ()
   16155 {
   16156 int j;
   16157   ;
   16158   return 0;
   16159 }
   16160 _ACEOF
   16161 if ac_fn_c_try_compile "$LINENO"; then :
   16162   filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
   16163 else
   16164   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16166 as_fn_error $? "compiler failed
   16167 See \`config.log' for more details" "$LINENO" 5; }
   16168 fi
   16169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16170 libsanitizer_cv_sys_filetype=$filetype
   16171 fi
   16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libsanitizer_cv_sys_filetype" >&5
   16173 $as_echo "$libsanitizer_cv_sys_filetype" >&6; }
   16174 
   16175 # Match the file type to decide what files to compile.
   16176 FORMAT_FILE=
   16177 case "$libsanitizer_cv_sys_filetype" in
   16178 elf*) FORMAT_FILE="elf.lo" ;;
   16179 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
   16180 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
   16181    FORMAT_FILE="unknown.lo"
   16182    backtrace_supported=no
   16183    ;;
   16184 esac
   16185 
   16186 
   16187 # ELF defines.
   16188 elfsize=
   16189 case "$libsanitizer_cv_sys_filetype" in
   16190 elf32) elfsize=32 ;;
   16191 elf64) elfsize=64 ;;
   16192 esac
   16193 
   16194 cat >>confdefs.h <<_ACEOF
   16195 #define BACKTRACE_ELF_SIZE $elfsize
   16196 _ACEOF
   16197 
   16198 
   16199 BACKTRACE_SUPPORTED=0
   16200 if test "$backtrace_supported" = "yes"; then
   16201   BACKTRACE_SUPPORTED=1
   16202 fi
   16203 
   16204 
   16205 
   16206 
   16207 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
   16208 
   16209 acx_cv_header_stdint=stddef.h
   16210 acx_cv_header_stdint_kind="(already complete)"
   16211 for i in stdint.h $inttype_headers; do
   16212   unset ac_cv_type_uintptr_t
   16213   unset ac_cv_type_uintmax_t
   16214   unset ac_cv_type_int_least32_t
   16215   unset ac_cv_type_int_fast32_t
   16216   unset ac_cv_type_uint64_t
   16217   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
   16218   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
   16219 #include <$i>
   16220 "
   16221 if test "x$ac_cv_type_uintmax_t" = xyes; then :
   16222   acx_cv_header_stdint=$i
   16223 else
   16224   continue
   16225 fi
   16226 
   16227   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   16228 #include <$i>
   16229 "
   16230 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   16231 
   16232 else
   16233   acx_cv_header_stdint_kind="(mostly complete)"
   16234 fi
   16235 
   16236   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
   16237 #include <$i>
   16238 "
   16239 if test "x$ac_cv_type_int_least32_t" = xyes; then :
   16240 
   16241 else
   16242   acx_cv_header_stdint_kind="(mostly complete)"
   16243 fi
   16244 
   16245   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
   16246 #include <$i>
   16247 "
   16248 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
   16249 
   16250 else
   16251   acx_cv_header_stdint_kind="(mostly complete)"
   16252 fi
   16253 
   16254   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   16255 #include <$i>
   16256 "
   16257 if test "x$ac_cv_type_uint64_t" = xyes; then :
   16258 
   16259 else
   16260   acx_cv_header_stdint_kind="(lacks uint64_t)"
   16261 fi
   16262 
   16263   break
   16264 done
   16265 if test "$acx_cv_header_stdint" = stddef.h; then
   16266   acx_cv_header_stdint_kind="(lacks uintmax_t)"
   16267   for i in stdint.h $inttype_headers; do
   16268     unset ac_cv_type_uintptr_t
   16269     unset ac_cv_type_uint32_t
   16270     unset ac_cv_type_uint64_t
   16271     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
   16272     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
   16273 #include <$i>
   16274 "
   16275 if test "x$ac_cv_type_uint32_t" = xyes; then :
   16276   acx_cv_header_stdint=$i
   16277 else
   16278   continue
   16279 fi
   16280 
   16281     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   16282 #include <$i>
   16283 "
   16284 if test "x$ac_cv_type_uint64_t" = xyes; then :
   16285 
   16286 fi
   16287 
   16288     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   16289 #include <$i>
   16290 "
   16291 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   16292 
   16293 fi
   16294 
   16295     break
   16296   done
   16297 fi
   16298 if test "$acx_cv_header_stdint" = stddef.h; then
   16299   acx_cv_header_stdint_kind="(u_intXX_t style)"
   16300   for i in sys/types.h $inttype_headers; do
   16301     unset ac_cv_type_u_int32_t
   16302     unset ac_cv_type_u_int64_t
   16303     $as_echo_n "looking for u_intXX_t types in $i, " >&6
   16304     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
   16305 #include <$i>
   16306 "
   16307 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   16308   acx_cv_header_stdint=$i
   16309 else
   16310   continue
   16311 fi
   16312 
   16313     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
   16314 #include <$i>
   16315 "
   16316 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   16317 
   16318 fi
   16319 
   16320     break
   16321   done
   16322 fi
   16323 if test "$acx_cv_header_stdint" = stddef.h; then
   16324   acx_cv_header_stdint_kind="(using manual detection)"
   16325 fi
   16326 
   16327 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
   16328 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
   16329 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
   16330 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
   16331 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
   16332 
   16333 # ----------------- Summarize what we found so far
   16334 
   16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
   16336 $as_echo_n "checking what to include in gstdint.h... " >&6; }
   16337 
   16338 case `$as_basename -- gstdint.h ||
   16339 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
   16340 	 Xgstdint.h : 'X\(//\)$' \| \
   16341 	 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
   16342 $as_echo X/gstdint.h |
   16343     sed '/^.*\/\([^/][^/]*\)\/*$/{
   16344 	    s//\1/
   16345 	    q
   16346 	  }
   16347 	  /^X\/\(\/\/\)$/{
   16348 	    s//\1/
   16349 	    q
   16350 	  }
   16351 	  /^X\/\(\/\).*/{
   16352 	    s//\1/
   16353 	    q
   16354 	  }
   16355 	  s/.*/./; q'` in
   16356   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   16357 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   16358   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   16359 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   16360   *) ;;
   16361 esac
   16362 
   16363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
   16364 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
   16365 
   16366 # ----------------- done included file, check C basic types --------
   16367 
   16368 # Lacking an uintptr_t?  Test size of void *
   16369 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
   16370   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
   16371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16373 # This bug is HP SR number 8606223364.
   16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   16375 $as_echo_n "checking size of void *... " >&6; }
   16376 if ${ac_cv_sizeof_void_p+:} false; then :
   16377   $as_echo_n "(cached) " >&6
   16378 else
   16379   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   16380 
   16381 else
   16382   if test "$ac_cv_type_void_p" = yes; then
   16383      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16385 as_fn_error 77 "cannot compute sizeof (void *)
   16386 See \`config.log' for more details" "$LINENO" 5; }
   16387    else
   16388      ac_cv_sizeof_void_p=0
   16389    fi
   16390 fi
   16391 
   16392 fi
   16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   16394 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   16395 
   16396 
   16397 
   16398 cat >>confdefs.h <<_ACEOF
   16399 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   16400 _ACEOF
   16401 
   16402  ;;
   16403 esac
   16404 
   16405 # Lacking an uint64_t?  Test size of long
   16406 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
   16407   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
   16408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16410 # This bug is HP SR number 8606223364.
   16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   16412 $as_echo_n "checking size of long... " >&6; }
   16413 if ${ac_cv_sizeof_long+:} false; then :
   16414   $as_echo_n "(cached) " >&6
   16415 else
   16416   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   16417 
   16418 else
   16419   if test "$ac_cv_type_long" = yes; then
   16420      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16422 as_fn_error 77 "cannot compute sizeof (long)
   16423 See \`config.log' for more details" "$LINENO" 5; }
   16424    else
   16425      ac_cv_sizeof_long=0
   16426    fi
   16427 fi
   16428 
   16429 fi
   16430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   16431 $as_echo "$ac_cv_sizeof_long" >&6; }
   16432 
   16433 
   16434 
   16435 cat >>confdefs.h <<_ACEOF
   16436 #define SIZEOF_LONG $ac_cv_sizeof_long
   16437 _ACEOF
   16438 
   16439  ;;
   16440 esac
   16441 
   16442 if test $acx_cv_header_stdint = stddef.h; then
   16443   # Lacking a good header?  Test size of everything and deduce all types.
   16444   # The cast to long int works around a bug in the HP C Compiler
   16445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16447 # This bug is HP SR number 8606223364.
   16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   16449 $as_echo_n "checking size of int... " >&6; }
   16450 if ${ac_cv_sizeof_int+:} false; then :
   16451   $as_echo_n "(cached) " >&6
   16452 else
   16453   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   16454 
   16455 else
   16456   if test "$ac_cv_type_int" = yes; then
   16457      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16459 as_fn_error 77 "cannot compute sizeof (int)
   16460 See \`config.log' for more details" "$LINENO" 5; }
   16461    else
   16462      ac_cv_sizeof_int=0
   16463    fi
   16464 fi
   16465 
   16466 fi
   16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   16468 $as_echo "$ac_cv_sizeof_int" >&6; }
   16469 
   16470 
   16471 
   16472 cat >>confdefs.h <<_ACEOF
   16473 #define SIZEOF_INT $ac_cv_sizeof_int
   16474 _ACEOF
   16475 
   16476 
   16477   # The cast to long int works around a bug in the HP C Compiler
   16478 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16479 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16480 # This bug is HP SR number 8606223364.
   16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   16482 $as_echo_n "checking size of short... " >&6; }
   16483 if ${ac_cv_sizeof_short+:} false; then :
   16484   $as_echo_n "(cached) " >&6
   16485 else
   16486   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   16487 
   16488 else
   16489   if test "$ac_cv_type_short" = yes; then
   16490      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16492 as_fn_error 77 "cannot compute sizeof (short)
   16493 See \`config.log' for more details" "$LINENO" 5; }
   16494    else
   16495      ac_cv_sizeof_short=0
   16496    fi
   16497 fi
   16498 
   16499 fi
   16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   16501 $as_echo "$ac_cv_sizeof_short" >&6; }
   16502 
   16503 
   16504 
   16505 cat >>confdefs.h <<_ACEOF
   16506 #define SIZEOF_SHORT $ac_cv_sizeof_short
   16507 _ACEOF
   16508 
   16509 
   16510   # The cast to long int works around a bug in the HP C Compiler
   16511 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   16512 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   16513 # This bug is HP SR number 8606223364.
   16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   16515 $as_echo_n "checking size of char... " >&6; }
   16516 if ${ac_cv_sizeof_char+:} false; then :
   16517   $as_echo_n "(cached) " >&6
   16518 else
   16519   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   16520 
   16521 else
   16522   if test "$ac_cv_type_char" = yes; then
   16523      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   16524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   16525 as_fn_error 77 "cannot compute sizeof (char)
   16526 See \`config.log' for more details" "$LINENO" 5; }
   16527    else
   16528      ac_cv_sizeof_char=0
   16529    fi
   16530 fi
   16531 
   16532 fi
   16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   16534 $as_echo "$ac_cv_sizeof_char" >&6; }
   16535 
   16536 
   16537 
   16538 cat >>confdefs.h <<_ACEOF
   16539 #define SIZEOF_CHAR $ac_cv_sizeof_char
   16540 _ACEOF
   16541 
   16542 
   16543 
   16544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
   16545 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   16546   case "$ac_cv_sizeof_char" in
   16547     1) acx_cv_type_int8_t=char ;;
   16548     *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
   16549   esac
   16550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
   16551 $as_echo "$acx_cv_type_int8_t" >&6; }
   16552 
   16553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
   16554 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   16555   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
   16556     2:*) acx_cv_type_int16_t=int ;;
   16557     *:2) acx_cv_type_int16_t=short ;;
   16558     *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
   16559   esac
   16560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
   16561 $as_echo "$acx_cv_type_int16_t" >&6; }
   16562 
   16563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
   16564 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   16565   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
   16566     4:*) acx_cv_type_int32_t=int ;;
   16567     *:4) acx_cv_type_int32_t=long ;;
   16568     *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
   16569   esac
   16570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
   16571 $as_echo "$acx_cv_type_int32_t" >&6; }
   16572 fi
   16573 
   16574 # These tests are here to make the output prettier
   16575 
   16576 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
   16577   case "$ac_cv_sizeof_long" in
   16578     8) acx_cv_type_int64_t=long ;;
   16579   esac
   16580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
   16581 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
   16582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
   16583 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
   16584 fi
   16585 
   16586 # Now we can use the above types
   16587 
   16588 if test "$ac_cv_type_uintptr_t" != yes; then
   16589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
   16590 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
   16591   case $ac_cv_sizeof_void_p in
   16592     2) acx_cv_type_intptr_t=int16_t ;;
   16593     4) acx_cv_type_intptr_t=int32_t ;;
   16594     8) acx_cv_type_intptr_t=int64_t ;;
   16595     *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   16596   esac
   16597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
   16598 $as_echo "$acx_cv_type_intptr_t" >&6; }
   16599 fi
   16600 
   16601 # ----------------- done all checks, emit header -------------
   16602 ac_config_commands="$ac_config_commands gstdint.h"
   16603 
   16604 
   16605 
   16606 
   16607 for ac_header in sys/mman.h alloca.h
   16608 do :
   16609   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   16610 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   16611 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   16612   cat >>confdefs.h <<_ACEOF
   16613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   16614 _ACEOF
   16615 
   16616 fi
   16617 
   16618 done
   16619 
   16620 if test "$ac_cv_header_sys_mman_h" = "no"; then
   16621   have_mmap=no
   16622 else
   16623   if test -n "${with_target_subdir}"; then
   16624     # When built as a GCC target library, we can't do a link test.  We
   16625     # simply assume that if we have mman.h, we have mmap.
   16626     have_mmap=yes
   16627   else
   16628     ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
   16629 if test "x$ac_cv_func_mmap" = xyes; then :
   16630   have_mmap=yes
   16631 else
   16632   have_mmap=no
   16633 fi
   16634 
   16635   fi
   16636 fi
   16637 if test "$have_mmap" = "no"; then
   16638   VIEW_FILE=read.lo
   16639   ALLOC_FILE=alloc.lo
   16640 else
   16641   VIEW_FILE=mmapio.lo
   16642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16643 /* end confdefs.h.  */
   16644 
   16645 #include <sys/mman.h>
   16646 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
   16647   #error no MAP_ANONYMOUS
   16648 #endif
   16649 
   16650 _ACEOF
   16651 if ac_fn_c_try_cpp "$LINENO"; then :
   16652   ALLOC_FILE=mmap.lo
   16653 else
   16654   ALLOC_FILE=alloc.lo
   16655 fi
   16656 rm -f conftest.err conftest.i conftest.$ac_ext
   16657 fi
   16658 
   16659 
   16660 
   16661 BACKTRACE_USES_MALLOC=0
   16662 if test "$ALLOC_FILE" = "alloc.lo"; then
   16663   BACKTRACE_USES_MALLOC=1
   16664 fi
   16665 
   16666 
   16667 # Don't care about thread support
   16668 BACKTRACE_SUPPORTS_THREADS=0
   16669 
   16670 
   16671 # Check for dl_iterate_phdr.
   16672 for ac_header in link.h
   16673 do :
   16674   ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
   16675 if test "x$ac_cv_header_link_h" = xyes; then :
   16676   cat >>confdefs.h <<_ACEOF
   16677 #define HAVE_LINK_H 1
   16678 _ACEOF
   16679 
   16680 fi
   16681 
   16682 done
   16683 
   16684 if test "$ac_cv_header_link_h" = "no"; then
   16685   have_dl_iterate_phdr=no
   16686 else
   16687   # When built as a GCC target library, we can't do a link test.
   16688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16689 /* end confdefs.h.  */
   16690 #include <link.h>
   16691 
   16692 _ACEOF
   16693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16694   $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
   16695   have_dl_iterate_phdr=yes
   16696 else
   16697   have_dl_iterate_phdr=no
   16698 fi
   16699 rm -f conftest*
   16700 
   16701 fi
   16702 if test "$have_dl_iterate_phdr" = "yes"; then
   16703 
   16704 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
   16705 
   16706 fi
   16707 
   16708 # Check for the fcntl function.
   16709 if test -n "${with_target_subdir}"; then
   16710    case "${host}" in
   16711    *-*-mingw*) have_fcntl=no ;;
   16712    *) have_fcntl=yes ;;
   16713    esac
   16714 else
   16715   ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
   16716 if test "x$ac_cv_func_fcntl" = xyes; then :
   16717   have_fcntl=yes
   16718 else
   16719   have_fcntl=no
   16720 fi
   16721 
   16722 fi
   16723 if test "$have_fcntl" = "yes"; then
   16724 
   16725 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
   16726 
   16727 fi
   16728 
   16729 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   16730 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   16731   ac_have_decl=1
   16732 else
   16733   ac_have_decl=0
   16734 fi
   16735 
   16736 cat >>confdefs.h <<_ACEOF
   16737 #define HAVE_DECL_STRNLEN $ac_have_decl
   16738 _ACEOF
   16739 
   16740 
   16741 # Check for getexecname function.
   16742 if test -n "${with_target_subdir}"; then
   16743    case "${host}" in
   16744    *-*-solaris2*) have_getexecname=yes ;;
   16745    *) have_getexecname=no ;;
   16746    esac
   16747 else
   16748   ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
   16749 if test "x$ac_cv_func_getexecname" = xyes; then :
   16750   have_getexecname=yes
   16751 else
   16752   have_getexecname=no
   16753 fi
   16754 
   16755 fi
   16756 if test "$have_getexecname" = "yes"; then
   16757 
   16758 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
   16759 
   16760 fi
   16761 
   16762 # Check for rpc/xdr.h
   16763 for ac_header in rpc/xdr.h
   16764 do :
   16765   ac_fn_c_check_header_mongrel "$LINENO" "rpc/xdr.h" "ac_cv_header_rpc_xdr_h" "$ac_includes_default"
   16766 if test "x$ac_cv_header_rpc_xdr_h" = xyes; then :
   16767   cat >>confdefs.h <<_ACEOF
   16768 #define HAVE_RPC_XDR_H 1
   16769 _ACEOF
   16770 
   16771 fi
   16772 
   16773 done
   16774 
   16775 if test x"$ac_cv_header_rpc_xdr_h" = xyes; then
   16776   rpc_defs="$rpc_defs -DHAVE_RPC_XDR_H=1"
   16777 else
   16778   rpc_defs="$rpc_defs -DHAVE_RPC_XDR_H=0"
   16779 fi
   16780 
   16781 # Check for tirpc/rpc/xdr.h
   16782 for ac_header in tirpc/rpc/xdr.h
   16783 do :
   16784   ac_fn_c_check_header_mongrel "$LINENO" "tirpc/rpc/xdr.h" "ac_cv_header_tirpc_rpc_xdr_h" "$ac_includes_default"
   16785 if test "x$ac_cv_header_tirpc_rpc_xdr_h" = xyes; then :
   16786   cat >>confdefs.h <<_ACEOF
   16787 #define HAVE_TIRPC_RPC_XDR_H 1
   16788 _ACEOF
   16789 
   16790 fi
   16791 
   16792 done
   16793 
   16794 if test x"$ac_cv_header_tirpc_rpc_xdr_h" = xyes; then
   16795   rpc_defs="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=1"
   16796 else
   16797   rpc_defs="$rpc_defs -DHAVE_TIRPC_RPC_XDR_H=0"
   16798 fi
   16799 
   16800 RPC_DEFS=$rpc_defs
   16801 
   16802 
   16803  if test "x${BACKTRACE_SUPPORTED}x${BACKTRACE_USES_MALLOC}" = "x1x0"; then
   16804   LIBBACKTRACE_SUPPORTED_TRUE=
   16805   LIBBACKTRACE_SUPPORTED_FALSE='#'
   16806 else
   16807   LIBBACKTRACE_SUPPORTED_TRUE='#'
   16808   LIBBACKTRACE_SUPPORTED_FALSE=
   16809 fi
   16810 
   16811 
   16812 
   16813 ac_config_files="$ac_config_files Makefile libsanitizer.spec libbacktrace/backtrace-supported.h"
   16814 
   16815 ac_config_headers="$ac_config_headers config.h"
   16816 
   16817 
   16818 ac_config_files="$ac_config_files interception/Makefile sanitizer_common/Makefile libbacktrace/Makefile lsan/Makefile asan/Makefile ubsan/Makefile"
   16819 
   16820 
   16821 if test "x$TSAN_SUPPORTED" = "xyes"; then
   16822   ac_config_files="$ac_config_files tsan/Makefile"
   16823 
   16824 fi
   16825 
   16826 
   16827 
   16828 
   16829 # Determine what GCC version number to use in filesystem paths.
   16830 
   16831   get_gcc_base_ver="cat"
   16832 
   16833 # Check whether --with-gcc-major-version-only was given.
   16834 if test "${with_gcc_major_version_only+set}" = set; then :
   16835   withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
   16836         get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
   16837       fi
   16838 
   16839 fi
   16840 
   16841 
   16842 
   16843 
   16844 # Add CET specific flags if Intel CET is enabled.
   16845  # Check whether --enable-cet was given.
   16846 if test "${enable_cet+set}" = set; then :
   16847   enableval=$enable_cet;
   16848       case "$enableval" in
   16849        yes|no|auto) ;;
   16850        *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
   16851                           esac
   16852 
   16853 else
   16854   enable_cet=no
   16855 fi
   16856 
   16857 
   16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
   16859 $as_echo_n "checking for CET support... " >&6; }
   16860 
   16861 case "$host" in
   16862   i[34567]86-*-linux* | x86_64-*-linux*)
   16863     case "$enable_cet" in
   16864       auto)
   16865 	# Check if target supports multi-byte NOPs
   16866 	# and if assembler supports CET insn.
   16867 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16868 /* end confdefs.h.  */
   16869 
   16870 int
   16871 main ()
   16872 {
   16873 
   16874 #if !defined(__SSE2__)
   16875 #error target does not support multi-byte NOPs
   16876 #else
   16877 asm ("setssbsy");
   16878 #endif
   16879 
   16880   ;
   16881   return 0;
   16882 }
   16883 _ACEOF
   16884 if ac_fn_c_try_compile "$LINENO"; then :
   16885   enable_cet=yes
   16886 else
   16887   enable_cet=no
   16888 fi
   16889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16890 	;;
   16891       yes)
   16892 	# Check if assembler supports CET.
   16893 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16894 /* end confdefs.h.  */
   16895 
   16896 int
   16897 main ()
   16898 {
   16899 asm ("setssbsy");
   16900   ;
   16901   return 0;
   16902 }
   16903 _ACEOF
   16904 if ac_fn_c_try_compile "$LINENO"; then :
   16905 
   16906 else
   16907   as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
   16908 fi
   16909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16910 	;;
   16911     esac
   16912     ;;
   16913   *)
   16914     enable_cet=no
   16915     ;;
   16916 esac
   16917 if test x$enable_cet = xyes; then
   16918   CET_FLAGS="-fcf-protection -mshstk"
   16919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16920 $as_echo "yes" >&6; }
   16921 else
   16922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16923 $as_echo "no" >&6; }
   16924 fi
   16925 
   16926 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
   16927 EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS $CET_FLAGS"
   16928 EXTRA_ASFLAGS=$CET_FLAGS
   16929 
   16930 
   16931 
   16932 
   16933 cat >confcache <<\_ACEOF
   16934 # This file is a shell script that caches the results of configure
   16935 # tests run on this system so they can be shared between configure
   16936 # scripts and configure runs, see configure's option --config-cache.
   16937 # It is not useful on other systems.  If it contains results you don't
   16938 # want to keep, you may remove or edit it.
   16939 #
   16940 # config.status only pays attention to the cache file if you give it
   16941 # the --recheck option to rerun configure.
   16942 #
   16943 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16944 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16945 # following values.
   16946 
   16947 _ACEOF
   16948 
   16949 # The following way of writing the cache mishandles newlines in values,
   16950 # but we know of no workaround that is simple, portable, and efficient.
   16951 # So, we kill variables containing newlines.
   16952 # Ultrix sh set writes to stderr and can't be redirected directly,
   16953 # and sets the high bit in the cache file unless we assign to the vars.
   16954 (
   16955   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16956     eval ac_val=\$$ac_var
   16957     case $ac_val in #(
   16958     *${as_nl}*)
   16959       case $ac_var in #(
   16960       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16961 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16962       esac
   16963       case $ac_var in #(
   16964       _ | IFS | as_nl) ;; #(
   16965       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16966       *) { eval $ac_var=; unset $ac_var;} ;;
   16967       esac ;;
   16968     esac
   16969   done
   16970 
   16971   (set) 2>&1 |
   16972     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16973     *${as_nl}ac_space=\ *)
   16974       # `set' does not quote correctly, so add quotes: double-quote
   16975       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16976       sed -n \
   16977 	"s/'/'\\\\''/g;
   16978 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16979       ;; #(
   16980     *)
   16981       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16982       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   16983       ;;
   16984     esac |
   16985     sort
   16986 ) |
   16987   sed '
   16988      /^ac_cv_env_/b end
   16989      t clear
   16990      :clear
   16991      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16992      t end
   16993      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16994      :end' >>confcache
   16995 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   16996   if test -w "$cache_file"; then
   16997     if test "x$cache_file" != "x/dev/null"; then
   16998       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   16999 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17000       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17001 	cat confcache >"$cache_file"
   17002       else
   17003         case $cache_file in #(
   17004         */* | ?:*)
   17005 	  mv -f confcache "$cache_file"$$ &&
   17006 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17007         *)
   17008 	  mv -f confcache "$cache_file" ;;
   17009 	esac
   17010       fi
   17011     fi
   17012   else
   17013     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17014 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17015   fi
   17016 fi
   17017 rm -f confcache
   17018 
   17019 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17020 # Let make expand exec_prefix.
   17021 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17022 
   17023 DEFS=-DHAVE_CONFIG_H
   17024 
   17025 ac_libobjs=
   17026 ac_ltlibobjs=
   17027 U=
   17028 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17029   # 1. Remove the extension, and $U if already installed.
   17030   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17031   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17032   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17033   #    will be set to the directory where LIBOBJS objects are built.
   17034   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17035   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17036 done
   17037 LIBOBJS=$ac_libobjs
   17038 
   17039 LTLIBOBJS=$ac_ltlibobjs
   17040 
   17041 
   17042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17043 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17044    if test -n "$am_sleep_pid"; then
   17045      # Hide warnings about reused PIDs.
   17046      wait $am_sleep_pid 2>/dev/null
   17047    fi
   17048    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17049 $as_echo "done" >&6; }
   17050 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17051   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17053 fi
   17054 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17055   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17057 fi
   17058  if test -n "$EXEEXT"; then
   17059   am__EXEEXT_TRUE=
   17060   am__EXEEXT_FALSE='#'
   17061 else
   17062   am__EXEEXT_TRUE='#'
   17063   am__EXEEXT_FALSE=
   17064 fi
   17065 
   17066 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17067   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17069 fi
   17070 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   17071   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   17072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17073 fi
   17074 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
   17075   as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
   17076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17077 fi
   17078 if test -z "${TSAN_SUPPORTED_TRUE}" && test -z "${TSAN_SUPPORTED_FALSE}"; then
   17079   as_fn_error $? "conditional \"TSAN_SUPPORTED\" was never defined.
   17080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17081 fi
   17082 if test -z "${LSAN_SUPPORTED_TRUE}" && test -z "${LSAN_SUPPORTED_FALSE}"; then
   17083   as_fn_error $? "conditional \"LSAN_SUPPORTED\" was never defined.
   17084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17085 fi
   17086 if test -z "${USING_MAC_INTERPOSE_TRUE}" && test -z "${USING_MAC_INTERPOSE_FALSE}"; then
   17087   as_fn_error $? "conditional \"USING_MAC_INTERPOSE\" was never defined.
   17088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17089 fi
   17090 if test -z "${SANITIZER_SUPPORTED_TRUE}" && test -z "${SANITIZER_SUPPORTED_FALSE}"; then
   17091   as_fn_error $? "conditional \"SANITIZER_SUPPORTED\" was never defined.
   17092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17093 fi
   17094 if test -z "${LIBBACKTRACE_SUPPORTED_TRUE}" && test -z "${LIBBACKTRACE_SUPPORTED_FALSE}"; then
   17095   as_fn_error $? "conditional \"LIBBACKTRACE_SUPPORTED\" was never defined.
   17096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17097 fi
   17098 
   17099 : "${CONFIG_STATUS=./config.status}"
   17100 ac_write_fail=0
   17101 ac_clean_files_save=$ac_clean_files
   17102 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17104 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17105 as_write_fail=0
   17106 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17107 #! $SHELL
   17108 # Generated by $as_me.
   17109 # Run this file to recreate the current configuration.
   17110 # Compiler output produced by configure, useful for debugging
   17111 # configure, is in config.log if it exists.
   17112 
   17113 debug=false
   17114 ac_cs_recheck=false
   17115 ac_cs_silent=false
   17116 
   17117 SHELL=\${CONFIG_SHELL-$SHELL}
   17118 export SHELL
   17119 _ASEOF
   17120 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17121 ## -------------------- ##
   17122 ## M4sh Initialization. ##
   17123 ## -------------------- ##
   17124 
   17125 # Be more Bourne compatible
   17126 DUALCASE=1; export DUALCASE # for MKS sh
   17127 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17128   emulate sh
   17129   NULLCMD=:
   17130   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17131   # is contrary to our usage.  Disable this feature.
   17132   alias -g '${1+"$@"}'='"$@"'
   17133   setopt NO_GLOB_SUBST
   17134 else
   17135   case `(set -o) 2>/dev/null` in #(
   17136   *posix*) :
   17137     set -o posix ;; #(
   17138   *) :
   17139      ;;
   17140 esac
   17141 fi
   17142 
   17143 
   17144 as_nl='
   17145 '
   17146 export as_nl
   17147 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17148 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17149 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17151 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17152 # but without wasting forks for bash or zsh.
   17153 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17154     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17155   as_echo='print -r --'
   17156   as_echo_n='print -rn --'
   17157 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17158   as_echo='printf %s\n'
   17159   as_echo_n='printf %s'
   17160 else
   17161   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17162     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17163     as_echo_n='/usr/ucb/echo -n'
   17164   else
   17165     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17166     as_echo_n_body='eval
   17167       arg=$1;
   17168       case $arg in #(
   17169       *"$as_nl"*)
   17170 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17171 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17172       esac;
   17173       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17174     '
   17175     export as_echo_n_body
   17176     as_echo_n='sh -c $as_echo_n_body as_echo'
   17177   fi
   17178   export as_echo_body
   17179   as_echo='sh -c $as_echo_body as_echo'
   17180 fi
   17181 
   17182 # The user is always right.
   17183 if test "${PATH_SEPARATOR+set}" != set; then
   17184   PATH_SEPARATOR=:
   17185   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17186     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17187       PATH_SEPARATOR=';'
   17188   }
   17189 fi
   17190 
   17191 
   17192 # IFS
   17193 # We need space, tab and new line, in precisely that order.  Quoting is
   17194 # there to prevent editors from complaining about space-tab.
   17195 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17196 # splitting by setting IFS to empty value.)
   17197 IFS=" ""	$as_nl"
   17198 
   17199 # Find who we are.  Look in the path if we contain no directory separator.
   17200 as_myself=
   17201 case $0 in #((
   17202   *[\\/]* ) as_myself=$0 ;;
   17203   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17204 for as_dir in $PATH
   17205 do
   17206   IFS=$as_save_IFS
   17207   test -z "$as_dir" && as_dir=.
   17208     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17209   done
   17210 IFS=$as_save_IFS
   17211 
   17212      ;;
   17213 esac
   17214 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17215 # in which case we are not to be found in the path.
   17216 if test "x$as_myself" = x; then
   17217   as_myself=$0
   17218 fi
   17219 if test ! -f "$as_myself"; then
   17220   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17221   exit 1
   17222 fi
   17223 
   17224 # Unset variables that we do not need and which cause bugs (e.g. in
   17225 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17226 # suppresses any "Segmentation fault" message there.  '((' could
   17227 # trigger a bug in pdksh 5.2.14.
   17228 for as_var in BASH_ENV ENV MAIL MAILPATH
   17229 do eval test x\${$as_var+set} = xset \
   17230   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17231 done
   17232 PS1='$ '
   17233 PS2='> '
   17234 PS4='+ '
   17235 
   17236 # NLS nuisances.
   17237 LC_ALL=C
   17238 export LC_ALL
   17239 LANGUAGE=C
   17240 export LANGUAGE
   17241 
   17242 # CDPATH.
   17243 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17244 
   17245 
   17246 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17247 # ----------------------------------------
   17248 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17249 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17250 # script with STATUS, using 1 if that was 0.
   17251 as_fn_error ()
   17252 {
   17253   as_status=$1; test $as_status -eq 0 && as_status=1
   17254   if test "$4"; then
   17255     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17256     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17257   fi
   17258   $as_echo "$as_me: error: $2" >&2
   17259   as_fn_exit $as_status
   17260 } # as_fn_error
   17261 
   17262 
   17263 # as_fn_set_status STATUS
   17264 # -----------------------
   17265 # Set $? to STATUS, without forking.
   17266 as_fn_set_status ()
   17267 {
   17268   return $1
   17269 } # as_fn_set_status
   17270 
   17271 # as_fn_exit STATUS
   17272 # -----------------
   17273 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17274 as_fn_exit ()
   17275 {
   17276   set +e
   17277   as_fn_set_status $1
   17278   exit $1
   17279 } # as_fn_exit
   17280 
   17281 # as_fn_unset VAR
   17282 # ---------------
   17283 # Portably unset VAR.
   17284 as_fn_unset ()
   17285 {
   17286   { eval $1=; unset $1;}
   17287 }
   17288 as_unset=as_fn_unset
   17289 # as_fn_append VAR VALUE
   17290 # ----------------------
   17291 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17292 # advantage of any shell optimizations that allow amortized linear growth over
   17293 # repeated appends, instead of the typical quadratic growth present in naive
   17294 # implementations.
   17295 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17296   eval 'as_fn_append ()
   17297   {
   17298     eval $1+=\$2
   17299   }'
   17300 else
   17301   as_fn_append ()
   17302   {
   17303     eval $1=\$$1\$2
   17304   }
   17305 fi # as_fn_append
   17306 
   17307 # as_fn_arith ARG...
   17308 # ------------------
   17309 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17310 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17311 # must be portable across $(()) and expr.
   17312 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17313   eval 'as_fn_arith ()
   17314   {
   17315     as_val=$(( $* ))
   17316   }'
   17317 else
   17318   as_fn_arith ()
   17319   {
   17320     as_val=`expr "$@" || test $? -eq 1`
   17321   }
   17322 fi # as_fn_arith
   17323 
   17324 
   17325 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17326    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17327   as_expr=expr
   17328 else
   17329   as_expr=false
   17330 fi
   17331 
   17332 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17333   as_basename=basename
   17334 else
   17335   as_basename=false
   17336 fi
   17337 
   17338 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17339   as_dirname=dirname
   17340 else
   17341   as_dirname=false
   17342 fi
   17343 
   17344 as_me=`$as_basename -- "$0" ||
   17345 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17346 	 X"$0" : 'X\(//\)$' \| \
   17347 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17348 $as_echo X/"$0" |
   17349     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17350 	    s//\1/
   17351 	    q
   17352 	  }
   17353 	  /^X\/\(\/\/\)$/{
   17354 	    s//\1/
   17355 	    q
   17356 	  }
   17357 	  /^X\/\(\/\).*/{
   17358 	    s//\1/
   17359 	    q
   17360 	  }
   17361 	  s/.*/./; q'`
   17362 
   17363 # Avoid depending upon Character Ranges.
   17364 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17365 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17366 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17367 as_cr_digits='0123456789'
   17368 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17369 
   17370 ECHO_C= ECHO_N= ECHO_T=
   17371 case `echo -n x` in #(((((
   17372 -n*)
   17373   case `echo 'xy\c'` in
   17374   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17375   xy)  ECHO_C='\c';;
   17376   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17377        ECHO_T='	';;
   17378   esac;;
   17379 *)
   17380   ECHO_N='-n';;
   17381 esac
   17382 
   17383 rm -f conf$$ conf$$.exe conf$$.file
   17384 if test -d conf$$.dir; then
   17385   rm -f conf$$.dir/conf$$.file
   17386 else
   17387   rm -f conf$$.dir
   17388   mkdir conf$$.dir 2>/dev/null
   17389 fi
   17390 if (echo >conf$$.file) 2>/dev/null; then
   17391   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17392     as_ln_s='ln -s'
   17393     # ... but there are two gotchas:
   17394     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17395     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17396     # In both cases, we have to default to `cp -pR'.
   17397     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17398       as_ln_s='cp -pR'
   17399   elif ln conf$$.file conf$$ 2>/dev/null; then
   17400     as_ln_s=ln
   17401   else
   17402     as_ln_s='cp -pR'
   17403   fi
   17404 else
   17405   as_ln_s='cp -pR'
   17406 fi
   17407 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17408 rmdir conf$$.dir 2>/dev/null
   17409 
   17410 
   17411 # as_fn_mkdir_p
   17412 # -------------
   17413 # Create "$as_dir" as a directory, including parents if necessary.
   17414 as_fn_mkdir_p ()
   17415 {
   17416 
   17417   case $as_dir in #(
   17418   -*) as_dir=./$as_dir;;
   17419   esac
   17420   test -d "$as_dir" || eval $as_mkdir_p || {
   17421     as_dirs=
   17422     while :; do
   17423       case $as_dir in #(
   17424       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17425       *) as_qdir=$as_dir;;
   17426       esac
   17427       as_dirs="'$as_qdir' $as_dirs"
   17428       as_dir=`$as_dirname -- "$as_dir" ||
   17429 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17430 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17431 	 X"$as_dir" : 'X\(//\)$' \| \
   17432 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17433 $as_echo X"$as_dir" |
   17434     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17435 	    s//\1/
   17436 	    q
   17437 	  }
   17438 	  /^X\(\/\/\)[^/].*/{
   17439 	    s//\1/
   17440 	    q
   17441 	  }
   17442 	  /^X\(\/\/\)$/{
   17443 	    s//\1/
   17444 	    q
   17445 	  }
   17446 	  /^X\(\/\).*/{
   17447 	    s//\1/
   17448 	    q
   17449 	  }
   17450 	  s/.*/./; q'`
   17451       test -d "$as_dir" && break
   17452     done
   17453     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17454   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17455 
   17456 
   17457 } # as_fn_mkdir_p
   17458 if mkdir -p . 2>/dev/null; then
   17459   as_mkdir_p='mkdir -p "$as_dir"'
   17460 else
   17461   test -d ./-p && rmdir ./-p
   17462   as_mkdir_p=false
   17463 fi
   17464 
   17465 
   17466 # as_fn_executable_p FILE
   17467 # -----------------------
   17468 # Test if FILE is an executable regular file.
   17469 as_fn_executable_p ()
   17470 {
   17471   test -f "$1" && test -x "$1"
   17472 } # as_fn_executable_p
   17473 as_test_x='test -x'
   17474 as_executable_p=as_fn_executable_p
   17475 
   17476 # Sed expression to map a string onto a valid CPP name.
   17477 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17478 
   17479 # Sed expression to map a string onto a valid variable name.
   17480 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17481 
   17482 
   17483 exec 6>&1
   17484 ## ----------------------------------- ##
   17485 ## Main body of $CONFIG_STATUS script. ##
   17486 ## ----------------------------------- ##
   17487 _ASEOF
   17488 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17489 
   17490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17491 # Save the log message, to keep $0 and so on meaningful, and to
   17492 # report actual input values of CONFIG_FILES etc. instead of their
   17493 # values after options handling.
   17494 ac_log="
   17495 This file was extended by package-unused $as_me version-unused, which was
   17496 generated by GNU Autoconf 2.69.  Invocation command line was
   17497 
   17498   CONFIG_FILES    = $CONFIG_FILES
   17499   CONFIG_HEADERS  = $CONFIG_HEADERS
   17500   CONFIG_LINKS    = $CONFIG_LINKS
   17501   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17502   $ $0 $@
   17503 
   17504 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17505 "
   17506 
   17507 _ACEOF
   17508 
   17509 case $ac_config_files in *"
   17510 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17511 esac
   17512 
   17513 case $ac_config_headers in *"
   17514 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17515 esac
   17516 
   17517 
   17518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17519 # Files that config.status was made for.
   17520 config_files="$ac_config_files"
   17521 config_headers="$ac_config_headers"
   17522 config_commands="$ac_config_commands"
   17523 
   17524 _ACEOF
   17525 
   17526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17527 ac_cs_usage="\
   17528 \`$as_me' instantiates files and other configuration actions
   17529 from templates according to the current configuration.  Unless the files
   17530 and actions are specified as TAGs, all are instantiated by default.
   17531 
   17532 Usage: $0 [OPTION]... [TAG]...
   17533 
   17534   -h, --help       print this help, then exit
   17535   -V, --version    print version number and configuration settings, then exit
   17536       --config     print configuration, then exit
   17537   -q, --quiet, --silent
   17538                    do not print progress messages
   17539   -d, --debug      don't remove temporary files
   17540       --recheck    update $as_me by reconfiguring in the same conditions
   17541       --file=FILE[:TEMPLATE]
   17542                    instantiate the configuration file FILE
   17543       --header=FILE[:TEMPLATE]
   17544                    instantiate the configuration header FILE
   17545 
   17546 Configuration files:
   17547 $config_files
   17548 
   17549 Configuration headers:
   17550 $config_headers
   17551 
   17552 Configuration commands:
   17553 $config_commands
   17554 
   17555 Report bugs to <libsanitizer>."
   17556 
   17557 _ACEOF
   17558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17559 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17560 ac_cs_version="\\
   17561 package-unused config.status version-unused
   17562 configured by $0, generated by GNU Autoconf 2.69,
   17563   with options \\"\$ac_cs_config\\"
   17564 
   17565 Copyright (C) 2012 Free Software Foundation, Inc.
   17566 This config.status script is free software; the Free Software Foundation
   17567 gives unlimited permission to copy, distribute and modify it."
   17568 
   17569 ac_pwd='$ac_pwd'
   17570 srcdir='$srcdir'
   17571 INSTALL='$INSTALL'
   17572 MKDIR_P='$MKDIR_P'
   17573 AWK='$AWK'
   17574 test -n "\$AWK" || AWK=awk
   17575 _ACEOF
   17576 
   17577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17578 # The default lists apply if the user does not specify any file.
   17579 ac_need_defaults=:
   17580 while test $# != 0
   17581 do
   17582   case $1 in
   17583   --*=?*)
   17584     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17585     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17586     ac_shift=:
   17587     ;;
   17588   --*=)
   17589     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17590     ac_optarg=
   17591     ac_shift=:
   17592     ;;
   17593   *)
   17594     ac_option=$1
   17595     ac_optarg=$2
   17596     ac_shift=shift
   17597     ;;
   17598   esac
   17599 
   17600   case $ac_option in
   17601   # Handling of the options.
   17602   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17603     ac_cs_recheck=: ;;
   17604   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17605     $as_echo "$ac_cs_version"; exit ;;
   17606   --config | --confi | --conf | --con | --co | --c )
   17607     $as_echo "$ac_cs_config"; exit ;;
   17608   --debug | --debu | --deb | --de | --d | -d )
   17609     debug=: ;;
   17610   --file | --fil | --fi | --f )
   17611     $ac_shift
   17612     case $ac_optarg in
   17613     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17614     '') as_fn_error $? "missing file argument" ;;
   17615     esac
   17616     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17617     ac_need_defaults=false;;
   17618   --header | --heade | --head | --hea )
   17619     $ac_shift
   17620     case $ac_optarg in
   17621     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17622     esac
   17623     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17624     ac_need_defaults=false;;
   17625   --he | --h)
   17626     # Conflict between --help and --header
   17627     as_fn_error $? "ambiguous option: \`$1'
   17628 Try \`$0 --help' for more information.";;
   17629   --help | --hel | -h )
   17630     $as_echo "$ac_cs_usage"; exit ;;
   17631   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17632   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17633     ac_cs_silent=: ;;
   17634 
   17635   # This is an error.
   17636   -*) as_fn_error $? "unrecognized option: \`$1'
   17637 Try \`$0 --help' for more information." ;;
   17638 
   17639   *) as_fn_append ac_config_targets " $1"
   17640      ac_need_defaults=false ;;
   17641 
   17642   esac
   17643   shift
   17644 done
   17645 
   17646 ac_configure_extra_args=
   17647 
   17648 if $ac_cs_silent; then
   17649   exec 6>/dev/null
   17650   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17651 fi
   17652 
   17653 _ACEOF
   17654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17655 if \$ac_cs_recheck; then
   17656   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17657   shift
   17658   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17659   CONFIG_SHELL='$SHELL'
   17660   export CONFIG_SHELL
   17661   exec "\$@"
   17662 fi
   17663 
   17664 _ACEOF
   17665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17666 exec 5>>config.log
   17667 {
   17668   echo
   17669   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17670 ## Running $as_me. ##
   17671 _ASBOX
   17672   $as_echo "$ac_log"
   17673 } >&5
   17674 
   17675 _ACEOF
   17676 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17677 #
   17678 # INIT-COMMANDS
   17679 #
   17680 
   17681 srcdir="$srcdir"
   17682 host="$host"
   17683 target="$target"
   17684 with_multisubdir="$with_multisubdir"
   17685 with_multisrctop="$with_multisrctop"
   17686 with_target_subdir="$with_target_subdir"
   17687 ac_configure_args="${multilib_arg} ${ac_configure_args}"
   17688 multi_basedir="$multi_basedir"
   17689 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   17690 CC="$CC"
   17691 CXX="$CXX"
   17692 GFORTRAN="$GFORTRAN"
   17693 GDC="$GDC"
   17694 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17695 
   17696 
   17697 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17698 # if CDPATH is set.
   17699 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17700 
   17701 sed_quote_subst='$sed_quote_subst'
   17702 double_quote_subst='$double_quote_subst'
   17703 delay_variable_subst='$delay_variable_subst'
   17704 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17705 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17706 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17707 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17708 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17709 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17710 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17711 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17712 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17713 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17714 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17715 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17716 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17717 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17718 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17719 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17720 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17721 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17722 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17723 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17724 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17725 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17726 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17727 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17728 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17729 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17730 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17731 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17732 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17733 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17734 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17735 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17736 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17737 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17738 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17739 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17740 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17741 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17742 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17743 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17744 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17745 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17746 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17747 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17748 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17749 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17750 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17751 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17752 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"`'
   17753 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17754 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17755 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17756 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17757 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17758 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17759 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17760 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17761 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17762 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17763 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17764 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17765 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17766 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17767 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17768 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17769 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17770 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17771 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17772 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17773 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17774 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17775 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17776 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17777 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17778 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17779 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17780 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17781 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17782 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17783 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17784 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   17785 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17786 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17787 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17788 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17789 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17790 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17791 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17792 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17793 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   17794 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17795 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17796 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17797 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17798 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17799 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17800 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17801 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17802 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17803 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17804 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17805 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17806 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17807 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17808 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17809 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17810 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17811 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17812 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17813 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17814 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17815 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17816 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17817 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17818 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17819 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17820 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17821 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17822 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17823 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17824 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   17825 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   17826 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   17827 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   17828 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   17829 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   17830 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   17831 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17832 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17833 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17834 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   17835 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   17836 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17837 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   17838 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   17839 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   17840 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   17841 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   17842 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   17843 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17844 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17845 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   17846 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17847 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17848 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17849 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17850 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17851 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17852 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17853 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17854 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17855 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17856 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17857 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   17858 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   17859 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   17860 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   17861 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   17862 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   17863 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   17864 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   17865 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   17866 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   17867 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17868 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17869 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17870 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17871 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17872 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   17873 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   17874 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17875 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17876 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   17877 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   17878 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   17879 
   17880 LTCC='$LTCC'
   17881 LTCFLAGS='$LTCFLAGS'
   17882 compiler='$compiler_DEFAULT'
   17883 
   17884 # A function that is used when there is no print builtin or printf.
   17885 func_fallback_echo ()
   17886 {
   17887   eval 'cat <<_LTECHO_EOF
   17888 \$1
   17889 _LTECHO_EOF'
   17890 }
   17891 
   17892 # Quote evaled strings.
   17893 for var in SHELL \
   17894 ECHO \
   17895 SED \
   17896 GREP \
   17897 EGREP \
   17898 FGREP \
   17899 LD \
   17900 NM \
   17901 LN_S \
   17902 lt_SP2NL \
   17903 lt_NL2SP \
   17904 reload_flag \
   17905 OBJDUMP \
   17906 deplibs_check_method \
   17907 file_magic_cmd \
   17908 AR \
   17909 AR_FLAGS \
   17910 STRIP \
   17911 RANLIB \
   17912 CC \
   17913 CFLAGS \
   17914 compiler \
   17915 lt_cv_sys_global_symbol_pipe \
   17916 lt_cv_sys_global_symbol_to_cdecl \
   17917 lt_cv_sys_global_symbol_to_c_name_address \
   17918 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17919 lt_prog_compiler_no_builtin_flag \
   17920 lt_prog_compiler_wl \
   17921 lt_prog_compiler_pic \
   17922 lt_prog_compiler_static \
   17923 lt_cv_prog_compiler_c_o \
   17924 need_locks \
   17925 DSYMUTIL \
   17926 NMEDIT \
   17927 LIPO \
   17928 OTOOL \
   17929 OTOOL64 \
   17930 shrext_cmds \
   17931 export_dynamic_flag_spec \
   17932 whole_archive_flag_spec \
   17933 compiler_needs_object \
   17934 with_gnu_ld \
   17935 allow_undefined_flag \
   17936 no_undefined_flag \
   17937 hardcode_libdir_flag_spec \
   17938 hardcode_libdir_flag_spec_ld \
   17939 hardcode_libdir_separator \
   17940 fix_srcfile_path \
   17941 exclude_expsyms \
   17942 include_expsyms \
   17943 file_list_spec \
   17944 variables_saved_for_relink \
   17945 libname_spec \
   17946 library_names_spec \
   17947 soname_spec \
   17948 install_override_mode \
   17949 finish_eval \
   17950 old_striplib \
   17951 striplib \
   17952 compiler_lib_search_dirs \
   17953 predep_objects \
   17954 postdep_objects \
   17955 predeps \
   17956 postdeps \
   17957 compiler_lib_search_path \
   17958 LD_CXX \
   17959 reload_flag_CXX \
   17960 compiler_CXX \
   17961 lt_prog_compiler_no_builtin_flag_CXX \
   17962 lt_prog_compiler_wl_CXX \
   17963 lt_prog_compiler_pic_CXX \
   17964 lt_prog_compiler_static_CXX \
   17965 lt_cv_prog_compiler_c_o_CXX \
   17966 export_dynamic_flag_spec_CXX \
   17967 whole_archive_flag_spec_CXX \
   17968 compiler_needs_object_CXX \
   17969 with_gnu_ld_CXX \
   17970 allow_undefined_flag_CXX \
   17971 no_undefined_flag_CXX \
   17972 hardcode_libdir_flag_spec_CXX \
   17973 hardcode_libdir_flag_spec_ld_CXX \
   17974 hardcode_libdir_separator_CXX \
   17975 fix_srcfile_path_CXX \
   17976 exclude_expsyms_CXX \
   17977 include_expsyms_CXX \
   17978 file_list_spec_CXX \
   17979 compiler_lib_search_dirs_CXX \
   17980 predep_objects_CXX \
   17981 postdep_objects_CXX \
   17982 predeps_CXX \
   17983 postdeps_CXX \
   17984 compiler_lib_search_path_CXX; do
   17985     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17986     *[\\\\\\\`\\"\\\$]*)
   17987       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   17988       ;;
   17989     *)
   17990       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   17991       ;;
   17992     esac
   17993 done
   17994 
   17995 # Double-quote double-evaled strings.
   17996 for var in reload_cmds \
   17997 old_postinstall_cmds \
   17998 old_postuninstall_cmds \
   17999 old_archive_cmds \
   18000 extract_expsyms_cmds \
   18001 old_archive_from_new_cmds \
   18002 old_archive_from_expsyms_cmds \
   18003 archive_cmds \
   18004 archive_expsym_cmds \
   18005 module_cmds \
   18006 module_expsym_cmds \
   18007 export_symbols_cmds \
   18008 prelink_cmds \
   18009 postinstall_cmds \
   18010 postuninstall_cmds \
   18011 finish_cmds \
   18012 sys_lib_search_path_spec \
   18013 sys_lib_dlsearch_path_spec \
   18014 reload_cmds_CXX \
   18015 old_archive_cmds_CXX \
   18016 old_archive_from_new_cmds_CXX \
   18017 old_archive_from_expsyms_cmds_CXX \
   18018 archive_cmds_CXX \
   18019 archive_expsym_cmds_CXX \
   18020 module_cmds_CXX \
   18021 module_expsym_cmds_CXX \
   18022 export_symbols_cmds_CXX \
   18023 prelink_cmds_CXX; do
   18024     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18025     *[\\\\\\\`\\"\\\$]*)
   18026       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18027       ;;
   18028     *)
   18029       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18030       ;;
   18031     esac
   18032 done
   18033 
   18034 ac_aux_dir='$ac_aux_dir'
   18035 xsi_shell='$xsi_shell'
   18036 lt_shell_append='$lt_shell_append'
   18037 
   18038 # See if we are running on zsh, and set the options which allow our
   18039 # commands through without removal of \ escapes INIT.
   18040 if test -n "\${ZSH_VERSION+set}" ; then
   18041    setopt NO_GLOB_SUBST
   18042 fi
   18043 
   18044 
   18045     PACKAGE='$PACKAGE'
   18046     VERSION='$VERSION'
   18047     TIMESTAMP='$TIMESTAMP'
   18048     RM='$RM'
   18049     ofile='$ofile'
   18050 
   18051 
   18052 
   18053 
   18054 
   18055 
   18056 GCC="$GCC"
   18057 CC="$CC"
   18058 acx_cv_header_stdint="$acx_cv_header_stdint"
   18059 acx_cv_type_int8_t="$acx_cv_type_int8_t"
   18060 acx_cv_type_int16_t="$acx_cv_type_int16_t"
   18061 acx_cv_type_int32_t="$acx_cv_type_int32_t"
   18062 acx_cv_type_int64_t="$acx_cv_type_int64_t"
   18063 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
   18064 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
   18065 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
   18066 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   18067 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   18068 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
   18069 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   18070 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   18071 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
   18072 
   18073 
   18074 _ACEOF
   18075 
   18076 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18077 
   18078 # Handling of arguments.
   18079 for ac_config_target in $ac_config_targets
   18080 do
   18081   case $ac_config_target in
   18082     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   18083     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18084     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18085     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
   18086     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18087     "libsanitizer.spec") CONFIG_FILES="$CONFIG_FILES libsanitizer.spec" ;;
   18088     "libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES libbacktrace/backtrace-supported.h" ;;
   18089     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18090     "interception/Makefile") CONFIG_FILES="$CONFIG_FILES interception/Makefile" ;;
   18091     "sanitizer_common/Makefile") CONFIG_FILES="$CONFIG_FILES sanitizer_common/Makefile" ;;
   18092     "libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES libbacktrace/Makefile" ;;
   18093     "lsan/Makefile") CONFIG_FILES="$CONFIG_FILES lsan/Makefile" ;;
   18094     "asan/Makefile") CONFIG_FILES="$CONFIG_FILES asan/Makefile" ;;
   18095     "ubsan/Makefile") CONFIG_FILES="$CONFIG_FILES ubsan/Makefile" ;;
   18096     "tsan/Makefile") CONFIG_FILES="$CONFIG_FILES tsan/Makefile" ;;
   18097 
   18098   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18099   esac
   18100 done
   18101 
   18102 
   18103 # If the user did not use the arguments to specify the items to instantiate,
   18104 # then the envvar interface is used.  Set only those that are not.
   18105 # We use the long form for the default assignment because of an extremely
   18106 # bizarre bug on SunOS 4.1.3.
   18107 if $ac_need_defaults; then
   18108   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18109   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18110   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18111 fi
   18112 
   18113 # Have a temporary directory for convenience.  Make it in the build tree
   18114 # simply because there is no reason against having it here, and in addition,
   18115 # creating and moving files from /tmp can sometimes cause problems.
   18116 # Hook for its removal unless debugging.
   18117 # Note that there is a small window in which the directory will not be cleaned:
   18118 # after its creation but before its name has been assigned to `$tmp'.
   18119 $debug ||
   18120 {
   18121   tmp= ac_tmp=
   18122   trap 'exit_status=$?
   18123   : "${ac_tmp:=$tmp}"
   18124   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18125 ' 0
   18126   trap 'as_fn_exit 1' 1 2 13 15
   18127 }
   18128 # Create a (secure) tmp directory for tmp files.
   18129 
   18130 {
   18131   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18132   test -d "$tmp"
   18133 }  ||
   18134 {
   18135   tmp=./conf$$-$RANDOM
   18136   (umask 077 && mkdir "$tmp")
   18137 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18138 ac_tmp=$tmp
   18139 
   18140 # Set up the scripts for CONFIG_FILES section.
   18141 # No need to generate them if there are no CONFIG_FILES.
   18142 # This happens for instance with `./config.status config.h'.
   18143 if test -n "$CONFIG_FILES"; then
   18144 
   18145 
   18146 ac_cr=`echo X | tr X '\015'`
   18147 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18148 # But we know of no other shell where ac_cr would be empty at this
   18149 # point, so we can use a bashism as a fallback.
   18150 if test "x$ac_cr" = x; then
   18151   eval ac_cr=\$\'\\r\'
   18152 fi
   18153 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18154 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18155   ac_cs_awk_cr='\\r'
   18156 else
   18157   ac_cs_awk_cr=$ac_cr
   18158 fi
   18159 
   18160 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18161 _ACEOF
   18162 
   18163 
   18164 {
   18165   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18166   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18167   echo "_ACEOF"
   18168 } >conf$$subs.sh ||
   18169   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18170 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18171 ac_delim='%!_!# '
   18172 for ac_last_try in false false false false false :; do
   18173   . ./conf$$subs.sh ||
   18174     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18175 
   18176   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18177   if test $ac_delim_n = $ac_delim_num; then
   18178     break
   18179   elif $ac_last_try; then
   18180     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18181   else
   18182     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18183   fi
   18184 done
   18185 rm -f conf$$subs.sh
   18186 
   18187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18188 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18189 _ACEOF
   18190 sed -n '
   18191 h
   18192 s/^/S["/; s/!.*/"]=/
   18193 p
   18194 g
   18195 s/^[^!]*!//
   18196 :repl
   18197 t repl
   18198 s/'"$ac_delim"'$//
   18199 t delim
   18200 :nl
   18201 h
   18202 s/\(.\{148\}\)..*/\1/
   18203 t more1
   18204 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18205 p
   18206 n
   18207 b repl
   18208 :more1
   18209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18210 p
   18211 g
   18212 s/.\{148\}//
   18213 t nl
   18214 :delim
   18215 h
   18216 s/\(.\{148\}\)..*/\1/
   18217 t more2
   18218 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18219 p
   18220 b
   18221 :more2
   18222 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18223 p
   18224 g
   18225 s/.\{148\}//
   18226 t delim
   18227 ' <conf$$subs.awk | sed '
   18228 /^[^""]/{
   18229   N
   18230   s/\n//
   18231 }
   18232 ' >>$CONFIG_STATUS || ac_write_fail=1
   18233 rm -f conf$$subs.awk
   18234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18235 _ACAWK
   18236 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18237   for (key in S) S_is_set[key] = 1
   18238   FS = ""
   18239 
   18240 }
   18241 {
   18242   line = $ 0
   18243   nfields = split(line, field, "@")
   18244   substed = 0
   18245   len = length(field[1])
   18246   for (i = 2; i < nfields; i++) {
   18247     key = field[i]
   18248     keylen = length(key)
   18249     if (S_is_set[key]) {
   18250       value = S[key]
   18251       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18252       len += length(value) + length(field[++i])
   18253       substed = 1
   18254     } else
   18255       len += 1 + keylen
   18256   }
   18257 
   18258   print line
   18259 }
   18260 
   18261 _ACAWK
   18262 _ACEOF
   18263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18264 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18265   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18266 else
   18267   cat
   18268 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18269   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18270 _ACEOF
   18271 
   18272 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18273 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18274 # trailing colons and then remove the whole line if VPATH becomes empty
   18275 # (actually we leave an empty line to preserve line numbers).
   18276 if test "x$srcdir" = x.; then
   18277   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18278 h
   18279 s///
   18280 s/^/:/
   18281 s/[	 ]*$/:/
   18282 s/:\$(srcdir):/:/g
   18283 s/:\${srcdir}:/:/g
   18284 s/:@srcdir@:/:/g
   18285 s/^:*//
   18286 s/:*$//
   18287 x
   18288 s/\(=[	 ]*\).*/\1/
   18289 G
   18290 s/\n//
   18291 s/^[^=]*=[	 ]*$//
   18292 }'
   18293 fi
   18294 
   18295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18296 fi # test -n "$CONFIG_FILES"
   18297 
   18298 # Set up the scripts for CONFIG_HEADERS section.
   18299 # No need to generate them if there are no CONFIG_HEADERS.
   18300 # This happens for instance with `./config.status Makefile'.
   18301 if test -n "$CONFIG_HEADERS"; then
   18302 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18303 BEGIN {
   18304 _ACEOF
   18305 
   18306 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18307 # here-document in config.status, that substitutes the proper values into
   18308 # config.h.in to produce config.h.
   18309 
   18310 # Create a delimiter string that does not exist in confdefs.h, to ease
   18311 # handling of long lines.
   18312 ac_delim='%!_!# '
   18313 for ac_last_try in false false :; do
   18314   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18315   if test -z "$ac_tt"; then
   18316     break
   18317   elif $ac_last_try; then
   18318     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18319   else
   18320     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18321   fi
   18322 done
   18323 
   18324 # For the awk script, D is an array of macro values keyed by name,
   18325 # likewise P contains macro parameters if any.  Preserve backslash
   18326 # newline sequences.
   18327 
   18328 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18329 sed -n '
   18330 s/.\{148\}/&'"$ac_delim"'/g
   18331 t rset
   18332 :rset
   18333 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18334 t def
   18335 d
   18336 :def
   18337 s/\\$//
   18338 t bsnl
   18339 s/["\\]/\\&/g
   18340 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18341 D["\1"]=" \3"/p
   18342 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18343 d
   18344 :bsnl
   18345 s/["\\]/\\&/g
   18346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18347 D["\1"]=" \3\\\\\\n"\\/p
   18348 t cont
   18349 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18350 t cont
   18351 d
   18352 :cont
   18353 n
   18354 s/.\{148\}/&'"$ac_delim"'/g
   18355 t clear
   18356 :clear
   18357 s/\\$//
   18358 t bsnlc
   18359 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18360 d
   18361 :bsnlc
   18362 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18363 b cont
   18364 ' <confdefs.h | sed '
   18365 s/'"$ac_delim"'/"\\\
   18366 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18367 
   18368 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18369   for (key in D) D_is_set[key] = 1
   18370   FS = ""
   18371 }
   18372 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18373   line = \$ 0
   18374   split(line, arg, " ")
   18375   if (arg[1] == "#") {
   18376     defundef = arg[2]
   18377     mac1 = arg[3]
   18378   } else {
   18379     defundef = substr(arg[1], 2)
   18380     mac1 = arg[2]
   18381   }
   18382   split(mac1, mac2, "(") #)
   18383   macro = mac2[1]
   18384   prefix = substr(line, 1, index(line, defundef) - 1)
   18385   if (D_is_set[macro]) {
   18386     # Preserve the white space surrounding the "#".
   18387     print prefix "define", macro P[macro] D[macro]
   18388     next
   18389   } else {
   18390     # Replace #undef with comments.  This is necessary, for example,
   18391     # in the case of _POSIX_SOURCE, which is predefined and required
   18392     # on some systems where configure will not decide to define it.
   18393     if (defundef == "undef") {
   18394       print "/*", prefix defundef, macro, "*/"
   18395       next
   18396     }
   18397   }
   18398 }
   18399 { print }
   18400 _ACAWK
   18401 _ACEOF
   18402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18403   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18404 fi # test -n "$CONFIG_HEADERS"
   18405 
   18406 
   18407 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18408 shift
   18409 for ac_tag
   18410 do
   18411   case $ac_tag in
   18412   :[FHLC]) ac_mode=$ac_tag; continue;;
   18413   esac
   18414   case $ac_mode$ac_tag in
   18415   :[FHL]*:*);;
   18416   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18417   :[FH]-) ac_tag=-:-;;
   18418   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18419   esac
   18420   ac_save_IFS=$IFS
   18421   IFS=:
   18422   set x $ac_tag
   18423   IFS=$ac_save_IFS
   18424   shift
   18425   ac_file=$1
   18426   shift
   18427 
   18428   case $ac_mode in
   18429   :L) ac_source=$1;;
   18430   :[FH])
   18431     ac_file_inputs=
   18432     for ac_f
   18433     do
   18434       case $ac_f in
   18435       -) ac_f="$ac_tmp/stdin";;
   18436       *) # Look for the file first in the build tree, then in the source tree
   18437 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18438 	 # because $ac_f cannot contain `:'.
   18439 	 test -f "$ac_f" ||
   18440 	   case $ac_f in
   18441 	   [\\/$]*) false;;
   18442 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18443 	   esac ||
   18444 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18445       esac
   18446       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18447       as_fn_append ac_file_inputs " '$ac_f'"
   18448     done
   18449 
   18450     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18451     # use $as_me), people would be surprised to read:
   18452     #    /* config.h.  Generated by config.status.  */
   18453     configure_input='Generated from '`
   18454 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18455 	`' by configure.'
   18456     if test x"$ac_file" != x-; then
   18457       configure_input="$ac_file.  $configure_input"
   18458       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18459 $as_echo "$as_me: creating $ac_file" >&6;}
   18460     fi
   18461     # Neutralize special characters interpreted by sed in replacement strings.
   18462     case $configure_input in #(
   18463     *\&* | *\|* | *\\* )
   18464        ac_sed_conf_input=`$as_echo "$configure_input" |
   18465        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18466     *) ac_sed_conf_input=$configure_input;;
   18467     esac
   18468 
   18469     case $ac_tag in
   18470     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18471       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18472     esac
   18473     ;;
   18474   esac
   18475 
   18476   ac_dir=`$as_dirname -- "$ac_file" ||
   18477 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18478 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18479 	 X"$ac_file" : 'X\(//\)$' \| \
   18480 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18481 $as_echo X"$ac_file" |
   18482     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18483 	    s//\1/
   18484 	    q
   18485 	  }
   18486 	  /^X\(\/\/\)[^/].*/{
   18487 	    s//\1/
   18488 	    q
   18489 	  }
   18490 	  /^X\(\/\/\)$/{
   18491 	    s//\1/
   18492 	    q
   18493 	  }
   18494 	  /^X\(\/\).*/{
   18495 	    s//\1/
   18496 	    q
   18497 	  }
   18498 	  s/.*/./; q'`
   18499   as_dir="$ac_dir"; as_fn_mkdir_p
   18500   ac_builddir=.
   18501 
   18502 case "$ac_dir" in
   18503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18504 *)
   18505   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18506   # A ".." for each directory in $ac_dir_suffix.
   18507   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18508   case $ac_top_builddir_sub in
   18509   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18510   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18511   esac ;;
   18512 esac
   18513 ac_abs_top_builddir=$ac_pwd
   18514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18515 # for backward compatibility:
   18516 ac_top_builddir=$ac_top_build_prefix
   18517 
   18518 case $srcdir in
   18519   .)  # We are building in place.
   18520     ac_srcdir=.
   18521     ac_top_srcdir=$ac_top_builddir_sub
   18522     ac_abs_top_srcdir=$ac_pwd ;;
   18523   [\\/]* | ?:[\\/]* )  # Absolute name.
   18524     ac_srcdir=$srcdir$ac_dir_suffix;
   18525     ac_top_srcdir=$srcdir
   18526     ac_abs_top_srcdir=$srcdir ;;
   18527   *) # Relative name.
   18528     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18529     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18530     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18531 esac
   18532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18533 
   18534 
   18535   case $ac_mode in
   18536   :F)
   18537   #
   18538   # CONFIG_FILE
   18539   #
   18540 
   18541   case $INSTALL in
   18542   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18543   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18544   esac
   18545   ac_MKDIR_P=$MKDIR_P
   18546   case $MKDIR_P in
   18547   [\\/$]* | ?:[\\/]* ) ;;
   18548   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18549   esac
   18550 _ACEOF
   18551 
   18552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18553 # If the template does not know about datarootdir, expand it.
   18554 # FIXME: This hack should be removed a few years after 2.60.
   18555 ac_datarootdir_hack=; ac_datarootdir_seen=
   18556 ac_sed_dataroot='
   18557 /datarootdir/ {
   18558   p
   18559   q
   18560 }
   18561 /@datadir@/p
   18562 /@docdir@/p
   18563 /@infodir@/p
   18564 /@localedir@/p
   18565 /@mandir@/p'
   18566 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18567 *datarootdir*) ac_datarootdir_seen=yes;;
   18568 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18569   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18570 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18571 _ACEOF
   18572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18573   ac_datarootdir_hack='
   18574   s&@datadir@&$datadir&g
   18575   s&@docdir@&$docdir&g
   18576   s&@infodir@&$infodir&g
   18577   s&@localedir@&$localedir&g
   18578   s&@mandir@&$mandir&g
   18579   s&\\\${datarootdir}&$datarootdir&g' ;;
   18580 esac
   18581 _ACEOF
   18582 
   18583 # Neutralize VPATH when `$srcdir' = `.'.
   18584 # Shell code in configure.ac might set extrasub.
   18585 # FIXME: do we really want to maintain this feature?
   18586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18587 ac_sed_extra="$ac_vpsub
   18588 $extrasub
   18589 _ACEOF
   18590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18591 :t
   18592 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18593 s|@configure_input@|$ac_sed_conf_input|;t t
   18594 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18595 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18596 s&@srcdir@&$ac_srcdir&;t t
   18597 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18598 s&@top_srcdir@&$ac_top_srcdir&;t t
   18599 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18600 s&@builddir@&$ac_builddir&;t t
   18601 s&@abs_builddir@&$ac_abs_builddir&;t t
   18602 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18603 s&@INSTALL@&$ac_INSTALL&;t t
   18604 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18605 $ac_datarootdir_hack
   18606 "
   18607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18608   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18609 
   18610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18611   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18612   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18613       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18614   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18615 which seems to be undefined.  Please make sure it is defined" >&5
   18616 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18617 which seems to be undefined.  Please make sure it is defined" >&2;}
   18618 
   18619   rm -f "$ac_tmp/stdin"
   18620   case $ac_file in
   18621   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18622   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18623   esac \
   18624   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18625  ;;
   18626   :H)
   18627   #
   18628   # CONFIG_HEADER
   18629   #
   18630   if test x"$ac_file" != x-; then
   18631     {
   18632       $as_echo "/* $configure_input  */" \
   18633       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18634     } >"$ac_tmp/config.h" \
   18635       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18636     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18637       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18638 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18639     else
   18640       rm -f "$ac_file"
   18641       mv "$ac_tmp/config.h" "$ac_file" \
   18642 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18643     fi
   18644   else
   18645     $as_echo "/* $configure_input  */" \
   18646       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18647       || as_fn_error $? "could not create -" "$LINENO" 5
   18648   fi
   18649 # Compute "$ac_file"'s index in $config_headers.
   18650 _am_arg="$ac_file"
   18651 _am_stamp_count=1
   18652 for _am_header in $config_headers :; do
   18653   case $_am_header in
   18654     $_am_arg | $_am_arg:* )
   18655       break ;;
   18656     * )
   18657       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18658   esac
   18659 done
   18660 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18661 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18662 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18663 	 X"$_am_arg" : 'X\(//\)$' \| \
   18664 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18665 $as_echo X"$_am_arg" |
   18666     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18667 	    s//\1/
   18668 	    q
   18669 	  }
   18670 	  /^X\(\/\/\)[^/].*/{
   18671 	    s//\1/
   18672 	    q
   18673 	  }
   18674 	  /^X\(\/\/\)$/{
   18675 	    s//\1/
   18676 	    q
   18677 	  }
   18678 	  /^X\(\/\).*/{
   18679 	    s//\1/
   18680 	    q
   18681 	  }
   18682 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18683  ;;
   18684 
   18685   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18686 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18687  ;;
   18688   esac
   18689 
   18690 
   18691   case $ac_file$ac_mode in
   18692     "default-1":C)
   18693 # Only add multilib support code if we just rebuilt the top-level
   18694 # Makefile.
   18695 case " $CONFIG_FILES " in
   18696  *" Makefile "*)
   18697    ac_file=Makefile . ${multi_basedir}/config-ml.in
   18698    ;;
   18699 esac ;;
   18700     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18701   # Older Autoconf quotes --file arguments for eval, but not when files
   18702   # are listed without --file.  Let's play safe and only enable the eval
   18703   # if we detect the quoting.
   18704   case $CONFIG_FILES in
   18705   *\'*) eval set x "$CONFIG_FILES" ;;
   18706   *)   set x $CONFIG_FILES ;;
   18707   esac
   18708   shift
   18709   for mf
   18710   do
   18711     # Strip MF so we end up with the name of the file.
   18712     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18713     # Check whether this is an Automake generated Makefile or not.
   18714     # We used to match only the files named 'Makefile.in', but
   18715     # some people rename them; so instead we look at the file content.
   18716     # Grep'ing the first line is not enough: some people post-process
   18717     # each Makefile.in and add a new line on top of each file to say so.
   18718     # Grep'ing the whole file is not good either: AIX grep has a line
   18719     # limit of 2048, but all sed's we know have understand at least 4000.
   18720     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18721       dirpart=`$as_dirname -- "$mf" ||
   18722 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18723 	 X"$mf" : 'X\(//\)[^/]' \| \
   18724 	 X"$mf" : 'X\(//\)$' \| \
   18725 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18726 $as_echo X"$mf" |
   18727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18728 	    s//\1/
   18729 	    q
   18730 	  }
   18731 	  /^X\(\/\/\)[^/].*/{
   18732 	    s//\1/
   18733 	    q
   18734 	  }
   18735 	  /^X\(\/\/\)$/{
   18736 	    s//\1/
   18737 	    q
   18738 	  }
   18739 	  /^X\(\/\).*/{
   18740 	    s//\1/
   18741 	    q
   18742 	  }
   18743 	  s/.*/./; q'`
   18744     else
   18745       continue
   18746     fi
   18747     # Extract the definition of DEPDIR, am__include, and am__quote
   18748     # from the Makefile without running 'make'.
   18749     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18750     test -z "$DEPDIR" && continue
   18751     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18752     test -z "$am__include" && continue
   18753     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18754     # Find all dependency output files, they are included files with
   18755     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18756     # simplest approach to changing $(DEPDIR) to its actual value in the
   18757     # expansion.
   18758     for file in `sed -n "
   18759       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18760 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18761       # Make sure the directory exists.
   18762       test -f "$dirpart/$file" && continue
   18763       fdir=`$as_dirname -- "$file" ||
   18764 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18765 	 X"$file" : 'X\(//\)[^/]' \| \
   18766 	 X"$file" : 'X\(//\)$' \| \
   18767 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18768 $as_echo X"$file" |
   18769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18770 	    s//\1/
   18771 	    q
   18772 	  }
   18773 	  /^X\(\/\/\)[^/].*/{
   18774 	    s//\1/
   18775 	    q
   18776 	  }
   18777 	  /^X\(\/\/\)$/{
   18778 	    s//\1/
   18779 	    q
   18780 	  }
   18781 	  /^X\(\/\).*/{
   18782 	    s//\1/
   18783 	    q
   18784 	  }
   18785 	  s/.*/./; q'`
   18786       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18787       # echo "creating $dirpart/$file"
   18788       echo '# dummy' > "$dirpart/$file"
   18789     done
   18790   done
   18791 }
   18792  ;;
   18793     "libtool":C)
   18794 
   18795     # See if we are running on zsh, and set the options which allow our
   18796     # commands through without removal of \ escapes.
   18797     if test -n "${ZSH_VERSION+set}" ; then
   18798       setopt NO_GLOB_SUBST
   18799     fi
   18800 
   18801     cfgfile="${ofile}T"
   18802     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18803     $RM "$cfgfile"
   18804 
   18805     cat <<_LT_EOF >> "$cfgfile"
   18806 #! $SHELL
   18807 
   18808 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18809 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18810 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18811 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18812 #
   18813 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18814 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   18815 #   Written by Gordon Matzigkeit, 1996
   18816 #
   18817 #   This file is part of GNU Libtool.
   18818 #
   18819 # GNU Libtool is free software; you can redistribute it and/or
   18820 # modify it under the terms of the GNU General Public License as
   18821 # published by the Free Software Foundation; either version 2 of
   18822 # the License, or (at your option) any later version.
   18823 #
   18824 # As a special exception to the GNU General Public License,
   18825 # if you distribute this file as part of a program or library that
   18826 # is built using GNU Libtool, you may include this file under the
   18827 # same distribution terms that you use for the rest of that program.
   18828 #
   18829 # GNU Libtool is distributed in the hope that it will be useful,
   18830 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18831 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18832 # GNU General Public License for more details.
   18833 #
   18834 # You should have received a copy of the GNU General Public License
   18835 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18836 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18837 # obtained by writing to the Free Software Foundation, Inc.,
   18838 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18839 
   18840 
   18841 # The names of the tagged configurations supported by this script.
   18842 available_tags="CXX "
   18843 
   18844 # ### BEGIN LIBTOOL CONFIG
   18845 
   18846 # Which release of libtool.m4 was used?
   18847 macro_version=$macro_version
   18848 macro_revision=$macro_revision
   18849 
   18850 # Whether or not to build shared libraries.
   18851 build_libtool_libs=$enable_shared
   18852 
   18853 # Whether or not to build static libraries.
   18854 build_old_libs=$enable_static
   18855 
   18856 # What type of objects to build.
   18857 pic_mode=$pic_mode
   18858 
   18859 # Whether or not to optimize for fast installation.
   18860 fast_install=$enable_fast_install
   18861 
   18862 # Shell to use when invoking shell scripts.
   18863 SHELL=$lt_SHELL
   18864 
   18865 # An echo program that protects backslashes.
   18866 ECHO=$lt_ECHO
   18867 
   18868 # The host system.
   18869 host_alias=$host_alias
   18870 host=$host
   18871 host_os=$host_os
   18872 
   18873 # The build system.
   18874 build_alias=$build_alias
   18875 build=$build
   18876 build_os=$build_os
   18877 
   18878 # A sed program that does not truncate output.
   18879 SED=$lt_SED
   18880 
   18881 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18882 Xsed="\$SED -e 1s/^X//"
   18883 
   18884 # A grep program that handles long lines.
   18885 GREP=$lt_GREP
   18886 
   18887 # An ERE matcher.
   18888 EGREP=$lt_EGREP
   18889 
   18890 # A literal string matcher.
   18891 FGREP=$lt_FGREP
   18892 
   18893 # A BSD- or MS-compatible name lister.
   18894 NM=$lt_NM
   18895 
   18896 # Whether we need soft or hard links.
   18897 LN_S=$lt_LN_S
   18898 
   18899 # What is the maximum length of a command?
   18900 max_cmd_len=$max_cmd_len
   18901 
   18902 # Object file suffix (normally "o").
   18903 objext=$ac_objext
   18904 
   18905 # Executable file suffix (normally "").
   18906 exeext=$exeext
   18907 
   18908 # whether the shell understands "unset".
   18909 lt_unset=$lt_unset
   18910 
   18911 # turn spaces into newlines.
   18912 SP2NL=$lt_lt_SP2NL
   18913 
   18914 # turn newlines into spaces.
   18915 NL2SP=$lt_lt_NL2SP
   18916 
   18917 # An object symbol dumper.
   18918 OBJDUMP=$lt_OBJDUMP
   18919 
   18920 # Method to check whether dependent libraries are shared objects.
   18921 deplibs_check_method=$lt_deplibs_check_method
   18922 
   18923 # Command to use when deplibs_check_method == "file_magic".
   18924 file_magic_cmd=$lt_file_magic_cmd
   18925 
   18926 # The archiver.
   18927 AR=$lt_AR
   18928 AR_FLAGS=$lt_AR_FLAGS
   18929 
   18930 # A symbol stripping program.
   18931 STRIP=$lt_STRIP
   18932 
   18933 # Commands used to install an old-style archive.
   18934 RANLIB=$lt_RANLIB
   18935 old_postinstall_cmds=$lt_old_postinstall_cmds
   18936 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18937 
   18938 # Whether to use a lock for old archive extraction.
   18939 lock_old_archive_extraction=$lock_old_archive_extraction
   18940 
   18941 # A C compiler.
   18942 LTCC=$lt_CC
   18943 
   18944 # LTCC compiler flags.
   18945 LTCFLAGS=$lt_CFLAGS
   18946 
   18947 # Take the output of nm and produce a listing of raw symbols and C names.
   18948 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18949 
   18950 # Transform the output of nm in a proper C declaration.
   18951 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18952 
   18953 # Transform the output of nm in a C name address pair.
   18954 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18955 
   18956 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18957 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18958 
   18959 # The name of the directory that contains temporary libtool files.
   18960 objdir=$objdir
   18961 
   18962 # Used to examine libraries when file_magic_cmd begins with "file".
   18963 MAGIC_CMD=$MAGIC_CMD
   18964 
   18965 # Must we lock files when doing compilation?
   18966 need_locks=$lt_need_locks
   18967 
   18968 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18969 DSYMUTIL=$lt_DSYMUTIL
   18970 
   18971 # Tool to change global to local symbols on Mac OS X.
   18972 NMEDIT=$lt_NMEDIT
   18973 
   18974 # Tool to manipulate fat objects and archives on Mac OS X.
   18975 LIPO=$lt_LIPO
   18976 
   18977 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   18978 OTOOL=$lt_OTOOL
   18979 
   18980 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   18981 OTOOL64=$lt_OTOOL64
   18982 
   18983 # Old archive suffix (normally "a").
   18984 libext=$libext
   18985 
   18986 # Shared library suffix (normally ".so").
   18987 shrext_cmds=$lt_shrext_cmds
   18988 
   18989 # The commands to extract the exported symbol list from a shared archive.
   18990 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18991 
   18992 # Variables whose values should be saved in libtool wrapper scripts and
   18993 # restored at link time.
   18994 variables_saved_for_relink=$lt_variables_saved_for_relink
   18995 
   18996 # Do we need the "lib" prefix for modules?
   18997 need_lib_prefix=$need_lib_prefix
   18998 
   18999 # Do we need a version for libraries?
   19000 need_version=$need_version
   19001 
   19002 # Library versioning type.
   19003 version_type=$version_type
   19004 
   19005 # Shared library runtime path variable.
   19006 runpath_var=$runpath_var
   19007 
   19008 # Shared library path variable.
   19009 shlibpath_var=$shlibpath_var
   19010 
   19011 # Is shlibpath searched before the hard-coded library search path?
   19012 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19013 
   19014 # Format of library name prefix.
   19015 libname_spec=$lt_libname_spec
   19016 
   19017 # List of archive names.  First name is the real one, the rest are links.
   19018 # The last name is the one that the linker finds with -lNAME
   19019 library_names_spec=$lt_library_names_spec
   19020 
   19021 # The coded name of the library, if different from the real name.
   19022 soname_spec=$lt_soname_spec
   19023 
   19024 # Permission mode override for installation of shared libraries.
   19025 install_override_mode=$lt_install_override_mode
   19026 
   19027 # Command to use after installation of a shared archive.
   19028 postinstall_cmds=$lt_postinstall_cmds
   19029 
   19030 # Command to use after uninstallation of a shared archive.
   19031 postuninstall_cmds=$lt_postuninstall_cmds
   19032 
   19033 # Commands used to finish a libtool library installation in a directory.
   19034 finish_cmds=$lt_finish_cmds
   19035 
   19036 # As "finish_cmds", except a single script fragment to be evaled but
   19037 # not shown.
   19038 finish_eval=$lt_finish_eval
   19039 
   19040 # Whether we should hardcode library paths into libraries.
   19041 hardcode_into_libs=$hardcode_into_libs
   19042 
   19043 # Compile-time system search path for libraries.
   19044 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19045 
   19046 # Run-time system search path for libraries.
   19047 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19048 
   19049 # Whether dlopen is supported.
   19050 dlopen_support=$enable_dlopen
   19051 
   19052 # Whether dlopen of programs is supported.
   19053 dlopen_self=$enable_dlopen_self
   19054 
   19055 # Whether dlopen of statically linked programs is supported.
   19056 dlopen_self_static=$enable_dlopen_self_static
   19057 
   19058 # Commands to strip libraries.
   19059 old_striplib=$lt_old_striplib
   19060 striplib=$lt_striplib
   19061 
   19062 
   19063 # The linker used to build libraries.
   19064 LD=$lt_LD
   19065 
   19066 # How to create reloadable object files.
   19067 reload_flag=$lt_reload_flag
   19068 reload_cmds=$lt_reload_cmds
   19069 
   19070 # Commands used to build an old-style archive.
   19071 old_archive_cmds=$lt_old_archive_cmds
   19072 
   19073 # A language specific compiler.
   19074 CC=$lt_compiler
   19075 
   19076 # Is the compiler the GNU compiler?
   19077 with_gcc=$GCC
   19078 
   19079 # Compiler flag to turn off builtin functions.
   19080 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19081 
   19082 # How to pass a linker flag through the compiler.
   19083 wl=$lt_lt_prog_compiler_wl
   19084 
   19085 # Additional compiler flags for building library objects.
   19086 pic_flag=$lt_lt_prog_compiler_pic
   19087 
   19088 # Compiler flag to prevent dynamic linking.
   19089 link_static_flag=$lt_lt_prog_compiler_static
   19090 
   19091 # Does compiler simultaneously support -c and -o options?
   19092 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19093 
   19094 # Whether or not to add -lc for building shared libraries.
   19095 build_libtool_need_lc=$archive_cmds_need_lc
   19096 
   19097 # Whether or not to disallow shared libs when runtime libs are static.
   19098 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19099 
   19100 # Compiler flag to allow reflexive dlopens.
   19101 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19102 
   19103 # Compiler flag to generate shared objects directly from archives.
   19104 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19105 
   19106 # Whether the compiler copes with passing no objects directly.
   19107 compiler_needs_object=$lt_compiler_needs_object
   19108 
   19109 # Create an old-style archive from a shared archive.
   19110 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19111 
   19112 # Create a temporary old-style archive to link instead of a shared archive.
   19113 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19114 
   19115 # Commands used to build a shared archive.
   19116 archive_cmds=$lt_archive_cmds
   19117 archive_expsym_cmds=$lt_archive_expsym_cmds
   19118 
   19119 # Commands used to build a loadable module if different from building
   19120 # a shared archive.
   19121 module_cmds=$lt_module_cmds
   19122 module_expsym_cmds=$lt_module_expsym_cmds
   19123 
   19124 # Whether we are building with GNU ld or not.
   19125 with_gnu_ld=$lt_with_gnu_ld
   19126 
   19127 # Flag that allows shared libraries with undefined symbols to be built.
   19128 allow_undefined_flag=$lt_allow_undefined_flag
   19129 
   19130 # Flag that enforces no undefined symbols.
   19131 no_undefined_flag=$lt_no_undefined_flag
   19132 
   19133 # Flag to hardcode \$libdir into a binary during linking.
   19134 # This must work even if \$libdir does not exist
   19135 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19136 
   19137 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19138 # during linking.  This must work even if \$libdir does not exist.
   19139 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19140 
   19141 # Whether we need a single "-rpath" flag with a separated argument.
   19142 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19143 
   19144 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19145 # DIR into the resulting binary.
   19146 hardcode_direct=$hardcode_direct
   19147 
   19148 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19149 # DIR into the resulting binary and the resulting library dependency is
   19150 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19151 # library is relocated.
   19152 hardcode_direct_absolute=$hardcode_direct_absolute
   19153 
   19154 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19155 # into the resulting binary.
   19156 hardcode_minus_L=$hardcode_minus_L
   19157 
   19158 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19159 # into the resulting binary.
   19160 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19161 
   19162 # Set to "yes" if building a shared library automatically hardcodes DIR
   19163 # into the library and all subsequent libraries and executables linked
   19164 # against it.
   19165 hardcode_automatic=$hardcode_automatic
   19166 
   19167 # Set to yes if linker adds runtime paths of dependent libraries
   19168 # to runtime path list.
   19169 inherit_rpath=$inherit_rpath
   19170 
   19171 # Whether libtool must link a program against all its dependency libraries.
   19172 link_all_deplibs=$link_all_deplibs
   19173 
   19174 # Fix the shell variable \$srcfile for the compiler.
   19175 fix_srcfile_path=$lt_fix_srcfile_path
   19176 
   19177 # Set to "yes" if exported symbols are required.
   19178 always_export_symbols=$always_export_symbols
   19179 
   19180 # The commands to list exported symbols.
   19181 export_symbols_cmds=$lt_export_symbols_cmds
   19182 
   19183 # Symbols that should not be listed in the preloaded symbols.
   19184 exclude_expsyms=$lt_exclude_expsyms
   19185 
   19186 # Symbols that must always be exported.
   19187 include_expsyms=$lt_include_expsyms
   19188 
   19189 # Commands necessary for linking programs (against libraries) with templates.
   19190 prelink_cmds=$lt_prelink_cmds
   19191 
   19192 # Specify filename containing input files.
   19193 file_list_spec=$lt_file_list_spec
   19194 
   19195 # How to hardcode a shared library path into an executable.
   19196 hardcode_action=$hardcode_action
   19197 
   19198 # The directories searched by this compiler when creating a shared library.
   19199 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19200 
   19201 # Dependencies to place before and after the objects being linked to
   19202 # create a shared library.
   19203 predep_objects=$lt_predep_objects
   19204 postdep_objects=$lt_postdep_objects
   19205 predeps=$lt_predeps
   19206 postdeps=$lt_postdeps
   19207 
   19208 # The library search path used internally by the compiler when linking
   19209 # a shared library.
   19210 compiler_lib_search_path=$lt_compiler_lib_search_path
   19211 
   19212 # ### END LIBTOOL CONFIG
   19213 
   19214 _LT_EOF
   19215 
   19216   case $host_os in
   19217   aix3*)
   19218     cat <<\_LT_EOF >> "$cfgfile"
   19219 # AIX sometimes has problems with the GCC collect2 program.  For some
   19220 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19221 # vanish in a puff of smoke.
   19222 if test "X${COLLECT_NAMES+set}" != Xset; then
   19223   COLLECT_NAMES=
   19224   export COLLECT_NAMES
   19225 fi
   19226 _LT_EOF
   19227     ;;
   19228   esac
   19229 
   19230 
   19231 ltmain="$ac_aux_dir/ltmain.sh"
   19232 
   19233 
   19234   # We use sed instead of cat because bash on DJGPP gets confused if
   19235   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19236   # text mode, it properly converts lines to CR/LF.  This bash problem
   19237   # is reportedly fixed, but why not run on old versions too?
   19238   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19239     || (rm -f "$cfgfile"; exit 1)
   19240 
   19241   case $xsi_shell in
   19242   yes)
   19243     cat << \_LT_EOF >> "$cfgfile"
   19244 
   19245 # func_dirname file append nondir_replacement
   19246 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19247 # otherwise set result to NONDIR_REPLACEMENT.
   19248 func_dirname ()
   19249 {
   19250   case ${1} in
   19251     */*) func_dirname_result="${1%/*}${2}" ;;
   19252     *  ) func_dirname_result="${3}" ;;
   19253   esac
   19254 }
   19255 
   19256 # func_basename file
   19257 func_basename ()
   19258 {
   19259   func_basename_result="${1##*/}"
   19260 }
   19261 
   19262 # func_dirname_and_basename file append nondir_replacement
   19263 # perform func_basename and func_dirname in a single function
   19264 # call:
   19265 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19266 #             add APPEND to the result, otherwise set result
   19267 #             to NONDIR_REPLACEMENT.
   19268 #             value returned in "$func_dirname_result"
   19269 #   basename: Compute filename of FILE.
   19270 #             value retuned in "$func_basename_result"
   19271 # Implementation must be kept synchronized with func_dirname
   19272 # and func_basename. For efficiency, we do not delegate to
   19273 # those functions but instead duplicate the functionality here.
   19274 func_dirname_and_basename ()
   19275 {
   19276   case ${1} in
   19277     */*) func_dirname_result="${1%/*}${2}" ;;
   19278     *  ) func_dirname_result="${3}" ;;
   19279   esac
   19280   func_basename_result="${1##*/}"
   19281 }
   19282 
   19283 # func_stripname prefix suffix name
   19284 # strip PREFIX and SUFFIX off of NAME.
   19285 # PREFIX and SUFFIX must not contain globbing or regex special
   19286 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19287 # dot (in which case that matches only a dot).
   19288 func_stripname ()
   19289 {
   19290   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19291   # positional parameters, so assign one to ordinary parameter first.
   19292   func_stripname_result=${3}
   19293   func_stripname_result=${func_stripname_result#"${1}"}
   19294   func_stripname_result=${func_stripname_result%"${2}"}
   19295 }
   19296 
   19297 # func_opt_split
   19298 func_opt_split ()
   19299 {
   19300   func_opt_split_opt=${1%%=*}
   19301   func_opt_split_arg=${1#*=}
   19302 }
   19303 
   19304 # func_lo2o object
   19305 func_lo2o ()
   19306 {
   19307   case ${1} in
   19308     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19309     *)    func_lo2o_result=${1} ;;
   19310   esac
   19311 }
   19312 
   19313 # func_xform libobj-or-source
   19314 func_xform ()
   19315 {
   19316   func_xform_result=${1%.*}.lo
   19317 }
   19318 
   19319 # func_arith arithmetic-term...
   19320 func_arith ()
   19321 {
   19322   func_arith_result=$(( $* ))
   19323 }
   19324 
   19325 # func_len string
   19326 # STRING may not start with a hyphen.
   19327 func_len ()
   19328 {
   19329   func_len_result=${#1}
   19330 }
   19331 
   19332 _LT_EOF
   19333     ;;
   19334   *) # Bourne compatible functions.
   19335     cat << \_LT_EOF >> "$cfgfile"
   19336 
   19337 # func_dirname file append nondir_replacement
   19338 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19339 # otherwise set result to NONDIR_REPLACEMENT.
   19340 func_dirname ()
   19341 {
   19342   # Extract subdirectory from the argument.
   19343   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19344   if test "X$func_dirname_result" = "X${1}"; then
   19345     func_dirname_result="${3}"
   19346   else
   19347     func_dirname_result="$func_dirname_result${2}"
   19348   fi
   19349 }
   19350 
   19351 # func_basename file
   19352 func_basename ()
   19353 {
   19354   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19355 }
   19356 
   19357 
   19358 # func_stripname prefix suffix name
   19359 # strip PREFIX and SUFFIX off of NAME.
   19360 # PREFIX and SUFFIX must not contain globbing or regex special
   19361 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19362 # dot (in which case that matches only a dot).
   19363 # func_strip_suffix prefix name
   19364 func_stripname ()
   19365 {
   19366   case ${2} in
   19367     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19368     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19369   esac
   19370 }
   19371 
   19372 # sed scripts:
   19373 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19374 my_sed_long_arg='1s/^-[^=]*=//'
   19375 
   19376 # func_opt_split
   19377 func_opt_split ()
   19378 {
   19379   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19380   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19381 }
   19382 
   19383 # func_lo2o object
   19384 func_lo2o ()
   19385 {
   19386   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19387 }
   19388 
   19389 # func_xform libobj-or-source
   19390 func_xform ()
   19391 {
   19392   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19393 }
   19394 
   19395 # func_arith arithmetic-term...
   19396 func_arith ()
   19397 {
   19398   func_arith_result=`expr "$@"`
   19399 }
   19400 
   19401 # func_len string
   19402 # STRING may not start with a hyphen.
   19403 func_len ()
   19404 {
   19405   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19406 }
   19407 
   19408 _LT_EOF
   19409 esac
   19410 
   19411 case $lt_shell_append in
   19412   yes)
   19413     cat << \_LT_EOF >> "$cfgfile"
   19414 
   19415 # func_append var value
   19416 # Append VALUE to the end of shell variable VAR.
   19417 func_append ()
   19418 {
   19419   eval "$1+=\$2"
   19420 }
   19421 _LT_EOF
   19422     ;;
   19423   *)
   19424     cat << \_LT_EOF >> "$cfgfile"
   19425 
   19426 # func_append var value
   19427 # Append VALUE to the end of shell variable VAR.
   19428 func_append ()
   19429 {
   19430   eval "$1=\$$1\$2"
   19431 }
   19432 
   19433 _LT_EOF
   19434     ;;
   19435   esac
   19436 
   19437 
   19438   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19439     || (rm -f "$cfgfile"; exit 1)
   19440 
   19441   mv -f "$cfgfile" "$ofile" ||
   19442     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19443   chmod +x "$ofile"
   19444 
   19445 
   19446     cat <<_LT_EOF >> "$ofile"
   19447 
   19448 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   19449 
   19450 # The linker used to build libraries.
   19451 LD=$lt_LD_CXX
   19452 
   19453 # How to create reloadable object files.
   19454 reload_flag=$lt_reload_flag_CXX
   19455 reload_cmds=$lt_reload_cmds_CXX
   19456 
   19457 # Commands used to build an old-style archive.
   19458 old_archive_cmds=$lt_old_archive_cmds_CXX
   19459 
   19460 # A language specific compiler.
   19461 CC=$lt_compiler_CXX
   19462 
   19463 # Is the compiler the GNU compiler?
   19464 with_gcc=$GCC_CXX
   19465 
   19466 # Compiler flag to turn off builtin functions.
   19467 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   19468 
   19469 # How to pass a linker flag through the compiler.
   19470 wl=$lt_lt_prog_compiler_wl_CXX
   19471 
   19472 # Additional compiler flags for building library objects.
   19473 pic_flag=$lt_lt_prog_compiler_pic_CXX
   19474 
   19475 # Compiler flag to prevent dynamic linking.
   19476 link_static_flag=$lt_lt_prog_compiler_static_CXX
   19477 
   19478 # Does compiler simultaneously support -c and -o options?
   19479 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   19480 
   19481 # Whether or not to add -lc for building shared libraries.
   19482 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   19483 
   19484 # Whether or not to disallow shared libs when runtime libs are static.
   19485 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   19486 
   19487 # Compiler flag to allow reflexive dlopens.
   19488 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   19489 
   19490 # Compiler flag to generate shared objects directly from archives.
   19491 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   19492 
   19493 # Whether the compiler copes with passing no objects directly.
   19494 compiler_needs_object=$lt_compiler_needs_object_CXX
   19495 
   19496 # Create an old-style archive from a shared archive.
   19497 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   19498 
   19499 # Create a temporary old-style archive to link instead of a shared archive.
   19500 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   19501 
   19502 # Commands used to build a shared archive.
   19503 archive_cmds=$lt_archive_cmds_CXX
   19504 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   19505 
   19506 # Commands used to build a loadable module if different from building
   19507 # a shared archive.
   19508 module_cmds=$lt_module_cmds_CXX
   19509 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   19510 
   19511 # Whether we are building with GNU ld or not.
   19512 with_gnu_ld=$lt_with_gnu_ld_CXX
   19513 
   19514 # Flag that allows shared libraries with undefined symbols to be built.
   19515 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   19516 
   19517 # Flag that enforces no undefined symbols.
   19518 no_undefined_flag=$lt_no_undefined_flag_CXX
   19519 
   19520 # Flag to hardcode \$libdir into a binary during linking.
   19521 # This must work even if \$libdir does not exist
   19522 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   19523 
   19524 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19525 # during linking.  This must work even if \$libdir does not exist.
   19526 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   19527 
   19528 # Whether we need a single "-rpath" flag with a separated argument.
   19529 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   19530 
   19531 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19532 # DIR into the resulting binary.
   19533 hardcode_direct=$hardcode_direct_CXX
   19534 
   19535 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19536 # DIR into the resulting binary and the resulting library dependency is
   19537 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19538 # library is relocated.
   19539 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   19540 
   19541 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19542 # into the resulting binary.
   19543 hardcode_minus_L=$hardcode_minus_L_CXX
   19544 
   19545 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19546 # into the resulting binary.
   19547 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   19548 
   19549 # Set to "yes" if building a shared library automatically hardcodes DIR
   19550 # into the library and all subsequent libraries and executables linked
   19551 # against it.
   19552 hardcode_automatic=$hardcode_automatic_CXX
   19553 
   19554 # Set to yes if linker adds runtime paths of dependent libraries
   19555 # to runtime path list.
   19556 inherit_rpath=$inherit_rpath_CXX
   19557 
   19558 # Whether libtool must link a program against all its dependency libraries.
   19559 link_all_deplibs=$link_all_deplibs_CXX
   19560 
   19561 # Fix the shell variable \$srcfile for the compiler.
   19562 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   19563 
   19564 # Set to "yes" if exported symbols are required.
   19565 always_export_symbols=$always_export_symbols_CXX
   19566 
   19567 # The commands to list exported symbols.
   19568 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   19569 
   19570 # Symbols that should not be listed in the preloaded symbols.
   19571 exclude_expsyms=$lt_exclude_expsyms_CXX
   19572 
   19573 # Symbols that must always be exported.
   19574 include_expsyms=$lt_include_expsyms_CXX
   19575 
   19576 # Commands necessary for linking programs (against libraries) with templates.
   19577 prelink_cmds=$lt_prelink_cmds_CXX
   19578 
   19579 # Specify filename containing input files.
   19580 file_list_spec=$lt_file_list_spec_CXX
   19581 
   19582 # How to hardcode a shared library path into an executable.
   19583 hardcode_action=$hardcode_action_CXX
   19584 
   19585 # The directories searched by this compiler when creating a shared library.
   19586 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   19587 
   19588 # Dependencies to place before and after the objects being linked to
   19589 # create a shared library.
   19590 predep_objects=$lt_predep_objects_CXX
   19591 postdep_objects=$lt_postdep_objects_CXX
   19592 predeps=$lt_predeps_CXX
   19593 postdeps=$lt_postdeps_CXX
   19594 
   19595 # The library search path used internally by the compiler when linking
   19596 # a shared library.
   19597 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   19598 
   19599 # ### END LIBTOOL TAG CONFIG: CXX
   19600 _LT_EOF
   19601 
   19602  ;;
   19603     "gstdint.h":C)
   19604 if test "$GCC" = yes; then
   19605   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
   19606 else
   19607   echo "/* generated for $CC */" > tmp-stdint.h
   19608 fi
   19609 
   19610 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19611 
   19612   #ifndef GCC_GENERATED_STDINT_H
   19613   #define GCC_GENERATED_STDINT_H 1
   19614 
   19615   #include <sys/types.h>
   19616 EOF
   19617 
   19618 if test "$acx_cv_header_stdint" != stdint.h; then
   19619   echo "#include <stddef.h>" >> tmp-stdint.h
   19620 fi
   19621 if test "$acx_cv_header_stdint" != stddef.h; then
   19622   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
   19623 fi
   19624 
   19625 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19626   /* glibc uses these symbols as guards to prevent redefinitions.  */
   19627   #ifdef __int8_t_defined
   19628   #define _INT8_T
   19629   #define _INT16_T
   19630   #define _INT32_T
   19631   #endif
   19632   #ifdef __uint32_t_defined
   19633   #define _UINT32_T
   19634   #endif
   19635 
   19636 EOF
   19637 
   19638 # ----------------- done header, emit basic int types -------------
   19639 if test "$acx_cv_header_stdint" = stddef.h; then
   19640   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19641 
   19642     #ifndef _UINT8_T
   19643     #define _UINT8_T
   19644     #ifndef __uint8_t_defined
   19645     #define __uint8_t_defined
   19646     #ifndef uint8_t
   19647     typedef unsigned $acx_cv_type_int8_t uint8_t;
   19648     #endif
   19649     #endif
   19650     #endif
   19651 
   19652     #ifndef _UINT16_T
   19653     #define _UINT16_T
   19654     #ifndef __uint16_t_defined
   19655     #define __uint16_t_defined
   19656     #ifndef uint16_t
   19657     typedef unsigned $acx_cv_type_int16_t uint16_t;
   19658     #endif
   19659     #endif
   19660     #endif
   19661 
   19662     #ifndef _UINT32_T
   19663     #define _UINT32_T
   19664     #ifndef __uint32_t_defined
   19665     #define __uint32_t_defined
   19666     #ifndef uint32_t
   19667     typedef unsigned $acx_cv_type_int32_t uint32_t;
   19668     #endif
   19669     #endif
   19670     #endif
   19671 
   19672     #ifndef _INT8_T
   19673     #define _INT8_T
   19674     #ifndef __int8_t_defined
   19675     #define __int8_t_defined
   19676     #ifndef int8_t
   19677     typedef $acx_cv_type_int8_t int8_t;
   19678     #endif
   19679     #endif
   19680     #endif
   19681 
   19682     #ifndef _INT16_T
   19683     #define _INT16_T
   19684     #ifndef __int16_t_defined
   19685     #define __int16_t_defined
   19686     #ifndef int16_t
   19687     typedef $acx_cv_type_int16_t int16_t;
   19688     #endif
   19689     #endif
   19690     #endif
   19691 
   19692     #ifndef _INT32_T
   19693     #define _INT32_T
   19694     #ifndef __int32_t_defined
   19695     #define __int32_t_defined
   19696     #ifndef int32_t
   19697     typedef $acx_cv_type_int32_t int32_t;
   19698     #endif
   19699     #endif
   19700     #endif
   19701 EOF
   19702 elif test "$ac_cv_type_u_int32_t" = yes; then
   19703   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19704 
   19705     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
   19706     #ifndef _INT8_T
   19707     #define _INT8_T
   19708     #endif
   19709     #ifndef _INT16_T
   19710     #define _INT16_T
   19711     #endif
   19712     #ifndef _INT32_T
   19713     #define _INT32_T
   19714     #endif
   19715 
   19716     #ifndef _UINT8_T
   19717     #define _UINT8_T
   19718     #ifndef __uint8_t_defined
   19719     #define __uint8_t_defined
   19720     #ifndef uint8_t
   19721     typedef u_int8_t uint8_t;
   19722     #endif
   19723     #endif
   19724     #endif
   19725 
   19726     #ifndef _UINT16_T
   19727     #define _UINT16_T
   19728     #ifndef __uint16_t_defined
   19729     #define __uint16_t_defined
   19730     #ifndef uint16_t
   19731     typedef u_int16_t uint16_t;
   19732     #endif
   19733     #endif
   19734     #endif
   19735 
   19736     #ifndef _UINT32_T
   19737     #define _UINT32_T
   19738     #ifndef __uint32_t_defined
   19739     #define __uint32_t_defined
   19740     #ifndef uint32_t
   19741     typedef u_int32_t uint32_t;
   19742     #endif
   19743     #endif
   19744     #endif
   19745 EOF
   19746 else
   19747   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19748 
   19749     /* Some systems have guard macros to prevent redefinitions, define them.  */
   19750     #ifndef _INT8_T
   19751     #define _INT8_T
   19752     #endif
   19753     #ifndef _INT16_T
   19754     #define _INT16_T
   19755     #endif
   19756     #ifndef _INT32_T
   19757     #define _INT32_T
   19758     #endif
   19759     #ifndef _UINT8_T
   19760     #define _UINT8_T
   19761     #endif
   19762     #ifndef _UINT16_T
   19763     #define _UINT16_T
   19764     #endif
   19765     #ifndef _UINT32_T
   19766     #define _UINT32_T
   19767     #endif
   19768 EOF
   19769 fi
   19770 
   19771 # ------------- done basic int types, emit int64_t types ------------
   19772 if test "$ac_cv_type_uint64_t" = yes; then
   19773   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19774 
   19775     /* system headers have good uint64_t and int64_t */
   19776     #ifndef _INT64_T
   19777     #define _INT64_T
   19778     #endif
   19779     #ifndef _UINT64_T
   19780     #define _UINT64_T
   19781     #endif
   19782 EOF
   19783 elif test "$ac_cv_type_u_int64_t" = yes; then
   19784   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19785 
   19786     /* system headers have an u_int64_t (and int64_t) */
   19787     #ifndef _INT64_T
   19788     #define _INT64_T
   19789     #endif
   19790     #ifndef _UINT64_T
   19791     #define _UINT64_T
   19792     #ifndef __uint64_t_defined
   19793     #define __uint64_t_defined
   19794     #ifndef uint64_t
   19795     typedef u_int64_t uint64_t;
   19796     #endif
   19797     #endif
   19798     #endif
   19799 EOF
   19800 elif test -n "$acx_cv_type_int64_t"; then
   19801   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19802 
   19803     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
   19804     #ifndef _INT64_T
   19805     #define _INT64_T
   19806     #ifndef int64_t
   19807     typedef $acx_cv_type_int64_t int64_t;
   19808     #endif
   19809     #endif
   19810     #ifndef _UINT64_T
   19811     #define _UINT64_T
   19812     #ifndef __uint64_t_defined
   19813     #define __uint64_t_defined
   19814     #ifndef uint64_t
   19815     typedef unsigned $acx_cv_type_int64_t uint64_t;
   19816     #endif
   19817     #endif
   19818     #endif
   19819 EOF
   19820 else
   19821   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19822 
   19823     /* some common heuristics for int64_t, using compiler-specific tests */
   19824     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
   19825     #ifndef _INT64_T
   19826     #define _INT64_T
   19827     #ifndef __int64_t_defined
   19828     #ifndef int64_t
   19829     typedef long long int64_t;
   19830     #endif
   19831     #endif
   19832     #endif
   19833     #ifndef _UINT64_T
   19834     #define _UINT64_T
   19835     #ifndef uint64_t
   19836     typedef unsigned long long uint64_t;
   19837     #endif
   19838     #endif
   19839 
   19840     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
   19841     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
   19842        does not implement __extension__.  But that compiler doesn't define
   19843        __GNUC_MINOR__.  */
   19844     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
   19845     # define __extension__
   19846     # endif
   19847 
   19848     # ifndef _INT64_T
   19849     # define _INT64_T
   19850     # ifndef int64_t
   19851     __extension__ typedef long long int64_t;
   19852     # endif
   19853     # endif
   19854     # ifndef _UINT64_T
   19855     # define _UINT64_T
   19856     # ifndef uint64_t
   19857     __extension__ typedef unsigned long long uint64_t;
   19858     # endif
   19859     # endif
   19860 
   19861     #elif !defined __STRICT_ANSI__
   19862     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   19863 
   19864     #  ifndef _INT64_T
   19865     #  define _INT64_T
   19866     #  ifndef int64_t
   19867     typedef __int64 int64_t;
   19868     #  endif
   19869     #  endif
   19870     #  ifndef _UINT64_T
   19871     #  define _UINT64_T
   19872     #  ifndef uint64_t
   19873     typedef unsigned __int64 uint64_t;
   19874     #  endif
   19875     #  endif
   19876     # endif /* compiler */
   19877 
   19878     #endif /* ANSI version */
   19879 EOF
   19880 fi
   19881 
   19882 # ------------- done int64_t types, emit intptr types ------------
   19883 if test "$ac_cv_type_uintptr_t" != yes; then
   19884   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19885 
   19886     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
   19887     #ifndef __uintptr_t_defined
   19888     #ifndef uintptr_t
   19889     typedef u$acx_cv_type_intptr_t uintptr_t;
   19890     #endif
   19891     #endif
   19892     #ifndef __intptr_t_defined
   19893     #ifndef intptr_t
   19894     typedef $acx_cv_type_intptr_t  intptr_t;
   19895     #endif
   19896     #endif
   19897 EOF
   19898 fi
   19899 
   19900 # ------------- done intptr types, emit int_least types ------------
   19901 if test "$ac_cv_type_int_least32_t" != yes; then
   19902   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19903 
   19904     /* Define int_least types */
   19905     typedef int8_t     int_least8_t;
   19906     typedef int16_t    int_least16_t;
   19907     typedef int32_t    int_least32_t;
   19908     #ifdef _INT64_T
   19909     typedef int64_t    int_least64_t;
   19910     #endif
   19911 
   19912     typedef uint8_t    uint_least8_t;
   19913     typedef uint16_t   uint_least16_t;
   19914     typedef uint32_t   uint_least32_t;
   19915     #ifdef _UINT64_T
   19916     typedef uint64_t   uint_least64_t;
   19917     #endif
   19918 EOF
   19919 fi
   19920 
   19921 # ------------- done intptr types, emit int_fast types ------------
   19922 if test "$ac_cv_type_int_fast32_t" != yes; then
   19923       sed 's/^ *//' >> tmp-stdint.h <<EOF
   19924 
   19925     /* Define int_fast types.  short is often slow */
   19926     typedef int8_t       int_fast8_t;
   19927     typedef int          int_fast16_t;
   19928     typedef int32_t      int_fast32_t;
   19929     #ifdef _INT64_T
   19930     typedef int64_t      int_fast64_t;
   19931     #endif
   19932 
   19933     typedef uint8_t      uint_fast8_t;
   19934     typedef unsigned int uint_fast16_t;
   19935     typedef uint32_t     uint_fast32_t;
   19936     #ifdef _UINT64_T
   19937     typedef uint64_t     uint_fast64_t;
   19938     #endif
   19939 EOF
   19940 fi
   19941 
   19942 if test "$ac_cv_type_uintmax_t" != yes; then
   19943   sed 's/^ *//' >> tmp-stdint.h <<EOF
   19944 
   19945     /* Define intmax based on what we found */
   19946     #ifndef intmax_t
   19947     #ifdef _INT64_T
   19948     typedef int64_t       intmax_t;
   19949     #else
   19950     typedef long          intmax_t;
   19951     #endif
   19952     #endif
   19953     #ifndef uintmax_t
   19954     #ifdef _UINT64_T
   19955     typedef uint64_t      uintmax_t;
   19956     #else
   19957     typedef unsigned long uintmax_t;
   19958     #endif
   19959     #endif
   19960 EOF
   19961 fi
   19962 
   19963 sed 's/^ *//' >> tmp-stdint.h <<EOF
   19964 
   19965   #endif /* GCC_GENERATED_STDINT_H */
   19966 EOF
   19967 
   19968 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
   19969   rm -f tmp-stdint.h
   19970 else
   19971   mv -f tmp-stdint.h gstdint.h
   19972 fi
   19973 
   19974  ;;
   19975     "interception/Makefile":F) cat > vpsed$$ << \_EOF
   19976 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19977 _EOF
   19978    sed -f vpsed$$ $ac_file > tmp$$
   19979    mv tmp$$ $ac_file
   19980    rm vpsed$$
   19981    echo 'MULTISUBDIR =' >> $ac_file
   19982    ml_norecursion=yes
   19983    . ${multi_basedir}/config-ml.in
   19984    { ml_norecursion=; unset ml_norecursion;}
   19985  ;;
   19986     "sanitizer_common/Makefile":F) cat > vpsed$$ << \_EOF
   19987 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19988 _EOF
   19989    sed -f vpsed$$ $ac_file > tmp$$
   19990    mv tmp$$ $ac_file
   19991    rm vpsed$$
   19992    echo 'MULTISUBDIR =' >> $ac_file
   19993    ml_norecursion=yes
   19994    . ${multi_basedir}/config-ml.in
   19995    { ml_norecursion=; unset ml_norecursion;}
   19996  ;;
   19997     "libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
   19998 s!`test -f '$<' || echo '$(srcdir)/'`!!
   19999 _EOF
   20000    sed -f vpsed$$ $ac_file > tmp$$
   20001    mv tmp$$ $ac_file
   20002    rm vpsed$$
   20003    echo 'MULTISUBDIR =' >> $ac_file
   20004    ml_norecursion=yes
   20005    . ${multi_basedir}/config-ml.in
   20006    { ml_norecursion=; unset ml_norecursion;}
   20007  ;;
   20008     "lsan/Makefile":F) cat > vpsed$$ << \_EOF
   20009 s!`test -f '$<' || echo '$(srcdir)/'`!!
   20010 _EOF
   20011    sed -f vpsed$$ $ac_file > tmp$$
   20012    mv tmp$$ $ac_file
   20013    rm vpsed$$
   20014    echo 'MULTISUBDIR =' >> $ac_file
   20015    ml_norecursion=yes
   20016    . ${multi_basedir}/config-ml.in
   20017    { ml_norecursion=; unset ml_norecursion;}
   20018  ;;
   20019     "asan/Makefile":F) cat > vpsed$$ << \_EOF
   20020 s!`test -f '$<' || echo '$(srcdir)/'`!!
   20021 _EOF
   20022    sed -f vpsed$$ $ac_file > tmp$$
   20023    mv tmp$$ $ac_file
   20024    rm vpsed$$
   20025    echo 'MULTISUBDIR =' >> $ac_file
   20026    ml_norecursion=yes
   20027    . ${multi_basedir}/config-ml.in
   20028    { ml_norecursion=; unset ml_norecursion;}
   20029  ;;
   20030     "ubsan/Makefile":F) cat > vpsed$$ << \_EOF
   20031 s!`test -f '$<' || echo '$(srcdir)/'`!!
   20032 _EOF
   20033    sed -f vpsed$$ $ac_file > tmp$$
   20034    mv tmp$$ $ac_file
   20035    rm vpsed$$
   20036    echo 'MULTISUBDIR =' >> $ac_file
   20037    ml_norecursion=yes
   20038    . ${multi_basedir}/config-ml.in
   20039    { ml_norecursion=; unset ml_norecursion;}
   20040  ;;
   20041     "tsan/Makefile":F) cat > vpsed$$ << \_EOF
   20042 s!`test -f '$<' || echo '$(srcdir)/'`!!
   20043 _EOF
   20044     sed -f vpsed$$ $ac_file > tmp$$
   20045     mv tmp$$ $ac_file
   20046     rm vpsed$$
   20047     echo 'MULTISUBDIR =' >> $ac_file
   20048     ml_norecursion=yes
   20049     . ${multi_basedir}/config-ml.in
   20050     { ml_norecursion=; unset ml_norecursion;}
   20051  ;;
   20052 
   20053   esac
   20054 done # for ac_tag
   20055 
   20056 
   20057 as_fn_exit 0
   20058 _ACEOF
   20059 ac_clean_files=$ac_clean_files_save
   20060 
   20061 test $ac_write_fail = 0 ||
   20062   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20063 
   20064 
   20065 # configure is writing to config.log, and then calls config.status.
   20066 # config.status does its own redirection, appending to config.log.
   20067 # Unfortunately, on DOS this fails, as config.log is still kept open
   20068 # by configure, so config.status won't be able to write to it; its
   20069 # output is simply discarded.  So we exec the FD to /dev/null,
   20070 # effectively closing config.log, so it can be properly (re)opened and
   20071 # appended to by config.status.  When coming back to configure, we
   20072 # need to make the FD available again.
   20073 if test "$no_create" != yes; then
   20074   ac_cs_success=:
   20075   ac_config_status_args=
   20076   test "$silent" = yes &&
   20077     ac_config_status_args="$ac_config_status_args --quiet"
   20078   exec 5>/dev/null
   20079   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20080   exec 5>>config.log
   20081   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20082   # would make configure fail if this is the last instruction.
   20083   $ac_cs_success || as_fn_exit 1
   20084 fi
   20085 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20086   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20087 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20088 fi
   20089 
   20090