Home | History | Annotate | Line # | Download | only in libbacktrace
      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 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='package-unused'
    589 PACKAGE_TARNAME='libbacktrace'
    590 PACKAGE_VERSION='version-unused'
    591 PACKAGE_STRING='package-unused version-unused'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="backtrace.h"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 ac_subst_vars='am__EXEEXT_FALSE
    633 am__EXEEXT_TRUE
    634 LTLIBOBJS
    635 LIBOBJS
    636 NATIVE_FALSE
    637 NATIVE_TRUE
    638 HAVE_LIBLZMA_FALSE
    639 HAVE_LIBLZMA_TRUE
    640 HAVE_MINIDEBUG_FALSE
    641 HAVE_MINIDEBUG_TRUE
    642 HAVE_COMM_FALSE
    643 HAVE_COMM_TRUE
    644 COMM
    645 HAVE_XZ_FALSE
    646 HAVE_XZ_TRUE
    647 XZ
    648 USE_DSYMUTIL_FALSE
    649 USE_DSYMUTIL_TRUE
    650 HAVE_OBJCOPY_DEBUGLINK_FALSE
    651 HAVE_OBJCOPY_DEBUGLINK_TRUE
    652 READELF
    653 OBJCOPY
    654 HAVE_COMPRESSED_DEBUG_ZSTD_FALSE
    655 HAVE_COMPRESSED_DEBUG_ZSTD_TRUE
    656 HAVE_ZSTD_FALSE
    657 HAVE_ZSTD_TRUE
    658 HAVE_COMPRESSED_DEBUG_FALSE
    659 HAVE_COMPRESSED_DEBUG_TRUE
    660 HAVE_BUILDID_FALSE
    661 HAVE_BUILDID_TRUE
    662 HAVE_ZLIB_FALSE
    663 HAVE_ZLIB_TRUE
    664 HAVE_DWARF5_FALSE
    665 HAVE_DWARF5_TRUE
    666 HAVE_PTHREAD_FALSE
    667 HAVE_PTHREAD_TRUE
    668 PTHREAD_CFLAGS
    669 CLOCK_GETTIME_LINK
    670 BACKTRACE_USES_MALLOC
    671 ALLOC_FILE
    672 VIEW_FILE
    673 BACKTRACE_SUPPORTS_DATA
    674 BACKTRACE_SUPPORTED
    675 HAVE_ELF_FALSE
    676 HAVE_ELF_TRUE
    677 FORMAT_FILE
    678 BACKTRACE_SUPPORTS_THREADS
    679 CET_HOST_FLAGS
    680 PIC_FLAG
    681 WARN_FLAGS
    682 EXTRA_FLAGS
    683 BACKTRACE_FILE
    684 OTOOL64
    685 OTOOL
    686 LIPO
    687 NMEDIT
    688 DSYMUTIL
    689 AR
    690 OBJDUMP
    691 LN_S
    692 NM
    693 ac_ct_DUMPBIN
    694 DUMPBIN
    695 LD
    696 FGREP
    697 SED
    698 LIBTOOL
    699 HAVE_DWZ_FALSE
    700 HAVE_DWZ_TRUE
    701 DWZ
    702 RANLIB
    703 MAINT
    704 MAINTAINER_MODE_FALSE
    705 MAINTAINER_MODE_TRUE
    706 AM_BACKSLASH
    707 AM_DEFAULT_VERBOSITY
    708 AM_DEFAULT_V
    709 AM_V
    710 am__untar
    711 am__tar
    712 AMTAR
    713 am__leading_dot
    714 SET_MAKE
    715 AWK
    716 mkdir_p
    717 MKDIR_P
    718 INSTALL_STRIP_PROGRAM
    719 STRIP
    720 install_sh
    721 MAKEINFO
    722 AUTOHEADER
    723 AUTOMAKE
    724 AUTOCONF
    725 ACLOCAL
    726 VERSION
    727 PACKAGE
    728 CYGPATH_W
    729 am__isrc
    730 INSTALL_DATA
    731 INSTALL_SCRIPT
    732 INSTALL_PROGRAM
    733 libtool_VERSION
    734 EGREP
    735 GREP
    736 CPP
    737 OBJEXT
    738 EXEEXT
    739 ac_ct_CC
    740 CPPFLAGS
    741 LDFLAGS
    742 CFLAGS
    743 CC
    744 target_os
    745 target_vendor
    746 target_cpu
    747 target
    748 host_os
    749 host_vendor
    750 host_cpu
    751 host
    752 build_os
    753 build_vendor
    754 build_cpu
    755 build
    756 multi_basedir
    757 target_alias
    758 host_alias
    759 build_alias
    760 LIBS
    761 ECHO_T
    762 ECHO_N
    763 ECHO_C
    764 DEFS
    765 mandir
    766 localedir
    767 libdir
    768 psdir
    769 pdfdir
    770 dvidir
    771 htmldir
    772 infodir
    773 docdir
    774 oldincludedir
    775 includedir
    776 localstatedir
    777 sharedstatedir
    778 sysconfdir
    779 datadir
    780 datarootdir
    781 libexecdir
    782 sbindir
    783 bindir
    784 program_transform_name
    785 prefix
    786 exec_prefix
    787 PACKAGE_URL
    788 PACKAGE_BUGREPORT
    789 PACKAGE_STRING
    790 PACKAGE_VERSION
    791 PACKAGE_TARNAME
    792 PACKAGE_NAME
    793 PATH_SEPARATOR
    794 SHELL'
    795 ac_subst_files=''
    796 ac_user_opts='
    797 enable_option_checking
    798 enable_multilib
    799 enable_silent_rules
    800 enable_maintainer_mode
    801 with_target_subdir
    802 enable_shared
    803 enable_static
    804 with_pic
    805 enable_fast_install
    806 with_gnu_ld
    807 enable_libtool_lock
    808 enable_largefile
    809 enable_cet
    810 enable_werror
    811 with_system_libunwind
    812 enable_host_shared
    813 '
    814       ac_precious_vars='build_alias
    815 host_alias
    816 target_alias
    817 CC
    818 CFLAGS
    819 LDFLAGS
    820 LIBS
    821 CPPFLAGS
    822 CPP
    823 OBJCOPY
    824 DSYMUTIL
    825 NM'
    826 
    827 
    828 # Initialize some variables set by options.
    829 ac_init_help=
    830 ac_init_version=false
    831 ac_unrecognized_opts=
    832 ac_unrecognized_sep=
    833 # The variables have the same names as the options, with
    834 # dashes changed to underlines.
    835 cache_file=/dev/null
    836 exec_prefix=NONE
    837 no_create=
    838 no_recursion=
    839 prefix=NONE
    840 program_prefix=NONE
    841 program_suffix=NONE
    842 program_transform_name=s,x,x,
    843 silent=
    844 site=
    845 srcdir=
    846 verbose=
    847 x_includes=NONE
    848 x_libraries=NONE
    849 
    850 # Installation directory options.
    851 # These are left unexpanded so users can "make install exec_prefix=/foo"
    852 # and all the variables that are supposed to be based on exec_prefix
    853 # by default will actually change.
    854 # Use braces instead of parens because sh, perl, etc. also accept them.
    855 # (The list follows the same order as the GNU Coding Standards.)
    856 bindir='${exec_prefix}/bin'
    857 sbindir='${exec_prefix}/sbin'
    858 libexecdir='${exec_prefix}/libexec'
    859 datarootdir='${prefix}/share'
    860 datadir='${datarootdir}'
    861 sysconfdir='${prefix}/etc'
    862 sharedstatedir='${prefix}/com'
    863 localstatedir='${prefix}/var'
    864 includedir='${prefix}/include'
    865 oldincludedir='/usr/include'
    866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    867 infodir='${datarootdir}/info'
    868 htmldir='${docdir}'
    869 dvidir='${docdir}'
    870 pdfdir='${docdir}'
    871 psdir='${docdir}'
    872 libdir='${exec_prefix}/lib'
    873 localedir='${datarootdir}/locale'
    874 mandir='${datarootdir}/man'
    875 
    876 ac_prev=
    877 ac_dashdash=
    878 for ac_option
    879 do
    880   # If the previous option needs an argument, assign it.
    881   if test -n "$ac_prev"; then
    882     eval $ac_prev=\$ac_option
    883     ac_prev=
    884     continue
    885   fi
    886 
    887   case $ac_option in
    888   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    889   *=)   ac_optarg= ;;
    890   *)    ac_optarg=yes ;;
    891   esac
    892 
    893   # Accept the important Cygnus configure options, so we can diagnose typos.
    894 
    895   case $ac_dashdash$ac_option in
    896   --)
    897     ac_dashdash=yes ;;
    898 
    899   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    900     ac_prev=bindir ;;
    901   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    902     bindir=$ac_optarg ;;
    903 
    904   -build | --build | --buil | --bui | --bu)
    905     ac_prev=build_alias ;;
    906   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    907     build_alias=$ac_optarg ;;
    908 
    909   -cache-file | --cache-file | --cache-fil | --cache-fi \
    910   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    911     ac_prev=cache_file ;;
    912   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    913   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    914     cache_file=$ac_optarg ;;
    915 
    916   --config-cache | -C)
    917     cache_file=config.cache ;;
    918 
    919   -datadir | --datadir | --datadi | --datad)
    920     ac_prev=datadir ;;
    921   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    922     datadir=$ac_optarg ;;
    923 
    924   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    925   | --dataroo | --dataro | --datar)
    926     ac_prev=datarootdir ;;
    927   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    928   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    929     datarootdir=$ac_optarg ;;
    930 
    931   -disable-* | --disable-*)
    932     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    933     # Reject names that are not valid shell variable names.
    934     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    935       as_fn_error $? "invalid feature name: $ac_useropt"
    936     ac_useropt_orig=$ac_useropt
    937     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    938     case $ac_user_opts in
    939       *"
    940 "enable_$ac_useropt"
    941 "*) ;;
    942       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    943 	 ac_unrecognized_sep=', ';;
    944     esac
    945     eval enable_$ac_useropt=no ;;
    946 
    947   -docdir | --docdir | --docdi | --doc | --do)
    948     ac_prev=docdir ;;
    949   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    950     docdir=$ac_optarg ;;
    951 
    952   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    953     ac_prev=dvidir ;;
    954   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    955     dvidir=$ac_optarg ;;
    956 
    957   -enable-* | --enable-*)
    958     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    959     # Reject names that are not valid shell variable names.
    960     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    961       as_fn_error $? "invalid feature name: $ac_useropt"
    962     ac_useropt_orig=$ac_useropt
    963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    964     case $ac_user_opts in
    965       *"
    966 "enable_$ac_useropt"
    967 "*) ;;
    968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    969 	 ac_unrecognized_sep=', ';;
    970     esac
    971     eval enable_$ac_useropt=\$ac_optarg ;;
    972 
    973   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    974   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    975   | --exec | --exe | --ex)
    976     ac_prev=exec_prefix ;;
    977   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    978   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    979   | --exec=* | --exe=* | --ex=*)
    980     exec_prefix=$ac_optarg ;;
    981 
    982   -gas | --gas | --ga | --g)
    983     # Obsolete; use --with-gas.
    984     with_gas=yes ;;
    985 
    986   -help | --help | --hel | --he | -h)
    987     ac_init_help=long ;;
    988   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    989     ac_init_help=recursive ;;
    990   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    991     ac_init_help=short ;;
    992 
    993   -host | --host | --hos | --ho)
    994     ac_prev=host_alias ;;
    995   -host=* | --host=* | --hos=* | --ho=*)
    996     host_alias=$ac_optarg ;;
    997 
    998   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    999     ac_prev=htmldir ;;
   1000   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1001   | --ht=*)
   1002     htmldir=$ac_optarg ;;
   1003 
   1004   -includedir | --includedir | --includedi | --included | --include \
   1005   | --includ | --inclu | --incl | --inc)
   1006     ac_prev=includedir ;;
   1007   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1008   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1009     includedir=$ac_optarg ;;
   1010 
   1011   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1012     ac_prev=infodir ;;
   1013   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1014     infodir=$ac_optarg ;;
   1015 
   1016   -libdir | --libdir | --libdi | --libd)
   1017     ac_prev=libdir ;;
   1018   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1019     libdir=$ac_optarg ;;
   1020 
   1021   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1022   | --libexe | --libex | --libe)
   1023     ac_prev=libexecdir ;;
   1024   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1025   | --libexe=* | --libex=* | --libe=*)
   1026     libexecdir=$ac_optarg ;;
   1027 
   1028   -localedir | --localedir | --localedi | --localed | --locale)
   1029     ac_prev=localedir ;;
   1030   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1031     localedir=$ac_optarg ;;
   1032 
   1033   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1034   | --localstate | --localstat | --localsta | --localst | --locals)
   1035     ac_prev=localstatedir ;;
   1036   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1037   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1038     localstatedir=$ac_optarg ;;
   1039 
   1040   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1041     ac_prev=mandir ;;
   1042   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1043     mandir=$ac_optarg ;;
   1044 
   1045   -nfp | --nfp | --nf)
   1046     # Obsolete; use --without-fp.
   1047     with_fp=no ;;
   1048 
   1049   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1050   | --no-cr | --no-c | -n)
   1051     no_create=yes ;;
   1052 
   1053   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1054   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1055     no_recursion=yes ;;
   1056 
   1057   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1058   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1059   | --oldin | --oldi | --old | --ol | --o)
   1060     ac_prev=oldincludedir ;;
   1061   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1062   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1063   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1064     oldincludedir=$ac_optarg ;;
   1065 
   1066   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1067     ac_prev=prefix ;;
   1068   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1069     prefix=$ac_optarg ;;
   1070 
   1071   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1072   | --program-pre | --program-pr | --program-p)
   1073     ac_prev=program_prefix ;;
   1074   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1075   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1076     program_prefix=$ac_optarg ;;
   1077 
   1078   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1079   | --program-suf | --program-su | --program-s)
   1080     ac_prev=program_suffix ;;
   1081   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1082   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1083     program_suffix=$ac_optarg ;;
   1084 
   1085   -program-transform-name | --program-transform-name \
   1086   | --program-transform-nam | --program-transform-na \
   1087   | --program-transform-n | --program-transform- \
   1088   | --program-transform | --program-transfor \
   1089   | --program-transfo | --program-transf \
   1090   | --program-trans | --program-tran \
   1091   | --progr-tra | --program-tr | --program-t)
   1092     ac_prev=program_transform_name ;;
   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     program_transform_name=$ac_optarg ;;
   1101 
   1102   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1103     ac_prev=pdfdir ;;
   1104   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1105     pdfdir=$ac_optarg ;;
   1106 
   1107   -psdir | --psdir | --psdi | --psd | --ps)
   1108     ac_prev=psdir ;;
   1109   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1110     psdir=$ac_optarg ;;
   1111 
   1112   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1113   | -silent | --silent | --silen | --sile | --sil)
   1114     silent=yes ;;
   1115 
   1116   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1117     ac_prev=sbindir ;;
   1118   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1119   | --sbi=* | --sb=*)
   1120     sbindir=$ac_optarg ;;
   1121 
   1122   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1123   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1124   | --sharedst | --shareds | --shared | --share | --shar \
   1125   | --sha | --sh)
   1126     ac_prev=sharedstatedir ;;
   1127   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1128   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1129   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1130   | --sha=* | --sh=*)
   1131     sharedstatedir=$ac_optarg ;;
   1132 
   1133   -site | --site | --sit)
   1134     ac_prev=site ;;
   1135   -site=* | --site=* | --sit=*)
   1136     site=$ac_optarg ;;
   1137 
   1138   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1139     ac_prev=srcdir ;;
   1140   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1141     srcdir=$ac_optarg ;;
   1142 
   1143   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1144   | --syscon | --sysco | --sysc | --sys | --sy)
   1145     ac_prev=sysconfdir ;;
   1146   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1147   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1148     sysconfdir=$ac_optarg ;;
   1149 
   1150   -target | --target | --targe | --targ | --tar | --ta | --t)
   1151     ac_prev=target_alias ;;
   1152   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1153     target_alias=$ac_optarg ;;
   1154 
   1155   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1156     verbose=yes ;;
   1157 
   1158   -version | --version | --versio | --versi | --vers | -V)
   1159     ac_init_version=: ;;
   1160 
   1161   -with-* | --with-*)
   1162     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1163     # Reject names that are not valid shell variable names.
   1164     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1165       as_fn_error $? "invalid package name: $ac_useropt"
   1166     ac_useropt_orig=$ac_useropt
   1167     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1168     case $ac_user_opts in
   1169       *"
   1170 "with_$ac_useropt"
   1171 "*) ;;
   1172       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1173 	 ac_unrecognized_sep=', ';;
   1174     esac
   1175     eval with_$ac_useropt=\$ac_optarg ;;
   1176 
   1177   -without-* | --without-*)
   1178     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1179     # Reject names that are not valid shell variable names.
   1180     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1181       as_fn_error $? "invalid package name: $ac_useropt"
   1182     ac_useropt_orig=$ac_useropt
   1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1184     case $ac_user_opts in
   1185       *"
   1186 "with_$ac_useropt"
   1187 "*) ;;
   1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1189 	 ac_unrecognized_sep=', ';;
   1190     esac
   1191     eval with_$ac_useropt=no ;;
   1192 
   1193   --x)
   1194     # Obsolete; use --with-x.
   1195     with_x=yes ;;
   1196 
   1197   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1198   | --x-incl | --x-inc | --x-in | --x-i)
   1199     ac_prev=x_includes ;;
   1200   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1201   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1202     x_includes=$ac_optarg ;;
   1203 
   1204   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1205   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1206     ac_prev=x_libraries ;;
   1207   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1208   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1209     x_libraries=$ac_optarg ;;
   1210 
   1211   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1212 Try \`$0 --help' for more information"
   1213     ;;
   1214 
   1215   *=*)
   1216     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1217     # Reject names that are not valid shell variable names.
   1218     case $ac_envvar in #(
   1219       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1220       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1221     esac
   1222     eval $ac_envvar=\$ac_optarg
   1223     export $ac_envvar ;;
   1224 
   1225   *)
   1226     # FIXME: should be removed in autoconf 3.0.
   1227     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1228     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1229       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1230     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1231     ;;
   1232 
   1233   esac
   1234 done
   1235 
   1236 if test -n "$ac_prev"; then
   1237   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1238   as_fn_error $? "missing argument to $ac_option"
   1239 fi
   1240 
   1241 if test -n "$ac_unrecognized_opts"; then
   1242   case $enable_option_checking in
   1243     no) ;;
   1244     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1245     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1246   esac
   1247 fi
   1248 
   1249 # Check all directory arguments for consistency.
   1250 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1251 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1252 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1253 		libdir localedir mandir
   1254 do
   1255   eval ac_val=\$$ac_var
   1256   # Remove trailing slashes.
   1257   case $ac_val in
   1258     */ )
   1259       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1260       eval $ac_var=\$ac_val;;
   1261   esac
   1262   # Be sure to have absolute directory names.
   1263   case $ac_val in
   1264     [\\/$]* | ?:[\\/]* )  continue;;
   1265     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1266   esac
   1267   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1268 done
   1269 
   1270 # There might be people who depend on the old broken behavior: `$host'
   1271 # used to hold the argument of --host etc.
   1272 # FIXME: To remove some day.
   1273 build=$build_alias
   1274 host=$host_alias
   1275 target=$target_alias
   1276 
   1277 # FIXME: To remove some day.
   1278 if test "x$host_alias" != x; then
   1279   if test "x$build_alias" = x; then
   1280     cross_compiling=maybe
   1281   elif test "x$build_alias" != "x$host_alias"; then
   1282     cross_compiling=yes
   1283   fi
   1284 fi
   1285 
   1286 ac_tool_prefix=
   1287 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1288 
   1289 test "$silent" = yes && exec 6>/dev/null
   1290 
   1291 
   1292 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1293 ac_ls_di=`ls -di .` &&
   1294 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1295   as_fn_error $? "working directory cannot be determined"
   1296 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1297   as_fn_error $? "pwd does not report name of working directory"
   1298 
   1299 
   1300 # Find the source files, if location was not specified.
   1301 if test -z "$srcdir"; then
   1302   ac_srcdir_defaulted=yes
   1303   # Try the directory containing this script, then the parent directory.
   1304   ac_confdir=`$as_dirname -- "$as_myself" ||
   1305 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1306 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1307 	 X"$as_myself" : 'X\(//\)$' \| \
   1308 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1309 $as_echo X"$as_myself" |
   1310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1311 	    s//\1/
   1312 	    q
   1313 	  }
   1314 	  /^X\(\/\/\)[^/].*/{
   1315 	    s//\1/
   1316 	    q
   1317 	  }
   1318 	  /^X\(\/\/\)$/{
   1319 	    s//\1/
   1320 	    q
   1321 	  }
   1322 	  /^X\(\/\).*/{
   1323 	    s//\1/
   1324 	    q
   1325 	  }
   1326 	  s/.*/./; q'`
   1327   srcdir=$ac_confdir
   1328   if test ! -r "$srcdir/$ac_unique_file"; then
   1329     srcdir=..
   1330   fi
   1331 else
   1332   ac_srcdir_defaulted=no
   1333 fi
   1334 if test ! -r "$srcdir/$ac_unique_file"; then
   1335   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1336   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1337 fi
   1338 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1339 ac_abs_confdir=`(
   1340 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1341 	pwd)`
   1342 # When building in place, set srcdir=.
   1343 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1344   srcdir=.
   1345 fi
   1346 # Remove unnecessary trailing slashes from srcdir.
   1347 # Double slashes in file names in object file debugging info
   1348 # mess up M-x gdb in Emacs.
   1349 case $srcdir in
   1350 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1351 esac
   1352 for ac_var in $ac_precious_vars; do
   1353   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1354   eval ac_env_${ac_var}_value=\$${ac_var}
   1355   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1356   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1357 done
   1358 
   1359 #
   1360 # Report the --help message.
   1361 #
   1362 if test "$ac_init_help" = "long"; then
   1363   # Omit some internal or obsolete options to make the list less imposing.
   1364   # This message is too long to be a string in the A/UX 3.1 sh.
   1365   cat <<_ACEOF
   1366 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
   1367 
   1368 Usage: $0 [OPTION]... [VAR=VALUE]...
   1369 
   1370 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1371 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1372 
   1373 Defaults for the options are specified in brackets.
   1374 
   1375 Configuration:
   1376   -h, --help              display this help and exit
   1377       --help=short        display options specific to this package
   1378       --help=recursive    display the short help of all the included packages
   1379   -V, --version           display version information and exit
   1380   -q, --quiet, --silent   do not print \`checking ...' messages
   1381       --cache-file=FILE   cache test results in FILE [disabled]
   1382   -C, --config-cache      alias for \`--cache-file=config.cache'
   1383   -n, --no-create         do not create output files
   1384       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1385 
   1386 Installation directories:
   1387   --prefix=PREFIX         install architecture-independent files in PREFIX
   1388                           [$ac_default_prefix]
   1389   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1390                           [PREFIX]
   1391 
   1392 By default, \`make install' will install all the files in
   1393 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1394 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1395 for instance \`--prefix=\$HOME'.
   1396 
   1397 For better control, use the options below.
   1398 
   1399 Fine tuning of the installation directories:
   1400   --bindir=DIR            user executables [EPREFIX/bin]
   1401   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1402   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1403   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1404   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1405   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1406   --libdir=DIR            object code libraries [EPREFIX/lib]
   1407   --includedir=DIR        C header files [PREFIX/include]
   1408   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1409   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1410   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1411   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1412   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1413   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1414   --docdir=DIR            documentation root [DATAROOTDIR/doc/libbacktrace]
   1415   --htmldir=DIR           html documentation [DOCDIR]
   1416   --dvidir=DIR            dvi documentation [DOCDIR]
   1417   --pdfdir=DIR            pdf documentation [DOCDIR]
   1418   --psdir=DIR             ps documentation [DOCDIR]
   1419 _ACEOF
   1420 
   1421   cat <<\_ACEOF
   1422 
   1423 Program names:
   1424   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1425   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1426   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1427 
   1428 System types:
   1429   --build=BUILD     configure for building on BUILD [guessed]
   1430   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1431   --target=TARGET   configure for building compilers for TARGET [HOST]
   1432 _ACEOF
   1433 fi
   1434 
   1435 if test -n "$ac_init_help"; then
   1436   case $ac_init_help in
   1437      short | recursive ) echo "Configuration of package-unused version-unused:";;
   1438    esac
   1439   cat <<\_ACEOF
   1440 
   1441 Optional Features:
   1442   --disable-option-checking  ignore unrecognized --enable/--with options
   1443   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1444   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1445   --enable-multilib       build many library versions (default)
   1446   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1447   --disable-silent-rules  verbose build output (undo: "make V=0")
   1448   --enable-maintainer-mode
   1449                           enable make rules and dependencies not useful (and
   1450                           sometimes confusing) to the casual installer
   1451   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1452   --enable-static[=PKGS]  build static libraries [default=yes]
   1453   --enable-fast-install[=PKGS]
   1454                           optimize for fast installation [default=yes]
   1455   --disable-libtool-lock  avoid locking (might break parallel builds)
   1456   --disable-largefile     omit support for large files
   1457   --enable-cet            enable Intel CET in target libraries [default=auto]
   1458   --disable-werror        disable building with -Werror
   1459   --enable-host-shared    build host code as shared libraries
   1460   --enable-cet            enable Intel CET in host libraries [default=auto]
   1461 
   1462 Optional Packages:
   1463   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1464   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1465   --with-target-subdir=SUBDIR      Configuring in a subdirectory for target
   1466   --with-pic              try to use only PIC/non-PIC objects [default=use
   1467                           both]
   1468   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1469   --with-system-libunwind use installed libunwind
   1470 
   1471 Some influential environment variables:
   1472   CC          C compiler command
   1473   CFLAGS      C compiler flags
   1474   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1475               nonstandard directory <lib dir>
   1476   LIBS        libraries to pass to the linker, e.g. -l<library>
   1477   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1478               you have headers in a nonstandard directory <include dir>
   1479   CPP         C preprocessor
   1480   OBJCOPY     location of objcopy
   1481   DSYMUTIL    location of dsymutil
   1482   NM          location of nm
   1483 
   1484 Use these variables to override the choices made by `configure' or to help
   1485 it to find libraries and programs with nonstandard names/locations.
   1486 
   1487 Report bugs to the package provider.
   1488 _ACEOF
   1489 ac_status=$?
   1490 fi
   1491 
   1492 if test "$ac_init_help" = "recursive"; then
   1493   # If there are subdirs, report their specific --help.
   1494   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1495     test -d "$ac_dir" ||
   1496       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1497       continue
   1498     ac_builddir=.
   1499 
   1500 case "$ac_dir" in
   1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502 *)
   1503   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1504   # A ".." for each directory in $ac_dir_suffix.
   1505   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1506   case $ac_top_builddir_sub in
   1507   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1508   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1509   esac ;;
   1510 esac
   1511 ac_abs_top_builddir=$ac_pwd
   1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1513 # for backward compatibility:
   1514 ac_top_builddir=$ac_top_build_prefix
   1515 
   1516 case $srcdir in
   1517   .)  # We are building in place.
   1518     ac_srcdir=.
   1519     ac_top_srcdir=$ac_top_builddir_sub
   1520     ac_abs_top_srcdir=$ac_pwd ;;
   1521   [\\/]* | ?:[\\/]* )  # Absolute name.
   1522     ac_srcdir=$srcdir$ac_dir_suffix;
   1523     ac_top_srcdir=$srcdir
   1524     ac_abs_top_srcdir=$srcdir ;;
   1525   *) # Relative name.
   1526     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1527     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1528     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1529 esac
   1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1531 
   1532     cd "$ac_dir" || { ac_status=$?; continue; }
   1533     # Check for guested configure.
   1534     if test -f "$ac_srcdir/configure.gnu"; then
   1535       echo &&
   1536       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1537     elif test -f "$ac_srcdir/configure"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure" --help=recursive
   1540     else
   1541       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1542     fi || ac_status=$?
   1543     cd "$ac_pwd" || { ac_status=$?; break; }
   1544   done
   1545 fi
   1546 
   1547 test -n "$ac_init_help" && exit $ac_status
   1548 if $ac_init_version; then
   1549   cat <<\_ACEOF
   1550 package-unused configure version-unused
   1551 generated by GNU Autoconf 2.69
   1552 
   1553 Copyright (C) 2012 Free Software Foundation, Inc.
   1554 This configure script is free software; the Free Software Foundation
   1555 gives unlimited permission to copy, distribute and modify it.
   1556 _ACEOF
   1557   exit
   1558 fi
   1559 
   1560 ## ------------------------ ##
   1561 ## Autoconf initialization. ##
   1562 ## ------------------------ ##
   1563 
   1564 # ac_fn_c_try_compile LINENO
   1565 # --------------------------
   1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1567 ac_fn_c_try_compile ()
   1568 {
   1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1570   rm -f conftest.$ac_objext
   1571   if { { ac_try="$ac_compile"
   1572 case "(($ac_try" in
   1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1574   *) ac_try_echo=$ac_try;;
   1575 esac
   1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1577 $as_echo "$ac_try_echo"; } >&5
   1578   (eval "$ac_compile") 2>conftest.err
   1579   ac_status=$?
   1580   if test -s conftest.err; then
   1581     grep -v '^ *+' conftest.err >conftest.er1
   1582     cat conftest.er1 >&5
   1583     mv -f conftest.er1 conftest.err
   1584   fi
   1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1586   test $ac_status = 0; } && {
   1587 	 test -z "$ac_c_werror_flag" ||
   1588 	 test ! -s conftest.err
   1589        } && test -s conftest.$ac_objext; then :
   1590   ac_retval=0
   1591 else
   1592   $as_echo "$as_me: failed program was:" >&5
   1593 sed 's/^/| /' conftest.$ac_ext >&5
   1594 
   1595 	ac_retval=1
   1596 fi
   1597   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1598   as_fn_set_status $ac_retval
   1599 
   1600 } # ac_fn_c_try_compile
   1601 
   1602 # ac_fn_c_try_cpp LINENO
   1603 # ----------------------
   1604 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_cpp ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1609 case "(($ac_try" in
   1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1611   *) ac_try_echo=$ac_try;;
   1612 esac
   1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1614 $as_echo "$ac_try_echo"; } >&5
   1615   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1616   ac_status=$?
   1617   if test -s conftest.err; then
   1618     grep -v '^ *+' conftest.err >conftest.er1
   1619     cat conftest.er1 >&5
   1620     mv -f conftest.er1 conftest.err
   1621   fi
   1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1623   test $ac_status = 0; } > conftest.i && {
   1624 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1625 	 test ! -s conftest.err
   1626        }; then :
   1627   ac_retval=0
   1628 else
   1629   $as_echo "$as_me: failed program was:" >&5
   1630 sed 's/^/| /' conftest.$ac_ext >&5
   1631 
   1632     ac_retval=1
   1633 fi
   1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1635   as_fn_set_status $ac_retval
   1636 
   1637 } # ac_fn_c_try_cpp
   1638 
   1639 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1640 # -------------------------------------------------------
   1641 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1642 # the include files in INCLUDES and setting the cache variable VAR
   1643 # accordingly.
   1644 ac_fn_c_check_header_mongrel ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   if eval \${$3+:} false; then :
   1648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1649 $as_echo_n "checking for $2... " >&6; }
   1650 if eval \${$3+:} false; then :
   1651   $as_echo_n "(cached) " >&6
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 $as_echo "$ac_res" >&6; }
   1656 else
   1657   # Is the header compilable?
   1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1659 $as_echo_n "checking $2 usability... " >&6; }
   1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1661 /* end confdefs.h.  */
   1662 $4
   1663 #include <$2>
   1664 _ACEOF
   1665 if ac_fn_c_try_compile "$LINENO"; then :
   1666   ac_header_compiler=yes
   1667 else
   1668   ac_header_compiler=no
   1669 fi
   1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1672 $as_echo "$ac_header_compiler" >&6; }
   1673 
   1674 # Is the header present?
   1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1676 $as_echo_n "checking $2 presence... " >&6; }
   1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1678 /* end confdefs.h.  */
   1679 #include <$2>
   1680 _ACEOF
   1681 if ac_fn_c_try_cpp "$LINENO"; then :
   1682   ac_header_preproc=yes
   1683 else
   1684   ac_header_preproc=no
   1685 fi
   1686 rm -f conftest.err conftest.i conftest.$ac_ext
   1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1688 $as_echo "$ac_header_preproc" >&6; }
   1689 
   1690 # So?  What about this header?
   1691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1692   yes:no: )
   1693     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1694 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1695     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1697     ;;
   1698   no:yes:* )
   1699     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1700 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1701     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1702 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1703     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1704 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1705     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1706 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1708 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1709     ;;
   1710 esac
   1711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1712 $as_echo_n "checking for $2... " >&6; }
   1713 if eval \${$3+:} false; then :
   1714   $as_echo_n "(cached) " >&6
   1715 else
   1716   eval "$3=\$ac_header_compiler"
   1717 fi
   1718 eval ac_res=\$$3
   1719 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1720 $as_echo "$ac_res" >&6; }
   1721 fi
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723 
   1724 } # ac_fn_c_check_header_mongrel
   1725 
   1726 # ac_fn_c_try_run LINENO
   1727 # ----------------------
   1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1729 # that executables *can* be run.
   1730 ac_fn_c_try_run ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   if { { ac_try="$ac_link"
   1734 case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 $as_echo "$ac_try_echo"; } >&5
   1740   (eval "$ac_link") 2>&5
   1741   ac_status=$?
   1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1743   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1744   { { case "(($ac_try" in
   1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1746   *) ac_try_echo=$ac_try;;
   1747 esac
   1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1749 $as_echo "$ac_try_echo"; } >&5
   1750   (eval "$ac_try") 2>&5
   1751   ac_status=$?
   1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1753   test $ac_status = 0; }; }; then :
   1754   ac_retval=0
   1755 else
   1756   $as_echo "$as_me: program exited with status $ac_status" >&5
   1757        $as_echo "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760        ac_retval=$ac_status
   1761 fi
   1762   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1764   as_fn_set_status $ac_retval
   1765 
   1766 } # ac_fn_c_try_run
   1767 
   1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1769 # -------------------------------------------------------
   1770 # Tests whether HEADER exists and can be compiled using the include files in
   1771 # INCLUDES, setting the cache variable VAR accordingly.
   1772 ac_fn_c_check_header_compile ()
   1773 {
   1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1776 $as_echo_n "checking for $2... " >&6; }
   1777 if eval \${$3+:} false; then :
   1778   $as_echo_n "(cached) " >&6
   1779 else
   1780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1781 /* end confdefs.h.  */
   1782 $4
   1783 #include <$2>
   1784 _ACEOF
   1785 if ac_fn_c_try_compile "$LINENO"; then :
   1786   eval "$3=yes"
   1787 else
   1788   eval "$3=no"
   1789 fi
   1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_header_compile
   1798 
   1799 # ac_fn_c_try_link LINENO
   1800 # -----------------------
   1801 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1802 ac_fn_c_try_link ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   rm -f conftest.$ac_objext conftest$ac_exeext
   1806   if { { ac_try="$ac_link"
   1807 case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 $as_echo "$ac_try_echo"; } >&5
   1813   (eval "$ac_link") 2>conftest.err
   1814   ac_status=$?
   1815   if test -s conftest.err; then
   1816     grep -v '^ *+' conftest.err >conftest.er1
   1817     cat conftest.er1 >&5
   1818     mv -f conftest.er1 conftest.err
   1819   fi
   1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } && {
   1822 	 test -z "$ac_c_werror_flag" ||
   1823 	 test ! -s conftest.err
   1824        } && test -s conftest$ac_exeext && {
   1825 	 test "$cross_compiling" = yes ||
   1826 	 test -x conftest$ac_exeext
   1827        }; then :
   1828   ac_retval=0
   1829 else
   1830   $as_echo "$as_me: failed program was:" >&5
   1831 sed 's/^/| /' conftest.$ac_ext >&5
   1832 
   1833 	ac_retval=1
   1834 fi
   1835   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1836   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1837   # interfere with the next link command; also delete a directory that is
   1838   # left behind by Apple's compiler.  We do this before executing the actions.
   1839   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1840   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1841   as_fn_set_status $ac_retval
   1842 
   1843 } # ac_fn_c_try_link
   1844 
   1845 # ac_fn_c_check_func LINENO FUNC VAR
   1846 # ----------------------------------
   1847 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1848 ac_fn_c_check_func ()
   1849 {
   1850   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1852 $as_echo_n "checking for $2... " >&6; }
   1853 if eval \${$3+:} false; then :
   1854   $as_echo_n "(cached) " >&6
   1855 else
   1856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1857 /* end confdefs.h.  */
   1858 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1859    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1860 #define $2 innocuous_$2
   1861 
   1862 /* System header to define __stub macros and hopefully few prototypes,
   1863     which can conflict with char $2 (); below.
   1864     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1865     <limits.h> exists even on freestanding compilers.  */
   1866 
   1867 #ifdef __STDC__
   1868 # include <limits.h>
   1869 #else
   1870 # include <assert.h>
   1871 #endif
   1872 
   1873 #undef $2
   1874 
   1875 /* Override any GCC internal prototype to avoid an error.
   1876    Use char because int might match the return type of a GCC
   1877    builtin and then its argument prototype would still apply.  */
   1878 #ifdef __cplusplus
   1879 extern "C"
   1880 #endif
   1881 char $2 ();
   1882 /* The GNU C library defines this for functions which it implements
   1883     to always fail with ENOSYS.  Some functions are actually named
   1884     something starting with __ and the normal name is an alias.  */
   1885 #if defined __stub_$2 || defined __stub___$2
   1886 choke me
   1887 #endif
   1888 
   1889 int
   1890 main ()
   1891 {
   1892 return $2 ();
   1893   ;
   1894   return 0;
   1895 }
   1896 _ACEOF
   1897 if ac_fn_c_try_link "$LINENO"; then :
   1898   eval "$3=yes"
   1899 else
   1900   eval "$3=no"
   1901 fi
   1902 rm -f core conftest.err conftest.$ac_objext \
   1903     conftest$ac_exeext conftest.$ac_ext
   1904 fi
   1905 eval ac_res=\$$3
   1906 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1907 $as_echo "$ac_res" >&6; }
   1908   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1909 
   1910 } # ac_fn_c_check_func
   1911 
   1912 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1913 # -------------------------------------------
   1914 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1915 # variable VAR accordingly.
   1916 ac_fn_c_check_type ()
   1917 {
   1918   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1920 $as_echo_n "checking for $2... " >&6; }
   1921 if eval \${$3+:} false; then :
   1922   $as_echo_n "(cached) " >&6
   1923 else
   1924   eval "$3=no"
   1925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1926 /* end confdefs.h.  */
   1927 $4
   1928 int
   1929 main ()
   1930 {
   1931 if (sizeof ($2))
   1932 	 return 0;
   1933   ;
   1934   return 0;
   1935 }
   1936 _ACEOF
   1937 if ac_fn_c_try_compile "$LINENO"; then :
   1938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1939 /* end confdefs.h.  */
   1940 $4
   1941 int
   1942 main ()
   1943 {
   1944 if (sizeof (($2)))
   1945 	    return 0;
   1946   ;
   1947   return 0;
   1948 }
   1949 _ACEOF
   1950 if ac_fn_c_try_compile "$LINENO"; then :
   1951 
   1952 else
   1953   eval "$3=yes"
   1954 fi
   1955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1956 fi
   1957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1958 fi
   1959 eval ac_res=\$$3
   1960 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1961 $as_echo "$ac_res" >&6; }
   1962   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1963 
   1964 } # ac_fn_c_check_type
   1965 
   1966 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1967 # --------------------------------------------
   1968 # Tries to find the compile-time value of EXPR in a program that includes
   1969 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1970 # computed
   1971 ac_fn_c_compute_int ()
   1972 {
   1973   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1974   if test "$cross_compiling" = yes; then
   1975     # Depending upon the size, compute the lo and hi bounds.
   1976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1977 /* end confdefs.h.  */
   1978 $4
   1979 int
   1980 main ()
   1981 {
   1982 static int test_array [1 - 2 * !(($2) >= 0)];
   1983 test_array [0] = 0;
   1984 return test_array [0];
   1985 
   1986   ;
   1987   return 0;
   1988 }
   1989 _ACEOF
   1990 if ac_fn_c_try_compile "$LINENO"; then :
   1991   ac_lo=0 ac_mid=0
   1992   while :; do
   1993     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1994 /* end confdefs.h.  */
   1995 $4
   1996 int
   1997 main ()
   1998 {
   1999 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2000 test_array [0] = 0;
   2001 return test_array [0];
   2002 
   2003   ;
   2004   return 0;
   2005 }
   2006 _ACEOF
   2007 if ac_fn_c_try_compile "$LINENO"; then :
   2008   ac_hi=$ac_mid; break
   2009 else
   2010   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2011 			if test $ac_lo -le $ac_mid; then
   2012 			  ac_lo= ac_hi=
   2013 			  break
   2014 			fi
   2015 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2016 fi
   2017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2018   done
   2019 else
   2020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2021 /* end confdefs.h.  */
   2022 $4
   2023 int
   2024 main ()
   2025 {
   2026 static int test_array [1 - 2 * !(($2) < 0)];
   2027 test_array [0] = 0;
   2028 return test_array [0];
   2029 
   2030   ;
   2031   return 0;
   2032 }
   2033 _ACEOF
   2034 if ac_fn_c_try_compile "$LINENO"; then :
   2035   ac_hi=-1 ac_mid=-1
   2036   while :; do
   2037     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2038 /* end confdefs.h.  */
   2039 $4
   2040 int
   2041 main ()
   2042 {
   2043 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2044 test_array [0] = 0;
   2045 return test_array [0];
   2046 
   2047   ;
   2048   return 0;
   2049 }
   2050 _ACEOF
   2051 if ac_fn_c_try_compile "$LINENO"; then :
   2052   ac_lo=$ac_mid; break
   2053 else
   2054   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2055 			if test $ac_mid -le $ac_hi; then
   2056 			  ac_lo= ac_hi=
   2057 			  break
   2058 			fi
   2059 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2060 fi
   2061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2062   done
   2063 else
   2064   ac_lo= ac_hi=
   2065 fi
   2066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2067 fi
   2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2069 # Binary search between lo and hi bounds.
   2070 while test "x$ac_lo" != "x$ac_hi"; do
   2071   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2073 /* end confdefs.h.  */
   2074 $4
   2075 int
   2076 main ()
   2077 {
   2078 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2079 test_array [0] = 0;
   2080 return test_array [0];
   2081 
   2082   ;
   2083   return 0;
   2084 }
   2085 _ACEOF
   2086 if ac_fn_c_try_compile "$LINENO"; then :
   2087   ac_hi=$ac_mid
   2088 else
   2089   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2090 fi
   2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2092 done
   2093 case $ac_lo in #((
   2094 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2095 '') ac_retval=1 ;;
   2096 esac
   2097   else
   2098     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2099 /* end confdefs.h.  */
   2100 $4
   2101 static long int longval () { return $2; }
   2102 static unsigned long int ulongval () { return $2; }
   2103 #include <stdio.h>
   2104 #include <stdlib.h>
   2105 int
   2106 main ()
   2107 {
   2108 
   2109   FILE *f = fopen ("conftest.val", "w");
   2110   if (! f)
   2111     return 1;
   2112   if (($2) < 0)
   2113     {
   2114       long int i = longval ();
   2115       if (i != ($2))
   2116 	return 1;
   2117       fprintf (f, "%ld", i);
   2118     }
   2119   else
   2120     {
   2121       unsigned long int i = ulongval ();
   2122       if (i != ($2))
   2123 	return 1;
   2124       fprintf (f, "%lu", i);
   2125     }
   2126   /* Do not output a trailing newline, as this causes \r\n confusion
   2127      on some platforms.  */
   2128   return ferror (f) || fclose (f) != 0;
   2129 
   2130   ;
   2131   return 0;
   2132 }
   2133 _ACEOF
   2134 if ac_fn_c_try_run "$LINENO"; then :
   2135   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2136 else
   2137   ac_retval=1
   2138 fi
   2139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2140   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2141 rm -f conftest.val
   2142 
   2143   fi
   2144   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2145   as_fn_set_status $ac_retval
   2146 
   2147 } # ac_fn_c_compute_int
   2148 
   2149 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2150 # ---------------------------------------------
   2151 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2152 # accordingly.
   2153 ac_fn_c_check_decl ()
   2154 {
   2155   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2156   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2157   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2159 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2160 if eval \${$3+:} false; then :
   2161   $as_echo_n "(cached) " >&6
   2162 else
   2163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2164 /* end confdefs.h.  */
   2165 $4
   2166 int
   2167 main ()
   2168 {
   2169 #ifndef $as_decl_name
   2170 #ifdef __cplusplus
   2171   (void) $as_decl_use;
   2172 #else
   2173   (void) $as_decl_name;
   2174 #endif
   2175 #endif
   2176 
   2177   ;
   2178   return 0;
   2179 }
   2180 _ACEOF
   2181 if ac_fn_c_try_compile "$LINENO"; then :
   2182   eval "$3=yes"
   2183 else
   2184   eval "$3=no"
   2185 fi
   2186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2187 fi
   2188 eval ac_res=\$$3
   2189 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2190 $as_echo "$ac_res" >&6; }
   2191   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2192 
   2193 } # ac_fn_c_check_decl
   2194 cat >config.log <<_ACEOF
   2195 This file contains any messages produced by compilers while
   2196 running configure, to aid debugging if configure makes a mistake.
   2197 
   2198 It was created by package-unused $as_me version-unused, which was
   2199 generated by GNU Autoconf 2.69.  Invocation command line was
   2200 
   2201   $ $0 $@
   2202 
   2203 _ACEOF
   2204 exec 5>>config.log
   2205 {
   2206 cat <<_ASUNAME
   2207 ## --------- ##
   2208 ## Platform. ##
   2209 ## --------- ##
   2210 
   2211 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2212 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2213 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2214 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2215 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2216 
   2217 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2218 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2219 
   2220 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2221 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2222 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2223 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2224 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2225 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2226 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2227 
   2228 _ASUNAME
   2229 
   2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2231 for as_dir in $PATH
   2232 do
   2233   IFS=$as_save_IFS
   2234   test -z "$as_dir" && as_dir=.
   2235     $as_echo "PATH: $as_dir"
   2236   done
   2237 IFS=$as_save_IFS
   2238 
   2239 } >&5
   2240 
   2241 cat >&5 <<_ACEOF
   2242 
   2243 
   2244 ## ----------- ##
   2245 ## Core tests. ##
   2246 ## ----------- ##
   2247 
   2248 _ACEOF
   2249 
   2250 
   2251 # Keep a trace of the command line.
   2252 # Strip out --no-create and --no-recursion so they do not pile up.
   2253 # Strip out --silent because we don't want to record it for future runs.
   2254 # Also quote any args containing shell meta-characters.
   2255 # Make two passes to allow for proper duplicate-argument suppression.
   2256 ac_configure_args=
   2257 ac_configure_args0=
   2258 ac_configure_args1=
   2259 ac_must_keep_next=false
   2260 for ac_pass in 1 2
   2261 do
   2262   for ac_arg
   2263   do
   2264     case $ac_arg in
   2265     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2266     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2267     | -silent | --silent | --silen | --sile | --sil)
   2268       continue ;;
   2269     *\'*)
   2270       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2271     esac
   2272     case $ac_pass in
   2273     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2274     2)
   2275       as_fn_append ac_configure_args1 " '$ac_arg'"
   2276       if test $ac_must_keep_next = true; then
   2277 	ac_must_keep_next=false # Got value, back to normal.
   2278       else
   2279 	case $ac_arg in
   2280 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2281 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2282 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2283 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2284 	    case "$ac_configure_args0 " in
   2285 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2286 	    esac
   2287 	    ;;
   2288 	  -* ) ac_must_keep_next=true ;;
   2289 	esac
   2290       fi
   2291       as_fn_append ac_configure_args " '$ac_arg'"
   2292       ;;
   2293     esac
   2294   done
   2295 done
   2296 { ac_configure_args0=; unset ac_configure_args0;}
   2297 { ac_configure_args1=; unset ac_configure_args1;}
   2298 
   2299 # When interrupted or exit'd, cleanup temporary files, and complete
   2300 # config.log.  We remove comments because anyway the quotes in there
   2301 # would cause problems or look ugly.
   2302 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2303 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2304 trap 'exit_status=$?
   2305   # Save into config.log some information that might help in debugging.
   2306   {
   2307     echo
   2308 
   2309     $as_echo "## ---------------- ##
   2310 ## Cache variables. ##
   2311 ## ---------------- ##"
   2312     echo
   2313     # The following way of writing the cache mishandles newlines in values,
   2314 (
   2315   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2316     eval ac_val=\$$ac_var
   2317     case $ac_val in #(
   2318     *${as_nl}*)
   2319       case $ac_var in #(
   2320       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2321 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2322       esac
   2323       case $ac_var in #(
   2324       _ | IFS | as_nl) ;; #(
   2325       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2326       *) { eval $ac_var=; unset $ac_var;} ;;
   2327       esac ;;
   2328     esac
   2329   done
   2330   (set) 2>&1 |
   2331     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2332     *${as_nl}ac_space=\ *)
   2333       sed -n \
   2334 	"s/'\''/'\''\\\\'\'''\''/g;
   2335 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2336       ;; #(
   2337     *)
   2338       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2339       ;;
   2340     esac |
   2341     sort
   2342 )
   2343     echo
   2344 
   2345     $as_echo "## ----------------- ##
   2346 ## Output variables. ##
   2347 ## ----------------- ##"
   2348     echo
   2349     for ac_var in $ac_subst_vars
   2350     do
   2351       eval ac_val=\$$ac_var
   2352       case $ac_val in
   2353       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2354       esac
   2355       $as_echo "$ac_var='\''$ac_val'\''"
   2356     done | sort
   2357     echo
   2358 
   2359     if test -n "$ac_subst_files"; then
   2360       $as_echo "## ------------------- ##
   2361 ## File substitutions. ##
   2362 ## ------------------- ##"
   2363       echo
   2364       for ac_var in $ac_subst_files
   2365       do
   2366 	eval ac_val=\$$ac_var
   2367 	case $ac_val in
   2368 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2369 	esac
   2370 	$as_echo "$ac_var='\''$ac_val'\''"
   2371       done | sort
   2372       echo
   2373     fi
   2374 
   2375     if test -s confdefs.h; then
   2376       $as_echo "## ----------- ##
   2377 ## confdefs.h. ##
   2378 ## ----------- ##"
   2379       echo
   2380       cat confdefs.h
   2381       echo
   2382     fi
   2383     test "$ac_signal" != 0 &&
   2384       $as_echo "$as_me: caught signal $ac_signal"
   2385     $as_echo "$as_me: exit $exit_status"
   2386   } >&5
   2387   rm -f core *.core core.conftest.* &&
   2388     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2389     exit $exit_status
   2390 ' 0
   2391 for ac_signal in 1 2 13 15; do
   2392   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2393 done
   2394 ac_signal=0
   2395 
   2396 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2397 rm -f -r conftest* confdefs.h
   2398 
   2399 $as_echo "/* confdefs.h */" > confdefs.h
   2400 
   2401 # Predefined preprocessor variables.
   2402 
   2403 cat >>confdefs.h <<_ACEOF
   2404 #define PACKAGE_NAME "$PACKAGE_NAME"
   2405 _ACEOF
   2406 
   2407 cat >>confdefs.h <<_ACEOF
   2408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2409 _ACEOF
   2410 
   2411 cat >>confdefs.h <<_ACEOF
   2412 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2413 _ACEOF
   2414 
   2415 cat >>confdefs.h <<_ACEOF
   2416 #define PACKAGE_STRING "$PACKAGE_STRING"
   2417 _ACEOF
   2418 
   2419 cat >>confdefs.h <<_ACEOF
   2420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2421 _ACEOF
   2422 
   2423 cat >>confdefs.h <<_ACEOF
   2424 #define PACKAGE_URL "$PACKAGE_URL"
   2425 _ACEOF
   2426 
   2427 
   2428 # Let the site file select an alternate cache file if it wants to.
   2429 # Prefer an explicitly selected file to automatically selected ones.
   2430 ac_site_file1=NONE
   2431 ac_site_file2=NONE
   2432 if test -n "$CONFIG_SITE"; then
   2433   # We do not want a PATH search for config.site.
   2434   case $CONFIG_SITE in #((
   2435     -*)  ac_site_file1=./$CONFIG_SITE;;
   2436     */*) ac_site_file1=$CONFIG_SITE;;
   2437     *)   ac_site_file1=./$CONFIG_SITE;;
   2438   esac
   2439 elif test "x$prefix" != xNONE; then
   2440   ac_site_file1=$prefix/share/config.site
   2441   ac_site_file2=$prefix/etc/config.site
   2442 else
   2443   ac_site_file1=$ac_default_prefix/share/config.site
   2444   ac_site_file2=$ac_default_prefix/etc/config.site
   2445 fi
   2446 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2447 do
   2448   test "x$ac_site_file" = xNONE && continue
   2449   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2450     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2451 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2452     sed 's/^/| /' "$ac_site_file" >&5
   2453     . "$ac_site_file" \
   2454       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2456 as_fn_error $? "failed to load site script $ac_site_file
   2457 See \`config.log' for more details" "$LINENO" 5; }
   2458   fi
   2459 done
   2460 
   2461 if test -r "$cache_file"; then
   2462   # Some versions of bash will fail to source /dev/null (special files
   2463   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2464   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2465     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2466 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2467     case $cache_file in
   2468       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2469       *)                      . "./$cache_file";;
   2470     esac
   2471   fi
   2472 else
   2473   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2474 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2475   >$cache_file
   2476 fi
   2477 
   2478 # Check that the precious variables saved in the cache have kept the same
   2479 # value.
   2480 ac_cache_corrupted=false
   2481 for ac_var in $ac_precious_vars; do
   2482   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2483   eval ac_new_set=\$ac_env_${ac_var}_set
   2484   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2485   eval ac_new_val=\$ac_env_${ac_var}_value
   2486   case $ac_old_set,$ac_new_set in
   2487     set,)
   2488       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2489 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2490       ac_cache_corrupted=: ;;
   2491     ,set)
   2492       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2493 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2494       ac_cache_corrupted=: ;;
   2495     ,);;
   2496     *)
   2497       if test "x$ac_old_val" != "x$ac_new_val"; then
   2498 	# differences in whitespace do not lead to failure.
   2499 	ac_old_val_w=`echo x $ac_old_val`
   2500 	ac_new_val_w=`echo x $ac_new_val`
   2501 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2502 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2503 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2504 	  ac_cache_corrupted=:
   2505 	else
   2506 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2507 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2508 	  eval $ac_var=\$ac_old_val
   2509 	fi
   2510 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2511 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2512 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2513 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2514       fi;;
   2515   esac
   2516   # Pass precious variables to config.status.
   2517   if test "$ac_new_set" = set; then
   2518     case $ac_new_val in
   2519     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2520     *) ac_arg=$ac_var=$ac_new_val ;;
   2521     esac
   2522     case " $ac_configure_args " in
   2523       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2524       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2525     esac
   2526   fi
   2527 done
   2528 if $ac_cache_corrupted; then
   2529   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2531   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2532 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2533   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2534 fi
   2535 ## -------------------- ##
   2536 ## Main body of script. ##
   2537 ## -------------------- ##
   2538 
   2539 ac_ext=c
   2540 ac_cpp='$CPP $CPPFLAGS'
   2541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2544 
   2545 
   2546 
   2547 
   2548 
   2549 
   2550 ac_config_headers="$ac_config_headers config.h"
   2551 
   2552 
   2553 if test -n "${with_target_subdir}"; then
   2554   # Default to --enable-multilib
   2555 # Check whether --enable-multilib was given.
   2556 if test "${enable_multilib+set}" = set; then :
   2557   enableval=$enable_multilib; case "$enableval" in
   2558   yes) multilib=yes ;;
   2559   no)  multilib=no ;;
   2560   *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
   2561  esac
   2562 else
   2563   multilib=yes
   2564 fi
   2565 
   2566 
   2567 # We may get other options which we leave undocumented:
   2568 # --with-target-subdir, --with-multisrctop, --with-multisubdir
   2569 # See config-ml.in if you want the gory details.
   2570 
   2571 if test "$srcdir" = "."; then
   2572   if test "$with_target_subdir" != "."; then
   2573     multi_basedir="$srcdir/$with_multisrctop../.."
   2574   else
   2575     multi_basedir="$srcdir/$with_multisrctop.."
   2576   fi
   2577 else
   2578   multi_basedir="$srcdir/.."
   2579 fi
   2580 
   2581 
   2582 # Even if the default multilib is not a cross compilation,
   2583 # it may be that some of the other multilibs are.
   2584 if test $cross_compiling = no && test $multilib = yes \
   2585    && test "x${with_multisubdir}" != x ; then
   2586    cross_compiling=maybe
   2587 fi
   2588 
   2589 ac_config_commands="$ac_config_commands default-1"
   2590 
   2591 fi
   2592 
   2593 ac_aux_dir=
   2594 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2595   if test -f "$ac_dir/install-sh"; then
   2596     ac_aux_dir=$ac_dir
   2597     ac_install_sh="$ac_aux_dir/install-sh -c"
   2598     break
   2599   elif test -f "$ac_dir/install.sh"; then
   2600     ac_aux_dir=$ac_dir
   2601     ac_install_sh="$ac_aux_dir/install.sh -c"
   2602     break
   2603   elif test -f "$ac_dir/shtool"; then
   2604     ac_aux_dir=$ac_dir
   2605     ac_install_sh="$ac_aux_dir/shtool install -c"
   2606     break
   2607   fi
   2608 done
   2609 if test -z "$ac_aux_dir"; then
   2610   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2611 fi
   2612 
   2613 # These three variables are undocumented and unsupported,
   2614 # and are intended to be withdrawn in a future Autoconf release.
   2615 # They can cause serious problems if a builder's source tree is in a directory
   2616 # whose full name contains unusual characters.
   2617 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2618 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2619 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2620 
   2621 
   2622 # Make sure we can run config.sub.
   2623 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2624   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2625 
   2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2627 $as_echo_n "checking build system type... " >&6; }
   2628 if ${ac_cv_build+:} false; then :
   2629   $as_echo_n "(cached) " >&6
   2630 else
   2631   ac_build_alias=$build_alias
   2632 test "x$ac_build_alias" = x &&
   2633   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2634 test "x$ac_build_alias" = x &&
   2635   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2636 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2637   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2638 
   2639 fi
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2641 $as_echo "$ac_cv_build" >&6; }
   2642 case $ac_cv_build in
   2643 *-*-*) ;;
   2644 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2645 esac
   2646 build=$ac_cv_build
   2647 ac_save_IFS=$IFS; IFS='-'
   2648 set x $ac_cv_build
   2649 shift
   2650 build_cpu=$1
   2651 build_vendor=$2
   2652 shift; shift
   2653 # Remember, the first character of IFS is used to create $*,
   2654 # except with old shells:
   2655 build_os=$*
   2656 IFS=$ac_save_IFS
   2657 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2658 
   2659 
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2661 $as_echo_n "checking host system type... " >&6; }
   2662 if ${ac_cv_host+:} false; then :
   2663   $as_echo_n "(cached) " >&6
   2664 else
   2665   if test "x$host_alias" = x; then
   2666   ac_cv_host=$ac_cv_build
   2667 else
   2668   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2669     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2670 fi
   2671 
   2672 fi
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2674 $as_echo "$ac_cv_host" >&6; }
   2675 case $ac_cv_host in
   2676 *-*-*) ;;
   2677 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2678 esac
   2679 host=$ac_cv_host
   2680 ac_save_IFS=$IFS; IFS='-'
   2681 set x $ac_cv_host
   2682 shift
   2683 host_cpu=$1
   2684 host_vendor=$2
   2685 shift; shift
   2686 # Remember, the first character of IFS is used to create $*,
   2687 # except with old shells:
   2688 host_os=$*
   2689 IFS=$ac_save_IFS
   2690 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2691 
   2692 
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2694 $as_echo_n "checking target system type... " >&6; }
   2695 if ${ac_cv_target+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if test "x$target_alias" = x; then
   2699   ac_cv_target=$ac_cv_host
   2700 else
   2701   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2702     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2703 fi
   2704 
   2705 fi
   2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2707 $as_echo "$ac_cv_target" >&6; }
   2708 case $ac_cv_target in
   2709 *-*-*) ;;
   2710 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2711 esac
   2712 target=$ac_cv_target
   2713 ac_save_IFS=$IFS; IFS='-'
   2714 set x $ac_cv_target
   2715 shift
   2716 target_cpu=$1
   2717 target_vendor=$2
   2718 shift; shift
   2719 # Remember, the first character of IFS is used to create $*,
   2720 # except with old shells:
   2721 target_os=$*
   2722 IFS=$ac_save_IFS
   2723 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2724 
   2725 
   2726 # The aliases save the names the user supplied, while $host etc.
   2727 # will get canonicalized.
   2728 test -n "$target_alias" &&
   2729   test "$program_prefix$program_suffix$program_transform_name" = \
   2730     NONENONEs,x,x, &&
   2731   program_prefix=${target_alias}-
   2732 target_alias=${target_alias-$host_alias}
   2733 
   2734 # Expand $ac_aux_dir to an absolute path.
   2735 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2736 
   2737 ac_ext=c
   2738 ac_cpp='$CPP $CPPFLAGS'
   2739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2742 if test -n "$ac_tool_prefix"; then
   2743   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2746 $as_echo_n "checking for $ac_word... " >&6; }
   2747 if ${ac_cv_prog_CC+:} false; then :
   2748   $as_echo_n "(cached) " >&6
   2749 else
   2750   if test -n "$CC"; then
   2751   ac_cv_prog_CC="$CC" # Let the user override the test.
   2752 else
   2753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2754 for as_dir in $PATH
   2755 do
   2756   IFS=$as_save_IFS
   2757   test -z "$as_dir" && as_dir=.
   2758     for ac_exec_ext in '' $ac_executable_extensions; do
   2759   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2760     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2762     break 2
   2763   fi
   2764 done
   2765   done
   2766 IFS=$as_save_IFS
   2767 
   2768 fi
   2769 fi
   2770 CC=$ac_cv_prog_CC
   2771 if test -n "$CC"; then
   2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2773 $as_echo "$CC" >&6; }
   2774 else
   2775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2776 $as_echo "no" >&6; }
   2777 fi
   2778 
   2779 
   2780 fi
   2781 if test -z "$ac_cv_prog_CC"; then
   2782   ac_ct_CC=$CC
   2783   # Extract the first word of "gcc", so it can be a program name with args.
   2784 set dummy gcc; ac_word=$2
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2786 $as_echo_n "checking for $ac_word... " >&6; }
   2787 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2788   $as_echo_n "(cached) " >&6
   2789 else
   2790   if test -n "$ac_ct_CC"; then
   2791   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2792 else
   2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2794 for as_dir in $PATH
   2795 do
   2796   IFS=$as_save_IFS
   2797   test -z "$as_dir" && as_dir=.
   2798     for ac_exec_ext in '' $ac_executable_extensions; do
   2799   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2800     ac_cv_prog_ac_ct_CC="gcc"
   2801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2802     break 2
   2803   fi
   2804 done
   2805   done
   2806 IFS=$as_save_IFS
   2807 
   2808 fi
   2809 fi
   2810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2811 if test -n "$ac_ct_CC"; then
   2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2813 $as_echo "$ac_ct_CC" >&6; }
   2814 else
   2815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2816 $as_echo "no" >&6; }
   2817 fi
   2818 
   2819   if test "x$ac_ct_CC" = x; then
   2820     CC=""
   2821   else
   2822     case $cross_compiling:$ac_tool_warned in
   2823 yes:)
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2826 ac_tool_warned=yes ;;
   2827 esac
   2828     CC=$ac_ct_CC
   2829   fi
   2830 else
   2831   CC="$ac_cv_prog_CC"
   2832 fi
   2833 
   2834 if test -z "$CC"; then
   2835           if test -n "$ac_tool_prefix"; then
   2836     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2837 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2839 $as_echo_n "checking for $ac_word... " >&6; }
   2840 if ${ac_cv_prog_CC+:} false; then :
   2841   $as_echo_n "(cached) " >&6
   2842 else
   2843   if test -n "$CC"; then
   2844   ac_cv_prog_CC="$CC" # Let the user override the test.
   2845 else
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   test -z "$as_dir" && as_dir=.
   2851     for ac_exec_ext in '' $ac_executable_extensions; do
   2852   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2853     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2855     break 2
   2856   fi
   2857 done
   2858   done
   2859 IFS=$as_save_IFS
   2860 
   2861 fi
   2862 fi
   2863 CC=$ac_cv_prog_CC
   2864 if test -n "$CC"; then
   2865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2866 $as_echo "$CC" >&6; }
   2867 else
   2868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2869 $as_echo "no" >&6; }
   2870 fi
   2871 
   2872 
   2873   fi
   2874 fi
   2875 if test -z "$CC"; then
   2876   # Extract the first word of "cc", so it can be a program name with args.
   2877 set dummy cc; ac_word=$2
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2879 $as_echo_n "checking for $ac_word... " >&6; }
   2880 if ${ac_cv_prog_CC+:} false; then :
   2881   $as_echo_n "(cached) " >&6
   2882 else
   2883   if test -n "$CC"; then
   2884   ac_cv_prog_CC="$CC" # Let the user override the test.
   2885 else
   2886   ac_prog_rejected=no
   2887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2888 for as_dir in $PATH
   2889 do
   2890   IFS=$as_save_IFS
   2891   test -z "$as_dir" && as_dir=.
   2892     for ac_exec_ext in '' $ac_executable_extensions; do
   2893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2894     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2895        ac_prog_rejected=yes
   2896        continue
   2897      fi
   2898     ac_cv_prog_CC="cc"
   2899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2900     break 2
   2901   fi
   2902 done
   2903   done
   2904 IFS=$as_save_IFS
   2905 
   2906 if test $ac_prog_rejected = yes; then
   2907   # We found a bogon in the path, so make sure we never use it.
   2908   set dummy $ac_cv_prog_CC
   2909   shift
   2910   if test $# != 0; then
   2911     # We chose a different compiler from the bogus one.
   2912     # However, it has the same basename, so the bogon will be chosen
   2913     # first if we set CC to just the basename; use the full file name.
   2914     shift
   2915     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2916   fi
   2917 fi
   2918 fi
   2919 fi
   2920 CC=$ac_cv_prog_CC
   2921 if test -n "$CC"; then
   2922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2923 $as_echo "$CC" >&6; }
   2924 else
   2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2926 $as_echo "no" >&6; }
   2927 fi
   2928 
   2929 
   2930 fi
   2931 if test -z "$CC"; then
   2932   if test -n "$ac_tool_prefix"; then
   2933   for ac_prog in cl.exe
   2934   do
   2935     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2938 $as_echo_n "checking for $ac_word... " >&6; }
   2939 if ${ac_cv_prog_CC+:} false; then :
   2940   $as_echo_n "(cached) " >&6
   2941 else
   2942   if test -n "$CC"; then
   2943   ac_cv_prog_CC="$CC" # Let the user override the test.
   2944 else
   2945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2946 for as_dir in $PATH
   2947 do
   2948   IFS=$as_save_IFS
   2949   test -z "$as_dir" && as_dir=.
   2950     for ac_exec_ext in '' $ac_executable_extensions; do
   2951   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2952     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2953     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2954     break 2
   2955   fi
   2956 done
   2957   done
   2958 IFS=$as_save_IFS
   2959 
   2960 fi
   2961 fi
   2962 CC=$ac_cv_prog_CC
   2963 if test -n "$CC"; then
   2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2965 $as_echo "$CC" >&6; }
   2966 else
   2967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2968 $as_echo "no" >&6; }
   2969 fi
   2970 
   2971 
   2972     test -n "$CC" && break
   2973   done
   2974 fi
   2975 if test -z "$CC"; then
   2976   ac_ct_CC=$CC
   2977   for ac_prog in cl.exe
   2978 do
   2979   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2980 set dummy $ac_prog; ac_word=$2
   2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2982 $as_echo_n "checking for $ac_word... " >&6; }
   2983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2984   $as_echo_n "(cached) " >&6
   2985 else
   2986   if test -n "$ac_ct_CC"; then
   2987   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2988 else
   2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2990 for as_dir in $PATH
   2991 do
   2992   IFS=$as_save_IFS
   2993   test -z "$as_dir" && as_dir=.
   2994     for ac_exec_ext in '' $ac_executable_extensions; do
   2995   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2996     ac_cv_prog_ac_ct_CC="$ac_prog"
   2997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2998     break 2
   2999   fi
   3000 done
   3001   done
   3002 IFS=$as_save_IFS
   3003 
   3004 fi
   3005 fi
   3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3007 if test -n "$ac_ct_CC"; then
   3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3009 $as_echo "$ac_ct_CC" >&6; }
   3010 else
   3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3012 $as_echo "no" >&6; }
   3013 fi
   3014 
   3015 
   3016   test -n "$ac_ct_CC" && break
   3017 done
   3018 
   3019   if test "x$ac_ct_CC" = x; then
   3020     CC=""
   3021   else
   3022     case $cross_compiling:$ac_tool_warned in
   3023 yes:)
   3024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3026 ac_tool_warned=yes ;;
   3027 esac
   3028     CC=$ac_ct_CC
   3029   fi
   3030 fi
   3031 
   3032 fi
   3033 
   3034 
   3035 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3037 as_fn_error $? "no acceptable C compiler found in \$PATH
   3038 See \`config.log' for more details" "$LINENO" 5; }
   3039 
   3040 # Provide some information about the compiler.
   3041 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3042 set X $ac_compile
   3043 ac_compiler=$2
   3044 for ac_option in --version -v -V -qversion; do
   3045   { { ac_try="$ac_compiler $ac_option >&5"
   3046 case "(($ac_try" in
   3047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3048   *) ac_try_echo=$ac_try;;
   3049 esac
   3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3051 $as_echo "$ac_try_echo"; } >&5
   3052   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3053   ac_status=$?
   3054   if test -s conftest.err; then
   3055     sed '10a\
   3056 ... rest of stderr output deleted ...
   3057          10q' conftest.err >conftest.er1
   3058     cat conftest.er1 >&5
   3059   fi
   3060   rm -f conftest.er1 conftest.err
   3061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3062   test $ac_status = 0; }
   3063 done
   3064 
   3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3066 /* end confdefs.h.  */
   3067 
   3068 int
   3069 main ()
   3070 {
   3071 
   3072   ;
   3073   return 0;
   3074 }
   3075 _ACEOF
   3076 ac_clean_files_save=$ac_clean_files
   3077 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3078 # Try to create an executable without -o first, disregard a.out.
   3079 # It will help us diagnose broken compilers, and finding out an intuition
   3080 # of exeext.
   3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3082 $as_echo_n "checking whether the C compiler works... " >&6; }
   3083 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3084 
   3085 # The possible output files:
   3086 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3087 
   3088 ac_rmfiles=
   3089 for ac_file in $ac_files
   3090 do
   3091   case $ac_file in
   3092     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3093     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3094   esac
   3095 done
   3096 rm -f $ac_rmfiles
   3097 
   3098 if { { ac_try="$ac_link_default"
   3099 case "(($ac_try" in
   3100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3101   *) ac_try_echo=$ac_try;;
   3102 esac
   3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3104 $as_echo "$ac_try_echo"; } >&5
   3105   (eval "$ac_link_default") 2>&5
   3106   ac_status=$?
   3107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3108   test $ac_status = 0; }; then :
   3109   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3111 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3112 # so that the user can short-circuit this test for compilers unknown to
   3113 # Autoconf.
   3114 for ac_file in $ac_files ''
   3115 do
   3116   test -f "$ac_file" || continue
   3117   case $ac_file in
   3118     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3119 	;;
   3120     [ab].out )
   3121 	# We found the default executable, but exeext='' is most
   3122 	# certainly right.
   3123 	break;;
   3124     *.* )
   3125 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3126 	then :; else
   3127 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3128 	fi
   3129 	# We set ac_cv_exeext here because the later test for it is not
   3130 	# safe: cross compilers may not add the suffix if given an `-o'
   3131 	# argument, so we may need to know it at that point already.
   3132 	# Even if this section looks crufty: it has the advantage of
   3133 	# actually working.
   3134 	break;;
   3135     * )
   3136 	break;;
   3137   esac
   3138 done
   3139 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3140 
   3141 else
   3142   ac_file=''
   3143 fi
   3144 if test -z "$ac_file"; then :
   3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3146 $as_echo "no" >&6; }
   3147 $as_echo "$as_me: failed program was:" >&5
   3148 sed 's/^/| /' conftest.$ac_ext >&5
   3149 
   3150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3152 as_fn_error 77 "C compiler cannot create executables
   3153 See \`config.log' for more details" "$LINENO" 5; }
   3154 else
   3155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3156 $as_echo "yes" >&6; }
   3157 fi
   3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3159 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3161 $as_echo "$ac_file" >&6; }
   3162 ac_exeext=$ac_cv_exeext
   3163 
   3164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3165 ac_clean_files=$ac_clean_files_save
   3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3167 $as_echo_n "checking for suffix of executables... " >&6; }
   3168 if { { ac_try="$ac_link"
   3169 case "(($ac_try" in
   3170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3171   *) ac_try_echo=$ac_try;;
   3172 esac
   3173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3174 $as_echo "$ac_try_echo"; } >&5
   3175   (eval "$ac_link") 2>&5
   3176   ac_status=$?
   3177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3178   test $ac_status = 0; }; then :
   3179   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3180 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3181 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3182 # `rm'.
   3183 for ac_file in conftest.exe conftest conftest.*; do
   3184   test -f "$ac_file" || continue
   3185   case $ac_file in
   3186     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3187     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3188 	  break;;
   3189     * ) break;;
   3190   esac
   3191 done
   3192 else
   3193   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3196 See \`config.log' for more details" "$LINENO" 5; }
   3197 fi
   3198 rm -f conftest conftest$ac_cv_exeext
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3200 $as_echo "$ac_cv_exeext" >&6; }
   3201 
   3202 rm -f conftest.$ac_ext
   3203 EXEEXT=$ac_cv_exeext
   3204 ac_exeext=$EXEEXT
   3205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3206 /* end confdefs.h.  */
   3207 #include <stdio.h>
   3208 int
   3209 main ()
   3210 {
   3211 FILE *f = fopen ("conftest.out", "w");
   3212  return ferror (f) || fclose (f) != 0;
   3213 
   3214   ;
   3215   return 0;
   3216 }
   3217 _ACEOF
   3218 ac_clean_files="$ac_clean_files conftest.out"
   3219 # Check that the compiler produces executables we can run.  If not, either
   3220 # the compiler is broken, or we cross compile.
   3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3222 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3223 if test "$cross_compiling" != yes; then
   3224   { { ac_try="$ac_link"
   3225 case "(($ac_try" in
   3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3227   *) ac_try_echo=$ac_try;;
   3228 esac
   3229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3230 $as_echo "$ac_try_echo"; } >&5
   3231   (eval "$ac_link") 2>&5
   3232   ac_status=$?
   3233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3234   test $ac_status = 0; }
   3235   if { ac_try='./conftest$ac_cv_exeext'
   3236   { { case "(($ac_try" in
   3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3238   *) ac_try_echo=$ac_try;;
   3239 esac
   3240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3241 $as_echo "$ac_try_echo"; } >&5
   3242   (eval "$ac_try") 2>&5
   3243   ac_status=$?
   3244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3245   test $ac_status = 0; }; }; then
   3246     cross_compiling=no
   3247   else
   3248     if test "$cross_compiling" = maybe; then
   3249 	cross_compiling=yes
   3250     else
   3251 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3253 as_fn_error $? "cannot run C compiled programs.
   3254 If you meant to cross compile, use \`--host'.
   3255 See \`config.log' for more details" "$LINENO" 5; }
   3256     fi
   3257   fi
   3258 fi
   3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3260 $as_echo "$cross_compiling" >&6; }
   3261 
   3262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3263 ac_clean_files=$ac_clean_files_save
   3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3265 $as_echo_n "checking for suffix of object files... " >&6; }
   3266 if ${ac_cv_objext+:} false; then :
   3267   $as_echo_n "(cached) " >&6
   3268 else
   3269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3270 /* end confdefs.h.  */
   3271 
   3272 int
   3273 main ()
   3274 {
   3275 
   3276   ;
   3277   return 0;
   3278 }
   3279 _ACEOF
   3280 rm -f conftest.o conftest.obj
   3281 if { { ac_try="$ac_compile"
   3282 case "(($ac_try" in
   3283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3284   *) ac_try_echo=$ac_try;;
   3285 esac
   3286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3287 $as_echo "$ac_try_echo"; } >&5
   3288   (eval "$ac_compile") 2>&5
   3289   ac_status=$?
   3290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3291   test $ac_status = 0; }; then :
   3292   for ac_file in conftest.o conftest.obj conftest.*; do
   3293   test -f "$ac_file" || continue;
   3294   case $ac_file in
   3295     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3296     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3297        break;;
   3298   esac
   3299 done
   3300 else
   3301   $as_echo "$as_me: failed program was:" >&5
   3302 sed 's/^/| /' conftest.$ac_ext >&5
   3303 
   3304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3306 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3307 See \`config.log' for more details" "$LINENO" 5; }
   3308 fi
   3309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3310 fi
   3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3312 $as_echo "$ac_cv_objext" >&6; }
   3313 OBJEXT=$ac_cv_objext
   3314 ac_objext=$OBJEXT
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3317 if ${ac_cv_c_compiler_gnu+:} false; then :
   3318   $as_echo_n "(cached) " >&6
   3319 else
   3320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3321 /* end confdefs.h.  */
   3322 
   3323 int
   3324 main ()
   3325 {
   3326 #ifndef __GNUC__
   3327        choke me
   3328 #endif
   3329 
   3330   ;
   3331   return 0;
   3332 }
   3333 _ACEOF
   3334 if ac_fn_c_try_compile "$LINENO"; then :
   3335   ac_compiler_gnu=yes
   3336 else
   3337   ac_compiler_gnu=no
   3338 fi
   3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3341 
   3342 fi
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3345 if test $ac_compiler_gnu = yes; then
   3346   GCC=yes
   3347 else
   3348   GCC=
   3349 fi
   3350 ac_test_CFLAGS=${CFLAGS+set}
   3351 ac_save_CFLAGS=$CFLAGS
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3354 if ${ac_cv_prog_cc_g+:} false; then :
   3355   $as_echo_n "(cached) " >&6
   3356 else
   3357   ac_save_c_werror_flag=$ac_c_werror_flag
   3358    ac_c_werror_flag=yes
   3359    ac_cv_prog_cc_g=no
   3360    CFLAGS="-g"
   3361    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3362 /* end confdefs.h.  */
   3363 
   3364 int
   3365 main ()
   3366 {
   3367 
   3368   ;
   3369   return 0;
   3370 }
   3371 _ACEOF
   3372 if ac_fn_c_try_compile "$LINENO"; then :
   3373   ac_cv_prog_cc_g=yes
   3374 else
   3375   CFLAGS=""
   3376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3377 /* end confdefs.h.  */
   3378 
   3379 int
   3380 main ()
   3381 {
   3382 
   3383   ;
   3384   return 0;
   3385 }
   3386 _ACEOF
   3387 if ac_fn_c_try_compile "$LINENO"; then :
   3388 
   3389 else
   3390   ac_c_werror_flag=$ac_save_c_werror_flag
   3391 	 CFLAGS="-g"
   3392 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3393 /* end confdefs.h.  */
   3394 
   3395 int
   3396 main ()
   3397 {
   3398 
   3399   ;
   3400   return 0;
   3401 }
   3402 _ACEOF
   3403 if ac_fn_c_try_compile "$LINENO"; then :
   3404   ac_cv_prog_cc_g=yes
   3405 fi
   3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3407 fi
   3408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3409 fi
   3410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3411    ac_c_werror_flag=$ac_save_c_werror_flag
   3412 fi
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3414 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3415 if test "$ac_test_CFLAGS" = set; then
   3416   CFLAGS=$ac_save_CFLAGS
   3417 elif test $ac_cv_prog_cc_g = yes; then
   3418   if test "$GCC" = yes; then
   3419     CFLAGS="-g -O2"
   3420   else
   3421     CFLAGS="-g"
   3422   fi
   3423 else
   3424   if test "$GCC" = yes; then
   3425     CFLAGS="-O2"
   3426   else
   3427     CFLAGS=
   3428   fi
   3429 fi
   3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3432 if ${ac_cv_prog_cc_c89+:} false; then :
   3433   $as_echo_n "(cached) " >&6
   3434 else
   3435   ac_cv_prog_cc_c89=no
   3436 ac_save_CC=$CC
   3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3438 /* end confdefs.h.  */
   3439 #include <stdarg.h>
   3440 #include <stdio.h>
   3441 struct stat;
   3442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3443 struct buf { int x; };
   3444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3445 static char *e (p, i)
   3446      char **p;
   3447      int i;
   3448 {
   3449   return p[i];
   3450 }
   3451 static char *f (char * (*g) (char **, int), char **p, ...)
   3452 {
   3453   char *s;
   3454   va_list v;
   3455   va_start (v,p);
   3456   s = g (p, va_arg (v,int));
   3457   va_end (v);
   3458   return s;
   3459 }
   3460 
   3461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3462    function prototypes and stuff, but not '\xHH' hex character constants.
   3463    These don't provoke an error unfortunately, instead are silently treated
   3464    as 'x'.  The following induces an error, until -std is added to get
   3465    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3466    array size at least.  It's necessary to write '\x00'==0 to get something
   3467    that's true only with -std.  */
   3468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3469 
   3470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3471    inside strings and character constants.  */
   3472 #define FOO(x) 'x'
   3473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3474 
   3475 int test (int i, double x);
   3476 struct s1 {int (*f) (int a);};
   3477 struct s2 {int (*f) (double a);};
   3478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3479 int argc;
   3480 char **argv;
   3481 int
   3482 main ()
   3483 {
   3484 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3485   ;
   3486   return 0;
   3487 }
   3488 _ACEOF
   3489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3490 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3491 do
   3492   CC="$ac_save_CC $ac_arg"
   3493   if ac_fn_c_try_compile "$LINENO"; then :
   3494   ac_cv_prog_cc_c89=$ac_arg
   3495 fi
   3496 rm -f core conftest.err conftest.$ac_objext
   3497   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3498 done
   3499 rm -f conftest.$ac_ext
   3500 CC=$ac_save_CC
   3501 
   3502 fi
   3503 # AC_CACHE_VAL
   3504 case "x$ac_cv_prog_cc_c89" in
   3505   x)
   3506     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3507 $as_echo "none needed" >&6; } ;;
   3508   xno)
   3509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3510 $as_echo "unsupported" >&6; } ;;
   3511   *)
   3512     CC="$CC $ac_cv_prog_cc_c89"
   3513     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3515 esac
   3516 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3517 
   3518 fi
   3519 
   3520 ac_ext=c
   3521 ac_cpp='$CPP $CPPFLAGS'
   3522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3525 
   3526 ac_ext=c
   3527 ac_cpp='$CPP $CPPFLAGS'
   3528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3532 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3533 if ${am_cv_prog_cc_c_o+:} false; then :
   3534   $as_echo_n "(cached) " >&6
   3535 else
   3536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3537 /* end confdefs.h.  */
   3538 
   3539 int
   3540 main ()
   3541 {
   3542 
   3543   ;
   3544   return 0;
   3545 }
   3546 _ACEOF
   3547   # Make sure it works both with $CC and with simple cc.
   3548   # Following AC_PROG_CC_C_O, we do the test twice because some
   3549   # compilers refuse to overwrite an existing .o file with -o,
   3550   # though they will create one.
   3551   am_cv_prog_cc_c_o=yes
   3552   for am_i in 1 2; do
   3553     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3554    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3555    ac_status=$?
   3556    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3557    (exit $ac_status); } \
   3558          && test -f conftest2.$ac_objext; then
   3559       : OK
   3560     else
   3561       am_cv_prog_cc_c_o=no
   3562       break
   3563     fi
   3564   done
   3565   rm -f core conftest*
   3566   unset am_i
   3567 fi
   3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3569 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3570 if test "$am_cv_prog_cc_c_o" != yes; then
   3571    # Losing compiler, so override with the script.
   3572    # FIXME: It is wrong to rewrite CC.
   3573    # But if we don't then we get into trouble of one sort or another.
   3574    # A longer-term fix would be to have automake use am__CC in this case,
   3575    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3576    CC="$am_aux_dir/compile $CC"
   3577 fi
   3578 ac_ext=c
   3579 ac_cpp='$CPP $CPPFLAGS'
   3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3583 
   3584 
   3585 
   3586 ac_ext=c
   3587 ac_cpp='$CPP $CPPFLAGS'
   3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3592 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3593 # On Suns, sometimes $CPP names a directory.
   3594 if test -n "$CPP" && test -d "$CPP"; then
   3595   CPP=
   3596 fi
   3597 if test -z "$CPP"; then
   3598   if ${ac_cv_prog_CPP+:} false; then :
   3599   $as_echo_n "(cached) " >&6
   3600 else
   3601       # Double quotes because CPP needs to be expanded
   3602     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3603     do
   3604       ac_preproc_ok=false
   3605 for ac_c_preproc_warn_flag in '' yes
   3606 do
   3607   # Use a header file that comes with gcc, so configuring glibc
   3608   # with a fresh cross-compiler works.
   3609   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3610   # <limits.h> exists even on freestanding compilers.
   3611   # On the NeXT, cc -E runs the code through the compiler's parser,
   3612   # not just through cpp. "Syntax error" is here to catch this case.
   3613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3614 /* end confdefs.h.  */
   3615 #ifdef __STDC__
   3616 # include <limits.h>
   3617 #else
   3618 # include <assert.h>
   3619 #endif
   3620 		     Syntax error
   3621 _ACEOF
   3622 if ac_fn_c_try_cpp "$LINENO"; then :
   3623 
   3624 else
   3625   # Broken: fails on valid input.
   3626 continue
   3627 fi
   3628 rm -f conftest.err conftest.i conftest.$ac_ext
   3629 
   3630   # OK, works on sane cases.  Now check whether nonexistent headers
   3631   # can be detected and how.
   3632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3633 /* end confdefs.h.  */
   3634 #include <ac_nonexistent.h>
   3635 _ACEOF
   3636 if ac_fn_c_try_cpp "$LINENO"; then :
   3637   # Broken: success on invalid input.
   3638 continue
   3639 else
   3640   # Passes both tests.
   3641 ac_preproc_ok=:
   3642 break
   3643 fi
   3644 rm -f conftest.err conftest.i conftest.$ac_ext
   3645 
   3646 done
   3647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3648 rm -f conftest.i conftest.err conftest.$ac_ext
   3649 if $ac_preproc_ok; then :
   3650   break
   3651 fi
   3652 
   3653     done
   3654     ac_cv_prog_CPP=$CPP
   3655 
   3656 fi
   3657   CPP=$ac_cv_prog_CPP
   3658 else
   3659   ac_cv_prog_CPP=$CPP
   3660 fi
   3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3662 $as_echo "$CPP" >&6; }
   3663 ac_preproc_ok=false
   3664 for ac_c_preproc_warn_flag in '' yes
   3665 do
   3666   # Use a header file that comes with gcc, so configuring glibc
   3667   # with a fresh cross-compiler works.
   3668   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3669   # <limits.h> exists even on freestanding compilers.
   3670   # On the NeXT, cc -E runs the code through the compiler's parser,
   3671   # not just through cpp. "Syntax error" is here to catch this case.
   3672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3673 /* end confdefs.h.  */
   3674 #ifdef __STDC__
   3675 # include <limits.h>
   3676 #else
   3677 # include <assert.h>
   3678 #endif
   3679 		     Syntax error
   3680 _ACEOF
   3681 if ac_fn_c_try_cpp "$LINENO"; then :
   3682 
   3683 else
   3684   # Broken: fails on valid input.
   3685 continue
   3686 fi
   3687 rm -f conftest.err conftest.i conftest.$ac_ext
   3688 
   3689   # OK, works on sane cases.  Now check whether nonexistent headers
   3690   # can be detected and how.
   3691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3692 /* end confdefs.h.  */
   3693 #include <ac_nonexistent.h>
   3694 _ACEOF
   3695 if ac_fn_c_try_cpp "$LINENO"; then :
   3696   # Broken: success on invalid input.
   3697 continue
   3698 else
   3699   # Passes both tests.
   3700 ac_preproc_ok=:
   3701 break
   3702 fi
   3703 rm -f conftest.err conftest.i conftest.$ac_ext
   3704 
   3705 done
   3706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3707 rm -f conftest.i conftest.err conftest.$ac_ext
   3708 if $ac_preproc_ok; then :
   3709 
   3710 else
   3711   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3713 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3714 See \`config.log' for more details" "$LINENO" 5; }
   3715 fi
   3716 
   3717 ac_ext=c
   3718 ac_cpp='$CPP $CPPFLAGS'
   3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3722 
   3723 
   3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3725 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3726 if ${ac_cv_path_GREP+:} false; then :
   3727   $as_echo_n "(cached) " >&6
   3728 else
   3729   if test -z "$GREP"; then
   3730   ac_path_GREP_found=false
   3731   # Loop through the user's path and test for each of PROGNAME-LIST
   3732   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3733 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3734 do
   3735   IFS=$as_save_IFS
   3736   test -z "$as_dir" && as_dir=.
   3737     for ac_prog in grep ggrep; do
   3738     for ac_exec_ext in '' $ac_executable_extensions; do
   3739       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3740       as_fn_executable_p "$ac_path_GREP" || continue
   3741 # Check for GNU ac_path_GREP and select it if it is found.
   3742   # Check for GNU $ac_path_GREP
   3743 case `"$ac_path_GREP" --version 2>&1` in
   3744 *GNU*)
   3745   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3746 *)
   3747   ac_count=0
   3748   $as_echo_n 0123456789 >"conftest.in"
   3749   while :
   3750   do
   3751     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3752     mv "conftest.tmp" "conftest.in"
   3753     cp "conftest.in" "conftest.nl"
   3754     $as_echo 'GREP' >> "conftest.nl"
   3755     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3756     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3757     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3758     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3759       # Best one so far, save it but keep looking for a better one
   3760       ac_cv_path_GREP="$ac_path_GREP"
   3761       ac_path_GREP_max=$ac_count
   3762     fi
   3763     # 10*(2^10) chars as input seems more than enough
   3764     test $ac_count -gt 10 && break
   3765   done
   3766   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3767 esac
   3768 
   3769       $ac_path_GREP_found && break 3
   3770     done
   3771   done
   3772   done
   3773 IFS=$as_save_IFS
   3774   if test -z "$ac_cv_path_GREP"; then
   3775     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3776   fi
   3777 else
   3778   ac_cv_path_GREP=$GREP
   3779 fi
   3780 
   3781 fi
   3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3783 $as_echo "$ac_cv_path_GREP" >&6; }
   3784  GREP="$ac_cv_path_GREP"
   3785 
   3786 
   3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3788 $as_echo_n "checking for egrep... " >&6; }
   3789 if ${ac_cv_path_EGREP+:} false; then :
   3790   $as_echo_n "(cached) " >&6
   3791 else
   3792   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3793    then ac_cv_path_EGREP="$GREP -E"
   3794    else
   3795      if test -z "$EGREP"; then
   3796   ac_path_EGREP_found=false
   3797   # Loop through the user's path and test for each of PROGNAME-LIST
   3798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3799 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3800 do
   3801   IFS=$as_save_IFS
   3802   test -z "$as_dir" && as_dir=.
   3803     for ac_prog in egrep; do
   3804     for ac_exec_ext in '' $ac_executable_extensions; do
   3805       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3806       as_fn_executable_p "$ac_path_EGREP" || continue
   3807 # Check for GNU ac_path_EGREP and select it if it is found.
   3808   # Check for GNU $ac_path_EGREP
   3809 case `"$ac_path_EGREP" --version 2>&1` in
   3810 *GNU*)
   3811   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3812 *)
   3813   ac_count=0
   3814   $as_echo_n 0123456789 >"conftest.in"
   3815   while :
   3816   do
   3817     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3818     mv "conftest.tmp" "conftest.in"
   3819     cp "conftest.in" "conftest.nl"
   3820     $as_echo 'EGREP' >> "conftest.nl"
   3821     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3822     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3823     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3824     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3825       # Best one so far, save it but keep looking for a better one
   3826       ac_cv_path_EGREP="$ac_path_EGREP"
   3827       ac_path_EGREP_max=$ac_count
   3828     fi
   3829     # 10*(2^10) chars as input seems more than enough
   3830     test $ac_count -gt 10 && break
   3831   done
   3832   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3833 esac
   3834 
   3835       $ac_path_EGREP_found && break 3
   3836     done
   3837   done
   3838   done
   3839 IFS=$as_save_IFS
   3840   if test -z "$ac_cv_path_EGREP"; then
   3841     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3842   fi
   3843 else
   3844   ac_cv_path_EGREP=$EGREP
   3845 fi
   3846 
   3847    fi
   3848 fi
   3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3850 $as_echo "$ac_cv_path_EGREP" >&6; }
   3851  EGREP="$ac_cv_path_EGREP"
   3852 
   3853 
   3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3855 $as_echo_n "checking for ANSI C header files... " >&6; }
   3856 if ${ac_cv_header_stdc+:} false; then :
   3857   $as_echo_n "(cached) " >&6
   3858 else
   3859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3860 /* end confdefs.h.  */
   3861 #include <stdlib.h>
   3862 #include <stdarg.h>
   3863 #include <string.h>
   3864 #include <float.h>
   3865 
   3866 int
   3867 main ()
   3868 {
   3869 
   3870   ;
   3871   return 0;
   3872 }
   3873 _ACEOF
   3874 if ac_fn_c_try_compile "$LINENO"; then :
   3875   ac_cv_header_stdc=yes
   3876 else
   3877   ac_cv_header_stdc=no
   3878 fi
   3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3880 
   3881 if test $ac_cv_header_stdc = yes; then
   3882   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3884 /* end confdefs.h.  */
   3885 #include <string.h>
   3886 
   3887 _ACEOF
   3888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3889   $EGREP "memchr" >/dev/null 2>&1; then :
   3890 
   3891 else
   3892   ac_cv_header_stdc=no
   3893 fi
   3894 rm -f conftest*
   3895 
   3896 fi
   3897 
   3898 if test $ac_cv_header_stdc = yes; then
   3899   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3900   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3901 /* end confdefs.h.  */
   3902 #include <stdlib.h>
   3903 
   3904 _ACEOF
   3905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3906   $EGREP "free" >/dev/null 2>&1; then :
   3907 
   3908 else
   3909   ac_cv_header_stdc=no
   3910 fi
   3911 rm -f conftest*
   3912 
   3913 fi
   3914 
   3915 if test $ac_cv_header_stdc = yes; then
   3916   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3917   if test "$cross_compiling" = yes; then :
   3918   :
   3919 else
   3920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3921 /* end confdefs.h.  */
   3922 #include <ctype.h>
   3923 #include <stdlib.h>
   3924 #if ((' ' & 0x0FF) == 0x020)
   3925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3927 #else
   3928 # define ISLOWER(c) \
   3929 		   (('a' <= (c) && (c) <= 'i') \
   3930 		     || ('j' <= (c) && (c) <= 'r') \
   3931 		     || ('s' <= (c) && (c) <= 'z'))
   3932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3933 #endif
   3934 
   3935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3936 int
   3937 main ()
   3938 {
   3939   int i;
   3940   for (i = 0; i < 256; i++)
   3941     if (XOR (islower (i), ISLOWER (i))
   3942 	|| toupper (i) != TOUPPER (i))
   3943       return 2;
   3944   return 0;
   3945 }
   3946 _ACEOF
   3947 if ac_fn_c_try_run "$LINENO"; then :
   3948 
   3949 else
   3950   ac_cv_header_stdc=no
   3951 fi
   3952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3953   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3954 fi
   3955 
   3956 fi
   3957 fi
   3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3959 $as_echo "$ac_cv_header_stdc" >&6; }
   3960 if test $ac_cv_header_stdc = yes; then
   3961 
   3962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3963 
   3964 fi
   3965 
   3966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3967 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3968 		  inttypes.h stdint.h unistd.h
   3969 do :
   3970   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3972 "
   3973 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3974   cat >>confdefs.h <<_ACEOF
   3975 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3976 _ACEOF
   3977 
   3978 fi
   3979 
   3980 done
   3981 
   3982 
   3983 
   3984   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3985 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3986   MINIX=yes
   3987 else
   3988   MINIX=
   3989 fi
   3990 
   3991 
   3992   if test "$MINIX" = yes; then
   3993 
   3994 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3995 
   3996 
   3997 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3998 
   3999 
   4000 $as_echo "#define _MINIX 1" >>confdefs.h
   4001 
   4002   fi
   4003 
   4004 
   4005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4006 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4007 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4008   $as_echo_n "(cached) " >&6
   4009 else
   4010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4011 /* end confdefs.h.  */
   4012 
   4013 #         define __EXTENSIONS__ 1
   4014           $ac_includes_default
   4015 int
   4016 main ()
   4017 {
   4018 
   4019   ;
   4020   return 0;
   4021 }
   4022 _ACEOF
   4023 if ac_fn_c_try_compile "$LINENO"; then :
   4024   ac_cv_safe_to_define___extensions__=yes
   4025 else
   4026   ac_cv_safe_to_define___extensions__=no
   4027 fi
   4028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4029 fi
   4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4031 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4032   test $ac_cv_safe_to_define___extensions__ = yes &&
   4033     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4034 
   4035   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4036 
   4037   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4038 
   4039   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4040 
   4041   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4042 
   4043 
   4044 
   4045 libtool_VERSION=1:0:0
   4046 
   4047 
   4048 # 1.11.1: Require that version of automake.
   4049 # foreign: Don't require README, INSTALL, NEWS, etc.
   4050 # no-define: Don't define PACKAGE and VERSION.
   4051 # no-dependencies: Don't generate automatic dependencies.
   4052 #    (because it breaks when using bootstrap-lean, since some of the
   4053 #    headers are gone at "make install" time).
   4054 # -Wall: Issue all automake warnings.
   4055 # -Wno-portability: Don't warn about constructs supported by GNU make.
   4056 #    (because GCC requires GNU make anyhow).
   4057 am__api_version='1.15'
   4058 
   4059 # Find a good install program.  We prefer a C program (faster),
   4060 # so one script is as good as another.  But avoid the broken or
   4061 # incompatible versions:
   4062 # SysV /etc/install, /usr/sbin/install
   4063 # SunOS /usr/etc/install
   4064 # IRIX /sbin/install
   4065 # AIX /bin/install
   4066 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4070 # OS/2's system install, which has a completely different semantic
   4071 # ./install, which can be erroneously created by make from ./install.sh.
   4072 # Reject install programs that cannot install multiple files.
   4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   4074 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   4075 if test -z "$INSTALL"; then
   4076 if ${ac_cv_path_install+:} false; then :
   4077   $as_echo_n "(cached) " >&6
   4078 else
   4079   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4080 for as_dir in $PATH
   4081 do
   4082   IFS=$as_save_IFS
   4083   test -z "$as_dir" && as_dir=.
   4084     # Account for people who put trailing slashes in PATH elements.
   4085 case $as_dir/ in #((
   4086   ./ | .// | /[cC]/* | \
   4087   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4088   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   4089   /usr/ucb/* ) ;;
   4090   *)
   4091     # OSF1 and SCO ODT 3.0 have their own names for install.
   4092     # Don't use installbsd from OSF since it installs stuff as root
   4093     # by default.
   4094     for ac_prog in ginstall scoinst install; do
   4095       for ac_exec_ext in '' $ac_executable_extensions; do
   4096 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   4097 	  if test $ac_prog = install &&
   4098 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4099 	    # AIX install.  It has an incompatible calling convention.
   4100 	    :
   4101 	  elif test $ac_prog = install &&
   4102 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4103 	    # program-specific install script used by HP pwplus--don't use.
   4104 	    :
   4105 	  else
   4106 	    rm -rf conftest.one conftest.two conftest.dir
   4107 	    echo one > conftest.one
   4108 	    echo two > conftest.two
   4109 	    mkdir conftest.dir
   4110 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4111 	      test -s conftest.one && test -s conftest.two &&
   4112 	      test -s conftest.dir/conftest.one &&
   4113 	      test -s conftest.dir/conftest.two
   4114 	    then
   4115 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4116 	      break 3
   4117 	    fi
   4118 	  fi
   4119 	fi
   4120       done
   4121     done
   4122     ;;
   4123 esac
   4124 
   4125   done
   4126 IFS=$as_save_IFS
   4127 
   4128 rm -rf conftest.one conftest.two conftest.dir
   4129 
   4130 fi
   4131   if test "${ac_cv_path_install+set}" = set; then
   4132     INSTALL=$ac_cv_path_install
   4133   else
   4134     # As a last resort, use the slow shell script.  Don't cache a
   4135     # value for INSTALL within a source directory, because that will
   4136     # break other packages using the cache if that directory is
   4137     # removed, or if the value is a relative name.
   4138     INSTALL=$ac_install_sh
   4139   fi
   4140 fi
   4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   4142 $as_echo "$INSTALL" >&6; }
   4143 
   4144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   4145 # It thinks the first close brace ends the variable substitution.
   4146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   4147 
   4148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   4149 
   4150 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   4151 
   4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   4153 $as_echo_n "checking whether build environment is sane... " >&6; }
   4154 # Reject unsafe characters in $srcdir or the absolute working directory
   4155 # name.  Accept space and tab only in the latter.
   4156 am_lf='
   4157 '
   4158 case `pwd` in
   4159   *[\\\"\#\$\&\'\`$am_lf]*)
   4160     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   4161 esac
   4162 case $srcdir in
   4163   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   4164     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   4165 esac
   4166 
   4167 # Do 'set' in a subshell so we don't clobber the current shell's
   4168 # arguments.  Must try -L first in case configure is actually a
   4169 # symlink; some systems play weird games with the mod time of symlinks
   4170 # (eg FreeBSD returns the mod time of the symlink's containing
   4171 # directory).
   4172 if (
   4173    am_has_slept=no
   4174    for am_try in 1 2; do
   4175      echo "timestamp, slept: $am_has_slept" > conftest.file
   4176      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4177      if test "$*" = "X"; then
   4178 	# -L didn't work.
   4179 	set X `ls -t "$srcdir/configure" conftest.file`
   4180      fi
   4181      if test "$*" != "X $srcdir/configure conftest.file" \
   4182 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   4183 
   4184 	# If neither matched, then we have a broken ls.  This can happen
   4185 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   4186 	# broken ls alias from the environment.  This has actually
   4187 	# happened.  Such a system could not be considered "sane".
   4188 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   4189   alias in your environment" "$LINENO" 5
   4190      fi
   4191      if test "$2" = conftest.file || test $am_try -eq 2; then
   4192        break
   4193      fi
   4194      # Just in case.
   4195      sleep 1
   4196      am_has_slept=yes
   4197    done
   4198    test "$2" = conftest.file
   4199    )
   4200 then
   4201    # Ok.
   4202    :
   4203 else
   4204    as_fn_error $? "newly created file is older than distributed files!
   4205 Check your system clock" "$LINENO" 5
   4206 fi
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4208 $as_echo "yes" >&6; }
   4209 # If we didn't sleep, we still need to ensure time stamps of config.status and
   4210 # generated files are strictly newer.
   4211 am_sleep_pid=
   4212 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   4213   ( sleep 1 ) &
   4214   am_sleep_pid=$!
   4215 fi
   4216 
   4217 rm -f conftest.file
   4218 
   4219 test "$program_prefix" != NONE &&
   4220   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4221 # Use a double $ so make ignores it.
   4222 test "$program_suffix" != NONE &&
   4223   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4224 # Double any \ or $.
   4225 # By default was `s,x,x', remove it if useless.
   4226 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4227 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4228 
   4229 if test x"${MISSING+set}" != xset; then
   4230   case $am_aux_dir in
   4231   *\ * | *\	*)
   4232     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4233   *)
   4234     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4235   esac
   4236 fi
   4237 # Use eval to expand $SHELL
   4238 if eval "$MISSING --is-lightweight"; then
   4239   am_missing_run="$MISSING "
   4240 else
   4241   am_missing_run=
   4242   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   4243 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   4244 fi
   4245 
   4246 if test x"${install_sh+set}" != xset; then
   4247   case $am_aux_dir in
   4248   *\ * | *\	*)
   4249     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4250   *)
   4251     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4252   esac
   4253 fi
   4254 
   4255 # Installed binaries are usually stripped using 'strip' when the user
   4256 # run "make install-strip".  However 'strip' might not be the right
   4257 # tool to use in cross-compilation environments, therefore Automake
   4258 # will honor the 'STRIP' environment variable to overrule this program.
   4259 if test "$cross_compiling" != no; then
   4260   if test -n "$ac_tool_prefix"; then
   4261   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4262 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4264 $as_echo_n "checking for $ac_word... " >&6; }
   4265 if ${ac_cv_prog_STRIP+:} false; then :
   4266   $as_echo_n "(cached) " >&6
   4267 else
   4268   if test -n "$STRIP"; then
   4269   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4270 else
   4271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4272 for as_dir in $PATH
   4273 do
   4274   IFS=$as_save_IFS
   4275   test -z "$as_dir" && as_dir=.
   4276     for ac_exec_ext in '' $ac_executable_extensions; do
   4277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4278     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4280     break 2
   4281   fi
   4282 done
   4283   done
   4284 IFS=$as_save_IFS
   4285 
   4286 fi
   4287 fi
   4288 STRIP=$ac_cv_prog_STRIP
   4289 if test -n "$STRIP"; then
   4290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4291 $as_echo "$STRIP" >&6; }
   4292 else
   4293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4294 $as_echo "no" >&6; }
   4295 fi
   4296 
   4297 
   4298 fi
   4299 if test -z "$ac_cv_prog_STRIP"; then
   4300   ac_ct_STRIP=$STRIP
   4301   # Extract the first word of "strip", so it can be a program name with args.
   4302 set dummy strip; ac_word=$2
   4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4304 $as_echo_n "checking for $ac_word... " >&6; }
   4305 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   4306   $as_echo_n "(cached) " >&6
   4307 else
   4308   if test -n "$ac_ct_STRIP"; then
   4309   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4310 else
   4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4312 for as_dir in $PATH
   4313 do
   4314   IFS=$as_save_IFS
   4315   test -z "$as_dir" && as_dir=.
   4316     for ac_exec_ext in '' $ac_executable_extensions; do
   4317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4318     ac_cv_prog_ac_ct_STRIP="strip"
   4319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4320     break 2
   4321   fi
   4322 done
   4323   done
   4324 IFS=$as_save_IFS
   4325 
   4326 fi
   4327 fi
   4328 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4329 if test -n "$ac_ct_STRIP"; then
   4330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4331 $as_echo "$ac_ct_STRIP" >&6; }
   4332 else
   4333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4334 $as_echo "no" >&6; }
   4335 fi
   4336 
   4337   if test "x$ac_ct_STRIP" = x; then
   4338     STRIP=":"
   4339   else
   4340     case $cross_compiling:$ac_tool_warned in
   4341 yes:)
   4342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4344 ac_tool_warned=yes ;;
   4345 esac
   4346     STRIP=$ac_ct_STRIP
   4347   fi
   4348 else
   4349   STRIP="$ac_cv_prog_STRIP"
   4350 fi
   4351 
   4352 fi
   4353 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4354 
   4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4356 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4357 if test -z "$MKDIR_P"; then
   4358   if ${ac_cv_path_mkdir+:} false; then :
   4359   $as_echo_n "(cached) " >&6
   4360 else
   4361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4362 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4363 do
   4364   IFS=$as_save_IFS
   4365   test -z "$as_dir" && as_dir=.
   4366     for ac_prog in mkdir gmkdir; do
   4367 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4368 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   4369 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4370 	     'mkdir (GNU coreutils) '* | \
   4371 	     'mkdir (coreutils) '* | \
   4372 	     'mkdir (fileutils) '4.1*)
   4373 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4374 	       break 3;;
   4375 	   esac
   4376 	 done
   4377        done
   4378   done
   4379 IFS=$as_save_IFS
   4380 
   4381 fi
   4382 
   4383   test -d ./--version && rmdir ./--version
   4384   if test "${ac_cv_path_mkdir+set}" = set; then
   4385     MKDIR_P="$ac_cv_path_mkdir -p"
   4386   else
   4387     # As a last resort, use the slow shell script.  Don't cache a
   4388     # value for MKDIR_P within a source directory, because that will
   4389     # break other packages using the cache if that directory is
   4390     # removed, or if the value is a relative name.
   4391     MKDIR_P="$ac_install_sh -d"
   4392   fi
   4393 fi
   4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4395 $as_echo "$MKDIR_P" >&6; }
   4396 
   4397 for ac_prog in gawk mawk nawk awk
   4398 do
   4399   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4400 set dummy $ac_prog; ac_word=$2
   4401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4402 $as_echo_n "checking for $ac_word... " >&6; }
   4403 if ${ac_cv_prog_AWK+:} false; then :
   4404   $as_echo_n "(cached) " >&6
   4405 else
   4406   if test -n "$AWK"; then
   4407   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4408 else
   4409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4410 for as_dir in $PATH
   4411 do
   4412   IFS=$as_save_IFS
   4413   test -z "$as_dir" && as_dir=.
   4414     for ac_exec_ext in '' $ac_executable_extensions; do
   4415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4416     ac_cv_prog_AWK="$ac_prog"
   4417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4418     break 2
   4419   fi
   4420 done
   4421   done
   4422 IFS=$as_save_IFS
   4423 
   4424 fi
   4425 fi
   4426 AWK=$ac_cv_prog_AWK
   4427 if test -n "$AWK"; then
   4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4429 $as_echo "$AWK" >&6; }
   4430 else
   4431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4432 $as_echo "no" >&6; }
   4433 fi
   4434 
   4435 
   4436   test -n "$AWK" && break
   4437 done
   4438 
   4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4440 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4441 set x ${MAKE-make}
   4442 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4443 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4444   $as_echo_n "(cached) " >&6
   4445 else
   4446   cat >conftest.make <<\_ACEOF
   4447 SHELL = /bin/sh
   4448 all:
   4449 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4450 _ACEOF
   4451 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4452 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4453   *@@@%%%=?*=@@@%%%*)
   4454     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4455   *)
   4456     eval ac_cv_prog_make_${ac_make}_set=no;;
   4457 esac
   4458 rm -f conftest.make
   4459 fi
   4460 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4462 $as_echo "yes" >&6; }
   4463   SET_MAKE=
   4464 else
   4465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4466 $as_echo "no" >&6; }
   4467   SET_MAKE="MAKE=${MAKE-make}"
   4468 fi
   4469 
   4470 rm -rf .tst 2>/dev/null
   4471 mkdir .tst 2>/dev/null
   4472 if test -d .tst; then
   4473   am__leading_dot=.
   4474 else
   4475   am__leading_dot=_
   4476 fi
   4477 rmdir .tst 2>/dev/null
   4478 
   4479 # Check whether --enable-silent-rules was given.
   4480 if test "${enable_silent_rules+set}" = set; then :
   4481   enableval=$enable_silent_rules;
   4482 fi
   4483 
   4484 case $enable_silent_rules in # (((
   4485   yes) AM_DEFAULT_VERBOSITY=0;;
   4486    no) AM_DEFAULT_VERBOSITY=1;;
   4487     *) AM_DEFAULT_VERBOSITY=1;;
   4488 esac
   4489 am_make=${MAKE-make}
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4491 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4492 if ${am_cv_make_support_nested_variables+:} false; then :
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495   if $as_echo 'TRUE=$(BAR$(V))
   4496 BAR0=false
   4497 BAR1=true
   4498 V=1
   4499 am__doit:
   4500 	@$(TRUE)
   4501 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4502   am_cv_make_support_nested_variables=yes
   4503 else
   4504   am_cv_make_support_nested_variables=no
   4505 fi
   4506 fi
   4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4508 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4509 if test $am_cv_make_support_nested_variables = yes; then
   4510     AM_V='$(V)'
   4511   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4512 else
   4513   AM_V=$AM_DEFAULT_VERBOSITY
   4514   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4515 fi
   4516 AM_BACKSLASH='\'
   4517 
   4518 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4519   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4520   # is not polluted with repeated "-I."
   4521   am__isrc=' -I$(srcdir)'
   4522   # test to see if srcdir already configured
   4523   if test -f $srcdir/config.status; then
   4524     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4525   fi
   4526 fi
   4527 
   4528 # test whether we have cygpath
   4529 if test -z "$CYGPATH_W"; then
   4530   if (cygpath --version) >/dev/null 2>/dev/null; then
   4531     CYGPATH_W='cygpath -w'
   4532   else
   4533     CYGPATH_W=echo
   4534   fi
   4535 fi
   4536 
   4537 
   4538 # Define the identity of the package.
   4539  PACKAGE='libbacktrace'
   4540  VERSION='version-unused'
   4541 
   4542 
   4543 # Some tools Automake needs.
   4544 
   4545 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4546 
   4547 
   4548 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4549 
   4550 
   4551 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4552 
   4553 
   4554 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4555 
   4556 
   4557 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4558 
   4559 # For better backward compatibility.  To be removed once Automake 1.9.x
   4560 # dies out for good.  For more background, see:
   4561 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4562 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4563 mkdir_p='$(MKDIR_P)'
   4564 
   4565 # We need awk for the "check" target (and possibly the TAP driver).  The
   4566 # system "awk" is bad on some platforms.
   4567 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4568 # in the wild :-(  We should find a proper way to deprecate it ...
   4569 AMTAR='$${TAR-tar}'
   4570 
   4571 
   4572 # We'll loop over all known methods to create a tar archive until one works.
   4573 _am_tools='gnutar  pax cpio none'
   4574 
   4575 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 # POSIX will say in a future version that running "rm -f" with no argument
   4583 # is OK; and we want to be able to make that assumption in our Makefile
   4584 # recipes.  So use an aggressive probe to check that the usage we want is
   4585 # actually supported "in the wild" to an acceptable degree.
   4586 # See automake bug#10828.
   4587 # To make any issue more visible, cause the running configure to be aborted
   4588 # by default if the 'rm' program in use doesn't match our expectations; the
   4589 # user can still override this though.
   4590 if rm -f && rm -fr && rm -rf; then : OK; else
   4591   cat >&2 <<'END'
   4592 Oops!
   4593 
   4594 Your 'rm' program seems unable to run without file operands specified
   4595 on the command line, even when the '-f' option is present.  This is contrary
   4596 to the behaviour of most rm programs out there, and not conforming with
   4597 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4598 
   4599 Please tell bug-automake@gnu.org about your system, including the value
   4600 of your $PATH and any error possibly output before this message.  This
   4601 can help us improve future automake versions.
   4602 
   4603 END
   4604   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4605     echo 'Configuration will proceed anyway, since you have set the' >&2
   4606     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4607     echo >&2
   4608   else
   4609     cat >&2 <<'END'
   4610 Aborting the configuration process, to ensure you take notice of the issue.
   4611 
   4612 You can download and install GNU coreutils to get an 'rm' implementation
   4613 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4614 
   4615 If you want to complete the configuration process using your problematic
   4616 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4617 to "yes", and re-run configure.
   4618 
   4619 END
   4620     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4621   fi
   4622 fi
   4623 
   4624 
   4625 
   4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4627 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4628     # Check whether --enable-maintainer-mode was given.
   4629 if test "${enable_maintainer_mode+set}" = set; then :
   4630   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4631 else
   4632   USE_MAINTAINER_MODE=no
   4633 fi
   4634 
   4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4636 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4637    if test $USE_MAINTAINER_MODE = yes; then
   4638   MAINTAINER_MODE_TRUE=
   4639   MAINTAINER_MODE_FALSE='#'
   4640 else
   4641   MAINTAINER_MODE_TRUE='#'
   4642   MAINTAINER_MODE_FALSE=
   4643 fi
   4644 
   4645   MAINT=$MAINTAINER_MODE_TRUE
   4646 
   4647 
   4648 
   4649 
   4650 # Check whether --with-target-subdir was given.
   4651 if test "${with_target_subdir+set}" = set; then :
   4652   withval=$with_target_subdir;
   4653 fi
   4654 
   4655 
   4656 # We must force CC to /not/ be precious variables; otherwise
   4657 # the wrong, non-multilib-adjusted value will be used in multilibs.
   4658 # As a side effect, we have to subst CFLAGS ourselves.
   4659 
   4660 
   4661 ac_ext=c
   4662 ac_cpp='$CPP $CPPFLAGS'
   4663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4666 if test -n "$ac_tool_prefix"; then
   4667   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4668 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4670 $as_echo_n "checking for $ac_word... " >&6; }
   4671 if ${ac_cv_prog_CC+:} false; then :
   4672   $as_echo_n "(cached) " >&6
   4673 else
   4674   if test -n "$CC"; then
   4675   ac_cv_prog_CC="$CC" # Let the user override the test.
   4676 else
   4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4678 for as_dir in $PATH
   4679 do
   4680   IFS=$as_save_IFS
   4681   test -z "$as_dir" && as_dir=.
   4682     for ac_exec_ext in '' $ac_executable_extensions; do
   4683   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4684     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4686     break 2
   4687   fi
   4688 done
   4689   done
   4690 IFS=$as_save_IFS
   4691 
   4692 fi
   4693 fi
   4694 CC=$ac_cv_prog_CC
   4695 if test -n "$CC"; then
   4696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4697 $as_echo "$CC" >&6; }
   4698 else
   4699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4700 $as_echo "no" >&6; }
   4701 fi
   4702 
   4703 
   4704 fi
   4705 if test -z "$ac_cv_prog_CC"; then
   4706   ac_ct_CC=$CC
   4707   # Extract the first word of "gcc", so it can be a program name with args.
   4708 set dummy gcc; ac_word=$2
   4709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4710 $as_echo_n "checking for $ac_word... " >&6; }
   4711 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4712   $as_echo_n "(cached) " >&6
   4713 else
   4714   if test -n "$ac_ct_CC"; then
   4715   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4716 else
   4717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4718 for as_dir in $PATH
   4719 do
   4720   IFS=$as_save_IFS
   4721   test -z "$as_dir" && as_dir=.
   4722     for ac_exec_ext in '' $ac_executable_extensions; do
   4723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4724     ac_cv_prog_ac_ct_CC="gcc"
   4725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4726     break 2
   4727   fi
   4728 done
   4729   done
   4730 IFS=$as_save_IFS
   4731 
   4732 fi
   4733 fi
   4734 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4735 if test -n "$ac_ct_CC"; then
   4736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4737 $as_echo "$ac_ct_CC" >&6; }
   4738 else
   4739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4740 $as_echo "no" >&6; }
   4741 fi
   4742 
   4743   if test "x$ac_ct_CC" = x; then
   4744     CC=""
   4745   else
   4746     case $cross_compiling:$ac_tool_warned in
   4747 yes:)
   4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4749 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4750 ac_tool_warned=yes ;;
   4751 esac
   4752     CC=$ac_ct_CC
   4753   fi
   4754 else
   4755   CC="$ac_cv_prog_CC"
   4756 fi
   4757 
   4758 if test -z "$CC"; then
   4759           if test -n "$ac_tool_prefix"; then
   4760     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4761 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4763 $as_echo_n "checking for $ac_word... " >&6; }
   4764 if ${ac_cv_prog_CC+:} false; then :
   4765   $as_echo_n "(cached) " >&6
   4766 else
   4767   if test -n "$CC"; then
   4768   ac_cv_prog_CC="$CC" # Let the user override the test.
   4769 else
   4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4771 for as_dir in $PATH
   4772 do
   4773   IFS=$as_save_IFS
   4774   test -z "$as_dir" && as_dir=.
   4775     for ac_exec_ext in '' $ac_executable_extensions; do
   4776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4777     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4779     break 2
   4780   fi
   4781 done
   4782   done
   4783 IFS=$as_save_IFS
   4784 
   4785 fi
   4786 fi
   4787 CC=$ac_cv_prog_CC
   4788 if test -n "$CC"; then
   4789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4790 $as_echo "$CC" >&6; }
   4791 else
   4792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4793 $as_echo "no" >&6; }
   4794 fi
   4795 
   4796 
   4797   fi
   4798 fi
   4799 if test -z "$CC"; then
   4800   # Extract the first word of "cc", so it can be a program name with args.
   4801 set dummy cc; ac_word=$2
   4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4803 $as_echo_n "checking for $ac_word... " >&6; }
   4804 if ${ac_cv_prog_CC+:} false; then :
   4805   $as_echo_n "(cached) " >&6
   4806 else
   4807   if test -n "$CC"; then
   4808   ac_cv_prog_CC="$CC" # Let the user override the test.
   4809 else
   4810   ac_prog_rejected=no
   4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4812 for as_dir in $PATH
   4813 do
   4814   IFS=$as_save_IFS
   4815   test -z "$as_dir" && as_dir=.
   4816     for ac_exec_ext in '' $ac_executable_extensions; do
   4817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4818     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4819        ac_prog_rejected=yes
   4820        continue
   4821      fi
   4822     ac_cv_prog_CC="cc"
   4823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4824     break 2
   4825   fi
   4826 done
   4827   done
   4828 IFS=$as_save_IFS
   4829 
   4830 if test $ac_prog_rejected = yes; then
   4831   # We found a bogon in the path, so make sure we never use it.
   4832   set dummy $ac_cv_prog_CC
   4833   shift
   4834   if test $# != 0; then
   4835     # We chose a different compiler from the bogus one.
   4836     # However, it has the same basename, so the bogon will be chosen
   4837     # first if we set CC to just the basename; use the full file name.
   4838     shift
   4839     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4840   fi
   4841 fi
   4842 fi
   4843 fi
   4844 CC=$ac_cv_prog_CC
   4845 if test -n "$CC"; then
   4846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4847 $as_echo "$CC" >&6; }
   4848 else
   4849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4850 $as_echo "no" >&6; }
   4851 fi
   4852 
   4853 
   4854 fi
   4855 if test -z "$CC"; then
   4856   if test -n "$ac_tool_prefix"; then
   4857   for ac_prog in cl.exe
   4858   do
   4859     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4860 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4862 $as_echo_n "checking for $ac_word... " >&6; }
   4863 if ${ac_cv_prog_CC+:} false; then :
   4864   $as_echo_n "(cached) " >&6
   4865 else
   4866   if test -n "$CC"; then
   4867   ac_cv_prog_CC="$CC" # Let the user override the test.
   4868 else
   4869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4870 for as_dir in $PATH
   4871 do
   4872   IFS=$as_save_IFS
   4873   test -z "$as_dir" && as_dir=.
   4874     for ac_exec_ext in '' $ac_executable_extensions; do
   4875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4876     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4878     break 2
   4879   fi
   4880 done
   4881   done
   4882 IFS=$as_save_IFS
   4883 
   4884 fi
   4885 fi
   4886 CC=$ac_cv_prog_CC
   4887 if test -n "$CC"; then
   4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4889 $as_echo "$CC" >&6; }
   4890 else
   4891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4892 $as_echo "no" >&6; }
   4893 fi
   4894 
   4895 
   4896     test -n "$CC" && break
   4897   done
   4898 fi
   4899 if test -z "$CC"; then
   4900   ac_ct_CC=$CC
   4901   for ac_prog in cl.exe
   4902 do
   4903   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4904 set dummy $ac_prog; ac_word=$2
   4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4906 $as_echo_n "checking for $ac_word... " >&6; }
   4907 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4908   $as_echo_n "(cached) " >&6
   4909 else
   4910   if test -n "$ac_ct_CC"; then
   4911   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4912 else
   4913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4914 for as_dir in $PATH
   4915 do
   4916   IFS=$as_save_IFS
   4917   test -z "$as_dir" && as_dir=.
   4918     for ac_exec_ext in '' $ac_executable_extensions; do
   4919   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4920     ac_cv_prog_ac_ct_CC="$ac_prog"
   4921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4922     break 2
   4923   fi
   4924 done
   4925   done
   4926 IFS=$as_save_IFS
   4927 
   4928 fi
   4929 fi
   4930 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4931 if test -n "$ac_ct_CC"; then
   4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4933 $as_echo "$ac_ct_CC" >&6; }
   4934 else
   4935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4936 $as_echo "no" >&6; }
   4937 fi
   4938 
   4939 
   4940   test -n "$ac_ct_CC" && break
   4941 done
   4942 
   4943   if test "x$ac_ct_CC" = x; then
   4944     CC=""
   4945   else
   4946     case $cross_compiling:$ac_tool_warned in
   4947 yes:)
   4948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4949 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4950 ac_tool_warned=yes ;;
   4951 esac
   4952     CC=$ac_ct_CC
   4953   fi
   4954 fi
   4955 
   4956 fi
   4957 
   4958 
   4959 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4961 as_fn_error $? "no acceptable C compiler found in \$PATH
   4962 See \`config.log' for more details" "$LINENO" 5; }
   4963 
   4964 # Provide some information about the compiler.
   4965 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4966 set X $ac_compile
   4967 ac_compiler=$2
   4968 for ac_option in --version -v -V -qversion; do
   4969   { { ac_try="$ac_compiler $ac_option >&5"
   4970 case "(($ac_try" in
   4971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4972   *) ac_try_echo=$ac_try;;
   4973 esac
   4974 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4975 $as_echo "$ac_try_echo"; } >&5
   4976   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4977   ac_status=$?
   4978   if test -s conftest.err; then
   4979     sed '10a\
   4980 ... rest of stderr output deleted ...
   4981          10q' conftest.err >conftest.er1
   4982     cat conftest.er1 >&5
   4983   fi
   4984   rm -f conftest.er1 conftest.err
   4985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4986   test $ac_status = 0; }
   4987 done
   4988 
   4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4990 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4991 if ${ac_cv_c_compiler_gnu+:} false; then :
   4992   $as_echo_n "(cached) " >&6
   4993 else
   4994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4995 /* end confdefs.h.  */
   4996 
   4997 int
   4998 main ()
   4999 {
   5000 #ifndef __GNUC__
   5001        choke me
   5002 #endif
   5003 
   5004   ;
   5005   return 0;
   5006 }
   5007 _ACEOF
   5008 if ac_fn_c_try_compile "$LINENO"; then :
   5009   ac_compiler_gnu=yes
   5010 else
   5011   ac_compiler_gnu=no
   5012 fi
   5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5014 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5015 
   5016 fi
   5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5018 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5019 if test $ac_compiler_gnu = yes; then
   5020   GCC=yes
   5021 else
   5022   GCC=
   5023 fi
   5024 ac_test_CFLAGS=${CFLAGS+set}
   5025 ac_save_CFLAGS=$CFLAGS
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5027 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5028 if ${ac_cv_prog_cc_g+:} false; then :
   5029   $as_echo_n "(cached) " >&6
   5030 else
   5031   ac_save_c_werror_flag=$ac_c_werror_flag
   5032    ac_c_werror_flag=yes
   5033    ac_cv_prog_cc_g=no
   5034    CFLAGS="-g"
   5035    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5036 /* end confdefs.h.  */
   5037 
   5038 int
   5039 main ()
   5040 {
   5041 
   5042   ;
   5043   return 0;
   5044 }
   5045 _ACEOF
   5046 if ac_fn_c_try_compile "$LINENO"; then :
   5047   ac_cv_prog_cc_g=yes
   5048 else
   5049   CFLAGS=""
   5050       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5051 /* end confdefs.h.  */
   5052 
   5053 int
   5054 main ()
   5055 {
   5056 
   5057   ;
   5058   return 0;
   5059 }
   5060 _ACEOF
   5061 if ac_fn_c_try_compile "$LINENO"; then :
   5062 
   5063 else
   5064   ac_c_werror_flag=$ac_save_c_werror_flag
   5065 	 CFLAGS="-g"
   5066 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5067 /* end confdefs.h.  */
   5068 
   5069 int
   5070 main ()
   5071 {
   5072 
   5073   ;
   5074   return 0;
   5075 }
   5076 _ACEOF
   5077 if ac_fn_c_try_compile "$LINENO"; then :
   5078   ac_cv_prog_cc_g=yes
   5079 fi
   5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5081 fi
   5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5083 fi
   5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5085    ac_c_werror_flag=$ac_save_c_werror_flag
   5086 fi
   5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5088 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5089 if test "$ac_test_CFLAGS" = set; then
   5090   CFLAGS=$ac_save_CFLAGS
   5091 elif test $ac_cv_prog_cc_g = yes; then
   5092   if test "$GCC" = yes; then
   5093     CFLAGS="-g -O2"
   5094   else
   5095     CFLAGS="-g"
   5096   fi
   5097 else
   5098   if test "$GCC" = yes; then
   5099     CFLAGS="-O2"
   5100   else
   5101     CFLAGS=
   5102   fi
   5103 fi
   5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5105 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5106 if ${ac_cv_prog_cc_c89+:} false; then :
   5107   $as_echo_n "(cached) " >&6
   5108 else
   5109   ac_cv_prog_cc_c89=no
   5110 ac_save_CC=$CC
   5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 #include <stdarg.h>
   5114 #include <stdio.h>
   5115 struct stat;
   5116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5117 struct buf { int x; };
   5118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5119 static char *e (p, i)
   5120      char **p;
   5121      int i;
   5122 {
   5123   return p[i];
   5124 }
   5125 static char *f (char * (*g) (char **, int), char **p, ...)
   5126 {
   5127   char *s;
   5128   va_list v;
   5129   va_start (v,p);
   5130   s = g (p, va_arg (v,int));
   5131   va_end (v);
   5132   return s;
   5133 }
   5134 
   5135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5136    function prototypes and stuff, but not '\xHH' hex character constants.
   5137    These don't provoke an error unfortunately, instead are silently treated
   5138    as 'x'.  The following induces an error, until -std is added to get
   5139    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5140    array size at least.  It's necessary to write '\x00'==0 to get something
   5141    that's true only with -std.  */
   5142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5143 
   5144 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5145    inside strings and character constants.  */
   5146 #define FOO(x) 'x'
   5147 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5148 
   5149 int test (int i, double x);
   5150 struct s1 {int (*f) (int a);};
   5151 struct s2 {int (*f) (double a);};
   5152 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5153 int argc;
   5154 char **argv;
   5155 int
   5156 main ()
   5157 {
   5158 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5159   ;
   5160   return 0;
   5161 }
   5162 _ACEOF
   5163 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5164 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5165 do
   5166   CC="$ac_save_CC $ac_arg"
   5167   if ac_fn_c_try_compile "$LINENO"; then :
   5168   ac_cv_prog_cc_c89=$ac_arg
   5169 fi
   5170 rm -f core conftest.err conftest.$ac_objext
   5171   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5172 done
   5173 rm -f conftest.$ac_ext
   5174 CC=$ac_save_CC
   5175 
   5176 fi
   5177 # AC_CACHE_VAL
   5178 case "x$ac_cv_prog_cc_c89" in
   5179   x)
   5180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5181 $as_echo "none needed" >&6; } ;;
   5182   xno)
   5183     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5184 $as_echo "unsupported" >&6; } ;;
   5185   *)
   5186     CC="$CC $ac_cv_prog_cc_c89"
   5187     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5188 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5189 esac
   5190 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5191 
   5192 fi
   5193 
   5194 ac_ext=c
   5195 ac_cpp='$CPP $CPPFLAGS'
   5196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5199 
   5200 ac_ext=c
   5201 ac_cpp='$CPP $CPPFLAGS'
   5202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5206 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5207 if ${am_cv_prog_cc_c_o+:} false; then :
   5208   $as_echo_n "(cached) " >&6
   5209 else
   5210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5211 /* end confdefs.h.  */
   5212 
   5213 int
   5214 main ()
   5215 {
   5216 
   5217   ;
   5218   return 0;
   5219 }
   5220 _ACEOF
   5221   # Make sure it works both with $CC and with simple cc.
   5222   # Following AC_PROG_CC_C_O, we do the test twice because some
   5223   # compilers refuse to overwrite an existing .o file with -o,
   5224   # though they will create one.
   5225   am_cv_prog_cc_c_o=yes
   5226   for am_i in 1 2; do
   5227     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5228    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5229    ac_status=$?
   5230    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5231    (exit $ac_status); } \
   5232          && test -f conftest2.$ac_objext; then
   5233       : OK
   5234     else
   5235       am_cv_prog_cc_c_o=no
   5236       break
   5237     fi
   5238   done
   5239   rm -f core conftest*
   5240   unset am_i
   5241 fi
   5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5243 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5244 if test "$am_cv_prog_cc_c_o" != yes; then
   5245    # Losing compiler, so override with the script.
   5246    # FIXME: It is wrong to rewrite CC.
   5247    # But if we don't then we get into trouble of one sort or another.
   5248    # A longer-term fix would be to have automake use am__CC in this case,
   5249    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5250    CC="$am_aux_dir/compile $CC"
   5251 fi
   5252 ac_ext=c
   5253 ac_cpp='$CPP $CPPFLAGS'
   5254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 if test -n "$ac_tool_prefix"; then
   5264   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5265 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5267 $as_echo_n "checking for $ac_word... " >&6; }
   5268 if ${ac_cv_prog_RANLIB+:} false; then :
   5269   $as_echo_n "(cached) " >&6
   5270 else
   5271   if test -n "$RANLIB"; then
   5272   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5273 else
   5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5275 for as_dir in $PATH
   5276 do
   5277   IFS=$as_save_IFS
   5278   test -z "$as_dir" && as_dir=.
   5279     for ac_exec_ext in '' $ac_executable_extensions; do
   5280   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5281     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5282     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5283     break 2
   5284   fi
   5285 done
   5286   done
   5287 IFS=$as_save_IFS
   5288 
   5289 fi
   5290 fi
   5291 RANLIB=$ac_cv_prog_RANLIB
   5292 if test -n "$RANLIB"; then
   5293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5294 $as_echo "$RANLIB" >&6; }
   5295 else
   5296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5297 $as_echo "no" >&6; }
   5298 fi
   5299 
   5300 
   5301 fi
   5302 if test -z "$ac_cv_prog_RANLIB"; then
   5303   ac_ct_RANLIB=$RANLIB
   5304   # Extract the first word of "ranlib", so it can be a program name with args.
   5305 set dummy ranlib; ac_word=$2
   5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5307 $as_echo_n "checking for $ac_word... " >&6; }
   5308 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5309   $as_echo_n "(cached) " >&6
   5310 else
   5311   if test -n "$ac_ct_RANLIB"; then
   5312   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5313 else
   5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5315 for as_dir in $PATH
   5316 do
   5317   IFS=$as_save_IFS
   5318   test -z "$as_dir" && as_dir=.
   5319     for ac_exec_ext in '' $ac_executable_extensions; do
   5320   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5321     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5322     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5323     break 2
   5324   fi
   5325 done
   5326   done
   5327 IFS=$as_save_IFS
   5328 
   5329 fi
   5330 fi
   5331 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5332 if test -n "$ac_ct_RANLIB"; then
   5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5334 $as_echo "$ac_ct_RANLIB" >&6; }
   5335 else
   5336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5337 $as_echo "no" >&6; }
   5338 fi
   5339 
   5340   if test "x$ac_ct_RANLIB" = x; then
   5341     RANLIB=":"
   5342   else
   5343     case $cross_compiling:$ac_tool_warned in
   5344 yes:)
   5345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5347 ac_tool_warned=yes ;;
   5348 esac
   5349     RANLIB=$ac_ct_RANLIB
   5350   fi
   5351 else
   5352   RANLIB="$ac_cv_prog_RANLIB"
   5353 fi
   5354 
   5355 
   5356 for ac_prog in gawk mawk nawk awk
   5357 do
   5358   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5359 set dummy $ac_prog; ac_word=$2
   5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5361 $as_echo_n "checking for $ac_word... " >&6; }
   5362 if ${ac_cv_prog_AWK+:} false; then :
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   if test -n "$AWK"; then
   5366   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   5367 else
   5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5369 for as_dir in $PATH
   5370 do
   5371   IFS=$as_save_IFS
   5372   test -z "$as_dir" && as_dir=.
   5373     for ac_exec_ext in '' $ac_executable_extensions; do
   5374   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5375     ac_cv_prog_AWK="$ac_prog"
   5376     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5377     break 2
   5378   fi
   5379 done
   5380   done
   5381 IFS=$as_save_IFS
   5382 
   5383 fi
   5384 fi
   5385 AWK=$ac_cv_prog_AWK
   5386 if test -n "$AWK"; then
   5387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   5388 $as_echo "$AWK" >&6; }
   5389 else
   5390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5391 $as_echo "no" >&6; }
   5392 fi
   5393 
   5394 
   5395   test -n "$AWK" && break
   5396 done
   5397 
   5398 case "$AWK" in
   5399 "") as_fn_error $? "can't build without awk" "$LINENO" 5 ;;
   5400 esac
   5401 
   5402 # Extract the first word of "dwz", so it can be a program name with args.
   5403 set dummy dwz; ac_word=$2
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5405 $as_echo_n "checking for $ac_word... " >&6; }
   5406 if ${ac_cv_prog_DWZ+:} false; then :
   5407   $as_echo_n "(cached) " >&6
   5408 else
   5409   if test -n "$DWZ"; then
   5410   ac_cv_prog_DWZ="$DWZ" # Let the user override the test.
   5411 else
   5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5413 for as_dir in $PATH
   5414 do
   5415   IFS=$as_save_IFS
   5416   test -z "$as_dir" && as_dir=.
   5417     for ac_exec_ext in '' $ac_executable_extensions; do
   5418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5419     ac_cv_prog_DWZ="dwz"
   5420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5421     break 2
   5422   fi
   5423 done
   5424   done
   5425 IFS=$as_save_IFS
   5426 
   5427 fi
   5428 fi
   5429 DWZ=$ac_cv_prog_DWZ
   5430 if test -n "$DWZ"; then
   5431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DWZ" >&5
   5432 $as_echo "$DWZ" >&6; }
   5433 else
   5434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5435 $as_echo "no" >&6; }
   5436 fi
   5437 
   5438 
   5439  if test "$DWZ" != ""; then
   5440   HAVE_DWZ_TRUE=
   5441   HAVE_DWZ_FALSE='#'
   5442 else
   5443   HAVE_DWZ_TRUE='#'
   5444   HAVE_DWZ_FALSE=
   5445 fi
   5446 
   5447 
   5448 case `pwd` in
   5449   *\ * | *\	*)
   5450     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5451 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5452 esac
   5453 
   5454 
   5455 
   5456 macro_version='2.2.7a'
   5457 macro_revision='1.3134'
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 
   5465 
   5466 
   5467 
   5468 
   5469 
   5470 
   5471 ltmain="$ac_aux_dir/ltmain.sh"
   5472 
   5473 # Backslashify metacharacters that are still active within
   5474 # double-quoted strings.
   5475 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5476 
   5477 # Same as above, but do not quote variable references.
   5478 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5479 
   5480 # Sed substitution to delay expansion of an escaped shell variable in a
   5481 # double_quote_subst'ed string.
   5482 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5483 
   5484 # Sed substitution to delay expansion of an escaped single quote.
   5485 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5486 
   5487 # Sed substitution to avoid accidental globbing in evaled expressions
   5488 no_glob_subst='s/\*/\\\*/g'
   5489 
   5490 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5491 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5492 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5493 
   5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5495 $as_echo_n "checking how to print strings... " >&6; }
   5496 # Test print first, because it will be a builtin if present.
   5497 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5498    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5499   ECHO='print -r --'
   5500 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5501   ECHO='printf %s\n'
   5502 else
   5503   # Use this function as a fallback that always works.
   5504   func_fallback_echo ()
   5505   {
   5506     eval 'cat <<_LTECHO_EOF
   5507 $1
   5508 _LTECHO_EOF'
   5509   }
   5510   ECHO='func_fallback_echo'
   5511 fi
   5512 
   5513 # func_echo_all arg...
   5514 # Invoke $ECHO with all args, space-separated.
   5515 func_echo_all ()
   5516 {
   5517     $ECHO ""
   5518 }
   5519 
   5520 case "$ECHO" in
   5521   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5522 $as_echo "printf" >&6; } ;;
   5523   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5524 $as_echo "print -r" >&6; } ;;
   5525   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5526 $as_echo "cat" >&6; } ;;
   5527 esac
   5528 
   5529 
   5530 
   5531 
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5543 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5544 if ${ac_cv_path_SED+:} false; then :
   5545   $as_echo_n "(cached) " >&6
   5546 else
   5547             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5548      for ac_i in 1 2 3 4 5 6 7; do
   5549        ac_script="$ac_script$as_nl$ac_script"
   5550      done
   5551      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5552      { ac_script=; unset ac_script;}
   5553      if test -z "$SED"; then
   5554   ac_path_SED_found=false
   5555   # Loop through the user's path and test for each of PROGNAME-LIST
   5556   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5557 for as_dir in $PATH
   5558 do
   5559   IFS=$as_save_IFS
   5560   test -z "$as_dir" && as_dir=.
   5561     for ac_prog in sed gsed; do
   5562     for ac_exec_ext in '' $ac_executable_extensions; do
   5563       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5564       as_fn_executable_p "$ac_path_SED" || continue
   5565 # Check for GNU ac_path_SED and select it if it is found.
   5566   # Check for GNU $ac_path_SED
   5567 case `"$ac_path_SED" --version 2>&1` in
   5568 *GNU*)
   5569   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5570 *)
   5571   ac_count=0
   5572   $as_echo_n 0123456789 >"conftest.in"
   5573   while :
   5574   do
   5575     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5576     mv "conftest.tmp" "conftest.in"
   5577     cp "conftest.in" "conftest.nl"
   5578     $as_echo '' >> "conftest.nl"
   5579     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5580     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5581     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5582     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5583       # Best one so far, save it but keep looking for a better one
   5584       ac_cv_path_SED="$ac_path_SED"
   5585       ac_path_SED_max=$ac_count
   5586     fi
   5587     # 10*(2^10) chars as input seems more than enough
   5588     test $ac_count -gt 10 && break
   5589   done
   5590   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5591 esac
   5592 
   5593       $ac_path_SED_found && break 3
   5594     done
   5595   done
   5596   done
   5597 IFS=$as_save_IFS
   5598   if test -z "$ac_cv_path_SED"; then
   5599     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5600   fi
   5601 else
   5602   ac_cv_path_SED=$SED
   5603 fi
   5604 
   5605 fi
   5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5607 $as_echo "$ac_cv_path_SED" >&6; }
   5608  SED="$ac_cv_path_SED"
   5609   rm -f conftest.sed
   5610 
   5611 test -z "$SED" && SED=sed
   5612 Xsed="$SED -e 1s/^X//"
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5625 $as_echo_n "checking for fgrep... " >&6; }
   5626 if ${ac_cv_path_FGREP+:} false; then :
   5627   $as_echo_n "(cached) " >&6
   5628 else
   5629   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5630    then ac_cv_path_FGREP="$GREP -F"
   5631    else
   5632      if test -z "$FGREP"; then
   5633   ac_path_FGREP_found=false
   5634   # Loop through the user's path and test for each of PROGNAME-LIST
   5635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5637 do
   5638   IFS=$as_save_IFS
   5639   test -z "$as_dir" && as_dir=.
   5640     for ac_prog in fgrep; do
   5641     for ac_exec_ext in '' $ac_executable_extensions; do
   5642       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5643       as_fn_executable_p "$ac_path_FGREP" || continue
   5644 # Check for GNU ac_path_FGREP and select it if it is found.
   5645   # Check for GNU $ac_path_FGREP
   5646 case `"$ac_path_FGREP" --version 2>&1` in
   5647 *GNU*)
   5648   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5649 *)
   5650   ac_count=0
   5651   $as_echo_n 0123456789 >"conftest.in"
   5652   while :
   5653   do
   5654     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5655     mv "conftest.tmp" "conftest.in"
   5656     cp "conftest.in" "conftest.nl"
   5657     $as_echo 'FGREP' >> "conftest.nl"
   5658     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5659     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5660     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5661     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5662       # Best one so far, save it but keep looking for a better one
   5663       ac_cv_path_FGREP="$ac_path_FGREP"
   5664       ac_path_FGREP_max=$ac_count
   5665     fi
   5666     # 10*(2^10) chars as input seems more than enough
   5667     test $ac_count -gt 10 && break
   5668   done
   5669   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5670 esac
   5671 
   5672       $ac_path_FGREP_found && break 3
   5673     done
   5674   done
   5675   done
   5676 IFS=$as_save_IFS
   5677   if test -z "$ac_cv_path_FGREP"; then
   5678     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5679   fi
   5680 else
   5681   ac_cv_path_FGREP=$FGREP
   5682 fi
   5683 
   5684    fi
   5685 fi
   5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5687 $as_echo "$ac_cv_path_FGREP" >&6; }
   5688  FGREP="$ac_cv_path_FGREP"
   5689 
   5690 
   5691 test -z "$GREP" && GREP=grep
   5692 
   5693 
   5694 
   5695 
   5696 
   5697 
   5698 
   5699 
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 # Check whether --with-gnu-ld was given.
   5712 if test "${with_gnu_ld+set}" = set; then :
   5713   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5714 else
   5715   with_gnu_ld=no
   5716 fi
   5717 
   5718 ac_prog=ld
   5719 if test "$GCC" = yes; then
   5720   # Check if gcc -print-prog-name=ld gives a path.
   5721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5722 $as_echo_n "checking for ld used by $CC... " >&6; }
   5723   case $host in
   5724   *-*-mingw*)
   5725     # gcc leaves a trailing carriage return which upsets mingw
   5726     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5727   *)
   5728     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5729   esac
   5730   case $ac_prog in
   5731     # Accept absolute paths.
   5732     [\\/]* | ?:[\\/]*)
   5733       re_direlt='/[^/][^/]*/\.\./'
   5734       # Canonicalize the pathname of ld
   5735       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5736       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5737 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5738       done
   5739       test -z "$LD" && LD="$ac_prog"
   5740       ;;
   5741   "")
   5742     # If it fails, then pretend we aren't using GCC.
   5743     ac_prog=ld
   5744     ;;
   5745   *)
   5746     # If it is relative, then search for the first ld in PATH.
   5747     with_gnu_ld=unknown
   5748     ;;
   5749   esac
   5750 elif test "$with_gnu_ld" = yes; then
   5751   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5752 $as_echo_n "checking for GNU ld... " >&6; }
   5753 else
   5754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5755 $as_echo_n "checking for non-GNU ld... " >&6; }
   5756 fi
   5757 if ${lt_cv_path_LD+:} false; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -z "$LD"; then
   5761   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5762   for ac_dir in $PATH; do
   5763     IFS="$lt_save_ifs"
   5764     test -z "$ac_dir" && ac_dir=.
   5765     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5766       lt_cv_path_LD="$ac_dir/$ac_prog"
   5767       # Check to see if the program is GNU ld.  I'd rather use --version,
   5768       # but apparently some variants of GNU ld only accept -v.
   5769       # Break only if it was the GNU/non-GNU ld that we prefer.
   5770       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5771       *GNU* | *'with BFD'*)
   5772 	test "$with_gnu_ld" != no && break
   5773 	;;
   5774       *)
   5775 	test "$with_gnu_ld" != yes && break
   5776 	;;
   5777       esac
   5778     fi
   5779   done
   5780   IFS="$lt_save_ifs"
   5781 else
   5782   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5783 fi
   5784 fi
   5785 
   5786 LD="$lt_cv_path_LD"
   5787 if test -n "$LD"; then
   5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5789 $as_echo "$LD" >&6; }
   5790 else
   5791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5792 $as_echo "no" >&6; }
   5793 fi
   5794 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5796 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5797 if ${lt_cv_prog_gnu_ld+:} false; then :
   5798   $as_echo_n "(cached) " >&6
   5799 else
   5800   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5801 case `$LD -v 2>&1 </dev/null` in
   5802 *GNU* | *'with BFD'*)
   5803   lt_cv_prog_gnu_ld=yes
   5804   ;;
   5805 *)
   5806   lt_cv_prog_gnu_ld=no
   5807   ;;
   5808 esac
   5809 fi
   5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5811 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5812 with_gnu_ld=$lt_cv_prog_gnu_ld
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5823 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5824 if ${lt_cv_path_NM+:} false; then :
   5825   $as_echo_n "(cached) " >&6
   5826 else
   5827   if test -n "$NM"; then
   5828    # Let the user override the nm to test.
   5829    lt_nm_to_check="$NM"
   5830  else
   5831    lt_nm_to_check="${ac_tool_prefix}nm"
   5832    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5833      lt_nm_to_check="$lt_nm_to_check nm"
   5834    fi
   5835  fi
   5836  for lt_tmp_nm in "$lt_nm_to_check"; do
   5837    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5838    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5839      IFS="$lt_save_ifs"
   5840      test -z "$ac_dir" && ac_dir=.
   5841      # Strip out any user-provided options from the nm to test twice,
   5842      # the first time to test to see if nm (rather than its options) has
   5843      # an explicit path, the second time to yield a file which can be
   5844      # nm'ed itself.
   5845      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5846      case "$tmp_nm_path" in
   5847      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5848      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5849      esac
   5850      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5851      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5852        # Check to see if the nm accepts a BSD-compat flag.
   5853        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5854        #   nm: unknown option "B" ignored
   5855        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5856        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5857 	 break
   5858 	 ;;
   5859        *)
   5860 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5861 	 *$tmp_nm*)
   5862 	   lt_cv_path_NM="$tmp_nm -p"
   5863 	   break
   5864 	   ;;
   5865 	 *)
   5866 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5867 	   continue # so that we can try to find one that supports BSD flags
   5868 	   ;;
   5869 	 esac
   5870 	 ;;
   5871        esac
   5872      fi
   5873    done
   5874    IFS="$lt_save_ifs"
   5875  done
   5876  : ${lt_cv_path_NM=no}
   5877 fi
   5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5879 $as_echo "$lt_cv_path_NM" >&6; }
   5880 if test "$lt_cv_path_NM" != "no"; then
   5881   NM="$lt_cv_path_NM"
   5882 else
   5883   # Didn't find any BSD compatible name lister, look for dumpbin.
   5884   if test -n "$DUMPBIN"; then :
   5885     # Let the user override the test.
   5886   else
   5887     if test -n "$ac_tool_prefix"; then
   5888   for ac_prog in dumpbin "link -dump"
   5889   do
   5890     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5893 $as_echo_n "checking for $ac_word... " >&6; }
   5894 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5895   $as_echo_n "(cached) " >&6
   5896 else
   5897   if test -n "$DUMPBIN"; then
   5898   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5899 else
   5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5901 for as_dir in $PATH
   5902 do
   5903   IFS=$as_save_IFS
   5904   test -z "$as_dir" && as_dir=.
   5905     for ac_exec_ext in '' $ac_executable_extensions; do
   5906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5907     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5909     break 2
   5910   fi
   5911 done
   5912   done
   5913 IFS=$as_save_IFS
   5914 
   5915 fi
   5916 fi
   5917 DUMPBIN=$ac_cv_prog_DUMPBIN
   5918 if test -n "$DUMPBIN"; then
   5919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5920 $as_echo "$DUMPBIN" >&6; }
   5921 else
   5922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5923 $as_echo "no" >&6; }
   5924 fi
   5925 
   5926 
   5927     test -n "$DUMPBIN" && break
   5928   done
   5929 fi
   5930 if test -z "$DUMPBIN"; then
   5931   ac_ct_DUMPBIN=$DUMPBIN
   5932   for ac_prog in dumpbin "link -dump"
   5933 do
   5934   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5935 set dummy $ac_prog; ac_word=$2
   5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5937 $as_echo_n "checking for $ac_word... " >&6; }
   5938 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5939   $as_echo_n "(cached) " >&6
   5940 else
   5941   if test -n "$ac_ct_DUMPBIN"; then
   5942   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5943 else
   5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5945 for as_dir in $PATH
   5946 do
   5947   IFS=$as_save_IFS
   5948   test -z "$as_dir" && as_dir=.
   5949     for ac_exec_ext in '' $ac_executable_extensions; do
   5950   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5951     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5952     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5953     break 2
   5954   fi
   5955 done
   5956   done
   5957 IFS=$as_save_IFS
   5958 
   5959 fi
   5960 fi
   5961 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5962 if test -n "$ac_ct_DUMPBIN"; then
   5963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5964 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5965 else
   5966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5967 $as_echo "no" >&6; }
   5968 fi
   5969 
   5970 
   5971   test -n "$ac_ct_DUMPBIN" && break
   5972 done
   5973 
   5974   if test "x$ac_ct_DUMPBIN" = x; then
   5975     DUMPBIN=":"
   5976   else
   5977     case $cross_compiling:$ac_tool_warned in
   5978 yes:)
   5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5981 ac_tool_warned=yes ;;
   5982 esac
   5983     DUMPBIN=$ac_ct_DUMPBIN
   5984   fi
   5985 fi
   5986 
   5987     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5988     *COFF*)
   5989       DUMPBIN="$DUMPBIN -symbols"
   5990       ;;
   5991     *)
   5992       DUMPBIN=:
   5993       ;;
   5994     esac
   5995   fi
   5996 
   5997   if test "$DUMPBIN" != ":"; then
   5998     NM="$DUMPBIN"
   5999   fi
   6000 fi
   6001 test -z "$NM" && NM=nm
   6002 
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6009 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6010 if ${lt_cv_nm_interface+:} false; then :
   6011   $as_echo_n "(cached) " >&6
   6012 else
   6013   lt_cv_nm_interface="BSD nm"
   6014   echo "int some_variable = 0;" > conftest.$ac_ext
   6015   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6016   (eval "$ac_compile" 2>conftest.err)
   6017   cat conftest.err >&5
   6018   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6019   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6020   cat conftest.err >&5
   6021   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6022   cat conftest.out >&5
   6023   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6024     lt_cv_nm_interface="MS dumpbin"
   6025   fi
   6026   rm -f conftest*
   6027 fi
   6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6029 $as_echo "$lt_cv_nm_interface" >&6; }
   6030 
   6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6032 $as_echo_n "checking whether ln -s works... " >&6; }
   6033 LN_S=$as_ln_s
   6034 if test "$LN_S" = "ln -s"; then
   6035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6036 $as_echo "yes" >&6; }
   6037 else
   6038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6039 $as_echo "no, using $LN_S" >&6; }
   6040 fi
   6041 
   6042 # find the maximum length of command line arguments
   6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6044 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6045 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6046   $as_echo_n "(cached) " >&6
   6047 else
   6048     i=0
   6049   teststring="ABCD"
   6050 
   6051   case $build_os in
   6052   msdosdjgpp*)
   6053     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6054     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6055     # during glob expansion).  Even if it were fixed, the result of this
   6056     # check would be larger than it should be.
   6057     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6058     ;;
   6059 
   6060   gnu*)
   6061     # Under GNU Hurd, this test is not required because there is
   6062     # no limit to the length of command line arguments.
   6063     # Libtool will interpret -1 as no limit whatsoever
   6064     lt_cv_sys_max_cmd_len=-1;
   6065     ;;
   6066 
   6067   cygwin* | mingw* | cegcc*)
   6068     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6069     # about 5 minutes as the teststring grows exponentially.
   6070     # Worse, since 9x/ME are not pre-emptively multitasking,
   6071     # you end up with a "frozen" computer, even though with patience
   6072     # the test eventually succeeds (with a max line length of 256k).
   6073     # Instead, let's just punt: use the minimum linelength reported by
   6074     # all of the supported platforms: 8192 (on NT/2K/XP).
   6075     lt_cv_sys_max_cmd_len=8192;
   6076     ;;
   6077 
   6078   mint*)
   6079     # On MiNT this can take a long time and run out of memory.
   6080     lt_cv_sys_max_cmd_len=8192;
   6081     ;;
   6082 
   6083   amigaos*)
   6084     # On AmigaOS with pdksh, this test takes hours, literally.
   6085     # So we just punt and use a minimum line length of 8192.
   6086     lt_cv_sys_max_cmd_len=8192;
   6087     ;;
   6088 
   6089   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6090     # This has been around since 386BSD, at least.  Likely further.
   6091     if test -x /sbin/sysctl; then
   6092       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6093     elif test -x /usr/sbin/sysctl; then
   6094       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6095     else
   6096       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6097     fi
   6098     # And add a safety zone
   6099     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6100     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6101     ;;
   6102 
   6103   interix*)
   6104     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6105     lt_cv_sys_max_cmd_len=196608
   6106     ;;
   6107 
   6108   osf*)
   6109     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6110     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6111     # nice to cause kernel panics so lets avoid the loop below.
   6112     # First set a reasonable default.
   6113     lt_cv_sys_max_cmd_len=16384
   6114     #
   6115     if test -x /sbin/sysconfig; then
   6116       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6117         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6118       esac
   6119     fi
   6120     ;;
   6121   sco3.2v5*)
   6122     lt_cv_sys_max_cmd_len=102400
   6123     ;;
   6124   sysv5* | sco5v6* | sysv4.2uw2*)
   6125     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6126     if test -n "$kargmax"; then
   6127       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6128     else
   6129       lt_cv_sys_max_cmd_len=32768
   6130     fi
   6131     ;;
   6132   *)
   6133     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6134     if test -n "$lt_cv_sys_max_cmd_len"; then
   6135       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6136       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6137     else
   6138       # Make teststring a little bigger before we do anything with it.
   6139       # a 1K string should be a reasonable start.
   6140       for i in 1 2 3 4 5 6 7 8 ; do
   6141         teststring=$teststring$teststring
   6142       done
   6143       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6144       # If test is not a shell built-in, we'll probably end up computing a
   6145       # maximum length that is only half of the actual maximum length, but
   6146       # we can't tell.
   6147       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6148 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6149 	      test $i != 17 # 1/2 MB should be enough
   6150       do
   6151         i=`expr $i + 1`
   6152         teststring=$teststring$teststring
   6153       done
   6154       # Only check the string length outside the loop.
   6155       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6156       teststring=
   6157       # Add a significant safety factor because C++ compilers can tack on
   6158       # massive amounts of additional arguments before passing them to the
   6159       # linker.  It appears as though 1/2 is a usable value.
   6160       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6161     fi
   6162     ;;
   6163   esac
   6164 
   6165 fi
   6166 
   6167 if test -n $lt_cv_sys_max_cmd_len ; then
   6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6169 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6170 else
   6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6172 $as_echo "none" >&6; }
   6173 fi
   6174 max_cmd_len=$lt_cv_sys_max_cmd_len
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 : ${CP="cp -f"}
   6182 : ${MV="mv -f"}
   6183 : ${RM="rm -f"}
   6184 
   6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6186 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6187 # Try some XSI features
   6188 xsi_shell=no
   6189 ( _lt_dummy="a/b/c"
   6190   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6191       = c,a/b,, \
   6192     && eval 'test $(( 1 + 1 )) -eq 2 \
   6193     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6194   && xsi_shell=yes
   6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6196 $as_echo "$xsi_shell" >&6; }
   6197 
   6198 
   6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6200 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6201 lt_shell_append=no
   6202 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6203     >/dev/null 2>&1 \
   6204   && lt_shell_append=yes
   6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6206 $as_echo "$lt_shell_append" >&6; }
   6207 
   6208 
   6209 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6210   lt_unset=unset
   6211 else
   6212   lt_unset=false
   6213 fi
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 # test EBCDIC or ASCII
   6220 case `echo X|tr X '\101'` in
   6221  A) # ASCII based system
   6222     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6223   lt_SP2NL='tr \040 \012'
   6224   lt_NL2SP='tr \015\012 \040\040'
   6225   ;;
   6226  *) # EBCDIC based system
   6227   lt_SP2NL='tr \100 \n'
   6228   lt_NL2SP='tr \r\n \100\100'
   6229   ;;
   6230 esac
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6241 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6242 if ${lt_cv_ld_reload_flag+:} false; then :
   6243   $as_echo_n "(cached) " >&6
   6244 else
   6245   lt_cv_ld_reload_flag='-r'
   6246 fi
   6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6248 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6249 reload_flag=$lt_cv_ld_reload_flag
   6250 case $reload_flag in
   6251 "" | " "*) ;;
   6252 *) reload_flag=" $reload_flag" ;;
   6253 esac
   6254 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6255 case $host_os in
   6256   darwin*)
   6257     if test "$GCC" = yes; then
   6258       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6259     else
   6260       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6261     fi
   6262     ;;
   6263 esac
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 if test -n "$ac_tool_prefix"; then
   6274   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6275 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 $as_echo_n "checking for $ac_word... " >&6; }
   6278 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   if test -n "$OBJDUMP"; then
   6282   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6283 else
   6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   test -z "$as_dir" && as_dir=.
   6289     for ac_exec_ext in '' $ac_executable_extensions; do
   6290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6291     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293     break 2
   6294   fi
   6295 done
   6296   done
   6297 IFS=$as_save_IFS
   6298 
   6299 fi
   6300 fi
   6301 OBJDUMP=$ac_cv_prog_OBJDUMP
   6302 if test -n "$OBJDUMP"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6304 $as_echo "$OBJDUMP" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 
   6310 
   6311 fi
   6312 if test -z "$ac_cv_prog_OBJDUMP"; then
   6313   ac_ct_OBJDUMP=$OBJDUMP
   6314   # Extract the first word of "objdump", so it can be a program name with args.
   6315 set dummy objdump; ac_word=$2
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6317 $as_echo_n "checking for $ac_word... " >&6; }
   6318 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6319   $as_echo_n "(cached) " >&6
   6320 else
   6321   if test -n "$ac_ct_OBJDUMP"; then
   6322   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6323 else
   6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6325 for as_dir in $PATH
   6326 do
   6327   IFS=$as_save_IFS
   6328   test -z "$as_dir" && as_dir=.
   6329     for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6331     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336   done
   6337 IFS=$as_save_IFS
   6338 
   6339 fi
   6340 fi
   6341 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6342 if test -n "$ac_ct_OBJDUMP"; then
   6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6344 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6345 else
   6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6347 $as_echo "no" >&6; }
   6348 fi
   6349 
   6350   if test "x$ac_ct_OBJDUMP" = x; then
   6351     OBJDUMP="false"
   6352   else
   6353     case $cross_compiling:$ac_tool_warned in
   6354 yes:)
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6357 ac_tool_warned=yes ;;
   6358 esac
   6359     OBJDUMP=$ac_ct_OBJDUMP
   6360   fi
   6361 else
   6362   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6363 fi
   6364 
   6365 test -z "$OBJDUMP" && OBJDUMP=objdump
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 
   6373 
   6374 
   6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6376 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6377 if ${lt_cv_deplibs_check_method+:} false; then :
   6378   $as_echo_n "(cached) " >&6
   6379 else
   6380   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6381 lt_cv_file_magic_test_file=
   6382 lt_cv_deplibs_check_method='unknown'
   6383 # Need to set the preceding variable on all platforms that support
   6384 # interlibrary dependencies.
   6385 # 'none' -- dependencies not supported.
   6386 # `unknown' -- same as none, but documents that we really don't know.
   6387 # 'pass_all' -- all dependencies passed with no checks.
   6388 # 'test_compile' -- check by making test program.
   6389 # 'file_magic [[regex]]' -- check by looking for files in library path
   6390 # which responds to the $file_magic_cmd with a given extended regex.
   6391 # If you have `file' or equivalent on your system and you're not sure
   6392 # whether `pass_all' will *always* work, you probably want this one.
   6393 
   6394 case $host_os in
   6395 aix[4-9]*)
   6396   lt_cv_deplibs_check_method=pass_all
   6397   ;;
   6398 
   6399 beos*)
   6400   lt_cv_deplibs_check_method=pass_all
   6401   ;;
   6402 
   6403 bsdi[45]*)
   6404   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6405   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6406   lt_cv_file_magic_test_file=/shlib/libc.so
   6407   ;;
   6408 
   6409 cygwin*)
   6410   # func_win32_libid is a shell function defined in ltmain.sh
   6411   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6412   lt_cv_file_magic_cmd='func_win32_libid'
   6413   ;;
   6414 
   6415 mingw* | pw32*)
   6416   # Base MSYS/MinGW do not provide the 'file' command needed by
   6417   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6418   # unless we find 'file', for example because we are cross-compiling.
   6419   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6420   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6421     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6422     lt_cv_file_magic_cmd='func_win32_libid'
   6423   else
   6424     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6425     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6426   fi
   6427   ;;
   6428 
   6429 cegcc*)
   6430   # use the weaker test based on 'objdump'. See mingw*.
   6431   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6432   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6433   ;;
   6434 
   6435 darwin* | rhapsody*)
   6436   lt_cv_deplibs_check_method=pass_all
   6437   ;;
   6438 
   6439 freebsd* | dragonfly*)
   6440   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6441     case $host_cpu in
   6442     i*86 )
   6443       # Not sure whether the presence of OpenBSD here was a mistake.
   6444       # Let's accept both of them until this is cleared up.
   6445       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6446       lt_cv_file_magic_cmd=/usr/bin/file
   6447       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6448       ;;
   6449     esac
   6450   else
   6451     lt_cv_deplibs_check_method=pass_all
   6452   fi
   6453   ;;
   6454 
   6455 gnu*)
   6456   lt_cv_deplibs_check_method=pass_all
   6457   ;;
   6458 
   6459 haiku*)
   6460   lt_cv_deplibs_check_method=pass_all
   6461   ;;
   6462 
   6463 hpux10.20* | hpux11*)
   6464   lt_cv_file_magic_cmd=/usr/bin/file
   6465   case $host_cpu in
   6466   ia64*)
   6467     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6468     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6469     ;;
   6470   hppa*64*)
   6471     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]'
   6472     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6473     ;;
   6474   *)
   6475     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6476     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6477     ;;
   6478   esac
   6479   ;;
   6480 
   6481 interix[3-9]*)
   6482   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6483   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6484   ;;
   6485 
   6486 irix5* | irix6* | nonstopux*)
   6487   case $LD in
   6488   *-32|*"-32 ") libmagic=32-bit;;
   6489   *-n32|*"-n32 ") libmagic=N32;;
   6490   *-64|*"-64 ") libmagic=64-bit;;
   6491   *) libmagic=never-match;;
   6492   esac
   6493   lt_cv_deplibs_check_method=pass_all
   6494   ;;
   6495 
   6496 # This must be Linux ELF.
   6497 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   6498   lt_cv_deplibs_check_method=pass_all
   6499   ;;
   6500 
   6501 netbsd*)
   6502   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6503     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6504   else
   6505     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6506   fi
   6507   ;;
   6508 
   6509 newos6*)
   6510   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6511   lt_cv_file_magic_cmd=/usr/bin/file
   6512   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6513   ;;
   6514 
   6515 *nto* | *qnx*)
   6516   lt_cv_deplibs_check_method=pass_all
   6517   ;;
   6518 
   6519 openbsd*)
   6520   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6521     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6522   else
   6523     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6524   fi
   6525   ;;
   6526 
   6527 osf3* | osf4* | osf5*)
   6528   lt_cv_deplibs_check_method=pass_all
   6529   ;;
   6530 
   6531 rdos*)
   6532   lt_cv_deplibs_check_method=pass_all
   6533   ;;
   6534 
   6535 solaris*)
   6536   lt_cv_deplibs_check_method=pass_all
   6537   ;;
   6538 
   6539 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6540   lt_cv_deplibs_check_method=pass_all
   6541   ;;
   6542 
   6543 sysv4 | sysv4.3*)
   6544   case $host_vendor in
   6545   motorola)
   6546     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]'
   6547     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6548     ;;
   6549   ncr)
   6550     lt_cv_deplibs_check_method=pass_all
   6551     ;;
   6552   sequent)
   6553     lt_cv_file_magic_cmd='/bin/file'
   6554     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6555     ;;
   6556   sni)
   6557     lt_cv_file_magic_cmd='/bin/file'
   6558     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6559     lt_cv_file_magic_test_file=/lib/libc.so
   6560     ;;
   6561   siemens)
   6562     lt_cv_deplibs_check_method=pass_all
   6563     ;;
   6564   pc)
   6565     lt_cv_deplibs_check_method=pass_all
   6566     ;;
   6567   esac
   6568   ;;
   6569 
   6570 tpf*)
   6571   lt_cv_deplibs_check_method=pass_all
   6572   ;;
   6573 vxworks*)
   6574   # Assume VxWorks cross toolchains are built on Linux, possibly
   6575   # as canadian for Windows hosts.
   6576   lt_cv_deplibs_check_method=pass_all
   6577   ;;
   6578 esac
   6579 
   6580 fi
   6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6582 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6583 file_magic_cmd=$lt_cv_file_magic_cmd
   6584 deplibs_check_method=$lt_cv_deplibs_check_method
   6585 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 
   6596 
   6597 
   6598 plugin_option=
   6599 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6600 for plugin in $plugin_names; do
   6601   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6602   if test x$plugin_so = x$plugin; then
   6603     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6604   fi
   6605   if test x$plugin_so != x$plugin; then
   6606     plugin_option="--plugin $plugin_so"
   6607     break
   6608   fi
   6609 done
   6610 
   6611 if test -n "$ac_tool_prefix"; then
   6612   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6613 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6615 $as_echo_n "checking for $ac_word... " >&6; }
   6616 if ${ac_cv_prog_AR+:} false; then :
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   if test -n "$AR"; then
   6620   ac_cv_prog_AR="$AR" # Let the user override the test.
   6621 else
   6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6623 for as_dir in $PATH
   6624 do
   6625   IFS=$as_save_IFS
   6626   test -z "$as_dir" && as_dir=.
   6627     for ac_exec_ext in '' $ac_executable_extensions; do
   6628   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6629     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6631     break 2
   6632   fi
   6633 done
   6634   done
   6635 IFS=$as_save_IFS
   6636 
   6637 fi
   6638 fi
   6639 AR=$ac_cv_prog_AR
   6640 if test -n "$AR"; then
   6641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6642 $as_echo "$AR" >&6; }
   6643 else
   6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6645 $as_echo "no" >&6; }
   6646 fi
   6647 
   6648 
   6649 fi
   6650 if test -z "$ac_cv_prog_AR"; then
   6651   ac_ct_AR=$AR
   6652   # Extract the first word of "ar", so it can be a program name with args.
   6653 set dummy ar; ac_word=$2
   6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6655 $as_echo_n "checking for $ac_word... " >&6; }
   6656 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6657   $as_echo_n "(cached) " >&6
   6658 else
   6659   if test -n "$ac_ct_AR"; then
   6660   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6661 else
   6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6663 for as_dir in $PATH
   6664 do
   6665   IFS=$as_save_IFS
   6666   test -z "$as_dir" && as_dir=.
   6667     for ac_exec_ext in '' $ac_executable_extensions; do
   6668   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6669     ac_cv_prog_ac_ct_AR="ar"
   6670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6671     break 2
   6672   fi
   6673 done
   6674   done
   6675 IFS=$as_save_IFS
   6676 
   6677 fi
   6678 fi
   6679 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6680 if test -n "$ac_ct_AR"; then
   6681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6682 $as_echo "$ac_ct_AR" >&6; }
   6683 else
   6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6685 $as_echo "no" >&6; }
   6686 fi
   6687 
   6688   if test "x$ac_ct_AR" = x; then
   6689     AR="false"
   6690   else
   6691     case $cross_compiling:$ac_tool_warned in
   6692 yes:)
   6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6695 ac_tool_warned=yes ;;
   6696 esac
   6697     AR=$ac_ct_AR
   6698   fi
   6699 else
   6700   AR="$ac_cv_prog_AR"
   6701 fi
   6702 
   6703 test -z "$AR" && AR=ar
   6704 if test -n "$plugin_option"; then
   6705   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6706     touch conftest.c
   6707     $AR $plugin_option rc conftest.a conftest.c
   6708     if test "$?" != 0; then
   6709       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6710 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6711     else
   6712       AR="$AR $plugin_option"
   6713     fi
   6714     rm -f conftest.*
   6715   fi
   6716 fi
   6717 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 
   6726 
   6727 
   6728 
   6729 if test -n "$ac_tool_prefix"; then
   6730   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6731 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6733 $as_echo_n "checking for $ac_word... " >&6; }
   6734 if ${ac_cv_prog_STRIP+:} false; then :
   6735   $as_echo_n "(cached) " >&6
   6736 else
   6737   if test -n "$STRIP"; then
   6738   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6739 else
   6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6741 for as_dir in $PATH
   6742 do
   6743   IFS=$as_save_IFS
   6744   test -z "$as_dir" && as_dir=.
   6745     for ac_exec_ext in '' $ac_executable_extensions; do
   6746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6747     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6749     break 2
   6750   fi
   6751 done
   6752   done
   6753 IFS=$as_save_IFS
   6754 
   6755 fi
   6756 fi
   6757 STRIP=$ac_cv_prog_STRIP
   6758 if test -n "$STRIP"; then
   6759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6760 $as_echo "$STRIP" >&6; }
   6761 else
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6763 $as_echo "no" >&6; }
   6764 fi
   6765 
   6766 
   6767 fi
   6768 if test -z "$ac_cv_prog_STRIP"; then
   6769   ac_ct_STRIP=$STRIP
   6770   # Extract the first word of "strip", so it can be a program name with args.
   6771 set dummy strip; ac_word=$2
   6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6773 $as_echo_n "checking for $ac_word... " >&6; }
   6774 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6775   $as_echo_n "(cached) " >&6
   6776 else
   6777   if test -n "$ac_ct_STRIP"; then
   6778   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6779 else
   6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6781 for as_dir in $PATH
   6782 do
   6783   IFS=$as_save_IFS
   6784   test -z "$as_dir" && as_dir=.
   6785     for ac_exec_ext in '' $ac_executable_extensions; do
   6786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6787     ac_cv_prog_ac_ct_STRIP="strip"
   6788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6789     break 2
   6790   fi
   6791 done
   6792   done
   6793 IFS=$as_save_IFS
   6794 
   6795 fi
   6796 fi
   6797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6798 if test -n "$ac_ct_STRIP"; then
   6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6800 $as_echo "$ac_ct_STRIP" >&6; }
   6801 else
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6803 $as_echo "no" >&6; }
   6804 fi
   6805 
   6806   if test "x$ac_ct_STRIP" = x; then
   6807     STRIP=":"
   6808   else
   6809     case $cross_compiling:$ac_tool_warned in
   6810 yes:)
   6811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6813 ac_tool_warned=yes ;;
   6814 esac
   6815     STRIP=$ac_ct_STRIP
   6816   fi
   6817 else
   6818   STRIP="$ac_cv_prog_STRIP"
   6819 fi
   6820 
   6821 test -z "$STRIP" && STRIP=:
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 if test -n "$ac_tool_prefix"; then
   6829   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6830 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6832 $as_echo_n "checking for $ac_word... " >&6; }
   6833 if ${ac_cv_prog_RANLIB+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   if test -n "$RANLIB"; then
   6837   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6838 else
   6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6840 for as_dir in $PATH
   6841 do
   6842   IFS=$as_save_IFS
   6843   test -z "$as_dir" && as_dir=.
   6844     for ac_exec_ext in '' $ac_executable_extensions; do
   6845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6846     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6848     break 2
   6849   fi
   6850 done
   6851   done
   6852 IFS=$as_save_IFS
   6853 
   6854 fi
   6855 fi
   6856 RANLIB=$ac_cv_prog_RANLIB
   6857 if test -n "$RANLIB"; then
   6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6859 $as_echo "$RANLIB" >&6; }
   6860 else
   6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6862 $as_echo "no" >&6; }
   6863 fi
   6864 
   6865 
   6866 fi
   6867 if test -z "$ac_cv_prog_RANLIB"; then
   6868   ac_ct_RANLIB=$RANLIB
   6869   # Extract the first word of "ranlib", so it can be a program name with args.
   6870 set dummy ranlib; ac_word=$2
   6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6872 $as_echo_n "checking for $ac_word... " >&6; }
   6873 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6874   $as_echo_n "(cached) " >&6
   6875 else
   6876   if test -n "$ac_ct_RANLIB"; then
   6877   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6878 else
   6879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6880 for as_dir in $PATH
   6881 do
   6882   IFS=$as_save_IFS
   6883   test -z "$as_dir" && as_dir=.
   6884     for ac_exec_ext in '' $ac_executable_extensions; do
   6885   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6886     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6887     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6888     break 2
   6889   fi
   6890 done
   6891   done
   6892 IFS=$as_save_IFS
   6893 
   6894 fi
   6895 fi
   6896 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6897 if test -n "$ac_ct_RANLIB"; then
   6898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6899 $as_echo "$ac_ct_RANLIB" >&6; }
   6900 else
   6901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6902 $as_echo "no" >&6; }
   6903 fi
   6904 
   6905   if test "x$ac_ct_RANLIB" = x; then
   6906     RANLIB=":"
   6907   else
   6908     case $cross_compiling:$ac_tool_warned in
   6909 yes:)
   6910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6912 ac_tool_warned=yes ;;
   6913 esac
   6914     RANLIB=$ac_ct_RANLIB
   6915   fi
   6916 else
   6917   RANLIB="$ac_cv_prog_RANLIB"
   6918 fi
   6919 
   6920 test -z "$RANLIB" && RANLIB=:
   6921 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6922   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6923     RANLIB="$RANLIB $plugin_option"
   6924   fi
   6925 fi
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 # Determine commands to create old-style static archives.
   6933 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6934 old_postinstall_cmds='chmod 644 $oldlib'
   6935 old_postuninstall_cmds=
   6936 
   6937 if test -n "$RANLIB"; then
   6938   case $host_os in
   6939   openbsd*)
   6940     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6941     ;;
   6942   *)
   6943     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6944     ;;
   6945   esac
   6946   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6947 fi
   6948 
   6949 case $host_os in
   6950   darwin*)
   6951     lock_old_archive_extraction=yes ;;
   6952   *)
   6953     lock_old_archive_extraction=no ;;
   6954 esac
   6955 
   6956 
   6957 
   6958 
   6959 
   6960 
   6961 
   6962 
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 # If no C compiler was specified, use CC.
   6995 LTCC=${LTCC-"$CC"}
   6996 
   6997 # If no C compiler flags were specified, use CFLAGS.
   6998 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6999 
   7000 # Allow CC to be a program name with arguments.
   7001 compiler=$CC
   7002 
   7003 
   7004 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7006 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7007 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7008   $as_echo_n "(cached) " >&6
   7009 else
   7010 
   7011 # These are sane defaults that work on at least a few old systems.
   7012 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7013 
   7014 # Character class describing NM global symbol codes.
   7015 symcode='[BCDEGRST]'
   7016 
   7017 # Regexp to match symbols that can be accessed directly from C.
   7018 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7019 
   7020 # Define system-specific variables.
   7021 case $host_os in
   7022 aix*)
   7023   symcode='[BCDT]'
   7024   ;;
   7025 cygwin* | mingw* | pw32* | cegcc*)
   7026   symcode='[ABCDGISTW]'
   7027   ;;
   7028 hpux*)
   7029   if test "$host_cpu" = ia64; then
   7030     symcode='[ABCDEGRST]'
   7031   fi
   7032   ;;
   7033 irix* | nonstopux*)
   7034   symcode='[BCDEGRST]'
   7035   ;;
   7036 osf*)
   7037   symcode='[BCDEGQRST]'
   7038   ;;
   7039 solaris*)
   7040   symcode='[BCDRT]'
   7041   ;;
   7042 sco3.2v5*)
   7043   symcode='[DT]'
   7044   ;;
   7045 sysv4.2uw2*)
   7046   symcode='[DT]'
   7047   ;;
   7048 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7049   symcode='[ABDT]'
   7050   ;;
   7051 sysv4)
   7052   symcode='[DFNSTU]'
   7053   ;;
   7054 esac
   7055 
   7056 # If we're using GNU nm, then use its standard symbol codes.
   7057 case `$NM -V 2>&1` in
   7058 *GNU* | *'with BFD'*)
   7059   symcode='[ABCDGIRSTW]' ;;
   7060 esac
   7061 
   7062 # Transform an extracted symbol line into a proper C declaration.
   7063 # Some systems (esp. on ia64) link data and code symbols differently,
   7064 # so use this general approach.
   7065 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7066 
   7067 # Transform an extracted symbol line into symbol name and symbol address
   7068 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7069 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'"
   7070 
   7071 # Handle CRLF in mingw tool chain
   7072 opt_cr=
   7073 case $build_os in
   7074 mingw*)
   7075   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7076   ;;
   7077 esac
   7078 
   7079 # Try without a prefix underscore, then with it.
   7080 for ac_symprfx in "" "_"; do
   7081 
   7082   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7083   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7084 
   7085   # Write the raw and C identifiers.
   7086   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7087     # Fake it for dumpbin and say T for any non-static function
   7088     # and D for any global variable.
   7089     # Also find C++ and __fastcall symbols from MSVC++,
   7090     # which start with @ or ?.
   7091     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7092 "     {last_section=section; section=\$ 3};"\
   7093 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7094 "     \$ 0!~/External *\|/{next};"\
   7095 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7096 "     {if(hide[section]) next};"\
   7097 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7098 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7099 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7100 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7101 "     ' prfx=^$ac_symprfx"
   7102   else
   7103     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7104   fi
   7105 
   7106   # Check to see that the pipe works correctly.
   7107   pipe_works=no
   7108 
   7109   rm -f conftest*
   7110   cat > conftest.$ac_ext <<_LT_EOF
   7111 #ifdef __cplusplus
   7112 extern "C" {
   7113 #endif
   7114 char nm_test_var;
   7115 void nm_test_func(void);
   7116 void nm_test_func(void){}
   7117 #ifdef __cplusplus
   7118 }
   7119 #endif
   7120 int main(){nm_test_var='a';nm_test_func();return(0);}
   7121 _LT_EOF
   7122 
   7123   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7124   (eval $ac_compile) 2>&5
   7125   ac_status=$?
   7126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7127   test $ac_status = 0; }; then
   7128     # Now try to grab the symbols.
   7129     nlist=conftest.nm
   7130     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7131   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7132   ac_status=$?
   7133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7134   test $ac_status = 0; } && test -s "$nlist"; then
   7135       # Try sorting and uniquifying the output.
   7136       if sort "$nlist" | uniq > "$nlist"T; then
   7137 	mv -f "$nlist"T "$nlist"
   7138       else
   7139 	rm -f "$nlist"T
   7140       fi
   7141 
   7142       # Make sure that we snagged all the symbols we need.
   7143       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7144 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7145 	  cat <<_LT_EOF > conftest.$ac_ext
   7146 #ifdef __cplusplus
   7147 extern "C" {
   7148 #endif
   7149 
   7150 _LT_EOF
   7151 	  # Now generate the symbol file.
   7152 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7153 
   7154 	  cat <<_LT_EOF >> conftest.$ac_ext
   7155 
   7156 /* The mapping between symbol names and symbols.  */
   7157 const struct {
   7158   const char *name;
   7159   void       *address;
   7160 }
   7161 lt__PROGRAM__LTX_preloaded_symbols[] =
   7162 {
   7163   { "@PROGRAM@", (void *) 0 },
   7164 _LT_EOF
   7165 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7166 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7167   {0, (void *) 0}
   7168 };
   7169 
   7170 /* This works around a problem in FreeBSD linker */
   7171 #ifdef FREEBSD_WORKAROUND
   7172 static const void *lt_preloaded_setup() {
   7173   return lt__PROGRAM__LTX_preloaded_symbols;
   7174 }
   7175 #endif
   7176 
   7177 #ifdef __cplusplus
   7178 }
   7179 #endif
   7180 _LT_EOF
   7181 	  # Now try linking the two files.
   7182 	  mv conftest.$ac_objext conftstm.$ac_objext
   7183 	  lt_save_LIBS="$LIBS"
   7184 	  lt_save_CFLAGS="$CFLAGS"
   7185 	  LIBS="conftstm.$ac_objext"
   7186 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7187 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7188   (eval $ac_link) 2>&5
   7189   ac_status=$?
   7190   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7191   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7192 	    pipe_works=yes
   7193 	  fi
   7194 	  LIBS="$lt_save_LIBS"
   7195 	  CFLAGS="$lt_save_CFLAGS"
   7196 	else
   7197 	  echo "cannot find nm_test_func in $nlist" >&5
   7198 	fi
   7199       else
   7200 	echo "cannot find nm_test_var in $nlist" >&5
   7201       fi
   7202     else
   7203       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7204     fi
   7205   else
   7206     echo "$progname: failed program was:" >&5
   7207     cat conftest.$ac_ext >&5
   7208   fi
   7209   rm -rf conftest* conftst*
   7210 
   7211   # Do not use the global_symbol_pipe unless it works.
   7212   if test "$pipe_works" = yes; then
   7213     break
   7214   else
   7215     lt_cv_sys_global_symbol_pipe=
   7216   fi
   7217 done
   7218 
   7219 fi
   7220 
   7221 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7222   lt_cv_sys_global_symbol_to_cdecl=
   7223 fi
   7224 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7226 $as_echo "failed" >&6; }
   7227 else
   7228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7229 $as_echo "ok" >&6; }
   7230 fi
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 
   7246 
   7247 
   7248 
   7249 
   7250 
   7251 
   7252 
   7253 # Check whether --enable-libtool-lock was given.
   7254 if test "${enable_libtool_lock+set}" = set; then :
   7255   enableval=$enable_libtool_lock;
   7256 fi
   7257 
   7258 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7259 
   7260 # Some flags need to be propagated to the compiler or linker for good
   7261 # libtool support.
   7262 case $host in
   7263 ia64-*-hpux*)
   7264   # Find out which ABI we are using.
   7265   echo 'int i;' > conftest.$ac_ext
   7266   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7267   (eval $ac_compile) 2>&5
   7268   ac_status=$?
   7269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7270   test $ac_status = 0; }; then
   7271     case `/usr/bin/file conftest.$ac_objext` in
   7272       *ELF-32*)
   7273 	HPUX_IA64_MODE="32"
   7274 	;;
   7275       *ELF-64*)
   7276 	HPUX_IA64_MODE="64"
   7277 	;;
   7278     esac
   7279   fi
   7280   rm -rf conftest*
   7281   ;;
   7282 *-*-irix6*)
   7283   # Find out which ABI we are using.
   7284   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7285   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7286   (eval $ac_compile) 2>&5
   7287   ac_status=$?
   7288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7289   test $ac_status = 0; }; then
   7290     if test "$lt_cv_prog_gnu_ld" = yes; then
   7291       case `/usr/bin/file conftest.$ac_objext` in
   7292 	*32-bit*)
   7293 	  LD="${LD-ld} -melf32bsmip"
   7294 	  ;;
   7295 	*N32*)
   7296 	  LD="${LD-ld} -melf32bmipn32"
   7297 	  ;;
   7298 	*64-bit*)
   7299 	  LD="${LD-ld} -melf64bmip"
   7300 	;;
   7301       esac
   7302     else
   7303       case `/usr/bin/file conftest.$ac_objext` in
   7304 	*32-bit*)
   7305 	  LD="${LD-ld} -32"
   7306 	  ;;
   7307 	*N32*)
   7308 	  LD="${LD-ld} -n32"
   7309 	  ;;
   7310 	*64-bit*)
   7311 	  LD="${LD-ld} -64"
   7312 	  ;;
   7313       esac
   7314     fi
   7315   fi
   7316   rm -rf conftest*
   7317   ;;
   7318 
   7319 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7320 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7321   # Find out which ABI we are using.
   7322   echo 'int i;' > conftest.$ac_ext
   7323   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7324   (eval $ac_compile) 2>&5
   7325   ac_status=$?
   7326   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7327   test $ac_status = 0; }; then
   7328     case `/usr/bin/file conftest.o` in
   7329       *32-bit*)
   7330 	case $host in
   7331 	  x86_64-*kfreebsd*-gnu)
   7332 	    LD="${LD-ld} -m elf_i386_fbsd"
   7333 	    ;;
   7334 	  x86_64-*linux*)
   7335 	    case `/usr/bin/file conftest.o` in
   7336 	      *x86-64*)
   7337 		LD="${LD-ld} -m elf32_x86_64"
   7338 		;;
   7339 	      *)
   7340 		LD="${LD-ld} -m elf_i386"
   7341 		;;
   7342 	    esac
   7343 	    ;;
   7344 	  powerpc64le-*linux*)
   7345 	    LD="${LD-ld} -m elf32lppclinux"
   7346 	    ;;
   7347 	  powerpc64-*linux*)
   7348 	    LD="${LD-ld} -m elf32ppclinux"
   7349 	    ;;
   7350 	  s390x-*linux*)
   7351 	    LD="${LD-ld} -m elf_s390"
   7352 	    ;;
   7353 	  sparc64-*linux*)
   7354 	    LD="${LD-ld} -m elf32_sparc"
   7355 	    ;;
   7356 	esac
   7357 	;;
   7358       *64-bit*)
   7359 	case $host in
   7360 	  x86_64-*kfreebsd*-gnu)
   7361 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7362 	    ;;
   7363 	  x86_64-*linux*)
   7364 	    LD="${LD-ld} -m elf_x86_64"
   7365 	    ;;
   7366 	  powerpcle-*linux*)
   7367 	    LD="${LD-ld} -m elf64lppc"
   7368 	    ;;
   7369 	  powerpc-*linux*)
   7370 	    LD="${LD-ld} -m elf64ppc"
   7371 	    ;;
   7372 	  s390*-*linux*|s390*-*tpf*)
   7373 	    LD="${LD-ld} -m elf64_s390"
   7374 	    ;;
   7375 	  sparc*-*linux*)
   7376 	    LD="${LD-ld} -m elf64_sparc"
   7377 	    ;;
   7378 	esac
   7379 	;;
   7380     esac
   7381   fi
   7382   rm -rf conftest*
   7383   ;;
   7384 
   7385 *-*-sco3.2v5*)
   7386   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7387   SAVE_CFLAGS="$CFLAGS"
   7388   CFLAGS="$CFLAGS -belf"
   7389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7390 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7391 if ${lt_cv_cc_needs_belf+:} false; then :
   7392   $as_echo_n "(cached) " >&6
   7393 else
   7394   ac_ext=c
   7395 ac_cpp='$CPP $CPPFLAGS'
   7396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7399 
   7400      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7401 /* end confdefs.h.  */
   7402 
   7403 int
   7404 main ()
   7405 {
   7406 
   7407   ;
   7408   return 0;
   7409 }
   7410 _ACEOF
   7411 if ac_fn_c_try_link "$LINENO"; then :
   7412   lt_cv_cc_needs_belf=yes
   7413 else
   7414   lt_cv_cc_needs_belf=no
   7415 fi
   7416 rm -f core conftest.err conftest.$ac_objext \
   7417     conftest$ac_exeext conftest.$ac_ext
   7418      ac_ext=c
   7419 ac_cpp='$CPP $CPPFLAGS'
   7420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7423 
   7424 fi
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7426 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7427   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7428     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7429     CFLAGS="$SAVE_CFLAGS"
   7430   fi
   7431   ;;
   7432 sparc*-*solaris*)
   7433   # Find out which ABI we are using.
   7434   echo 'int i;' > conftest.$ac_ext
   7435   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7436   (eval $ac_compile) 2>&5
   7437   ac_status=$?
   7438   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7439   test $ac_status = 0; }; then
   7440     case `/usr/bin/file conftest.o` in
   7441     *64-bit*)
   7442       case $lt_cv_prog_gnu_ld in
   7443       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7444       *)
   7445 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7446 	  LD="${LD-ld} -64"
   7447 	fi
   7448 	;;
   7449       esac
   7450       ;;
   7451     esac
   7452   fi
   7453   rm -rf conftest*
   7454   ;;
   7455 esac
   7456 
   7457 need_locks="$enable_libtool_lock"
   7458 
   7459 
   7460   case $host_os in
   7461     rhapsody* | darwin*)
   7462     if test -n "$ac_tool_prefix"; then
   7463   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7464 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7466 $as_echo_n "checking for $ac_word... " >&6; }
   7467 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7468   $as_echo_n "(cached) " >&6
   7469 else
   7470   if test -n "$DSYMUTIL"; then
   7471   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7472 else
   7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7474 for as_dir in $PATH
   7475 do
   7476   IFS=$as_save_IFS
   7477   test -z "$as_dir" && as_dir=.
   7478     for ac_exec_ext in '' $ac_executable_extensions; do
   7479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7480     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7482     break 2
   7483   fi
   7484 done
   7485   done
   7486 IFS=$as_save_IFS
   7487 
   7488 fi
   7489 fi
   7490 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7491 if test -n "$DSYMUTIL"; then
   7492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7493 $as_echo "$DSYMUTIL" >&6; }
   7494 else
   7495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7496 $as_echo "no" >&6; }
   7497 fi
   7498 
   7499 
   7500 fi
   7501 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7502   ac_ct_DSYMUTIL=$DSYMUTIL
   7503   # Extract the first word of "dsymutil", so it can be a program name with args.
   7504 set dummy dsymutil; ac_word=$2
   7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7506 $as_echo_n "checking for $ac_word... " >&6; }
   7507 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7508   $as_echo_n "(cached) " >&6
   7509 else
   7510   if test -n "$ac_ct_DSYMUTIL"; then
   7511   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7512 else
   7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7514 for as_dir in $PATH
   7515 do
   7516   IFS=$as_save_IFS
   7517   test -z "$as_dir" && as_dir=.
   7518     for ac_exec_ext in '' $ac_executable_extensions; do
   7519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7520     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7522     break 2
   7523   fi
   7524 done
   7525   done
   7526 IFS=$as_save_IFS
   7527 
   7528 fi
   7529 fi
   7530 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7531 if test -n "$ac_ct_DSYMUTIL"; then
   7532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7533 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7534 else
   7535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7536 $as_echo "no" >&6; }
   7537 fi
   7538 
   7539   if test "x$ac_ct_DSYMUTIL" = x; then
   7540     DSYMUTIL=":"
   7541   else
   7542     case $cross_compiling:$ac_tool_warned in
   7543 yes:)
   7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7546 ac_tool_warned=yes ;;
   7547 esac
   7548     DSYMUTIL=$ac_ct_DSYMUTIL
   7549   fi
   7550 else
   7551   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7552 fi
   7553 
   7554     if test -n "$ac_tool_prefix"; then
   7555   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7556 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7558 $as_echo_n "checking for $ac_word... " >&6; }
   7559 if ${ac_cv_prog_NMEDIT+:} false; then :
   7560   $as_echo_n "(cached) " >&6
   7561 else
   7562   if test -n "$NMEDIT"; then
   7563   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7564 else
   7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7566 for as_dir in $PATH
   7567 do
   7568   IFS=$as_save_IFS
   7569   test -z "$as_dir" && as_dir=.
   7570     for ac_exec_ext in '' $ac_executable_extensions; do
   7571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7572     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7574     break 2
   7575   fi
   7576 done
   7577   done
   7578 IFS=$as_save_IFS
   7579 
   7580 fi
   7581 fi
   7582 NMEDIT=$ac_cv_prog_NMEDIT
   7583 if test -n "$NMEDIT"; then
   7584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7585 $as_echo "$NMEDIT" >&6; }
   7586 else
   7587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7588 $as_echo "no" >&6; }
   7589 fi
   7590 
   7591 
   7592 fi
   7593 if test -z "$ac_cv_prog_NMEDIT"; then
   7594   ac_ct_NMEDIT=$NMEDIT
   7595   # Extract the first word of "nmedit", so it can be a program name with args.
   7596 set dummy nmedit; ac_word=$2
   7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7598 $as_echo_n "checking for $ac_word... " >&6; }
   7599 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7600   $as_echo_n "(cached) " >&6
   7601 else
   7602   if test -n "$ac_ct_NMEDIT"; then
   7603   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7604 else
   7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7606 for as_dir in $PATH
   7607 do
   7608   IFS=$as_save_IFS
   7609   test -z "$as_dir" && as_dir=.
   7610     for ac_exec_ext in '' $ac_executable_extensions; do
   7611   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7612     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7613     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7614     break 2
   7615   fi
   7616 done
   7617   done
   7618 IFS=$as_save_IFS
   7619 
   7620 fi
   7621 fi
   7622 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7623 if test -n "$ac_ct_NMEDIT"; then
   7624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7625 $as_echo "$ac_ct_NMEDIT" >&6; }
   7626 else
   7627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7628 $as_echo "no" >&6; }
   7629 fi
   7630 
   7631   if test "x$ac_ct_NMEDIT" = x; then
   7632     NMEDIT=":"
   7633   else
   7634     case $cross_compiling:$ac_tool_warned in
   7635 yes:)
   7636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7638 ac_tool_warned=yes ;;
   7639 esac
   7640     NMEDIT=$ac_ct_NMEDIT
   7641   fi
   7642 else
   7643   NMEDIT="$ac_cv_prog_NMEDIT"
   7644 fi
   7645 
   7646     if test -n "$ac_tool_prefix"; then
   7647   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7648 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7650 $as_echo_n "checking for $ac_word... " >&6; }
   7651 if ${ac_cv_prog_LIPO+:} false; then :
   7652   $as_echo_n "(cached) " >&6
   7653 else
   7654   if test -n "$LIPO"; then
   7655   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7656 else
   7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7658 for as_dir in $PATH
   7659 do
   7660   IFS=$as_save_IFS
   7661   test -z "$as_dir" && as_dir=.
   7662     for ac_exec_ext in '' $ac_executable_extensions; do
   7663   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7664     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7666     break 2
   7667   fi
   7668 done
   7669   done
   7670 IFS=$as_save_IFS
   7671 
   7672 fi
   7673 fi
   7674 LIPO=$ac_cv_prog_LIPO
   7675 if test -n "$LIPO"; then
   7676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7677 $as_echo "$LIPO" >&6; }
   7678 else
   7679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7680 $as_echo "no" >&6; }
   7681 fi
   7682 
   7683 
   7684 fi
   7685 if test -z "$ac_cv_prog_LIPO"; then
   7686   ac_ct_LIPO=$LIPO
   7687   # Extract the first word of "lipo", so it can be a program name with args.
   7688 set dummy lipo; ac_word=$2
   7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7690 $as_echo_n "checking for $ac_word... " >&6; }
   7691 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7692   $as_echo_n "(cached) " >&6
   7693 else
   7694   if test -n "$ac_ct_LIPO"; then
   7695   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7696 else
   7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7698 for as_dir in $PATH
   7699 do
   7700   IFS=$as_save_IFS
   7701   test -z "$as_dir" && as_dir=.
   7702     for ac_exec_ext in '' $ac_executable_extensions; do
   7703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7704     ac_cv_prog_ac_ct_LIPO="lipo"
   7705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7706     break 2
   7707   fi
   7708 done
   7709   done
   7710 IFS=$as_save_IFS
   7711 
   7712 fi
   7713 fi
   7714 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7715 if test -n "$ac_ct_LIPO"; then
   7716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7717 $as_echo "$ac_ct_LIPO" >&6; }
   7718 else
   7719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7720 $as_echo "no" >&6; }
   7721 fi
   7722 
   7723   if test "x$ac_ct_LIPO" = x; then
   7724     LIPO=":"
   7725   else
   7726     case $cross_compiling:$ac_tool_warned in
   7727 yes:)
   7728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7730 ac_tool_warned=yes ;;
   7731 esac
   7732     LIPO=$ac_ct_LIPO
   7733   fi
   7734 else
   7735   LIPO="$ac_cv_prog_LIPO"
   7736 fi
   7737 
   7738     if test -n "$ac_tool_prefix"; then
   7739   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7740 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7742 $as_echo_n "checking for $ac_word... " >&6; }
   7743 if ${ac_cv_prog_OTOOL+:} false; then :
   7744   $as_echo_n "(cached) " >&6
   7745 else
   7746   if test -n "$OTOOL"; then
   7747   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7748 else
   7749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7750 for as_dir in $PATH
   7751 do
   7752   IFS=$as_save_IFS
   7753   test -z "$as_dir" && as_dir=.
   7754     for ac_exec_ext in '' $ac_executable_extensions; do
   7755   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7756     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7757     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7758     break 2
   7759   fi
   7760 done
   7761   done
   7762 IFS=$as_save_IFS
   7763 
   7764 fi
   7765 fi
   7766 OTOOL=$ac_cv_prog_OTOOL
   7767 if test -n "$OTOOL"; then
   7768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7769 $as_echo "$OTOOL" >&6; }
   7770 else
   7771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7772 $as_echo "no" >&6; }
   7773 fi
   7774 
   7775 
   7776 fi
   7777 if test -z "$ac_cv_prog_OTOOL"; then
   7778   ac_ct_OTOOL=$OTOOL
   7779   # Extract the first word of "otool", so it can be a program name with args.
   7780 set dummy otool; ac_word=$2
   7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7782 $as_echo_n "checking for $ac_word... " >&6; }
   7783 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7784   $as_echo_n "(cached) " >&6
   7785 else
   7786   if test -n "$ac_ct_OTOOL"; then
   7787   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7788 else
   7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7790 for as_dir in $PATH
   7791 do
   7792   IFS=$as_save_IFS
   7793   test -z "$as_dir" && as_dir=.
   7794     for ac_exec_ext in '' $ac_executable_extensions; do
   7795   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7796     ac_cv_prog_ac_ct_OTOOL="otool"
   7797     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7798     break 2
   7799   fi
   7800 done
   7801   done
   7802 IFS=$as_save_IFS
   7803 
   7804 fi
   7805 fi
   7806 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7807 if test -n "$ac_ct_OTOOL"; then
   7808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7809 $as_echo "$ac_ct_OTOOL" >&6; }
   7810 else
   7811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7812 $as_echo "no" >&6; }
   7813 fi
   7814 
   7815   if test "x$ac_ct_OTOOL" = x; then
   7816     OTOOL=":"
   7817   else
   7818     case $cross_compiling:$ac_tool_warned in
   7819 yes:)
   7820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7822 ac_tool_warned=yes ;;
   7823 esac
   7824     OTOOL=$ac_ct_OTOOL
   7825   fi
   7826 else
   7827   OTOOL="$ac_cv_prog_OTOOL"
   7828 fi
   7829 
   7830     if test -n "$ac_tool_prefix"; then
   7831   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7832 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7834 $as_echo_n "checking for $ac_word... " >&6; }
   7835 if ${ac_cv_prog_OTOOL64+:} false; then :
   7836   $as_echo_n "(cached) " >&6
   7837 else
   7838   if test -n "$OTOOL64"; then
   7839   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7840 else
   7841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7842 for as_dir in $PATH
   7843 do
   7844   IFS=$as_save_IFS
   7845   test -z "$as_dir" && as_dir=.
   7846     for ac_exec_ext in '' $ac_executable_extensions; do
   7847   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7848     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7849     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7850     break 2
   7851   fi
   7852 done
   7853   done
   7854 IFS=$as_save_IFS
   7855 
   7856 fi
   7857 fi
   7858 OTOOL64=$ac_cv_prog_OTOOL64
   7859 if test -n "$OTOOL64"; then
   7860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7861 $as_echo "$OTOOL64" >&6; }
   7862 else
   7863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7864 $as_echo "no" >&6; }
   7865 fi
   7866 
   7867 
   7868 fi
   7869 if test -z "$ac_cv_prog_OTOOL64"; then
   7870   ac_ct_OTOOL64=$OTOOL64
   7871   # Extract the first word of "otool64", so it can be a program name with args.
   7872 set dummy otool64; ac_word=$2
   7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7874 $as_echo_n "checking for $ac_word... " >&6; }
   7875 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7876   $as_echo_n "(cached) " >&6
   7877 else
   7878   if test -n "$ac_ct_OTOOL64"; then
   7879   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7880 else
   7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7882 for as_dir in $PATH
   7883 do
   7884   IFS=$as_save_IFS
   7885   test -z "$as_dir" && as_dir=.
   7886     for ac_exec_ext in '' $ac_executable_extensions; do
   7887   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7888     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7889     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7890     break 2
   7891   fi
   7892 done
   7893   done
   7894 IFS=$as_save_IFS
   7895 
   7896 fi
   7897 fi
   7898 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7899 if test -n "$ac_ct_OTOOL64"; then
   7900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7901 $as_echo "$ac_ct_OTOOL64" >&6; }
   7902 else
   7903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7904 $as_echo "no" >&6; }
   7905 fi
   7906 
   7907   if test "x$ac_ct_OTOOL64" = x; then
   7908     OTOOL64=":"
   7909   else
   7910     case $cross_compiling:$ac_tool_warned in
   7911 yes:)
   7912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7914 ac_tool_warned=yes ;;
   7915 esac
   7916     OTOOL64=$ac_ct_OTOOL64
   7917   fi
   7918 else
   7919   OTOOL64="$ac_cv_prog_OTOOL64"
   7920 fi
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7949 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7950 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7951   $as_echo_n "(cached) " >&6
   7952 else
   7953   lt_cv_apple_cc_single_mod=no
   7954       if test -z "${LT_MULTI_MODULE}"; then
   7955 	# By default we will add the -single_module flag. You can override
   7956 	# by either setting the environment variable LT_MULTI_MODULE
   7957 	# non-empty at configure time, or by adding -multi_module to the
   7958 	# link flags.
   7959 	rm -rf libconftest.dylib*
   7960 	echo "int foo(void){return 1;}" > conftest.c
   7961 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7962 -dynamiclib -Wl,-single_module conftest.c" >&5
   7963 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7964 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7965         _lt_result=$?
   7966 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7967 	  lt_cv_apple_cc_single_mod=yes
   7968 	else
   7969 	  cat conftest.err >&5
   7970 	fi
   7971 	rm -rf libconftest.dylib*
   7972 	rm -f conftest.*
   7973       fi
   7974 fi
   7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7976 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7978 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7979 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7980   $as_echo_n "(cached) " >&6
   7981 else
   7982   lt_cv_ld_exported_symbols_list=no
   7983       save_LDFLAGS=$LDFLAGS
   7984       echo "_main" > conftest.sym
   7985       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7986       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7987 /* end confdefs.h.  */
   7988 
   7989 int
   7990 main ()
   7991 {
   7992 
   7993   ;
   7994   return 0;
   7995 }
   7996 _ACEOF
   7997 if ac_fn_c_try_link "$LINENO"; then :
   7998   lt_cv_ld_exported_symbols_list=yes
   7999 else
   8000   lt_cv_ld_exported_symbols_list=no
   8001 fi
   8002 rm -f core conftest.err conftest.$ac_objext \
   8003     conftest$ac_exeext conftest.$ac_ext
   8004 	LDFLAGS="$save_LDFLAGS"
   8005 
   8006 fi
   8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8008 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8010 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8011 if ${lt_cv_ld_force_load+:} false; then :
   8012   $as_echo_n "(cached) " >&6
   8013 else
   8014   lt_cv_ld_force_load=no
   8015       cat > conftest.c << _LT_EOF
   8016 int forced_loaded() { return 2;}
   8017 _LT_EOF
   8018       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8019       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8020       echo "$AR cru libconftest.a conftest.o" >&5
   8021       $AR cru libconftest.a conftest.o 2>&5
   8022       cat > conftest.c << _LT_EOF
   8023 int main() { return 0;}
   8024 _LT_EOF
   8025       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8026       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8027       _lt_result=$?
   8028       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8029 	lt_cv_ld_force_load=yes
   8030       else
   8031 	cat conftest.err >&5
   8032       fi
   8033         rm -f conftest.err libconftest.a conftest conftest.c
   8034         rm -rf conftest.dSYM
   8035 
   8036 fi
   8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8038 $as_echo "$lt_cv_ld_force_load" >&6; }
   8039     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8040     # build without first building modern cctools / linker.
   8041     case $host_cpu-$host_os in
   8042     *-rhapsody* | *-darwin1.[012])
   8043       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8044     *-darwin1.*)
   8045       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8046     *-darwin*)
   8047       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8048       # deployment target is forced to an earlier version.
   8049       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8050 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8051 	  ;;
   8052 	10.[012][,.]*)
   8053 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8054 	  ;;
   8055 	*)
   8056 	  ;;
   8057      esac
   8058     ;;
   8059   esac
   8060     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8061       _lt_dar_single_mod='$single_module'
   8062     fi
   8063     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8064       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8065     else
   8066       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8067     fi
   8068     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8069       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8070     else
   8071       _lt_dsymutil=
   8072     fi
   8073     ;;
   8074   esac
   8075 
   8076 for ac_header in dlfcn.h
   8077 do :
   8078   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8079 "
   8080 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8081   cat >>confdefs.h <<_ACEOF
   8082 #define HAVE_DLFCN_H 1
   8083 _ACEOF
   8084 
   8085 fi
   8086 
   8087 done
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 # Set options
   8094 
   8095 
   8096 
   8097         enable_dlopen=no
   8098 
   8099 
   8100   enable_win32_dll=no
   8101 
   8102 
   8103             # Check whether --enable-shared was given.
   8104 if test "${enable_shared+set}" = set; then :
   8105   enableval=$enable_shared; p=${PACKAGE-default}
   8106     case $enableval in
   8107     yes) enable_shared=yes ;;
   8108     no) enable_shared=no ;;
   8109     *)
   8110       enable_shared=no
   8111       # Look at the argument we got.  We use all the common list separators.
   8112       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8113       for pkg in $enableval; do
   8114 	IFS="$lt_save_ifs"
   8115 	if test "X$pkg" = "X$p"; then
   8116 	  enable_shared=yes
   8117 	fi
   8118       done
   8119       IFS="$lt_save_ifs"
   8120       ;;
   8121     esac
   8122 else
   8123   enable_shared=yes
   8124 fi
   8125 
   8126 
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134   # Check whether --enable-static was given.
   8135 if test "${enable_static+set}" = set; then :
   8136   enableval=$enable_static; p=${PACKAGE-default}
   8137     case $enableval in
   8138     yes) enable_static=yes ;;
   8139     no) enable_static=no ;;
   8140     *)
   8141      enable_static=no
   8142       # Look at the argument we got.  We use all the common list separators.
   8143       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8144       for pkg in $enableval; do
   8145 	IFS="$lt_save_ifs"
   8146 	if test "X$pkg" = "X$p"; then
   8147 	  enable_static=yes
   8148 	fi
   8149       done
   8150       IFS="$lt_save_ifs"
   8151       ;;
   8152     esac
   8153 else
   8154   enable_static=yes
   8155 fi
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 # Check whether --with-pic was given.
   8167 if test "${with_pic+set}" = set; then :
   8168   withval=$with_pic; pic_mode="$withval"
   8169 else
   8170   pic_mode=default
   8171 fi
   8172 
   8173 
   8174 test -z "$pic_mode" && pic_mode=default
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182   # Check whether --enable-fast-install was given.
   8183 if test "${enable_fast_install+set}" = set; then :
   8184   enableval=$enable_fast_install; p=${PACKAGE-default}
   8185     case $enableval in
   8186     yes) enable_fast_install=yes ;;
   8187     no) enable_fast_install=no ;;
   8188     *)
   8189       enable_fast_install=no
   8190       # Look at the argument we got.  We use all the common list separators.
   8191       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8192       for pkg in $enableval; do
   8193 	IFS="$lt_save_ifs"
   8194 	if test "X$pkg" = "X$p"; then
   8195 	  enable_fast_install=yes
   8196 	fi
   8197       done
   8198       IFS="$lt_save_ifs"
   8199       ;;
   8200     esac
   8201 else
   8202   enable_fast_install=yes
   8203 fi
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 # This can be used to rebuild libtool when needed
   8216 LIBTOOL_DEPS="$ltmain"
   8217 
   8218 # Always use our own libtool.
   8219 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 
   8232 
   8233 
   8234 
   8235 
   8236 
   8237 
   8238 
   8239 
   8240 
   8241 
   8242 
   8243 
   8244 
   8245 
   8246 test -z "$LN_S" && LN_S="ln -s"
   8247 
   8248 
   8249 
   8250 
   8251 
   8252 
   8253 
   8254 
   8255 
   8256 
   8257 
   8258 
   8259 
   8260 
   8261 if test -n "${ZSH_VERSION+set}" ; then
   8262    setopt NO_GLOB_SUBST
   8263 fi
   8264 
   8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8266 $as_echo_n "checking for objdir... " >&6; }
   8267 if ${lt_cv_objdir+:} false; then :
   8268   $as_echo_n "(cached) " >&6
   8269 else
   8270   rm -f .libs 2>/dev/null
   8271 mkdir .libs 2>/dev/null
   8272 if test -d .libs; then
   8273   lt_cv_objdir=.libs
   8274 else
   8275   # MS-DOS does not allow filenames that begin with a dot.
   8276   lt_cv_objdir=_libs
   8277 fi
   8278 rmdir .libs 2>/dev/null
   8279 fi
   8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8281 $as_echo "$lt_cv_objdir" >&6; }
   8282 objdir=$lt_cv_objdir
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 cat >>confdefs.h <<_ACEOF
   8289 #define LT_OBJDIR "$lt_cv_objdir/"
   8290 _ACEOF
   8291 
   8292 
   8293 
   8294 
   8295 case $host_os in
   8296 aix3*)
   8297   # AIX sometimes has problems with the GCC collect2 program.  For some
   8298   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8299   # vanish in a puff of smoke.
   8300   if test "X${COLLECT_NAMES+set}" != Xset; then
   8301     COLLECT_NAMES=
   8302     export COLLECT_NAMES
   8303   fi
   8304   ;;
   8305 esac
   8306 
   8307 # Global variables:
   8308 ofile=libtool
   8309 can_build_shared=yes
   8310 
   8311 # All known linkers require a `.a' archive for static linking (except MSVC,
   8312 # which needs '.lib').
   8313 libext=a
   8314 
   8315 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8316 
   8317 old_CC="$CC"
   8318 old_CFLAGS="$CFLAGS"
   8319 
   8320 # Set sane defaults for various variables
   8321 test -z "$CC" && CC=cc
   8322 test -z "$LTCC" && LTCC=$CC
   8323 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8324 test -z "$LD" && LD=ld
   8325 test -z "$ac_objext" && ac_objext=o
   8326 
   8327 for cc_temp in $compiler""; do
   8328   case $cc_temp in
   8329     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8330     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8331     \-*) ;;
   8332     *) break;;
   8333   esac
   8334 done
   8335 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8336 
   8337 
   8338 # Only perform the check for file, if the check method requires it
   8339 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8340 case $deplibs_check_method in
   8341 file_magic*)
   8342   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8343     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8344 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8345 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8346   $as_echo_n "(cached) " >&6
   8347 else
   8348   case $MAGIC_CMD in
   8349 [\\/*] |  ?:[\\/]*)
   8350   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8351   ;;
   8352 *)
   8353   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8354   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8355   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8356   for ac_dir in $ac_dummy; do
   8357     IFS="$lt_save_ifs"
   8358     test -z "$ac_dir" && ac_dir=.
   8359     if test -f $ac_dir/${ac_tool_prefix}file; then
   8360       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8361       if test -n "$file_magic_test_file"; then
   8362 	case $deplibs_check_method in
   8363 	"file_magic "*)
   8364 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8365 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8366 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8367 	    $EGREP "$file_magic_regex" > /dev/null; then
   8368 	    :
   8369 	  else
   8370 	    cat <<_LT_EOF 1>&2
   8371 
   8372 *** Warning: the command libtool uses to detect shared libraries,
   8373 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8374 *** The result is that libtool may fail to recognize shared libraries
   8375 *** as such.  This will affect the creation of libtool libraries that
   8376 *** depend on shared libraries, but programs linked with such libtool
   8377 *** libraries will work regardless of this problem.  Nevertheless, you
   8378 *** may want to report the problem to your system manager and/or to
   8379 *** bug-libtool@gnu.org
   8380 
   8381 _LT_EOF
   8382 	  fi ;;
   8383 	esac
   8384       fi
   8385       break
   8386     fi
   8387   done
   8388   IFS="$lt_save_ifs"
   8389   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8390   ;;
   8391 esac
   8392 fi
   8393 
   8394 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8395 if test -n "$MAGIC_CMD"; then
   8396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8397 $as_echo "$MAGIC_CMD" >&6; }
   8398 else
   8399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8400 $as_echo "no" >&6; }
   8401 fi
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8408   if test -n "$ac_tool_prefix"; then
   8409     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8410 $as_echo_n "checking for file... " >&6; }
   8411 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8412   $as_echo_n "(cached) " >&6
   8413 else
   8414   case $MAGIC_CMD in
   8415 [\\/*] |  ?:[\\/]*)
   8416   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8417   ;;
   8418 *)
   8419   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8420   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8421   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8422   for ac_dir in $ac_dummy; do
   8423     IFS="$lt_save_ifs"
   8424     test -z "$ac_dir" && ac_dir=.
   8425     if test -f $ac_dir/file; then
   8426       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8427       if test -n "$file_magic_test_file"; then
   8428 	case $deplibs_check_method in
   8429 	"file_magic "*)
   8430 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8431 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8432 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8433 	    $EGREP "$file_magic_regex" > /dev/null; then
   8434 	    :
   8435 	  else
   8436 	    cat <<_LT_EOF 1>&2
   8437 
   8438 *** Warning: the command libtool uses to detect shared libraries,
   8439 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8440 *** The result is that libtool may fail to recognize shared libraries
   8441 *** as such.  This will affect the creation of libtool libraries that
   8442 *** depend on shared libraries, but programs linked with such libtool
   8443 *** libraries will work regardless of this problem.  Nevertheless, you
   8444 *** may want to report the problem to your system manager and/or to
   8445 *** bug-libtool@gnu.org
   8446 
   8447 _LT_EOF
   8448 	  fi ;;
   8449 	esac
   8450       fi
   8451       break
   8452     fi
   8453   done
   8454   IFS="$lt_save_ifs"
   8455   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8456   ;;
   8457 esac
   8458 fi
   8459 
   8460 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8461 if test -n "$MAGIC_CMD"; then
   8462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8463 $as_echo "$MAGIC_CMD" >&6; }
   8464 else
   8465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8466 $as_echo "no" >&6; }
   8467 fi
   8468 
   8469 
   8470   else
   8471     MAGIC_CMD=:
   8472   fi
   8473 fi
   8474 
   8475   fi
   8476   ;;
   8477 esac
   8478 
   8479 # Use C for the default configuration in the libtool script
   8480 
   8481 lt_save_CC="$CC"
   8482 ac_ext=c
   8483 ac_cpp='$CPP $CPPFLAGS'
   8484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8487 
   8488 
   8489 # Source file extension for C test sources.
   8490 ac_ext=c
   8491 
   8492 # Object file extension for compiled C test sources.
   8493 objext=o
   8494 objext=$objext
   8495 
   8496 # Code to be used in simple compile tests
   8497 lt_simple_compile_test_code="int some_variable = 0;"
   8498 
   8499 # Code to be used in simple link tests
   8500 lt_simple_link_test_code='int main(){return(0);}'
   8501 
   8502 
   8503 
   8504 
   8505 
   8506 
   8507 
   8508 # If no C compiler was specified, use CC.
   8509 LTCC=${LTCC-"$CC"}
   8510 
   8511 # If no C compiler flags were specified, use CFLAGS.
   8512 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8513 
   8514 # Allow CC to be a program name with arguments.
   8515 compiler=$CC
   8516 
   8517 # Save the default compiler, since it gets overwritten when the other
   8518 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8519 compiler_DEFAULT=$CC
   8520 
   8521 # save warnings/boilerplate of simple test code
   8522 ac_outfile=conftest.$ac_objext
   8523 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8524 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8525 _lt_compiler_boilerplate=`cat conftest.err`
   8526 $RM conftest*
   8527 
   8528 ac_outfile=conftest.$ac_objext
   8529 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8530 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8531 _lt_linker_boilerplate=`cat conftest.err`
   8532 $RM -r conftest*
   8533 
   8534 
   8535 ## CAVEAT EMPTOR:
   8536 ## There is no encapsulation within the following macros, do not change
   8537 ## the running order or otherwise move them around unless you know exactly
   8538 ## what you are doing...
   8539 if test -n "$compiler"; then
   8540 
   8541 lt_prog_compiler_no_builtin_flag=
   8542 
   8543 if test "$GCC" = yes; then
   8544   case $cc_basename in
   8545   nvcc*)
   8546     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8547   *)
   8548     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8549   esac
   8550 
   8551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8552 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8553 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8554   $as_echo_n "(cached) " >&6
   8555 else
   8556   lt_cv_prog_compiler_rtti_exceptions=no
   8557    ac_outfile=conftest.$ac_objext
   8558    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8559    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8560    # Insert the option either (1) after the last *FLAGS variable, or
   8561    # (2) before a word containing "conftest.", or (3) at the end.
   8562    # Note that $ac_compile itself does not contain backslashes and begins
   8563    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8564    # The option is referenced via a variable to avoid confusing sed.
   8565    lt_compile=`echo "$ac_compile" | $SED \
   8566    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8567    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8568    -e 's:$: $lt_compiler_flag:'`
   8569    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8570    (eval "$lt_compile" 2>conftest.err)
   8571    ac_status=$?
   8572    cat conftest.err >&5
   8573    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8574    if (exit $ac_status) && test -s "$ac_outfile"; then
   8575      # The compiler can only warn and ignore the option if not recognized
   8576      # So say no if there are warnings other than the usual output.
   8577      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8578      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8579      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8580        lt_cv_prog_compiler_rtti_exceptions=yes
   8581      fi
   8582    fi
   8583    $RM conftest*
   8584 
   8585 fi
   8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8587 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8588 
   8589 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8590     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8591 else
   8592     :
   8593 fi
   8594 
   8595 fi
   8596 
   8597 
   8598 
   8599 
   8600 
   8601 
   8602   lt_prog_compiler_wl=
   8603 lt_prog_compiler_pic=
   8604 lt_prog_compiler_static=
   8605 
   8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8607 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8608 
   8609   if test "$GCC" = yes; then
   8610     lt_prog_compiler_wl='-Wl,'
   8611     lt_prog_compiler_static='-static'
   8612 
   8613     case $host_os in
   8614       aix*)
   8615       # All AIX code is PIC.
   8616       if test "$host_cpu" = ia64; then
   8617 	# AIX 5 now supports IA64 processor
   8618 	lt_prog_compiler_static='-Bstatic'
   8619       fi
   8620       lt_prog_compiler_pic='-fPIC'
   8621       ;;
   8622 
   8623     amigaos*)
   8624       case $host_cpu in
   8625       powerpc)
   8626             # see comment about AmigaOS4 .so support
   8627             lt_prog_compiler_pic='-fPIC'
   8628         ;;
   8629       m68k)
   8630             # FIXME: we need at least 68020 code to build shared libraries, but
   8631             # adding the `-m68020' flag to GCC prevents building anything better,
   8632             # like `-m68040'.
   8633             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8634         ;;
   8635       esac
   8636       ;;
   8637 
   8638     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8639       # PIC is the default for these OSes.
   8640       ;;
   8641 
   8642     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8643       # This hack is so that the source file can tell whether it is being
   8644       # built for inclusion in a dll (and should export symbols for example).
   8645       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8646       # (--disable-auto-import) libraries
   8647       lt_prog_compiler_pic='-DDLL_EXPORT'
   8648       ;;
   8649 
   8650     darwin* | rhapsody*)
   8651       # PIC is the default on this platform
   8652       # Common symbols not allowed in MH_DYLIB files
   8653       lt_prog_compiler_pic='-fno-common'
   8654       ;;
   8655 
   8656     haiku*)
   8657       # PIC is the default for Haiku.
   8658       # The "-static" flag exists, but is broken.
   8659       lt_prog_compiler_static=
   8660       ;;
   8661 
   8662     hpux*)
   8663       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8664       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8665       # sets the default TLS model and affects inlining.
   8666       case $host_cpu in
   8667       hppa*64*)
   8668 	# +Z the default
   8669 	;;
   8670       *)
   8671 	lt_prog_compiler_pic='-fPIC'
   8672 	;;
   8673       esac
   8674       ;;
   8675 
   8676     interix[3-9]*)
   8677       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8678       # Instead, we relocate shared libraries at runtime.
   8679       ;;
   8680 
   8681     msdosdjgpp*)
   8682       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8683       # on systems that don't support them.
   8684       lt_prog_compiler_can_build_shared=no
   8685       enable_shared=no
   8686       ;;
   8687 
   8688     *nto* | *qnx*)
   8689       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8690       # it will coredump.
   8691       lt_prog_compiler_pic='-fPIC -shared'
   8692       ;;
   8693 
   8694     sysv4*MP*)
   8695       if test -d /usr/nec; then
   8696 	lt_prog_compiler_pic=-Kconform_pic
   8697       fi
   8698       ;;
   8699 
   8700     *)
   8701       lt_prog_compiler_pic='-fPIC'
   8702       ;;
   8703     esac
   8704 
   8705     case $cc_basename in
   8706     nvcc*) # Cuda Compiler Driver 2.2
   8707       lt_prog_compiler_wl='-Xlinker '
   8708       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8709       ;;
   8710     esac
   8711   else
   8712     # PORTME Check for flag to pass linker flags through the system compiler.
   8713     case $host_os in
   8714     aix*)
   8715       lt_prog_compiler_wl='-Wl,'
   8716       if test "$host_cpu" = ia64; then
   8717 	# AIX 5 now supports IA64 processor
   8718 	lt_prog_compiler_static='-Bstatic'
   8719       else
   8720 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8721       fi
   8722       ;;
   8723 
   8724     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8725       # This hack is so that the source file can tell whether it is being
   8726       # built for inclusion in a dll (and should export symbols for example).
   8727       lt_prog_compiler_pic='-DDLL_EXPORT'
   8728       ;;
   8729 
   8730     hpux9* | hpux10* | hpux11*)
   8731       lt_prog_compiler_wl='-Wl,'
   8732       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8733       # not for PA HP-UX.
   8734       case $host_cpu in
   8735       hppa*64*|ia64*)
   8736 	# +Z the default
   8737 	;;
   8738       *)
   8739 	lt_prog_compiler_pic='+Z'
   8740 	;;
   8741       esac
   8742       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8743       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8744       ;;
   8745 
   8746     irix5* | irix6* | nonstopux*)
   8747       lt_prog_compiler_wl='-Wl,'
   8748       # PIC (with -KPIC) is the default.
   8749       lt_prog_compiler_static='-non_shared'
   8750       ;;
   8751 
   8752     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8753       case $cc_basename in
   8754       # old Intel for x86_64 which still supported -KPIC.
   8755       ecc*)
   8756 	lt_prog_compiler_wl='-Wl,'
   8757 	lt_prog_compiler_pic='-KPIC'
   8758 	lt_prog_compiler_static='-static'
   8759         ;;
   8760       # icc used to be incompatible with GCC.
   8761       # ICC 10 doesn't accept -KPIC any more.
   8762       icc* | ifort*)
   8763 	lt_prog_compiler_wl='-Wl,'
   8764 	lt_prog_compiler_pic='-fPIC'
   8765 	lt_prog_compiler_static='-static'
   8766         ;;
   8767       # Lahey Fortran 8.1.
   8768       lf95*)
   8769 	lt_prog_compiler_wl='-Wl,'
   8770 	lt_prog_compiler_pic='--shared'
   8771 	lt_prog_compiler_static='--static'
   8772 	;;
   8773       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8774         # Portland Group compilers (*not* the Pentium gcc compiler,
   8775 	# which looks to be a dead project)
   8776 	lt_prog_compiler_wl='-Wl,'
   8777 	lt_prog_compiler_pic='-fpic'
   8778 	lt_prog_compiler_static='-Bstatic'
   8779         ;;
   8780       ccc*)
   8781         lt_prog_compiler_wl='-Wl,'
   8782         # All Alpha code is PIC.
   8783         lt_prog_compiler_static='-non_shared'
   8784         ;;
   8785       xl* | bgxl* | bgf* | mpixl*)
   8786 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8787 	lt_prog_compiler_wl='-Wl,'
   8788 	lt_prog_compiler_pic='-qpic'
   8789 	lt_prog_compiler_static='-qstaticlink'
   8790 	;;
   8791       *)
   8792 	case `$CC -V 2>&1 | sed 5q` in
   8793 	*Sun\ F* | *Sun*Fortran*)
   8794 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8795 	  lt_prog_compiler_pic='-KPIC'
   8796 	  lt_prog_compiler_static='-Bstatic'
   8797 	  lt_prog_compiler_wl=''
   8798 	  ;;
   8799 	*Sun\ C*)
   8800 	  # Sun C 5.9
   8801 	  lt_prog_compiler_pic='-KPIC'
   8802 	  lt_prog_compiler_static='-Bstatic'
   8803 	  lt_prog_compiler_wl='-Wl,'
   8804 	  ;;
   8805 	esac
   8806 	;;
   8807       esac
   8808       ;;
   8809 
   8810     newsos6)
   8811       lt_prog_compiler_pic='-KPIC'
   8812       lt_prog_compiler_static='-Bstatic'
   8813       ;;
   8814 
   8815     *nto* | *qnx*)
   8816       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8817       # it will coredump.
   8818       lt_prog_compiler_pic='-fPIC -shared'
   8819       ;;
   8820 
   8821     osf3* | osf4* | osf5*)
   8822       lt_prog_compiler_wl='-Wl,'
   8823       # All OSF/1 code is PIC.
   8824       lt_prog_compiler_static='-non_shared'
   8825       ;;
   8826 
   8827     rdos*)
   8828       lt_prog_compiler_static='-non_shared'
   8829       ;;
   8830 
   8831     solaris*)
   8832       lt_prog_compiler_pic='-KPIC'
   8833       lt_prog_compiler_static='-Bstatic'
   8834       case $cc_basename in
   8835       f77* | f90* | f95*)
   8836 	lt_prog_compiler_wl='-Qoption ld ';;
   8837       *)
   8838 	lt_prog_compiler_wl='-Wl,';;
   8839       esac
   8840       ;;
   8841 
   8842     sunos4*)
   8843       lt_prog_compiler_wl='-Qoption ld '
   8844       lt_prog_compiler_pic='-PIC'
   8845       lt_prog_compiler_static='-Bstatic'
   8846       ;;
   8847 
   8848     sysv4 | sysv4.2uw2* | sysv4.3*)
   8849       lt_prog_compiler_wl='-Wl,'
   8850       lt_prog_compiler_pic='-KPIC'
   8851       lt_prog_compiler_static='-Bstatic'
   8852       ;;
   8853 
   8854     sysv4*MP*)
   8855       if test -d /usr/nec ;then
   8856 	lt_prog_compiler_pic='-Kconform_pic'
   8857 	lt_prog_compiler_static='-Bstatic'
   8858       fi
   8859       ;;
   8860 
   8861     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8862       lt_prog_compiler_wl='-Wl,'
   8863       lt_prog_compiler_pic='-KPIC'
   8864       lt_prog_compiler_static='-Bstatic'
   8865       ;;
   8866 
   8867     unicos*)
   8868       lt_prog_compiler_wl='-Wl,'
   8869       lt_prog_compiler_can_build_shared=no
   8870       ;;
   8871 
   8872     uts4*)
   8873       lt_prog_compiler_pic='-pic'
   8874       lt_prog_compiler_static='-Bstatic'
   8875       ;;
   8876 
   8877     *)
   8878       lt_prog_compiler_can_build_shared=no
   8879       ;;
   8880     esac
   8881   fi
   8882 
   8883 case $host_os in
   8884   # For platforms which do not support PIC, -DPIC is meaningless:
   8885   *djgpp*)
   8886     lt_prog_compiler_pic=
   8887     ;;
   8888   *)
   8889     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8890     ;;
   8891 esac
   8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8893 $as_echo "$lt_prog_compiler_pic" >&6; }
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 #
   8901 # Check to make sure the PIC flag actually works.
   8902 #
   8903 if test -n "$lt_prog_compiler_pic"; then
   8904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8905 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8906 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8907   $as_echo_n "(cached) " >&6
   8908 else
   8909   lt_cv_prog_compiler_pic_works=no
   8910    ac_outfile=conftest.$ac_objext
   8911    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8912    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8913    # Insert the option either (1) after the last *FLAGS variable, or
   8914    # (2) before a word containing "conftest.", or (3) at the end.
   8915    # Note that $ac_compile itself does not contain backslashes and begins
   8916    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8917    # The option is referenced via a variable to avoid confusing sed.
   8918    lt_compile=`echo "$ac_compile" | $SED \
   8919    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8920    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8921    -e 's:$: $lt_compiler_flag:'`
   8922    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8923    (eval "$lt_compile" 2>conftest.err)
   8924    ac_status=$?
   8925    cat conftest.err >&5
   8926    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8927    if (exit $ac_status) && test -s "$ac_outfile"; then
   8928      # The compiler can only warn and ignore the option if not recognized
   8929      # So say no if there are warnings other than the usual output.
   8930      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8931      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8932      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8933        lt_cv_prog_compiler_pic_works=yes
   8934      fi
   8935    fi
   8936    $RM conftest*
   8937 
   8938 fi
   8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8940 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8941 
   8942 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8943     case $lt_prog_compiler_pic in
   8944      "" | " "*) ;;
   8945      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8946      esac
   8947 else
   8948     lt_prog_compiler_pic=
   8949      lt_prog_compiler_can_build_shared=no
   8950 fi
   8951 
   8952 fi
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 #
   8960 # Check to make sure the static flag actually works.
   8961 #
   8962 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8964 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8965 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8966   $as_echo_n "(cached) " >&6
   8967 else
   8968   lt_cv_prog_compiler_static_works=no
   8969    save_LDFLAGS="$LDFLAGS"
   8970    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8971    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8972    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8973      # The linker can only warn and ignore the option if not recognized
   8974      # So say no if there are warnings
   8975      if test -s conftest.err; then
   8976        # Append any errors to the config.log.
   8977        cat conftest.err 1>&5
   8978        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8979        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8980        if diff conftest.exp conftest.er2 >/dev/null; then
   8981          lt_cv_prog_compiler_static_works=yes
   8982        fi
   8983      else
   8984        lt_cv_prog_compiler_static_works=yes
   8985      fi
   8986    fi
   8987    $RM -r conftest*
   8988    LDFLAGS="$save_LDFLAGS"
   8989 
   8990 fi
   8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8992 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8993 
   8994 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8995     :
   8996 else
   8997     lt_prog_compiler_static=
   8998 fi
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9008 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9009   $as_echo_n "(cached) " >&6
   9010 else
   9011   lt_cv_prog_compiler_c_o=no
   9012    $RM -r conftest 2>/dev/null
   9013    mkdir conftest
   9014    cd conftest
   9015    mkdir out
   9016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9017 
   9018    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9019    # Insert the option either (1) after the last *FLAGS variable, or
   9020    # (2) before a word containing "conftest.", or (3) at the end.
   9021    # Note that $ac_compile itself does not contain backslashes and begins
   9022    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9023    lt_compile=`echo "$ac_compile" | $SED \
   9024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9026    -e 's:$: $lt_compiler_flag:'`
   9027    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9028    (eval "$lt_compile" 2>out/conftest.err)
   9029    ac_status=$?
   9030    cat out/conftest.err >&5
   9031    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9032    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9033    then
   9034      # The compiler can only warn and ignore the option if not recognized
   9035      # So say no if there are warnings
   9036      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9037      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9038      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9039        lt_cv_prog_compiler_c_o=yes
   9040      fi
   9041    fi
   9042    chmod u+w . 2>&5
   9043    $RM conftest*
   9044    # SGI C++ compiler will create directory out/ii_files/ for
   9045    # template instantiation
   9046    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9047    $RM out/* && rmdir out
   9048    cd ..
   9049    $RM -r conftest
   9050    $RM conftest*
   9051 
   9052 fi
   9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9054 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9062 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9063 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9064   $as_echo_n "(cached) " >&6
   9065 else
   9066   lt_cv_prog_compiler_c_o=no
   9067    $RM -r conftest 2>/dev/null
   9068    mkdir conftest
   9069    cd conftest
   9070    mkdir out
   9071    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9072 
   9073    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9074    # Insert the option either (1) after the last *FLAGS variable, or
   9075    # (2) before a word containing "conftest.", or (3) at the end.
   9076    # Note that $ac_compile itself does not contain backslashes and begins
   9077    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9078    lt_compile=`echo "$ac_compile" | $SED \
   9079    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9080    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9081    -e 's:$: $lt_compiler_flag:'`
   9082    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9083    (eval "$lt_compile" 2>out/conftest.err)
   9084    ac_status=$?
   9085    cat out/conftest.err >&5
   9086    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9087    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9088    then
   9089      # The compiler can only warn and ignore the option if not recognized
   9090      # So say no if there are warnings
   9091      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9092      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9093      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9094        lt_cv_prog_compiler_c_o=yes
   9095      fi
   9096    fi
   9097    chmod u+w . 2>&5
   9098    $RM conftest*
   9099    # SGI C++ compiler will create directory out/ii_files/ for
   9100    # template instantiation
   9101    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9102    $RM out/* && rmdir out
   9103    cd ..
   9104    $RM -r conftest
   9105    $RM conftest*
   9106 
   9107 fi
   9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9109 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9110 
   9111 
   9112 
   9113 
   9114 hard_links="nottested"
   9115 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9116   # do not overwrite the value of need_locks provided by the user
   9117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9118 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9119   hard_links=yes
   9120   $RM conftest*
   9121   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9122   touch conftest.a
   9123   ln conftest.a conftest.b 2>&5 || hard_links=no
   9124   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9126 $as_echo "$hard_links" >&6; }
   9127   if test "$hard_links" = no; then
   9128     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9129 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9130     need_locks=warn
   9131   fi
   9132 else
   9133   need_locks=no
   9134 fi
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9142 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9143 
   9144   runpath_var=
   9145   allow_undefined_flag=
   9146   always_export_symbols=no
   9147   archive_cmds=
   9148   archive_expsym_cmds=
   9149   compiler_needs_object=no
   9150   enable_shared_with_static_runtimes=no
   9151   export_dynamic_flag_spec=
   9152   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9153   hardcode_automatic=no
   9154   hardcode_direct=no
   9155   hardcode_direct_absolute=no
   9156   hardcode_libdir_flag_spec=
   9157   hardcode_libdir_flag_spec_ld=
   9158   hardcode_libdir_separator=
   9159   hardcode_minus_L=no
   9160   hardcode_shlibpath_var=unsupported
   9161   inherit_rpath=no
   9162   link_all_deplibs=unknown
   9163   module_cmds=
   9164   module_expsym_cmds=
   9165   old_archive_from_new_cmds=
   9166   old_archive_from_expsyms_cmds=
   9167   thread_safe_flag_spec=
   9168   whole_archive_flag_spec=
   9169   # include_expsyms should be a list of space-separated symbols to be *always*
   9170   # included in the symbol list
   9171   include_expsyms=
   9172   # exclude_expsyms can be an extended regexp of symbols to exclude
   9173   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9174   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9175   # as well as any symbol that contains `d'.
   9176   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9177   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9178   # platforms (ab)use it in PIC code, but their linkers get confused if
   9179   # the symbol is explicitly referenced.  Since portable code cannot
   9180   # rely on this symbol name, it's probably fine to never include it in
   9181   # preloaded symbol tables.
   9182   # Exclude shared library initialization/finalization symbols.
   9183   extract_expsyms_cmds=
   9184 
   9185   case $host_os in
   9186   cygwin* | mingw* | pw32* | cegcc*)
   9187     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9188     # When not using gcc, we currently assume that we are using
   9189     # Microsoft Visual C++.
   9190     if test "$GCC" != yes; then
   9191       with_gnu_ld=no
   9192     fi
   9193     ;;
   9194   interix*)
   9195     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9196     with_gnu_ld=yes
   9197     ;;
   9198   openbsd*)
   9199     with_gnu_ld=no
   9200     ;;
   9201   esac
   9202 
   9203   ld_shlibs=yes
   9204 
   9205   # On some targets, GNU ld is compatible enough with the native linker
   9206   # that we're better off using the native interface for both.
   9207   lt_use_gnu_ld_interface=no
   9208   if test "$with_gnu_ld" = yes; then
   9209     case $host_os in
   9210       aix*)
   9211 	# The AIX port of GNU ld has always aspired to compatibility
   9212 	# with the native linker.  However, as the warning in the GNU ld
   9213 	# block says, versions before 2.19.5* couldn't really create working
   9214 	# shared libraries, regardless of the interface used.
   9215 	case `$LD -v 2>&1` in
   9216 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9217 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9218 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9219 	  *)
   9220 	    lt_use_gnu_ld_interface=yes
   9221 	    ;;
   9222 	esac
   9223 	;;
   9224       *)
   9225 	lt_use_gnu_ld_interface=yes
   9226 	;;
   9227     esac
   9228   fi
   9229 
   9230   if test "$lt_use_gnu_ld_interface" = yes; then
   9231     # If archive_cmds runs LD, not CC, wlarc should be empty
   9232     wlarc='${wl}'
   9233 
   9234     # Set some defaults for GNU ld with shared library support. These
   9235     # are reset later if shared libraries are not supported. Putting them
   9236     # here allows them to be overridden if necessary.
   9237     runpath_var=LD_RUN_PATH
   9238     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9239     export_dynamic_flag_spec='${wl}--export-dynamic'
   9240     # ancient GNU ld didn't support --whole-archive et. al.
   9241     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9242       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9243     else
   9244       whole_archive_flag_spec=
   9245     fi
   9246     supports_anon_versioning=no
   9247     case `$LD -v 2>&1` in
   9248       *GNU\ gold*) supports_anon_versioning=yes ;;
   9249       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9250       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9251       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9252       *\ 2.11.*) ;; # other 2.11 versions
   9253       *) supports_anon_versioning=yes ;;
   9254     esac
   9255 
   9256     # See if GNU ld supports shared libraries.
   9257     case $host_os in
   9258     aix[3-9]*)
   9259       # On AIX/PPC, the GNU linker is very broken
   9260       if test "$host_cpu" != ia64; then
   9261 	ld_shlibs=no
   9262 	cat <<_LT_EOF 1>&2
   9263 
   9264 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9265 *** to be unable to reliably create shared libraries on AIX.
   9266 *** Therefore, libtool is disabling shared libraries support.  If you
   9267 *** really care for shared libraries, you may want to install binutils
   9268 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9269 *** You will then need to restart the configuration process.
   9270 
   9271 _LT_EOF
   9272       fi
   9273       ;;
   9274 
   9275     amigaos*)
   9276       case $host_cpu in
   9277       powerpc)
   9278             # see comment about AmigaOS4 .so support
   9279             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9280             archive_expsym_cmds=''
   9281         ;;
   9282       m68k)
   9283             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)'
   9284             hardcode_libdir_flag_spec='-L$libdir'
   9285             hardcode_minus_L=yes
   9286         ;;
   9287       esac
   9288       ;;
   9289 
   9290     beos*)
   9291       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9292 	allow_undefined_flag=unsupported
   9293 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9294 	# support --undefined.  This deserves some investigation.  FIXME
   9295 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9296       else
   9297 	ld_shlibs=no
   9298       fi
   9299       ;;
   9300 
   9301     cygwin* | mingw* | pw32* | cegcc*)
   9302       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9303       # as there is no search path for DLLs.
   9304       hardcode_libdir_flag_spec='-L$libdir'
   9305       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9306       allow_undefined_flag=unsupported
   9307       always_export_symbols=no
   9308       enable_shared_with_static_runtimes=yes
   9309       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9310 
   9311       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9312         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9313 	# If the export-symbols file already is a .def file (1st line
   9314 	# is EXPORTS), use it as is; otherwise, prepend...
   9315 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9316 	  cp $export_symbols $output_objdir/$soname.def;
   9317 	else
   9318 	  echo EXPORTS > $output_objdir/$soname.def;
   9319 	  cat $export_symbols >> $output_objdir/$soname.def;
   9320 	fi~
   9321 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9322       else
   9323 	ld_shlibs=no
   9324       fi
   9325       ;;
   9326 
   9327     haiku*)
   9328       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9329       link_all_deplibs=yes
   9330       ;;
   9331 
   9332     interix[3-9]*)
   9333       hardcode_direct=no
   9334       hardcode_shlibpath_var=no
   9335       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9336       export_dynamic_flag_spec='${wl}-E'
   9337       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9338       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9339       # default) and relocated if they conflict, which is a slow very memory
   9340       # consuming and fragmenting process.  To avoid this, we pick a random,
   9341       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9342       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9343       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9344       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'
   9345       ;;
   9346 
   9347     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   9348       tmp_diet=no
   9349       if test "$host_os" = linux-dietlibc; then
   9350 	case $cc_basename in
   9351 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9352 	esac
   9353       fi
   9354       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9355 	 && test "$tmp_diet" = no
   9356       then
   9357 	tmp_addflag=' $pic_flag'
   9358 	tmp_sharedflag='-shared'
   9359 	case $cc_basename,$host_cpu in
   9360         pgcc*)				# Portland Group C compiler
   9361 	  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'
   9362 	  tmp_addflag=' $pic_flag'
   9363 	  ;;
   9364 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9365 					# Portland Group f77 and f90 compilers
   9366 	  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'
   9367 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9368 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9369 	  tmp_addflag=' -i_dynamic' ;;
   9370 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9371 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9372 	ifc* | ifort*)			# Intel Fortran compiler
   9373 	  tmp_addflag=' -nofor_main' ;;
   9374 	lf95*)				# Lahey Fortran 8.1
   9375 	  whole_archive_flag_spec=
   9376 	  tmp_sharedflag='--shared' ;;
   9377 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9378 	  tmp_sharedflag='-qmkshrobj'
   9379 	  tmp_addflag= ;;
   9380 	nvcc*)	# Cuda Compiler Driver 2.2
   9381 	  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'
   9382 	  compiler_needs_object=yes
   9383 	  ;;
   9384 	esac
   9385 	case `$CC -V 2>&1 | sed 5q` in
   9386 	*Sun\ C*)			# Sun C 5.9
   9387 	  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'
   9388 	  compiler_needs_object=yes
   9389 	  tmp_sharedflag='-G' ;;
   9390 	*Sun\ F*)			# Sun Fortran 8.3
   9391 	  tmp_sharedflag='-G' ;;
   9392 	esac
   9393 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9394 
   9395         if test "x$supports_anon_versioning" = xyes; then
   9396           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9397 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9398 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9399 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9400         fi
   9401 
   9402 	case $cc_basename in
   9403 	xlf* | bgf* | bgxlf* | mpixlf*)
   9404 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9405 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9406 	  hardcode_libdir_flag_spec=
   9407 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9408 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9409 	  if test "x$supports_anon_versioning" = xyes; then
   9410 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9411 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9412 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9413 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9414 	  fi
   9415 	  ;;
   9416 	esac
   9417       else
   9418         ld_shlibs=no
   9419       fi
   9420       ;;
   9421 
   9422     netbsd*)
   9423       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9424 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9425 	wlarc=
   9426       else
   9427 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9428 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9429       fi
   9430       ;;
   9431 
   9432     solaris*)
   9433       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9434 	ld_shlibs=no
   9435 	cat <<_LT_EOF 1>&2
   9436 
   9437 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9438 *** create shared libraries on Solaris systems.  Therefore, libtool
   9439 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9440 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9441 *** your PATH or compiler configuration so that the native linker is
   9442 *** used, and then restart.
   9443 
   9444 _LT_EOF
   9445       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9446 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9447 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9448       else
   9449 	ld_shlibs=no
   9450       fi
   9451       ;;
   9452 
   9453     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9454       case `$LD -v 2>&1` in
   9455         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9456 	ld_shlibs=no
   9457 	cat <<_LT_EOF 1>&2
   9458 
   9459 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9460 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9461 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9462 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9463 *** your PATH or compiler configuration so that the native linker is
   9464 *** used, and then restart.
   9465 
   9466 _LT_EOF
   9467 	;;
   9468 	*)
   9469 	  # For security reasons, it is highly recommended that you always
   9470 	  # use absolute paths for naming shared libraries, and exclude the
   9471 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9472 	  # requires that you compile everything twice, which is a pain.
   9473 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9474 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9475 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9476 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9477 	  else
   9478 	    ld_shlibs=no
   9479 	  fi
   9480 	;;
   9481       esac
   9482       ;;
   9483 
   9484     sunos4*)
   9485       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9486       wlarc=
   9487       hardcode_direct=yes
   9488       hardcode_shlibpath_var=no
   9489       ;;
   9490 
   9491     *)
   9492       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9493 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9494 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9495       else
   9496 	ld_shlibs=no
   9497       fi
   9498       ;;
   9499     esac
   9500 
   9501     if test "$ld_shlibs" = no; then
   9502       runpath_var=
   9503       hardcode_libdir_flag_spec=
   9504       export_dynamic_flag_spec=
   9505       whole_archive_flag_spec=
   9506     fi
   9507   else
   9508     # PORTME fill in a description of your system's linker (not GNU ld)
   9509     case $host_os in
   9510     aix3*)
   9511       allow_undefined_flag=unsupported
   9512       always_export_symbols=yes
   9513       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'
   9514       # Note: this linker hardcodes the directories in LIBPATH if there
   9515       # are no directories specified by -L.
   9516       hardcode_minus_L=yes
   9517       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9518 	# Neither direct hardcoding nor static linking is supported with a
   9519 	# broken collect2.
   9520 	hardcode_direct=unsupported
   9521       fi
   9522       ;;
   9523 
   9524     aix[4-9]*)
   9525       if test "$host_cpu" = ia64; then
   9526 	# On IA64, the linker does run time linking by default, so we don't
   9527 	# have to do anything special.
   9528 	aix_use_runtimelinking=no
   9529 	exp_sym_flag='-Bexport'
   9530 	no_entry_flag=""
   9531       else
   9532 	# If we're using GNU nm, then we don't want the "-C" option.
   9533 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9534 	# Also, AIX nm treats weak defined symbols like other global
   9535 	# defined symbols, whereas GNU nm marks them as "W".
   9536 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9537 	  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'
   9538 	else
   9539 	  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'
   9540 	fi
   9541 	aix_use_runtimelinking=no
   9542 
   9543 	# Test if we are trying to use run time linking or normal
   9544 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9545 	# need to do runtime linking.
   9546 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9547 	  for ld_flag in $LDFLAGS; do
   9548 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9549 	    aix_use_runtimelinking=yes
   9550 	    break
   9551 	  fi
   9552 	  done
   9553 	  ;;
   9554 	esac
   9555 
   9556 	exp_sym_flag='-bexport'
   9557 	no_entry_flag='-bnoentry'
   9558       fi
   9559 
   9560       # When large executables or shared objects are built, AIX ld can
   9561       # have problems creating the table of contents.  If linking a library
   9562       # or program results in "error TOC overflow" add -mminimal-toc to
   9563       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9564       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9565 
   9566       archive_cmds=''
   9567       hardcode_direct=yes
   9568       hardcode_direct_absolute=yes
   9569       hardcode_libdir_separator=':'
   9570       link_all_deplibs=yes
   9571       file_list_spec='${wl}-f,'
   9572 
   9573       if test "$GCC" = yes; then
   9574 	case $host_os in aix4.[012]|aix4.[012].*)
   9575 	# We only want to do this on AIX 4.2 and lower, the check
   9576 	# below for broken collect2 doesn't work under 4.3+
   9577 	  collect2name=`${CC} -print-prog-name=collect2`
   9578 	  if test -f "$collect2name" &&
   9579 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9580 	  then
   9581 	  # We have reworked collect2
   9582 	  :
   9583 	  else
   9584 	  # We have old collect2
   9585 	  hardcode_direct=unsupported
   9586 	  # It fails to find uninstalled libraries when the uninstalled
   9587 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9588 	  # to unsupported forces relinking
   9589 	  hardcode_minus_L=yes
   9590 	  hardcode_libdir_flag_spec='-L$libdir'
   9591 	  hardcode_libdir_separator=
   9592 	  fi
   9593 	  ;;
   9594 	esac
   9595 	shared_flag='-shared'
   9596 	if test "$aix_use_runtimelinking" = yes; then
   9597 	  shared_flag="$shared_flag "'${wl}-G'
   9598 	fi
   9599       else
   9600 	# not using gcc
   9601 	if test "$host_cpu" = ia64; then
   9602 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9603 	# chokes on -Wl,-G. The following line is correct:
   9604 	  shared_flag='-G'
   9605 	else
   9606 	  if test "$aix_use_runtimelinking" = yes; then
   9607 	    shared_flag='${wl}-G'
   9608 	  else
   9609 	    shared_flag='${wl}-bM:SRE'
   9610 	  fi
   9611 	fi
   9612       fi
   9613 
   9614       export_dynamic_flag_spec='${wl}-bexpall'
   9615       # It seems that -bexpall does not export symbols beginning with
   9616       # underscore (_), so it is better to generate a list of symbols to export.
   9617       always_export_symbols=yes
   9618       if test "$aix_use_runtimelinking" = yes; then
   9619 	# Warning - without using the other runtime loading flags (-brtl),
   9620 	# -berok will link without error, but may produce a broken library.
   9621 	allow_undefined_flag='-berok'
   9622         # Determine the default libpath from the value encoded in an
   9623         # empty executable.
   9624         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9625 /* end confdefs.h.  */
   9626 
   9627 int
   9628 main ()
   9629 {
   9630 
   9631   ;
   9632   return 0;
   9633 }
   9634 _ACEOF
   9635 if ac_fn_c_try_link "$LINENO"; then :
   9636 
   9637 lt_aix_libpath_sed='
   9638     /Import File Strings/,/^$/ {
   9639 	/^0/ {
   9640 	    s/^0  *\(.*\)$/\1/
   9641 	    p
   9642 	}
   9643     }'
   9644 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9645 # Check for a 64-bit object if we didn't find anything.
   9646 if test -z "$aix_libpath"; then
   9647   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9648 fi
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext \
   9651     conftest$ac_exeext conftest.$ac_ext
   9652 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9653 
   9654         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9655         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"
   9656       else
   9657 	if test "$host_cpu" = ia64; then
   9658 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9659 	  allow_undefined_flag="-z nodefs"
   9660 	  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"
   9661 	else
   9662 	 # Determine the default libpath from the value encoded in an
   9663 	 # empty executable.
   9664 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9665 /* end confdefs.h.  */
   9666 
   9667 int
   9668 main ()
   9669 {
   9670 
   9671   ;
   9672   return 0;
   9673 }
   9674 _ACEOF
   9675 if ac_fn_c_try_link "$LINENO"; then :
   9676 
   9677 lt_aix_libpath_sed='
   9678     /Import File Strings/,/^$/ {
   9679 	/^0/ {
   9680 	    s/^0  *\(.*\)$/\1/
   9681 	    p
   9682 	}
   9683     }'
   9684 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9685 # Check for a 64-bit object if we didn't find anything.
   9686 if test -z "$aix_libpath"; then
   9687   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9688 fi
   9689 fi
   9690 rm -f core conftest.err conftest.$ac_objext \
   9691     conftest$ac_exeext conftest.$ac_ext
   9692 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9693 
   9694 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9695 	  # Warning - without using the other run time loading flags,
   9696 	  # -berok will link without error, but may produce a broken library.
   9697 	  no_undefined_flag=' ${wl}-bernotok'
   9698 	  allow_undefined_flag=' ${wl}-berok'
   9699 	  if test "$with_gnu_ld" = yes; then
   9700 	    # We only use this code for GNU lds that support --whole-archive.
   9701 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9702 	  else
   9703 	    # Exported symbols can be pulled into shared objects from archives
   9704 	    whole_archive_flag_spec='$convenience'
   9705 	  fi
   9706 	  archive_cmds_need_lc=yes
   9707 	  # This is similar to how AIX traditionally builds its shared libraries.
   9708 	  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'
   9709 	fi
   9710       fi
   9711       ;;
   9712 
   9713     amigaos*)
   9714       case $host_cpu in
   9715       powerpc)
   9716             # see comment about AmigaOS4 .so support
   9717             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9718             archive_expsym_cmds=''
   9719         ;;
   9720       m68k)
   9721             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)'
   9722             hardcode_libdir_flag_spec='-L$libdir'
   9723             hardcode_minus_L=yes
   9724         ;;
   9725       esac
   9726       ;;
   9727 
   9728     bsdi[45]*)
   9729       export_dynamic_flag_spec=-rdynamic
   9730       ;;
   9731 
   9732     cygwin* | mingw* | pw32* | cegcc*)
   9733       # When not using gcc, we currently assume that we are using
   9734       # Microsoft Visual C++.
   9735       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9736       # no search path for DLLs.
   9737       hardcode_libdir_flag_spec=' '
   9738       allow_undefined_flag=unsupported
   9739       # Tell ltmain to make .lib files, not .a files.
   9740       libext=lib
   9741       # Tell ltmain to make .dll files, not .so files.
   9742       shrext_cmds=".dll"
   9743       # FIXME: Setting linknames here is a bad hack.
   9744       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9745       # The linker will automatically build a .lib file if we build a DLL.
   9746       old_archive_from_new_cmds='true'
   9747       # FIXME: Should let the user specify the lib program.
   9748       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9749       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9750       enable_shared_with_static_runtimes=yes
   9751       ;;
   9752 
   9753     darwin* | rhapsody*)
   9754 
   9755 
   9756   archive_cmds_need_lc=no
   9757   hardcode_direct=no
   9758   hardcode_automatic=yes
   9759   hardcode_shlibpath_var=unsupported
   9760   if test "$lt_cv_ld_force_load" = "yes"; then
   9761     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\"`'
   9762   else
   9763     whole_archive_flag_spec=''
   9764   fi
   9765   link_all_deplibs=yes
   9766   allow_undefined_flag="$_lt_dar_allow_undefined"
   9767   case $cc_basename in
   9768      ifort*) _lt_dar_can_shared=yes ;;
   9769      *) _lt_dar_can_shared=$GCC ;;
   9770   esac
   9771   if test "$_lt_dar_can_shared" = "yes"; then
   9772     output_verbose_link_cmd=func_echo_all
   9773     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9774     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9775     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}"
   9776     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}"
   9777 
   9778   else
   9779   ld_shlibs=no
   9780   fi
   9781 
   9782       ;;
   9783 
   9784     dgux*)
   9785       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9786       hardcode_libdir_flag_spec='-L$libdir'
   9787       hardcode_shlibpath_var=no
   9788       ;;
   9789 
   9790     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9791     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9792     # does not break anything, and helps significantly (at the cost of a little
   9793     # extra space).
   9794     freebsd2.2*)
   9795       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9796       hardcode_libdir_flag_spec='-R$libdir'
   9797       hardcode_direct=yes
   9798       hardcode_shlibpath_var=no
   9799       ;;
   9800 
   9801     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9802     freebsd2.*)
   9803       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9804       hardcode_direct=yes
   9805       hardcode_minus_L=yes
   9806       hardcode_shlibpath_var=no
   9807       ;;
   9808 
   9809     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9810     freebsd* | dragonfly*)
   9811       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9812       hardcode_libdir_flag_spec='-R$libdir'
   9813       hardcode_direct=yes
   9814       hardcode_shlibpath_var=no
   9815       ;;
   9816 
   9817     hpux9*)
   9818       if test "$GCC" = yes; then
   9819 	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'
   9820       else
   9821 	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'
   9822       fi
   9823       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9824       hardcode_libdir_separator=:
   9825       hardcode_direct=yes
   9826 
   9827       # hardcode_minus_L: Not really in the search PATH,
   9828       # but as the default location of the library.
   9829       hardcode_minus_L=yes
   9830       export_dynamic_flag_spec='${wl}-E'
   9831       ;;
   9832 
   9833     hpux10*)
   9834       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9835 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9836       else
   9837 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9838       fi
   9839       if test "$with_gnu_ld" = no; then
   9840 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9841 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9842 	hardcode_libdir_separator=:
   9843 	hardcode_direct=yes
   9844 	hardcode_direct_absolute=yes
   9845 	export_dynamic_flag_spec='${wl}-E'
   9846 	# hardcode_minus_L: Not really in the search PATH,
   9847 	# but as the default location of the library.
   9848 	hardcode_minus_L=yes
   9849       fi
   9850       ;;
   9851 
   9852     hpux11*)
   9853       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9854 	case $host_cpu in
   9855 	hppa*64*)
   9856 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9857 	  ;;
   9858 	ia64*)
   9859 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9860 	  ;;
   9861 	*)
   9862 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9863 	  ;;
   9864 	esac
   9865       else
   9866 	case $host_cpu in
   9867 	hppa*64*)
   9868 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9869 	  ;;
   9870 	ia64*)
   9871 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9872 	  ;;
   9873 	*)
   9874 
   9875 	  # Older versions of the 11.00 compiler do not understand -b yet
   9876 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9877 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9878 $as_echo_n "checking if $CC understands -b... " >&6; }
   9879 if ${lt_cv_prog_compiler__b+:} false; then :
   9880   $as_echo_n "(cached) " >&6
   9881 else
   9882   lt_cv_prog_compiler__b=no
   9883    save_LDFLAGS="$LDFLAGS"
   9884    LDFLAGS="$LDFLAGS -b"
   9885    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9886    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9887      # The linker can only warn and ignore the option if not recognized
   9888      # So say no if there are warnings
   9889      if test -s conftest.err; then
   9890        # Append any errors to the config.log.
   9891        cat conftest.err 1>&5
   9892        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9893        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9894        if diff conftest.exp conftest.er2 >/dev/null; then
   9895          lt_cv_prog_compiler__b=yes
   9896        fi
   9897      else
   9898        lt_cv_prog_compiler__b=yes
   9899      fi
   9900    fi
   9901    $RM -r conftest*
   9902    LDFLAGS="$save_LDFLAGS"
   9903 
   9904 fi
   9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9906 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9907 
   9908 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9909     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9910 else
   9911     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9912 fi
   9913 
   9914 	  ;;
   9915 	esac
   9916       fi
   9917       if test "$with_gnu_ld" = no; then
   9918 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9919 	hardcode_libdir_separator=:
   9920 
   9921 	case $host_cpu in
   9922 	hppa*64*|ia64*)
   9923 	  hardcode_direct=no
   9924 	  hardcode_shlibpath_var=no
   9925 	  ;;
   9926 	*)
   9927 	  hardcode_direct=yes
   9928 	  hardcode_direct_absolute=yes
   9929 	  export_dynamic_flag_spec='${wl}-E'
   9930 
   9931 	  # hardcode_minus_L: Not really in the search PATH,
   9932 	  # but as the default location of the library.
   9933 	  hardcode_minus_L=yes
   9934 	  ;;
   9935 	esac
   9936       fi
   9937       ;;
   9938 
   9939     irix5* | irix6* | nonstopux*)
   9940       if test "$GCC" = yes; then
   9941 	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'
   9942 	# Try to use the -exported_symbol ld option, if it does not
   9943 	# work, assume that -exports_file does not work either and
   9944 	# implicitly export all symbols.
   9945         save_LDFLAGS="$LDFLAGS"
   9946         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9947         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9948 /* end confdefs.h.  */
   9949 int foo(void) {}
   9950 _ACEOF
   9951 if ac_fn_c_try_link "$LINENO"; then :
   9952   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'
   9953 
   9954 fi
   9955 rm -f core conftest.err conftest.$ac_objext \
   9956     conftest$ac_exeext conftest.$ac_ext
   9957         LDFLAGS="$save_LDFLAGS"
   9958       else
   9959 	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'
   9960 	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'
   9961       fi
   9962       archive_cmds_need_lc='no'
   9963       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9964       hardcode_libdir_separator=:
   9965       inherit_rpath=yes
   9966       link_all_deplibs=yes
   9967       ;;
   9968 
   9969     netbsd*)
   9970       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9971 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9972       else
   9973 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9974       fi
   9975       hardcode_libdir_flag_spec='-R$libdir'
   9976       hardcode_direct=yes
   9977       hardcode_shlibpath_var=no
   9978       ;;
   9979 
   9980     newsos6)
   9981       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9982       hardcode_direct=yes
   9983       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9984       hardcode_libdir_separator=:
   9985       hardcode_shlibpath_var=no
   9986       ;;
   9987 
   9988     *nto* | *qnx*)
   9989       ;;
   9990 
   9991     openbsd*)
   9992       if test -f /usr/libexec/ld.so; then
   9993 	hardcode_direct=yes
   9994 	hardcode_shlibpath_var=no
   9995 	hardcode_direct_absolute=yes
   9996 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9997 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9998 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9999 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10000 	  export_dynamic_flag_spec='${wl}-E'
   10001 	else
   10002 	  case $host_os in
   10003 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10004 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10005 	     hardcode_libdir_flag_spec='-R$libdir'
   10006 	     ;;
   10007 	   *)
   10008 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10009 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10010 	     ;;
   10011 	  esac
   10012 	fi
   10013       else
   10014 	ld_shlibs=no
   10015       fi
   10016       ;;
   10017 
   10018     os2*)
   10019       hardcode_libdir_flag_spec='-L$libdir'
   10020       hardcode_minus_L=yes
   10021       allow_undefined_flag=unsupported
   10022       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'
   10023       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10024       ;;
   10025 
   10026     osf3*)
   10027       if test "$GCC" = yes; then
   10028 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10029 	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'
   10030       else
   10031 	allow_undefined_flag=' -expect_unresolved \*'
   10032 	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'
   10033       fi
   10034       archive_cmds_need_lc='no'
   10035       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10036       hardcode_libdir_separator=:
   10037       ;;
   10038 
   10039     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10040       if test "$GCC" = yes; then
   10041 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10042 	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'
   10043 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10044       else
   10045 	allow_undefined_flag=' -expect_unresolved \*'
   10046 	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'
   10047 	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~
   10048 	$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'
   10049 
   10050 	# Both c and cxx compiler support -rpath directly
   10051 	hardcode_libdir_flag_spec='-rpath $libdir'
   10052       fi
   10053       archive_cmds_need_lc='no'
   10054       hardcode_libdir_separator=:
   10055       ;;
   10056 
   10057     solaris*)
   10058       no_undefined_flag=' -z defs'
   10059       if test "$GCC" = yes; then
   10060 	wlarc='${wl}'
   10061 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10062 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10063 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10064       else
   10065 	case `$CC -V 2>&1` in
   10066 	*"Compilers 5.0"*)
   10067 	  wlarc=''
   10068 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10069 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10070 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10071 	  ;;
   10072 	*)
   10073 	  wlarc='${wl}'
   10074 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10075 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10076 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10077 	  ;;
   10078 	esac
   10079       fi
   10080       hardcode_libdir_flag_spec='-R$libdir'
   10081       hardcode_shlibpath_var=no
   10082       case $host_os in
   10083       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10084       *)
   10085 	# The compiler driver will combine and reorder linker options,
   10086 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10087 	# but is careful enough not to reorder.
   10088 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10089 	if test "$GCC" = yes; then
   10090 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10091 	else
   10092 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10093 	fi
   10094 	;;
   10095       esac
   10096       link_all_deplibs=yes
   10097       ;;
   10098 
   10099     sunos4*)
   10100       if test "x$host_vendor" = xsequent; then
   10101 	# Use $CC to link under sequent, because it throws in some extra .o
   10102 	# files that make .init and .fini sections work.
   10103 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10104       else
   10105 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10106       fi
   10107       hardcode_libdir_flag_spec='-L$libdir'
   10108       hardcode_direct=yes
   10109       hardcode_minus_L=yes
   10110       hardcode_shlibpath_var=no
   10111       ;;
   10112 
   10113     sysv4)
   10114       case $host_vendor in
   10115 	sni)
   10116 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10117 	  hardcode_direct=yes # is this really true???
   10118 	;;
   10119 	siemens)
   10120 	  ## LD is ld it makes a PLAMLIB
   10121 	  ## CC just makes a GrossModule.
   10122 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10123 	  reload_cmds='$CC -r -o $output$reload_objs'
   10124 	  hardcode_direct=no
   10125         ;;
   10126 	motorola)
   10127 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10128 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10129 	;;
   10130       esac
   10131       runpath_var='LD_RUN_PATH'
   10132       hardcode_shlibpath_var=no
   10133       ;;
   10134 
   10135     sysv4.3*)
   10136       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10137       hardcode_shlibpath_var=no
   10138       export_dynamic_flag_spec='-Bexport'
   10139       ;;
   10140 
   10141     sysv4*MP*)
   10142       if test -d /usr/nec; then
   10143 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10144 	hardcode_shlibpath_var=no
   10145 	runpath_var=LD_RUN_PATH
   10146 	hardcode_runpath_var=yes
   10147 	ld_shlibs=yes
   10148       fi
   10149       ;;
   10150 
   10151     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10152       no_undefined_flag='${wl}-z,text'
   10153       archive_cmds_need_lc=no
   10154       hardcode_shlibpath_var=no
   10155       runpath_var='LD_RUN_PATH'
   10156 
   10157       if test "$GCC" = yes; then
   10158 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10159 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10160       else
   10161 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10162 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10163       fi
   10164       ;;
   10165 
   10166     sysv5* | sco3.2v5* | sco5v6*)
   10167       # Note: We can NOT use -z defs as we might desire, because we do not
   10168       # link with -lc, and that would cause any symbols used from libc to
   10169       # always be unresolved, which means just about no library would
   10170       # ever link correctly.  If we're not using GNU ld we use -z text
   10171       # though, which does catch some bad symbols but isn't as heavy-handed
   10172       # as -z defs.
   10173       no_undefined_flag='${wl}-z,text'
   10174       allow_undefined_flag='${wl}-z,nodefs'
   10175       archive_cmds_need_lc=no
   10176       hardcode_shlibpath_var=no
   10177       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10178       hardcode_libdir_separator=':'
   10179       link_all_deplibs=yes
   10180       export_dynamic_flag_spec='${wl}-Bexport'
   10181       runpath_var='LD_RUN_PATH'
   10182 
   10183       if test "$GCC" = yes; then
   10184 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10185 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10186       else
   10187 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10188 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10189       fi
   10190       ;;
   10191 
   10192     uts4*)
   10193       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10194       hardcode_libdir_flag_spec='-L$libdir'
   10195       hardcode_shlibpath_var=no
   10196       ;;
   10197 
   10198     *)
   10199       ld_shlibs=no
   10200       ;;
   10201     esac
   10202 
   10203     if test x$host_vendor = xsni; then
   10204       case $host in
   10205       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10206 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10207 	;;
   10208       esac
   10209     fi
   10210   fi
   10211 
   10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10213 $as_echo "$ld_shlibs" >&6; }
   10214 test "$ld_shlibs" = no && can_build_shared=no
   10215 
   10216 with_gnu_ld=$with_gnu_ld
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 #
   10233 # Do we need to explicitly link libc?
   10234 #
   10235 case "x$archive_cmds_need_lc" in
   10236 x|xyes)
   10237   # Assume -lc should be added
   10238   archive_cmds_need_lc=yes
   10239 
   10240   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10241     case $archive_cmds in
   10242     *'~'*)
   10243       # FIXME: we may have to deal with multi-command sequences.
   10244       ;;
   10245     '$CC '*)
   10246       # Test whether the compiler implicitly links with -lc since on some
   10247       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10248       # to ld, don't add -lc before -lgcc.
   10249       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10250 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10251 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10252   $as_echo_n "(cached) " >&6
   10253 else
   10254   $RM conftest*
   10255 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10256 
   10257 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10258   (eval $ac_compile) 2>&5
   10259   ac_status=$?
   10260   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10261   test $ac_status = 0; } 2>conftest.err; then
   10262 	  soname=conftest
   10263 	  lib=conftest
   10264 	  libobjs=conftest.$ac_objext
   10265 	  deplibs=
   10266 	  wl=$lt_prog_compiler_wl
   10267 	  pic_flag=$lt_prog_compiler_pic
   10268 	  compiler_flags=-v
   10269 	  linker_flags=-v
   10270 	  verstring=
   10271 	  output_objdir=.
   10272 	  libname=conftest
   10273 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10274 	  allow_undefined_flag=
   10275 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10276   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10277   ac_status=$?
   10278   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10279   test $ac_status = 0; }
   10280 	  then
   10281 	    lt_cv_archive_cmds_need_lc=no
   10282 	  else
   10283 	    lt_cv_archive_cmds_need_lc=yes
   10284 	  fi
   10285 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10286 	else
   10287 	  cat conftest.err 1>&5
   10288 	fi
   10289 	$RM conftest*
   10290 
   10291 fi
   10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10293 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10294       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10295       ;;
   10296     esac
   10297   fi
   10298   ;;
   10299 esac
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10458 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10459 
   10460 if test "$GCC" = yes; then
   10461   case $host_os in
   10462     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10463     *) lt_awk_arg="/^libraries:/" ;;
   10464   esac
   10465   case $host_os in
   10466     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10467     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10468   esac
   10469   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10470   case $lt_search_path_spec in
   10471   *\;*)
   10472     # if the path contains ";" then we assume it to be the separator
   10473     # otherwise default to the standard path separator (i.e. ":") - it is
   10474     # assumed that no part of a normal pathname contains ";" but that should
   10475     # okay in the real world where ";" in dirpaths is itself problematic.
   10476     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10477     ;;
   10478   *)
   10479     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10480     ;;
   10481   esac
   10482   # Ok, now we have the path, separated by spaces, we can step through it
   10483   # and add multilib dir if necessary.
   10484   lt_tmp_lt_search_path_spec=
   10485   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10486   for lt_sys_path in $lt_search_path_spec; do
   10487     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10488       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10489     else
   10490       test -d "$lt_sys_path" && \
   10491 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10492     fi
   10493   done
   10494   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10495 BEGIN {RS=" "; FS="/|\n";} {
   10496   lt_foo="";
   10497   lt_count=0;
   10498   for (lt_i = NF; lt_i > 0; lt_i--) {
   10499     if ($lt_i != "" && $lt_i != ".") {
   10500       if ($lt_i == "..") {
   10501         lt_count++;
   10502       } else {
   10503         if (lt_count == 0) {
   10504           lt_foo="/" $lt_i lt_foo;
   10505         } else {
   10506           lt_count--;
   10507         }
   10508       }
   10509     }
   10510   }
   10511   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10512   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10513 }'`
   10514   # AWK program above erroneously prepends '/' to C:/dos/paths
   10515   # for these hosts.
   10516   case $host_os in
   10517     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10518       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10519   esac
   10520   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10521 else
   10522   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10523 fi
   10524 library_names_spec=
   10525 libname_spec='lib$name'
   10526 soname_spec=
   10527 shrext_cmds=".so"
   10528 postinstall_cmds=
   10529 postuninstall_cmds=
   10530 finish_cmds=
   10531 finish_eval=
   10532 shlibpath_var=
   10533 shlibpath_overrides_runpath=unknown
   10534 version_type=none
   10535 dynamic_linker="$host_os ld.so"
   10536 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10537 need_lib_prefix=unknown
   10538 hardcode_into_libs=no
   10539 
   10540 # when you set need_version to no, make sure it does not cause -set_version
   10541 # flags to be left without arguments
   10542 need_version=unknown
   10543 
   10544 case $host_os in
   10545 aix3*)
   10546   version_type=linux
   10547   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10548   shlibpath_var=LIBPATH
   10549 
   10550   # AIX 3 has no versioning support, so we append a major version to the name.
   10551   soname_spec='${libname}${release}${shared_ext}$major'
   10552   ;;
   10553 
   10554 aix[4-9]*)
   10555   version_type=linux
   10556   need_lib_prefix=no
   10557   need_version=no
   10558   hardcode_into_libs=yes
   10559   if test "$host_cpu" = ia64; then
   10560     # AIX 5 supports IA64
   10561     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10562     shlibpath_var=LD_LIBRARY_PATH
   10563   else
   10564     # With GCC up to 2.95.x, collect2 would create an import file
   10565     # for dependence libraries.  The import file would start with
   10566     # the line `#! .'.  This would cause the generated library to
   10567     # depend on `.', always an invalid library.  This was fixed in
   10568     # development snapshots of GCC prior to 3.0.
   10569     case $host_os in
   10570       aix4 | aix4.[01] | aix4.[01].*)
   10571       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10572 	   echo ' yes '
   10573 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10574 	:
   10575       else
   10576 	can_build_shared=no
   10577       fi
   10578       ;;
   10579     esac
   10580     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10581     # soname into executable. Probably we can add versioning support to
   10582     # collect2, so additional links can be useful in future.
   10583     if test "$aix_use_runtimelinking" = yes; then
   10584       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10585       # instead of lib<name>.a to let people know that these are not
   10586       # typical AIX shared libraries.
   10587       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10588     else
   10589       # We preserve .a as extension for shared libraries through AIX4.2
   10590       # and later when we are not doing run time linking.
   10591       library_names_spec='${libname}${release}.a $libname.a'
   10592       soname_spec='${libname}${release}${shared_ext}$major'
   10593     fi
   10594     shlibpath_var=LIBPATH
   10595   fi
   10596   ;;
   10597 
   10598 amigaos*)
   10599   case $host_cpu in
   10600   powerpc)
   10601     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10602     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10603     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10604     ;;
   10605   m68k)
   10606     library_names_spec='$libname.ixlibrary $libname.a'
   10607     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10608     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'
   10609     ;;
   10610   esac
   10611   ;;
   10612 
   10613 beos*)
   10614   library_names_spec='${libname}${shared_ext}'
   10615   dynamic_linker="$host_os ld.so"
   10616   shlibpath_var=LIBRARY_PATH
   10617   ;;
   10618 
   10619 bsdi[45]*)
   10620   version_type=linux
   10621   need_version=no
   10622   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10623   soname_spec='${libname}${release}${shared_ext}$major'
   10624   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10625   shlibpath_var=LD_LIBRARY_PATH
   10626   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10627   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10628   # the default ld.so.conf also contains /usr/contrib/lib and
   10629   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10630   # libtool to hard-code these into programs
   10631   ;;
   10632 
   10633 cygwin* | mingw* | pw32* | cegcc*)
   10634   version_type=windows
   10635   shrext_cmds=".dll"
   10636   need_version=no
   10637   need_lib_prefix=no
   10638 
   10639   case $GCC,$host_os in
   10640   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10641     library_names_spec='$libname.dll.a'
   10642     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10643     postinstall_cmds='base_file=`basename \${file}`~
   10644       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10645       dldir=$destdir/`dirname \$dlpath`~
   10646       test -d \$dldir || mkdir -p \$dldir~
   10647       $install_prog $dir/$dlname \$dldir/$dlname~
   10648       chmod a+x \$dldir/$dlname~
   10649       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10650         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10651       fi'
   10652     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10653       dlpath=$dir/\$dldll~
   10654        $RM \$dlpath'
   10655     shlibpath_overrides_runpath=yes
   10656 
   10657     case $host_os in
   10658     cygwin*)
   10659       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10660       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10661 
   10662       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10663       ;;
   10664     mingw* | cegcc*)
   10665       # MinGW DLLs use traditional 'lib' prefix
   10666       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10667       ;;
   10668     pw32*)
   10669       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10670       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10671       ;;
   10672     esac
   10673     ;;
   10674 
   10675   *)
   10676     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10677     ;;
   10678   esac
   10679   dynamic_linker='Win32 ld.exe'
   10680   # FIXME: first we should search . and the directory the executable is in
   10681   shlibpath_var=PATH
   10682   ;;
   10683 
   10684 darwin* | rhapsody*)
   10685   dynamic_linker="$host_os dyld"
   10686   version_type=darwin
   10687   need_lib_prefix=no
   10688   need_version=no
   10689   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10690   soname_spec='${libname}${release}${major}$shared_ext'
   10691   shlibpath_overrides_runpath=yes
   10692   shlibpath_var=DYLD_LIBRARY_PATH
   10693   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10694 
   10695   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10696   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10697   ;;
   10698 
   10699 dgux*)
   10700   version_type=linux
   10701   need_lib_prefix=no
   10702   need_version=no
   10703   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10704   soname_spec='${libname}${release}${shared_ext}$major'
   10705   shlibpath_var=LD_LIBRARY_PATH
   10706   ;;
   10707 
   10708 freebsd* | dragonfly*)
   10709   # DragonFly does not have aout.  When/if they implement a new
   10710   # versioning mechanism, adjust this.
   10711   if test -x /usr/bin/objformat; then
   10712     objformat=`/usr/bin/objformat`
   10713   else
   10714     case $host_os in
   10715     freebsd[23].*) objformat=aout ;;
   10716     *) objformat=elf ;;
   10717     esac
   10718   fi
   10719   version_type=freebsd-$objformat
   10720   case $version_type in
   10721     freebsd-elf*)
   10722       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10723       need_version=no
   10724       need_lib_prefix=no
   10725       ;;
   10726     freebsd-*)
   10727       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10728       need_version=yes
   10729       ;;
   10730   esac
   10731   shlibpath_var=LD_LIBRARY_PATH
   10732   case $host_os in
   10733   freebsd2.*)
   10734     shlibpath_overrides_runpath=yes
   10735     ;;
   10736   freebsd3.[01]* | freebsdelf3.[01]*)
   10737     shlibpath_overrides_runpath=yes
   10738     hardcode_into_libs=yes
   10739     ;;
   10740   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10741   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10742     shlibpath_overrides_runpath=no
   10743     hardcode_into_libs=yes
   10744     ;;
   10745   *) # from 4.6 on, and DragonFly
   10746     shlibpath_overrides_runpath=yes
   10747     hardcode_into_libs=yes
   10748     ;;
   10749   esac
   10750   ;;
   10751 
   10752 haiku*)
   10753   version_type=linux
   10754   need_lib_prefix=no
   10755   need_version=no
   10756   dynamic_linker="$host_os runtime_loader"
   10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10758   soname_spec='${libname}${release}${shared_ext}$major'
   10759   shlibpath_var=LIBRARY_PATH
   10760   shlibpath_overrides_runpath=yes
   10761   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10762   hardcode_into_libs=yes
   10763   ;;
   10764 
   10765 hpux9* | hpux10* | hpux11*)
   10766   # Give a soname corresponding to the major version so that dld.sl refuses to
   10767   # link against other versions.
   10768   version_type=sunos
   10769   need_lib_prefix=no
   10770   need_version=no
   10771   case $host_cpu in
   10772   ia64*)
   10773     shrext_cmds='.so'
   10774     hardcode_into_libs=yes
   10775     dynamic_linker="$host_os dld.so"
   10776     shlibpath_var=LD_LIBRARY_PATH
   10777     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10778     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10779     soname_spec='${libname}${release}${shared_ext}$major'
   10780     if test "X$HPUX_IA64_MODE" = X32; then
   10781       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10782     else
   10783       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10784     fi
   10785     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10786     ;;
   10787   hppa*64*)
   10788     shrext_cmds='.sl'
   10789     hardcode_into_libs=yes
   10790     dynamic_linker="$host_os dld.sl"
   10791     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10792     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10793     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10794     soname_spec='${libname}${release}${shared_ext}$major'
   10795     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10796     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10797     ;;
   10798   *)
   10799     shrext_cmds='.sl'
   10800     dynamic_linker="$host_os dld.sl"
   10801     shlibpath_var=SHLIB_PATH
   10802     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10803     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10804     soname_spec='${libname}${release}${shared_ext}$major'
   10805     ;;
   10806   esac
   10807   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10808   postinstall_cmds='chmod 555 $lib'
   10809   # or fails outright, so override atomically:
   10810   install_override_mode=555
   10811   ;;
   10812 
   10813 interix[3-9]*)
   10814   version_type=linux
   10815   need_lib_prefix=no
   10816   need_version=no
   10817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10818   soname_spec='${libname}${release}${shared_ext}$major'
   10819   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10820   shlibpath_var=LD_LIBRARY_PATH
   10821   shlibpath_overrides_runpath=no
   10822   hardcode_into_libs=yes
   10823   ;;
   10824 
   10825 irix5* | irix6* | nonstopux*)
   10826   case $host_os in
   10827     nonstopux*) version_type=nonstopux ;;
   10828     *)
   10829 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10830 		version_type=linux
   10831 	else
   10832 		version_type=irix
   10833 	fi ;;
   10834   esac
   10835   need_lib_prefix=no
   10836   need_version=no
   10837   soname_spec='${libname}${release}${shared_ext}$major'
   10838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10839   case $host_os in
   10840   irix5* | nonstopux*)
   10841     libsuff= shlibsuff=
   10842     ;;
   10843   *)
   10844     case $LD in # libtool.m4 will add one of these switches to LD
   10845     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10846       libsuff= shlibsuff= libmagic=32-bit;;
   10847     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10848       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10849     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10850       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10851     *) libsuff= shlibsuff= libmagic=never-match;;
   10852     esac
   10853     ;;
   10854   esac
   10855   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10856   shlibpath_overrides_runpath=no
   10857   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10858   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10859   hardcode_into_libs=yes
   10860   ;;
   10861 
   10862 # No shared lib support for Linux oldld, aout, or coff.
   10863 linux*oldld* | linux*aout* | linux*coff*)
   10864   dynamic_linker=no
   10865   ;;
   10866 
   10867 # This must be Linux ELF.
   10868 
   10869 # uclinux* changes (here and below) have been submitted to the libtool
   10870 # project, but have not yet been accepted: they are GCC-local changes
   10871 # for the time being.  (See
   10872 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   10873 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   10874   version_type=linux
   10875   need_lib_prefix=no
   10876   need_version=no
   10877   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10878   soname_spec='${libname}${release}${shared_ext}$major'
   10879   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10880   shlibpath_var=LD_LIBRARY_PATH
   10881   shlibpath_overrides_runpath=no
   10882 
   10883   # Some binutils ld are patched to set DT_RUNPATH
   10884   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10885   $as_echo_n "(cached) " >&6
   10886 else
   10887   lt_cv_shlibpath_overrides_runpath=no
   10888     save_LDFLAGS=$LDFLAGS
   10889     save_libdir=$libdir
   10890     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10891 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10892     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10893 /* end confdefs.h.  */
   10894 
   10895 int
   10896 main ()
   10897 {
   10898 
   10899   ;
   10900   return 0;
   10901 }
   10902 _ACEOF
   10903 if ac_fn_c_try_link "$LINENO"; then :
   10904   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10905   lt_cv_shlibpath_overrides_runpath=yes
   10906 fi
   10907 fi
   10908 rm -f core conftest.err conftest.$ac_objext \
   10909     conftest$ac_exeext conftest.$ac_ext
   10910     LDFLAGS=$save_LDFLAGS
   10911     libdir=$save_libdir
   10912 
   10913 fi
   10914 
   10915   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10916 
   10917   # This implies no fast_install, which is unacceptable.
   10918   # Some rework will be needed to allow for fast_install
   10919   # before this can be enabled.
   10920   hardcode_into_libs=yes
   10921 
   10922   # Append ld.so.conf contents to the search path
   10923   if test -f /etc/ld.so.conf; then
   10924     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' ' '`
   10925     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10926   fi
   10927 
   10928   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10929   # powerpc, because MkLinux only supported shared libraries with the
   10930   # GNU dynamic linker.  Since this was broken with cross compilers,
   10931   # most powerpc-linux boxes support dynamic linking these days and
   10932   # people can always --disable-shared, the test was removed, and we
   10933   # assume the GNU/Linux dynamic linker is in use.
   10934   dynamic_linker='GNU/Linux ld.so'
   10935   ;;
   10936 
   10937 netbsd*)
   10938   version_type=sunos
   10939   need_lib_prefix=no
   10940   need_version=no
   10941   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10942     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10943     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10944     dynamic_linker='NetBSD (a.out) ld.so'
   10945   else
   10946     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10947     soname_spec='${libname}${release}${shared_ext}$major'
   10948     dynamic_linker='NetBSD ld.elf_so'
   10949   fi
   10950   shlibpath_var=LD_LIBRARY_PATH
   10951   shlibpath_overrides_runpath=yes
   10952   hardcode_into_libs=yes
   10953   ;;
   10954 
   10955 newsos6)
   10956   version_type=linux
   10957   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10958   shlibpath_var=LD_LIBRARY_PATH
   10959   shlibpath_overrides_runpath=yes
   10960   ;;
   10961 
   10962 *nto* | *qnx*)
   10963   version_type=qnx
   10964   need_lib_prefix=no
   10965   need_version=no
   10966   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10967   soname_spec='${libname}${release}${shared_ext}$major'
   10968   shlibpath_var=LD_LIBRARY_PATH
   10969   shlibpath_overrides_runpath=no
   10970   hardcode_into_libs=yes
   10971   dynamic_linker='ldqnx.so'
   10972   ;;
   10973 
   10974 openbsd*)
   10975   version_type=sunos
   10976   sys_lib_dlsearch_path_spec="/usr/lib"
   10977   need_lib_prefix=no
   10978   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10979   case $host_os in
   10980     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10981     *)				need_version=no  ;;
   10982   esac
   10983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10984   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10985   shlibpath_var=LD_LIBRARY_PATH
   10986   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10987     case $host_os in
   10988       openbsd2.[89] | openbsd2.[89].*)
   10989 	shlibpath_overrides_runpath=no
   10990 	;;
   10991       *)
   10992 	shlibpath_overrides_runpath=yes
   10993 	;;
   10994       esac
   10995   else
   10996     shlibpath_overrides_runpath=yes
   10997   fi
   10998   ;;
   10999 
   11000 os2*)
   11001   libname_spec='$name'
   11002   shrext_cmds=".dll"
   11003   need_lib_prefix=no
   11004   library_names_spec='$libname${shared_ext} $libname.a'
   11005   dynamic_linker='OS/2 ld.exe'
   11006   shlibpath_var=LIBPATH
   11007   ;;
   11008 
   11009 osf3* | osf4* | osf5*)
   11010   version_type=osf
   11011   need_lib_prefix=no
   11012   need_version=no
   11013   soname_spec='${libname}${release}${shared_ext}$major'
   11014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11015   shlibpath_var=LD_LIBRARY_PATH
   11016   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11017   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11018   ;;
   11019 
   11020 rdos*)
   11021   dynamic_linker=no
   11022   ;;
   11023 
   11024 solaris*)
   11025   version_type=linux
   11026   need_lib_prefix=no
   11027   need_version=no
   11028   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11029   soname_spec='${libname}${release}${shared_ext}$major'
   11030   shlibpath_var=LD_LIBRARY_PATH
   11031   shlibpath_overrides_runpath=yes
   11032   hardcode_into_libs=yes
   11033   # ldd complains unless libraries are executable
   11034   postinstall_cmds='chmod +x $lib'
   11035   ;;
   11036 
   11037 sunos4*)
   11038   version_type=sunos
   11039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11040   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11041   shlibpath_var=LD_LIBRARY_PATH
   11042   shlibpath_overrides_runpath=yes
   11043   if test "$with_gnu_ld" = yes; then
   11044     need_lib_prefix=no
   11045   fi
   11046   need_version=yes
   11047   ;;
   11048 
   11049 sysv4 | sysv4.3*)
   11050   version_type=linux
   11051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11052   soname_spec='${libname}${release}${shared_ext}$major'
   11053   shlibpath_var=LD_LIBRARY_PATH
   11054   case $host_vendor in
   11055     sni)
   11056       shlibpath_overrides_runpath=no
   11057       need_lib_prefix=no
   11058       runpath_var=LD_RUN_PATH
   11059       ;;
   11060     siemens)
   11061       need_lib_prefix=no
   11062       ;;
   11063     motorola)
   11064       need_lib_prefix=no
   11065       need_version=no
   11066       shlibpath_overrides_runpath=no
   11067       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11068       ;;
   11069   esac
   11070   ;;
   11071 
   11072 sysv4*MP*)
   11073   if test -d /usr/nec ;then
   11074     version_type=linux
   11075     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11076     soname_spec='$libname${shared_ext}.$major'
   11077     shlibpath_var=LD_LIBRARY_PATH
   11078   fi
   11079   ;;
   11080 
   11081 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11082   version_type=freebsd-elf
   11083   need_lib_prefix=no
   11084   need_version=no
   11085   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11086   soname_spec='${libname}${release}${shared_ext}$major'
   11087   shlibpath_var=LD_LIBRARY_PATH
   11088   shlibpath_overrides_runpath=yes
   11089   hardcode_into_libs=yes
   11090   if test "$with_gnu_ld" = yes; then
   11091     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11092   else
   11093     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11094     case $host_os in
   11095       sco3.2v5*)
   11096         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11097 	;;
   11098     esac
   11099   fi
   11100   sys_lib_dlsearch_path_spec='/usr/lib'
   11101   ;;
   11102 
   11103 tpf*)
   11104   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11105   version_type=linux
   11106   need_lib_prefix=no
   11107   need_version=no
   11108   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11109   shlibpath_var=LD_LIBRARY_PATH
   11110   shlibpath_overrides_runpath=no
   11111   hardcode_into_libs=yes
   11112   ;;
   11113 
   11114 uts4*)
   11115   version_type=linux
   11116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11117   soname_spec='${libname}${release}${shared_ext}$major'
   11118   shlibpath_var=LD_LIBRARY_PATH
   11119   ;;
   11120 
   11121 # Shared libraries for VwWorks, >= 7 only at this stage
   11122 # and (fpic) still incompatible with "large" code models
   11123 # in a few configurations. Only for RTP mode in any case,
   11124 # and upon explicit request at configure time.
   11125 vxworks7*)
   11126   dynamic_linker=no
   11127   case ${with_multisubdir}-${enable_shared} in
   11128     *large*)
   11129       ;;
   11130     *mrtp*-yes)
   11131       version_type=linux
   11132       need_lib_prefix=no
   11133       need_version=no
   11134       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11135       soname_spec='${libname}${release}${shared_ext}$major'
   11136       dynamic_linker="$host_os module_loader"
   11137       ;;
   11138   esac
   11139   ;;
   11140 *)
   11141   dynamic_linker=no
   11142   ;;
   11143 esac
   11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11145 $as_echo "$dynamic_linker" >&6; }
   11146 test "$dynamic_linker" = no && can_build_shared=no
   11147 
   11148 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11149 if test "$GCC" = yes; then
   11150   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11151 fi
   11152 
   11153 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11154   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11155 fi
   11156 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11157   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11158 fi
   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 how to hardcode library paths into programs" >&5
   11252 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11253 hardcode_action=
   11254 if test -n "$hardcode_libdir_flag_spec" ||
   11255    test -n "$runpath_var" ||
   11256    test "X$hardcode_automatic" = "Xyes" ; then
   11257 
   11258   # We can hardcode non-existent directories.
   11259   if test "$hardcode_direct" != no &&
   11260      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11261      # have to relink, otherwise we might link with an installed library
   11262      # when we should be linking with a yet-to-be-installed one
   11263      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11264      test "$hardcode_minus_L" != no; then
   11265     # Linking always hardcodes the temporary library directory.
   11266     hardcode_action=relink
   11267   else
   11268     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11269     hardcode_action=immediate
   11270   fi
   11271 else
   11272   # We cannot hardcode anything, or else we can only hardcode existing
   11273   # directories.
   11274   hardcode_action=unsupported
   11275 fi
   11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11277 $as_echo "$hardcode_action" >&6; }
   11278 
   11279 if test "$hardcode_action" = relink ||
   11280    test "$inherit_rpath" = yes; then
   11281   # Fast installation is not supported
   11282   enable_fast_install=no
   11283 elif test "$shlibpath_overrides_runpath" = yes ||
   11284      test "$enable_shared" = no; then
   11285   # Fast installation is not necessary
   11286   enable_fast_install=needless
   11287 fi
   11288 
   11289 
   11290 
   11291 
   11292 
   11293 
   11294   if test "x$enable_dlopen" != xyes; then
   11295   enable_dlopen=unknown
   11296   enable_dlopen_self=unknown
   11297   enable_dlopen_self_static=unknown
   11298 else
   11299   lt_cv_dlopen=no
   11300   lt_cv_dlopen_libs=
   11301 
   11302   case $host_os in
   11303   beos*)
   11304     lt_cv_dlopen="load_add_on"
   11305     lt_cv_dlopen_libs=
   11306     lt_cv_dlopen_self=yes
   11307     ;;
   11308 
   11309   mingw* | pw32* | cegcc*)
   11310     lt_cv_dlopen="LoadLibrary"
   11311     lt_cv_dlopen_libs=
   11312     ;;
   11313 
   11314   cygwin*)
   11315     lt_cv_dlopen="dlopen"
   11316     lt_cv_dlopen_libs=
   11317     ;;
   11318 
   11319   darwin*)
   11320   # if libdl is installed we need to link against it
   11321     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11322 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11323 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11324   $as_echo_n "(cached) " >&6
   11325 else
   11326   ac_check_lib_save_LIBS=$LIBS
   11327 LIBS="-ldl  $LIBS"
   11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11329 /* end confdefs.h.  */
   11330 
   11331 /* Override any GCC internal prototype to avoid an error.
   11332    Use char because int might match the return type of a GCC
   11333    builtin and then its argument prototype would still apply.  */
   11334 #ifdef __cplusplus
   11335 extern "C"
   11336 #endif
   11337 char dlopen ();
   11338 int
   11339 main ()
   11340 {
   11341 return dlopen ();
   11342   ;
   11343   return 0;
   11344 }
   11345 _ACEOF
   11346 if ac_fn_c_try_link "$LINENO"; then :
   11347   ac_cv_lib_dl_dlopen=yes
   11348 else
   11349   ac_cv_lib_dl_dlopen=no
   11350 fi
   11351 rm -f core conftest.err conftest.$ac_objext \
   11352     conftest$ac_exeext conftest.$ac_ext
   11353 LIBS=$ac_check_lib_save_LIBS
   11354 fi
   11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11357 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11358   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11359 else
   11360 
   11361     lt_cv_dlopen="dyld"
   11362     lt_cv_dlopen_libs=
   11363     lt_cv_dlopen_self=yes
   11364 
   11365 fi
   11366 
   11367     ;;
   11368 
   11369   *)
   11370     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11371 if test "x$ac_cv_func_shl_load" = xyes; then :
   11372   lt_cv_dlopen="shl_load"
   11373 else
   11374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11375 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11376 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11377   $as_echo_n "(cached) " >&6
   11378 else
   11379   ac_check_lib_save_LIBS=$LIBS
   11380 LIBS="-ldld  $LIBS"
   11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11382 /* end confdefs.h.  */
   11383 
   11384 /* Override any GCC internal prototype to avoid an error.
   11385    Use char because int might match the return type of a GCC
   11386    builtin and then its argument prototype would still apply.  */
   11387 #ifdef __cplusplus
   11388 extern "C"
   11389 #endif
   11390 char shl_load ();
   11391 int
   11392 main ()
   11393 {
   11394 return shl_load ();
   11395   ;
   11396   return 0;
   11397 }
   11398 _ACEOF
   11399 if ac_fn_c_try_link "$LINENO"; then :
   11400   ac_cv_lib_dld_shl_load=yes
   11401 else
   11402   ac_cv_lib_dld_shl_load=no
   11403 fi
   11404 rm -f core conftest.err conftest.$ac_objext \
   11405     conftest$ac_exeext conftest.$ac_ext
   11406 LIBS=$ac_check_lib_save_LIBS
   11407 fi
   11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11409 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11410 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11411   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11412 else
   11413   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11414 if test "x$ac_cv_func_dlopen" = xyes; then :
   11415   lt_cv_dlopen="dlopen"
   11416 else
   11417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11418 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11419 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11420   $as_echo_n "(cached) " >&6
   11421 else
   11422   ac_check_lib_save_LIBS=$LIBS
   11423 LIBS="-ldl  $LIBS"
   11424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11425 /* end confdefs.h.  */
   11426 
   11427 /* Override any GCC internal prototype to avoid an error.
   11428    Use char because int might match the return type of a GCC
   11429    builtin and then its argument prototype would still apply.  */
   11430 #ifdef __cplusplus
   11431 extern "C"
   11432 #endif
   11433 char dlopen ();
   11434 int
   11435 main ()
   11436 {
   11437 return dlopen ();
   11438   ;
   11439   return 0;
   11440 }
   11441 _ACEOF
   11442 if ac_fn_c_try_link "$LINENO"; then :
   11443   ac_cv_lib_dl_dlopen=yes
   11444 else
   11445   ac_cv_lib_dl_dlopen=no
   11446 fi
   11447 rm -f core conftest.err conftest.$ac_objext \
   11448     conftest$ac_exeext conftest.$ac_ext
   11449 LIBS=$ac_check_lib_save_LIBS
   11450 fi
   11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11452 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11453 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11454   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11455 else
   11456   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11457 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11458 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11459   $as_echo_n "(cached) " >&6
   11460 else
   11461   ac_check_lib_save_LIBS=$LIBS
   11462 LIBS="-lsvld  $LIBS"
   11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11464 /* end confdefs.h.  */
   11465 
   11466 /* Override any GCC internal prototype to avoid an error.
   11467    Use char because int might match the return type of a GCC
   11468    builtin and then its argument prototype would still apply.  */
   11469 #ifdef __cplusplus
   11470 extern "C"
   11471 #endif
   11472 char dlopen ();
   11473 int
   11474 main ()
   11475 {
   11476 return dlopen ();
   11477   ;
   11478   return 0;
   11479 }
   11480 _ACEOF
   11481 if ac_fn_c_try_link "$LINENO"; then :
   11482   ac_cv_lib_svld_dlopen=yes
   11483 else
   11484   ac_cv_lib_svld_dlopen=no
   11485 fi
   11486 rm -f core conftest.err conftest.$ac_objext \
   11487     conftest$ac_exeext conftest.$ac_ext
   11488 LIBS=$ac_check_lib_save_LIBS
   11489 fi
   11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11491 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11492 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11493   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11494 else
   11495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11496 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11497 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11498   $as_echo_n "(cached) " >&6
   11499 else
   11500   ac_check_lib_save_LIBS=$LIBS
   11501 LIBS="-ldld  $LIBS"
   11502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11503 /* end confdefs.h.  */
   11504 
   11505 /* Override any GCC internal prototype to avoid an error.
   11506    Use char because int might match the return type of a GCC
   11507    builtin and then its argument prototype would still apply.  */
   11508 #ifdef __cplusplus
   11509 extern "C"
   11510 #endif
   11511 char dld_link ();
   11512 int
   11513 main ()
   11514 {
   11515 return dld_link ();
   11516   ;
   11517   return 0;
   11518 }
   11519 _ACEOF
   11520 if ac_fn_c_try_link "$LINENO"; then :
   11521   ac_cv_lib_dld_dld_link=yes
   11522 else
   11523   ac_cv_lib_dld_dld_link=no
   11524 fi
   11525 rm -f core conftest.err conftest.$ac_objext \
   11526     conftest$ac_exeext conftest.$ac_ext
   11527 LIBS=$ac_check_lib_save_LIBS
   11528 fi
   11529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11530 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11531 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11532   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11533 fi
   11534 
   11535 
   11536 fi
   11537 
   11538 
   11539 fi
   11540 
   11541 
   11542 fi
   11543 
   11544 
   11545 fi
   11546 
   11547 
   11548 fi
   11549 
   11550     ;;
   11551   esac
   11552 
   11553   if test "x$lt_cv_dlopen" != xno; then
   11554     enable_dlopen=yes
   11555   else
   11556     enable_dlopen=no
   11557   fi
   11558 
   11559   case $lt_cv_dlopen in
   11560   dlopen)
   11561     save_CPPFLAGS="$CPPFLAGS"
   11562     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11563 
   11564     save_LDFLAGS="$LDFLAGS"
   11565     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11566 
   11567     save_LIBS="$LIBS"
   11568     LIBS="$lt_cv_dlopen_libs $LIBS"
   11569 
   11570     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11571 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11572 if ${lt_cv_dlopen_self+:} false; then :
   11573   $as_echo_n "(cached) " >&6
   11574 else
   11575   	  if test "$cross_compiling" = yes; then :
   11576   lt_cv_dlopen_self=cross
   11577 else
   11578   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11579   lt_status=$lt_dlunknown
   11580   cat > conftest.$ac_ext <<_LT_EOF
   11581 #line 11581 "configure"
   11582 #include "confdefs.h"
   11583 
   11584 #if HAVE_DLFCN_H
   11585 #include <dlfcn.h>
   11586 #endif
   11587 
   11588 #include <stdio.h>
   11589 
   11590 #ifdef RTLD_GLOBAL
   11591 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11592 #else
   11593 #  ifdef DL_GLOBAL
   11594 #    define LT_DLGLOBAL		DL_GLOBAL
   11595 #  else
   11596 #    define LT_DLGLOBAL		0
   11597 #  endif
   11598 #endif
   11599 
   11600 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11601    find out it does not work in some platform. */
   11602 #ifndef LT_DLLAZY_OR_NOW
   11603 #  ifdef RTLD_LAZY
   11604 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11605 #  else
   11606 #    ifdef DL_LAZY
   11607 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11608 #    else
   11609 #      ifdef RTLD_NOW
   11610 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11611 #      else
   11612 #        ifdef DL_NOW
   11613 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11614 #        else
   11615 #          define LT_DLLAZY_OR_NOW	0
   11616 #        endif
   11617 #      endif
   11618 #    endif
   11619 #  endif
   11620 #endif
   11621 
   11622 /* When -fvisbility=hidden is used, assume the code has been annotated
   11623    correspondingly for the symbols needed.  */
   11624 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11625 void fnord () __attribute__((visibility("default")));
   11626 #endif
   11627 
   11628 void fnord () { int i=42; }
   11629 int main ()
   11630 {
   11631   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11632   int status = $lt_dlunknown;
   11633 
   11634   if (self)
   11635     {
   11636       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11637       else
   11638         {
   11639 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11640           else puts (dlerror ());
   11641 	}
   11642       /* dlclose (self); */
   11643     }
   11644   else
   11645     puts (dlerror ());
   11646 
   11647   return status;
   11648 }
   11649 _LT_EOF
   11650   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11651   (eval $ac_link) 2>&5
   11652   ac_status=$?
   11653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11654   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11655     (./conftest; exit; ) >&5 2>/dev/null
   11656     lt_status=$?
   11657     case x$lt_status in
   11658       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11659       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11660       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11661     esac
   11662   else :
   11663     # compilation failed
   11664     lt_cv_dlopen_self=no
   11665   fi
   11666 fi
   11667 rm -fr conftest*
   11668 
   11669 
   11670 fi
   11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11672 $as_echo "$lt_cv_dlopen_self" >&6; }
   11673 
   11674     if test "x$lt_cv_dlopen_self" = xyes; then
   11675       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11676       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11677 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11678 if ${lt_cv_dlopen_self_static+:} false; then :
   11679   $as_echo_n "(cached) " >&6
   11680 else
   11681   	  if test "$cross_compiling" = yes; then :
   11682   lt_cv_dlopen_self_static=cross
   11683 else
   11684   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11685   lt_status=$lt_dlunknown
   11686   cat > conftest.$ac_ext <<_LT_EOF
   11687 #line 11687 "configure"
   11688 #include "confdefs.h"
   11689 
   11690 #if HAVE_DLFCN_H
   11691 #include <dlfcn.h>
   11692 #endif
   11693 
   11694 #include <stdio.h>
   11695 
   11696 #ifdef RTLD_GLOBAL
   11697 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11698 #else
   11699 #  ifdef DL_GLOBAL
   11700 #    define LT_DLGLOBAL		DL_GLOBAL
   11701 #  else
   11702 #    define LT_DLGLOBAL		0
   11703 #  endif
   11704 #endif
   11705 
   11706 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11707    find out it does not work in some platform. */
   11708 #ifndef LT_DLLAZY_OR_NOW
   11709 #  ifdef RTLD_LAZY
   11710 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11711 #  else
   11712 #    ifdef DL_LAZY
   11713 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11714 #    else
   11715 #      ifdef RTLD_NOW
   11716 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11717 #      else
   11718 #        ifdef DL_NOW
   11719 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11720 #        else
   11721 #          define LT_DLLAZY_OR_NOW	0
   11722 #        endif
   11723 #      endif
   11724 #    endif
   11725 #  endif
   11726 #endif
   11727 
   11728 /* When -fvisbility=hidden is used, assume the code has been annotated
   11729    correspondingly for the symbols needed.  */
   11730 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11731 void fnord () __attribute__((visibility("default")));
   11732 #endif
   11733 
   11734 void fnord () { int i=42; }
   11735 int main ()
   11736 {
   11737   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11738   int status = $lt_dlunknown;
   11739 
   11740   if (self)
   11741     {
   11742       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11743       else
   11744         {
   11745 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11746           else puts (dlerror ());
   11747 	}
   11748       /* dlclose (self); */
   11749     }
   11750   else
   11751     puts (dlerror ());
   11752 
   11753   return status;
   11754 }
   11755 _LT_EOF
   11756   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11757   (eval $ac_link) 2>&5
   11758   ac_status=$?
   11759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11760   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11761     (./conftest; exit; ) >&5 2>/dev/null
   11762     lt_status=$?
   11763     case x$lt_status in
   11764       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11765       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11766       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11767     esac
   11768   else :
   11769     # compilation failed
   11770     lt_cv_dlopen_self_static=no
   11771   fi
   11772 fi
   11773 rm -fr conftest*
   11774 
   11775 
   11776 fi
   11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11778 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11779     fi
   11780 
   11781     CPPFLAGS="$save_CPPFLAGS"
   11782     LDFLAGS="$save_LDFLAGS"
   11783     LIBS="$save_LIBS"
   11784     ;;
   11785   esac
   11786 
   11787   case $lt_cv_dlopen_self in
   11788   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11789   *) enable_dlopen_self=unknown ;;
   11790   esac
   11791 
   11792   case $lt_cv_dlopen_self_static in
   11793   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11794   *) enable_dlopen_self_static=unknown ;;
   11795   esac
   11796 fi
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 striplib=
   11815 old_striplib=
   11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11817 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11818 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11819   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11820   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11822 $as_echo "yes" >&6; }
   11823 else
   11824 # FIXME - insert some real tests, host_os isn't really good enough
   11825   case $host_os in
   11826   darwin*)
   11827     if test -n "$STRIP" ; then
   11828       striplib="$STRIP -x"
   11829       old_striplib="$STRIP -S"
   11830       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11831 $as_echo "yes" >&6; }
   11832     else
   11833       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11834 $as_echo "no" >&6; }
   11835     fi
   11836     ;;
   11837   *)
   11838     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11839 $as_echo "no" >&6; }
   11840     ;;
   11841   esac
   11842 fi
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855   # Report which library types will actually be built
   11856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11857 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11859 $as_echo "$can_build_shared" >&6; }
   11860 
   11861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11862 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11863   test "$can_build_shared" = "no" && enable_shared=no
   11864 
   11865   # On AIX, shared libraries and static libraries use the same namespace, and
   11866   # are all built from PIC.
   11867   case $host_os in
   11868   aix3*)
   11869     test "$enable_shared" = yes && enable_static=no
   11870     if test -n "$RANLIB"; then
   11871       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11872       postinstall_cmds='$RANLIB $lib'
   11873     fi
   11874     ;;
   11875 
   11876   aix[4-9]*)
   11877     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11878       test "$enable_shared" = yes && enable_static=no
   11879     fi
   11880     ;;
   11881   esac
   11882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11883 $as_echo "$enable_shared" >&6; }
   11884 
   11885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11886 $as_echo_n "checking whether to build static libraries... " >&6; }
   11887   # Make sure either enable_shared or enable_static is yes.
   11888   test "$enable_shared" = yes || enable_static=yes
   11889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11890 $as_echo "$enable_static" >&6; }
   11891 
   11892 
   11893 
   11894 
   11895 fi
   11896 ac_ext=c
   11897 ac_cpp='$CPP $CPPFLAGS'
   11898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11901 
   11902 CC="$lt_save_CC"
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916         ac_config_commands="$ac_config_commands libtool"
   11917 
   11918 
   11919 
   11920 
   11921 # Only expand once:
   11922 
   11923 
   11924 
   11925 
   11926 # Check whether --enable-largefile was given.
   11927 if test "${enable_largefile+set}" = set; then :
   11928   enableval=$enable_largefile;
   11929 fi
   11930 
   11931 if test "$enable_largefile" != no; then
   11932 
   11933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11934 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11935 if ${ac_cv_sys_largefile_CC+:} false; then :
   11936   $as_echo_n "(cached) " >&6
   11937 else
   11938   ac_cv_sys_largefile_CC=no
   11939      if test "$GCC" != yes; then
   11940        ac_save_CC=$CC
   11941        while :; do
   11942 	 # IRIX 6.2 and later do not support large files by default,
   11943 	 # so use the C compiler's -n32 option if that helps.
   11944 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11945 /* end confdefs.h.  */
   11946 #include <sys/types.h>
   11947  /* Check that off_t can represent 2**63 - 1 correctly.
   11948     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11949     since some C++ compilers masquerading as C compilers
   11950     incorrectly reject 9223372036854775807.  */
   11951 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11952   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11953 		       && LARGE_OFF_T % 2147483647 == 1)
   11954 		      ? 1 : -1];
   11955 int
   11956 main ()
   11957 {
   11958 
   11959   ;
   11960   return 0;
   11961 }
   11962 _ACEOF
   11963 	 if ac_fn_c_try_compile "$LINENO"; then :
   11964   break
   11965 fi
   11966 rm -f core conftest.err conftest.$ac_objext
   11967 	 CC="$CC -n32"
   11968 	 if ac_fn_c_try_compile "$LINENO"; then :
   11969   ac_cv_sys_largefile_CC=' -n32'; break
   11970 fi
   11971 rm -f core conftest.err conftest.$ac_objext
   11972 	 break
   11973        done
   11974        CC=$ac_save_CC
   11975        rm -f conftest.$ac_ext
   11976     fi
   11977 fi
   11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11979 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11980   if test "$ac_cv_sys_largefile_CC" != no; then
   11981     CC=$CC$ac_cv_sys_largefile_CC
   11982   fi
   11983 
   11984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11985 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11986 if ${ac_cv_sys_file_offset_bits+:} false; then :
   11987   $as_echo_n "(cached) " >&6
   11988 else
   11989   while :; do
   11990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11991 /* end confdefs.h.  */
   11992 #include <sys/types.h>
   11993  /* Check that off_t can represent 2**63 - 1 correctly.
   11994     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11995     since some C++ compilers masquerading as C compilers
   11996     incorrectly reject 9223372036854775807.  */
   11997 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11998   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11999 		       && LARGE_OFF_T % 2147483647 == 1)
   12000 		      ? 1 : -1];
   12001 int
   12002 main ()
   12003 {
   12004 
   12005   ;
   12006   return 0;
   12007 }
   12008 _ACEOF
   12009 if ac_fn_c_try_compile "$LINENO"; then :
   12010   ac_cv_sys_file_offset_bits=no; break
   12011 fi
   12012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12014 /* end confdefs.h.  */
   12015 #define _FILE_OFFSET_BITS 64
   12016 #include <sys/types.h>
   12017  /* Check that off_t can represent 2**63 - 1 correctly.
   12018     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12019     since some C++ compilers masquerading as C compilers
   12020     incorrectly reject 9223372036854775807.  */
   12021 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12022   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12023 		       && LARGE_OFF_T % 2147483647 == 1)
   12024 		      ? 1 : -1];
   12025 int
   12026 main ()
   12027 {
   12028 
   12029   ;
   12030   return 0;
   12031 }
   12032 _ACEOF
   12033 if ac_fn_c_try_compile "$LINENO"; then :
   12034   ac_cv_sys_file_offset_bits=64; break
   12035 fi
   12036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12037   ac_cv_sys_file_offset_bits=unknown
   12038   break
   12039 done
   12040 fi
   12041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   12042 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   12043 case $ac_cv_sys_file_offset_bits in #(
   12044   no | unknown) ;;
   12045   *)
   12046 cat >>confdefs.h <<_ACEOF
   12047 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   12048 _ACEOF
   12049 ;;
   12050 esac
   12051 rm -rf conftest*
   12052   if test $ac_cv_sys_file_offset_bits = unknown; then
   12053     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   12054 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   12055 if ${ac_cv_sys_large_files+:} false; then :
   12056   $as_echo_n "(cached) " >&6
   12057 else
   12058   while :; do
   12059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12060 /* end confdefs.h.  */
   12061 #include <sys/types.h>
   12062  /* Check that off_t can represent 2**63 - 1 correctly.
   12063     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12064     since some C++ compilers masquerading as C compilers
   12065     incorrectly reject 9223372036854775807.  */
   12066 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12067   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12068 		       && LARGE_OFF_T % 2147483647 == 1)
   12069 		      ? 1 : -1];
   12070 int
   12071 main ()
   12072 {
   12073 
   12074   ;
   12075   return 0;
   12076 }
   12077 _ACEOF
   12078 if ac_fn_c_try_compile "$LINENO"; then :
   12079   ac_cv_sys_large_files=no; break
   12080 fi
   12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12083 /* end confdefs.h.  */
   12084 #define _LARGE_FILES 1
   12085 #include <sys/types.h>
   12086  /* Check that off_t can represent 2**63 - 1 correctly.
   12087     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   12088     since some C++ compilers masquerading as C compilers
   12089     incorrectly reject 9223372036854775807.  */
   12090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   12091   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   12092 		       && LARGE_OFF_T % 2147483647 == 1)
   12093 		      ? 1 : -1];
   12094 int
   12095 main ()
   12096 {
   12097 
   12098   ;
   12099   return 0;
   12100 }
   12101 _ACEOF
   12102 if ac_fn_c_try_compile "$LINENO"; then :
   12103   ac_cv_sys_large_files=1; break
   12104 fi
   12105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12106   ac_cv_sys_large_files=unknown
   12107   break
   12108 done
   12109 fi
   12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   12111 $as_echo "$ac_cv_sys_large_files" >&6; }
   12112 case $ac_cv_sys_large_files in #(
   12113   no | unknown) ;;
   12114   *)
   12115 cat >>confdefs.h <<_ACEOF
   12116 #define _LARGE_FILES $ac_cv_sys_large_files
   12117 _ACEOF
   12118 ;;
   12119 esac
   12120 rm -rf conftest*
   12121   fi
   12122 
   12123 
   12124 fi
   12125 
   12126 
   12127 backtrace_supported=yes
   12128 
   12129 if test -n "${with_target_subdir}"; then
   12130   # We are compiling a GCC library.  We can assume that the unwind
   12131   # library exists.
   12132   BACKTRACE_FILE="backtrace.lo simple.lo"
   12133 else
   12134   ac_fn_c_check_header_mongrel "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
   12135 if test "x$ac_cv_header_unwind_h" = xyes; then :
   12136   ac_fn_c_check_func "$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
   12137 if test "x$ac_cv_func__Unwind_Backtrace" = xyes; then :
   12138   BACKTRACE_FILE="backtrace.lo simple.lo"
   12139 else
   12140   BACKTRACE_FILE="nounwind.lo"
   12141                     backtrace_supported=no
   12142 fi
   12143 
   12144 else
   12145   BACKTRACE_FILE="nounwind.lo"
   12146      backtrace_supported=no
   12147 fi
   12148 
   12149 
   12150 fi
   12151 
   12152 
   12153 EXTRA_FLAGS=
   12154 if test -n "${with_target_subdir}"; then
   12155   EXTRA_FLAGS="-funwind-tables -frandom-seed=\$@"
   12156 else
   12157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
   12158 $as_echo_n "checking for -funwind-tables option... " >&6; }
   12159 if ${libbacktrace_cv_c_unwind_tables+:} false; then :
   12160   $as_echo_n "(cached) " >&6
   12161 else
   12162   CFLAGS_hold="$CFLAGS"
   12163      CFLAGS="$CFLAGS -funwind-tables"
   12164      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12165 /* end confdefs.h.  */
   12166 static int f() { return 0; }
   12167 int
   12168 main ()
   12169 {
   12170 return f();
   12171   ;
   12172   return 0;
   12173 }
   12174 _ACEOF
   12175 if ac_fn_c_try_compile "$LINENO"; then :
   12176   libbacktrace_cv_c_unwind_tables=yes
   12177 else
   12178   libbacktrace_cv_c_unwind_tables=no
   12179 fi
   12180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12181      CFLAGS="$CFLAGS_hold"
   12182 fi
   12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
   12184 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
   12185   if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
   12186     EXTRA_FLAGS=-funwind-tables
   12187   fi
   12188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
   12189 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
   12190 if ${libbacktrace_cv_c_random_seed_string+:} false; then :
   12191   $as_echo_n "(cached) " >&6
   12192 else
   12193   CFLAGS_hold="$CFLAGS"
   12194      CFLAGS="$CFLAGS -frandom-seed=conftest.lo"
   12195      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12196 /* end confdefs.h.  */
   12197 
   12198 int
   12199 main ()
   12200 {
   12201 return 0;
   12202   ;
   12203   return 0;
   12204 }
   12205 _ACEOF
   12206 if ac_fn_c_try_compile "$LINENO"; then :
   12207   libbacktrace_cv_c_random_seed_string=yes
   12208 else
   12209   libbacktrace_cv_c_random_seed_string=no
   12210 fi
   12211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12212      CFLAGS="$CFLAGS_hold"
   12213 fi
   12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
   12215 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
   12216   if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
   12217     EXTRA_FLAGS="$EXTRA_FLAGS -frandom-seed=\$@"
   12218   fi
   12219 fi
   12220 
   12221 if test -n "${with_target_subdir}"; then
   12222   # Add CET specific flags is Intel CET is enabled.
   12223    # Check whether --enable-cet was given.
   12224 if test "${enable_cet+set}" = set; then :
   12225   enableval=$enable_cet;
   12226       case "$enableval" in
   12227        yes|no|auto) ;;
   12228        *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
   12229                           esac
   12230 
   12231 else
   12232   enable_cet=auto
   12233 fi
   12234 
   12235 
   12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
   12237 $as_echo_n "checking for CET support... " >&6; }
   12238 
   12239 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
   12240 case "$host" in
   12241   i[34567]86-*-linux* | x86_64-*-linux*)
   12242     case "$enable_cet" in
   12243       auto)
   12244 	# Check if target supports multi-byte NOPs
   12245 	# and if compiler and assembler support CET insn.
   12246 	cet_save_CFLAGS="$CFLAGS"
   12247 	CFLAGS="$CFLAGS -fcf-protection"
   12248 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12249 /* end confdefs.h.  */
   12250 
   12251 int
   12252 main ()
   12253 {
   12254 
   12255 #if !defined(__SSE2__)
   12256 #error target does not support multi-byte NOPs
   12257 #else
   12258 asm ("setssbsy");
   12259 #endif
   12260 
   12261   ;
   12262   return 0;
   12263 }
   12264 _ACEOF
   12265 if ac_fn_c_try_compile "$LINENO"; then :
   12266   enable_cet=yes
   12267 else
   12268   enable_cet=no
   12269 fi
   12270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12271 	CFLAGS="$cet_save_CFLAGS"
   12272 	;;
   12273       yes)
   12274 	# Check if assembler supports CET.
   12275 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12276 /* end confdefs.h.  */
   12277 
   12278 int
   12279 main ()
   12280 {
   12281 asm ("setssbsy");
   12282   ;
   12283   return 0;
   12284 }
   12285 _ACEOF
   12286 if ac_fn_c_try_compile "$LINENO"; then :
   12287 
   12288 else
   12289   as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
   12290 fi
   12291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12292 	;;
   12293     esac
   12294     ;;
   12295   *)
   12296     enable_cet=no
   12297     ;;
   12298 esac
   12299 if test x$enable_cet = xyes; then
   12300   CET_FLAGS="-fcf-protection -mshstk"
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12302 $as_echo "yes" >&6; }
   12303 else
   12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12305 $as_echo "no" >&6; }
   12306 fi
   12307 
   12308   EXTRA_FLAGS="$EXTRA_FLAGS $CET_FLAGS"
   12309 fi
   12310 
   12311 
   12312 ac_ext=c
   12313 ac_cpp='$CPP $CPPFLAGS'
   12314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12317 
   12318 WARN_FLAGS=
   12319 save_CFLAGS="$CFLAGS"
   12320 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
   12321 			  -Wmissing-prototypes -Wold-style-definition \
   12322 			  -Wmissing-format-attribute -Wcast-qual; do
   12323   # Do the check with the no- prefix removed since gcc silently
   12324   # accepts any -Wno-* option on purpose
   12325   case $real_option in
   12326     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   12327     *) option=$real_option ;;
   12328   esac
   12329   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   12330 
   12331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   12332 $as_echo_n "checking whether $CC supports $option... " >&6; }
   12333 if eval \${$as_acx_Woption+:} false; then :
   12334   $as_echo_n "(cached) " >&6
   12335 else
   12336   CFLAGS="$option"
   12337     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12338 /* end confdefs.h.  */
   12339 
   12340 int
   12341 main ()
   12342 {
   12343 
   12344   ;
   12345   return 0;
   12346 }
   12347 _ACEOF
   12348 if ac_fn_c_try_compile "$LINENO"; then :
   12349   eval "$as_acx_Woption=yes"
   12350 else
   12351   eval "$as_acx_Woption=no"
   12352 fi
   12353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12354 
   12355 fi
   12356 eval ac_res=\$$as_acx_Woption
   12357 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   12358 $as_echo "$ac_res" >&6; }
   12359   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   12360   WARN_FLAGS="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
   12361 fi
   12362   done
   12363 CFLAGS="$save_CFLAGS"
   12364 ac_ext=c
   12365 ac_cpp='$CPP $CPPFLAGS'
   12366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12369 
   12370 
   12371 
   12372 # Check whether --enable-werror was given.
   12373 if test "${enable_werror+set}" = set; then :
   12374   enableval=$enable_werror;
   12375 fi
   12376 
   12377 if test "x$enable_werror" != "xno" && test -n "${with_target_subdir}"; then :
   12378   WARN_FLAGS="$WARN_FLAGS -Werror"
   12379 fi
   12380 
   12381 
   12382 if test -n "${with_target_subdir}"; then
   12383 
   12384 
   12385 # Check whether --with-system-libunwind was given.
   12386 if test "${with_system_libunwind+set}" = set; then :
   12387   withval=$with_system_libunwind;
   12388 fi
   12389 
   12390   # If system-libunwind was not specifically set, pick a default setting.
   12391   if test x$with_system_libunwind = x; then
   12392     case ${target} in
   12393       ia64-*-hpux*) with_system_libunwind=yes ;;
   12394       *) with_system_libunwind=no ;;
   12395     esac
   12396   fi
   12397   # Based on system-libunwind and target, do we have ipinfo?
   12398   if  test x$with_system_libunwind = xyes; then
   12399     case ${target} in
   12400       ia64-*-*) have_unwind_getipinfo=no ;;
   12401       *) have_unwind_getipinfo=yes ;;
   12402     esac
   12403   else
   12404     # Darwin before version 9 does not have _Unwind_GetIPInfo.
   12405 
   12406     case ${target} in
   12407       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
   12408       *) have_unwind_getipinfo=yes ;;
   12409     esac
   12410 
   12411   fi
   12412 
   12413   if test x$have_unwind_getipinfo = xyes; then
   12414 
   12415 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
   12416 
   12417   fi
   12418 
   12419 else
   12420   ac_save_CFFLAGS="$CFLAGS"
   12421   CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
   12422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
   12423 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
   12424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12425 /* end confdefs.h.  */
   12426 #include "unwind.h"
   12427 	struct _Unwind_Context *context;
   12428 	int ip_before_insn = 0;
   12429 int
   12430 main ()
   12431 {
   12432 return _Unwind_GetIPInfo (context, &ip_before_insn);
   12433   ;
   12434   return 0;
   12435 }
   12436 _ACEOF
   12437 if ac_fn_c_try_link "$LINENO"; then :
   12438   have_unwind_getipinfo=yes
   12439 else
   12440   have_unwind_getipinfo=no
   12441 fi
   12442 rm -f core conftest.err conftest.$ac_objext \
   12443     conftest$ac_exeext conftest.$ac_ext
   12444   CFLAGS="$ac_save_CFLAGS"
   12445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
   12446 $as_echo "$have_unwind_getipinfo" >&6; }
   12447   if test "$have_unwind_getipinfo" = "yes"; then
   12448 
   12449 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
   12450 
   12451   fi
   12452 fi
   12453 
   12454 # Enable --enable-host-shared.
   12455 # Check whether --enable-host-shared was given.
   12456 if test "${enable_host_shared+set}" = set; then :
   12457   enableval=$enable_host_shared; PIC_FLAG=-fPIC
   12458 else
   12459   PIC_FLAG=
   12460 fi
   12461 
   12462 
   12463 
   12464 # Enable Intel CET on Intel CET enabled host if jit is enabled.
   12465  # Check whether --enable-cet was given.
   12466 if test "${enable_cet+set}" = set; then :
   12467   enableval=$enable_cet;
   12468       case "$enableval" in
   12469        yes|no|auto) ;;
   12470        *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
   12471                           esac
   12472 
   12473 else
   12474   enable_cet=auto
   12475 fi
   12476 
   12477 
   12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
   12479 $as_echo_n "checking for CET support... " >&6; }
   12480 
   12481 case "$host" in
   12482   i[34567]86-*-linux* | x86_64-*-linux*)
   12483     may_have_cet=yes
   12484     cet_save_CFLAGS="$CFLAGS"
   12485     CFLAGS="$CFLAGS -fcf-protection"
   12486     case "$enable_cet" in
   12487       auto)
   12488 	# Check if target supports multi-byte NOPs
   12489 	# and if compiler and assembler support CET.
   12490 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12491 /* end confdefs.h.  */
   12492 
   12493 int
   12494 main ()
   12495 {
   12496 
   12497 #if !defined(__SSE2__)
   12498 #error target does not support multi-byte NOPs
   12499 #else
   12500 asm ("setssbsy");
   12501 #endif
   12502 
   12503   ;
   12504   return 0;
   12505 }
   12506 _ACEOF
   12507 if ac_fn_c_try_compile "$LINENO"; then :
   12508   enable_cet=yes
   12509 else
   12510   enable_cet=no
   12511 fi
   12512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12513 	;;
   12514       yes)
   12515 	# Check if compiler and assembler support CET.
   12516 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12517 /* end confdefs.h.  */
   12518 
   12519 int
   12520 main ()
   12521 {
   12522 asm ("setssbsy");
   12523   ;
   12524   return 0;
   12525 }
   12526 _ACEOF
   12527 if ac_fn_c_try_compile "$LINENO"; then :
   12528   support_cet=yes
   12529 else
   12530   support_cet=no
   12531 fi
   12532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12533 	if test $support_cet = "no"; then
   12534 	  if test x$enable_bootstrap != xno \
   12535 	     && test -z "${with_build_subdir}" \
   12536 	     && (test ! -f ../stage_current \
   12537 	         || test `cat ../stage_current` != "stage1"); then
   12538 	    # Require CET support only for the final GCC build.
   12539 	    as_fn_error $? "compiler and assembler with CET support are required for --enable-cet" "$LINENO" 5
   12540 	  else
   12541 	    # Don't enable CET without CET support for non-bootstrap
   12542 	    # build, in stage1 nor for build support.
   12543 	    enable_cet=no
   12544 	  fi
   12545 	fi
   12546 	;;
   12547     esac
   12548     CFLAGS="$cet_save_CFLAGS"
   12549     ;;
   12550   *)
   12551     may_have_cet=no
   12552     enable_cet=no
   12553     ;;
   12554 esac
   12555 
   12556 cet_save_CFLAGS="$CFLAGS"
   12557 CFLAGS="$CFLAGS -fcf-protection=none"
   12558 cet_save_LDFLAGS="$LDFLAGS"
   12559 LDFLAGS="$LDFLAGS -Wl,-z,ibt,-z,shstk"
   12560 if test x$may_have_cet = xyes; then
   12561   # Check whether -fcf-protection=none -Wl,-z,ibt,-z,shstk work.
   12562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12563 /* end confdefs.h.  */
   12564 
   12565 int
   12566 main ()
   12567 {
   12568 return 0;
   12569   ;
   12570   return 0;
   12571 }
   12572 _ACEOF
   12573 if ac_fn_c_try_link "$LINENO"; then :
   12574   may_have_cet=yes
   12575 else
   12576   may_have_cet=no
   12577 fi
   12578 rm -f core conftest.err conftest.$ac_objext \
   12579     conftest$ac_exeext conftest.$ac_ext
   12580 fi
   12581 
   12582 if test x$may_have_cet = xyes; then
   12583   if test x$cross_compiling = xno; then
   12584     if test "$cross_compiling" = yes; then :
   12585   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12587 as_fn_error $? "cannot run test program while cross compiling
   12588 See \`config.log' for more details" "$LINENO" 5; }
   12589 else
   12590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12591 /* end confdefs.h.  */
   12592 
   12593 int
   12594 main ()
   12595 {
   12596   asm ("endbr32");
   12597   return 0;
   12598 }
   12599 
   12600 _ACEOF
   12601 if ac_fn_c_try_run "$LINENO"; then :
   12602   have_multi_byte_nop=yes
   12603 else
   12604   have_multi_byte_nop=no
   12605 fi
   12606 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12607   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12608 fi
   12609 
   12610     have_cet=no
   12611     if test x$have_multi_byte_nop = xyes; then
   12612       if test "$cross_compiling" = yes; then :
   12613   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12615 as_fn_error $? "cannot run test program while cross compiling
   12616 See \`config.log' for more details" "$LINENO" 5; }
   12617 else
   12618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12619 /* end confdefs.h.  */
   12620 
   12621 static void
   12622 foo (void)
   12623 {
   12624 }
   12625 
   12626 static void
   12627 __attribute__ ((noinline, noclone))
   12628 xxx (void (*f) (void))
   12629 {
   12630   f ();
   12631 }
   12632 
   12633 static void
   12634 __attribute__ ((noinline, noclone))
   12635 bar (void)
   12636 {
   12637   xxx (foo);
   12638 }
   12639 
   12640 int
   12641 main ()
   12642 {
   12643   bar ();
   12644   return 0;
   12645 }
   12646 
   12647 _ACEOF
   12648 if ac_fn_c_try_run "$LINENO"; then :
   12649   have_cet=no
   12650 else
   12651   have_cet=yes
   12652 fi
   12653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   12654   conftest.$ac_objext conftest.beam conftest.$ac_ext
   12655 fi
   12656 
   12657     fi
   12658     if test x$enable_cet = xno -a x$have_cet = xyes; then
   12659       as_fn_error $? "Intel CET must be enabled on Intel CET enabled host" "$LINENO" 5
   12660     fi
   12661   fi
   12662 else
   12663   # Enable CET in cross compiler if possible so that it will run on both
   12664   # CET and non-CET hosts.
   12665   have_cet=yes
   12666 fi
   12667 if test x$enable_cet = xyes; then
   12668   CET_HOST_FLAGS="-fcf-protection"
   12669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12670 $as_echo "yes" >&6; }
   12671 else
   12672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12673 $as_echo "no" >&6; }
   12674 fi
   12675 CFLAGS="$cet_save_CFLAGS"
   12676 LDFLAGS="$cet_save_LDFLAGS"
   12677 
   12678 case x$enable_languages in
   12679 *jit*)
   12680   ;;
   12681 *)
   12682   CET_HOST_FLAGS=
   12683   ;;
   12684 esac
   12685 
   12686 
   12687 # Test for __sync support.
   12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
   12689 $as_echo_n "checking __sync extensions... " >&6; }
   12690 if ${libbacktrace_cv_sys_sync+:} false; then :
   12691   $as_echo_n "(cached) " >&6
   12692 else
   12693   if test -n "${with_target_subdir}"; then
   12694    case "${host}" in
   12695    hppa*-*-hpux*) libbacktrace_cv_sys_sync=no ;;
   12696    *) libbacktrace_cv_sys_sync=yes ;;
   12697    esac
   12698  else
   12699    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12700 /* end confdefs.h.  */
   12701 int i;
   12702 int
   12703 main ()
   12704 {
   12705 __sync_bool_compare_and_swap (&i, i, i);
   12706                        __sync_lock_test_and_set (&i, 1);
   12707                        __sync_lock_release (&i);
   12708   ;
   12709   return 0;
   12710 }
   12711 _ACEOF
   12712 if ac_fn_c_try_link "$LINENO"; then :
   12713   libbacktrace_cv_sys_sync=yes
   12714 else
   12715   libbacktrace_cv_sys_sync=no
   12716 fi
   12717 rm -f core conftest.err conftest.$ac_objext \
   12718     conftest$ac_exeext conftest.$ac_ext
   12719  fi
   12720 fi
   12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
   12722 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
   12723 BACKTRACE_SUPPORTS_THREADS=0
   12724 if test "$libbacktrace_cv_sys_sync" = "yes"; then
   12725   BACKTRACE_SUPPORTS_THREADS=1
   12726 
   12727 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
   12728 
   12729 fi
   12730 
   12731 
   12732 # Test for __atomic support.
   12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
   12734 $as_echo_n "checking __atomic extensions... " >&6; }
   12735 if ${libbacktrace_cv_sys_atomic+:} false; then :
   12736   $as_echo_n "(cached) " >&6
   12737 else
   12738   if test -n "${with_target_subdir}"; then
   12739    libbacktrace_cv_sys_atomic=yes
   12740  else
   12741    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12742 /* end confdefs.h.  */
   12743 int i;
   12744 int
   12745 main ()
   12746 {
   12747 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
   12748 		       __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
   12749   ;
   12750   return 0;
   12751 }
   12752 _ACEOF
   12753 if ac_fn_c_try_link "$LINENO"; then :
   12754   libbacktrace_cv_sys_atomic=yes
   12755 else
   12756   libbacktrace_cv_sys_atomic=no
   12757 fi
   12758 rm -f core conftest.err conftest.$ac_objext \
   12759     conftest$ac_exeext conftest.$ac_ext
   12760  fi
   12761 fi
   12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
   12763 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
   12764 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
   12765 
   12766 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
   12767 
   12768 fi
   12769 
   12770 # The library needs to be able to read the executable itself.  Compile
   12771 # a file to determine the executable format.  The awk script
   12772 # filetype.awk prints out the file type.
   12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
   12774 $as_echo_n "checking output filetype... " >&6; }
   12775 if ${libbacktrace_cv_sys_filetype+:} false; then :
   12776   $as_echo_n "(cached) " >&6
   12777 else
   12778   filetype=
   12779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12780 /* end confdefs.h.  */
   12781 int i;
   12782 int
   12783 main ()
   12784 {
   12785 int j;
   12786   ;
   12787   return 0;
   12788 }
   12789 _ACEOF
   12790 if ac_fn_c_try_compile "$LINENO"; then :
   12791   filetype=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
   12792 else
   12793   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12795 as_fn_error $? "compiler failed
   12796 See \`config.log' for more details" "$LINENO" 5; }
   12797 fi
   12798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12799 libbacktrace_cv_sys_filetype=$filetype
   12800 fi
   12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
   12802 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
   12803 
   12804 # Match the file type to decide what files to compile.
   12805 FORMAT_FILE=
   12806 backtrace_supports_data=yes
   12807 case "$libbacktrace_cv_sys_filetype" in
   12808 elf*) FORMAT_FILE="elf.lo" ;;
   12809 macho) FORMAT_FILE="macho.lo" ;;
   12810 pecoff) FORMAT_FILE="pecoff.lo"
   12811         backtrace_supports_data=no
   12812 	;;
   12813 xcoff*) FORMAT_FILE="xcoff.lo"
   12814         backtrace_supports_data=no
   12815         ;;
   12816 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
   12817 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
   12818    FORMAT_FILE="unknown.lo"
   12819    backtrace_supported=no
   12820    ;;
   12821 esac
   12822 
   12823 
   12824 # ELF defines.
   12825 elfsize=
   12826 case "$libbacktrace_cv_sys_filetype" in
   12827 elf32) elfsize=32 ;;
   12828 elf64) elfsize=64 ;;
   12829 *)     elfsize=unused
   12830 esac
   12831 
   12832 cat >>confdefs.h <<_ACEOF
   12833 #define BACKTRACE_ELF_SIZE $elfsize
   12834 _ACEOF
   12835 
   12836  if test "$FORMAT_FILE" = "elf.lo"; then
   12837   HAVE_ELF_TRUE=
   12838   HAVE_ELF_FALSE='#'
   12839 else
   12840   HAVE_ELF_TRUE='#'
   12841   HAVE_ELF_FALSE=
   12842 fi
   12843 
   12844 
   12845 # XCOFF defines.
   12846 xcoffsize=
   12847 case "$libbacktrace_cv_sys_filetype" in
   12848 xcoff32) xcoffsize=32 ;;
   12849 xcoff64) xcoffsize=64 ;;
   12850 *)       xcoffsize=unused
   12851 esac
   12852 
   12853 cat >>confdefs.h <<_ACEOF
   12854 #define BACKTRACE_XCOFF_SIZE $xcoffsize
   12855 _ACEOF
   12856 
   12857 
   12858 BACKTRACE_SUPPORTED=0
   12859 if test "$backtrace_supported" = "yes"; then
   12860   BACKTRACE_SUPPORTED=1
   12861 fi
   12862 
   12863 
   12864 BACKTRACE_SUPPORTS_DATA=0
   12865 if test "$backtrace_supports_data" = "yes"; then
   12866   BACKTRACE_SUPPORTS_DATA=1
   12867 fi
   12868 
   12869 
   12870 
   12871 
   12872 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
   12873 
   12874 acx_cv_header_stdint=stddef.h
   12875 acx_cv_header_stdint_kind="(already complete)"
   12876 for i in stdint.h $inttype_headers; do
   12877   unset ac_cv_type_uintptr_t
   12878   unset ac_cv_type_uintmax_t
   12879   unset ac_cv_type_int_least32_t
   12880   unset ac_cv_type_int_fast32_t
   12881   unset ac_cv_type_uint64_t
   12882   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
   12883   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
   12884 #include <$i>
   12885 "
   12886 if test "x$ac_cv_type_uintmax_t" = xyes; then :
   12887   acx_cv_header_stdint=$i
   12888 else
   12889   continue
   12890 fi
   12891 
   12892   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   12893 #include <$i>
   12894 "
   12895 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   12896 
   12897 else
   12898   acx_cv_header_stdint_kind="(mostly complete)"
   12899 fi
   12900 
   12901   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
   12902 #include <$i>
   12903 "
   12904 if test "x$ac_cv_type_int_least32_t" = xyes; then :
   12905 
   12906 else
   12907   acx_cv_header_stdint_kind="(mostly complete)"
   12908 fi
   12909 
   12910   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
   12911 #include <$i>
   12912 "
   12913 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
   12914 
   12915 else
   12916   acx_cv_header_stdint_kind="(mostly complete)"
   12917 fi
   12918 
   12919   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   12920 #include <$i>
   12921 "
   12922 if test "x$ac_cv_type_uint64_t" = xyes; then :
   12923 
   12924 else
   12925   acx_cv_header_stdint_kind="(lacks uint64_t)"
   12926 fi
   12927 
   12928   break
   12929 done
   12930 if test "$acx_cv_header_stdint" = stddef.h; then
   12931   acx_cv_header_stdint_kind="(lacks uintmax_t)"
   12932   for i in stdint.h $inttype_headers; do
   12933     unset ac_cv_type_uintptr_t
   12934     unset ac_cv_type_uint32_t
   12935     unset ac_cv_type_uint64_t
   12936     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
   12937     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
   12938 #include <$i>
   12939 "
   12940 if test "x$ac_cv_type_uint32_t" = xyes; then :
   12941   acx_cv_header_stdint=$i
   12942 else
   12943   continue
   12944 fi
   12945 
   12946     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   12947 #include <$i>
   12948 "
   12949 if test "x$ac_cv_type_uint64_t" = xyes; then :
   12950 
   12951 fi
   12952 
   12953     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   12954 #include <$i>
   12955 "
   12956 if test "x$ac_cv_type_uintptr_t" = xyes; then :
   12957 
   12958 fi
   12959 
   12960     break
   12961   done
   12962 fi
   12963 if test "$acx_cv_header_stdint" = stddef.h; then
   12964   acx_cv_header_stdint_kind="(u_intXX_t style)"
   12965   for i in sys/types.h $inttype_headers; do
   12966     unset ac_cv_type_u_int32_t
   12967     unset ac_cv_type_u_int64_t
   12968     $as_echo_n "looking for u_intXX_t types in $i, " >&6
   12969     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
   12970 #include <$i>
   12971 "
   12972 if test "x$ac_cv_type_u_int32_t" = xyes; then :
   12973   acx_cv_header_stdint=$i
   12974 else
   12975   continue
   12976 fi
   12977 
   12978     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
   12979 #include <$i>
   12980 "
   12981 if test "x$ac_cv_type_u_int64_t" = xyes; then :
   12982 
   12983 fi
   12984 
   12985     break
   12986   done
   12987 fi
   12988 if test "$acx_cv_header_stdint" = stddef.h; then
   12989   acx_cv_header_stdint_kind="(using manual detection)"
   12990 fi
   12991 
   12992 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
   12993 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
   12994 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
   12995 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
   12996 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
   12997 
   12998 # ----------------- Summarize what we found so far
   12999 
   13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
   13001 $as_echo_n "checking what to include in gstdint.h... " >&6; }
   13002 
   13003 case `$as_basename -- gstdint.h ||
   13004 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
   13005 	 Xgstdint.h : 'X\(//\)$' \| \
   13006 	 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
   13007 $as_echo X/gstdint.h |
   13008     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13009 	    s//\1/
   13010 	    q
   13011 	  }
   13012 	  /^X\/\(\/\/\)$/{
   13013 	    s//\1/
   13014 	    q
   13015 	  }
   13016 	  /^X\/\(\/\).*/{
   13017 	    s//\1/
   13018 	    q
   13019 	  }
   13020 	  s/.*/./; q'` in
   13021   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   13022 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   13023   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   13024 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   13025   *) ;;
   13026 esac
   13027 
   13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
   13029 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
   13030 
   13031 # ----------------- done included file, check C basic types --------
   13032 
   13033 # Lacking an uintptr_t?  Test size of void *
   13034 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
   13035   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
   13036 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13037 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13038 # This bug is HP SR number 8606223364.
   13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   13040 $as_echo_n "checking size of void *... " >&6; }
   13041 if ${ac_cv_sizeof_void_p+:} false; then :
   13042   $as_echo_n "(cached) " >&6
   13043 else
   13044   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   13045 
   13046 else
   13047   if test "$ac_cv_type_void_p" = yes; then
   13048      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13050 as_fn_error 77 "cannot compute sizeof (void *)
   13051 See \`config.log' for more details" "$LINENO" 5; }
   13052    else
   13053      ac_cv_sizeof_void_p=0
   13054    fi
   13055 fi
   13056 
   13057 fi
   13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   13059 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   13060 
   13061 
   13062 
   13063 cat >>confdefs.h <<_ACEOF
   13064 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   13065 _ACEOF
   13066 
   13067  ;;
   13068 esac
   13069 
   13070 # Lacking an uint64_t?  Test size of long
   13071 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
   13072   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
   13073 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13074 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13075 # This bug is HP SR number 8606223364.
   13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   13077 $as_echo_n "checking size of long... " >&6; }
   13078 if ${ac_cv_sizeof_long+:} false; then :
   13079   $as_echo_n "(cached) " >&6
   13080 else
   13081   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   13082 
   13083 else
   13084   if test "$ac_cv_type_long" = yes; then
   13085      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13087 as_fn_error 77 "cannot compute sizeof (long)
   13088 See \`config.log' for more details" "$LINENO" 5; }
   13089    else
   13090      ac_cv_sizeof_long=0
   13091    fi
   13092 fi
   13093 
   13094 fi
   13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   13096 $as_echo "$ac_cv_sizeof_long" >&6; }
   13097 
   13098 
   13099 
   13100 cat >>confdefs.h <<_ACEOF
   13101 #define SIZEOF_LONG $ac_cv_sizeof_long
   13102 _ACEOF
   13103 
   13104  ;;
   13105 esac
   13106 
   13107 if test $acx_cv_header_stdint = stddef.h; then
   13108   # Lacking a good header?  Test size of everything and deduce all types.
   13109   # The cast to long int works around a bug in the HP C Compiler
   13110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13111 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13112 # This bug is HP SR number 8606223364.
   13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   13114 $as_echo_n "checking size of int... " >&6; }
   13115 if ${ac_cv_sizeof_int+:} false; then :
   13116   $as_echo_n "(cached) " >&6
   13117 else
   13118   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   13119 
   13120 else
   13121   if test "$ac_cv_type_int" = yes; then
   13122      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13124 as_fn_error 77 "cannot compute sizeof (int)
   13125 See \`config.log' for more details" "$LINENO" 5; }
   13126    else
   13127      ac_cv_sizeof_int=0
   13128    fi
   13129 fi
   13130 
   13131 fi
   13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   13133 $as_echo "$ac_cv_sizeof_int" >&6; }
   13134 
   13135 
   13136 
   13137 cat >>confdefs.h <<_ACEOF
   13138 #define SIZEOF_INT $ac_cv_sizeof_int
   13139 _ACEOF
   13140 
   13141 
   13142   # The cast to long int works around a bug in the HP C Compiler
   13143 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13144 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13145 # This bug is HP SR number 8606223364.
   13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   13147 $as_echo_n "checking size of short... " >&6; }
   13148 if ${ac_cv_sizeof_short+:} false; then :
   13149   $as_echo_n "(cached) " >&6
   13150 else
   13151   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   13152 
   13153 else
   13154   if test "$ac_cv_type_short" = yes; then
   13155      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13157 as_fn_error 77 "cannot compute sizeof (short)
   13158 See \`config.log' for more details" "$LINENO" 5; }
   13159    else
   13160      ac_cv_sizeof_short=0
   13161    fi
   13162 fi
   13163 
   13164 fi
   13165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   13166 $as_echo "$ac_cv_sizeof_short" >&6; }
   13167 
   13168 
   13169 
   13170 cat >>confdefs.h <<_ACEOF
   13171 #define SIZEOF_SHORT $ac_cv_sizeof_short
   13172 _ACEOF
   13173 
   13174 
   13175   # The cast to long int works around a bug in the HP C Compiler
   13176 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13177 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13178 # This bug is HP SR number 8606223364.
   13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   13180 $as_echo_n "checking size of char... " >&6; }
   13181 if ${ac_cv_sizeof_char+:} false; then :
   13182   $as_echo_n "(cached) " >&6
   13183 else
   13184   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   13185 
   13186 else
   13187   if test "$ac_cv_type_char" = yes; then
   13188      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13190 as_fn_error 77 "cannot compute sizeof (char)
   13191 See \`config.log' for more details" "$LINENO" 5; }
   13192    else
   13193      ac_cv_sizeof_char=0
   13194    fi
   13195 fi
   13196 
   13197 fi
   13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   13199 $as_echo "$ac_cv_sizeof_char" >&6; }
   13200 
   13201 
   13202 
   13203 cat >>confdefs.h <<_ACEOF
   13204 #define SIZEOF_CHAR $ac_cv_sizeof_char
   13205 _ACEOF
   13206 
   13207 
   13208 
   13209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
   13210 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   13211   case "$ac_cv_sizeof_char" in
   13212     1) acx_cv_type_int8_t=char ;;
   13213     *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
   13214   esac
   13215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
   13216 $as_echo "$acx_cv_type_int8_t" >&6; }
   13217 
   13218   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
   13219 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   13220   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
   13221     2:*) acx_cv_type_int16_t=int ;;
   13222     *:2) acx_cv_type_int16_t=short ;;
   13223     *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
   13224   esac
   13225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
   13226 $as_echo "$acx_cv_type_int16_t" >&6; }
   13227 
   13228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
   13229 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   13230   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
   13231     4:*) acx_cv_type_int32_t=int ;;
   13232     *:4) acx_cv_type_int32_t=long ;;
   13233     *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
   13234   esac
   13235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
   13236 $as_echo "$acx_cv_type_int32_t" >&6; }
   13237 fi
   13238 
   13239 # These tests are here to make the output prettier
   13240 
   13241 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
   13242   case "$ac_cv_sizeof_long" in
   13243     8) acx_cv_type_int64_t=long ;;
   13244   esac
   13245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
   13246 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
   13247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
   13248 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
   13249 fi
   13250 
   13251 # Now we can use the above types
   13252 
   13253 if test "$ac_cv_type_uintptr_t" != yes; then
   13254   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
   13255 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
   13256   case $ac_cv_sizeof_void_p in
   13257     2) acx_cv_type_intptr_t=int16_t ;;
   13258     4) acx_cv_type_intptr_t=int32_t ;;
   13259     8) acx_cv_type_intptr_t=int64_t ;;
   13260     *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   13261   esac
   13262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
   13263 $as_echo "$acx_cv_type_intptr_t" >&6; }
   13264 fi
   13265 
   13266 # ----------------- done all checks, emit header -------------
   13267 ac_config_commands="$ac_config_commands gstdint.h"
   13268 
   13269 
   13270 
   13271 
   13272 for ac_header in sys/mman.h
   13273 do :
   13274   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
   13275 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
   13276   cat >>confdefs.h <<_ACEOF
   13277 #define HAVE_SYS_MMAN_H 1
   13278 _ACEOF
   13279 
   13280 fi
   13281 
   13282 done
   13283 
   13284 if test "$ac_cv_header_sys_mman_h" = "no"; then
   13285   have_mmap=no
   13286 else
   13287   if test -n "${with_target_subdir}"; then
   13288     # When built as a GCC target library, we can't do a link test.  We
   13289     # simply assume that if we have mman.h, we have mmap.
   13290     have_mmap=yes
   13291     case "${host}" in
   13292     *-*-msdosdjgpp)
   13293         # DJGPP has sys/man.h, but no mmap
   13294 	have_mmap=no ;;
   13295     esac
   13296   else
   13297     ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
   13298 if test "x$ac_cv_func_mmap" = xyes; then :
   13299   have_mmap=yes
   13300 else
   13301   have_mmap=no
   13302 fi
   13303 
   13304   fi
   13305 fi
   13306 if test "$have_mmap" = "no"; then
   13307   VIEW_FILE=read.lo
   13308   ALLOC_FILE=alloc.lo
   13309 else
   13310   VIEW_FILE=mmapio.lo
   13311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13312 /* end confdefs.h.  */
   13313 
   13314 #include <sys/mman.h>
   13315 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
   13316   #error no MAP_ANONYMOUS
   13317 #endif
   13318 
   13319 _ACEOF
   13320 if ac_fn_c_try_cpp "$LINENO"; then :
   13321   ALLOC_FILE=mmap.lo
   13322 else
   13323   ALLOC_FILE=alloc.lo
   13324 fi
   13325 rm -f conftest.err conftest.i conftest.$ac_ext
   13326 fi
   13327 
   13328 
   13329 
   13330 BACKTRACE_USES_MALLOC=0
   13331 if test "$ALLOC_FILE" = "alloc.lo"; then
   13332   BACKTRACE_USES_MALLOC=1
   13333 fi
   13334 
   13335 
   13336 # Check for dl_iterate_phdr.
   13337 for ac_header in link.h sys/link.h
   13338 do :
   13339   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13340 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   13341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   13342   cat >>confdefs.h <<_ACEOF
   13343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13344 _ACEOF
   13345 
   13346 fi
   13347 
   13348 done
   13349 
   13350 if test "$ac_cv_header_link_h" = "no" -a "$ac_cv_header_sys_link_h" = "no"; then
   13351   have_dl_iterate_phdr=no
   13352 else
   13353   if test -n "${with_target_subdir}"; then
   13354     link_h=link.h
   13355     if test "$ac_cv_header_link_h" = "no"; then
   13356        link_h=sys/link.h
   13357     fi
   13358     # When built as a GCC target library, we can't do a link test.
   13359     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13360 /* end confdefs.h.  */
   13361 #include <$link_h>
   13362 
   13363 _ACEOF
   13364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13365   $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
   13366   have_dl_iterate_phdr=yes
   13367 else
   13368   have_dl_iterate_phdr=no
   13369 fi
   13370 rm -f conftest*
   13371 
   13372   else
   13373     ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
   13374 if test "x$ac_cv_func_dl_iterate_phdr" = xyes; then :
   13375   have_dl_iterate_phdr=yes
   13376 else
   13377   have_dl_iterate_phdr=no
   13378 fi
   13379 
   13380   fi
   13381 fi
   13382 if test "$have_dl_iterate_phdr" = "yes"; then
   13383 
   13384 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
   13385 
   13386 fi
   13387 
   13388 # Check for header file for Mach-O image functions.
   13389 for ac_header in mach-o/dyld.h
   13390 do :
   13391   ac_fn_c_check_header_mongrel "$LINENO" "mach-o/dyld.h" "ac_cv_header_mach_o_dyld_h" "$ac_includes_default"
   13392 if test "x$ac_cv_header_mach_o_dyld_h" = xyes; then :
   13393   cat >>confdefs.h <<_ACEOF
   13394 #define HAVE_MACH_O_DYLD_H 1
   13395 _ACEOF
   13396 
   13397 fi
   13398 
   13399 done
   13400 
   13401 
   13402 # Check for loadquery.
   13403 for ac_header in sys/ldr.h
   13404 do :
   13405   ac_fn_c_check_header_mongrel "$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
   13406 if test "x$ac_cv_header_sys_ldr_h" = xyes; then :
   13407   cat >>confdefs.h <<_ACEOF
   13408 #define HAVE_SYS_LDR_H 1
   13409 _ACEOF
   13410 
   13411 fi
   13412 
   13413 done
   13414 
   13415 if test "$ac_cv_header_sys_ldr_h" = "no"; then
   13416   have_loadquery=no
   13417 else
   13418   if test -n "${with_target_subdir}"; then
   13419     # When built as a GCC target library, we can't do a link test.
   13420     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13421 /* end confdefs.h.  */
   13422 #include <sys/ldr.h>
   13423 
   13424 _ACEOF
   13425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   13426   $EGREP "loadquery" >/dev/null 2>&1; then :
   13427   have_loadquery=yes
   13428 else
   13429   have_loadquery=no
   13430 fi
   13431 rm -f conftest*
   13432 
   13433   else
   13434     ac_fn_c_check_func "$LINENO" "loadquery" "ac_cv_func_loadquery"
   13435 if test "x$ac_cv_func_loadquery" = xyes; then :
   13436   have_loadquery=yes
   13437 else
   13438   have_loadquery=no
   13439 fi
   13440 
   13441   fi
   13442 fi
   13443 if test "$have_loadquery" = "yes"; then
   13444 
   13445 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
   13446 
   13447 fi
   13448 
   13449 for ac_header in windows.h
   13450 do :
   13451   ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
   13452 if test "x$ac_cv_header_windows_h" = xyes; then :
   13453   cat >>confdefs.h <<_ACEOF
   13454 #define HAVE_WINDOWS_H 1
   13455 _ACEOF
   13456 
   13457 fi
   13458 
   13459 done
   13460 
   13461 
   13462 # Check for the fcntl function.
   13463 if test -n "${with_target_subdir}"; then
   13464    case "${host}" in
   13465    *-*-mingw*) have_fcntl=no ;;
   13466    *) have_fcntl=yes ;;
   13467    esac
   13468 else
   13469   ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
   13470 if test "x$ac_cv_func_fcntl" = xyes; then :
   13471   have_fcntl=yes
   13472 else
   13473   have_fcntl=no
   13474 fi
   13475 
   13476 fi
   13477 if test "$have_fcntl" = "yes"; then
   13478 
   13479 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
   13480 
   13481 fi
   13482 
   13483 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   13484 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
   13485   ac_have_decl=1
   13486 else
   13487   ac_have_decl=0
   13488 fi
   13489 
   13490 cat >>confdefs.h <<_ACEOF
   13491 #define HAVE_DECL_STRNLEN $ac_have_decl
   13492 _ACEOF
   13493 ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
   13494 if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
   13495   ac_have_decl=1
   13496 else
   13497   ac_have_decl=0
   13498 fi
   13499 
   13500 cat >>confdefs.h <<_ACEOF
   13501 #define HAVE_DECL_GETPAGESIZE $ac_have_decl
   13502 _ACEOF
   13503 
   13504 for ac_func in lstat readlink
   13505 do :
   13506   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   13508 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   13509   cat >>confdefs.h <<_ACEOF
   13510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13511 _ACEOF
   13512 
   13513 fi
   13514 done
   13515 
   13516 
   13517 # Check for getexecname function.
   13518 if test -n "${with_target_subdir}"; then
   13519    case "${host}" in
   13520    *-*-solaris2*) have_getexecname=yes ;;
   13521    *) have_getexecname=no ;;
   13522    esac
   13523 else
   13524   ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
   13525 if test "x$ac_cv_func_getexecname" = xyes; then :
   13526   have_getexecname=yes
   13527 else
   13528   have_getexecname=no
   13529 fi
   13530 
   13531 fi
   13532 if test "$have_getexecname" = "yes"; then
   13533 
   13534 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
   13535 
   13536 fi
   13537 
   13538 # Check for _pgmptr variable, contains the executable filename on windows
   13539 ac_fn_c_check_decl "$LINENO" "_pgmptr" "ac_cv_have_decl__pgmptr" "$ac_includes_default"
   13540 if test "x$ac_cv_have_decl__pgmptr" = xyes; then :
   13541   ac_have_decl=1
   13542 else
   13543   ac_have_decl=0
   13544 fi
   13545 
   13546 cat >>confdefs.h <<_ACEOF
   13547 #define HAVE_DECL__PGMPTR $ac_have_decl
   13548 _ACEOF
   13549 
   13550 
   13551 # Check for sysctl definitions.
   13552 
   13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROC" >&5
   13554 $as_echo_n "checking for KERN_PROC... " >&6; }
   13555 if ${libbacktrace_cv_proc+:} false; then :
   13556   $as_echo_n "(cached) " >&6
   13557 else
   13558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13559 /* end confdefs.h.  */
   13560 
   13561 #include <sys/types.h>
   13562 #include <sys/sysctl.h>
   13563 
   13564 int
   13565 main ()
   13566 {
   13567 int mib0 = CTL_KERN; int mib1 = KERN_PROC; int mib2 = KERN_PROC_PATHNAME;
   13568   ;
   13569   return 0;
   13570 }
   13571 _ACEOF
   13572 if ac_fn_c_try_compile "$LINENO"; then :
   13573   libbacktrace_cv_proc=yes
   13574 else
   13575   libbacktrace_cv_proc=no
   13576 fi
   13577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13578 fi
   13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_proc" >&5
   13580 $as_echo "$libbacktrace_cv_proc" >&6; }
   13581 if test "$libbacktrace_cv_proc" = "yes"; then
   13582 
   13583 $as_echo "#define HAVE_KERN_PROC 1" >>confdefs.h
   13584 
   13585 fi
   13586 
   13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KERN_PROG_ARGS" >&5
   13588 $as_echo_n "checking for KERN_PROG_ARGS... " >&6; }
   13589 if ${libbacktrace_cv_procargs+:} false; then :
   13590   $as_echo_n "(cached) " >&6
   13591 else
   13592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13593 /* end confdefs.h.  */
   13594 
   13595 #include <sys/types.h>
   13596 #include <sys/sysctl.h>
   13597 
   13598 int
   13599 main ()
   13600 {
   13601 int mib0 = CTL_KERN; int mib1 = KERN_PROC_ARGS; int mib2 = KERN_PROC_PATHNAME;
   13602   ;
   13603   return 0;
   13604 }
   13605 _ACEOF
   13606 if ac_fn_c_try_compile "$LINENO"; then :
   13607   libbacktrace_cv_procargs=yes
   13608 else
   13609   libbacktrace_cv_procargs=no
   13610 fi
   13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13612 fi
   13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_procargs" >&5
   13614 $as_echo "$libbacktrace_cv_procargs" >&6; }
   13615 if test "$libbacktrace_cv_procargs" = "yes"; then
   13616 
   13617 $as_echo "#define HAVE_KERN_PROC_ARGS 1" >>confdefs.h
   13618 
   13619 fi
   13620 
   13621 # Check for the clock_gettime function.
   13622 for ac_func in clock_gettime
   13623 do :
   13624   ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   13625 if test "x$ac_cv_func_clock_gettime" = xyes; then :
   13626   cat >>confdefs.h <<_ACEOF
   13627 #define HAVE_CLOCK_GETTIME 1
   13628 _ACEOF
   13629 
   13630 fi
   13631 done
   13632 
   13633 clock_gettime_link=
   13634 # At least for glibc, clock_gettime is in librt.  But don't
   13635 # pull that in if it still doesn't give us the function we want.  This
   13636 # test is copied from libgomp, and modified to not link in -lrt as
   13637 # we're using this for test timing only.
   13638 if test "$ac_cv_func_clock_gettime" = no; then
   13639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   13640 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   13641 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   13642   $as_echo_n "(cached) " >&6
   13643 else
   13644   ac_check_lib_save_LIBS=$LIBS
   13645 LIBS="-lrt  $LIBS"
   13646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13647 /* end confdefs.h.  */
   13648 
   13649 /* Override any GCC internal prototype to avoid an error.
   13650    Use char because int might match the return type of a GCC
   13651    builtin and then its argument prototype would still apply.  */
   13652 #ifdef __cplusplus
   13653 extern "C"
   13654 #endif
   13655 char clock_gettime ();
   13656 int
   13657 main ()
   13658 {
   13659 return clock_gettime ();
   13660   ;
   13661   return 0;
   13662 }
   13663 _ACEOF
   13664 if ac_fn_c_try_link "$LINENO"; then :
   13665   ac_cv_lib_rt_clock_gettime=yes
   13666 else
   13667   ac_cv_lib_rt_clock_gettime=no
   13668 fi
   13669 rm -f core conftest.err conftest.$ac_objext \
   13670     conftest$ac_exeext conftest.$ac_ext
   13671 LIBS=$ac_check_lib_save_LIBS
   13672 fi
   13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   13674 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   13675 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   13676   CLOCK_GETTIME_LINK=-lrt
   13677 
   13678 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   13679 
   13680 fi
   13681 
   13682 fi
   13683 
   13684 
   13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
   13686 $as_echo_n "checking whether -pthread is supported... " >&6; }
   13687 if ${libgo_cv_lib_pthread+:} false; then :
   13688   $as_echo_n "(cached) " >&6
   13689 else
   13690   CFLAGS_hold=$CFLAGS
   13691 CFLAGS="$CFLAGS -pthread"
   13692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13693 /* end confdefs.h.  */
   13694 int i;
   13695 _ACEOF
   13696 if ac_fn_c_try_compile "$LINENO"; then :
   13697   libgo_cv_lib_pthread=yes
   13698 else
   13699   libgo_cv_lib_pthread=no
   13700 fi
   13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13702 CFLAGS=$CFLAGS_hold
   13703 fi
   13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
   13705 $as_echo "$libgo_cv_lib_pthread" >&6; }
   13706 PTHREAD_CFLAGS=
   13707 if test "$libgo_cv_lib_pthread" = yes; then
   13708   PTHREAD_CFLAGS=-pthread
   13709 fi
   13710 
   13711 
   13712  if test "$libgo_cv_lib_pthread" = yes; then
   13713   HAVE_PTHREAD_TRUE=
   13714   HAVE_PTHREAD_FALSE='#'
   13715 else
   13716   HAVE_PTHREAD_TRUE='#'
   13717   HAVE_PTHREAD_FALSE=
   13718 fi
   13719 
   13720 
   13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -gdwarf-5 is supported" >&5
   13722 $as_echo_n "checking whether -gdwarf-5 is supported... " >&6; }
   13723 if ${libbacktrace_cv_lib_dwarf5+:} false; then :
   13724   $as_echo_n "(cached) " >&6
   13725 else
   13726   CFLAGS_hold=$CFLAGS
   13727 CFLAGS="$CFLAGS -gdwarf-5"
   13728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13729 /* end confdefs.h.  */
   13730 int i;
   13731 int
   13732 main ()
   13733 {
   13734 return 0;
   13735   ;
   13736   return 0;
   13737 }
   13738 _ACEOF
   13739 if ac_fn_c_try_link "$LINENO"; then :
   13740   libbacktrace_cv_lib_dwarf5=yes
   13741 else
   13742   libbacktrace_cv_lib_dwarf5=no
   13743 fi
   13744 rm -f core conftest.err conftest.$ac_objext \
   13745     conftest$ac_exeext conftest.$ac_ext
   13746 CFLAGS=$CFLAGS_hold
   13747 fi
   13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_lib_dwarf5" >&5
   13749 $as_echo "$libbacktrace_cv_lib_dwarf5" >&6; }
   13750  if test "$libbacktrace_cv_lib_dwarf5" = yes; then
   13751   HAVE_DWARF5_TRUE=
   13752   HAVE_DWARF5_FALSE='#'
   13753 else
   13754   HAVE_DWARF5_TRUE='#'
   13755   HAVE_DWARF5_FALSE=
   13756 fi
   13757 
   13758 
   13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
   13760 $as_echo_n "checking for compress in -lz... " >&6; }
   13761 if ${ac_cv_lib_z_compress+:} false; then :
   13762   $as_echo_n "(cached) " >&6
   13763 else
   13764   ac_check_lib_save_LIBS=$LIBS
   13765 LIBS="-lz  $LIBS"
   13766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13767 /* end confdefs.h.  */
   13768 
   13769 /* Override any GCC internal prototype to avoid an error.
   13770    Use char because int might match the return type of a GCC
   13771    builtin and then its argument prototype would still apply.  */
   13772 #ifdef __cplusplus
   13773 extern "C"
   13774 #endif
   13775 char compress ();
   13776 int
   13777 main ()
   13778 {
   13779 return compress ();
   13780   ;
   13781   return 0;
   13782 }
   13783 _ACEOF
   13784 if ac_fn_c_try_link "$LINENO"; then :
   13785   ac_cv_lib_z_compress=yes
   13786 else
   13787   ac_cv_lib_z_compress=no
   13788 fi
   13789 rm -f core conftest.err conftest.$ac_objext \
   13790     conftest$ac_exeext conftest.$ac_ext
   13791 LIBS=$ac_check_lib_save_LIBS
   13792 fi
   13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
   13794 $as_echo "$ac_cv_lib_z_compress" >&6; }
   13795 if test "x$ac_cv_lib_z_compress" = xyes; then :
   13796 
   13797 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
   13798 
   13799 fi
   13800 
   13801  if test "$ac_cv_lib_z_compress" = yes; then
   13802   HAVE_ZLIB_TRUE=
   13803   HAVE_ZLIB_FALSE='#'
   13804 else
   13805   HAVE_ZLIB_TRUE='#'
   13806   HAVE_ZLIB_FALSE=
   13807 fi
   13808 
   13809 
   13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --build-id is supported" >&5
   13811 $as_echo_n "checking whether --build-id is supported... " >&6; }
   13812 if ${libbacktrace_cv_ld_buildid+:} false; then :
   13813   $as_echo_n "(cached) " >&6
   13814 else
   13815   LDFLAGS_hold=$LDFLAGS
   13816 LDFLAGS="$LDFLAGS -Wl,--build-id"
   13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13818 /* end confdefs.h.  */
   13819 
   13820 int
   13821 main ()
   13822 {
   13823 
   13824   ;
   13825   return 0;
   13826 }
   13827 _ACEOF
   13828 if ac_fn_c_try_link "$LINENO"; then :
   13829   libbacktrace_cv_ld_buildid=yes
   13830 else
   13831   libbacktrace_cv_ld_buildid=no
   13832 fi
   13833 rm -f core conftest.err conftest.$ac_objext \
   13834     conftest$ac_exeext conftest.$ac_ext
   13835 LDFLAGS=$LDFLAGS_hold
   13836 fi
   13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_ld_buildid" >&5
   13838 $as_echo "$libbacktrace_cv_ld_buildid" >&6; }
   13839  if test "$libbacktrace_cv_ld_buildid" = yes; then
   13840   HAVE_BUILDID_TRUE=
   13841   HAVE_BUILDID_FALSE='#'
   13842 else
   13843   HAVE_BUILDID_TRUE='#'
   13844   HAVE_BUILDID_FALSE=
   13845 fi
   13846 
   13847 
   13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
   13849 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
   13850 if ${libgo_cv_ld_compress+:} false; then :
   13851   $as_echo_n "(cached) " >&6
   13852 else
   13853   LDFLAGS_hold=$LDFLAGS
   13854 LDFLAGS="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
   13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13856 /* end confdefs.h.  */
   13857 
   13858 int
   13859 main ()
   13860 {
   13861 
   13862   ;
   13863   return 0;
   13864 }
   13865 _ACEOF
   13866 if ac_fn_c_try_link "$LINENO"; then :
   13867   libgo_cv_ld_compress=yes
   13868 else
   13869   libgo_cv_ld_compress=no
   13870 fi
   13871 rm -f core conftest.err conftest.$ac_objext \
   13872     conftest$ac_exeext conftest.$ac_ext
   13873 LDFLAGS=$LDFLAGS_hold
   13874 fi
   13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
   13876 $as_echo "$libgo_cv_ld_compress" >&6; }
   13877  if test "$libgo_cv_ld_compress" = yes; then
   13878   HAVE_COMPRESSED_DEBUG_TRUE=
   13879   HAVE_COMPRESSED_DEBUG_FALSE='#'
   13880 else
   13881   HAVE_COMPRESSED_DEBUG_TRUE='#'
   13882   HAVE_COMPRESSED_DEBUG_FALSE=
   13883 fi
   13884 
   13885 
   13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZSTD_compress in -lzstd" >&5
   13887 $as_echo_n "checking for ZSTD_compress in -lzstd... " >&6; }
   13888 if ${ac_cv_lib_zstd_ZSTD_compress+:} false; then :
   13889   $as_echo_n "(cached) " >&6
   13890 else
   13891   ac_check_lib_save_LIBS=$LIBS
   13892 LIBS="-lzstd  $LIBS"
   13893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13894 /* end confdefs.h.  */
   13895 
   13896 /* Override any GCC internal prototype to avoid an error.
   13897    Use char because int might match the return type of a GCC
   13898    builtin and then its argument prototype would still apply.  */
   13899 #ifdef __cplusplus
   13900 extern "C"
   13901 #endif
   13902 char ZSTD_compress ();
   13903 int
   13904 main ()
   13905 {
   13906 return ZSTD_compress ();
   13907   ;
   13908   return 0;
   13909 }
   13910 _ACEOF
   13911 if ac_fn_c_try_link "$LINENO"; then :
   13912   ac_cv_lib_zstd_ZSTD_compress=yes
   13913 else
   13914   ac_cv_lib_zstd_ZSTD_compress=no
   13915 fi
   13916 rm -f core conftest.err conftest.$ac_objext \
   13917     conftest$ac_exeext conftest.$ac_ext
   13918 LIBS=$ac_check_lib_save_LIBS
   13919 fi
   13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_zstd_ZSTD_compress" >&5
   13921 $as_echo "$ac_cv_lib_zstd_ZSTD_compress" >&6; }
   13922 if test "x$ac_cv_lib_zstd_ZSTD_compress" = xyes; then :
   13923 
   13924 $as_echo "#define HAVE_ZSTD 1" >>confdefs.h
   13925 
   13926 fi
   13927 
   13928  if test "$ac_cv_lib_zstd_ZSTD_compress" = yes; then
   13929   HAVE_ZSTD_TRUE=
   13930   HAVE_ZSTD_FALSE='#'
   13931 else
   13932   HAVE_ZSTD_TRUE='#'
   13933   HAVE_ZSTD_FALSE=
   13934 fi
   13935 
   13936 
   13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections=zstd is supported" >&5
   13938 $as_echo_n "checking whether --compress-debug-sections=zstd is supported... " >&6; }
   13939 if ${libgo_cv_ld_compress_zstd+:} false; then :
   13940   $as_echo_n "(cached) " >&6
   13941 else
   13942   LDFLAGS_hold=$LDFLAGS
   13943 LDFLAGS="$LDFLAGS -Wl,--compress-debug-sections=zstd"
   13944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13945 /* end confdefs.h.  */
   13946 
   13947 int
   13948 main ()
   13949 {
   13950 
   13951   ;
   13952   return 0;
   13953 }
   13954 _ACEOF
   13955 if ac_fn_c_try_link "$LINENO"; then :
   13956   libgo_cv_ld_compress_zstd=yes
   13957 else
   13958   libgo_cv_ld_compress_zstd=no
   13959 fi
   13960 rm -f core conftest.err conftest.$ac_objext \
   13961     conftest$ac_exeext conftest.$ac_ext
   13962 LDFLAGS=$LDFLAGS_hold
   13963 fi
   13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress_zstd" >&5
   13965 $as_echo "$libgo_cv_ld_compress_zstd" >&6; }
   13966  if test "$libgo_cv_ld_compress_zstd" = yes; then
   13967   HAVE_COMPRESSED_DEBUG_ZSTD_TRUE=
   13968   HAVE_COMPRESSED_DEBUG_ZSTD_FALSE='#'
   13969 else
   13970   HAVE_COMPRESSED_DEBUG_ZSTD_TRUE='#'
   13971   HAVE_COMPRESSED_DEBUG_ZSTD_FALSE=
   13972 fi
   13973 
   13974 
   13975 
   13976 # Extract the first word of "objcopy", so it can be a program name with args.
   13977 set dummy objcopy; ac_word=$2
   13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13979 $as_echo_n "checking for $ac_word... " >&6; }
   13980 if ${ac_cv_prog_OBJCOPY+:} false; then :
   13981   $as_echo_n "(cached) " >&6
   13982 else
   13983   if test -n "$OBJCOPY"; then
   13984   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   13985 else
   13986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13987 for as_dir in $PATH
   13988 do
   13989   IFS=$as_save_IFS
   13990   test -z "$as_dir" && as_dir=.
   13991     for ac_exec_ext in '' $ac_executable_extensions; do
   13992   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13993     ac_cv_prog_OBJCOPY="objcopy"
   13994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13995     break 2
   13996   fi
   13997 done
   13998   done
   13999 IFS=$as_save_IFS
   14000 
   14001 fi
   14002 fi
   14003 OBJCOPY=$ac_cv_prog_OBJCOPY
   14004 if test -n "$OBJCOPY"; then
   14005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   14006 $as_echo "$OBJCOPY" >&6; }
   14007 else
   14008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14009 $as_echo "no" >&6; }
   14010 fi
   14011 
   14012 
   14013 # Extract the first word of "readelf", so it can be a program name with args.
   14014 set dummy readelf; ac_word=$2
   14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14016 $as_echo_n "checking for $ac_word... " >&6; }
   14017 if ${ac_cv_prog_READELF+:} false; then :
   14018   $as_echo_n "(cached) " >&6
   14019 else
   14020   if test -n "$READELF"; then
   14021   ac_cv_prog_READELF="$READELF" # Let the user override the test.
   14022 else
   14023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14024 for as_dir in $PATH
   14025 do
   14026   IFS=$as_save_IFS
   14027   test -z "$as_dir" && as_dir=.
   14028     for ac_exec_ext in '' $ac_executable_extensions; do
   14029   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14030     ac_cv_prog_READELF="readelf"
   14031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14032     break 2
   14033   fi
   14034 done
   14035   done
   14036 IFS=$as_save_IFS
   14037 
   14038 fi
   14039 fi
   14040 READELF=$ac_cv_prog_READELF
   14041 if test -n "$READELF"; then
   14042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
   14043 $as_echo "$READELF" >&6; }
   14044 else
   14045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14046 $as_echo "no" >&6; }
   14047 fi
   14048 
   14049 
   14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
   14051 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
   14052 if ${libbacktrace_cv_objcopy_debuglink+:} false; then :
   14053   $as_echo_n "(cached) " >&6
   14054 else
   14055   if test -n "${with_target_subdir}"; then
   14056   libbacktrace_cv_objcopy_debuglink=no
   14057 elif ! test -n "${OBJCOPY}"; then
   14058   libbacktrace_cv_objcopy_debuglink=no
   14059 elif ${OBJCOPY} --help | grep add-gnu-debuglink >/dev/null 2>&1; then
   14060   libbacktrace_cv_objcopy_debuglink=yes
   14061 else
   14062   libbacktrace_cv_objcopy_debuglink=no
   14063 fi
   14064 fi
   14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
   14066 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
   14067  if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
   14068   HAVE_OBJCOPY_DEBUGLINK_TRUE=
   14069   HAVE_OBJCOPY_DEBUGLINK_FALSE='#'
   14070 else
   14071   HAVE_OBJCOPY_DEBUGLINK_TRUE='#'
   14072   HAVE_OBJCOPY_DEBUGLINK_FALSE=
   14073 fi
   14074 
   14075 
   14076 
   14077 # Extract the first word of "dsymutil", so it can be a program name with args.
   14078 set dummy dsymutil; ac_word=$2
   14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14080 $as_echo_n "checking for $ac_word... " >&6; }
   14081 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   14082   $as_echo_n "(cached) " >&6
   14083 else
   14084   if test -n "$DSYMUTIL"; then
   14085   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   14086 else
   14087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14088 for as_dir in $PATH
   14089 do
   14090   IFS=$as_save_IFS
   14091   test -z "$as_dir" && as_dir=.
   14092     for ac_exec_ext in '' $ac_executable_extensions; do
   14093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14094     ac_cv_prog_DSYMUTIL="dsymutil"
   14095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14096     break 2
   14097   fi
   14098 done
   14099   done
   14100 IFS=$as_save_IFS
   14101 
   14102 fi
   14103 fi
   14104 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   14105 if test -n "$DSYMUTIL"; then
   14106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   14107 $as_echo "$DSYMUTIL" >&6; }
   14108 else
   14109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14110 $as_echo "no" >&6; }
   14111 fi
   14112 
   14113 
   14114  if test -n "${DSYMUTIL}" -a "$FORMAT_FILE" = "macho.lo"; then
   14115   USE_DSYMUTIL_TRUE=
   14116   USE_DSYMUTIL_FALSE='#'
   14117 else
   14118   USE_DSYMUTIL_TRUE='#'
   14119   USE_DSYMUTIL_FALSE=
   14120 fi
   14121 
   14122 
   14123 
   14124 # Extract the first word of "nm", so it can be a program name with args.
   14125 set dummy nm; ac_word=$2
   14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14127 $as_echo_n "checking for $ac_word... " >&6; }
   14128 if ${ac_cv_prog_NM+:} false; then :
   14129   $as_echo_n "(cached) " >&6
   14130 else
   14131   if test -n "$NM"; then
   14132   ac_cv_prog_NM="$NM" # Let the user override the test.
   14133 else
   14134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14135 for as_dir in $PATH
   14136 do
   14137   IFS=$as_save_IFS
   14138   test -z "$as_dir" && as_dir=.
   14139     for ac_exec_ext in '' $ac_executable_extensions; do
   14140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14141     ac_cv_prog_NM="nm"
   14142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14143     break 2
   14144   fi
   14145 done
   14146   done
   14147 IFS=$as_save_IFS
   14148 
   14149 fi
   14150 fi
   14151 NM=$ac_cv_prog_NM
   14152 if test -n "$NM"; then
   14153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
   14154 $as_echo "$NM" >&6; }
   14155 else
   14156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14157 $as_echo "no" >&6; }
   14158 fi
   14159 
   14160 
   14161 
   14162 # Extract the first word of "xz", so it can be a program name with args.
   14163 set dummy xz; ac_word=$2
   14164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14165 $as_echo_n "checking for $ac_word... " >&6; }
   14166 if ${ac_cv_prog_XZ+:} false; then :
   14167   $as_echo_n "(cached) " >&6
   14168 else
   14169   if test -n "$XZ"; then
   14170   ac_cv_prog_XZ="$XZ" # Let the user override the test.
   14171 else
   14172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14173 for as_dir in $PATH
   14174 do
   14175   IFS=$as_save_IFS
   14176   test -z "$as_dir" && as_dir=.
   14177     for ac_exec_ext in '' $ac_executable_extensions; do
   14178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14179     ac_cv_prog_XZ="xz"
   14180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14181     break 2
   14182   fi
   14183 done
   14184   done
   14185 IFS=$as_save_IFS
   14186 
   14187 fi
   14188 fi
   14189 XZ=$ac_cv_prog_XZ
   14190 if test -n "$XZ"; then
   14191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XZ" >&5
   14192 $as_echo "$XZ" >&6; }
   14193 else
   14194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14195 $as_echo "no" >&6; }
   14196 fi
   14197 
   14198 
   14199  if test "$XZ" != ""; then
   14200   HAVE_XZ_TRUE=
   14201   HAVE_XZ_FALSE='#'
   14202 else
   14203   HAVE_XZ_TRUE='#'
   14204   HAVE_XZ_FALSE=
   14205 fi
   14206 
   14207 # Extract the first word of "comm", so it can be a program name with args.
   14208 set dummy comm; ac_word=$2
   14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   14210 $as_echo_n "checking for $ac_word... " >&6; }
   14211 if ${ac_cv_prog_COMM+:} false; then :
   14212   $as_echo_n "(cached) " >&6
   14213 else
   14214   if test -n "$COMM"; then
   14215   ac_cv_prog_COMM="$COMM" # Let the user override the test.
   14216 else
   14217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14218 for as_dir in $PATH
   14219 do
   14220   IFS=$as_save_IFS
   14221   test -z "$as_dir" && as_dir=.
   14222     for ac_exec_ext in '' $ac_executable_extensions; do
   14223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   14224     ac_cv_prog_COMM="comm"
   14225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   14226     break 2
   14227   fi
   14228 done
   14229   done
   14230 IFS=$as_save_IFS
   14231 
   14232 fi
   14233 fi
   14234 COMM=$ac_cv_prog_COMM
   14235 if test -n "$COMM"; then
   14236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
   14237 $as_echo "$COMM" >&6; }
   14238 else
   14239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14240 $as_echo "no" >&6; }
   14241 fi
   14242 
   14243 
   14244  if test "$COMM" != ""; then
   14245   HAVE_COMM_TRUE=
   14246   HAVE_COMM_FALSE='#'
   14247 else
   14248   HAVE_COMM_TRUE='#'
   14249   HAVE_COMM_FALSE=
   14250 fi
   14251 
   14252 
   14253  if test "${with_target_subdir}" = "" -a "$FORMAT_FILE" = "elf.lo" -a "${OBJCOPY}" != "" -a "${NM}" != "" -a "${XZ}" != "" -a "${COMM}" != ""; then
   14254   HAVE_MINIDEBUG_TRUE=
   14255   HAVE_MINIDEBUG_FALSE='#'
   14256 else
   14257   HAVE_MINIDEBUG_TRUE='#'
   14258   HAVE_MINIDEBUG_FALSE=
   14259 fi
   14260 
   14261 
   14262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_auto_decoder in -llzma" >&5
   14263 $as_echo_n "checking for lzma_auto_decoder in -llzma... " >&6; }
   14264 if ${ac_cv_lib_lzma_lzma_auto_decoder+:} false; then :
   14265   $as_echo_n "(cached) " >&6
   14266 else
   14267   ac_check_lib_save_LIBS=$LIBS
   14268 LIBS="-llzma  $LIBS"
   14269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14270 /* end confdefs.h.  */
   14271 
   14272 /* Override any GCC internal prototype to avoid an error.
   14273    Use char because int might match the return type of a GCC
   14274    builtin and then its argument prototype would still apply.  */
   14275 #ifdef __cplusplus
   14276 extern "C"
   14277 #endif
   14278 char lzma_auto_decoder ();
   14279 int
   14280 main ()
   14281 {
   14282 return lzma_auto_decoder ();
   14283   ;
   14284   return 0;
   14285 }
   14286 _ACEOF
   14287 if ac_fn_c_try_link "$LINENO"; then :
   14288   ac_cv_lib_lzma_lzma_auto_decoder=yes
   14289 else
   14290   ac_cv_lib_lzma_lzma_auto_decoder=no
   14291 fi
   14292 rm -f core conftest.err conftest.$ac_objext \
   14293     conftest$ac_exeext conftest.$ac_ext
   14294 LIBS=$ac_check_lib_save_LIBS
   14295 fi
   14296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_auto_decoder" >&5
   14297 $as_echo "$ac_cv_lib_lzma_lzma_auto_decoder" >&6; }
   14298 if test "x$ac_cv_lib_lzma_lzma_auto_decoder" = xyes; then :
   14299 
   14300 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
   14301 
   14302 fi
   14303 
   14304  if test "$ac_cv_lib_lzma_lzma_auto_decoder" = yes; then
   14305   HAVE_LIBLZMA_TRUE=
   14306   HAVE_LIBLZMA_FALSE='#'
   14307 else
   14308   HAVE_LIBLZMA_TRUE='#'
   14309   HAVE_LIBLZMA_FALSE=
   14310 fi
   14311 
   14312 
   14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
   14314 $as_echo_n "checking whether tests can run... " >&6; }
   14315 if ${libbacktrace_cv_sys_native+:} false; then :
   14316   $as_echo_n "(cached) " >&6
   14317 else
   14318   if test "$cross_compiling" = yes; then :
   14319   libbacktrace_cv_sys_native=no
   14320 else
   14321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14322 /* end confdefs.h.  */
   14323 
   14324 int
   14325 main ()
   14326 {
   14327 return 0;
   14328   ;
   14329   return 0;
   14330 }
   14331 _ACEOF
   14332 if ac_fn_c_try_run "$LINENO"; then :
   14333   libbacktrace_cv_sys_native=yes
   14334 else
   14335   libbacktrace_cv_sys_native=no
   14336 fi
   14337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   14338   conftest.$ac_objext conftest.beam conftest.$ac_ext
   14339 fi
   14340 
   14341 fi
   14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
   14343 $as_echo "$libbacktrace_cv_sys_native" >&6; }
   14344  if test "$libbacktrace_cv_sys_native" = "yes"; then
   14345   NATIVE_TRUE=
   14346   NATIVE_FALSE='#'
   14347 else
   14348   NATIVE_TRUE='#'
   14349   NATIVE_FALSE=
   14350 fi
   14351 
   14352 
   14353 if test "${multilib}" = "yes"; then
   14354   multilib_arg="--enable-multilib"
   14355 else
   14356   multilib_arg=
   14357 fi
   14358 
   14359 ac_config_files="$ac_config_files Makefile backtrace-supported.h"
   14360 
   14361 ac_config_files="$ac_config_files install-debuginfo-for-buildid.sh"
   14362 
   14363 
   14364 # We need multilib support, but only if configuring for the target.
   14365 ac_config_commands="$ac_config_commands default"
   14366 
   14367 
   14368 cat >confcache <<\_ACEOF
   14369 # This file is a shell script that caches the results of configure
   14370 # tests run on this system so they can be shared between configure
   14371 # scripts and configure runs, see configure's option --config-cache.
   14372 # It is not useful on other systems.  If it contains results you don't
   14373 # want to keep, you may remove or edit it.
   14374 #
   14375 # config.status only pays attention to the cache file if you give it
   14376 # the --recheck option to rerun configure.
   14377 #
   14378 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   14379 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   14380 # following values.
   14381 
   14382 _ACEOF
   14383 
   14384 # The following way of writing the cache mishandles newlines in values,
   14385 # but we know of no workaround that is simple, portable, and efficient.
   14386 # So, we kill variables containing newlines.
   14387 # Ultrix sh set writes to stderr and can't be redirected directly,
   14388 # and sets the high bit in the cache file unless we assign to the vars.
   14389 (
   14390   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   14391     eval ac_val=\$$ac_var
   14392     case $ac_val in #(
   14393     *${as_nl}*)
   14394       case $ac_var in #(
   14395       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   14396 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   14397       esac
   14398       case $ac_var in #(
   14399       _ | IFS | as_nl) ;; #(
   14400       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   14401       *) { eval $ac_var=; unset $ac_var;} ;;
   14402       esac ;;
   14403     esac
   14404   done
   14405 
   14406   (set) 2>&1 |
   14407     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   14408     *${as_nl}ac_space=\ *)
   14409       # `set' does not quote correctly, so add quotes: double-quote
   14410       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14411       sed -n \
   14412 	"s/'/'\\\\''/g;
   14413 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14414       ;; #(
   14415     *)
   14416       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14417       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14418       ;;
   14419     esac |
   14420     sort
   14421 ) |
   14422   sed '
   14423      /^ac_cv_env_/b end
   14424      t clear
   14425      :clear
   14426      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14427      t end
   14428      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14429      :end' >>confcache
   14430 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14431   if test -w "$cache_file"; then
   14432     if test "x$cache_file" != "x/dev/null"; then
   14433       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14434 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14435       if test ! -f "$cache_file" || test -h "$cache_file"; then
   14436 	cat confcache >"$cache_file"
   14437       else
   14438         case $cache_file in #(
   14439         */* | ?:*)
   14440 	  mv -f confcache "$cache_file"$$ &&
   14441 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   14442         *)
   14443 	  mv -f confcache "$cache_file" ;;
   14444 	esac
   14445       fi
   14446     fi
   14447   else
   14448     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14449 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14450   fi
   14451 fi
   14452 rm -f confcache
   14453 
   14454 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14455 # Let make expand exec_prefix.
   14456 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14457 
   14458 DEFS=-DHAVE_CONFIG_H
   14459 
   14460 ac_libobjs=
   14461 ac_ltlibobjs=
   14462 U=
   14463 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14464   # 1. Remove the extension, and $U if already installed.
   14465   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14466   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14467   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14468   #    will be set to the directory where LIBOBJS objects are built.
   14469   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14470   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14471 done
   14472 LIBOBJS=$ac_libobjs
   14473 
   14474 LTLIBOBJS=$ac_ltlibobjs
   14475 
   14476 
   14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   14478 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   14479    if test -n "$am_sleep_pid"; then
   14480      # Hide warnings about reused PIDs.
   14481      wait $am_sleep_pid 2>/dev/null
   14482    fi
   14483    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   14484 $as_echo "done" >&6; }
   14485  if test -n "$EXEEXT"; then
   14486   am__EXEEXT_TRUE=
   14487   am__EXEEXT_FALSE='#'
   14488 else
   14489   am__EXEEXT_TRUE='#'
   14490   am__EXEEXT_FALSE=
   14491 fi
   14492 
   14493 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14494   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14496 fi
   14497 if test -z "${HAVE_DWZ_TRUE}" && test -z "${HAVE_DWZ_FALSE}"; then
   14498   as_fn_error $? "conditional \"HAVE_DWZ\" was never defined.
   14499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14500 fi
   14501 if test -z "${HAVE_ELF_TRUE}" && test -z "${HAVE_ELF_FALSE}"; then
   14502   as_fn_error $? "conditional \"HAVE_ELF\" was never defined.
   14503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14504 fi
   14505 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
   14506   as_fn_error $? "conditional \"HAVE_PTHREAD\" was never defined.
   14507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14508 fi
   14509 if test -z "${HAVE_DWARF5_TRUE}" && test -z "${HAVE_DWARF5_FALSE}"; then
   14510   as_fn_error $? "conditional \"HAVE_DWARF5\" was never defined.
   14511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14512 fi
   14513 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
   14514   as_fn_error $? "conditional \"HAVE_ZLIB\" was never defined.
   14515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14516 fi
   14517 if test -z "${HAVE_BUILDID_TRUE}" && test -z "${HAVE_BUILDID_FALSE}"; then
   14518   as_fn_error $? "conditional \"HAVE_BUILDID\" was never defined.
   14519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14520 fi
   14521 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
   14522   as_fn_error $? "conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
   14523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14524 fi
   14525 if test -z "${HAVE_ZSTD_TRUE}" && test -z "${HAVE_ZSTD_FALSE}"; then
   14526   as_fn_error $? "conditional \"HAVE_ZSTD\" was never defined.
   14527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14528 fi
   14529 if test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_ZSTD_FALSE}"; then
   14530   as_fn_error $? "conditional \"HAVE_COMPRESSED_DEBUG_ZSTD\" was never defined.
   14531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14532 fi
   14533 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
   14534   as_fn_error $? "conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
   14535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14536 fi
   14537 if test -z "${USE_DSYMUTIL_TRUE}" && test -z "${USE_DSYMUTIL_FALSE}"; then
   14538   as_fn_error $? "conditional \"USE_DSYMUTIL\" was never defined.
   14539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14540 fi
   14541 if test -z "${HAVE_XZ_TRUE}" && test -z "${HAVE_XZ_FALSE}"; then
   14542   as_fn_error $? "conditional \"HAVE_XZ\" was never defined.
   14543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14544 fi
   14545 if test -z "${HAVE_COMM_TRUE}" && test -z "${HAVE_COMM_FALSE}"; then
   14546   as_fn_error $? "conditional \"HAVE_COMM\" was never defined.
   14547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14548 fi
   14549 if test -z "${HAVE_MINIDEBUG_TRUE}" && test -z "${HAVE_MINIDEBUG_FALSE}"; then
   14550   as_fn_error $? "conditional \"HAVE_MINIDEBUG\" was never defined.
   14551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14552 fi
   14553 if test -z "${HAVE_LIBLZMA_TRUE}" && test -z "${HAVE_LIBLZMA_FALSE}"; then
   14554   as_fn_error $? "conditional \"HAVE_LIBLZMA\" was never defined.
   14555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14556 fi
   14557 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
   14558   as_fn_error $? "conditional \"NATIVE\" was never defined.
   14559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14560 fi
   14561 
   14562 : "${CONFIG_STATUS=./config.status}"
   14563 ac_write_fail=0
   14564 ac_clean_files_save=$ac_clean_files
   14565 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14567 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14568 as_write_fail=0
   14569 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14570 #! $SHELL
   14571 # Generated by $as_me.
   14572 # Run this file to recreate the current configuration.
   14573 # Compiler output produced by configure, useful for debugging
   14574 # configure, is in config.log if it exists.
   14575 
   14576 debug=false
   14577 ac_cs_recheck=false
   14578 ac_cs_silent=false
   14579 
   14580 SHELL=\${CONFIG_SHELL-$SHELL}
   14581 export SHELL
   14582 _ASEOF
   14583 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14584 ## -------------------- ##
   14585 ## M4sh Initialization. ##
   14586 ## -------------------- ##
   14587 
   14588 # Be more Bourne compatible
   14589 DUALCASE=1; export DUALCASE # for MKS sh
   14590 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14591   emulate sh
   14592   NULLCMD=:
   14593   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14594   # is contrary to our usage.  Disable this feature.
   14595   alias -g '${1+"$@"}'='"$@"'
   14596   setopt NO_GLOB_SUBST
   14597 else
   14598   case `(set -o) 2>/dev/null` in #(
   14599   *posix*) :
   14600     set -o posix ;; #(
   14601   *) :
   14602      ;;
   14603 esac
   14604 fi
   14605 
   14606 
   14607 as_nl='
   14608 '
   14609 export as_nl
   14610 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14611 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14612 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14614 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14615 # but without wasting forks for bash or zsh.
   14616 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14617     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14618   as_echo='print -r --'
   14619   as_echo_n='print -rn --'
   14620 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14621   as_echo='printf %s\n'
   14622   as_echo_n='printf %s'
   14623 else
   14624   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14625     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14626     as_echo_n='/usr/ucb/echo -n'
   14627   else
   14628     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14629     as_echo_n_body='eval
   14630       arg=$1;
   14631       case $arg in #(
   14632       *"$as_nl"*)
   14633 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14634 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14635       esac;
   14636       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14637     '
   14638     export as_echo_n_body
   14639     as_echo_n='sh -c $as_echo_n_body as_echo'
   14640   fi
   14641   export as_echo_body
   14642   as_echo='sh -c $as_echo_body as_echo'
   14643 fi
   14644 
   14645 # The user is always right.
   14646 if test "${PATH_SEPARATOR+set}" != set; then
   14647   PATH_SEPARATOR=:
   14648   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14649     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14650       PATH_SEPARATOR=';'
   14651   }
   14652 fi
   14653 
   14654 
   14655 # IFS
   14656 # We need space, tab and new line, in precisely that order.  Quoting is
   14657 # there to prevent editors from complaining about space-tab.
   14658 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14659 # splitting by setting IFS to empty value.)
   14660 IFS=" ""	$as_nl"
   14661 
   14662 # Find who we are.  Look in the path if we contain no directory separator.
   14663 as_myself=
   14664 case $0 in #((
   14665   *[\\/]* ) as_myself=$0 ;;
   14666   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14667 for as_dir in $PATH
   14668 do
   14669   IFS=$as_save_IFS
   14670   test -z "$as_dir" && as_dir=.
   14671     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14672   done
   14673 IFS=$as_save_IFS
   14674 
   14675      ;;
   14676 esac
   14677 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14678 # in which case we are not to be found in the path.
   14679 if test "x$as_myself" = x; then
   14680   as_myself=$0
   14681 fi
   14682 if test ! -f "$as_myself"; then
   14683   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14684   exit 1
   14685 fi
   14686 
   14687 # Unset variables that we do not need and which cause bugs (e.g. in
   14688 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14689 # suppresses any "Segmentation fault" message there.  '((' could
   14690 # trigger a bug in pdksh 5.2.14.
   14691 for as_var in BASH_ENV ENV MAIL MAILPATH
   14692 do eval test x\${$as_var+set} = xset \
   14693   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14694 done
   14695 PS1='$ '
   14696 PS2='> '
   14697 PS4='+ '
   14698 
   14699 # NLS nuisances.
   14700 LC_ALL=C
   14701 export LC_ALL
   14702 LANGUAGE=C
   14703 export LANGUAGE
   14704 
   14705 # CDPATH.
   14706 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14707 
   14708 
   14709 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14710 # ----------------------------------------
   14711 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14712 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14713 # script with STATUS, using 1 if that was 0.
   14714 as_fn_error ()
   14715 {
   14716   as_status=$1; test $as_status -eq 0 && as_status=1
   14717   if test "$4"; then
   14718     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14719     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14720   fi
   14721   $as_echo "$as_me: error: $2" >&2
   14722   as_fn_exit $as_status
   14723 } # as_fn_error
   14724 
   14725 
   14726 # as_fn_set_status STATUS
   14727 # -----------------------
   14728 # Set $? to STATUS, without forking.
   14729 as_fn_set_status ()
   14730 {
   14731   return $1
   14732 } # as_fn_set_status
   14733 
   14734 # as_fn_exit STATUS
   14735 # -----------------
   14736 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14737 as_fn_exit ()
   14738 {
   14739   set +e
   14740   as_fn_set_status $1
   14741   exit $1
   14742 } # as_fn_exit
   14743 
   14744 # as_fn_unset VAR
   14745 # ---------------
   14746 # Portably unset VAR.
   14747 as_fn_unset ()
   14748 {
   14749   { eval $1=; unset $1;}
   14750 }
   14751 as_unset=as_fn_unset
   14752 # as_fn_append VAR VALUE
   14753 # ----------------------
   14754 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14755 # advantage of any shell optimizations that allow amortized linear growth over
   14756 # repeated appends, instead of the typical quadratic growth present in naive
   14757 # implementations.
   14758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14759   eval 'as_fn_append ()
   14760   {
   14761     eval $1+=\$2
   14762   }'
   14763 else
   14764   as_fn_append ()
   14765   {
   14766     eval $1=\$$1\$2
   14767   }
   14768 fi # as_fn_append
   14769 
   14770 # as_fn_arith ARG...
   14771 # ------------------
   14772 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14773 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14774 # must be portable across $(()) and expr.
   14775 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14776   eval 'as_fn_arith ()
   14777   {
   14778     as_val=$(( $* ))
   14779   }'
   14780 else
   14781   as_fn_arith ()
   14782   {
   14783     as_val=`expr "$@" || test $? -eq 1`
   14784   }
   14785 fi # as_fn_arith
   14786 
   14787 
   14788 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14789    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14790   as_expr=expr
   14791 else
   14792   as_expr=false
   14793 fi
   14794 
   14795 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14796   as_basename=basename
   14797 else
   14798   as_basename=false
   14799 fi
   14800 
   14801 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14802   as_dirname=dirname
   14803 else
   14804   as_dirname=false
   14805 fi
   14806 
   14807 as_me=`$as_basename -- "$0" ||
   14808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14809 	 X"$0" : 'X\(//\)$' \| \
   14810 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14811 $as_echo X/"$0" |
   14812     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14813 	    s//\1/
   14814 	    q
   14815 	  }
   14816 	  /^X\/\(\/\/\)$/{
   14817 	    s//\1/
   14818 	    q
   14819 	  }
   14820 	  /^X\/\(\/\).*/{
   14821 	    s//\1/
   14822 	    q
   14823 	  }
   14824 	  s/.*/./; q'`
   14825 
   14826 # Avoid depending upon Character Ranges.
   14827 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14828 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14829 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14830 as_cr_digits='0123456789'
   14831 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14832 
   14833 ECHO_C= ECHO_N= ECHO_T=
   14834 case `echo -n x` in #(((((
   14835 -n*)
   14836   case `echo 'xy\c'` in
   14837   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14838   xy)  ECHO_C='\c';;
   14839   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14840        ECHO_T='	';;
   14841   esac;;
   14842 *)
   14843   ECHO_N='-n';;
   14844 esac
   14845 
   14846 rm -f conf$$ conf$$.exe conf$$.file
   14847 if test -d conf$$.dir; then
   14848   rm -f conf$$.dir/conf$$.file
   14849 else
   14850   rm -f conf$$.dir
   14851   mkdir conf$$.dir 2>/dev/null
   14852 fi
   14853 if (echo >conf$$.file) 2>/dev/null; then
   14854   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14855     as_ln_s='ln -s'
   14856     # ... but there are two gotchas:
   14857     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14858     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14859     # In both cases, we have to default to `cp -pR'.
   14860     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14861       as_ln_s='cp -pR'
   14862   elif ln conf$$.file conf$$ 2>/dev/null; then
   14863     as_ln_s=ln
   14864   else
   14865     as_ln_s='cp -pR'
   14866   fi
   14867 else
   14868   as_ln_s='cp -pR'
   14869 fi
   14870 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14871 rmdir conf$$.dir 2>/dev/null
   14872 
   14873 
   14874 # as_fn_mkdir_p
   14875 # -------------
   14876 # Create "$as_dir" as a directory, including parents if necessary.
   14877 as_fn_mkdir_p ()
   14878 {
   14879 
   14880   case $as_dir in #(
   14881   -*) as_dir=./$as_dir;;
   14882   esac
   14883   test -d "$as_dir" || eval $as_mkdir_p || {
   14884     as_dirs=
   14885     while :; do
   14886       case $as_dir in #(
   14887       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14888       *) as_qdir=$as_dir;;
   14889       esac
   14890       as_dirs="'$as_qdir' $as_dirs"
   14891       as_dir=`$as_dirname -- "$as_dir" ||
   14892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14893 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14894 	 X"$as_dir" : 'X\(//\)$' \| \
   14895 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14896 $as_echo X"$as_dir" |
   14897     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14898 	    s//\1/
   14899 	    q
   14900 	  }
   14901 	  /^X\(\/\/\)[^/].*/{
   14902 	    s//\1/
   14903 	    q
   14904 	  }
   14905 	  /^X\(\/\/\)$/{
   14906 	    s//\1/
   14907 	    q
   14908 	  }
   14909 	  /^X\(\/\).*/{
   14910 	    s//\1/
   14911 	    q
   14912 	  }
   14913 	  s/.*/./; q'`
   14914       test -d "$as_dir" && break
   14915     done
   14916     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14917   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14918 
   14919 
   14920 } # as_fn_mkdir_p
   14921 if mkdir -p . 2>/dev/null; then
   14922   as_mkdir_p='mkdir -p "$as_dir"'
   14923 else
   14924   test -d ./-p && rmdir ./-p
   14925   as_mkdir_p=false
   14926 fi
   14927 
   14928 
   14929 # as_fn_executable_p FILE
   14930 # -----------------------
   14931 # Test if FILE is an executable regular file.
   14932 as_fn_executable_p ()
   14933 {
   14934   test -f "$1" && test -x "$1"
   14935 } # as_fn_executable_p
   14936 as_test_x='test -x'
   14937 as_executable_p=as_fn_executable_p
   14938 
   14939 # Sed expression to map a string onto a valid CPP name.
   14940 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14941 
   14942 # Sed expression to map a string onto a valid variable name.
   14943 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14944 
   14945 
   14946 exec 6>&1
   14947 ## ----------------------------------- ##
   14948 ## Main body of $CONFIG_STATUS script. ##
   14949 ## ----------------------------------- ##
   14950 _ASEOF
   14951 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14952 
   14953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14954 # Save the log message, to keep $0 and so on meaningful, and to
   14955 # report actual input values of CONFIG_FILES etc. instead of their
   14956 # values after options handling.
   14957 ac_log="
   14958 This file was extended by package-unused $as_me version-unused, which was
   14959 generated by GNU Autoconf 2.69.  Invocation command line was
   14960 
   14961   CONFIG_FILES    = $CONFIG_FILES
   14962   CONFIG_HEADERS  = $CONFIG_HEADERS
   14963   CONFIG_LINKS    = $CONFIG_LINKS
   14964   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14965   $ $0 $@
   14966 
   14967 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14968 "
   14969 
   14970 _ACEOF
   14971 
   14972 case $ac_config_files in *"
   14973 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14974 esac
   14975 
   14976 case $ac_config_headers in *"
   14977 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   14978 esac
   14979 
   14980 
   14981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14982 # Files that config.status was made for.
   14983 config_files="$ac_config_files"
   14984 config_headers="$ac_config_headers"
   14985 config_commands="$ac_config_commands"
   14986 
   14987 _ACEOF
   14988 
   14989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14990 ac_cs_usage="\
   14991 \`$as_me' instantiates files and other configuration actions
   14992 from templates according to the current configuration.  Unless the files
   14993 and actions are specified as TAGs, all are instantiated by default.
   14994 
   14995 Usage: $0 [OPTION]... [TAG]...
   14996 
   14997   -h, --help       print this help, then exit
   14998   -V, --version    print version number and configuration settings, then exit
   14999       --config     print configuration, then exit
   15000   -q, --quiet, --silent
   15001                    do not print progress messages
   15002   -d, --debug      don't remove temporary files
   15003       --recheck    update $as_me by reconfiguring in the same conditions
   15004       --file=FILE[:TEMPLATE]
   15005                    instantiate the configuration file FILE
   15006       --header=FILE[:TEMPLATE]
   15007                    instantiate the configuration header FILE
   15008 
   15009 Configuration files:
   15010 $config_files
   15011 
   15012 Configuration headers:
   15013 $config_headers
   15014 
   15015 Configuration commands:
   15016 $config_commands
   15017 
   15018 Report bugs to the package provider."
   15019 
   15020 _ACEOF
   15021 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15022 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   15023 ac_cs_version="\\
   15024 package-unused config.status version-unused
   15025 configured by $0, generated by GNU Autoconf 2.69,
   15026   with options \\"\$ac_cs_config\\"
   15027 
   15028 Copyright (C) 2012 Free Software Foundation, Inc.
   15029 This config.status script is free software; the Free Software Foundation
   15030 gives unlimited permission to copy, distribute and modify it."
   15031 
   15032 ac_pwd='$ac_pwd'
   15033 srcdir='$srcdir'
   15034 INSTALL='$INSTALL'
   15035 MKDIR_P='$MKDIR_P'
   15036 AWK='$AWK'
   15037 test -n "\$AWK" || AWK=awk
   15038 _ACEOF
   15039 
   15040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15041 # The default lists apply if the user does not specify any file.
   15042 ac_need_defaults=:
   15043 while test $# != 0
   15044 do
   15045   case $1 in
   15046   --*=?*)
   15047     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15048     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   15049     ac_shift=:
   15050     ;;
   15051   --*=)
   15052     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   15053     ac_optarg=
   15054     ac_shift=:
   15055     ;;
   15056   *)
   15057     ac_option=$1
   15058     ac_optarg=$2
   15059     ac_shift=shift
   15060     ;;
   15061   esac
   15062 
   15063   case $ac_option in
   15064   # Handling of the options.
   15065   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   15066     ac_cs_recheck=: ;;
   15067   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   15068     $as_echo "$ac_cs_version"; exit ;;
   15069   --config | --confi | --conf | --con | --co | --c )
   15070     $as_echo "$ac_cs_config"; exit ;;
   15071   --debug | --debu | --deb | --de | --d | -d )
   15072     debug=: ;;
   15073   --file | --fil | --fi | --f )
   15074     $ac_shift
   15075     case $ac_optarg in
   15076     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15077     '') as_fn_error $? "missing file argument" ;;
   15078     esac
   15079     as_fn_append CONFIG_FILES " '$ac_optarg'"
   15080     ac_need_defaults=false;;
   15081   --header | --heade | --head | --hea )
   15082     $ac_shift
   15083     case $ac_optarg in
   15084     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   15085     esac
   15086     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   15087     ac_need_defaults=false;;
   15088   --he | --h)
   15089     # Conflict between --help and --header
   15090     as_fn_error $? "ambiguous option: \`$1'
   15091 Try \`$0 --help' for more information.";;
   15092   --help | --hel | -h )
   15093     $as_echo "$ac_cs_usage"; exit ;;
   15094   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   15095   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   15096     ac_cs_silent=: ;;
   15097 
   15098   # This is an error.
   15099   -*) as_fn_error $? "unrecognized option: \`$1'
   15100 Try \`$0 --help' for more information." ;;
   15101 
   15102   *) as_fn_append ac_config_targets " $1"
   15103      ac_need_defaults=false ;;
   15104 
   15105   esac
   15106   shift
   15107 done
   15108 
   15109 ac_configure_extra_args=
   15110 
   15111 if $ac_cs_silent; then
   15112   exec 6>/dev/null
   15113   ac_configure_extra_args="$ac_configure_extra_args --silent"
   15114 fi
   15115 
   15116 _ACEOF
   15117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15118 if \$ac_cs_recheck; then
   15119   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   15120   shift
   15121   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   15122   CONFIG_SHELL='$SHELL'
   15123   export CONFIG_SHELL
   15124   exec "\$@"
   15125 fi
   15126 
   15127 _ACEOF
   15128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15129 exec 5>>config.log
   15130 {
   15131   echo
   15132   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   15133 ## Running $as_me. ##
   15134 _ASBOX
   15135   $as_echo "$ac_log"
   15136 } >&5
   15137 
   15138 _ACEOF
   15139 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15140 #
   15141 # INIT-COMMANDS
   15142 #
   15143 
   15144 srcdir="$srcdir"
   15145 host="$host"
   15146 target="$target"
   15147 with_multisubdir="$with_multisubdir"
   15148 with_multisrctop="$with_multisrctop"
   15149 with_target_subdir="$with_target_subdir"
   15150 ac_configure_args="${multilib_arg} ${ac_configure_args}"
   15151 multi_basedir="$multi_basedir"
   15152 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   15153 CC="$CC"
   15154 CXX="$CXX"
   15155 GFORTRAN="$GFORTRAN"
   15156 GDC="$GDC"
   15157 
   15158 
   15159 # The HP-UX ksh and POSIX shell print the target directory to stdout
   15160 # if CDPATH is set.
   15161 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15162 
   15163 sed_quote_subst='$sed_quote_subst'
   15164 double_quote_subst='$double_quote_subst'
   15165 delay_variable_subst='$delay_variable_subst'
   15166 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   15167 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   15168 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   15169 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   15170 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   15171 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   15172 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   15173 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   15174 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   15175 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   15176 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   15177 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   15178 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   15179 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   15180 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   15181 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   15182 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   15183 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   15184 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   15185 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   15186 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   15187 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   15188 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   15189 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   15190 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   15191 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   15192 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   15193 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   15194 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   15195 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   15196 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   15197 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   15198 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   15199 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   15200 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   15201 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   15202 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   15203 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15204 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15205 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   15206 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   15207 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   15208 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   15209 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   15210 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   15211 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   15212 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   15213 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   15214 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"`'
   15215 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   15216 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   15217 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   15218 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   15219 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   15220 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   15221 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   15222 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   15223 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   15224 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   15225 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   15226 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   15227 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   15228 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   15229 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   15230 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15231 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   15232 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   15233 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   15234 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   15235 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   15236 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   15237 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   15238 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   15239 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15240 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   15241 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   15242 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   15243 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15244 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   15245 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   15246 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   15247 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   15248 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   15249 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   15250 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   15251 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15252 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   15253 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   15254 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   15255 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   15256 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   15257 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   15258 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   15259 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   15260 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   15261 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   15262 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   15263 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   15264 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   15265 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   15266 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   15267 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   15268 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   15269 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   15270 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   15271 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   15272 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   15273 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   15274 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   15275 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   15276 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   15277 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   15278 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   15279 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   15280 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   15281 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   15282 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   15283 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   15284 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   15285 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   15286 
   15287 LTCC='$LTCC'
   15288 LTCFLAGS='$LTCFLAGS'
   15289 compiler='$compiler_DEFAULT'
   15290 
   15291 # A function that is used when there is no print builtin or printf.
   15292 func_fallback_echo ()
   15293 {
   15294   eval 'cat <<_LTECHO_EOF
   15295 \$1
   15296 _LTECHO_EOF'
   15297 }
   15298 
   15299 # Quote evaled strings.
   15300 for var in SHELL \
   15301 ECHO \
   15302 SED \
   15303 GREP \
   15304 EGREP \
   15305 FGREP \
   15306 LD \
   15307 NM \
   15308 LN_S \
   15309 lt_SP2NL \
   15310 lt_NL2SP \
   15311 reload_flag \
   15312 OBJDUMP \
   15313 deplibs_check_method \
   15314 file_magic_cmd \
   15315 AR \
   15316 AR_FLAGS \
   15317 STRIP \
   15318 RANLIB \
   15319 CC \
   15320 CFLAGS \
   15321 compiler \
   15322 lt_cv_sys_global_symbol_pipe \
   15323 lt_cv_sys_global_symbol_to_cdecl \
   15324 lt_cv_sys_global_symbol_to_c_name_address \
   15325 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   15326 lt_prog_compiler_no_builtin_flag \
   15327 lt_prog_compiler_wl \
   15328 lt_prog_compiler_pic \
   15329 lt_prog_compiler_static \
   15330 lt_cv_prog_compiler_c_o \
   15331 need_locks \
   15332 DSYMUTIL \
   15333 NMEDIT \
   15334 LIPO \
   15335 OTOOL \
   15336 OTOOL64 \
   15337 shrext_cmds \
   15338 export_dynamic_flag_spec \
   15339 whole_archive_flag_spec \
   15340 compiler_needs_object \
   15341 with_gnu_ld \
   15342 allow_undefined_flag \
   15343 no_undefined_flag \
   15344 hardcode_libdir_flag_spec \
   15345 hardcode_libdir_flag_spec_ld \
   15346 hardcode_libdir_separator \
   15347 fix_srcfile_path \
   15348 exclude_expsyms \
   15349 include_expsyms \
   15350 file_list_spec \
   15351 variables_saved_for_relink \
   15352 libname_spec \
   15353 library_names_spec \
   15354 soname_spec \
   15355 install_override_mode \
   15356 finish_eval \
   15357 old_striplib \
   15358 striplib; do
   15359     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15360     *[\\\\\\\`\\"\\\$]*)
   15361       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   15362       ;;
   15363     *)
   15364       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15365       ;;
   15366     esac
   15367 done
   15368 
   15369 # Double-quote double-evaled strings.
   15370 for var in reload_cmds \
   15371 old_postinstall_cmds \
   15372 old_postuninstall_cmds \
   15373 old_archive_cmds \
   15374 extract_expsyms_cmds \
   15375 old_archive_from_new_cmds \
   15376 old_archive_from_expsyms_cmds \
   15377 archive_cmds \
   15378 archive_expsym_cmds \
   15379 module_cmds \
   15380 module_expsym_cmds \
   15381 export_symbols_cmds \
   15382 prelink_cmds \
   15383 postinstall_cmds \
   15384 postuninstall_cmds \
   15385 finish_cmds \
   15386 sys_lib_search_path_spec \
   15387 sys_lib_dlsearch_path_spec; do
   15388     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   15389     *[\\\\\\\`\\"\\\$]*)
   15390       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   15391       ;;
   15392     *)
   15393       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   15394       ;;
   15395     esac
   15396 done
   15397 
   15398 ac_aux_dir='$ac_aux_dir'
   15399 xsi_shell='$xsi_shell'
   15400 lt_shell_append='$lt_shell_append'
   15401 
   15402 # See if we are running on zsh, and set the options which allow our
   15403 # commands through without removal of \ escapes INIT.
   15404 if test -n "\${ZSH_VERSION+set}" ; then
   15405    setopt NO_GLOB_SUBST
   15406 fi
   15407 
   15408 
   15409     PACKAGE='$PACKAGE'
   15410     VERSION='$VERSION'
   15411     TIMESTAMP='$TIMESTAMP'
   15412     RM='$RM'
   15413     ofile='$ofile'
   15414 
   15415 
   15416 
   15417 
   15418 GCC="$GCC"
   15419 CC="$CC"
   15420 acx_cv_header_stdint="$acx_cv_header_stdint"
   15421 acx_cv_type_int8_t="$acx_cv_type_int8_t"
   15422 acx_cv_type_int16_t="$acx_cv_type_int16_t"
   15423 acx_cv_type_int32_t="$acx_cv_type_int32_t"
   15424 acx_cv_type_int64_t="$acx_cv_type_int64_t"
   15425 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
   15426 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
   15427 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
   15428 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   15429 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   15430 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
   15431 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   15432 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   15433 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
   15434 
   15435 
   15436 # Variables needed in config.status (file generation) which aren't already
   15437 # passed by autoconf.
   15438 SUBDIRS="$SUBDIRS"
   15439 
   15440 
   15441 _ACEOF
   15442 
   15443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15444 
   15445 # Handling of arguments.
   15446 for ac_config_target in $ac_config_targets
   15447 do
   15448   case $ac_config_target in
   15449     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   15450     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   15451     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   15452     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
   15453     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   15454     "backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES backtrace-supported.h" ;;
   15455     "install-debuginfo-for-buildid.sh") CONFIG_FILES="$CONFIG_FILES install-debuginfo-for-buildid.sh" ;;
   15456     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   15457 
   15458   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   15459   esac
   15460 done
   15461 
   15462 
   15463 # If the user did not use the arguments to specify the items to instantiate,
   15464 # then the envvar interface is used.  Set only those that are not.
   15465 # We use the long form for the default assignment because of an extremely
   15466 # bizarre bug on SunOS 4.1.3.
   15467 if $ac_need_defaults; then
   15468   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   15469   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   15470   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   15471 fi
   15472 
   15473 # Have a temporary directory for convenience.  Make it in the build tree
   15474 # simply because there is no reason against having it here, and in addition,
   15475 # creating and moving files from /tmp can sometimes cause problems.
   15476 # Hook for its removal unless debugging.
   15477 # Note that there is a small window in which the directory will not be cleaned:
   15478 # after its creation but before its name has been assigned to `$tmp'.
   15479 $debug ||
   15480 {
   15481   tmp= ac_tmp=
   15482   trap 'exit_status=$?
   15483   : "${ac_tmp:=$tmp}"
   15484   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   15485 ' 0
   15486   trap 'as_fn_exit 1' 1 2 13 15
   15487 }
   15488 # Create a (secure) tmp directory for tmp files.
   15489 
   15490 {
   15491   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   15492   test -d "$tmp"
   15493 }  ||
   15494 {
   15495   tmp=./conf$$-$RANDOM
   15496   (umask 077 && mkdir "$tmp")
   15497 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   15498 ac_tmp=$tmp
   15499 
   15500 # Set up the scripts for CONFIG_FILES section.
   15501 # No need to generate them if there are no CONFIG_FILES.
   15502 # This happens for instance with `./config.status config.h'.
   15503 if test -n "$CONFIG_FILES"; then
   15504 
   15505 
   15506 ac_cr=`echo X | tr X '\015'`
   15507 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15508 # But we know of no other shell where ac_cr would be empty at this
   15509 # point, so we can use a bashism as a fallback.
   15510 if test "x$ac_cr" = x; then
   15511   eval ac_cr=\$\'\\r\'
   15512 fi
   15513 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15514 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15515   ac_cs_awk_cr='\\r'
   15516 else
   15517   ac_cs_awk_cr=$ac_cr
   15518 fi
   15519 
   15520 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   15521 _ACEOF
   15522 
   15523 
   15524 {
   15525   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15526   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15527   echo "_ACEOF"
   15528 } >conf$$subs.sh ||
   15529   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15530 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15531 ac_delim='%!_!# '
   15532 for ac_last_try in false false false false false :; do
   15533   . ./conf$$subs.sh ||
   15534     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15535 
   15536   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15537   if test $ac_delim_n = $ac_delim_num; then
   15538     break
   15539   elif $ac_last_try; then
   15540     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15541   else
   15542     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15543   fi
   15544 done
   15545 rm -f conf$$subs.sh
   15546 
   15547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15548 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   15549 _ACEOF
   15550 sed -n '
   15551 h
   15552 s/^/S["/; s/!.*/"]=/
   15553 p
   15554 g
   15555 s/^[^!]*!//
   15556 :repl
   15557 t repl
   15558 s/'"$ac_delim"'$//
   15559 t delim
   15560 :nl
   15561 h
   15562 s/\(.\{148\}\)..*/\1/
   15563 t more1
   15564 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15565 p
   15566 n
   15567 b repl
   15568 :more1
   15569 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15570 p
   15571 g
   15572 s/.\{148\}//
   15573 t nl
   15574 :delim
   15575 h
   15576 s/\(.\{148\}\)..*/\1/
   15577 t more2
   15578 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15579 p
   15580 b
   15581 :more2
   15582 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15583 p
   15584 g
   15585 s/.\{148\}//
   15586 t delim
   15587 ' <conf$$subs.awk | sed '
   15588 /^[^""]/{
   15589   N
   15590   s/\n//
   15591 }
   15592 ' >>$CONFIG_STATUS || ac_write_fail=1
   15593 rm -f conf$$subs.awk
   15594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15595 _ACAWK
   15596 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   15597   for (key in S) S_is_set[key] = 1
   15598   FS = ""
   15599 
   15600 }
   15601 {
   15602   line = $ 0
   15603   nfields = split(line, field, "@")
   15604   substed = 0
   15605   len = length(field[1])
   15606   for (i = 2; i < nfields; i++) {
   15607     key = field[i]
   15608     keylen = length(key)
   15609     if (S_is_set[key]) {
   15610       value = S[key]
   15611       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15612       len += length(value) + length(field[++i])
   15613       substed = 1
   15614     } else
   15615       len += 1 + keylen
   15616   }
   15617 
   15618   print line
   15619 }
   15620 
   15621 _ACAWK
   15622 _ACEOF
   15623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15624 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15625   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15626 else
   15627   cat
   15628 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   15629   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15630 _ACEOF
   15631 
   15632 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15633 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15634 # trailing colons and then remove the whole line if VPATH becomes empty
   15635 # (actually we leave an empty line to preserve line numbers).
   15636 if test "x$srcdir" = x.; then
   15637   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15638 h
   15639 s///
   15640 s/^/:/
   15641 s/[	 ]*$/:/
   15642 s/:\$(srcdir):/:/g
   15643 s/:\${srcdir}:/:/g
   15644 s/:@srcdir@:/:/g
   15645 s/^:*//
   15646 s/:*$//
   15647 x
   15648 s/\(=[	 ]*\).*/\1/
   15649 G
   15650 s/\n//
   15651 s/^[^=]*=[	 ]*$//
   15652 }'
   15653 fi
   15654 
   15655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15656 fi # test -n "$CONFIG_FILES"
   15657 
   15658 # Set up the scripts for CONFIG_HEADERS section.
   15659 # No need to generate them if there are no CONFIG_HEADERS.
   15660 # This happens for instance with `./config.status Makefile'.
   15661 if test -n "$CONFIG_HEADERS"; then
   15662 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   15663 BEGIN {
   15664 _ACEOF
   15665 
   15666 # Transform confdefs.h into an awk script `defines.awk', embedded as
   15667 # here-document in config.status, that substitutes the proper values into
   15668 # config.h.in to produce config.h.
   15669 
   15670 # Create a delimiter string that does not exist in confdefs.h, to ease
   15671 # handling of long lines.
   15672 ac_delim='%!_!# '
   15673 for ac_last_try in false false :; do
   15674   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   15675   if test -z "$ac_tt"; then
   15676     break
   15677   elif $ac_last_try; then
   15678     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   15679   else
   15680     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15681   fi
   15682 done
   15683 
   15684 # For the awk script, D is an array of macro values keyed by name,
   15685 # likewise P contains macro parameters if any.  Preserve backslash
   15686 # newline sequences.
   15687 
   15688 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   15689 sed -n '
   15690 s/.\{148\}/&'"$ac_delim"'/g
   15691 t rset
   15692 :rset
   15693 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   15694 t def
   15695 d
   15696 :def
   15697 s/\\$//
   15698 t bsnl
   15699 s/["\\]/\\&/g
   15700 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15701 D["\1"]=" \3"/p
   15702 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   15703 d
   15704 :bsnl
   15705 s/["\\]/\\&/g
   15706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   15707 D["\1"]=" \3\\\\\\n"\\/p
   15708 t cont
   15709 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   15710 t cont
   15711 d
   15712 :cont
   15713 n
   15714 s/.\{148\}/&'"$ac_delim"'/g
   15715 t clear
   15716 :clear
   15717 s/\\$//
   15718 t bsnlc
   15719 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   15720 d
   15721 :bsnlc
   15722 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   15723 b cont
   15724 ' <confdefs.h | sed '
   15725 s/'"$ac_delim"'/"\\\
   15726 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   15727 
   15728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15729   for (key in D) D_is_set[key] = 1
   15730   FS = ""
   15731 }
   15732 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   15733   line = \$ 0
   15734   split(line, arg, " ")
   15735   if (arg[1] == "#") {
   15736     defundef = arg[2]
   15737     mac1 = arg[3]
   15738   } else {
   15739     defundef = substr(arg[1], 2)
   15740     mac1 = arg[2]
   15741   }
   15742   split(mac1, mac2, "(") #)
   15743   macro = mac2[1]
   15744   prefix = substr(line, 1, index(line, defundef) - 1)
   15745   if (D_is_set[macro]) {
   15746     # Preserve the white space surrounding the "#".
   15747     print prefix "define", macro P[macro] D[macro]
   15748     next
   15749   } else {
   15750     # Replace #undef with comments.  This is necessary, for example,
   15751     # in the case of _POSIX_SOURCE, which is predefined and required
   15752     # on some systems where configure will not decide to define it.
   15753     if (defundef == "undef") {
   15754       print "/*", prefix defundef, macro, "*/"
   15755       next
   15756     }
   15757   }
   15758 }
   15759 { print }
   15760 _ACAWK
   15761 _ACEOF
   15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15763   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   15764 fi # test -n "$CONFIG_HEADERS"
   15765 
   15766 
   15767 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   15768 shift
   15769 for ac_tag
   15770 do
   15771   case $ac_tag in
   15772   :[FHLC]) ac_mode=$ac_tag; continue;;
   15773   esac
   15774   case $ac_mode$ac_tag in
   15775   :[FHL]*:*);;
   15776   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   15777   :[FH]-) ac_tag=-:-;;
   15778   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15779   esac
   15780   ac_save_IFS=$IFS
   15781   IFS=:
   15782   set x $ac_tag
   15783   IFS=$ac_save_IFS
   15784   shift
   15785   ac_file=$1
   15786   shift
   15787 
   15788   case $ac_mode in
   15789   :L) ac_source=$1;;
   15790   :[FH])
   15791     ac_file_inputs=
   15792     for ac_f
   15793     do
   15794       case $ac_f in
   15795       -) ac_f="$ac_tmp/stdin";;
   15796       *) # Look for the file first in the build tree, then in the source tree
   15797 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15798 	 # because $ac_f cannot contain `:'.
   15799 	 test -f "$ac_f" ||
   15800 	   case $ac_f in
   15801 	   [\\/$]*) false;;
   15802 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15803 	   esac ||
   15804 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   15805       esac
   15806       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15807       as_fn_append ac_file_inputs " '$ac_f'"
   15808     done
   15809 
   15810     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15811     # use $as_me), people would be surprised to read:
   15812     #    /* config.h.  Generated by config.status.  */
   15813     configure_input='Generated from '`
   15814 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15815 	`' by configure.'
   15816     if test x"$ac_file" != x-; then
   15817       configure_input="$ac_file.  $configure_input"
   15818       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15819 $as_echo "$as_me: creating $ac_file" >&6;}
   15820     fi
   15821     # Neutralize special characters interpreted by sed in replacement strings.
   15822     case $configure_input in #(
   15823     *\&* | *\|* | *\\* )
   15824        ac_sed_conf_input=`$as_echo "$configure_input" |
   15825        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15826     *) ac_sed_conf_input=$configure_input;;
   15827     esac
   15828 
   15829     case $ac_tag in
   15830     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   15831       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   15832     esac
   15833     ;;
   15834   esac
   15835 
   15836   ac_dir=`$as_dirname -- "$ac_file" ||
   15837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15838 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15839 	 X"$ac_file" : 'X\(//\)$' \| \
   15840 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15841 $as_echo X"$ac_file" |
   15842     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15843 	    s//\1/
   15844 	    q
   15845 	  }
   15846 	  /^X\(\/\/\)[^/].*/{
   15847 	    s//\1/
   15848 	    q
   15849 	  }
   15850 	  /^X\(\/\/\)$/{
   15851 	    s//\1/
   15852 	    q
   15853 	  }
   15854 	  /^X\(\/\).*/{
   15855 	    s//\1/
   15856 	    q
   15857 	  }
   15858 	  s/.*/./; q'`
   15859   as_dir="$ac_dir"; as_fn_mkdir_p
   15860   ac_builddir=.
   15861 
   15862 case "$ac_dir" in
   15863 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15864 *)
   15865   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15866   # A ".." for each directory in $ac_dir_suffix.
   15867   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15868   case $ac_top_builddir_sub in
   15869   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15870   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15871   esac ;;
   15872 esac
   15873 ac_abs_top_builddir=$ac_pwd
   15874 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15875 # for backward compatibility:
   15876 ac_top_builddir=$ac_top_build_prefix
   15877 
   15878 case $srcdir in
   15879   .)  # We are building in place.
   15880     ac_srcdir=.
   15881     ac_top_srcdir=$ac_top_builddir_sub
   15882     ac_abs_top_srcdir=$ac_pwd ;;
   15883   [\\/]* | ?:[\\/]* )  # Absolute name.
   15884     ac_srcdir=$srcdir$ac_dir_suffix;
   15885     ac_top_srcdir=$srcdir
   15886     ac_abs_top_srcdir=$srcdir ;;
   15887   *) # Relative name.
   15888     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15889     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15890     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15891 esac
   15892 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15893 
   15894 
   15895   case $ac_mode in
   15896   :F)
   15897   #
   15898   # CONFIG_FILE
   15899   #
   15900 
   15901   case $INSTALL in
   15902   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15903   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15904   esac
   15905   ac_MKDIR_P=$MKDIR_P
   15906   case $MKDIR_P in
   15907   [\\/$]* | ?:[\\/]* ) ;;
   15908   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15909   esac
   15910 _ACEOF
   15911 
   15912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15913 # If the template does not know about datarootdir, expand it.
   15914 # FIXME: This hack should be removed a few years after 2.60.
   15915 ac_datarootdir_hack=; ac_datarootdir_seen=
   15916 ac_sed_dataroot='
   15917 /datarootdir/ {
   15918   p
   15919   q
   15920 }
   15921 /@datadir@/p
   15922 /@docdir@/p
   15923 /@infodir@/p
   15924 /@localedir@/p
   15925 /@mandir@/p'
   15926 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15927 *datarootdir*) ac_datarootdir_seen=yes;;
   15928 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15929   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15930 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15931 _ACEOF
   15932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15933   ac_datarootdir_hack='
   15934   s&@datadir@&$datadir&g
   15935   s&@docdir@&$docdir&g
   15936   s&@infodir@&$infodir&g
   15937   s&@localedir@&$localedir&g
   15938   s&@mandir@&$mandir&g
   15939   s&\\\${datarootdir}&$datarootdir&g' ;;
   15940 esac
   15941 _ACEOF
   15942 
   15943 # Neutralize VPATH when `$srcdir' = `.'.
   15944 # Shell code in configure.ac might set extrasub.
   15945 # FIXME: do we really want to maintain this feature?
   15946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15947 ac_sed_extra="$ac_vpsub
   15948 $extrasub
   15949 _ACEOF
   15950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15951 :t
   15952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15953 s|@configure_input@|$ac_sed_conf_input|;t t
   15954 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15955 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15956 s&@srcdir@&$ac_srcdir&;t t
   15957 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15958 s&@top_srcdir@&$ac_top_srcdir&;t t
   15959 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15960 s&@builddir@&$ac_builddir&;t t
   15961 s&@abs_builddir@&$ac_abs_builddir&;t t
   15962 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15963 s&@INSTALL@&$ac_INSTALL&;t t
   15964 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15965 $ac_datarootdir_hack
   15966 "
   15967 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   15968   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15969 
   15970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15971   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   15972   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   15973       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   15974   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15975 which seems to be undefined.  Please make sure it is defined" >&5
   15976 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15977 which seems to be undefined.  Please make sure it is defined" >&2;}
   15978 
   15979   rm -f "$ac_tmp/stdin"
   15980   case $ac_file in
   15981   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   15982   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   15983   esac \
   15984   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15985  ;;
   15986   :H)
   15987   #
   15988   # CONFIG_HEADER
   15989   #
   15990   if test x"$ac_file" != x-; then
   15991     {
   15992       $as_echo "/* $configure_input  */" \
   15993       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   15994     } >"$ac_tmp/config.h" \
   15995       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15996     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   15997       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   15998 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   15999     else
   16000       rm -f "$ac_file"
   16001       mv "$ac_tmp/config.h" "$ac_file" \
   16002 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   16003     fi
   16004   else
   16005     $as_echo "/* $configure_input  */" \
   16006       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   16007       || as_fn_error $? "could not create -" "$LINENO" 5
   16008   fi
   16009 # Compute "$ac_file"'s index in $config_headers.
   16010 _am_arg="$ac_file"
   16011 _am_stamp_count=1
   16012 for _am_header in $config_headers :; do
   16013   case $_am_header in
   16014     $_am_arg | $_am_arg:* )
   16015       break ;;
   16016     * )
   16017       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   16018   esac
   16019 done
   16020 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   16021 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16022 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   16023 	 X"$_am_arg" : 'X\(//\)$' \| \
   16024 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   16025 $as_echo X"$_am_arg" |
   16026     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16027 	    s//\1/
   16028 	    q
   16029 	  }
   16030 	  /^X\(\/\/\)[^/].*/{
   16031 	    s//\1/
   16032 	    q
   16033 	  }
   16034 	  /^X\(\/\/\)$/{
   16035 	    s//\1/
   16036 	    q
   16037 	  }
   16038 	  /^X\(\/\).*/{
   16039 	    s//\1/
   16040 	    q
   16041 	  }
   16042 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   16043  ;;
   16044 
   16045   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   16046 $as_echo "$as_me: executing $ac_file commands" >&6;}
   16047  ;;
   16048   esac
   16049 
   16050 
   16051   case $ac_file$ac_mode in
   16052     "default-1":C)
   16053 # Only add multilib support code if we just rebuilt the top-level
   16054 # Makefile.
   16055 case " $CONFIG_FILES " in
   16056  *" Makefile "*)
   16057    ac_file=Makefile . ${multi_basedir}/config-ml.in
   16058    ;;
   16059 esac ;;
   16060     "libtool":C)
   16061 
   16062     # See if we are running on zsh, and set the options which allow our
   16063     # commands through without removal of \ escapes.
   16064     if test -n "${ZSH_VERSION+set}" ; then
   16065       setopt NO_GLOB_SUBST
   16066     fi
   16067 
   16068     cfgfile="${ofile}T"
   16069     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   16070     $RM "$cfgfile"
   16071 
   16072     cat <<_LT_EOF >> "$cfgfile"
   16073 #! $SHELL
   16074 
   16075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   16076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   16077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   16079 #
   16080 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   16081 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   16082 #   Written by Gordon Matzigkeit, 1996
   16083 #
   16084 #   This file is part of GNU Libtool.
   16085 #
   16086 # GNU Libtool is free software; you can redistribute it and/or
   16087 # modify it under the terms of the GNU General Public License as
   16088 # published by the Free Software Foundation; either version 2 of
   16089 # the License, or (at your option) any later version.
   16090 #
   16091 # As a special exception to the GNU General Public License,
   16092 # if you distribute this file as part of a program or library that
   16093 # is built using GNU Libtool, you may include this file under the
   16094 # same distribution terms that you use for the rest of that program.
   16095 #
   16096 # GNU Libtool is distributed in the hope that it will be useful,
   16097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   16098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16099 # GNU General Public License for more details.
   16100 #
   16101 # You should have received a copy of the GNU General Public License
   16102 # along with GNU Libtool; see the file COPYING.  If not, a copy
   16103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   16104 # obtained by writing to the Free Software Foundation, Inc.,
   16105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   16106 
   16107 
   16108 # The names of the tagged configurations supported by this script.
   16109 available_tags=""
   16110 
   16111 # ### BEGIN LIBTOOL CONFIG
   16112 
   16113 # Which release of libtool.m4 was used?
   16114 macro_version=$macro_version
   16115 macro_revision=$macro_revision
   16116 
   16117 # Whether or not to build shared libraries.
   16118 build_libtool_libs=$enable_shared
   16119 
   16120 # Whether or not to build static libraries.
   16121 build_old_libs=$enable_static
   16122 
   16123 # What type of objects to build.
   16124 pic_mode=$pic_mode
   16125 
   16126 # Whether or not to optimize for fast installation.
   16127 fast_install=$enable_fast_install
   16128 
   16129 # Shell to use when invoking shell scripts.
   16130 SHELL=$lt_SHELL
   16131 
   16132 # An echo program that protects backslashes.
   16133 ECHO=$lt_ECHO
   16134 
   16135 # The host system.
   16136 host_alias=$host_alias
   16137 host=$host
   16138 host_os=$host_os
   16139 
   16140 # The build system.
   16141 build_alias=$build_alias
   16142 build=$build
   16143 build_os=$build_os
   16144 
   16145 # A sed program that does not truncate output.
   16146 SED=$lt_SED
   16147 
   16148 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   16149 Xsed="\$SED -e 1s/^X//"
   16150 
   16151 # A grep program that handles long lines.
   16152 GREP=$lt_GREP
   16153 
   16154 # An ERE matcher.
   16155 EGREP=$lt_EGREP
   16156 
   16157 # A literal string matcher.
   16158 FGREP=$lt_FGREP
   16159 
   16160 # A BSD- or MS-compatible name lister.
   16161 NM=$lt_NM
   16162 
   16163 # Whether we need soft or hard links.
   16164 LN_S=$lt_LN_S
   16165 
   16166 # What is the maximum length of a command?
   16167 max_cmd_len=$max_cmd_len
   16168 
   16169 # Object file suffix (normally "o").
   16170 objext=$ac_objext
   16171 
   16172 # Executable file suffix (normally "").
   16173 exeext=$exeext
   16174 
   16175 # whether the shell understands "unset".
   16176 lt_unset=$lt_unset
   16177 
   16178 # turn spaces into newlines.
   16179 SP2NL=$lt_lt_SP2NL
   16180 
   16181 # turn newlines into spaces.
   16182 NL2SP=$lt_lt_NL2SP
   16183 
   16184 # An object symbol dumper.
   16185 OBJDUMP=$lt_OBJDUMP
   16186 
   16187 # Method to check whether dependent libraries are shared objects.
   16188 deplibs_check_method=$lt_deplibs_check_method
   16189 
   16190 # Command to use when deplibs_check_method == "file_magic".
   16191 file_magic_cmd=$lt_file_magic_cmd
   16192 
   16193 # The archiver.
   16194 AR=$lt_AR
   16195 AR_FLAGS=$lt_AR_FLAGS
   16196 
   16197 # A symbol stripping program.
   16198 STRIP=$lt_STRIP
   16199 
   16200 # Commands used to install an old-style archive.
   16201 RANLIB=$lt_RANLIB
   16202 old_postinstall_cmds=$lt_old_postinstall_cmds
   16203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16204 
   16205 # Whether to use a lock for old archive extraction.
   16206 lock_old_archive_extraction=$lock_old_archive_extraction
   16207 
   16208 # A C compiler.
   16209 LTCC=$lt_CC
   16210 
   16211 # LTCC compiler flags.
   16212 LTCFLAGS=$lt_CFLAGS
   16213 
   16214 # Take the output of nm and produce a listing of raw symbols and C names.
   16215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16216 
   16217 # Transform the output of nm in a proper C declaration.
   16218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16219 
   16220 # Transform the output of nm in a C name address pair.
   16221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16222 
   16223 # Transform the output of nm in a C name address pair when lib prefix is needed.
   16224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   16225 
   16226 # The name of the directory that contains temporary libtool files.
   16227 objdir=$objdir
   16228 
   16229 # Used to examine libraries when file_magic_cmd begins with "file".
   16230 MAGIC_CMD=$MAGIC_CMD
   16231 
   16232 # Must we lock files when doing compilation?
   16233 need_locks=$lt_need_locks
   16234 
   16235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   16236 DSYMUTIL=$lt_DSYMUTIL
   16237 
   16238 # Tool to change global to local symbols on Mac OS X.
   16239 NMEDIT=$lt_NMEDIT
   16240 
   16241 # Tool to manipulate fat objects and archives on Mac OS X.
   16242 LIPO=$lt_LIPO
   16243 
   16244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   16245 OTOOL=$lt_OTOOL
   16246 
   16247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   16248 OTOOL64=$lt_OTOOL64
   16249 
   16250 # Old archive suffix (normally "a").
   16251 libext=$libext
   16252 
   16253 # Shared library suffix (normally ".so").
   16254 shrext_cmds=$lt_shrext_cmds
   16255 
   16256 # The commands to extract the exported symbol list from a shared archive.
   16257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16258 
   16259 # Variables whose values should be saved in libtool wrapper scripts and
   16260 # restored at link time.
   16261 variables_saved_for_relink=$lt_variables_saved_for_relink
   16262 
   16263 # Do we need the "lib" prefix for modules?
   16264 need_lib_prefix=$need_lib_prefix
   16265 
   16266 # Do we need a version for libraries?
   16267 need_version=$need_version
   16268 
   16269 # Library versioning type.
   16270 version_type=$version_type
   16271 
   16272 # Shared library runtime path variable.
   16273 runpath_var=$runpath_var
   16274 
   16275 # Shared library path variable.
   16276 shlibpath_var=$shlibpath_var
   16277 
   16278 # Is shlibpath searched before the hard-coded library search path?
   16279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16280 
   16281 # Format of library name prefix.
   16282 libname_spec=$lt_libname_spec
   16283 
   16284 # List of archive names.  First name is the real one, the rest are links.
   16285 # The last name is the one that the linker finds with -lNAME
   16286 library_names_spec=$lt_library_names_spec
   16287 
   16288 # The coded name of the library, if different from the real name.
   16289 soname_spec=$lt_soname_spec
   16290 
   16291 # Permission mode override for installation of shared libraries.
   16292 install_override_mode=$lt_install_override_mode
   16293 
   16294 # Command to use after installation of a shared archive.
   16295 postinstall_cmds=$lt_postinstall_cmds
   16296 
   16297 # Command to use after uninstallation of a shared archive.
   16298 postuninstall_cmds=$lt_postuninstall_cmds
   16299 
   16300 # Commands used to finish a libtool library installation in a directory.
   16301 finish_cmds=$lt_finish_cmds
   16302 
   16303 # As "finish_cmds", except a single script fragment to be evaled but
   16304 # not shown.
   16305 finish_eval=$lt_finish_eval
   16306 
   16307 # Whether we should hardcode library paths into libraries.
   16308 hardcode_into_libs=$hardcode_into_libs
   16309 
   16310 # Compile-time system search path for libraries.
   16311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16312 
   16313 # Run-time system search path for libraries.
   16314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16315 
   16316 # Whether dlopen is supported.
   16317 dlopen_support=$enable_dlopen
   16318 
   16319 # Whether dlopen of programs is supported.
   16320 dlopen_self=$enable_dlopen_self
   16321 
   16322 # Whether dlopen of statically linked programs is supported.
   16323 dlopen_self_static=$enable_dlopen_self_static
   16324 
   16325 # Commands to strip libraries.
   16326 old_striplib=$lt_old_striplib
   16327 striplib=$lt_striplib
   16328 
   16329 
   16330 # The linker used to build libraries.
   16331 LD=$lt_LD
   16332 
   16333 # How to create reloadable object files.
   16334 reload_flag=$lt_reload_flag
   16335 reload_cmds=$lt_reload_cmds
   16336 
   16337 # Commands used to build an old-style archive.
   16338 old_archive_cmds=$lt_old_archive_cmds
   16339 
   16340 # A language specific compiler.
   16341 CC=$lt_compiler
   16342 
   16343 # Is the compiler the GNU compiler?
   16344 with_gcc=$GCC
   16345 
   16346 # Compiler flag to turn off builtin functions.
   16347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   16348 
   16349 # How to pass a linker flag through the compiler.
   16350 wl=$lt_lt_prog_compiler_wl
   16351 
   16352 # Additional compiler flags for building library objects.
   16353 pic_flag=$lt_lt_prog_compiler_pic
   16354 
   16355 # Compiler flag to prevent dynamic linking.
   16356 link_static_flag=$lt_lt_prog_compiler_static
   16357 
   16358 # Does compiler simultaneously support -c and -o options?
   16359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   16360 
   16361 # Whether or not to add -lc for building shared libraries.
   16362 build_libtool_need_lc=$archive_cmds_need_lc
   16363 
   16364 # Whether or not to disallow shared libs when runtime libs are static.
   16365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   16366 
   16367 # Compiler flag to allow reflexive dlopens.
   16368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   16369 
   16370 # Compiler flag to generate shared objects directly from archives.
   16371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   16372 
   16373 # Whether the compiler copes with passing no objects directly.
   16374 compiler_needs_object=$lt_compiler_needs_object
   16375 
   16376 # Create an old-style archive from a shared archive.
   16377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   16378 
   16379 # Create a temporary old-style archive to link instead of a shared archive.
   16380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   16381 
   16382 # Commands used to build a shared archive.
   16383 archive_cmds=$lt_archive_cmds
   16384 archive_expsym_cmds=$lt_archive_expsym_cmds
   16385 
   16386 # Commands used to build a loadable module if different from building
   16387 # a shared archive.
   16388 module_cmds=$lt_module_cmds
   16389 module_expsym_cmds=$lt_module_expsym_cmds
   16390 
   16391 # Whether we are building with GNU ld or not.
   16392 with_gnu_ld=$lt_with_gnu_ld
   16393 
   16394 # Flag that allows shared libraries with undefined symbols to be built.
   16395 allow_undefined_flag=$lt_allow_undefined_flag
   16396 
   16397 # Flag that enforces no undefined symbols.
   16398 no_undefined_flag=$lt_no_undefined_flag
   16399 
   16400 # Flag to hardcode \$libdir into a binary during linking.
   16401 # This must work even if \$libdir does not exist
   16402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   16403 
   16404 # If ld is used when linking, flag to hardcode \$libdir into a binary
   16405 # during linking.  This must work even if \$libdir does not exist.
   16406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   16407 
   16408 # Whether we need a single "-rpath" flag with a separated argument.
   16409 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   16410 
   16411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16412 # DIR into the resulting binary.
   16413 hardcode_direct=$hardcode_direct
   16414 
   16415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   16416 # DIR into the resulting binary and the resulting library dependency is
   16417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   16418 # library is relocated.
   16419 hardcode_direct_absolute=$hardcode_direct_absolute
   16420 
   16421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   16422 # into the resulting binary.
   16423 hardcode_minus_L=$hardcode_minus_L
   16424 
   16425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   16426 # into the resulting binary.
   16427 hardcode_shlibpath_var=$hardcode_shlibpath_var
   16428 
   16429 # Set to "yes" if building a shared library automatically hardcodes DIR
   16430 # into the library and all subsequent libraries and executables linked
   16431 # against it.
   16432 hardcode_automatic=$hardcode_automatic
   16433 
   16434 # Set to yes if linker adds runtime paths of dependent libraries
   16435 # to runtime path list.
   16436 inherit_rpath=$inherit_rpath
   16437 
   16438 # Whether libtool must link a program against all its dependency libraries.
   16439 link_all_deplibs=$link_all_deplibs
   16440 
   16441 # Fix the shell variable \$srcfile for the compiler.
   16442 fix_srcfile_path=$lt_fix_srcfile_path
   16443 
   16444 # Set to "yes" if exported symbols are required.
   16445 always_export_symbols=$always_export_symbols
   16446 
   16447 # The commands to list exported symbols.
   16448 export_symbols_cmds=$lt_export_symbols_cmds
   16449 
   16450 # Symbols that should not be listed in the preloaded symbols.
   16451 exclude_expsyms=$lt_exclude_expsyms
   16452 
   16453 # Symbols that must always be exported.
   16454 include_expsyms=$lt_include_expsyms
   16455 
   16456 # Commands necessary for linking programs (against libraries) with templates.
   16457 prelink_cmds=$lt_prelink_cmds
   16458 
   16459 # Specify filename containing input files.
   16460 file_list_spec=$lt_file_list_spec
   16461 
   16462 # How to hardcode a shared library path into an executable.
   16463 hardcode_action=$hardcode_action
   16464 
   16465 # ### END LIBTOOL CONFIG
   16466 
   16467 _LT_EOF
   16468 
   16469   case $host_os in
   16470   aix3*)
   16471     cat <<\_LT_EOF >> "$cfgfile"
   16472 # AIX sometimes has problems with the GCC collect2 program.  For some
   16473 # reason, if we set the COLLECT_NAMES environment variable, the problems
   16474 # vanish in a puff of smoke.
   16475 if test "X${COLLECT_NAMES+set}" != Xset; then
   16476   COLLECT_NAMES=
   16477   export COLLECT_NAMES
   16478 fi
   16479 _LT_EOF
   16480     ;;
   16481   esac
   16482 
   16483 
   16484 ltmain="$ac_aux_dir/ltmain.sh"
   16485 
   16486 
   16487   # We use sed instead of cat because bash on DJGPP gets confused if
   16488   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   16489   # text mode, it properly converts lines to CR/LF.  This bash problem
   16490   # is reportedly fixed, but why not run on old versions too?
   16491   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   16492     || (rm -f "$cfgfile"; exit 1)
   16493 
   16494   case $xsi_shell in
   16495   yes)
   16496     cat << \_LT_EOF >> "$cfgfile"
   16497 
   16498 # func_dirname file append nondir_replacement
   16499 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16500 # otherwise set result to NONDIR_REPLACEMENT.
   16501 func_dirname ()
   16502 {
   16503   case ${1} in
   16504     */*) func_dirname_result="${1%/*}${2}" ;;
   16505     *  ) func_dirname_result="${3}" ;;
   16506   esac
   16507 }
   16508 
   16509 # func_basename file
   16510 func_basename ()
   16511 {
   16512   func_basename_result="${1##*/}"
   16513 }
   16514 
   16515 # func_dirname_and_basename file append nondir_replacement
   16516 # perform func_basename and func_dirname in a single function
   16517 # call:
   16518 #   dirname:  Compute the dirname of FILE.  If nonempty,
   16519 #             add APPEND to the result, otherwise set result
   16520 #             to NONDIR_REPLACEMENT.
   16521 #             value returned in "$func_dirname_result"
   16522 #   basename: Compute filename of FILE.
   16523 #             value retuned in "$func_basename_result"
   16524 # Implementation must be kept synchronized with func_dirname
   16525 # and func_basename. For efficiency, we do not delegate to
   16526 # those functions but instead duplicate the functionality here.
   16527 func_dirname_and_basename ()
   16528 {
   16529   case ${1} in
   16530     */*) func_dirname_result="${1%/*}${2}" ;;
   16531     *  ) func_dirname_result="${3}" ;;
   16532   esac
   16533   func_basename_result="${1##*/}"
   16534 }
   16535 
   16536 # func_stripname prefix suffix name
   16537 # strip PREFIX and SUFFIX off of NAME.
   16538 # PREFIX and SUFFIX must not contain globbing or regex special
   16539 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16540 # dot (in which case that matches only a dot).
   16541 func_stripname ()
   16542 {
   16543   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   16544   # positional parameters, so assign one to ordinary parameter first.
   16545   func_stripname_result=${3}
   16546   func_stripname_result=${func_stripname_result#"${1}"}
   16547   func_stripname_result=${func_stripname_result%"${2}"}
   16548 }
   16549 
   16550 # func_opt_split
   16551 func_opt_split ()
   16552 {
   16553   func_opt_split_opt=${1%%=*}
   16554   func_opt_split_arg=${1#*=}
   16555 }
   16556 
   16557 # func_lo2o object
   16558 func_lo2o ()
   16559 {
   16560   case ${1} in
   16561     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   16562     *)    func_lo2o_result=${1} ;;
   16563   esac
   16564 }
   16565 
   16566 # func_xform libobj-or-source
   16567 func_xform ()
   16568 {
   16569   func_xform_result=${1%.*}.lo
   16570 }
   16571 
   16572 # func_arith arithmetic-term...
   16573 func_arith ()
   16574 {
   16575   func_arith_result=$(( $* ))
   16576 }
   16577 
   16578 # func_len string
   16579 # STRING may not start with a hyphen.
   16580 func_len ()
   16581 {
   16582   func_len_result=${#1}
   16583 }
   16584 
   16585 _LT_EOF
   16586     ;;
   16587   *) # Bourne compatible functions.
   16588     cat << \_LT_EOF >> "$cfgfile"
   16589 
   16590 # func_dirname file append nondir_replacement
   16591 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16592 # otherwise set result to NONDIR_REPLACEMENT.
   16593 func_dirname ()
   16594 {
   16595   # Extract subdirectory from the argument.
   16596   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   16597   if test "X$func_dirname_result" = "X${1}"; then
   16598     func_dirname_result="${3}"
   16599   else
   16600     func_dirname_result="$func_dirname_result${2}"
   16601   fi
   16602 }
   16603 
   16604 # func_basename file
   16605 func_basename ()
   16606 {
   16607   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   16608 }
   16609 
   16610 
   16611 # func_stripname prefix suffix name
   16612 # strip PREFIX and SUFFIX off of NAME.
   16613 # PREFIX and SUFFIX must not contain globbing or regex special
   16614 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16615 # dot (in which case that matches only a dot).
   16616 # func_strip_suffix prefix name
   16617 func_stripname ()
   16618 {
   16619   case ${2} in
   16620     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   16621     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   16622   esac
   16623 }
   16624 
   16625 # sed scripts:
   16626 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16627 my_sed_long_arg='1s/^-[^=]*=//'
   16628 
   16629 # func_opt_split
   16630 func_opt_split ()
   16631 {
   16632   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   16633   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   16634 }
   16635 
   16636 # func_lo2o object
   16637 func_lo2o ()
   16638 {
   16639   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   16640 }
   16641 
   16642 # func_xform libobj-or-source
   16643 func_xform ()
   16644 {
   16645   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   16646 }
   16647 
   16648 # func_arith arithmetic-term...
   16649 func_arith ()
   16650 {
   16651   func_arith_result=`expr "$@"`
   16652 }
   16653 
   16654 # func_len string
   16655 # STRING may not start with a hyphen.
   16656 func_len ()
   16657 {
   16658   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16659 }
   16660 
   16661 _LT_EOF
   16662 esac
   16663 
   16664 case $lt_shell_append in
   16665   yes)
   16666     cat << \_LT_EOF >> "$cfgfile"
   16667 
   16668 # func_append var value
   16669 # Append VALUE to the end of shell variable VAR.
   16670 func_append ()
   16671 {
   16672   eval "$1+=\$2"
   16673 }
   16674 _LT_EOF
   16675     ;;
   16676   *)
   16677     cat << \_LT_EOF >> "$cfgfile"
   16678 
   16679 # func_append var value
   16680 # Append VALUE to the end of shell variable VAR.
   16681 func_append ()
   16682 {
   16683   eval "$1=\$$1\$2"
   16684 }
   16685 
   16686 _LT_EOF
   16687     ;;
   16688   esac
   16689 
   16690 
   16691   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   16692     || (rm -f "$cfgfile"; exit 1)
   16693 
   16694   mv -f "$cfgfile" "$ofile" ||
   16695     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16696   chmod +x "$ofile"
   16697 
   16698  ;;
   16699     "gstdint.h":C)
   16700 if test "$GCC" = yes; then
   16701   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
   16702 else
   16703   echo "/* generated for $CC */" > tmp-stdint.h
   16704 fi
   16705 
   16706 sed 's/^ *//' >> tmp-stdint.h <<EOF
   16707 
   16708   #ifndef GCC_GENERATED_STDINT_H
   16709   #define GCC_GENERATED_STDINT_H 1
   16710 
   16711   #include <sys/types.h>
   16712 EOF
   16713 
   16714 if test "$acx_cv_header_stdint" != stdint.h; then
   16715   echo "#include <stddef.h>" >> tmp-stdint.h
   16716 fi
   16717 if test "$acx_cv_header_stdint" != stddef.h; then
   16718   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
   16719 fi
   16720 
   16721 sed 's/^ *//' >> tmp-stdint.h <<EOF
   16722   /* glibc uses these symbols as guards to prevent redefinitions.  */
   16723   #ifdef __int8_t_defined
   16724   #define _INT8_T
   16725   #define _INT16_T
   16726   #define _INT32_T
   16727   #endif
   16728   #ifdef __uint32_t_defined
   16729   #define _UINT32_T
   16730   #endif
   16731 
   16732 EOF
   16733 
   16734 # ----------------- done header, emit basic int types -------------
   16735 if test "$acx_cv_header_stdint" = stddef.h; then
   16736   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16737 
   16738     #ifndef _UINT8_T
   16739     #define _UINT8_T
   16740     #ifndef __uint8_t_defined
   16741     #define __uint8_t_defined
   16742     #ifndef uint8_t
   16743     typedef unsigned $acx_cv_type_int8_t uint8_t;
   16744     #endif
   16745     #endif
   16746     #endif
   16747 
   16748     #ifndef _UINT16_T
   16749     #define _UINT16_T
   16750     #ifndef __uint16_t_defined
   16751     #define __uint16_t_defined
   16752     #ifndef uint16_t
   16753     typedef unsigned $acx_cv_type_int16_t uint16_t;
   16754     #endif
   16755     #endif
   16756     #endif
   16757 
   16758     #ifndef _UINT32_T
   16759     #define _UINT32_T
   16760     #ifndef __uint32_t_defined
   16761     #define __uint32_t_defined
   16762     #ifndef uint32_t
   16763     typedef unsigned $acx_cv_type_int32_t uint32_t;
   16764     #endif
   16765     #endif
   16766     #endif
   16767 
   16768     #ifndef _INT8_T
   16769     #define _INT8_T
   16770     #ifndef __int8_t_defined
   16771     #define __int8_t_defined
   16772     #ifndef int8_t
   16773     typedef $acx_cv_type_int8_t int8_t;
   16774     #endif
   16775     #endif
   16776     #endif
   16777 
   16778     #ifndef _INT16_T
   16779     #define _INT16_T
   16780     #ifndef __int16_t_defined
   16781     #define __int16_t_defined
   16782     #ifndef int16_t
   16783     typedef $acx_cv_type_int16_t int16_t;
   16784     #endif
   16785     #endif
   16786     #endif
   16787 
   16788     #ifndef _INT32_T
   16789     #define _INT32_T
   16790     #ifndef __int32_t_defined
   16791     #define __int32_t_defined
   16792     #ifndef int32_t
   16793     typedef $acx_cv_type_int32_t int32_t;
   16794     #endif
   16795     #endif
   16796     #endif
   16797 EOF
   16798 elif test "$ac_cv_type_u_int32_t" = yes; then
   16799   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16800 
   16801     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
   16802     #ifndef _INT8_T
   16803     #define _INT8_T
   16804     #endif
   16805     #ifndef _INT16_T
   16806     #define _INT16_T
   16807     #endif
   16808     #ifndef _INT32_T
   16809     #define _INT32_T
   16810     #endif
   16811 
   16812     #ifndef _UINT8_T
   16813     #define _UINT8_T
   16814     #ifndef __uint8_t_defined
   16815     #define __uint8_t_defined
   16816     #ifndef uint8_t
   16817     typedef u_int8_t uint8_t;
   16818     #endif
   16819     #endif
   16820     #endif
   16821 
   16822     #ifndef _UINT16_T
   16823     #define _UINT16_T
   16824     #ifndef __uint16_t_defined
   16825     #define __uint16_t_defined
   16826     #ifndef uint16_t
   16827     typedef u_int16_t uint16_t;
   16828     #endif
   16829     #endif
   16830     #endif
   16831 
   16832     #ifndef _UINT32_T
   16833     #define _UINT32_T
   16834     #ifndef __uint32_t_defined
   16835     #define __uint32_t_defined
   16836     #ifndef uint32_t
   16837     typedef u_int32_t uint32_t;
   16838     #endif
   16839     #endif
   16840     #endif
   16841 EOF
   16842 else
   16843   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16844 
   16845     /* Some systems have guard macros to prevent redefinitions, define them.  */
   16846     #ifndef _INT8_T
   16847     #define _INT8_T
   16848     #endif
   16849     #ifndef _INT16_T
   16850     #define _INT16_T
   16851     #endif
   16852     #ifndef _INT32_T
   16853     #define _INT32_T
   16854     #endif
   16855     #ifndef _UINT8_T
   16856     #define _UINT8_T
   16857     #endif
   16858     #ifndef _UINT16_T
   16859     #define _UINT16_T
   16860     #endif
   16861     #ifndef _UINT32_T
   16862     #define _UINT32_T
   16863     #endif
   16864 EOF
   16865 fi
   16866 
   16867 # ------------- done basic int types, emit int64_t types ------------
   16868 if test "$ac_cv_type_uint64_t" = yes; then
   16869   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16870 
   16871     /* system headers have good uint64_t and int64_t */
   16872     #ifndef _INT64_T
   16873     #define _INT64_T
   16874     #endif
   16875     #ifndef _UINT64_T
   16876     #define _UINT64_T
   16877     #endif
   16878 EOF
   16879 elif test "$ac_cv_type_u_int64_t" = yes; then
   16880   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16881 
   16882     /* system headers have an u_int64_t (and int64_t) */
   16883     #ifndef _INT64_T
   16884     #define _INT64_T
   16885     #endif
   16886     #ifndef _UINT64_T
   16887     #define _UINT64_T
   16888     #ifndef __uint64_t_defined
   16889     #define __uint64_t_defined
   16890     #ifndef uint64_t
   16891     typedef u_int64_t uint64_t;
   16892     #endif
   16893     #endif
   16894     #endif
   16895 EOF
   16896 elif test -n "$acx_cv_type_int64_t"; then
   16897   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16898 
   16899     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
   16900     #ifndef _INT64_T
   16901     #define _INT64_T
   16902     #ifndef int64_t
   16903     typedef $acx_cv_type_int64_t int64_t;
   16904     #endif
   16905     #endif
   16906     #ifndef _UINT64_T
   16907     #define _UINT64_T
   16908     #ifndef __uint64_t_defined
   16909     #define __uint64_t_defined
   16910     #ifndef uint64_t
   16911     typedef unsigned $acx_cv_type_int64_t uint64_t;
   16912     #endif
   16913     #endif
   16914     #endif
   16915 EOF
   16916 else
   16917   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16918 
   16919     /* some common heuristics for int64_t, using compiler-specific tests */
   16920     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
   16921     #ifndef _INT64_T
   16922     #define _INT64_T
   16923     #ifndef __int64_t_defined
   16924     #ifndef int64_t
   16925     typedef long long int64_t;
   16926     #endif
   16927     #endif
   16928     #endif
   16929     #ifndef _UINT64_T
   16930     #define _UINT64_T
   16931     #ifndef uint64_t
   16932     typedef unsigned long long uint64_t;
   16933     #endif
   16934     #endif
   16935 
   16936     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
   16937     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
   16938        does not implement __extension__.  But that compiler doesn't define
   16939        __GNUC_MINOR__.  */
   16940     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
   16941     # define __extension__
   16942     # endif
   16943 
   16944     # ifndef _INT64_T
   16945     # define _INT64_T
   16946     # ifndef int64_t
   16947     __extension__ typedef long long int64_t;
   16948     # endif
   16949     # endif
   16950     # ifndef _UINT64_T
   16951     # define _UINT64_T
   16952     # ifndef uint64_t
   16953     __extension__ typedef unsigned long long uint64_t;
   16954     # endif
   16955     # endif
   16956 
   16957     #elif !defined __STRICT_ANSI__
   16958     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   16959 
   16960     #  ifndef _INT64_T
   16961     #  define _INT64_T
   16962     #  ifndef int64_t
   16963     typedef __int64 int64_t;
   16964     #  endif
   16965     #  endif
   16966     #  ifndef _UINT64_T
   16967     #  define _UINT64_T
   16968     #  ifndef uint64_t
   16969     typedef unsigned __int64 uint64_t;
   16970     #  endif
   16971     #  endif
   16972     # endif /* compiler */
   16973 
   16974     #endif /* ANSI version */
   16975 EOF
   16976 fi
   16977 
   16978 # ------------- done int64_t types, emit intptr types ------------
   16979 if test "$ac_cv_type_uintptr_t" != yes; then
   16980   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16981 
   16982     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
   16983     #ifndef __uintptr_t_defined
   16984     #ifndef uintptr_t
   16985     typedef u$acx_cv_type_intptr_t uintptr_t;
   16986     #endif
   16987     #endif
   16988     #ifndef __intptr_t_defined
   16989     #ifndef intptr_t
   16990     typedef $acx_cv_type_intptr_t  intptr_t;
   16991     #endif
   16992     #endif
   16993 EOF
   16994 fi
   16995 
   16996 # ------------- done intptr types, emit int_least types ------------
   16997 if test "$ac_cv_type_int_least32_t" != yes; then
   16998   sed 's/^ *//' >> tmp-stdint.h <<EOF
   16999 
   17000     /* Define int_least types */
   17001     typedef int8_t     int_least8_t;
   17002     typedef int16_t    int_least16_t;
   17003     typedef int32_t    int_least32_t;
   17004     #ifdef _INT64_T
   17005     typedef int64_t    int_least64_t;
   17006     #endif
   17007 
   17008     typedef uint8_t    uint_least8_t;
   17009     typedef uint16_t   uint_least16_t;
   17010     typedef uint32_t   uint_least32_t;
   17011     #ifdef _UINT64_T
   17012     typedef uint64_t   uint_least64_t;
   17013     #endif
   17014 EOF
   17015 fi
   17016 
   17017 # ------------- done intptr types, emit int_fast types ------------
   17018 if test "$ac_cv_type_int_fast32_t" != yes; then
   17019       sed 's/^ *//' >> tmp-stdint.h <<EOF
   17020 
   17021     /* Define int_fast types.  short is often slow */
   17022     typedef int8_t       int_fast8_t;
   17023     typedef int          int_fast16_t;
   17024     typedef int32_t      int_fast32_t;
   17025     #ifdef _INT64_T
   17026     typedef int64_t      int_fast64_t;
   17027     #endif
   17028 
   17029     typedef uint8_t      uint_fast8_t;
   17030     typedef unsigned int uint_fast16_t;
   17031     typedef uint32_t     uint_fast32_t;
   17032     #ifdef _UINT64_T
   17033     typedef uint64_t     uint_fast64_t;
   17034     #endif
   17035 EOF
   17036 fi
   17037 
   17038 if test "$ac_cv_type_uintmax_t" != yes; then
   17039   sed 's/^ *//' >> tmp-stdint.h <<EOF
   17040 
   17041     /* Define intmax based on what we found */
   17042     #ifndef intmax_t
   17043     #ifdef _INT64_T
   17044     typedef int64_t       intmax_t;
   17045     #else
   17046     typedef long          intmax_t;
   17047     #endif
   17048     #endif
   17049     #ifndef uintmax_t
   17050     #ifdef _UINT64_T
   17051     typedef uint64_t      uintmax_t;
   17052     #else
   17053     typedef unsigned long uintmax_t;
   17054     #endif
   17055     #endif
   17056 EOF
   17057 fi
   17058 
   17059 sed 's/^ *//' >> tmp-stdint.h <<EOF
   17060 
   17061   #endif /* GCC_GENERATED_STDINT_H */
   17062 EOF
   17063 
   17064 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
   17065   rm -f tmp-stdint.h
   17066 else
   17067   mv -f tmp-stdint.h gstdint.h
   17068 fi
   17069 
   17070  ;;
   17071     "install-debuginfo-for-buildid.sh":F) chmod +x install-debuginfo-for-buildid.sh ;;
   17072     "default":C) if test -n "$CONFIG_FILES"; then
   17073    if test -n "${with_target_subdir}"; then
   17074      # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
   17075      # that multilib installs will end up installed in the correct place.
   17076      # The testsuite needs it for multilib-aware ABI baseline files.
   17077      # To work around this not being passed down from config-ml.in ->
   17078      # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
   17079      # append it here.  Only modify Makefiles that have just been created.
   17080      #
   17081      # Also, get rid of this simulated-VPATH thing that automake does.
   17082      cat > vpsed << \_EOF
   17083   s!`test -f '$<' || echo '$(srcdir)/'`!!
   17084 _EOF
   17085      for i in $SUBDIRS; do
   17086       case $CONFIG_FILES in
   17087        *${i}/Makefile*)
   17088 	 #echo "Adding MULTISUBDIR to $i/Makefile"
   17089 	 sed -f vpsed $i/Makefile > tmp
   17090 	 grep '^MULTISUBDIR =' Makefile >> tmp
   17091 	 mv tmp $i/Makefile
   17092 	 ;;
   17093       esac
   17094      done
   17095      rm vpsed
   17096    fi
   17097  fi
   17098  ;;
   17099 
   17100   esac
   17101 done # for ac_tag
   17102 
   17103 
   17104 as_fn_exit 0
   17105 _ACEOF
   17106 ac_clean_files=$ac_clean_files_save
   17107 
   17108 test $ac_write_fail = 0 ||
   17109   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   17110 
   17111 
   17112 # configure is writing to config.log, and then calls config.status.
   17113 # config.status does its own redirection, appending to config.log.
   17114 # Unfortunately, on DOS this fails, as config.log is still kept open
   17115 # by configure, so config.status won't be able to write to it; its
   17116 # output is simply discarded.  So we exec the FD to /dev/null,
   17117 # effectively closing config.log, so it can be properly (re)opened and
   17118 # appended to by config.status.  When coming back to configure, we
   17119 # need to make the FD available again.
   17120 if test "$no_create" != yes; then
   17121   ac_cs_success=:
   17122   ac_config_status_args=
   17123   test "$silent" = yes &&
   17124     ac_config_status_args="$ac_config_status_args --quiet"
   17125   exec 5>/dev/null
   17126   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17127   exec 5>>config.log
   17128   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17129   # would make configure fail if this is the last instruction.
   17130   $ac_cs_success || as_fn_exit 1
   17131 fi
   17132 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   17133   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   17134 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   17135 fi
   17136 
   17137