Home | History | Annotate | Line # | Download | only in libbacktrace
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
      4 #
      5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
      7 # Foundation, Inc.
      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 case $0 in #((
     91   *[\\/]* ) as_myself=$0 ;;
     92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     93 for as_dir in $PATH
     94 do
     95   IFS=$as_save_IFS
     96   test -z "$as_dir" && as_dir=.
     97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     98   done
     99 IFS=$as_save_IFS
    100 
    101      ;;
    102 esac
    103 # We did not find ourselves, most probably we were run as `sh COMMAND'
    104 # in which case we are not to be found in the path.
    105 if test "x$as_myself" = x; then
    106   as_myself=$0
    107 fi
    108 if test ! -f "$as_myself"; then
    109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    110   exit 1
    111 fi
    112 
    113 # Unset variables that we do not need and which cause bugs (e.g. in
    114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    115 # suppresses any "Segmentation fault" message there.  '((' could
    116 # trigger a bug in pdksh 5.2.14.
    117 for as_var in BASH_ENV ENV MAIL MAILPATH
    118 do eval test x\${$as_var+set} = xset \
    119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    120 done
    121 PS1='$ '
    122 PS2='> '
    123 PS4='+ '
    124 
    125 # NLS nuisances.
    126 LC_ALL=C
    127 export LC_ALL
    128 LANGUAGE=C
    129 export LANGUAGE
    130 
    131 # CDPATH.
    132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    133 
    134 if test "x$CONFIG_SHELL" = x; then
    135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    136   emulate sh
    137   NULLCMD=:
    138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    139   # is contrary to our usage.  Disable this feature.
    140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    141   setopt NO_GLOB_SUBST
    142 else
    143   case \`(set -o) 2>/dev/null\` in #(
    144   *posix*) :
    145     set -o posix ;; #(
    146   *) :
    147      ;;
    148 esac
    149 fi
    150 "
    151   as_required="as_fn_return () { (exit \$1); }
    152 as_fn_success () { as_fn_return 0; }
    153 as_fn_failure () { as_fn_return 1; }
    154 as_fn_ret_success () { return 0; }
    155 as_fn_ret_failure () { return 1; }
    156 
    157 exitcode=0
    158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    163 
    164 else
    165   exitcode=1; echo positional parameters were not saved.
    166 fi
    167 test x\$exitcode = x0 || exit 1"
    168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    172 test \$(( 1 + 1 )) = 2 || exit 1
    173 
    174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    178     PATH=/empty FPATH=/empty; export PATH FPATH
    179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    181   if (eval "$as_required") 2>/dev/null; then :
    182   as_have_required=yes
    183 else
    184   as_have_required=no
    185 fi
    186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    187 
    188 else
    189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    190 as_found=false
    191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    192 do
    193   IFS=$as_save_IFS
    194   test -z "$as_dir" && as_dir=.
    195   as_found=:
    196   case $as_dir in #(
    197 	 /*)
    198 	   for as_base in sh bash ksh sh5; do
    199 	     # Try only shells that exist, to save several forks.
    200 	     as_shell=$as_dir/$as_base
    201 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    202 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    203   CONFIG_SHELL=$as_shell as_have_required=yes
    204 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    205   break 2
    206 fi
    207 fi
    208 	   done;;
    209        esac
    210   as_found=false
    211 done
    212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    213 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    214   CONFIG_SHELL=$SHELL as_have_required=yes
    215 fi; }
    216 IFS=$as_save_IFS
    217 
    218 
    219       if test "x$CONFIG_SHELL" != x; then :
    220   # We cannot yet assume a decent shell, so we have to provide a
    221 	# neutralization value for shells without unset; and this also
    222 	# works around shells that cannot unset nonexistent variables.
    223 	BASH_ENV=/dev/null
    224 	ENV=/dev/null
    225 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    226 	export CONFIG_SHELL
    227 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    228 fi
    229 
    230     if test x$as_have_required = xno; then :
    231   $as_echo "$0: This script requires a shell more modern than all"
    232   $as_echo "$0: the shells that I found on your system."
    233   if test x${ZSH_VERSION+set} = xset ; then
    234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    236   else
    237     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    238 $0: including any error possibly output before this
    239 $0: message. Then install a modern shell, or manually run
    240 $0: the script under such a shell if you do have one."
    241   fi
    242   exit 1
    243 fi
    244 fi
    245 fi
    246 SHELL=${CONFIG_SHELL-/bin/sh}
    247 export SHELL
    248 # Unset more variables known to interfere with behavior of common tools.
    249 CLICOLOR_FORCE= GREP_OPTIONS=
    250 unset CLICOLOR_FORCE GREP_OPTIONS
    251 
    252 ## --------------------- ##
    253 ## M4sh Shell Functions. ##
    254 ## --------------------- ##
    255 # as_fn_unset VAR
    256 # ---------------
    257 # Portably unset VAR.
    258 as_fn_unset ()
    259 {
    260   { eval $1=; unset $1;}
    261 }
    262 as_unset=as_fn_unset
    263 
    264 # as_fn_set_status STATUS
    265 # -----------------------
    266 # Set $? to STATUS, without forking.
    267 as_fn_set_status ()
    268 {
    269   return $1
    270 } # as_fn_set_status
    271 
    272 # as_fn_exit STATUS
    273 # -----------------
    274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    275 as_fn_exit ()
    276 {
    277   set +e
    278   as_fn_set_status $1
    279   exit $1
    280 } # as_fn_exit
    281 
    282 # as_fn_mkdir_p
    283 # -------------
    284 # Create "$as_dir" as a directory, including parents if necessary.
    285 as_fn_mkdir_p ()
    286 {
    287 
    288   case $as_dir in #(
    289   -*) as_dir=./$as_dir;;
    290   esac
    291   test -d "$as_dir" || eval $as_mkdir_p || {
    292     as_dirs=
    293     while :; do
    294       case $as_dir in #(
    295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    296       *) as_qdir=$as_dir;;
    297       esac
    298       as_dirs="'$as_qdir' $as_dirs"
    299       as_dir=`$as_dirname -- "$as_dir" ||
    300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    301 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    302 	 X"$as_dir" : 'X\(//\)$' \| \
    303 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    304 $as_echo X"$as_dir" |
    305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    306 	    s//\1/
    307 	    q
    308 	  }
    309 	  /^X\(\/\/\)[^/].*/{
    310 	    s//\1/
    311 	    q
    312 	  }
    313 	  /^X\(\/\/\)$/{
    314 	    s//\1/
    315 	    q
    316 	  }
    317 	  /^X\(\/\).*/{
    318 	    s//\1/
    319 	    q
    320 	  }
    321 	  s/.*/./; q'`
    322       test -d "$as_dir" && break
    323     done
    324     test -z "$as_dirs" || eval "mkdir $as_dirs"
    325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
    326 
    327 
    328 } # as_fn_mkdir_p
    329 # as_fn_append VAR VALUE
    330 # ----------------------
    331 # Append the text in VALUE to the end of the definition contained in VAR. Take
    332 # advantage of any shell optimizations that allow amortized linear growth over
    333 # repeated appends, instead of the typical quadratic growth present in naive
    334 # implementations.
    335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    336   eval 'as_fn_append ()
    337   {
    338     eval $1+=\$2
    339   }'
    340 else
    341   as_fn_append ()
    342   {
    343     eval $1=\$$1\$2
    344   }
    345 fi # as_fn_append
    346 
    347 # as_fn_arith ARG...
    348 # ------------------
    349 # Perform arithmetic evaluation on the ARGs, and store the result in the
    350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    351 # must be portable across $(()) and expr.
    352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    353   eval 'as_fn_arith ()
    354   {
    355     as_val=$(( $* ))
    356   }'
    357 else
    358   as_fn_arith ()
    359   {
    360     as_val=`expr "$@" || test $? -eq 1`
    361   }
    362 fi # as_fn_arith
    363 
    364 
    365 # as_fn_error ERROR [LINENO LOG_FD]
    366 # ---------------------------------
    367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    369 # script with status $?, using 1 if that was 0.
    370 as_fn_error ()
    371 {
    372   as_status=$?; test $as_status -eq 0 && as_status=1
    373   if test "$3"; then
    374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    376   fi
    377   $as_echo "$as_me: error: $1" >&2
    378   as_fn_exit $as_status
    379 } # as_fn_error
    380 
    381 if expr a : '\(a\)' >/dev/null 2>&1 &&
    382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    383   as_expr=expr
    384 else
    385   as_expr=false
    386 fi
    387 
    388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    389   as_basename=basename
    390 else
    391   as_basename=false
    392 fi
    393 
    394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    395   as_dirname=dirname
    396 else
    397   as_dirname=false
    398 fi
    399 
    400 as_me=`$as_basename -- "$0" ||
    401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    402 	 X"$0" : 'X\(//\)$' \| \
    403 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    404 $as_echo X/"$0" |
    405     sed '/^.*\/\([^/][^/]*\)\/*$/{
    406 	    s//\1/
    407 	    q
    408 	  }
    409 	  /^X\/\(\/\/\)$/{
    410 	    s//\1/
    411 	    q
    412 	  }
    413 	  /^X\/\(\/\).*/{
    414 	    s//\1/
    415 	    q
    416 	  }
    417 	  s/.*/./; q'`
    418 
    419 # Avoid depending upon Character Ranges.
    420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    423 as_cr_digits='0123456789'
    424 as_cr_alnum=$as_cr_Letters$as_cr_digits
    425 
    426 
    427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    432   sed -n '
    433     p
    434     /[$]LINENO/=
    435   ' <$as_myself |
    436     sed '
    437       s/[$]LINENO.*/&-/
    438       t lineno
    439       b
    440       :lineno
    441       N
    442       :loop
    443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    444       t loop
    445       s/-\n.*//
    446     ' >$as_me.lineno &&
    447   chmod +x "$as_me.lineno" ||
    448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    449 
    450   # Don't try to exec as it changes $[0], causing all sort of problems
    451   # (the dirname of $[0] is not the place where we might find the
    452   # original and so on.  Autoconf is especially sensitive to this).
    453   . "./$as_me.lineno"
    454   # Exit status is that of the last command.
    455   exit
    456 }
    457 
    458 ECHO_C= ECHO_N= ECHO_T=
    459 case `echo -n x` in #(((((
    460 -n*)
    461   case `echo 'xy\c'` in
    462   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    463   xy)  ECHO_C='\c';;
    464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    465        ECHO_T='	';;
    466   esac;;
    467 *)
    468   ECHO_N='-n';;
    469 esac
    470 
    471 rm -f conf$$ conf$$.exe conf$$.file
    472 if test -d conf$$.dir; then
    473   rm -f conf$$.dir/conf$$.file
    474 else
    475   rm -f conf$$.dir
    476   mkdir conf$$.dir 2>/dev/null
    477 fi
    478 if (echo >conf$$.file) 2>/dev/null; then
    479   if ln -s conf$$.file conf$$ 2>/dev/null; then
    480     as_ln_s='ln -s'
    481     # ... but there are two gotchas:
    482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    484     # In both cases, we have to default to `cp -p'.
    485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    486       as_ln_s='cp -p'
    487   elif ln conf$$.file conf$$ 2>/dev/null; then
    488     as_ln_s=ln
    489   else
    490     as_ln_s='cp -p'
    491   fi
    492 else
    493   as_ln_s='cp -p'
    494 fi
    495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    496 rmdir conf$$.dir 2>/dev/null
    497 
    498 if mkdir -p . 2>/dev/null; then
    499   as_mkdir_p='mkdir -p "$as_dir"'
    500 else
    501   test -d ./-p && rmdir ./-p
    502   as_mkdir_p=false
    503 fi
    504 
    505 if test -x / >/dev/null 2>&1; then
    506   as_test_x='test -x'
    507 else
    508   if ls -dL / >/dev/null 2>&1; then
    509     as_ls_L_option=L
    510   else
    511     as_ls_L_option=
    512   fi
    513   as_test_x='
    514     eval sh -c '\''
    515       if test -d "$1"; then
    516 	test -d "$1/.";
    517       else
    518 	case $1 in #(
    519 	-*)set "./$1";;
    520 	esac;
    521 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    522 	???[sx]*):;;*)false;;esac;fi
    523     '\'' sh
    524   '
    525 fi
    526 as_executable_p=$as_test_x
    527 
    528 # Sed expression to map a string onto a valid CPP name.
    529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    530 
    531 # Sed expression to map a string onto a valid variable name.
    532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    533 
    534 SHELL=${CONFIG_SHELL-/bin/sh}
    535 
    536 
    537 exec 7<&0 </dev/null 6>&1
    538 
    539 # Name of the host.
    540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    541 # so uname gets run too.
    542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    543 
    544 #
    545 # Initializations.
    546 #
    547 ac_default_prefix=/usr/local
    548 ac_clean_files=
    549 ac_config_libobj_dir=.
    550 LIBOBJS=
    551 cross_compiling=no
    552 subdirs=
    553 MFLAGS=
    554 MAKEFLAGS=
    555 
    556 # Identity of this package.
    557 PACKAGE_NAME='package-unused'
    558 PACKAGE_TARNAME='libbacktrace'
    559 PACKAGE_VERSION='version-unused'
    560 PACKAGE_STRING='package-unused version-unused'
    561 PACKAGE_BUGREPORT=''
    562 PACKAGE_URL=''
    563 
    564 ac_unique_file="backtrace.h"
    565 # Factoring default headers for most tests.
    566 ac_includes_default="\
    567 #include <stdio.h>
    568 #ifdef HAVE_SYS_TYPES_H
    569 # include <sys/types.h>
    570 #endif
    571 #ifdef HAVE_SYS_STAT_H
    572 # include <sys/stat.h>
    573 #endif
    574 #ifdef STDC_HEADERS
    575 # include <stdlib.h>
    576 # include <stddef.h>
    577 #else
    578 # ifdef HAVE_STDLIB_H
    579 #  include <stdlib.h>
    580 # endif
    581 #endif
    582 #ifdef HAVE_STRING_H
    583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    584 #  include <memory.h>
    585 # endif
    586 # include <string.h>
    587 #endif
    588 #ifdef HAVE_STRINGS_H
    589 # include <strings.h>
    590 #endif
    591 #ifdef HAVE_INTTYPES_H
    592 # include <inttypes.h>
    593 #endif
    594 #ifdef HAVE_STDINT_H
    595 # include <stdint.h>
    596 #endif
    597 #ifdef HAVE_UNISTD_H
    598 # include <unistd.h>
    599 #endif"
    600 
    601 ac_subst_vars='am__EXEEXT_FALSE
    602 am__EXEEXT_TRUE
    603 LTLIBOBJS
    604 LIBOBJS
    605 NATIVE_FALSE
    606 NATIVE_TRUE
    607 HAVE_OBJCOPY_DEBUGLINK_FALSE
    608 HAVE_OBJCOPY_DEBUGLINK_TRUE
    609 OBJCOPY
    610 HAVE_COMPRESSED_DEBUG_FALSE
    611 HAVE_COMPRESSED_DEBUG_TRUE
    612 HAVE_ZLIB_FALSE
    613 HAVE_ZLIB_TRUE
    614 HAVE_PTHREAD_FALSE
    615 HAVE_PTHREAD_TRUE
    616 PTHREAD_CFLAGS
    617 CLOCK_GETTIME_LINK
    618 BACKTRACE_USES_MALLOC
    619 ALLOC_FILE
    620 VIEW_FILE
    621 BACKTRACE_SUPPORTS_DATA
    622 BACKTRACE_SUPPORTED
    623 FORMAT_FILE
    624 BACKTRACE_SUPPORTS_THREADS
    625 PIC_FLAG
    626 WARN_FLAGS
    627 EXTRA_FLAGS
    628 BACKTRACE_FILE
    629 OTOOL64
    630 OTOOL
    631 LIPO
    632 NMEDIT
    633 DSYMUTIL
    634 AR
    635 OBJDUMP
    636 LN_S
    637 NM
    638 ac_ct_DUMPBIN
    639 DUMPBIN
    640 LD
    641 FGREP
    642 SED
    643 LIBTOOL
    644 RANLIB
    645 MAINT
    646 MAINTAINER_MODE_FALSE
    647 MAINTAINER_MODE_TRUE
    648 am__untar
    649 am__tar
    650 AMTAR
    651 am__leading_dot
    652 SET_MAKE
    653 AWK
    654 mkdir_p
    655 MKDIR_P
    656 INSTALL_STRIP_PROGRAM
    657 STRIP
    658 install_sh
    659 MAKEINFO
    660 AUTOHEADER
    661 AUTOMAKE
    662 AUTOCONF
    663 ACLOCAL
    664 VERSION
    665 PACKAGE
    666 CYGPATH_W
    667 am__isrc
    668 INSTALL_DATA
    669 INSTALL_SCRIPT
    670 INSTALL_PROGRAM
    671 libtool_VERSION
    672 EGREP
    673 GREP
    674 CPP
    675 OBJEXT
    676 EXEEXT
    677 ac_ct_CC
    678 CPPFLAGS
    679 LDFLAGS
    680 CFLAGS
    681 CC
    682 target_os
    683 target_vendor
    684 target_cpu
    685 target
    686 host_os
    687 host_vendor
    688 host_cpu
    689 host
    690 build_os
    691 build_vendor
    692 build_cpu
    693 build
    694 multi_basedir
    695 target_alias
    696 host_alias
    697 build_alias
    698 LIBS
    699 ECHO_T
    700 ECHO_N
    701 ECHO_C
    702 DEFS
    703 mandir
    704 localedir
    705 libdir
    706 psdir
    707 pdfdir
    708 dvidir
    709 htmldir
    710 infodir
    711 docdir
    712 oldincludedir
    713 includedir
    714 localstatedir
    715 sharedstatedir
    716 sysconfdir
    717 datadir
    718 datarootdir
    719 libexecdir
    720 sbindir
    721 bindir
    722 program_transform_name
    723 prefix
    724 exec_prefix
    725 PACKAGE_URL
    726 PACKAGE_BUGREPORT
    727 PACKAGE_STRING
    728 PACKAGE_VERSION
    729 PACKAGE_TARNAME
    730 PACKAGE_NAME
    731 PATH_SEPARATOR
    732 SHELL'
    733 ac_subst_files=''
    734 ac_user_opts='
    735 enable_option_checking
    736 enable_multilib
    737 enable_maintainer_mode
    738 with_target_subdir
    739 enable_shared
    740 enable_static
    741 with_pic
    742 enable_fast_install
    743 with_gnu_ld
    744 enable_libtool_lock
    745 enable_largefile
    746 enable_cet
    747 with_system_libunwind
    748 enable_host_shared
    749 '
    750       ac_precious_vars='build_alias
    751 host_alias
    752 target_alias
    753 CC
    754 CFLAGS
    755 LDFLAGS
    756 LIBS
    757 CPPFLAGS
    758 CPP
    759 OBJCOPY'
    760 
    761 
    762 # Initialize some variables set by options.
    763 ac_init_help=
    764 ac_init_version=false
    765 ac_unrecognized_opts=
    766 ac_unrecognized_sep=
    767 # The variables have the same names as the options, with
    768 # dashes changed to underlines.
    769 cache_file=/dev/null
    770 exec_prefix=NONE
    771 no_create=
    772 no_recursion=
    773 prefix=NONE
    774 program_prefix=NONE
    775 program_suffix=NONE
    776 program_transform_name=s,x,x,
    777 silent=
    778 site=
    779 srcdir=
    780 verbose=
    781 x_includes=NONE
    782 x_libraries=NONE
    783 
    784 # Installation directory options.
    785 # These are left unexpanded so users can "make install exec_prefix=/foo"
    786 # and all the variables that are supposed to be based on exec_prefix
    787 # by default will actually change.
    788 # Use braces instead of parens because sh, perl, etc. also accept them.
    789 # (The list follows the same order as the GNU Coding Standards.)
    790 bindir='${exec_prefix}/bin'
    791 sbindir='${exec_prefix}/sbin'
    792 libexecdir='${exec_prefix}/libexec'
    793 datarootdir='${prefix}/share'
    794 datadir='${datarootdir}'
    795 sysconfdir='${prefix}/etc'
    796 sharedstatedir='${prefix}/com'
    797 localstatedir='${prefix}/var'
    798 includedir='${prefix}/include'
    799 oldincludedir='/usr/include'
    800 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    801 infodir='${datarootdir}/info'
    802 htmldir='${docdir}'
    803 dvidir='${docdir}'
    804 pdfdir='${docdir}'
    805 psdir='${docdir}'
    806 libdir='${exec_prefix}/lib'
    807 localedir='${datarootdir}/locale'
    808 mandir='${datarootdir}/man'
    809 
    810 ac_prev=
    811 ac_dashdash=
    812 for ac_option
    813 do
    814   # If the previous option needs an argument, assign it.
    815   if test -n "$ac_prev"; then
    816     eval $ac_prev=\$ac_option
    817     ac_prev=
    818     continue
    819   fi
    820 
    821   case $ac_option in
    822   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    823   *)	ac_optarg=yes ;;
    824   esac
    825 
    826   # Accept the important Cygnus configure options, so we can diagnose typos.
    827 
    828   case $ac_dashdash$ac_option in
    829   --)
    830     ac_dashdash=yes ;;
    831 
    832   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    833     ac_prev=bindir ;;
    834   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    835     bindir=$ac_optarg ;;
    836 
    837   -build | --build | --buil | --bui | --bu)
    838     ac_prev=build_alias ;;
    839   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    840     build_alias=$ac_optarg ;;
    841 
    842   -cache-file | --cache-file | --cache-fil | --cache-fi \
    843   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    844     ac_prev=cache_file ;;
    845   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    846   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    847     cache_file=$ac_optarg ;;
    848 
    849   --config-cache | -C)
    850     cache_file=config.cache ;;
    851 
    852   -datadir | --datadir | --datadi | --datad)
    853     ac_prev=datadir ;;
    854   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    855     datadir=$ac_optarg ;;
    856 
    857   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    858   | --dataroo | --dataro | --datar)
    859     ac_prev=datarootdir ;;
    860   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    861   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    862     datarootdir=$ac_optarg ;;
    863 
    864   -disable-* | --disable-*)
    865     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    866     # Reject names that are not valid shell variable names.
    867     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    868       as_fn_error "invalid feature name: $ac_useropt"
    869     ac_useropt_orig=$ac_useropt
    870     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    871     case $ac_user_opts in
    872       *"
    873 "enable_$ac_useropt"
    874 "*) ;;
    875       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    876 	 ac_unrecognized_sep=', ';;
    877     esac
    878     eval enable_$ac_useropt=no ;;
    879 
    880   -docdir | --docdir | --docdi | --doc | --do)
    881     ac_prev=docdir ;;
    882   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    883     docdir=$ac_optarg ;;
    884 
    885   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    886     ac_prev=dvidir ;;
    887   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    888     dvidir=$ac_optarg ;;
    889 
    890   -enable-* | --enable-*)
    891     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    892     # Reject names that are not valid shell variable names.
    893     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    894       as_fn_error "invalid feature name: $ac_useropt"
    895     ac_useropt_orig=$ac_useropt
    896     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    897     case $ac_user_opts in
    898       *"
    899 "enable_$ac_useropt"
    900 "*) ;;
    901       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    902 	 ac_unrecognized_sep=', ';;
    903     esac
    904     eval enable_$ac_useropt=\$ac_optarg ;;
    905 
    906   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    907   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    908   | --exec | --exe | --ex)
    909     ac_prev=exec_prefix ;;
    910   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    911   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    912   | --exec=* | --exe=* | --ex=*)
    913     exec_prefix=$ac_optarg ;;
    914 
    915   -gas | --gas | --ga | --g)
    916     # Obsolete; use --with-gas.
    917     with_gas=yes ;;
    918 
    919   -help | --help | --hel | --he | -h)
    920     ac_init_help=long ;;
    921   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    922     ac_init_help=recursive ;;
    923   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    924     ac_init_help=short ;;
    925 
    926   -host | --host | --hos | --ho)
    927     ac_prev=host_alias ;;
    928   -host=* | --host=* | --hos=* | --ho=*)
    929     host_alias=$ac_optarg ;;
    930 
    931   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    932     ac_prev=htmldir ;;
    933   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    934   | --ht=*)
    935     htmldir=$ac_optarg ;;
    936 
    937   -includedir | --includedir | --includedi | --included | --include \
    938   | --includ | --inclu | --incl | --inc)
    939     ac_prev=includedir ;;
    940   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    941   | --includ=* | --inclu=* | --incl=* | --inc=*)
    942     includedir=$ac_optarg ;;
    943 
    944   -infodir | --infodir | --infodi | --infod | --info | --inf)
    945     ac_prev=infodir ;;
    946   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    947     infodir=$ac_optarg ;;
    948 
    949   -libdir | --libdir | --libdi | --libd)
    950     ac_prev=libdir ;;
    951   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    952     libdir=$ac_optarg ;;
    953 
    954   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    955   | --libexe | --libex | --libe)
    956     ac_prev=libexecdir ;;
    957   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    958   | --libexe=* | --libex=* | --libe=*)
    959     libexecdir=$ac_optarg ;;
    960 
    961   -localedir | --localedir | --localedi | --localed | --locale)
    962     ac_prev=localedir ;;
    963   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    964     localedir=$ac_optarg ;;
    965 
    966   -localstatedir | --localstatedir | --localstatedi | --localstated \
    967   | --localstate | --localstat | --localsta | --localst | --locals)
    968     ac_prev=localstatedir ;;
    969   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    970   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    971     localstatedir=$ac_optarg ;;
    972 
    973   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    974     ac_prev=mandir ;;
    975   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    976     mandir=$ac_optarg ;;
    977 
    978   -nfp | --nfp | --nf)
    979     # Obsolete; use --without-fp.
    980     with_fp=no ;;
    981 
    982   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    983   | --no-cr | --no-c | -n)
    984     no_create=yes ;;
    985 
    986   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    987   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    988     no_recursion=yes ;;
    989 
    990   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    991   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    992   | --oldin | --oldi | --old | --ol | --o)
    993     ac_prev=oldincludedir ;;
    994   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    995   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    996   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    997     oldincludedir=$ac_optarg ;;
    998 
    999   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1000     ac_prev=prefix ;;
   1001   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1002     prefix=$ac_optarg ;;
   1003 
   1004   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1005   | --program-pre | --program-pr | --program-p)
   1006     ac_prev=program_prefix ;;
   1007   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1008   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1009     program_prefix=$ac_optarg ;;
   1010 
   1011   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1012   | --program-suf | --program-su | --program-s)
   1013     ac_prev=program_suffix ;;
   1014   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1015   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1016     program_suffix=$ac_optarg ;;
   1017 
   1018   -program-transform-name | --program-transform-name \
   1019   | --program-transform-nam | --program-transform-na \
   1020   | --program-transform-n | --program-transform- \
   1021   | --program-transform | --program-transfor \
   1022   | --program-transfo | --program-transf \
   1023   | --program-trans | --program-tran \
   1024   | --progr-tra | --program-tr | --program-t)
   1025     ac_prev=program_transform_name ;;
   1026   -program-transform-name=* | --program-transform-name=* \
   1027   | --program-transform-nam=* | --program-transform-na=* \
   1028   | --program-transform-n=* | --program-transform-=* \
   1029   | --program-transform=* | --program-transfor=* \
   1030   | --program-transfo=* | --program-transf=* \
   1031   | --program-trans=* | --program-tran=* \
   1032   | --progr-tra=* | --program-tr=* | --program-t=*)
   1033     program_transform_name=$ac_optarg ;;
   1034 
   1035   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1036     ac_prev=pdfdir ;;
   1037   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1038     pdfdir=$ac_optarg ;;
   1039 
   1040   -psdir | --psdir | --psdi | --psd | --ps)
   1041     ac_prev=psdir ;;
   1042   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1043     psdir=$ac_optarg ;;
   1044 
   1045   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1046   | -silent | --silent | --silen | --sile | --sil)
   1047     silent=yes ;;
   1048 
   1049   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1050     ac_prev=sbindir ;;
   1051   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1052   | --sbi=* | --sb=*)
   1053     sbindir=$ac_optarg ;;
   1054 
   1055   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1056   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1057   | --sharedst | --shareds | --shared | --share | --shar \
   1058   | --sha | --sh)
   1059     ac_prev=sharedstatedir ;;
   1060   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1061   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1062   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1063   | --sha=* | --sh=*)
   1064     sharedstatedir=$ac_optarg ;;
   1065 
   1066   -site | --site | --sit)
   1067     ac_prev=site ;;
   1068   -site=* | --site=* | --sit=*)
   1069     site=$ac_optarg ;;
   1070 
   1071   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1072     ac_prev=srcdir ;;
   1073   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1074     srcdir=$ac_optarg ;;
   1075 
   1076   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1077   | --syscon | --sysco | --sysc | --sys | --sy)
   1078     ac_prev=sysconfdir ;;
   1079   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1080   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1081     sysconfdir=$ac_optarg ;;
   1082 
   1083   -target | --target | --targe | --targ | --tar | --ta | --t)
   1084     ac_prev=target_alias ;;
   1085   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1086     target_alias=$ac_optarg ;;
   1087 
   1088   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1089     verbose=yes ;;
   1090 
   1091   -version | --version | --versio | --versi | --vers | -V)
   1092     ac_init_version=: ;;
   1093 
   1094   -with-* | --with-*)
   1095     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1096     # Reject names that are not valid shell variable names.
   1097     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1098       as_fn_error "invalid package name: $ac_useropt"
   1099     ac_useropt_orig=$ac_useropt
   1100     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1101     case $ac_user_opts in
   1102       *"
   1103 "with_$ac_useropt"
   1104 "*) ;;
   1105       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1106 	 ac_unrecognized_sep=', ';;
   1107     esac
   1108     eval with_$ac_useropt=\$ac_optarg ;;
   1109 
   1110   -without-* | --without-*)
   1111     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1112     # Reject names that are not valid shell variable names.
   1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1114       as_fn_error "invalid package name: $ac_useropt"
   1115     ac_useropt_orig=$ac_useropt
   1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1117     case $ac_user_opts in
   1118       *"
   1119 "with_$ac_useropt"
   1120 "*) ;;
   1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1122 	 ac_unrecognized_sep=', ';;
   1123     esac
   1124     eval with_$ac_useropt=no ;;
   1125 
   1126   --x)
   1127     # Obsolete; use --with-x.
   1128     with_x=yes ;;
   1129 
   1130   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1131   | --x-incl | --x-inc | --x-in | --x-i)
   1132     ac_prev=x_includes ;;
   1133   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1134   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1135     x_includes=$ac_optarg ;;
   1136 
   1137   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1138   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1139     ac_prev=x_libraries ;;
   1140   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1141   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1142     x_libraries=$ac_optarg ;;
   1143 
   1144   -*) as_fn_error "unrecognized option: \`$ac_option'
   1145 Try \`$0 --help' for more information."
   1146     ;;
   1147 
   1148   *=*)
   1149     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1150     # Reject names that are not valid shell variable names.
   1151     case $ac_envvar in #(
   1152       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1153       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
   1154     esac
   1155     eval $ac_envvar=\$ac_optarg
   1156     export $ac_envvar ;;
   1157 
   1158   *)
   1159     # FIXME: should be removed in autoconf 3.0.
   1160     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1161     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1162       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1163     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1164     ;;
   1165 
   1166   esac
   1167 done
   1168 
   1169 if test -n "$ac_prev"; then
   1170   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1171   as_fn_error "missing argument to $ac_option"
   1172 fi
   1173 
   1174 if test -n "$ac_unrecognized_opts"; then
   1175   case $enable_option_checking in
   1176     no) ;;
   1177     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
   1178     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1179   esac
   1180 fi
   1181 
   1182 # Check all directory arguments for consistency.
   1183 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1184 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1185 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1186 		libdir localedir mandir
   1187 do
   1188   eval ac_val=\$$ac_var
   1189   # Remove trailing slashes.
   1190   case $ac_val in
   1191     */ )
   1192       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1193       eval $ac_var=\$ac_val;;
   1194   esac
   1195   # Be sure to have absolute directory names.
   1196   case $ac_val in
   1197     [\\/$]* | ?:[\\/]* )  continue;;
   1198     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1199   esac
   1200   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
   1201 done
   1202 
   1203 # There might be people who depend on the old broken behavior: `$host'
   1204 # used to hold the argument of --host etc.
   1205 # FIXME: To remove some day.
   1206 build=$build_alias
   1207 host=$host_alias
   1208 target=$target_alias
   1209 
   1210 # FIXME: To remove some day.
   1211 if test "x$host_alias" != x; then
   1212   if test "x$build_alias" = x; then
   1213     cross_compiling=maybe
   1214     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1215     If a cross compiler is detected then cross compile mode will be used." >&2
   1216   elif test "x$build_alias" != "x$host_alias"; then
   1217     cross_compiling=yes
   1218   fi
   1219 fi
   1220 
   1221 ac_tool_prefix=
   1222 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1223 
   1224 test "$silent" = yes && exec 6>/dev/null
   1225 
   1226 
   1227 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1228 ac_ls_di=`ls -di .` &&
   1229 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1230   as_fn_error "working directory cannot be determined"
   1231 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1232   as_fn_error "pwd does not report name of working directory"
   1233 
   1234 
   1235 # Find the source files, if location was not specified.
   1236 if test -z "$srcdir"; then
   1237   ac_srcdir_defaulted=yes
   1238   # Try the directory containing this script, then the parent directory.
   1239   ac_confdir=`$as_dirname -- "$as_myself" ||
   1240 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1241 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1242 	 X"$as_myself" : 'X\(//\)$' \| \
   1243 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1244 $as_echo X"$as_myself" |
   1245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1246 	    s//\1/
   1247 	    q
   1248 	  }
   1249 	  /^X\(\/\/\)[^/].*/{
   1250 	    s//\1/
   1251 	    q
   1252 	  }
   1253 	  /^X\(\/\/\)$/{
   1254 	    s//\1/
   1255 	    q
   1256 	  }
   1257 	  /^X\(\/\).*/{
   1258 	    s//\1/
   1259 	    q
   1260 	  }
   1261 	  s/.*/./; q'`
   1262   srcdir=$ac_confdir
   1263   if test ! -r "$srcdir/$ac_unique_file"; then
   1264     srcdir=..
   1265   fi
   1266 else
   1267   ac_srcdir_defaulted=no
   1268 fi
   1269 if test ! -r "$srcdir/$ac_unique_file"; then
   1270   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1271   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
   1272 fi
   1273 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1274 ac_abs_confdir=`(
   1275 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
   1276 	pwd)`
   1277 # When building in place, set srcdir=.
   1278 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1279   srcdir=.
   1280 fi
   1281 # Remove unnecessary trailing slashes from srcdir.
   1282 # Double slashes in file names in object file debugging info
   1283 # mess up M-x gdb in Emacs.
   1284 case $srcdir in
   1285 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1286 esac
   1287 for ac_var in $ac_precious_vars; do
   1288   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1289   eval ac_env_${ac_var}_value=\$${ac_var}
   1290   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1291   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1292 done
   1293 
   1294 #
   1295 # Report the --help message.
   1296 #
   1297 if test "$ac_init_help" = "long"; then
   1298   # Omit some internal or obsolete options to make the list less imposing.
   1299   # This message is too long to be a string in the A/UX 3.1 sh.
   1300   cat <<_ACEOF
   1301 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
   1302 
   1303 Usage: $0 [OPTION]... [VAR=VALUE]...
   1304 
   1305 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1306 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1307 
   1308 Defaults for the options are specified in brackets.
   1309 
   1310 Configuration:
   1311   -h, --help              display this help and exit
   1312       --help=short        display options specific to this package
   1313       --help=recursive    display the short help of all the included packages
   1314   -V, --version           display version information and exit
   1315   -q, --quiet, --silent   do not print \`checking...' messages
   1316       --cache-file=FILE   cache test results in FILE [disabled]
   1317   -C, --config-cache      alias for \`--cache-file=config.cache'
   1318   -n, --no-create         do not create output files
   1319       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1320 
   1321 Installation directories:
   1322   --prefix=PREFIX         install architecture-independent files in PREFIX
   1323                           [$ac_default_prefix]
   1324   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1325                           [PREFIX]
   1326 
   1327 By default, \`make install' will install all the files in
   1328 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1329 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1330 for instance \`--prefix=\$HOME'.
   1331 
   1332 For better control, use the options below.
   1333 
   1334 Fine tuning of the installation directories:
   1335   --bindir=DIR            user executables [EPREFIX/bin]
   1336   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1337   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1338   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1339   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1340   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1341   --libdir=DIR            object code libraries [EPREFIX/lib]
   1342   --includedir=DIR        C header files [PREFIX/include]
   1343   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1344   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1345   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1346   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1347   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1348   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1349   --docdir=DIR            documentation root [DATAROOTDIR/doc/libbacktrace]
   1350   --htmldir=DIR           html documentation [DOCDIR]
   1351   --dvidir=DIR            dvi documentation [DOCDIR]
   1352   --pdfdir=DIR            pdf documentation [DOCDIR]
   1353   --psdir=DIR             ps documentation [DOCDIR]
   1354 _ACEOF
   1355 
   1356   cat <<\_ACEOF
   1357 
   1358 Program names:
   1359   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1360   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1361   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1362 
   1363 System types:
   1364   --build=BUILD     configure for building on BUILD [guessed]
   1365   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1366   --target=TARGET   configure for building compilers for TARGET [HOST]
   1367 _ACEOF
   1368 fi
   1369 
   1370 if test -n "$ac_init_help"; then
   1371   case $ac_init_help in
   1372      short | recursive ) echo "Configuration of package-unused version-unused:";;
   1373    esac
   1374   cat <<\_ACEOF
   1375 
   1376 Optional Features:
   1377   --disable-option-checking  ignore unrecognized --enable/--with options
   1378   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1379   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1380   --enable-multilib       build many library versions (default)
   1381   --enable-maintainer-mode  enable make rules and dependencies not useful
   1382 			  (and sometimes confusing) to the casual installer
   1383   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1384   --enable-static[=PKGS]  build static libraries [default=yes]
   1385   --enable-fast-install[=PKGS]
   1386                           optimize for fast installation [default=yes]
   1387   --disable-libtool-lock  avoid locking (might break parallel builds)
   1388   --disable-largefile     omit support for large files
   1389   --enable-cet            enable Intel CET in target libraries [default=no]
   1390   --enable-host-shared    build host code as shared libraries
   1391 
   1392 Optional Packages:
   1393   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1394   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1395   --with-target-subdir=SUBDIR      Configuring in a subdirectory for target
   1396   --with-pic              try to use only PIC/non-PIC objects [default=use
   1397                           both]
   1398   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1399   --with-system-libunwind use installed libunwind
   1400 
   1401 Some influential environment variables:
   1402   CC          C compiler command
   1403   CFLAGS      C compiler flags
   1404   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1405               nonstandard directory <lib dir>
   1406   LIBS        libraries to pass to the linker, e.g. -l<library>
   1407   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1408               you have headers in a nonstandard directory <include dir>
   1409   CPP         C preprocessor
   1410   OBJCOPY     location of objcopy
   1411 
   1412 Use these variables to override the choices made by `configure' or to help
   1413 it to find libraries and programs with nonstandard names/locations.
   1414 
   1415 Report bugs to the package provider.
   1416 _ACEOF
   1417 ac_status=$?
   1418 fi
   1419 
   1420 if test "$ac_init_help" = "recursive"; then
   1421   # If there are subdirs, report their specific --help.
   1422   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1423     test -d "$ac_dir" ||
   1424       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1425       continue
   1426     ac_builddir=.
   1427 
   1428 case "$ac_dir" in
   1429 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1430 *)
   1431   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1432   # A ".." for each directory in $ac_dir_suffix.
   1433   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1434   case $ac_top_builddir_sub in
   1435   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1436   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1437   esac ;;
   1438 esac
   1439 ac_abs_top_builddir=$ac_pwd
   1440 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1441 # for backward compatibility:
   1442 ac_top_builddir=$ac_top_build_prefix
   1443 
   1444 case $srcdir in
   1445   .)  # We are building in place.
   1446     ac_srcdir=.
   1447     ac_top_srcdir=$ac_top_builddir_sub
   1448     ac_abs_top_srcdir=$ac_pwd ;;
   1449   [\\/]* | ?:[\\/]* )  # Absolute name.
   1450     ac_srcdir=$srcdir$ac_dir_suffix;
   1451     ac_top_srcdir=$srcdir
   1452     ac_abs_top_srcdir=$srcdir ;;
   1453   *) # Relative name.
   1454     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1455     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1456     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1457 esac
   1458 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1459 
   1460     cd "$ac_dir" || { ac_status=$?; continue; }
   1461     # Check for guested configure.
   1462     if test -f "$ac_srcdir/configure.gnu"; then
   1463       echo &&
   1464       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1465     elif test -f "$ac_srcdir/configure"; then
   1466       echo &&
   1467       $SHELL "$ac_srcdir/configure" --help=recursive
   1468     else
   1469       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1470     fi || ac_status=$?
   1471     cd "$ac_pwd" || { ac_status=$?; break; }
   1472   done
   1473 fi
   1474 
   1475 test -n "$ac_init_help" && exit $ac_status
   1476 if $ac_init_version; then
   1477   cat <<\_ACEOF
   1478 package-unused configure version-unused
   1479 generated by GNU Autoconf 2.64
   1480 
   1481 Copyright (C) 2009 Free Software Foundation, Inc.
   1482 This configure script is free software; the Free Software Foundation
   1483 gives unlimited permission to copy, distribute and modify it.
   1484 _ACEOF
   1485   exit
   1486 fi
   1487 
   1488 ## ------------------------ ##
   1489 ## Autoconf initialization. ##
   1490 ## ------------------------ ##
   1491 
   1492 # ac_fn_c_try_compile LINENO
   1493 # --------------------------
   1494 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1495 ac_fn_c_try_compile ()
   1496 {
   1497   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1498   rm -f conftest.$ac_objext
   1499   if { { ac_try="$ac_compile"
   1500 case "(($ac_try" in
   1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1502   *) ac_try_echo=$ac_try;;
   1503 esac
   1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1505 $as_echo "$ac_try_echo"; } >&5
   1506   (eval "$ac_compile") 2>conftest.err
   1507   ac_status=$?
   1508   if test -s conftest.err; then
   1509     grep -v '^ *+' conftest.err >conftest.er1
   1510     cat conftest.er1 >&5
   1511     mv -f conftest.er1 conftest.err
   1512   fi
   1513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1514   test $ac_status = 0; } && {
   1515 	 test -z "$ac_c_werror_flag" ||
   1516 	 test ! -s conftest.err
   1517        } && test -s conftest.$ac_objext; then :
   1518   ac_retval=0
   1519 else
   1520   $as_echo "$as_me: failed program was:" >&5
   1521 sed 's/^/| /' conftest.$ac_ext >&5
   1522 
   1523 	ac_retval=1
   1524 fi
   1525   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1526   return $ac_retval
   1527 
   1528 } # ac_fn_c_try_compile
   1529 
   1530 # ac_fn_c_try_cpp LINENO
   1531 # ----------------------
   1532 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1533 ac_fn_c_try_cpp ()
   1534 {
   1535   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1536   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1537 case "(($ac_try" in
   1538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1539   *) ac_try_echo=$ac_try;;
   1540 esac
   1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1542 $as_echo "$ac_try_echo"; } >&5
   1543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1544   ac_status=$?
   1545   if test -s conftest.err; then
   1546     grep -v '^ *+' conftest.err >conftest.er1
   1547     cat conftest.er1 >&5
   1548     mv -f conftest.er1 conftest.err
   1549   fi
   1550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1551   test $ac_status = 0; } >/dev/null && {
   1552 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1553 	 test ! -s conftest.err
   1554        }; then :
   1555   ac_retval=0
   1556 else
   1557   $as_echo "$as_me: failed program was:" >&5
   1558 sed 's/^/| /' conftest.$ac_ext >&5
   1559 
   1560     ac_retval=1
   1561 fi
   1562   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1563   return $ac_retval
   1564 
   1565 } # ac_fn_c_try_cpp
   1566 
   1567 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1568 # -------------------------------------------------------
   1569 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1570 # the include files in INCLUDES and setting the cache variable VAR
   1571 # accordingly.
   1572 ac_fn_c_check_header_mongrel ()
   1573 {
   1574   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1575   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1576   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1577 $as_echo_n "checking for $2... " >&6; }
   1578 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1579   $as_echo_n "(cached) " >&6
   1580 fi
   1581 eval ac_res=\$$3
   1582 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1583 $as_echo "$ac_res" >&6; }
   1584 else
   1585   # Is the header compilable?
   1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1587 $as_echo_n "checking $2 usability... " >&6; }
   1588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1589 /* end confdefs.h.  */
   1590 $4
   1591 #include <$2>
   1592 _ACEOF
   1593 if ac_fn_c_try_compile "$LINENO"; then :
   1594   ac_header_compiler=yes
   1595 else
   1596   ac_header_compiler=no
   1597 fi
   1598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1600 $as_echo "$ac_header_compiler" >&6; }
   1601 
   1602 # Is the header present?
   1603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1604 $as_echo_n "checking $2 presence... " >&6; }
   1605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1606 /* end confdefs.h.  */
   1607 #include <$2>
   1608 _ACEOF
   1609 if ac_fn_c_try_cpp "$LINENO"; then :
   1610   ac_header_preproc=yes
   1611 else
   1612   ac_header_preproc=no
   1613 fi
   1614 rm -f conftest.err conftest.$ac_ext
   1615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1616 $as_echo "$ac_header_preproc" >&6; }
   1617 
   1618 # So?  What about this header?
   1619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1620   yes:no: )
   1621     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1622 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1623     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1624 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1625     ;;
   1626   no:yes:* )
   1627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1628 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1630 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1632 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1633     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1634 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1636 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1637     ;;
   1638 esac
   1639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1640 $as_echo_n "checking for $2... " >&6; }
   1641 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1642   $as_echo_n "(cached) " >&6
   1643 else
   1644   eval "$3=\$ac_header_compiler"
   1645 fi
   1646 eval ac_res=\$$3
   1647 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1648 $as_echo "$ac_res" >&6; }
   1649 fi
   1650   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1651 
   1652 } # ac_fn_c_check_header_mongrel
   1653 
   1654 # ac_fn_c_try_run LINENO
   1655 # ----------------------
   1656 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1657 # that executables *can* be run.
   1658 ac_fn_c_try_run ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   if { { ac_try="$ac_link"
   1662 case "(($ac_try" in
   1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1664   *) ac_try_echo=$ac_try;;
   1665 esac
   1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1667 $as_echo "$ac_try_echo"; } >&5
   1668   (eval "$ac_link") 2>&5
   1669   ac_status=$?
   1670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1671   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1672   { { case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 $as_echo "$ac_try_echo"; } >&5
   1678   (eval "$ac_try") 2>&5
   1679   ac_status=$?
   1680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1681   test $ac_status = 0; }; }; then :
   1682   ac_retval=0
   1683 else
   1684   $as_echo "$as_me: program exited with status $ac_status" >&5
   1685        $as_echo "$as_me: failed program was:" >&5
   1686 sed 's/^/| /' conftest.$ac_ext >&5
   1687 
   1688        ac_retval=$ac_status
   1689 fi
   1690   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1691   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1692   return $ac_retval
   1693 
   1694 } # ac_fn_c_try_run
   1695 
   1696 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1697 # -------------------------------------------------------
   1698 # Tests whether HEADER exists and can be compiled using the include files in
   1699 # INCLUDES, setting the cache variable VAR accordingly.
   1700 ac_fn_c_check_header_compile ()
   1701 {
   1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1704 $as_echo_n "checking for $2... " >&6; }
   1705 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1706   $as_echo_n "(cached) " >&6
   1707 else
   1708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1709 /* end confdefs.h.  */
   1710 $4
   1711 #include <$2>
   1712 _ACEOF
   1713 if ac_fn_c_try_compile "$LINENO"; then :
   1714   eval "$3=yes"
   1715 else
   1716   eval "$3=no"
   1717 fi
   1718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1719 fi
   1720 eval ac_res=\$$3
   1721 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1722 $as_echo "$ac_res" >&6; }
   1723   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1724 
   1725 } # ac_fn_c_check_header_compile
   1726 
   1727 # ac_fn_c_try_link LINENO
   1728 # -----------------------
   1729 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1730 ac_fn_c_try_link ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   rm -f conftest.$ac_objext conftest$ac_exeext
   1734   if { { ac_try="$ac_link"
   1735 case "(($ac_try" in
   1736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1737   *) ac_try_echo=$ac_try;;
   1738 esac
   1739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1740 $as_echo "$ac_try_echo"; } >&5
   1741   (eval "$ac_link") 2>conftest.err
   1742   ac_status=$?
   1743   if test -s conftest.err; then
   1744     grep -v '^ *+' conftest.err >conftest.er1
   1745     cat conftest.er1 >&5
   1746     mv -f conftest.er1 conftest.err
   1747   fi
   1748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1749   test $ac_status = 0; } && {
   1750 	 test -z "$ac_c_werror_flag" ||
   1751 	 test ! -s conftest.err
   1752        } && test -s conftest$ac_exeext && {
   1753 	 test "$cross_compiling" = yes ||
   1754 	 $as_test_x conftest$ac_exeext
   1755        }; then :
   1756   ac_retval=0
   1757 else
   1758   $as_echo "$as_me: failed program was:" >&5
   1759 sed 's/^/| /' conftest.$ac_ext >&5
   1760 
   1761 	ac_retval=1
   1762 fi
   1763   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1764   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1765   # interfere with the next link command; also delete a directory that is
   1766   # left behind by Apple's compiler.  We do this before executing the actions.
   1767   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1768   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1769   return $ac_retval
   1770 
   1771 } # ac_fn_c_try_link
   1772 
   1773 # ac_fn_c_check_func LINENO FUNC VAR
   1774 # ----------------------------------
   1775 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1776 ac_fn_c_check_func ()
   1777 {
   1778   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1780 $as_echo_n "checking for $2... " >&6; }
   1781 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1782   $as_echo_n "(cached) " >&6
   1783 else
   1784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1785 /* end confdefs.h.  */
   1786 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1788 #define $2 innocuous_$2
   1789 
   1790 /* System header to define __stub macros and hopefully few prototypes,
   1791     which can conflict with char $2 (); below.
   1792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1793     <limits.h> exists even on freestanding compilers.  */
   1794 
   1795 #ifdef __STDC__
   1796 # include <limits.h>
   1797 #else
   1798 # include <assert.h>
   1799 #endif
   1800 
   1801 #undef $2
   1802 
   1803 /* Override any GCC internal prototype to avoid an error.
   1804    Use char because int might match the return type of a GCC
   1805    builtin and then its argument prototype would still apply.  */
   1806 #ifdef __cplusplus
   1807 extern "C"
   1808 #endif
   1809 char $2 ();
   1810 /* The GNU C library defines this for functions which it implements
   1811     to always fail with ENOSYS.  Some functions are actually named
   1812     something starting with __ and the normal name is an alias.  */
   1813 #if defined __stub_$2 || defined __stub___$2
   1814 choke me
   1815 #endif
   1816 
   1817 int
   1818 main ()
   1819 {
   1820 return $2 ();
   1821   ;
   1822   return 0;
   1823 }
   1824 _ACEOF
   1825 if ac_fn_c_try_link "$LINENO"; then :
   1826   eval "$3=yes"
   1827 else
   1828   eval "$3=no"
   1829 fi
   1830 rm -f core conftest.err conftest.$ac_objext \
   1831     conftest$ac_exeext conftest.$ac_ext
   1832 fi
   1833 eval ac_res=\$$3
   1834 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1835 $as_echo "$ac_res" >&6; }
   1836   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1837 
   1838 } # ac_fn_c_check_func
   1839 
   1840 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   1841 # -------------------------------------------
   1842 # Tests whether TYPE exists after having included INCLUDES, setting cache
   1843 # variable VAR accordingly.
   1844 ac_fn_c_check_type ()
   1845 {
   1846   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1848 $as_echo_n "checking for $2... " >&6; }
   1849 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   1850   $as_echo_n "(cached) " >&6
   1851 else
   1852   eval "$3=no"
   1853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1854 /* end confdefs.h.  */
   1855 $4
   1856 int
   1857 main ()
   1858 {
   1859 if (sizeof ($2))
   1860 	 return 0;
   1861   ;
   1862   return 0;
   1863 }
   1864 _ACEOF
   1865 if ac_fn_c_try_compile "$LINENO"; then :
   1866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1867 /* end confdefs.h.  */
   1868 $4
   1869 int
   1870 main ()
   1871 {
   1872 if (sizeof (($2)))
   1873 	    return 0;
   1874   ;
   1875   return 0;
   1876 }
   1877 _ACEOF
   1878 if ac_fn_c_try_compile "$LINENO"; then :
   1879 
   1880 else
   1881   eval "$3=yes"
   1882 fi
   1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1884 fi
   1885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1886 fi
   1887 eval ac_res=\$$3
   1888 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1889 $as_echo "$ac_res" >&6; }
   1890   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1891 
   1892 } # ac_fn_c_check_type
   1893 
   1894 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   1895 # --------------------------------------------
   1896 # Tries to find the compile-time value of EXPR in a program that includes
   1897 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   1898 # computed
   1899 ac_fn_c_compute_int ()
   1900 {
   1901   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1902   if test "$cross_compiling" = yes; then
   1903     # Depending upon the size, compute the lo and hi bounds.
   1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1905 /* end confdefs.h.  */
   1906 $4
   1907 int
   1908 main ()
   1909 {
   1910 static int test_array [1 - 2 * !(($2) >= 0)];
   1911 test_array [0] = 0
   1912 
   1913   ;
   1914   return 0;
   1915 }
   1916 _ACEOF
   1917 if ac_fn_c_try_compile "$LINENO"; then :
   1918   ac_lo=0 ac_mid=0
   1919   while :; do
   1920     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1921 /* end confdefs.h.  */
   1922 $4
   1923 int
   1924 main ()
   1925 {
   1926 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   1927 test_array [0] = 0
   1928 
   1929   ;
   1930   return 0;
   1931 }
   1932 _ACEOF
   1933 if ac_fn_c_try_compile "$LINENO"; then :
   1934   ac_hi=$ac_mid; break
   1935 else
   1936   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   1937 			if test $ac_lo -le $ac_mid; then
   1938 			  ac_lo= ac_hi=
   1939 			  break
   1940 			fi
   1941 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   1942 fi
   1943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1944   done
   1945 else
   1946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1947 /* end confdefs.h.  */
   1948 $4
   1949 int
   1950 main ()
   1951 {
   1952 static int test_array [1 - 2 * !(($2) < 0)];
   1953 test_array [0] = 0
   1954 
   1955   ;
   1956   return 0;
   1957 }
   1958 _ACEOF
   1959 if ac_fn_c_try_compile "$LINENO"; then :
   1960   ac_hi=-1 ac_mid=-1
   1961   while :; do
   1962     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1963 /* end confdefs.h.  */
   1964 $4
   1965 int
   1966 main ()
   1967 {
   1968 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   1969 test_array [0] = 0
   1970 
   1971   ;
   1972   return 0;
   1973 }
   1974 _ACEOF
   1975 if ac_fn_c_try_compile "$LINENO"; then :
   1976   ac_lo=$ac_mid; break
   1977 else
   1978   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   1979 			if test $ac_mid -le $ac_hi; then
   1980 			  ac_lo= ac_hi=
   1981 			  break
   1982 			fi
   1983 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   1984 fi
   1985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1986   done
   1987 else
   1988   ac_lo= ac_hi=
   1989 fi
   1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1991 fi
   1992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1993 # Binary search between lo and hi bounds.
   1994 while test "x$ac_lo" != "x$ac_hi"; do
   1995   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   1996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1997 /* end confdefs.h.  */
   1998 $4
   1999 int
   2000 main ()
   2001 {
   2002 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2003 test_array [0] = 0
   2004 
   2005   ;
   2006   return 0;
   2007 }
   2008 _ACEOF
   2009 if ac_fn_c_try_compile "$LINENO"; then :
   2010   ac_hi=$ac_mid
   2011 else
   2012   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2013 fi
   2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2015 done
   2016 case $ac_lo in #((
   2017 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2018 '') ac_retval=1 ;;
   2019 esac
   2020   else
   2021     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2022 /* end confdefs.h.  */
   2023 $4
   2024 static long int longval () { return $2; }
   2025 static unsigned long int ulongval () { return $2; }
   2026 #include <stdio.h>
   2027 #include <stdlib.h>
   2028 int
   2029 main ()
   2030 {
   2031 
   2032   FILE *f = fopen ("conftest.val", "w");
   2033   if (! f)
   2034     return 1;
   2035   if (($2) < 0)
   2036     {
   2037       long int i = longval ();
   2038       if (i != ($2))
   2039 	return 1;
   2040       fprintf (f, "%ld", i);
   2041     }
   2042   else
   2043     {
   2044       unsigned long int i = ulongval ();
   2045       if (i != ($2))
   2046 	return 1;
   2047       fprintf (f, "%lu", i);
   2048     }
   2049   /* Do not output a trailing newline, as this causes \r\n confusion
   2050      on some platforms.  */
   2051   return ferror (f) || fclose (f) != 0;
   2052 
   2053   ;
   2054   return 0;
   2055 }
   2056 _ACEOF
   2057 if ac_fn_c_try_run "$LINENO"; then :
   2058   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2059 else
   2060   ac_retval=1
   2061 fi
   2062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2063   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2064 rm -f conftest.val
   2065 
   2066   fi
   2067   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2068   return $ac_retval
   2069 
   2070 } # ac_fn_c_compute_int
   2071 
   2072 # ac_fn_c_check_decl LINENO SYMBOL VAR
   2073 # ------------------------------------
   2074 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
   2075 ac_fn_c_check_decl ()
   2076 {
   2077   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2078   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2079   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2081 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2082 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
   2083   $as_echo_n "(cached) " >&6
   2084 else
   2085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2086 /* end confdefs.h.  */
   2087 $4
   2088 int
   2089 main ()
   2090 {
   2091 #ifndef $as_decl_name
   2092 #ifdef __cplusplus
   2093   (void) $as_decl_use;
   2094 #else
   2095   (void) $as_decl_name;
   2096 #endif
   2097 #endif
   2098 
   2099   ;
   2100   return 0;
   2101 }
   2102 _ACEOF
   2103 if ac_fn_c_try_compile "$LINENO"; then :
   2104   eval "$3=yes"
   2105 else
   2106   eval "$3=no"
   2107 fi
   2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2109 fi
   2110 eval ac_res=\$$3
   2111 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2112 $as_echo "$ac_res" >&6; }
   2113   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2114 
   2115 } # ac_fn_c_check_decl
   2116 cat >config.log <<_ACEOF
   2117 This file contains any messages produced by compilers while
   2118 running configure, to aid debugging if configure makes a mistake.
   2119 
   2120 It was created by package-unused $as_me version-unused, which was
   2121 generated by GNU Autoconf 2.64.  Invocation command line was
   2122 
   2123   $ $0 $@
   2124 
   2125 _ACEOF
   2126 exec 5>>config.log
   2127 {
   2128 cat <<_ASUNAME
   2129 ## --------- ##
   2130 ## Platform. ##
   2131 ## --------- ##
   2132 
   2133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2138 
   2139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2140 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2141 
   2142 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2143 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2145 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2146 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2147 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2148 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2149 
   2150 _ASUNAME
   2151 
   2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2153 for as_dir in $PATH
   2154 do
   2155   IFS=$as_save_IFS
   2156   test -z "$as_dir" && as_dir=.
   2157     $as_echo "PATH: $as_dir"
   2158   done
   2159 IFS=$as_save_IFS
   2160 
   2161 } >&5
   2162 
   2163 cat >&5 <<_ACEOF
   2164 
   2165 
   2166 ## ----------- ##
   2167 ## Core tests. ##
   2168 ## ----------- ##
   2169 
   2170 _ACEOF
   2171 
   2172 
   2173 # Keep a trace of the command line.
   2174 # Strip out --no-create and --no-recursion so they do not pile up.
   2175 # Strip out --silent because we don't want to record it for future runs.
   2176 # Also quote any args containing shell meta-characters.
   2177 # Make two passes to allow for proper duplicate-argument suppression.
   2178 ac_configure_args=
   2179 ac_configure_args0=
   2180 ac_configure_args1=
   2181 ac_must_keep_next=false
   2182 for ac_pass in 1 2
   2183 do
   2184   for ac_arg
   2185   do
   2186     case $ac_arg in
   2187     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2188     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2189     | -silent | --silent | --silen | --sile | --sil)
   2190       continue ;;
   2191     *\'*)
   2192       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2193     esac
   2194     case $ac_pass in
   2195     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2196     2)
   2197       as_fn_append ac_configure_args1 " '$ac_arg'"
   2198       if test $ac_must_keep_next = true; then
   2199 	ac_must_keep_next=false # Got value, back to normal.
   2200       else
   2201 	case $ac_arg in
   2202 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2203 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2204 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2205 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2206 	    case "$ac_configure_args0 " in
   2207 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2208 	    esac
   2209 	    ;;
   2210 	  -* ) ac_must_keep_next=true ;;
   2211 	esac
   2212       fi
   2213       as_fn_append ac_configure_args " '$ac_arg'"
   2214       ;;
   2215     esac
   2216   done
   2217 done
   2218 { ac_configure_args0=; unset ac_configure_args0;}
   2219 { ac_configure_args1=; unset ac_configure_args1;}
   2220 
   2221 # When interrupted or exit'd, cleanup temporary files, and complete
   2222 # config.log.  We remove comments because anyway the quotes in there
   2223 # would cause problems or look ugly.
   2224 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2225 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2226 trap 'exit_status=$?
   2227   # Save into config.log some information that might help in debugging.
   2228   {
   2229     echo
   2230 
   2231     cat <<\_ASBOX
   2232 ## ---------------- ##
   2233 ## Cache variables. ##
   2234 ## ---------------- ##
   2235 _ASBOX
   2236     echo
   2237     # The following way of writing the cache mishandles newlines in values,
   2238 (
   2239   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2240     eval ac_val=\$$ac_var
   2241     case $ac_val in #(
   2242     *${as_nl}*)
   2243       case $ac_var in #(
   2244       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2245 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2246       esac
   2247       case $ac_var in #(
   2248       _ | IFS | as_nl) ;; #(
   2249       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2250       *) { eval $ac_var=; unset $ac_var;} ;;
   2251       esac ;;
   2252     esac
   2253   done
   2254   (set) 2>&1 |
   2255     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2256     *${as_nl}ac_space=\ *)
   2257       sed -n \
   2258 	"s/'\''/'\''\\\\'\'''\''/g;
   2259 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2260       ;; #(
   2261     *)
   2262       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2263       ;;
   2264     esac |
   2265     sort
   2266 )
   2267     echo
   2268 
   2269     cat <<\_ASBOX
   2270 ## ----------------- ##
   2271 ## Output variables. ##
   2272 ## ----------------- ##
   2273 _ASBOX
   2274     echo
   2275     for ac_var in $ac_subst_vars
   2276     do
   2277       eval ac_val=\$$ac_var
   2278       case $ac_val in
   2279       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2280       esac
   2281       $as_echo "$ac_var='\''$ac_val'\''"
   2282     done | sort
   2283     echo
   2284 
   2285     if test -n "$ac_subst_files"; then
   2286       cat <<\_ASBOX
   2287 ## ------------------- ##
   2288 ## File substitutions. ##
   2289 ## ------------------- ##
   2290 _ASBOX
   2291       echo
   2292       for ac_var in $ac_subst_files
   2293       do
   2294 	eval ac_val=\$$ac_var
   2295 	case $ac_val in
   2296 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2297 	esac
   2298 	$as_echo "$ac_var='\''$ac_val'\''"
   2299       done | sort
   2300       echo
   2301     fi
   2302 
   2303     if test -s confdefs.h; then
   2304       cat <<\_ASBOX
   2305 ## ----------- ##
   2306 ## confdefs.h. ##
   2307 ## ----------- ##
   2308 _ASBOX
   2309       echo
   2310       cat confdefs.h
   2311       echo
   2312     fi
   2313     test "$ac_signal" != 0 &&
   2314       $as_echo "$as_me: caught signal $ac_signal"
   2315     $as_echo "$as_me: exit $exit_status"
   2316   } >&5
   2317   rm -f core *.core core.conftest.* &&
   2318     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2319     exit $exit_status
   2320 ' 0
   2321 for ac_signal in 1 2 13 15; do
   2322   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2323 done
   2324 ac_signal=0
   2325 
   2326 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2327 rm -f -r conftest* confdefs.h
   2328 
   2329 $as_echo "/* confdefs.h */" > confdefs.h
   2330 
   2331 # Predefined preprocessor variables.
   2332 
   2333 cat >>confdefs.h <<_ACEOF
   2334 #define PACKAGE_NAME "$PACKAGE_NAME"
   2335 _ACEOF
   2336 
   2337 cat >>confdefs.h <<_ACEOF
   2338 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2339 _ACEOF
   2340 
   2341 cat >>confdefs.h <<_ACEOF
   2342 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2343 _ACEOF
   2344 
   2345 cat >>confdefs.h <<_ACEOF
   2346 #define PACKAGE_STRING "$PACKAGE_STRING"
   2347 _ACEOF
   2348 
   2349 cat >>confdefs.h <<_ACEOF
   2350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2351 _ACEOF
   2352 
   2353 cat >>confdefs.h <<_ACEOF
   2354 #define PACKAGE_URL "$PACKAGE_URL"
   2355 _ACEOF
   2356 
   2357 
   2358 # Let the site file select an alternate cache file if it wants to.
   2359 # Prefer an explicitly selected file to automatically selected ones.
   2360 ac_site_file1=NONE
   2361 ac_site_file2=NONE
   2362 if test -n "$CONFIG_SITE"; then
   2363   ac_site_file1=$CONFIG_SITE
   2364 elif test "x$prefix" != xNONE; then
   2365   ac_site_file1=$prefix/share/config.site
   2366   ac_site_file2=$prefix/etc/config.site
   2367 else
   2368   ac_site_file1=$ac_default_prefix/share/config.site
   2369   ac_site_file2=$ac_default_prefix/etc/config.site
   2370 fi
   2371 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2372 do
   2373   test "x$ac_site_file" = xNONE && continue
   2374   if test -r "$ac_site_file"; then
   2375     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2376 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2377     sed 's/^/| /' "$ac_site_file" >&5
   2378     . "$ac_site_file"
   2379   fi
   2380 done
   2381 
   2382 if test -r "$cache_file"; then
   2383   # Some versions of bash will fail to source /dev/null (special
   2384   # files actually), so we avoid doing that.
   2385   if test -f "$cache_file"; then
   2386     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2387 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2388     case $cache_file in
   2389       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2390       *)                      . "./$cache_file";;
   2391     esac
   2392   fi
   2393 else
   2394   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2395 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2396   >$cache_file
   2397 fi
   2398 
   2399 # Check that the precious variables saved in the cache have kept the same
   2400 # value.
   2401 ac_cache_corrupted=false
   2402 for ac_var in $ac_precious_vars; do
   2403   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2404   eval ac_new_set=\$ac_env_${ac_var}_set
   2405   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2406   eval ac_new_val=\$ac_env_${ac_var}_value
   2407   case $ac_old_set,$ac_new_set in
   2408     set,)
   2409       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2410 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2411       ac_cache_corrupted=: ;;
   2412     ,set)
   2413       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2414 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2415       ac_cache_corrupted=: ;;
   2416     ,);;
   2417     *)
   2418       if test "x$ac_old_val" != "x$ac_new_val"; then
   2419 	# differences in whitespace do not lead to failure.
   2420 	ac_old_val_w=`echo x $ac_old_val`
   2421 	ac_new_val_w=`echo x $ac_new_val`
   2422 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2423 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2424 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2425 	  ac_cache_corrupted=:
   2426 	else
   2427 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2428 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2429 	  eval $ac_var=\$ac_old_val
   2430 	fi
   2431 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2432 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2433 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2434 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2435       fi;;
   2436   esac
   2437   # Pass precious variables to config.status.
   2438   if test "$ac_new_set" = set; then
   2439     case $ac_new_val in
   2440     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2441     *) ac_arg=$ac_var=$ac_new_val ;;
   2442     esac
   2443     case " $ac_configure_args " in
   2444       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2445       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2446     esac
   2447   fi
   2448 done
   2449 if $ac_cache_corrupted; then
   2450   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2452   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2453 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2454   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2455 fi
   2456 ## -------------------- ##
   2457 ## Main body of script. ##
   2458 ## -------------------- ##
   2459 
   2460 ac_ext=c
   2461 ac_cpp='$CPP $CPPFLAGS'
   2462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2465 
   2466 
   2467 
   2468 
   2469 
   2470 
   2471 ac_config_headers="$ac_config_headers config.h"
   2472 
   2473 
   2474 if test -n "${with_target_subdir}"; then
   2475   # Default to --enable-multilib
   2476 # Check whether --enable-multilib was given.
   2477 if test "${enable_multilib+set}" = set; then :
   2478   enableval=$enable_multilib; case "$enableval" in
   2479   yes) multilib=yes ;;
   2480   no)  multilib=no ;;
   2481   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
   2482  esac
   2483 else
   2484   multilib=yes
   2485 fi
   2486 
   2487 
   2488 # We may get other options which we leave undocumented:
   2489 # --with-target-subdir, --with-multisrctop, --with-multisubdir
   2490 # See config-ml.in if you want the gory details.
   2491 
   2492 if test "$srcdir" = "."; then
   2493   if test "$with_target_subdir" != "."; then
   2494     multi_basedir="$srcdir/$with_multisrctop../.."
   2495   else
   2496     multi_basedir="$srcdir/$with_multisrctop.."
   2497   fi
   2498 else
   2499   multi_basedir="$srcdir/.."
   2500 fi
   2501 
   2502 
   2503 # Even if the default multilib is not a cross compilation,
   2504 # it may be that some of the other multilibs are.
   2505 if test $cross_compiling = no && test $multilib = yes \
   2506    && test "x${with_multisubdir}" != x ; then
   2507    cross_compiling=maybe
   2508 fi
   2509 
   2510 ac_config_commands="$ac_config_commands default-1"
   2511 
   2512 fi
   2513 
   2514 ac_aux_dir=
   2515 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2516   for ac_t in install-sh install.sh shtool; do
   2517     if test -f "$ac_dir/$ac_t"; then
   2518       ac_aux_dir=$ac_dir
   2519       ac_install_sh="$SHELL $ac_aux_dir/$ac_t -c"
   2520       break 2
   2521     fi
   2522   done
   2523 done
   2524 if test -z "$ac_aux_dir"; then
   2525   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2526 fi
   2527 
   2528 # These three variables are undocumented and unsupported,
   2529 # and are intended to be withdrawn in a future Autoconf release.
   2530 # They can cause serious problems if a builder's source tree is in a directory
   2531 # whose full name contains unusual characters.
   2532 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2533 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2534 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2535 
   2536 
   2537 # Make sure we can run config.sub.
   2538 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2539   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2540 
   2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2542 $as_echo_n "checking build system type... " >&6; }
   2543 if test "${ac_cv_build+set}" = set; then :
   2544   $as_echo_n "(cached) " >&6
   2545 else
   2546   ac_build_alias=$build_alias
   2547 test "x$ac_build_alias" = x &&
   2548   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2549 test "x$ac_build_alias" = x &&
   2550   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
   2551 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2552   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2553 
   2554 fi
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2556 $as_echo "$ac_cv_build" >&6; }
   2557 case $ac_cv_build in
   2558 *-*-*) ;;
   2559 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
   2560 esac
   2561 build=$ac_cv_build
   2562 ac_save_IFS=$IFS; IFS='-'
   2563 set x $ac_cv_build
   2564 shift
   2565 build_cpu=$1
   2566 build_vendor=$2
   2567 shift; shift
   2568 # Remember, the first character of IFS is used to create $*,
   2569 # except with old shells:
   2570 build_os=$*
   2571 IFS=$ac_save_IFS
   2572 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2573 
   2574 
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2576 $as_echo_n "checking host system type... " >&6; }
   2577 if test "${ac_cv_host+set}" = set; then :
   2578   $as_echo_n "(cached) " >&6
   2579 else
   2580   if test "x$host_alias" = x; then
   2581   ac_cv_host=$ac_cv_build
   2582 else
   2583   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2584     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2585 fi
   2586 
   2587 fi
   2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2589 $as_echo "$ac_cv_host" >&6; }
   2590 case $ac_cv_host in
   2591 *-*-*) ;;
   2592 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
   2593 esac
   2594 host=$ac_cv_host
   2595 ac_save_IFS=$IFS; IFS='-'
   2596 set x $ac_cv_host
   2597 shift
   2598 host_cpu=$1
   2599 host_vendor=$2
   2600 shift; shift
   2601 # Remember, the first character of IFS is used to create $*,
   2602 # except with old shells:
   2603 host_os=$*
   2604 IFS=$ac_save_IFS
   2605 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2606 
   2607 
   2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2609 $as_echo_n "checking target system type... " >&6; }
   2610 if test "${ac_cv_target+set}" = set; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   if test "x$target_alias" = x; then
   2614   ac_cv_target=$ac_cv_host
   2615 else
   2616   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2617     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2618 fi
   2619 
   2620 fi
   2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2622 $as_echo "$ac_cv_target" >&6; }
   2623 case $ac_cv_target in
   2624 *-*-*) ;;
   2625 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
   2626 esac
   2627 target=$ac_cv_target
   2628 ac_save_IFS=$IFS; IFS='-'
   2629 set x $ac_cv_target
   2630 shift
   2631 target_cpu=$1
   2632 target_vendor=$2
   2633 shift; shift
   2634 # Remember, the first character of IFS is used to create $*,
   2635 # except with old shells:
   2636 target_os=$*
   2637 IFS=$ac_save_IFS
   2638 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2639 
   2640 
   2641 # The aliases save the names the user supplied, while $host etc.
   2642 # will get canonicalized.
   2643 test -n "$target_alias" &&
   2644   test "$program_prefix$program_suffix$program_transform_name" = \
   2645     NONENONEs,x,x, &&
   2646   program_prefix=${target_alias}-
   2647 
   2648 target_alias=${target_alias-$host_alias}
   2649 
   2650 ac_ext=c
   2651 ac_cpp='$CPP $CPPFLAGS'
   2652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2655 if test -n "$ac_tool_prefix"; then
   2656   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2657 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2659 $as_echo_n "checking for $ac_word... " >&6; }
   2660 if test "${ac_cv_prog_CC+set}" = set; then :
   2661   $as_echo_n "(cached) " >&6
   2662 else
   2663   if test -n "$CC"; then
   2664   ac_cv_prog_CC="$CC" # Let the user override the test.
   2665 else
   2666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2667 for as_dir in $PATH
   2668 do
   2669   IFS=$as_save_IFS
   2670   test -z "$as_dir" && as_dir=.
   2671     for ac_exec_ext in '' $ac_executable_extensions; do
   2672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2673     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2675     break 2
   2676   fi
   2677 done
   2678   done
   2679 IFS=$as_save_IFS
   2680 
   2681 fi
   2682 fi
   2683 CC=$ac_cv_prog_CC
   2684 if test -n "$CC"; then
   2685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2686 $as_echo "$CC" >&6; }
   2687 else
   2688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2689 $as_echo "no" >&6; }
   2690 fi
   2691 
   2692 
   2693 fi
   2694 if test -z "$ac_cv_prog_CC"; then
   2695   ac_ct_CC=$CC
   2696   # Extract the first word of "gcc", so it can be a program name with args.
   2697 set dummy gcc; ac_word=$2
   2698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2699 $as_echo_n "checking for $ac_word... " >&6; }
   2700 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2701   $as_echo_n "(cached) " >&6
   2702 else
   2703   if test -n "$ac_ct_CC"; then
   2704   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2705 else
   2706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2707 for as_dir in $PATH
   2708 do
   2709   IFS=$as_save_IFS
   2710   test -z "$as_dir" && as_dir=.
   2711     for ac_exec_ext in '' $ac_executable_extensions; do
   2712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2713     ac_cv_prog_ac_ct_CC="gcc"
   2714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2715     break 2
   2716   fi
   2717 done
   2718   done
   2719 IFS=$as_save_IFS
   2720 
   2721 fi
   2722 fi
   2723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2724 if test -n "$ac_ct_CC"; then
   2725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2726 $as_echo "$ac_ct_CC" >&6; }
   2727 else
   2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2729 $as_echo "no" >&6; }
   2730 fi
   2731 
   2732   if test "x$ac_ct_CC" = x; then
   2733     CC=""
   2734   else
   2735     case $cross_compiling:$ac_tool_warned in
   2736 yes:)
   2737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2739 ac_tool_warned=yes ;;
   2740 esac
   2741     CC=$ac_ct_CC
   2742   fi
   2743 else
   2744   CC="$ac_cv_prog_CC"
   2745 fi
   2746 
   2747 if test -z "$CC"; then
   2748           if test -n "$ac_tool_prefix"; then
   2749     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2750 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2752 $as_echo_n "checking for $ac_word... " >&6; }
   2753 if test "${ac_cv_prog_CC+set}" = set; then :
   2754   $as_echo_n "(cached) " >&6
   2755 else
   2756   if test -n "$CC"; then
   2757   ac_cv_prog_CC="$CC" # Let the user override the test.
   2758 else
   2759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2760 for as_dir in $PATH
   2761 do
   2762   IFS=$as_save_IFS
   2763   test -z "$as_dir" && as_dir=.
   2764     for ac_exec_ext in '' $ac_executable_extensions; do
   2765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2766     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2768     break 2
   2769   fi
   2770 done
   2771   done
   2772 IFS=$as_save_IFS
   2773 
   2774 fi
   2775 fi
   2776 CC=$ac_cv_prog_CC
   2777 if test -n "$CC"; then
   2778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2779 $as_echo "$CC" >&6; }
   2780 else
   2781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2782 $as_echo "no" >&6; }
   2783 fi
   2784 
   2785 
   2786   fi
   2787 fi
   2788 if test -z "$CC"; then
   2789   # Extract the first word of "cc", so it can be a program name with args.
   2790 set dummy cc; ac_word=$2
   2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2792 $as_echo_n "checking for $ac_word... " >&6; }
   2793 if test "${ac_cv_prog_CC+set}" = set; then :
   2794   $as_echo_n "(cached) " >&6
   2795 else
   2796   if test -n "$CC"; then
   2797   ac_cv_prog_CC="$CC" # Let the user override the test.
   2798 else
   2799   ac_prog_rejected=no
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805     for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2807     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2808        ac_prog_rejected=yes
   2809        continue
   2810      fi
   2811     ac_cv_prog_CC="cc"
   2812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2813     break 2
   2814   fi
   2815 done
   2816   done
   2817 IFS=$as_save_IFS
   2818 
   2819 if test $ac_prog_rejected = yes; then
   2820   # We found a bogon in the path, so make sure we never use it.
   2821   set dummy $ac_cv_prog_CC
   2822   shift
   2823   if test $# != 0; then
   2824     # We chose a different compiler from the bogus one.
   2825     # However, it has the same basename, so the bogon will be chosen
   2826     # first if we set CC to just the basename; use the full file name.
   2827     shift
   2828     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2829   fi
   2830 fi
   2831 fi
   2832 fi
   2833 CC=$ac_cv_prog_CC
   2834 if test -n "$CC"; then
   2835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2836 $as_echo "$CC" >&6; }
   2837 else
   2838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2839 $as_echo "no" >&6; }
   2840 fi
   2841 
   2842 
   2843 fi
   2844 if test -z "$CC"; then
   2845   if test -n "$ac_tool_prefix"; then
   2846   for ac_prog in cl.exe
   2847   do
   2848     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2849 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2851 $as_echo_n "checking for $ac_word... " >&6; }
   2852 if test "${ac_cv_prog_CC+set}" = set; then :
   2853   $as_echo_n "(cached) " >&6
   2854 else
   2855   if test -n "$CC"; then
   2856   ac_cv_prog_CC="$CC" # Let the user override the test.
   2857 else
   2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2859 for as_dir in $PATH
   2860 do
   2861   IFS=$as_save_IFS
   2862   test -z "$as_dir" && as_dir=.
   2863     for ac_exec_ext in '' $ac_executable_extensions; do
   2864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2865     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2867     break 2
   2868   fi
   2869 done
   2870   done
   2871 IFS=$as_save_IFS
   2872 
   2873 fi
   2874 fi
   2875 CC=$ac_cv_prog_CC
   2876 if test -n "$CC"; then
   2877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2878 $as_echo "$CC" >&6; }
   2879 else
   2880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2881 $as_echo "no" >&6; }
   2882 fi
   2883 
   2884 
   2885     test -n "$CC" && break
   2886   done
   2887 fi
   2888 if test -z "$CC"; then
   2889   ac_ct_CC=$CC
   2890   for ac_prog in cl.exe
   2891 do
   2892   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2893 set dummy $ac_prog; ac_word=$2
   2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2895 $as_echo_n "checking for $ac_word... " >&6; }
   2896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   2897   $as_echo_n "(cached) " >&6
   2898 else
   2899   if test -n "$ac_ct_CC"; then
   2900   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2901 else
   2902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2903 for as_dir in $PATH
   2904 do
   2905   IFS=$as_save_IFS
   2906   test -z "$as_dir" && as_dir=.
   2907     for ac_exec_ext in '' $ac_executable_extensions; do
   2908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2909     ac_cv_prog_ac_ct_CC="$ac_prog"
   2910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2911     break 2
   2912   fi
   2913 done
   2914   done
   2915 IFS=$as_save_IFS
   2916 
   2917 fi
   2918 fi
   2919 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2920 if test -n "$ac_ct_CC"; then
   2921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2922 $as_echo "$ac_ct_CC" >&6; }
   2923 else
   2924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2925 $as_echo "no" >&6; }
   2926 fi
   2927 
   2928 
   2929   test -n "$ac_ct_CC" && break
   2930 done
   2931 
   2932   if test "x$ac_ct_CC" = x; then
   2933     CC=""
   2934   else
   2935     case $cross_compiling:$ac_tool_warned in
   2936 yes:)
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2939 ac_tool_warned=yes ;;
   2940 esac
   2941     CC=$ac_ct_CC
   2942   fi
   2943 fi
   2944 
   2945 fi
   2946 
   2947 
   2948 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2950 as_fn_error "no acceptable C compiler found in \$PATH
   2951 See \`config.log' for more details." "$LINENO" 5; }
   2952 
   2953 # Provide some information about the compiler.
   2954 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2955 set X $ac_compile
   2956 ac_compiler=$2
   2957 for ac_option in --version -v -V -qversion; do
   2958   { { ac_try="$ac_compiler $ac_option >&5"
   2959 case "(($ac_try" in
   2960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2961   *) ac_try_echo=$ac_try;;
   2962 esac
   2963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2964 $as_echo "$ac_try_echo"; } >&5
   2965   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2966   ac_status=$?
   2967   if test -s conftest.err; then
   2968     sed '10a\
   2969 ... rest of stderr output deleted ...
   2970          10q' conftest.err >conftest.er1
   2971     cat conftest.er1 >&5
   2972     rm -f conftest.er1 conftest.err
   2973   fi
   2974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2975   test $ac_status = 0; }
   2976 done
   2977 
   2978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2979 /* end confdefs.h.  */
   2980 
   2981 int
   2982 main ()
   2983 {
   2984 
   2985   ;
   2986   return 0;
   2987 }
   2988 _ACEOF
   2989 ac_clean_files_save=$ac_clean_files
   2990 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
   2991 # Try to create an executable without -o first, disregard a.out.
   2992 # It will help us diagnose broken compilers, and finding out an intuition
   2993 # of exeext.
   2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2995 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2996 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2997 
   2998 # The possible output files:
   2999 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3000 
   3001 ac_rmfiles=
   3002 for ac_file in $ac_files
   3003 do
   3004   case $ac_file in
   3005     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3006     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3007   esac
   3008 done
   3009 rm -f $ac_rmfiles
   3010 
   3011 if { { ac_try="$ac_link_default"
   3012 case "(($ac_try" in
   3013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3014   *) ac_try_echo=$ac_try;;
   3015 esac
   3016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3017 $as_echo "$ac_try_echo"; } >&5
   3018   (eval "$ac_link_default") 2>&5
   3019   ac_status=$?
   3020   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3021   test $ac_status = 0; }; then :
   3022   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3023 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3024 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3025 # so that the user can short-circuit this test for compilers unknown to
   3026 # Autoconf.
   3027 for ac_file in $ac_files ''
   3028 do
   3029   test -f "$ac_file" || continue
   3030   case $ac_file in
   3031     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3032 	;;
   3033     [ab].out )
   3034 	# We found the default executable, but exeext='' is most
   3035 	# certainly right.
   3036 	break;;
   3037     *.* )
   3038 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3039 	then :; else
   3040 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3041 	fi
   3042 	# We set ac_cv_exeext here because the later test for it is not
   3043 	# safe: cross compilers may not add the suffix if given an `-o'
   3044 	# argument, so we may need to know it at that point already.
   3045 	# Even if this section looks crufty: it has the advantage of
   3046 	# actually working.
   3047 	break;;
   3048     * )
   3049 	break;;
   3050   esac
   3051 done
   3052 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3053 
   3054 else
   3055   ac_file=''
   3056 fi
   3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3058 $as_echo "$ac_file" >&6; }
   3059 if test -z "$ac_file"; then :
   3060   $as_echo "$as_me: failed program was:" >&5
   3061 sed 's/^/| /' conftest.$ac_ext >&5
   3062 
   3063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3065 { as_fn_set_status 77
   3066 as_fn_error "C compiler cannot create executables
   3067 See \`config.log' for more details." "$LINENO" 5; }; }
   3068 fi
   3069 ac_exeext=$ac_cv_exeext
   3070 
   3071 # Check that the compiler produces executables we can run.  If not, either
   3072 # the compiler is broken, or we cross compile.
   3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3074 $as_echo_n "checking whether the C compiler works... " >&6; }
   3075 # If not cross compiling, check that we can run a simple program.
   3076 if test "$cross_compiling" != yes; then
   3077   if { ac_try='./$ac_file'
   3078   { { case "(($ac_try" in
   3079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3080   *) ac_try_echo=$ac_try;;
   3081 esac
   3082 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3083 $as_echo "$ac_try_echo"; } >&5
   3084   (eval "$ac_try") 2>&5
   3085   ac_status=$?
   3086   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3087   test $ac_status = 0; }; }; then
   3088     cross_compiling=no
   3089   else
   3090     if test "$cross_compiling" = maybe; then
   3091 	cross_compiling=yes
   3092     else
   3093 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3095 as_fn_error "cannot run C compiled programs.
   3096 If you meant to cross compile, use \`--host'.
   3097 See \`config.log' for more details." "$LINENO" 5; }
   3098     fi
   3099   fi
   3100 fi
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3102 $as_echo "yes" >&6; }
   3103 
   3104 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
   3105 ac_clean_files=$ac_clean_files_save
   3106 # Check that the compiler produces executables we can run.  If not, either
   3107 # the compiler is broken, or we cross compile.
   3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3109 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3111 $as_echo "$cross_compiling" >&6; }
   3112 
   3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3114 $as_echo_n "checking for suffix of executables... " >&6; }
   3115 if { { ac_try="$ac_link"
   3116 case "(($ac_try" in
   3117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3118   *) ac_try_echo=$ac_try;;
   3119 esac
   3120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3121 $as_echo "$ac_try_echo"; } >&5
   3122   (eval "$ac_link") 2>&5
   3123   ac_status=$?
   3124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3125   test $ac_status = 0; }; then :
   3126   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3127 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3128 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3129 # `rm'.
   3130 for ac_file in conftest.exe conftest conftest.*; do
   3131   test -f "$ac_file" || continue
   3132   case $ac_file in
   3133     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3134     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3135 	  break;;
   3136     * ) break;;
   3137   esac
   3138 done
   3139 else
   3140   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3142 as_fn_error "cannot compute suffix of executables: cannot compile and link
   3143 See \`config.log' for more details." "$LINENO" 5; }
   3144 fi
   3145 rm -f conftest$ac_cv_exeext
   3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3147 $as_echo "$ac_cv_exeext" >&6; }
   3148 
   3149 rm -f conftest.$ac_ext
   3150 EXEEXT=$ac_cv_exeext
   3151 ac_exeext=$EXEEXT
   3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3153 $as_echo_n "checking for suffix of object files... " >&6; }
   3154 if test "${ac_cv_objext+set}" = set; then :
   3155   $as_echo_n "(cached) " >&6
   3156 else
   3157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3158 /* end confdefs.h.  */
   3159 
   3160 int
   3161 main ()
   3162 {
   3163 
   3164   ;
   3165   return 0;
   3166 }
   3167 _ACEOF
   3168 rm -f conftest.o conftest.obj
   3169 if { { ac_try="$ac_compile"
   3170 case "(($ac_try" in
   3171   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3172   *) ac_try_echo=$ac_try;;
   3173 esac
   3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3175 $as_echo "$ac_try_echo"; } >&5
   3176   (eval "$ac_compile") 2>&5
   3177   ac_status=$?
   3178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3179   test $ac_status = 0; }; then :
   3180   for ac_file in conftest.o conftest.obj conftest.*; do
   3181   test -f "$ac_file" || continue;
   3182   case $ac_file in
   3183     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3184     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3185        break;;
   3186   esac
   3187 done
   3188 else
   3189   $as_echo "$as_me: failed program was:" >&5
   3190 sed 's/^/| /' conftest.$ac_ext >&5
   3191 
   3192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3194 as_fn_error "cannot compute suffix of object files: cannot compile
   3195 See \`config.log' for more details." "$LINENO" 5; }
   3196 fi
   3197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3198 fi
   3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3200 $as_echo "$ac_cv_objext" >&6; }
   3201 OBJEXT=$ac_cv_objext
   3202 ac_objext=$OBJEXT
   3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3204 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3205 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   3206   $as_echo_n "(cached) " >&6
   3207 else
   3208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3209 /* end confdefs.h.  */
   3210 
   3211 int
   3212 main ()
   3213 {
   3214 #ifndef __GNUC__
   3215        choke me
   3216 #endif
   3217 
   3218   ;
   3219   return 0;
   3220 }
   3221 _ACEOF
   3222 if ac_fn_c_try_compile "$LINENO"; then :
   3223   ac_compiler_gnu=yes
   3224 else
   3225   ac_compiler_gnu=no
   3226 fi
   3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3229 
   3230 fi
   3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3232 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3233 if test $ac_compiler_gnu = yes; then
   3234   GCC=yes
   3235 else
   3236   GCC=
   3237 fi
   3238 ac_test_CFLAGS=${CFLAGS+set}
   3239 ac_save_CFLAGS=$CFLAGS
   3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3241 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3242 if test "${ac_cv_prog_cc_g+set}" = set; then :
   3243   $as_echo_n "(cached) " >&6
   3244 else
   3245   ac_save_c_werror_flag=$ac_c_werror_flag
   3246    ac_c_werror_flag=yes
   3247    ac_cv_prog_cc_g=no
   3248    CFLAGS="-g"
   3249    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3250 /* end confdefs.h.  */
   3251 
   3252 int
   3253 main ()
   3254 {
   3255 
   3256   ;
   3257   return 0;
   3258 }
   3259 _ACEOF
   3260 if ac_fn_c_try_compile "$LINENO"; then :
   3261   ac_cv_prog_cc_g=yes
   3262 else
   3263   CFLAGS=""
   3264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3265 /* end confdefs.h.  */
   3266 
   3267 int
   3268 main ()
   3269 {
   3270 
   3271   ;
   3272   return 0;
   3273 }
   3274 _ACEOF
   3275 if ac_fn_c_try_compile "$LINENO"; then :
   3276 
   3277 else
   3278   ac_c_werror_flag=$ac_save_c_werror_flag
   3279 	 CFLAGS="-g"
   3280 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3281 /* end confdefs.h.  */
   3282 
   3283 int
   3284 main ()
   3285 {
   3286 
   3287   ;
   3288   return 0;
   3289 }
   3290 _ACEOF
   3291 if ac_fn_c_try_compile "$LINENO"; then :
   3292   ac_cv_prog_cc_g=yes
   3293 fi
   3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3295 fi
   3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3297 fi
   3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3299    ac_c_werror_flag=$ac_save_c_werror_flag
   3300 fi
   3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3302 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3303 if test "$ac_test_CFLAGS" = set; then
   3304   CFLAGS=$ac_save_CFLAGS
   3305 elif test $ac_cv_prog_cc_g = yes; then
   3306   if test "$GCC" = yes; then
   3307     CFLAGS="-g -O2"
   3308   else
   3309     CFLAGS="-g"
   3310   fi
   3311 else
   3312   if test "$GCC" = yes; then
   3313     CFLAGS="-O2"
   3314   else
   3315     CFLAGS=
   3316   fi
   3317 fi
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3319 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3320 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   3321   $as_echo_n "(cached) " >&6
   3322 else
   3323   ac_cv_prog_cc_c89=no
   3324 ac_save_CC=$CC
   3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3326 /* end confdefs.h.  */
   3327 #include <stdarg.h>
   3328 #include <stdio.h>
   3329 #include <sys/types.h>
   3330 #include <sys/stat.h>
   3331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3332 struct buf { int x; };
   3333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3334 static char *e (p, i)
   3335      char **p;
   3336      int i;
   3337 {
   3338   return p[i];
   3339 }
   3340 static char *f (char * (*g) (char **, int), char **p, ...)
   3341 {
   3342   char *s;
   3343   va_list v;
   3344   va_start (v,p);
   3345   s = g (p, va_arg (v,int));
   3346   va_end (v);
   3347   return s;
   3348 }
   3349 
   3350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3351    function prototypes and stuff, but not '\xHH' hex character constants.
   3352    These don't provoke an error unfortunately, instead are silently treated
   3353    as 'x'.  The following induces an error, until -std is added to get
   3354    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3355    array size at least.  It's necessary to write '\x00'==0 to get something
   3356    that's true only with -std.  */
   3357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3358 
   3359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3360    inside strings and character constants.  */
   3361 #define FOO(x) 'x'
   3362 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3363 
   3364 int test (int i, double x);
   3365 struct s1 {int (*f) (int a);};
   3366 struct s2 {int (*f) (double a);};
   3367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3368 int argc;
   3369 char **argv;
   3370 int
   3371 main ()
   3372 {
   3373 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3374   ;
   3375   return 0;
   3376 }
   3377 _ACEOF
   3378 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3379 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3380 do
   3381   CC="$ac_save_CC $ac_arg"
   3382   if ac_fn_c_try_compile "$LINENO"; then :
   3383   ac_cv_prog_cc_c89=$ac_arg
   3384 fi
   3385 rm -f core conftest.err conftest.$ac_objext
   3386   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3387 done
   3388 rm -f conftest.$ac_ext
   3389 CC=$ac_save_CC
   3390 
   3391 fi
   3392 # AC_CACHE_VAL
   3393 case "x$ac_cv_prog_cc_c89" in
   3394   x)
   3395     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3396 $as_echo "none needed" >&6; } ;;
   3397   xno)
   3398     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3399 $as_echo "unsupported" >&6; } ;;
   3400   *)
   3401     CC="$CC $ac_cv_prog_cc_c89"
   3402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3403 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3404 esac
   3405 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3406 
   3407 fi
   3408 
   3409 ac_ext=c
   3410 ac_cpp='$CPP $CPPFLAGS'
   3411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3414 
   3415 
   3416 ac_ext=c
   3417 ac_cpp='$CPP $CPPFLAGS'
   3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3422 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3423 # On Suns, sometimes $CPP names a directory.
   3424 if test -n "$CPP" && test -d "$CPP"; then
   3425   CPP=
   3426 fi
   3427 if test -z "$CPP"; then
   3428   if test "${ac_cv_prog_CPP+set}" = set; then :
   3429   $as_echo_n "(cached) " >&6
   3430 else
   3431       # Double quotes because CPP needs to be expanded
   3432     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3433     do
   3434       ac_preproc_ok=false
   3435 for ac_c_preproc_warn_flag in '' yes
   3436 do
   3437   # Use a header file that comes with gcc, so configuring glibc
   3438   # with a fresh cross-compiler works.
   3439   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3440   # <limits.h> exists even on freestanding compilers.
   3441   # On the NeXT, cc -E runs the code through the compiler's parser,
   3442   # not just through cpp. "Syntax error" is here to catch this case.
   3443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3444 /* end confdefs.h.  */
   3445 #ifdef __STDC__
   3446 # include <limits.h>
   3447 #else
   3448 # include <assert.h>
   3449 #endif
   3450 		     Syntax error
   3451 _ACEOF
   3452 if ac_fn_c_try_cpp "$LINENO"; then :
   3453 
   3454 else
   3455   # Broken: fails on valid input.
   3456 continue
   3457 fi
   3458 rm -f conftest.err conftest.$ac_ext
   3459 
   3460   # OK, works on sane cases.  Now check whether nonexistent headers
   3461   # can be detected and how.
   3462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3463 /* end confdefs.h.  */
   3464 #include <ac_nonexistent.h>
   3465 _ACEOF
   3466 if ac_fn_c_try_cpp "$LINENO"; then :
   3467   # Broken: success on invalid input.
   3468 continue
   3469 else
   3470   # Passes both tests.
   3471 ac_preproc_ok=:
   3472 break
   3473 fi
   3474 rm -f conftest.err conftest.$ac_ext
   3475 
   3476 done
   3477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3478 rm -f conftest.err conftest.$ac_ext
   3479 if $ac_preproc_ok; then :
   3480   break
   3481 fi
   3482 
   3483     done
   3484     ac_cv_prog_CPP=$CPP
   3485 
   3486 fi
   3487   CPP=$ac_cv_prog_CPP
   3488 else
   3489   ac_cv_prog_CPP=$CPP
   3490 fi
   3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3492 $as_echo "$CPP" >&6; }
   3493 ac_preproc_ok=false
   3494 for ac_c_preproc_warn_flag in '' yes
   3495 do
   3496   # Use a header file that comes with gcc, so configuring glibc
   3497   # with a fresh cross-compiler works.
   3498   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3499   # <limits.h> exists even on freestanding compilers.
   3500   # On the NeXT, cc -E runs the code through the compiler's parser,
   3501   # not just through cpp. "Syntax error" is here to catch this case.
   3502   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3503 /* end confdefs.h.  */
   3504 #ifdef __STDC__
   3505 # include <limits.h>
   3506 #else
   3507 # include <assert.h>
   3508 #endif
   3509 		     Syntax error
   3510 _ACEOF
   3511 if ac_fn_c_try_cpp "$LINENO"; then :
   3512 
   3513 else
   3514   # Broken: fails on valid input.
   3515 continue
   3516 fi
   3517 rm -f conftest.err conftest.$ac_ext
   3518 
   3519   # OK, works on sane cases.  Now check whether nonexistent headers
   3520   # can be detected and how.
   3521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3522 /* end confdefs.h.  */
   3523 #include <ac_nonexistent.h>
   3524 _ACEOF
   3525 if ac_fn_c_try_cpp "$LINENO"; then :
   3526   # Broken: success on invalid input.
   3527 continue
   3528 else
   3529   # Passes both tests.
   3530 ac_preproc_ok=:
   3531 break
   3532 fi
   3533 rm -f conftest.err conftest.$ac_ext
   3534 
   3535 done
   3536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3537 rm -f conftest.err conftest.$ac_ext
   3538 if $ac_preproc_ok; then :
   3539 
   3540 else
   3541   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3543 as_fn_error "C preprocessor \"$CPP\" fails sanity check
   3544 See \`config.log' for more details." "$LINENO" 5; }
   3545 fi
   3546 
   3547 ac_ext=c
   3548 ac_cpp='$CPP $CPPFLAGS'
   3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3552 
   3553 
   3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3556 if test "${ac_cv_path_GREP+set}" = set; then :
   3557   $as_echo_n "(cached) " >&6
   3558 else
   3559   if test -z "$GREP"; then
   3560   ac_path_GREP_found=false
   3561   # Loop through the user's path and test for each of PROGNAME-LIST
   3562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3564 do
   3565   IFS=$as_save_IFS
   3566   test -z "$as_dir" && as_dir=.
   3567     for ac_prog in grep ggrep; do
   3568     for ac_exec_ext in '' $ac_executable_extensions; do
   3569       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3570       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3571 # Check for GNU ac_path_GREP and select it if it is found.
   3572   # Check for GNU $ac_path_GREP
   3573 case `"$ac_path_GREP" --version 2>&1` in
   3574 *GNU*)
   3575   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3576 *)
   3577   ac_count=0
   3578   $as_echo_n 0123456789 >"conftest.in"
   3579   while :
   3580   do
   3581     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3582     mv "conftest.tmp" "conftest.in"
   3583     cp "conftest.in" "conftest.nl"
   3584     $as_echo 'GREP' >> "conftest.nl"
   3585     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3586     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3587     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3588     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3589       # Best one so far, save it but keep looking for a better one
   3590       ac_cv_path_GREP="$ac_path_GREP"
   3591       ac_path_GREP_max=$ac_count
   3592     fi
   3593     # 10*(2^10) chars as input seems more than enough
   3594     test $ac_count -gt 10 && break
   3595   done
   3596   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3597 esac
   3598 
   3599       $ac_path_GREP_found && break 3
   3600     done
   3601   done
   3602   done
   3603 IFS=$as_save_IFS
   3604   if test -z "$ac_cv_path_GREP"; then
   3605     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3606   fi
   3607 else
   3608   ac_cv_path_GREP=$GREP
   3609 fi
   3610 
   3611 fi
   3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3613 $as_echo "$ac_cv_path_GREP" >&6; }
   3614  GREP="$ac_cv_path_GREP"
   3615 
   3616 
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3618 $as_echo_n "checking for egrep... " >&6; }
   3619 if test "${ac_cv_path_EGREP+set}" = set; then :
   3620   $as_echo_n "(cached) " >&6
   3621 else
   3622   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3623    then ac_cv_path_EGREP="$GREP -E"
   3624    else
   3625      if test -z "$EGREP"; then
   3626   ac_path_EGREP_found=false
   3627   # Loop through the user's path and test for each of PROGNAME-LIST
   3628   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3630 do
   3631   IFS=$as_save_IFS
   3632   test -z "$as_dir" && as_dir=.
   3633     for ac_prog in egrep; do
   3634     for ac_exec_ext in '' $ac_executable_extensions; do
   3635       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3636       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3637 # Check for GNU ac_path_EGREP and select it if it is found.
   3638   # Check for GNU $ac_path_EGREP
   3639 case `"$ac_path_EGREP" --version 2>&1` in
   3640 *GNU*)
   3641   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3642 *)
   3643   ac_count=0
   3644   $as_echo_n 0123456789 >"conftest.in"
   3645   while :
   3646   do
   3647     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3648     mv "conftest.tmp" "conftest.in"
   3649     cp "conftest.in" "conftest.nl"
   3650     $as_echo 'EGREP' >> "conftest.nl"
   3651     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3652     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3653     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3654     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3655       # Best one so far, save it but keep looking for a better one
   3656       ac_cv_path_EGREP="$ac_path_EGREP"
   3657       ac_path_EGREP_max=$ac_count
   3658     fi
   3659     # 10*(2^10) chars as input seems more than enough
   3660     test $ac_count -gt 10 && break
   3661   done
   3662   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3663 esac
   3664 
   3665       $ac_path_EGREP_found && break 3
   3666     done
   3667   done
   3668   done
   3669 IFS=$as_save_IFS
   3670   if test -z "$ac_cv_path_EGREP"; then
   3671     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3672   fi
   3673 else
   3674   ac_cv_path_EGREP=$EGREP
   3675 fi
   3676 
   3677    fi
   3678 fi
   3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3680 $as_echo "$ac_cv_path_EGREP" >&6; }
   3681  EGREP="$ac_cv_path_EGREP"
   3682 
   3683 
   3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3685 $as_echo_n "checking for ANSI C header files... " >&6; }
   3686 if test "${ac_cv_header_stdc+set}" = set; then :
   3687   $as_echo_n "(cached) " >&6
   3688 else
   3689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3690 /* end confdefs.h.  */
   3691 #include <stdlib.h>
   3692 #include <stdarg.h>
   3693 #include <string.h>
   3694 #include <float.h>
   3695 
   3696 int
   3697 main ()
   3698 {
   3699 
   3700   ;
   3701   return 0;
   3702 }
   3703 _ACEOF
   3704 if ac_fn_c_try_compile "$LINENO"; then :
   3705   ac_cv_header_stdc=yes
   3706 else
   3707   ac_cv_header_stdc=no
   3708 fi
   3709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3710 
   3711 if test $ac_cv_header_stdc = yes; then
   3712   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3714 /* end confdefs.h.  */
   3715 #include <string.h>
   3716 
   3717 _ACEOF
   3718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3719   $EGREP "memchr" >/dev/null 2>&1; then :
   3720 
   3721 else
   3722   ac_cv_header_stdc=no
   3723 fi
   3724 rm -f conftest*
   3725 
   3726 fi
   3727 
   3728 if test $ac_cv_header_stdc = yes; then
   3729   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3731 /* end confdefs.h.  */
   3732 #include <stdlib.h>
   3733 
   3734 _ACEOF
   3735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3736   $EGREP "free" >/dev/null 2>&1; then :
   3737 
   3738 else
   3739   ac_cv_header_stdc=no
   3740 fi
   3741 rm -f conftest*
   3742 
   3743 fi
   3744 
   3745 if test $ac_cv_header_stdc = yes; then
   3746   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3747   if test "$cross_compiling" = yes; then :
   3748   :
   3749 else
   3750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3751 /* end confdefs.h.  */
   3752 #include <ctype.h>
   3753 #include <stdlib.h>
   3754 #if ((' ' & 0x0FF) == 0x020)
   3755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3757 #else
   3758 # define ISLOWER(c) \
   3759 		   (('a' <= (c) && (c) <= 'i') \
   3760 		     || ('j' <= (c) && (c) <= 'r') \
   3761 		     || ('s' <= (c) && (c) <= 'z'))
   3762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3763 #endif
   3764 
   3765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3766 int
   3767 main ()
   3768 {
   3769   int i;
   3770   for (i = 0; i < 256; i++)
   3771     if (XOR (islower (i), ISLOWER (i))
   3772 	|| toupper (i) != TOUPPER (i))
   3773       return 2;
   3774   return 0;
   3775 }
   3776 _ACEOF
   3777 if ac_fn_c_try_run "$LINENO"; then :
   3778 
   3779 else
   3780   ac_cv_header_stdc=no
   3781 fi
   3782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3783   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3784 fi
   3785 
   3786 fi
   3787 fi
   3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3789 $as_echo "$ac_cv_header_stdc" >&6; }
   3790 if test $ac_cv_header_stdc = yes; then
   3791 
   3792 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3793 
   3794 fi
   3795 
   3796 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3797 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3798 		  inttypes.h stdint.h unistd.h
   3799 do :
   3800   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3801 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3802 "
   3803 eval as_val=\$$as_ac_Header
   3804    if test "x$as_val" = x""yes; then :
   3805   cat >>confdefs.h <<_ACEOF
   3806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3807 _ACEOF
   3808 
   3809 fi
   3810 
   3811 done
   3812 
   3813 
   3814 
   3815   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3816 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
   3817   MINIX=yes
   3818 else
   3819   MINIX=
   3820 fi
   3821 
   3822 
   3823   if test "$MINIX" = yes; then
   3824 
   3825 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3826 
   3827 
   3828 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3829 
   3830 
   3831 $as_echo "#define _MINIX 1" >>confdefs.h
   3832 
   3833   fi
   3834 
   3835 
   3836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3837 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3838 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
   3839   $as_echo_n "(cached) " >&6
   3840 else
   3841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3842 /* end confdefs.h.  */
   3843 
   3844 #	  define __EXTENSIONS__ 1
   3845 	  $ac_includes_default
   3846 int
   3847 main ()
   3848 {
   3849 
   3850   ;
   3851   return 0;
   3852 }
   3853 _ACEOF
   3854 if ac_fn_c_try_compile "$LINENO"; then :
   3855   ac_cv_safe_to_define___extensions__=yes
   3856 else
   3857   ac_cv_safe_to_define___extensions__=no
   3858 fi
   3859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3860 fi
   3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3862 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3863   test $ac_cv_safe_to_define___extensions__ = yes &&
   3864     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3865 
   3866   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3867 
   3868   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3869 
   3870   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3871 
   3872   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3873 
   3874 
   3875 
   3876 libtool_VERSION=1:0:0
   3877 
   3878 
   3879 # 1.11.1: Require that version of automake.
   3880 # foreign: Don't require README, INSTALL, NEWS, etc.
   3881 # no-define: Don't define PACKAGE and VERSION.
   3882 # no-dependencies: Don't generate automatic dependencies.
   3883 #    (because it breaks when using bootstrap-lean, since some of the
   3884 #    headers are gone at "make install" time).
   3885 # -Wall: Issue all automake warnings.
   3886 # -Wno-portability: Don't warn about constructs supported by GNU make.
   3887 #    (because GCC requires GNU make anyhow).
   3888 am__api_version='1.11'
   3889 
   3890 # Find a good install program.  We prefer a C program (faster),
   3891 # so one script is as good as another.  But avoid the broken or
   3892 # incompatible versions:
   3893 # SysV /etc/install, /usr/sbin/install
   3894 # SunOS /usr/etc/install
   3895 # IRIX /sbin/install
   3896 # AIX /bin/install
   3897 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3898 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3899 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3900 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3901 # OS/2's system install, which has a completely different semantic
   3902 # ./install, which can be erroneously created by make from ./install.sh.
   3903 # Reject install programs that cannot install multiple files.
   3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3905 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3906 if test -z "$INSTALL"; then
   3907 if test "${ac_cv_path_install+set}" = set; then :
   3908   $as_echo_n "(cached) " >&6
   3909 else
   3910   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3911 for as_dir in $PATH
   3912 do
   3913   IFS=$as_save_IFS
   3914   test -z "$as_dir" && as_dir=.
   3915     # Account for people who put trailing slashes in PATH elements.
   3916 case $as_dir/ in #((
   3917   ./ | .// | /[cC]/* | \
   3918   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3919   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3920   /usr/ucb/* ) ;;
   3921   *)
   3922     # OSF1 and SCO ODT 3.0 have their own names for install.
   3923     # Don't use installbsd from OSF since it installs stuff as root
   3924     # by default.
   3925     for ac_prog in ginstall scoinst install; do
   3926       for ac_exec_ext in '' $ac_executable_extensions; do
   3927 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   3928 	  if test $ac_prog = install &&
   3929 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3930 	    # AIX install.  It has an incompatible calling convention.
   3931 	    :
   3932 	  elif test $ac_prog = install &&
   3933 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3934 	    # program-specific install script used by HP pwplus--don't use.
   3935 	    :
   3936 	  else
   3937 	    rm -rf conftest.one conftest.two conftest.dir
   3938 	    echo one > conftest.one
   3939 	    echo two > conftest.two
   3940 	    mkdir conftest.dir
   3941 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3942 	      test -s conftest.one && test -s conftest.two &&
   3943 	      test -s conftest.dir/conftest.one &&
   3944 	      test -s conftest.dir/conftest.two
   3945 	    then
   3946 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3947 	      break 3
   3948 	    fi
   3949 	  fi
   3950 	fi
   3951       done
   3952     done
   3953     ;;
   3954 esac
   3955 
   3956   done
   3957 IFS=$as_save_IFS
   3958 
   3959 rm -rf conftest.one conftest.two conftest.dir
   3960 
   3961 fi
   3962   if test "${ac_cv_path_install+set}" = set; then
   3963     INSTALL=$ac_cv_path_install
   3964   else
   3965     # As a last resort, use the slow shell script.  Don't cache a
   3966     # value for INSTALL within a source directory, because that will
   3967     # break other packages using the cache if that directory is
   3968     # removed, or if the value is a relative name.
   3969     INSTALL=$ac_install_sh
   3970   fi
   3971 fi
   3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3973 $as_echo "$INSTALL" >&6; }
   3974 
   3975 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3976 # It thinks the first close brace ends the variable substitution.
   3977 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3978 
   3979 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3980 
   3981 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3982 
   3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3984 $as_echo_n "checking whether build environment is sane... " >&6; }
   3985 # Just in case
   3986 sleep 1
   3987 echo timestamp > conftest.file
   3988 # Reject unsafe characters in $srcdir or the absolute working directory
   3989 # name.  Accept space and tab only in the latter.
   3990 am_lf='
   3991 '
   3992 case `pwd` in
   3993   *[\\\"\#\$\&\'\`$am_lf]*)
   3994     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
   3995 esac
   3996 case $srcdir in
   3997   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3998     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   3999 esac
   4000 
   4001 # Do `set' in a subshell so we don't clobber the current shell's
   4002 # arguments.  Must try -L first in case configure is actually a
   4003 # symlink; some systems play weird games with the mod time of symlinks
   4004 # (eg FreeBSD returns the mod time of the symlink's containing
   4005 # directory).
   4006 if (
   4007    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   4008    if test "$*" = "X"; then
   4009       # -L didn't work.
   4010       set X `ls -t "$srcdir/configure" conftest.file`
   4011    fi
   4012    rm -f conftest.file
   4013    if test "$*" != "X $srcdir/configure conftest.file" \
   4014       && test "$*" != "X conftest.file $srcdir/configure"; then
   4015 
   4016       # If neither matched, then we have a broken ls.  This can happen
   4017       # if, for instance, CONFIG_SHELL is bash and it inherits a
   4018       # broken ls alias from the environment.  This has actually
   4019       # happened.  Such a system could not be considered "sane".
   4020       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
   4021 alias in your environment" "$LINENO" 5
   4022    fi
   4023 
   4024    test "$2" = conftest.file
   4025    )
   4026 then
   4027    # Ok.
   4028    :
   4029 else
   4030    as_fn_error "newly created file is older than distributed files!
   4031 Check your system clock" "$LINENO" 5
   4032 fi
   4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4034 $as_echo "yes" >&6; }
   4035 test "$program_prefix" != NONE &&
   4036   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   4037 # Use a double $ so make ignores it.
   4038 test "$program_suffix" != NONE &&
   4039   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   4040 # Double any \ or $.
   4041 # By default was `s,x,x', remove it if useless.
   4042 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   4043 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   4044 
   4045 # expand $ac_aux_dir to an absolute path
   4046 am_aux_dir=`cd $ac_aux_dir && pwd`
   4047 
   4048 if test x"${MISSING+set}" != xset; then
   4049   case $am_aux_dir in
   4050   *\ * | *\	*)
   4051     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   4052   *)
   4053     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   4054   esac
   4055 fi
   4056 # Use eval to expand $SHELL
   4057 if eval "$MISSING --run true"; then
   4058   am_missing_run="$MISSING --run "
   4059 else
   4060   am_missing_run=
   4061   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   4062 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   4063 fi
   4064 
   4065 if test x"${install_sh}" != xset; then
   4066   case $am_aux_dir in
   4067   *\ * | *\	*)
   4068     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   4069   *)
   4070     install_sh="\${SHELL} $am_aux_dir/install-sh"
   4071   esac
   4072 fi
   4073 
   4074 # Installed binaries are usually stripped using `strip' when the user
   4075 # run `make install-strip'.  However `strip' might not be the right
   4076 # tool to use in cross-compilation environments, therefore Automake
   4077 # will honor the `STRIP' environment variable to overrule this program.
   4078 if test "$cross_compiling" != no; then
   4079   if test -n "$ac_tool_prefix"; then
   4080   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   4081 set dummy ${ac_tool_prefix}strip; ac_word=$2
   4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4083 $as_echo_n "checking for $ac_word... " >&6; }
   4084 if test "${ac_cv_prog_STRIP+set}" = set; then :
   4085   $as_echo_n "(cached) " >&6
   4086 else
   4087   if test -n "$STRIP"; then
   4088   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   4089 else
   4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4091 for as_dir in $PATH
   4092 do
   4093   IFS=$as_save_IFS
   4094   test -z "$as_dir" && as_dir=.
   4095     for ac_exec_ext in '' $ac_executable_extensions; do
   4096   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4097     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   4098     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4099     break 2
   4100   fi
   4101 done
   4102   done
   4103 IFS=$as_save_IFS
   4104 
   4105 fi
   4106 fi
   4107 STRIP=$ac_cv_prog_STRIP
   4108 if test -n "$STRIP"; then
   4109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   4110 $as_echo "$STRIP" >&6; }
   4111 else
   4112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4113 $as_echo "no" >&6; }
   4114 fi
   4115 
   4116 
   4117 fi
   4118 if test -z "$ac_cv_prog_STRIP"; then
   4119   ac_ct_STRIP=$STRIP
   4120   # Extract the first word of "strip", so it can be a program name with args.
   4121 set dummy strip; ac_word=$2
   4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4123 $as_echo_n "checking for $ac_word... " >&6; }
   4124 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   4125   $as_echo_n "(cached) " >&6
   4126 else
   4127   if test -n "$ac_ct_STRIP"; then
   4128   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   4129 else
   4130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4131 for as_dir in $PATH
   4132 do
   4133   IFS=$as_save_IFS
   4134   test -z "$as_dir" && as_dir=.
   4135     for ac_exec_ext in '' $ac_executable_extensions; do
   4136   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4137     ac_cv_prog_ac_ct_STRIP="strip"
   4138     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4139     break 2
   4140   fi
   4141 done
   4142   done
   4143 IFS=$as_save_IFS
   4144 
   4145 fi
   4146 fi
   4147 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   4148 if test -n "$ac_ct_STRIP"; then
   4149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   4150 $as_echo "$ac_ct_STRIP" >&6; }
   4151 else
   4152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4153 $as_echo "no" >&6; }
   4154 fi
   4155 
   4156   if test "x$ac_ct_STRIP" = x; then
   4157     STRIP=":"
   4158   else
   4159     case $cross_compiling:$ac_tool_warned in
   4160 yes:)
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4163 ac_tool_warned=yes ;;
   4164 esac
   4165     STRIP=$ac_ct_STRIP
   4166   fi
   4167 else
   4168   STRIP="$ac_cv_prog_STRIP"
   4169 fi
   4170 
   4171 fi
   4172 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   4173 
   4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   4175 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   4176 if test -z "$MKDIR_P"; then
   4177   if test "${ac_cv_path_mkdir+set}" = set; then :
   4178   $as_echo_n "(cached) " >&6
   4179 else
   4180   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4181 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   4182 do
   4183   IFS=$as_save_IFS
   4184   test -z "$as_dir" && as_dir=.
   4185     for ac_prog in mkdir gmkdir; do
   4186 	 for ac_exec_ext in '' $ac_executable_extensions; do
   4187 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   4188 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   4189 	     'mkdir (GNU coreutils) '* | \
   4190 	     'mkdir (coreutils) '* | \
   4191 	     'mkdir (fileutils) '4.1*)
   4192 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   4193 	       break 3;;
   4194 	   esac
   4195 	 done
   4196        done
   4197   done
   4198 IFS=$as_save_IFS
   4199 
   4200 fi
   4201 
   4202   if test "${ac_cv_path_mkdir+set}" = set; then
   4203     MKDIR_P="$ac_cv_path_mkdir -p"
   4204   else
   4205     # As a last resort, use the slow shell script.  Don't cache a
   4206     # value for MKDIR_P within a source directory, because that will
   4207     # break other packages using the cache if that directory is
   4208     # removed, or if the value is a relative name.
   4209     test -d ./--version && rmdir ./--version
   4210     MKDIR_P="$ac_install_sh -d"
   4211   fi
   4212 fi
   4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4214 $as_echo "$MKDIR_P" >&6; }
   4215 
   4216 mkdir_p="$MKDIR_P"
   4217 case $mkdir_p in
   4218   [\\/$]* | ?:[\\/]*) ;;
   4219   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   4220 esac
   4221 
   4222 for ac_prog in gawk mawk nawk awk
   4223 do
   4224   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4225 set dummy $ac_prog; ac_word=$2
   4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4227 $as_echo_n "checking for $ac_word... " >&6; }
   4228 if test "${ac_cv_prog_AWK+set}" = set; then :
   4229   $as_echo_n "(cached) " >&6
   4230 else
   4231   if test -n "$AWK"; then
   4232   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4233 else
   4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4235 for as_dir in $PATH
   4236 do
   4237   IFS=$as_save_IFS
   4238   test -z "$as_dir" && as_dir=.
   4239     for ac_exec_ext in '' $ac_executable_extensions; do
   4240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4241     ac_cv_prog_AWK="$ac_prog"
   4242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4243     break 2
   4244   fi
   4245 done
   4246   done
   4247 IFS=$as_save_IFS
   4248 
   4249 fi
   4250 fi
   4251 AWK=$ac_cv_prog_AWK
   4252 if test -n "$AWK"; then
   4253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4254 $as_echo "$AWK" >&6; }
   4255 else
   4256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4257 $as_echo "no" >&6; }
   4258 fi
   4259 
   4260 
   4261   test -n "$AWK" && break
   4262 done
   4263 
   4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4265 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4266 set x ${MAKE-make}
   4267 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4268 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
   4269   $as_echo_n "(cached) " >&6
   4270 else
   4271   cat >conftest.make <<\_ACEOF
   4272 SHELL = /bin/sh
   4273 all:
   4274 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4275 _ACEOF
   4276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   4277 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4278   *@@@%%%=?*=@@@%%%*)
   4279     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4280   *)
   4281     eval ac_cv_prog_make_${ac_make}_set=no;;
   4282 esac
   4283 rm -f conftest.make
   4284 fi
   4285 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4287 $as_echo "yes" >&6; }
   4288   SET_MAKE=
   4289 else
   4290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4291 $as_echo "no" >&6; }
   4292   SET_MAKE="MAKE=${MAKE-make}"
   4293 fi
   4294 
   4295 rm -rf .tst 2>/dev/null
   4296 mkdir .tst 2>/dev/null
   4297 if test -d .tst; then
   4298   am__leading_dot=.
   4299 else
   4300   am__leading_dot=_
   4301 fi
   4302 rmdir .tst 2>/dev/null
   4303 
   4304 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4305   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4306   # is not polluted with repeated "-I."
   4307   am__isrc=' -I$(srcdir)'
   4308   # test to see if srcdir already configured
   4309   if test -f $srcdir/config.status; then
   4310     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4311   fi
   4312 fi
   4313 
   4314 # test whether we have cygpath
   4315 if test -z "$CYGPATH_W"; then
   4316   if (cygpath --version) >/dev/null 2>/dev/null; then
   4317     CYGPATH_W='cygpath -w'
   4318   else
   4319     CYGPATH_W=echo
   4320   fi
   4321 fi
   4322 
   4323 
   4324 # Define the identity of the package.
   4325  PACKAGE='libbacktrace'
   4326  VERSION='version-unused'
   4327 
   4328 
   4329 # Some tools Automake needs.
   4330 
   4331 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4332 
   4333 
   4334 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4335 
   4336 
   4337 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4338 
   4339 
   4340 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4341 
   4342 
   4343 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4344 
   4345 # We need awk for the "check" target.  The system "awk" is bad on
   4346 # some platforms.
   4347 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4348 # in the wild :-(  We should find a proper way to deprecate it ...
   4349 AMTAR='$${TAR-tar}'
   4350 
   4351 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   4360 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   4361     # Check whether --enable-maintainer-mode was given.
   4362 if test "${enable_maintainer_mode+set}" = set; then :
   4363   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   4364 else
   4365   USE_MAINTAINER_MODE=no
   4366 fi
   4367 
   4368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   4369 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   4370    if test $USE_MAINTAINER_MODE = yes; then
   4371   MAINTAINER_MODE_TRUE=
   4372   MAINTAINER_MODE_FALSE='#'
   4373 else
   4374   MAINTAINER_MODE_TRUE='#'
   4375   MAINTAINER_MODE_FALSE=
   4376 fi
   4377 
   4378   MAINT=$MAINTAINER_MODE_TRUE
   4379 
   4380 
   4381 
   4382 
   4383 # Check whether --with-target-subdir was given.
   4384 if test "${with_target_subdir+set}" = set; then :
   4385   withval=$with_target_subdir;
   4386 fi
   4387 
   4388 
   4389 # We must force CC to /not/ be precious variables; otherwise
   4390 # the wrong, non-multilib-adjusted value will be used in multilibs.
   4391 # As a side effect, we have to subst CFLAGS ourselves.
   4392 
   4393 
   4394 ac_ext=c
   4395 ac_cpp='$CPP $CPPFLAGS'
   4396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4399 if test -n "$ac_tool_prefix"; then
   4400   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4401 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4403 $as_echo_n "checking for $ac_word... " >&6; }
   4404 if test "${ac_cv_prog_CC+set}" = set; then :
   4405   $as_echo_n "(cached) " >&6
   4406 else
   4407   if test -n "$CC"; then
   4408   ac_cv_prog_CC="$CC" # Let the user override the test.
   4409 else
   4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4411 for as_dir in $PATH
   4412 do
   4413   IFS=$as_save_IFS
   4414   test -z "$as_dir" && as_dir=.
   4415     for ac_exec_ext in '' $ac_executable_extensions; do
   4416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4417     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4419     break 2
   4420   fi
   4421 done
   4422   done
   4423 IFS=$as_save_IFS
   4424 
   4425 fi
   4426 fi
   4427 CC=$ac_cv_prog_CC
   4428 if test -n "$CC"; then
   4429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4430 $as_echo "$CC" >&6; }
   4431 else
   4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4433 $as_echo "no" >&6; }
   4434 fi
   4435 
   4436 
   4437 fi
   4438 if test -z "$ac_cv_prog_CC"; then
   4439   ac_ct_CC=$CC
   4440   # Extract the first word of "gcc", so it can be a program name with args.
   4441 set dummy gcc; ac_word=$2
   4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4443 $as_echo_n "checking for $ac_word... " >&6; }
   4444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4445   $as_echo_n "(cached) " >&6
   4446 else
   4447   if test -n "$ac_ct_CC"; then
   4448   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4449 else
   4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4451 for as_dir in $PATH
   4452 do
   4453   IFS=$as_save_IFS
   4454   test -z "$as_dir" && as_dir=.
   4455     for ac_exec_ext in '' $ac_executable_extensions; do
   4456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4457     ac_cv_prog_ac_ct_CC="gcc"
   4458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4459     break 2
   4460   fi
   4461 done
   4462   done
   4463 IFS=$as_save_IFS
   4464 
   4465 fi
   4466 fi
   4467 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4468 if test -n "$ac_ct_CC"; then
   4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4470 $as_echo "$ac_ct_CC" >&6; }
   4471 else
   4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4473 $as_echo "no" >&6; }
   4474 fi
   4475 
   4476   if test "x$ac_ct_CC" = x; then
   4477     CC=""
   4478   else
   4479     case $cross_compiling:$ac_tool_warned in
   4480 yes:)
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4483 ac_tool_warned=yes ;;
   4484 esac
   4485     CC=$ac_ct_CC
   4486   fi
   4487 else
   4488   CC="$ac_cv_prog_CC"
   4489 fi
   4490 
   4491 if test -z "$CC"; then
   4492           if test -n "$ac_tool_prefix"; then
   4493     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4494 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4496 $as_echo_n "checking for $ac_word... " >&6; }
   4497 if test "${ac_cv_prog_CC+set}" = set; then :
   4498   $as_echo_n "(cached) " >&6
   4499 else
   4500   if test -n "$CC"; then
   4501   ac_cv_prog_CC="$CC" # Let the user override the test.
   4502 else
   4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4504 for as_dir in $PATH
   4505 do
   4506   IFS=$as_save_IFS
   4507   test -z "$as_dir" && as_dir=.
   4508     for ac_exec_ext in '' $ac_executable_extensions; do
   4509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4510     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4512     break 2
   4513   fi
   4514 done
   4515   done
   4516 IFS=$as_save_IFS
   4517 
   4518 fi
   4519 fi
   4520 CC=$ac_cv_prog_CC
   4521 if test -n "$CC"; then
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4523 $as_echo "$CC" >&6; }
   4524 else
   4525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4526 $as_echo "no" >&6; }
   4527 fi
   4528 
   4529 
   4530   fi
   4531 fi
   4532 if test -z "$CC"; then
   4533   # Extract the first word of "cc", so it can be a program name with args.
   4534 set dummy cc; ac_word=$2
   4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4536 $as_echo_n "checking for $ac_word... " >&6; }
   4537 if test "${ac_cv_prog_CC+set}" = set; then :
   4538   $as_echo_n "(cached) " >&6
   4539 else
   4540   if test -n "$CC"; then
   4541   ac_cv_prog_CC="$CC" # Let the user override the test.
   4542 else
   4543   ac_prog_rejected=no
   4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4545 for as_dir in $PATH
   4546 do
   4547   IFS=$as_save_IFS
   4548   test -z "$as_dir" && as_dir=.
   4549     for ac_exec_ext in '' $ac_executable_extensions; do
   4550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4551     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4552        ac_prog_rejected=yes
   4553        continue
   4554      fi
   4555     ac_cv_prog_CC="cc"
   4556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4557     break 2
   4558   fi
   4559 done
   4560   done
   4561 IFS=$as_save_IFS
   4562 
   4563 if test $ac_prog_rejected = yes; then
   4564   # We found a bogon in the path, so make sure we never use it.
   4565   set dummy $ac_cv_prog_CC
   4566   shift
   4567   if test $# != 0; then
   4568     # We chose a different compiler from the bogus one.
   4569     # However, it has the same basename, so the bogon will be chosen
   4570     # first if we set CC to just the basename; use the full file name.
   4571     shift
   4572     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4573   fi
   4574 fi
   4575 fi
   4576 fi
   4577 CC=$ac_cv_prog_CC
   4578 if test -n "$CC"; then
   4579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4580 $as_echo "$CC" >&6; }
   4581 else
   4582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4583 $as_echo "no" >&6; }
   4584 fi
   4585 
   4586 
   4587 fi
   4588 if test -z "$CC"; then
   4589   if test -n "$ac_tool_prefix"; then
   4590   for ac_prog in cl.exe
   4591   do
   4592     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4593 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4595 $as_echo_n "checking for $ac_word... " >&6; }
   4596 if test "${ac_cv_prog_CC+set}" = set; then :
   4597   $as_echo_n "(cached) " >&6
   4598 else
   4599   if test -n "$CC"; then
   4600   ac_cv_prog_CC="$CC" # Let the user override the test.
   4601 else
   4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4603 for as_dir in $PATH
   4604 do
   4605   IFS=$as_save_IFS
   4606   test -z "$as_dir" && as_dir=.
   4607     for ac_exec_ext in '' $ac_executable_extensions; do
   4608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4609     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4611     break 2
   4612   fi
   4613 done
   4614   done
   4615 IFS=$as_save_IFS
   4616 
   4617 fi
   4618 fi
   4619 CC=$ac_cv_prog_CC
   4620 if test -n "$CC"; then
   4621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4622 $as_echo "$CC" >&6; }
   4623 else
   4624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4625 $as_echo "no" >&6; }
   4626 fi
   4627 
   4628 
   4629     test -n "$CC" && break
   4630   done
   4631 fi
   4632 if test -z "$CC"; then
   4633   ac_ct_CC=$CC
   4634   for ac_prog in cl.exe
   4635 do
   4636   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4637 set dummy $ac_prog; ac_word=$2
   4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4639 $as_echo_n "checking for $ac_word... " >&6; }
   4640 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   4641   $as_echo_n "(cached) " >&6
   4642 else
   4643   if test -n "$ac_ct_CC"; then
   4644   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4645 else
   4646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4647 for as_dir in $PATH
   4648 do
   4649   IFS=$as_save_IFS
   4650   test -z "$as_dir" && as_dir=.
   4651     for ac_exec_ext in '' $ac_executable_extensions; do
   4652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4653     ac_cv_prog_ac_ct_CC="$ac_prog"
   4654     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4655     break 2
   4656   fi
   4657 done
   4658   done
   4659 IFS=$as_save_IFS
   4660 
   4661 fi
   4662 fi
   4663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4664 if test -n "$ac_ct_CC"; then
   4665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4666 $as_echo "$ac_ct_CC" >&6; }
   4667 else
   4668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4669 $as_echo "no" >&6; }
   4670 fi
   4671 
   4672 
   4673   test -n "$ac_ct_CC" && break
   4674 done
   4675 
   4676   if test "x$ac_ct_CC" = x; then
   4677     CC=""
   4678   else
   4679     case $cross_compiling:$ac_tool_warned in
   4680 yes:)
   4681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4683 ac_tool_warned=yes ;;
   4684 esac
   4685     CC=$ac_ct_CC
   4686   fi
   4687 fi
   4688 
   4689 fi
   4690 
   4691 
   4692 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4694 as_fn_error "no acceptable C compiler found in \$PATH
   4695 See \`config.log' for more details." "$LINENO" 5; }
   4696 
   4697 # Provide some information about the compiler.
   4698 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4699 set X $ac_compile
   4700 ac_compiler=$2
   4701 for ac_option in --version -v -V -qversion; do
   4702   { { ac_try="$ac_compiler $ac_option >&5"
   4703 case "(($ac_try" in
   4704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4705   *) ac_try_echo=$ac_try;;
   4706 esac
   4707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4708 $as_echo "$ac_try_echo"; } >&5
   4709   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4710   ac_status=$?
   4711   if test -s conftest.err; then
   4712     sed '10a\
   4713 ... rest of stderr output deleted ...
   4714          10q' conftest.err >conftest.er1
   4715     cat conftest.er1 >&5
   4716     rm -f conftest.er1 conftest.err
   4717   fi
   4718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4719   test $ac_status = 0; }
   4720 done
   4721 
   4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4723 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4724 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   4725   $as_echo_n "(cached) " >&6
   4726 else
   4727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4728 /* end confdefs.h.  */
   4729 
   4730 int
   4731 main ()
   4732 {
   4733 #ifndef __GNUC__
   4734        choke me
   4735 #endif
   4736 
   4737   ;
   4738   return 0;
   4739 }
   4740 _ACEOF
   4741 if ac_fn_c_try_compile "$LINENO"; then :
   4742   ac_compiler_gnu=yes
   4743 else
   4744   ac_compiler_gnu=no
   4745 fi
   4746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4747 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4748 
   4749 fi
   4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4751 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4752 if test $ac_compiler_gnu = yes; then
   4753   GCC=yes
   4754 else
   4755   GCC=
   4756 fi
   4757 ac_test_CFLAGS=${CFLAGS+set}
   4758 ac_save_CFLAGS=$CFLAGS
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4760 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4761 if test "${ac_cv_prog_cc_g+set}" = set; then :
   4762   $as_echo_n "(cached) " >&6
   4763 else
   4764   ac_save_c_werror_flag=$ac_c_werror_flag
   4765    ac_c_werror_flag=yes
   4766    ac_cv_prog_cc_g=no
   4767    CFLAGS="-g"
   4768    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4769 /* end confdefs.h.  */
   4770 
   4771 int
   4772 main ()
   4773 {
   4774 
   4775   ;
   4776   return 0;
   4777 }
   4778 _ACEOF
   4779 if ac_fn_c_try_compile "$LINENO"; then :
   4780   ac_cv_prog_cc_g=yes
   4781 else
   4782   CFLAGS=""
   4783       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4784 /* end confdefs.h.  */
   4785 
   4786 int
   4787 main ()
   4788 {
   4789 
   4790   ;
   4791   return 0;
   4792 }
   4793 _ACEOF
   4794 if ac_fn_c_try_compile "$LINENO"; then :
   4795 
   4796 else
   4797   ac_c_werror_flag=$ac_save_c_werror_flag
   4798 	 CFLAGS="-g"
   4799 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4800 /* end confdefs.h.  */
   4801 
   4802 int
   4803 main ()
   4804 {
   4805 
   4806   ;
   4807   return 0;
   4808 }
   4809 _ACEOF
   4810 if ac_fn_c_try_compile "$LINENO"; then :
   4811   ac_cv_prog_cc_g=yes
   4812 fi
   4813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4814 fi
   4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4816 fi
   4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4818    ac_c_werror_flag=$ac_save_c_werror_flag
   4819 fi
   4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4821 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4822 if test "$ac_test_CFLAGS" = set; then
   4823   CFLAGS=$ac_save_CFLAGS
   4824 elif test $ac_cv_prog_cc_g = yes; then
   4825   if test "$GCC" = yes; then
   4826     CFLAGS="-g -O2"
   4827   else
   4828     CFLAGS="-g"
   4829   fi
   4830 else
   4831   if test "$GCC" = yes; then
   4832     CFLAGS="-O2"
   4833   else
   4834     CFLAGS=
   4835   fi
   4836 fi
   4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4838 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4839 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4840   $as_echo_n "(cached) " >&6
   4841 else
   4842   ac_cv_prog_cc_c89=no
   4843 ac_save_CC=$CC
   4844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4845 /* end confdefs.h.  */
   4846 #include <stdarg.h>
   4847 #include <stdio.h>
   4848 #include <sys/types.h>
   4849 #include <sys/stat.h>
   4850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4851 struct buf { int x; };
   4852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4853 static char *e (p, i)
   4854      char **p;
   4855      int i;
   4856 {
   4857   return p[i];
   4858 }
   4859 static char *f (char * (*g) (char **, int), char **p, ...)
   4860 {
   4861   char *s;
   4862   va_list v;
   4863   va_start (v,p);
   4864   s = g (p, va_arg (v,int));
   4865   va_end (v);
   4866   return s;
   4867 }
   4868 
   4869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4870    function prototypes and stuff, but not '\xHH' hex character constants.
   4871    These don't provoke an error unfortunately, instead are silently treated
   4872    as 'x'.  The following induces an error, until -std is added to get
   4873    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4874    array size at least.  It's necessary to write '\x00'==0 to get something
   4875    that's true only with -std.  */
   4876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4877 
   4878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4879    inside strings and character constants.  */
   4880 #define FOO(x) 'x'
   4881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4882 
   4883 int test (int i, double x);
   4884 struct s1 {int (*f) (int a);};
   4885 struct s2 {int (*f) (double a);};
   4886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4887 int argc;
   4888 char **argv;
   4889 int
   4890 main ()
   4891 {
   4892 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4893   ;
   4894   return 0;
   4895 }
   4896 _ACEOF
   4897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4898 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4899 do
   4900   CC="$ac_save_CC $ac_arg"
   4901   if ac_fn_c_try_compile "$LINENO"; then :
   4902   ac_cv_prog_cc_c89=$ac_arg
   4903 fi
   4904 rm -f core conftest.err conftest.$ac_objext
   4905   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4906 done
   4907 rm -f conftest.$ac_ext
   4908 CC=$ac_save_CC
   4909 
   4910 fi
   4911 # AC_CACHE_VAL
   4912 case "x$ac_cv_prog_cc_c89" in
   4913   x)
   4914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4915 $as_echo "none needed" >&6; } ;;
   4916   xno)
   4917     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4918 $as_echo "unsupported" >&6; } ;;
   4919   *)
   4920     CC="$CC $ac_cv_prog_cc_c89"
   4921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4922 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4923 esac
   4924 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4925 
   4926 fi
   4927 
   4928 ac_ext=c
   4929 ac_cpp='$CPP $CPPFLAGS'
   4930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4933 
   4934 
   4935 
   4936 
   4937 
   4938 if test -n "$ac_tool_prefix"; then
   4939   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   4940 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4942 $as_echo_n "checking for $ac_word... " >&6; }
   4943 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   if test -n "$RANLIB"; then
   4947   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   4948 else
   4949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4950 for as_dir in $PATH
   4951 do
   4952   IFS=$as_save_IFS
   4953   test -z "$as_dir" && as_dir=.
   4954     for ac_exec_ext in '' $ac_executable_extensions; do
   4955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4956     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   4957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4958     break 2
   4959   fi
   4960 done
   4961   done
   4962 IFS=$as_save_IFS
   4963 
   4964 fi
   4965 fi
   4966 RANLIB=$ac_cv_prog_RANLIB
   4967 if test -n "$RANLIB"; then
   4968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   4969 $as_echo "$RANLIB" >&6; }
   4970 else
   4971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4972 $as_echo "no" >&6; }
   4973 fi
   4974 
   4975 
   4976 fi
   4977 if test -z "$ac_cv_prog_RANLIB"; then
   4978   ac_ct_RANLIB=$RANLIB
   4979   # Extract the first word of "ranlib", so it can be a program name with args.
   4980 set dummy ranlib; ac_word=$2
   4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4982 $as_echo_n "checking for $ac_word... " >&6; }
   4983 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   4984   $as_echo_n "(cached) " >&6
   4985 else
   4986   if test -n "$ac_ct_RANLIB"; then
   4987   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   4988 else
   4989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4990 for as_dir in $PATH
   4991 do
   4992   IFS=$as_save_IFS
   4993   test -z "$as_dir" && as_dir=.
   4994     for ac_exec_ext in '' $ac_executable_extensions; do
   4995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4996     ac_cv_prog_ac_ct_RANLIB="ranlib"
   4997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4998     break 2
   4999   fi
   5000 done
   5001   done
   5002 IFS=$as_save_IFS
   5003 
   5004 fi
   5005 fi
   5006 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5007 if test -n "$ac_ct_RANLIB"; then
   5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5009 $as_echo "$ac_ct_RANLIB" >&6; }
   5010 else
   5011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5012 $as_echo "no" >&6; }
   5013 fi
   5014 
   5015   if test "x$ac_ct_RANLIB" = x; then
   5016     RANLIB=":"
   5017   else
   5018     case $cross_compiling:$ac_tool_warned in
   5019 yes:)
   5020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5022 ac_tool_warned=yes ;;
   5023 esac
   5024     RANLIB=$ac_ct_RANLIB
   5025   fi
   5026 else
   5027   RANLIB="$ac_cv_prog_RANLIB"
   5028 fi
   5029 
   5030 
   5031 for ac_prog in gawk mawk nawk awk
   5032 do
   5033   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5034 set dummy $ac_prog; ac_word=$2
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5036 $as_echo_n "checking for $ac_word... " >&6; }
   5037 if test "${ac_cv_prog_AWK+set}" = set; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   if test -n "$AWK"; then
   5041   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   5042 else
   5043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5044 for as_dir in $PATH
   5045 do
   5046   IFS=$as_save_IFS
   5047   test -z "$as_dir" && as_dir=.
   5048     for ac_exec_ext in '' $ac_executable_extensions; do
   5049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5050     ac_cv_prog_AWK="$ac_prog"
   5051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5052     break 2
   5053   fi
   5054 done
   5055   done
   5056 IFS=$as_save_IFS
   5057 
   5058 fi
   5059 fi
   5060 AWK=$ac_cv_prog_AWK
   5061 if test -n "$AWK"; then
   5062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   5063 $as_echo "$AWK" >&6; }
   5064 else
   5065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5066 $as_echo "no" >&6; }
   5067 fi
   5068 
   5069 
   5070   test -n "$AWK" && break
   5071 done
   5072 
   5073 case "$AWK" in
   5074 "") as_fn_error "can't build without awk" "$LINENO" 5 ;;
   5075 esac
   5076 
   5077 case `pwd` in
   5078   *\ * | *\	*)
   5079     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5080 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5081 esac
   5082 
   5083 
   5084 
   5085 macro_version='2.2.7a'
   5086 macro_revision='1.3134'
   5087 
   5088 
   5089 
   5090 
   5091 
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 ltmain="$ac_aux_dir/ltmain.sh"
   5101 
   5102 # Backslashify metacharacters that are still active within
   5103 # double-quoted strings.
   5104 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5105 
   5106 # Same as above, but do not quote variable references.
   5107 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5108 
   5109 # Sed substitution to delay expansion of an escaped shell variable in a
   5110 # double_quote_subst'ed string.
   5111 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5112 
   5113 # Sed substitution to delay expansion of an escaped single quote.
   5114 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5115 
   5116 # Sed substitution to avoid accidental globbing in evaled expressions
   5117 no_glob_subst='s/\*/\\\*/g'
   5118 
   5119 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5120 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5121 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5122 
   5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5124 $as_echo_n "checking how to print strings... " >&6; }
   5125 # Test print first, because it will be a builtin if present.
   5126 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5127    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5128   ECHO='print -r --'
   5129 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5130   ECHO='printf %s\n'
   5131 else
   5132   # Use this function as a fallback that always works.
   5133   func_fallback_echo ()
   5134   {
   5135     eval 'cat <<_LTECHO_EOF
   5136 $1
   5137 _LTECHO_EOF'
   5138   }
   5139   ECHO='func_fallback_echo'
   5140 fi
   5141 
   5142 # func_echo_all arg...
   5143 # Invoke $ECHO with all args, space-separated.
   5144 func_echo_all ()
   5145 {
   5146     $ECHO ""
   5147 }
   5148 
   5149 case "$ECHO" in
   5150   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5151 $as_echo "printf" >&6; } ;;
   5152   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5153 $as_echo "print -r" >&6; } ;;
   5154   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5155 $as_echo "cat" >&6; } ;;
   5156 esac
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5172 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5173 if test "${ac_cv_path_SED+set}" = set; then :
   5174   $as_echo_n "(cached) " >&6
   5175 else
   5176             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5177      for ac_i in 1 2 3 4 5 6 7; do
   5178        ac_script="$ac_script$as_nl$ac_script"
   5179      done
   5180      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5181      { ac_script=; unset ac_script;}
   5182      if test -z "$SED"; then
   5183   ac_path_SED_found=false
   5184   # Loop through the user's path and test for each of PROGNAME-LIST
   5185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5186 for as_dir in $PATH
   5187 do
   5188   IFS=$as_save_IFS
   5189   test -z "$as_dir" && as_dir=.
   5190     for ac_prog in sed gsed; do
   5191     for ac_exec_ext in '' $ac_executable_extensions; do
   5192       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5193       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   5194 # Check for GNU ac_path_SED and select it if it is found.
   5195   # Check for GNU $ac_path_SED
   5196 case `"$ac_path_SED" --version 2>&1` in
   5197 *GNU*)
   5198   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5199 *)
   5200   ac_count=0
   5201   $as_echo_n 0123456789 >"conftest.in"
   5202   while :
   5203   do
   5204     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5205     mv "conftest.tmp" "conftest.in"
   5206     cp "conftest.in" "conftest.nl"
   5207     $as_echo '' >> "conftest.nl"
   5208     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5209     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5210     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5211     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5212       # Best one so far, save it but keep looking for a better one
   5213       ac_cv_path_SED="$ac_path_SED"
   5214       ac_path_SED_max=$ac_count
   5215     fi
   5216     # 10*(2^10) chars as input seems more than enough
   5217     test $ac_count -gt 10 && break
   5218   done
   5219   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5220 esac
   5221 
   5222       $ac_path_SED_found && break 3
   5223     done
   5224   done
   5225   done
   5226 IFS=$as_save_IFS
   5227   if test -z "$ac_cv_path_SED"; then
   5228     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5229   fi
   5230 else
   5231   ac_cv_path_SED=$SED
   5232 fi
   5233 
   5234 fi
   5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5236 $as_echo "$ac_cv_path_SED" >&6; }
   5237  SED="$ac_cv_path_SED"
   5238   rm -f conftest.sed
   5239 
   5240 test -z "$SED" && SED=sed
   5241 Xsed="$SED -e 1s/^X//"
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 
   5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5254 $as_echo_n "checking for fgrep... " >&6; }
   5255 if test "${ac_cv_path_FGREP+set}" = set; then :
   5256   $as_echo_n "(cached) " >&6
   5257 else
   5258   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5259    then ac_cv_path_FGREP="$GREP -F"
   5260    else
   5261      if test -z "$FGREP"; then
   5262   ac_path_FGREP_found=false
   5263   # Loop through the user's path and test for each of PROGNAME-LIST
   5264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5265 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5266 do
   5267   IFS=$as_save_IFS
   5268   test -z "$as_dir" && as_dir=.
   5269     for ac_prog in fgrep; do
   5270     for ac_exec_ext in '' $ac_executable_extensions; do
   5271       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5272       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   5273 # Check for GNU ac_path_FGREP and select it if it is found.
   5274   # Check for GNU $ac_path_FGREP
   5275 case `"$ac_path_FGREP" --version 2>&1` in
   5276 *GNU*)
   5277   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5278 *)
   5279   ac_count=0
   5280   $as_echo_n 0123456789 >"conftest.in"
   5281   while :
   5282   do
   5283     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5284     mv "conftest.tmp" "conftest.in"
   5285     cp "conftest.in" "conftest.nl"
   5286     $as_echo 'FGREP' >> "conftest.nl"
   5287     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5288     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5289     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5290     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5291       # Best one so far, save it but keep looking for a better one
   5292       ac_cv_path_FGREP="$ac_path_FGREP"
   5293       ac_path_FGREP_max=$ac_count
   5294     fi
   5295     # 10*(2^10) chars as input seems more than enough
   5296     test $ac_count -gt 10 && break
   5297   done
   5298   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5299 esac
   5300 
   5301       $ac_path_FGREP_found && break 3
   5302     done
   5303   done
   5304   done
   5305 IFS=$as_save_IFS
   5306   if test -z "$ac_cv_path_FGREP"; then
   5307     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5308   fi
   5309 else
   5310   ac_cv_path_FGREP=$FGREP
   5311 fi
   5312 
   5313    fi
   5314 fi
   5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5316 $as_echo "$ac_cv_path_FGREP" >&6; }
   5317  FGREP="$ac_cv_path_FGREP"
   5318 
   5319 
   5320 test -z "$GREP" && GREP=grep
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 # Check whether --with-gnu-ld was given.
   5341 if test "${with_gnu_ld+set}" = set; then :
   5342   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5343 else
   5344   with_gnu_ld=no
   5345 fi
   5346 
   5347 ac_prog=ld
   5348 if test "$GCC" = yes; then
   5349   # Check if gcc -print-prog-name=ld gives a path.
   5350   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5351 $as_echo_n "checking for ld used by $CC... " >&6; }
   5352   case $host in
   5353   *-*-mingw*)
   5354     # gcc leaves a trailing carriage return which upsets mingw
   5355     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5356   *)
   5357     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5358   esac
   5359   case $ac_prog in
   5360     # Accept absolute paths.
   5361     [\\/]* | ?:[\\/]*)
   5362       re_direlt='/[^/][^/]*/\.\./'
   5363       # Canonicalize the pathname of ld
   5364       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5365       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5366 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5367       done
   5368       test -z "$LD" && LD="$ac_prog"
   5369       ;;
   5370   "")
   5371     # If it fails, then pretend we aren't using GCC.
   5372     ac_prog=ld
   5373     ;;
   5374   *)
   5375     # If it is relative, then search for the first ld in PATH.
   5376     with_gnu_ld=unknown
   5377     ;;
   5378   esac
   5379 elif test "$with_gnu_ld" = yes; then
   5380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5381 $as_echo_n "checking for GNU ld... " >&6; }
   5382 else
   5383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5384 $as_echo_n "checking for non-GNU ld... " >&6; }
   5385 fi
   5386 if test "${lt_cv_path_LD+set}" = set; then :
   5387   $as_echo_n "(cached) " >&6
   5388 else
   5389   if test -z "$LD"; then
   5390   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5391   for ac_dir in $PATH; do
   5392     IFS="$lt_save_ifs"
   5393     test -z "$ac_dir" && ac_dir=.
   5394     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5395       lt_cv_path_LD="$ac_dir/$ac_prog"
   5396       # Check to see if the program is GNU ld.  I'd rather use --version,
   5397       # but apparently some variants of GNU ld only accept -v.
   5398       # Break only if it was the GNU/non-GNU ld that we prefer.
   5399       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5400       *GNU* | *'with BFD'*)
   5401 	test "$with_gnu_ld" != no && break
   5402 	;;
   5403       *)
   5404 	test "$with_gnu_ld" != yes && break
   5405 	;;
   5406       esac
   5407     fi
   5408   done
   5409   IFS="$lt_save_ifs"
   5410 else
   5411   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5412 fi
   5413 fi
   5414 
   5415 LD="$lt_cv_path_LD"
   5416 if test -n "$LD"; then
   5417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5418 $as_echo "$LD" >&6; }
   5419 else
   5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5421 $as_echo "no" >&6; }
   5422 fi
   5423 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
   5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5426 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   5427   $as_echo_n "(cached) " >&6
   5428 else
   5429   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5430 case `$LD -v 2>&1 </dev/null` in
   5431 *GNU* | *'with BFD'*)
   5432   lt_cv_prog_gnu_ld=yes
   5433   ;;
   5434 *)
   5435   lt_cv_prog_gnu_ld=no
   5436   ;;
   5437 esac
   5438 fi
   5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5440 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5441 with_gnu_ld=$lt_cv_prog_gnu_ld
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5452 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5453 if test "${lt_cv_path_NM+set}" = set; then :
   5454   $as_echo_n "(cached) " >&6
   5455 else
   5456   if test -n "$NM"; then
   5457   # Let the user override the test.
   5458   lt_cv_path_NM="$NM"
   5459 else
   5460   lt_nm_to_check="${ac_tool_prefix}nm"
   5461   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5462     lt_nm_to_check="$lt_nm_to_check nm"
   5463   fi
   5464   for lt_tmp_nm in $lt_nm_to_check; do
   5465     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5466     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5467       IFS="$lt_save_ifs"
   5468       test -z "$ac_dir" && ac_dir=.
   5469       tmp_nm="$ac_dir/$lt_tmp_nm"
   5470       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5471 	# Check to see if the nm accepts a BSD-compat flag.
   5472 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5473 	#   nm: unknown option "B" ignored
   5474 	# Tru64's nm complains that /dev/null is an invalid object file
   5475 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5476 	*/dev/null* | *'Invalid file or object type'*)
   5477 	  lt_cv_path_NM="$tmp_nm -B"
   5478 	  break
   5479 	  ;;
   5480 	*)
   5481 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5482 	  */dev/null*)
   5483 	    lt_cv_path_NM="$tmp_nm -p"
   5484 	    break
   5485 	    ;;
   5486 	  *)
   5487 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5488 	    continue # so that we can try to find one that supports BSD flags
   5489 	    ;;
   5490 	  esac
   5491 	  ;;
   5492 	esac
   5493       fi
   5494     done
   5495     IFS="$lt_save_ifs"
   5496   done
   5497   : ${lt_cv_path_NM=no}
   5498 fi
   5499 fi
   5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5501 $as_echo "$lt_cv_path_NM" >&6; }
   5502 if test "$lt_cv_path_NM" != "no"; then
   5503   NM="$lt_cv_path_NM"
   5504 else
   5505   # Didn't find any BSD compatible name lister, look for dumpbin.
   5506   if test -n "$DUMPBIN"; then :
   5507     # Let the user override the test.
   5508   else
   5509     if test -n "$ac_tool_prefix"; then
   5510   for ac_prog in dumpbin "link -dump"
   5511   do
   5512     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5513 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5515 $as_echo_n "checking for $ac_word... " >&6; }
   5516 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   5517   $as_echo_n "(cached) " >&6
   5518 else
   5519   if test -n "$DUMPBIN"; then
   5520   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5521 else
   5522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5523 for as_dir in $PATH
   5524 do
   5525   IFS=$as_save_IFS
   5526   test -z "$as_dir" && as_dir=.
   5527     for ac_exec_ext in '' $ac_executable_extensions; do
   5528   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5529     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5530     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5531     break 2
   5532   fi
   5533 done
   5534   done
   5535 IFS=$as_save_IFS
   5536 
   5537 fi
   5538 fi
   5539 DUMPBIN=$ac_cv_prog_DUMPBIN
   5540 if test -n "$DUMPBIN"; then
   5541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5542 $as_echo "$DUMPBIN" >&6; }
   5543 else
   5544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5545 $as_echo "no" >&6; }
   5546 fi
   5547 
   5548 
   5549     test -n "$DUMPBIN" && break
   5550   done
   5551 fi
   5552 if test -z "$DUMPBIN"; then
   5553   ac_ct_DUMPBIN=$DUMPBIN
   5554   for ac_prog in dumpbin "link -dump"
   5555 do
   5556   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5557 set dummy $ac_prog; ac_word=$2
   5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5559 $as_echo_n "checking for $ac_word... " >&6; }
   5560 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   5561   $as_echo_n "(cached) " >&6
   5562 else
   5563   if test -n "$ac_ct_DUMPBIN"; then
   5564   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5565 else
   5566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5567 for as_dir in $PATH
   5568 do
   5569   IFS=$as_save_IFS
   5570   test -z "$as_dir" && as_dir=.
   5571     for ac_exec_ext in '' $ac_executable_extensions; do
   5572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5573     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5575     break 2
   5576   fi
   5577 done
   5578   done
   5579 IFS=$as_save_IFS
   5580 
   5581 fi
   5582 fi
   5583 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5584 if test -n "$ac_ct_DUMPBIN"; then
   5585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5586 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5587 else
   5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5589 $as_echo "no" >&6; }
   5590 fi
   5591 
   5592 
   5593   test -n "$ac_ct_DUMPBIN" && break
   5594 done
   5595 
   5596   if test "x$ac_ct_DUMPBIN" = x; then
   5597     DUMPBIN=":"
   5598   else
   5599     case $cross_compiling:$ac_tool_warned in
   5600 yes:)
   5601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5603 ac_tool_warned=yes ;;
   5604 esac
   5605     DUMPBIN=$ac_ct_DUMPBIN
   5606   fi
   5607 fi
   5608 
   5609     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5610     *COFF*)
   5611       DUMPBIN="$DUMPBIN -symbols"
   5612       ;;
   5613     *)
   5614       DUMPBIN=:
   5615       ;;
   5616     esac
   5617   fi
   5618 
   5619   if test "$DUMPBIN" != ":"; then
   5620     NM="$DUMPBIN"
   5621   fi
   5622 fi
   5623 test -z "$NM" && NM=nm
   5624 
   5625 
   5626 
   5627 
   5628 
   5629 
   5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5631 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5632 if test "${lt_cv_nm_interface+set}" = set; then :
   5633   $as_echo_n "(cached) " >&6
   5634 else
   5635   lt_cv_nm_interface="BSD nm"
   5636   echo "int some_variable = 0;" > conftest.$ac_ext
   5637   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5638   (eval "$ac_compile" 2>conftest.err)
   5639   cat conftest.err >&5
   5640   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5641   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5642   cat conftest.err >&5
   5643   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5644   cat conftest.out >&5
   5645   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5646     lt_cv_nm_interface="MS dumpbin"
   5647   fi
   5648   rm -f conftest*
   5649 fi
   5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5651 $as_echo "$lt_cv_nm_interface" >&6; }
   5652 
   5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5654 $as_echo_n "checking whether ln -s works... " >&6; }
   5655 LN_S=$as_ln_s
   5656 if test "$LN_S" = "ln -s"; then
   5657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5658 $as_echo "yes" >&6; }
   5659 else
   5660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5661 $as_echo "no, using $LN_S" >&6; }
   5662 fi
   5663 
   5664 # find the maximum length of command line arguments
   5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5666 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5667 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   5668   $as_echo_n "(cached) " >&6
   5669 else
   5670     i=0
   5671   teststring="ABCD"
   5672 
   5673   case $build_os in
   5674   msdosdjgpp*)
   5675     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5676     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5677     # during glob expansion).  Even if it were fixed, the result of this
   5678     # check would be larger than it should be.
   5679     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5680     ;;
   5681 
   5682   gnu*)
   5683     # Under GNU Hurd, this test is not required because there is
   5684     # no limit to the length of command line arguments.
   5685     # Libtool will interpret -1 as no limit whatsoever
   5686     lt_cv_sys_max_cmd_len=-1;
   5687     ;;
   5688 
   5689   cygwin* | mingw* | cegcc*)
   5690     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5691     # about 5 minutes as the teststring grows exponentially.
   5692     # Worse, since 9x/ME are not pre-emptively multitasking,
   5693     # you end up with a "frozen" computer, even though with patience
   5694     # the test eventually succeeds (with a max line length of 256k).
   5695     # Instead, let's just punt: use the minimum linelength reported by
   5696     # all of the supported platforms: 8192 (on NT/2K/XP).
   5697     lt_cv_sys_max_cmd_len=8192;
   5698     ;;
   5699 
   5700   mint*)
   5701     # On MiNT this can take a long time and run out of memory.
   5702     lt_cv_sys_max_cmd_len=8192;
   5703     ;;
   5704 
   5705   amigaos*)
   5706     # On AmigaOS with pdksh, this test takes hours, literally.
   5707     # So we just punt and use a minimum line length of 8192.
   5708     lt_cv_sys_max_cmd_len=8192;
   5709     ;;
   5710 
   5711   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5712     # This has been around since 386BSD, at least.  Likely further.
   5713     if test -x /sbin/sysctl; then
   5714       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5715     elif test -x /usr/sbin/sysctl; then
   5716       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5717     else
   5718       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5719     fi
   5720     # And add a safety zone
   5721     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5722     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5723     ;;
   5724 
   5725   interix*)
   5726     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5727     lt_cv_sys_max_cmd_len=196608
   5728     ;;
   5729 
   5730   osf*)
   5731     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5732     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5733     # nice to cause kernel panics so lets avoid the loop below.
   5734     # First set a reasonable default.
   5735     lt_cv_sys_max_cmd_len=16384
   5736     #
   5737     if test -x /sbin/sysconfig; then
   5738       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5739         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5740       esac
   5741     fi
   5742     ;;
   5743   sco3.2v5*)
   5744     lt_cv_sys_max_cmd_len=102400
   5745     ;;
   5746   sysv5* | sco5v6* | sysv4.2uw2*)
   5747     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5748     if test -n "$kargmax"; then
   5749       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5750     else
   5751       lt_cv_sys_max_cmd_len=32768
   5752     fi
   5753     ;;
   5754   *)
   5755     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5756     if test -n "$lt_cv_sys_max_cmd_len"; then
   5757       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5758       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5759     else
   5760       # Make teststring a little bigger before we do anything with it.
   5761       # a 1K string should be a reasonable start.
   5762       for i in 1 2 3 4 5 6 7 8 ; do
   5763         teststring=$teststring$teststring
   5764       done
   5765       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5766       # If test is not a shell built-in, we'll probably end up computing a
   5767       # maximum length that is only half of the actual maximum length, but
   5768       # we can't tell.
   5769       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   5770 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5771 	      test $i != 17 # 1/2 MB should be enough
   5772       do
   5773         i=`expr $i + 1`
   5774         teststring=$teststring$teststring
   5775       done
   5776       # Only check the string length outside the loop.
   5777       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5778       teststring=
   5779       # Add a significant safety factor because C++ compilers can tack on
   5780       # massive amounts of additional arguments before passing them to the
   5781       # linker.  It appears as though 1/2 is a usable value.
   5782       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5783     fi
   5784     ;;
   5785   esac
   5786 
   5787 fi
   5788 
   5789 if test -n $lt_cv_sys_max_cmd_len ; then
   5790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5791 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5792 else
   5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5794 $as_echo "none" >&6; }
   5795 fi
   5796 max_cmd_len=$lt_cv_sys_max_cmd_len
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 : ${CP="cp -f"}
   5804 : ${MV="mv -f"}
   5805 : ${RM="rm -f"}
   5806 
   5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   5808 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   5809 # Try some XSI features
   5810 xsi_shell=no
   5811 ( _lt_dummy="a/b/c"
   5812   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5813       = c,a/b,, \
   5814     && eval 'test $(( 1 + 1 )) -eq 2 \
   5815     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   5816   && xsi_shell=yes
   5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   5818 $as_echo "$xsi_shell" >&6; }
   5819 
   5820 
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   5822 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   5823 lt_shell_append=no
   5824 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5825     >/dev/null 2>&1 \
   5826   && lt_shell_append=yes
   5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   5828 $as_echo "$lt_shell_append" >&6; }
   5829 
   5830 
   5831 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5832   lt_unset=unset
   5833 else
   5834   lt_unset=false
   5835 fi
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 # test EBCDIC or ASCII
   5842 case `echo X|tr X '\101'` in
   5843  A) # ASCII based system
   5844     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5845   lt_SP2NL='tr \040 \012'
   5846   lt_NL2SP='tr \015\012 \040\040'
   5847   ;;
   5848  *) # EBCDIC based system
   5849   lt_SP2NL='tr \100 \n'
   5850   lt_NL2SP='tr \r\n \100\100'
   5851   ;;
   5852 esac
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5863 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5864 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   5865   $as_echo_n "(cached) " >&6
   5866 else
   5867   lt_cv_ld_reload_flag='-r'
   5868 fi
   5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5870 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5871 reload_flag=$lt_cv_ld_reload_flag
   5872 case $reload_flag in
   5873 "" | " "*) ;;
   5874 *) reload_flag=" $reload_flag" ;;
   5875 esac
   5876 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5877 case $host_os in
   5878   darwin*)
   5879     if test "$GCC" = yes; then
   5880       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5881     else
   5882       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5883     fi
   5884     ;;
   5885 esac
   5886 
   5887 
   5888 
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 if test -n "$ac_tool_prefix"; then
   5896   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5897 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5899 $as_echo_n "checking for $ac_word... " >&6; }
   5900 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   5901   $as_echo_n "(cached) " >&6
   5902 else
   5903   if test -n "$OBJDUMP"; then
   5904   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5905 else
   5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5907 for as_dir in $PATH
   5908 do
   5909   IFS=$as_save_IFS
   5910   test -z "$as_dir" && as_dir=.
   5911     for ac_exec_ext in '' $ac_executable_extensions; do
   5912   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5913     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5914     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5915     break 2
   5916   fi
   5917 done
   5918   done
   5919 IFS=$as_save_IFS
   5920 
   5921 fi
   5922 fi
   5923 OBJDUMP=$ac_cv_prog_OBJDUMP
   5924 if test -n "$OBJDUMP"; then
   5925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5926 $as_echo "$OBJDUMP" >&6; }
   5927 else
   5928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5929 $as_echo "no" >&6; }
   5930 fi
   5931 
   5932 
   5933 fi
   5934 if test -z "$ac_cv_prog_OBJDUMP"; then
   5935   ac_ct_OBJDUMP=$OBJDUMP
   5936   # Extract the first word of "objdump", so it can be a program name with args.
   5937 set dummy objdump; ac_word=$2
   5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5939 $as_echo_n "checking for $ac_word... " >&6; }
   5940 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   5941   $as_echo_n "(cached) " >&6
   5942 else
   5943   if test -n "$ac_ct_OBJDUMP"; then
   5944   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5945 else
   5946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5947 for as_dir in $PATH
   5948 do
   5949   IFS=$as_save_IFS
   5950   test -z "$as_dir" && as_dir=.
   5951     for ac_exec_ext in '' $ac_executable_extensions; do
   5952   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5953     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5954     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5955     break 2
   5956   fi
   5957 done
   5958   done
   5959 IFS=$as_save_IFS
   5960 
   5961 fi
   5962 fi
   5963 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5964 if test -n "$ac_ct_OBJDUMP"; then
   5965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5966 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5967 else
   5968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5969 $as_echo "no" >&6; }
   5970 fi
   5971 
   5972   if test "x$ac_ct_OBJDUMP" = x; then
   5973     OBJDUMP="false"
   5974   else
   5975     case $cross_compiling:$ac_tool_warned in
   5976 yes:)
   5977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5979 ac_tool_warned=yes ;;
   5980 esac
   5981     OBJDUMP=$ac_ct_OBJDUMP
   5982   fi
   5983 else
   5984   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5985 fi
   5986 
   5987 test -z "$OBJDUMP" && OBJDUMP=objdump
   5988 
   5989 
   5990 
   5991 
   5992 
   5993 
   5994 
   5995 
   5996 
   5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5998 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5999 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   6000   $as_echo_n "(cached) " >&6
   6001 else
   6002   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6003 lt_cv_file_magic_test_file=
   6004 lt_cv_deplibs_check_method='unknown'
   6005 # Need to set the preceding variable on all platforms that support
   6006 # interlibrary dependencies.
   6007 # 'none' -- dependencies not supported.
   6008 # `unknown' -- same as none, but documents that we really don't know.
   6009 # 'pass_all' -- all dependencies passed with no checks.
   6010 # 'test_compile' -- check by making test program.
   6011 # 'file_magic [[regex]]' -- check by looking for files in library path
   6012 # which responds to the $file_magic_cmd with a given extended regex.
   6013 # If you have `file' or equivalent on your system and you're not sure
   6014 # whether `pass_all' will *always* work, you probably want this one.
   6015 
   6016 case $host_os in
   6017 aix[4-9]*)
   6018   lt_cv_deplibs_check_method=pass_all
   6019   ;;
   6020 
   6021 beos*)
   6022   lt_cv_deplibs_check_method=pass_all
   6023   ;;
   6024 
   6025 bsdi[45]*)
   6026   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6027   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6028   lt_cv_file_magic_test_file=/shlib/libc.so
   6029   ;;
   6030 
   6031 cygwin*)
   6032   # func_win32_libid is a shell function defined in ltmain.sh
   6033   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6034   lt_cv_file_magic_cmd='func_win32_libid'
   6035   ;;
   6036 
   6037 mingw* | pw32*)
   6038   # Base MSYS/MinGW do not provide the 'file' command needed by
   6039   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6040   # unless we find 'file', for example because we are cross-compiling.
   6041   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6042   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6043     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6044     lt_cv_file_magic_cmd='func_win32_libid'
   6045   else
   6046     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6047     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6048   fi
   6049   ;;
   6050 
   6051 cegcc*)
   6052   # use the weaker test based on 'objdump'. See mingw*.
   6053   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6054   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6055   ;;
   6056 
   6057 darwin* | rhapsody*)
   6058   lt_cv_deplibs_check_method=pass_all
   6059   ;;
   6060 
   6061 freebsd* | dragonfly*)
   6062   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6063     case $host_cpu in
   6064     i*86 )
   6065       # Not sure whether the presence of OpenBSD here was a mistake.
   6066       # Let's accept both of them until this is cleared up.
   6067       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6068       lt_cv_file_magic_cmd=/usr/bin/file
   6069       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6070       ;;
   6071     esac
   6072   else
   6073     lt_cv_deplibs_check_method=pass_all
   6074   fi
   6075   ;;
   6076 
   6077 gnu*)
   6078   lt_cv_deplibs_check_method=pass_all
   6079   ;;
   6080 
   6081 haiku*)
   6082   lt_cv_deplibs_check_method=pass_all
   6083   ;;
   6084 
   6085 hpux10.20* | hpux11*)
   6086   lt_cv_file_magic_cmd=/usr/bin/file
   6087   case $host_cpu in
   6088   ia64*)
   6089     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6090     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6091     ;;
   6092   hppa*64*)
   6093     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]'
   6094     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6095     ;;
   6096   *)
   6097     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6098     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6099     ;;
   6100   esac
   6101   ;;
   6102 
   6103 interix[3-9]*)
   6104   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6105   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6106   ;;
   6107 
   6108 irix5* | irix6* | nonstopux*)
   6109   case $LD in
   6110   *-32|*"-32 ") libmagic=32-bit;;
   6111   *-n32|*"-n32 ") libmagic=N32;;
   6112   *-64|*"-64 ") libmagic=64-bit;;
   6113   *) libmagic=never-match;;
   6114   esac
   6115   lt_cv_deplibs_check_method=pass_all
   6116   ;;
   6117 
   6118 # This must be Linux ELF.
   6119 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6120   lt_cv_deplibs_check_method=pass_all
   6121   ;;
   6122 
   6123 netbsd*)
   6124   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6125     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6126   else
   6127     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6128   fi
   6129   ;;
   6130 
   6131 newos6*)
   6132   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6133   lt_cv_file_magic_cmd=/usr/bin/file
   6134   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6135   ;;
   6136 
   6137 *nto* | *qnx*)
   6138   lt_cv_deplibs_check_method=pass_all
   6139   ;;
   6140 
   6141 openbsd*)
   6142   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6143     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6144   else
   6145     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6146   fi
   6147   ;;
   6148 
   6149 osf3* | osf4* | osf5*)
   6150   lt_cv_deplibs_check_method=pass_all
   6151   ;;
   6152 
   6153 rdos*)
   6154   lt_cv_deplibs_check_method=pass_all
   6155   ;;
   6156 
   6157 solaris*)
   6158   lt_cv_deplibs_check_method=pass_all
   6159   ;;
   6160 
   6161 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6162   lt_cv_deplibs_check_method=pass_all
   6163   ;;
   6164 
   6165 sysv4 | sysv4.3*)
   6166   case $host_vendor in
   6167   motorola)
   6168     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]'
   6169     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6170     ;;
   6171   ncr)
   6172     lt_cv_deplibs_check_method=pass_all
   6173     ;;
   6174   sequent)
   6175     lt_cv_file_magic_cmd='/bin/file'
   6176     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6177     ;;
   6178   sni)
   6179     lt_cv_file_magic_cmd='/bin/file'
   6180     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6181     lt_cv_file_magic_test_file=/lib/libc.so
   6182     ;;
   6183   siemens)
   6184     lt_cv_deplibs_check_method=pass_all
   6185     ;;
   6186   pc)
   6187     lt_cv_deplibs_check_method=pass_all
   6188     ;;
   6189   esac
   6190   ;;
   6191 
   6192 tpf*)
   6193   lt_cv_deplibs_check_method=pass_all
   6194   ;;
   6195 esac
   6196 
   6197 fi
   6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6199 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6200 file_magic_cmd=$lt_cv_file_magic_cmd
   6201 deplibs_check_method=$lt_cv_deplibs_check_method
   6202 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 if test -n "$ac_tool_prefix"; then
   6216   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6217 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6219 $as_echo_n "checking for $ac_word... " >&6; }
   6220 if test "${ac_cv_prog_AR+set}" = set; then :
   6221   $as_echo_n "(cached) " >&6
   6222 else
   6223   if test -n "$AR"; then
   6224   ac_cv_prog_AR="$AR" # Let the user override the test.
   6225 else
   6226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6227 for as_dir in $PATH
   6228 do
   6229   IFS=$as_save_IFS
   6230   test -z "$as_dir" && as_dir=.
   6231     for ac_exec_ext in '' $ac_executable_extensions; do
   6232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6233     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6235     break 2
   6236   fi
   6237 done
   6238   done
   6239 IFS=$as_save_IFS
   6240 
   6241 fi
   6242 fi
   6243 AR=$ac_cv_prog_AR
   6244 if test -n "$AR"; then
   6245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6246 $as_echo "$AR" >&6; }
   6247 else
   6248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6249 $as_echo "no" >&6; }
   6250 fi
   6251 
   6252 
   6253 fi
   6254 if test -z "$ac_cv_prog_AR"; then
   6255   ac_ct_AR=$AR
   6256   # Extract the first word of "ar", so it can be a program name with args.
   6257 set dummy ar; ac_word=$2
   6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6259 $as_echo_n "checking for $ac_word... " >&6; }
   6260 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   6261   $as_echo_n "(cached) " >&6
   6262 else
   6263   if test -n "$ac_ct_AR"; then
   6264   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6265 else
   6266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6267 for as_dir in $PATH
   6268 do
   6269   IFS=$as_save_IFS
   6270   test -z "$as_dir" && as_dir=.
   6271     for ac_exec_ext in '' $ac_executable_extensions; do
   6272   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6273     ac_cv_prog_ac_ct_AR="ar"
   6274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6275     break 2
   6276   fi
   6277 done
   6278   done
   6279 IFS=$as_save_IFS
   6280 
   6281 fi
   6282 fi
   6283 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6284 if test -n "$ac_ct_AR"; then
   6285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6286 $as_echo "$ac_ct_AR" >&6; }
   6287 else
   6288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6289 $as_echo "no" >&6; }
   6290 fi
   6291 
   6292   if test "x$ac_ct_AR" = x; then
   6293     AR="false"
   6294   else
   6295     case $cross_compiling:$ac_tool_warned in
   6296 yes:)
   6297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6299 ac_tool_warned=yes ;;
   6300 esac
   6301     AR=$ac_ct_AR
   6302   fi
   6303 else
   6304   AR="$ac_cv_prog_AR"
   6305 fi
   6306 
   6307 test -z "$AR" && AR=ar
   6308 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 if test -n "$ac_tool_prefix"; then
   6321   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6322 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6324 $as_echo_n "checking for $ac_word... " >&6; }
   6325 if test "${ac_cv_prog_STRIP+set}" = set; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   if test -n "$STRIP"; then
   6329   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6330 else
   6331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6332 for as_dir in $PATH
   6333 do
   6334   IFS=$as_save_IFS
   6335   test -z "$as_dir" && as_dir=.
   6336     for ac_exec_ext in '' $ac_executable_extensions; do
   6337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6338     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6339     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6340     break 2
   6341   fi
   6342 done
   6343   done
   6344 IFS=$as_save_IFS
   6345 
   6346 fi
   6347 fi
   6348 STRIP=$ac_cv_prog_STRIP
   6349 if test -n "$STRIP"; then
   6350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6351 $as_echo "$STRIP" >&6; }
   6352 else
   6353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6354 $as_echo "no" >&6; }
   6355 fi
   6356 
   6357 
   6358 fi
   6359 if test -z "$ac_cv_prog_STRIP"; then
   6360   ac_ct_STRIP=$STRIP
   6361   # Extract the first word of "strip", so it can be a program name with args.
   6362 set dummy strip; ac_word=$2
   6363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6364 $as_echo_n "checking for $ac_word... " >&6; }
   6365 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   6366   $as_echo_n "(cached) " >&6
   6367 else
   6368   if test -n "$ac_ct_STRIP"; then
   6369   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6370 else
   6371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6372 for as_dir in $PATH
   6373 do
   6374   IFS=$as_save_IFS
   6375   test -z "$as_dir" && as_dir=.
   6376     for ac_exec_ext in '' $ac_executable_extensions; do
   6377   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6378     ac_cv_prog_ac_ct_STRIP="strip"
   6379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6380     break 2
   6381   fi
   6382 done
   6383   done
   6384 IFS=$as_save_IFS
   6385 
   6386 fi
   6387 fi
   6388 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6389 if test -n "$ac_ct_STRIP"; then
   6390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6391 $as_echo "$ac_ct_STRIP" >&6; }
   6392 else
   6393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6394 $as_echo "no" >&6; }
   6395 fi
   6396 
   6397   if test "x$ac_ct_STRIP" = x; then
   6398     STRIP=":"
   6399   else
   6400     case $cross_compiling:$ac_tool_warned in
   6401 yes:)
   6402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6403 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6404 ac_tool_warned=yes ;;
   6405 esac
   6406     STRIP=$ac_ct_STRIP
   6407   fi
   6408 else
   6409   STRIP="$ac_cv_prog_STRIP"
   6410 fi
   6411 
   6412 test -z "$STRIP" && STRIP=:
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 if test -n "$ac_tool_prefix"; then
   6420   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6421 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6423 $as_echo_n "checking for $ac_word... " >&6; }
   6424 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   6425   $as_echo_n "(cached) " >&6
   6426 else
   6427   if test -n "$RANLIB"; then
   6428   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6429 else
   6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6431 for as_dir in $PATH
   6432 do
   6433   IFS=$as_save_IFS
   6434   test -z "$as_dir" && as_dir=.
   6435     for ac_exec_ext in '' $ac_executable_extensions; do
   6436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6437     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6439     break 2
   6440   fi
   6441 done
   6442   done
   6443 IFS=$as_save_IFS
   6444 
   6445 fi
   6446 fi
   6447 RANLIB=$ac_cv_prog_RANLIB
   6448 if test -n "$RANLIB"; then
   6449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6450 $as_echo "$RANLIB" >&6; }
   6451 else
   6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6453 $as_echo "no" >&6; }
   6454 fi
   6455 
   6456 
   6457 fi
   6458 if test -z "$ac_cv_prog_RANLIB"; then
   6459   ac_ct_RANLIB=$RANLIB
   6460   # Extract the first word of "ranlib", so it can be a program name with args.
   6461 set dummy ranlib; ac_word=$2
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6463 $as_echo_n "checking for $ac_word... " >&6; }
   6464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   6465   $as_echo_n "(cached) " >&6
   6466 else
   6467   if test -n "$ac_ct_RANLIB"; then
   6468   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6469 else
   6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6471 for as_dir in $PATH
   6472 do
   6473   IFS=$as_save_IFS
   6474   test -z "$as_dir" && as_dir=.
   6475     for ac_exec_ext in '' $ac_executable_extensions; do
   6476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6477     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6479     break 2
   6480   fi
   6481 done
   6482   done
   6483 IFS=$as_save_IFS
   6484 
   6485 fi
   6486 fi
   6487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6488 if test -n "$ac_ct_RANLIB"; then
   6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6490 $as_echo "$ac_ct_RANLIB" >&6; }
   6491 else
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6493 $as_echo "no" >&6; }
   6494 fi
   6495 
   6496   if test "x$ac_ct_RANLIB" = x; then
   6497     RANLIB=":"
   6498   else
   6499     case $cross_compiling:$ac_tool_warned in
   6500 yes:)
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6503 ac_tool_warned=yes ;;
   6504 esac
   6505     RANLIB=$ac_ct_RANLIB
   6506   fi
   6507 else
   6508   RANLIB="$ac_cv_prog_RANLIB"
   6509 fi
   6510 
   6511 test -z "$RANLIB" && RANLIB=:
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 # Determine commands to create old-style static archives.
   6519 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6520 old_postinstall_cmds='chmod 644 $oldlib'
   6521 old_postuninstall_cmds=
   6522 
   6523 if test -n "$RANLIB"; then
   6524   case $host_os in
   6525   openbsd*)
   6526     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6527     ;;
   6528   *)
   6529     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6530     ;;
   6531   esac
   6532   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6533 fi
   6534 
   6535 case $host_os in
   6536   darwin*)
   6537     lock_old_archive_extraction=yes ;;
   6538   *)
   6539     lock_old_archive_extraction=no ;;
   6540 esac
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580 # If no C compiler was specified, use CC.
   6581 LTCC=${LTCC-"$CC"}
   6582 
   6583 # If no C compiler flags were specified, use CFLAGS.
   6584 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6585 
   6586 # Allow CC to be a program name with arguments.
   6587 compiler=$CC
   6588 
   6589 
   6590 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6592 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6593 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596 
   6597 # These are sane defaults that work on at least a few old systems.
   6598 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6599 
   6600 # Character class describing NM global symbol codes.
   6601 symcode='[BCDEGRST]'
   6602 
   6603 # Regexp to match symbols that can be accessed directly from C.
   6604 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6605 
   6606 # Define system-specific variables.
   6607 case $host_os in
   6608 aix*)
   6609   symcode='[BCDT]'
   6610   ;;
   6611 cygwin* | mingw* | pw32* | cegcc*)
   6612   symcode='[ABCDGISTW]'
   6613   ;;
   6614 hpux*)
   6615   if test "$host_cpu" = ia64; then
   6616     symcode='[ABCDEGRST]'
   6617   fi
   6618   ;;
   6619 irix* | nonstopux*)
   6620   symcode='[BCDEGRST]'
   6621   ;;
   6622 osf*)
   6623   symcode='[BCDEGQRST]'
   6624   ;;
   6625 solaris*)
   6626   symcode='[BDRT]'
   6627   ;;
   6628 sco3.2v5*)
   6629   symcode='[DT]'
   6630   ;;
   6631 sysv4.2uw2*)
   6632   symcode='[DT]'
   6633   ;;
   6634 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6635   symcode='[ABDT]'
   6636   ;;
   6637 sysv4)
   6638   symcode='[DFNSTU]'
   6639   ;;
   6640 esac
   6641 
   6642 # If we're using GNU nm, then use its standard symbol codes.
   6643 case `$NM -V 2>&1` in
   6644 *GNU* | *'with BFD'*)
   6645   symcode='[ABCDGIRSTW]' ;;
   6646 esac
   6647 
   6648 # Transform an extracted symbol line into a proper C declaration.
   6649 # Some systems (esp. on ia64) link data and code symbols differently,
   6650 # so use this general approach.
   6651 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6652 
   6653 # Transform an extracted symbol line into symbol name and symbol address
   6654 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6655 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'"
   6656 
   6657 # Handle CRLF in mingw tool chain
   6658 opt_cr=
   6659 case $build_os in
   6660 mingw*)
   6661   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6662   ;;
   6663 esac
   6664 
   6665 # Try without a prefix underscore, then with it.
   6666 for ac_symprfx in "" "_"; do
   6667 
   6668   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6669   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6670 
   6671   # Write the raw and C identifiers.
   6672   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6673     # Fake it for dumpbin and say T for any non-static function
   6674     # and D for any global variable.
   6675     # Also find C++ and __fastcall symbols from MSVC++,
   6676     # which start with @ or ?.
   6677     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6678 "     {last_section=section; section=\$ 3};"\
   6679 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6680 "     \$ 0!~/External *\|/{next};"\
   6681 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6682 "     {if(hide[section]) next};"\
   6683 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6684 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6685 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6686 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6687 "     ' prfx=^$ac_symprfx"
   6688   else
   6689     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6690   fi
   6691 
   6692   # Check to see that the pipe works correctly.
   6693   pipe_works=no
   6694 
   6695   rm -f conftest*
   6696   cat > conftest.$ac_ext <<_LT_EOF
   6697 #ifdef __cplusplus
   6698 extern "C" {
   6699 #endif
   6700 char nm_test_var;
   6701 void nm_test_func(void);
   6702 void nm_test_func(void){}
   6703 #ifdef __cplusplus
   6704 }
   6705 #endif
   6706 int main(){nm_test_var='a';nm_test_func();return(0);}
   6707 _LT_EOF
   6708 
   6709   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6710   (eval $ac_compile) 2>&5
   6711   ac_status=$?
   6712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6713   test $ac_status = 0; }; then
   6714     # Now try to grab the symbols.
   6715     nlist=conftest.nm
   6716     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6717   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6718   ac_status=$?
   6719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6720   test $ac_status = 0; } && test -s "$nlist"; then
   6721       # Try sorting and uniquifying the output.
   6722       if sort "$nlist" | uniq > "$nlist"T; then
   6723 	mv -f "$nlist"T "$nlist"
   6724       else
   6725 	rm -f "$nlist"T
   6726       fi
   6727 
   6728       # Make sure that we snagged all the symbols we need.
   6729       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6730 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6731 	  cat <<_LT_EOF > conftest.$ac_ext
   6732 #ifdef __cplusplus
   6733 extern "C" {
   6734 #endif
   6735 
   6736 _LT_EOF
   6737 	  # Now generate the symbol file.
   6738 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6739 
   6740 	  cat <<_LT_EOF >> conftest.$ac_ext
   6741 
   6742 /* The mapping between symbol names and symbols.  */
   6743 const struct {
   6744   const char *name;
   6745   void       *address;
   6746 }
   6747 lt__PROGRAM__LTX_preloaded_symbols[] =
   6748 {
   6749   { "@PROGRAM@", (void *) 0 },
   6750 _LT_EOF
   6751 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6752 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6753   {0, (void *) 0}
   6754 };
   6755 
   6756 /* This works around a problem in FreeBSD linker */
   6757 #ifdef FREEBSD_WORKAROUND
   6758 static const void *lt_preloaded_setup() {
   6759   return lt__PROGRAM__LTX_preloaded_symbols;
   6760 }
   6761 #endif
   6762 
   6763 #ifdef __cplusplus
   6764 }
   6765 #endif
   6766 _LT_EOF
   6767 	  # Now try linking the two files.
   6768 	  mv conftest.$ac_objext conftstm.$ac_objext
   6769 	  lt_save_LIBS="$LIBS"
   6770 	  lt_save_CFLAGS="$CFLAGS"
   6771 	  LIBS="conftstm.$ac_objext"
   6772 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6773 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6774   (eval $ac_link) 2>&5
   6775   ac_status=$?
   6776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6777   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6778 	    pipe_works=yes
   6779 	  fi
   6780 	  LIBS="$lt_save_LIBS"
   6781 	  CFLAGS="$lt_save_CFLAGS"
   6782 	else
   6783 	  echo "cannot find nm_test_func in $nlist" >&5
   6784 	fi
   6785       else
   6786 	echo "cannot find nm_test_var in $nlist" >&5
   6787       fi
   6788     else
   6789       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6790     fi
   6791   else
   6792     echo "$progname: failed program was:" >&5
   6793     cat conftest.$ac_ext >&5
   6794   fi
   6795   rm -rf conftest* conftst*
   6796 
   6797   # Do not use the global_symbol_pipe unless it works.
   6798   if test "$pipe_works" = yes; then
   6799     break
   6800   else
   6801     lt_cv_sys_global_symbol_pipe=
   6802   fi
   6803 done
   6804 
   6805 fi
   6806 
   6807 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6808   lt_cv_sys_global_symbol_to_cdecl=
   6809 fi
   6810 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6812 $as_echo "failed" >&6; }
   6813 else
   6814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6815 $as_echo "ok" >&6; }
   6816 fi
   6817 
   6818 
   6819 
   6820 
   6821 
   6822 
   6823 
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 
   6830 
   6831 
   6832 
   6833 
   6834 
   6835 
   6836 
   6837 
   6838 
   6839 # Check whether --enable-libtool-lock was given.
   6840 if test "${enable_libtool_lock+set}" = set; then :
   6841   enableval=$enable_libtool_lock;
   6842 fi
   6843 
   6844 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6845 
   6846 # Some flags need to be propagated to the compiler or linker for good
   6847 # libtool support.
   6848 case $host in
   6849 ia64-*-hpux*)
   6850   # Find out which ABI we are using.
   6851   echo 'int i;' > conftest.$ac_ext
   6852   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6853   (eval $ac_compile) 2>&5
   6854   ac_status=$?
   6855   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6856   test $ac_status = 0; }; then
   6857     case `/usr/bin/file conftest.$ac_objext` in
   6858       *ELF-32*)
   6859 	HPUX_IA64_MODE="32"
   6860 	;;
   6861       *ELF-64*)
   6862 	HPUX_IA64_MODE="64"
   6863 	;;
   6864     esac
   6865   fi
   6866   rm -rf conftest*
   6867   ;;
   6868 *-*-irix6*)
   6869   # Find out which ABI we are using.
   6870   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6871   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6872   (eval $ac_compile) 2>&5
   6873   ac_status=$?
   6874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6875   test $ac_status = 0; }; then
   6876     if test "$lt_cv_prog_gnu_ld" = yes; then
   6877       case `/usr/bin/file conftest.$ac_objext` in
   6878 	*32-bit*)
   6879 	  LD="${LD-ld} -melf32bsmip"
   6880 	  ;;
   6881 	*N32*)
   6882 	  LD="${LD-ld} -melf32bmipn32"
   6883 	  ;;
   6884 	*64-bit*)
   6885 	  LD="${LD-ld} -melf64bmip"
   6886 	;;
   6887       esac
   6888     else
   6889       case `/usr/bin/file conftest.$ac_objext` in
   6890 	*32-bit*)
   6891 	  LD="${LD-ld} -32"
   6892 	  ;;
   6893 	*N32*)
   6894 	  LD="${LD-ld} -n32"
   6895 	  ;;
   6896 	*64-bit*)
   6897 	  LD="${LD-ld} -64"
   6898 	  ;;
   6899       esac
   6900     fi
   6901   fi
   6902   rm -rf conftest*
   6903   ;;
   6904 
   6905 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6906 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6907   # Find out which ABI we are using.
   6908   echo 'int i;' > conftest.$ac_ext
   6909   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6910   (eval $ac_compile) 2>&5
   6911   ac_status=$?
   6912   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6913   test $ac_status = 0; }; then
   6914     case `/usr/bin/file conftest.o` in
   6915       *32-bit*)
   6916 	case $host in
   6917 	  x86_64-*kfreebsd*-gnu)
   6918 	    LD="${LD-ld} -m elf_i386_fbsd"
   6919 	    ;;
   6920 	  x86_64-*linux*)
   6921 	    case `/usr/bin/file conftest.o` in
   6922 	      *x86-64*)
   6923 		LD="${LD-ld} -m elf32_x86_64"
   6924 		;;
   6925 	      *)
   6926 		LD="${LD-ld} -m elf_i386"
   6927 		;;
   6928 	    esac
   6929 	    ;;
   6930 	  powerpc64le-*linux*)
   6931 	    LD="${LD-ld} -m elf32lppclinux"
   6932 	    ;;
   6933 	  powerpc64-*linux*)
   6934 	    LD="${LD-ld} -m elf32ppclinux"
   6935 	    ;;
   6936 	  s390x-*linux*)
   6937 	    LD="${LD-ld} -m elf_s390"
   6938 	    ;;
   6939 	  sparc64-*linux*)
   6940 	    LD="${LD-ld} -m elf32_sparc"
   6941 	    ;;
   6942 	esac
   6943 	;;
   6944       *64-bit*)
   6945 	case $host in
   6946 	  x86_64-*kfreebsd*-gnu)
   6947 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6948 	    ;;
   6949 	  x86_64-*linux*)
   6950 	    LD="${LD-ld} -m elf_x86_64"
   6951 	    ;;
   6952 	  powerpcle-*linux*)
   6953 	    LD="${LD-ld} -m elf64lppc"
   6954 	    ;;
   6955 	  powerpc-*linux*)
   6956 	    LD="${LD-ld} -m elf64ppc"
   6957 	    ;;
   6958 	  s390*-*linux*|s390*-*tpf*)
   6959 	    LD="${LD-ld} -m elf64_s390"
   6960 	    ;;
   6961 	  sparc*-*linux*)
   6962 	    LD="${LD-ld} -m elf64_sparc"
   6963 	    ;;
   6964 	esac
   6965 	;;
   6966     esac
   6967   fi
   6968   rm -rf conftest*
   6969   ;;
   6970 
   6971 *-*-sco3.2v5*)
   6972   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6973   SAVE_CFLAGS="$CFLAGS"
   6974   CFLAGS="$CFLAGS -belf"
   6975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6976 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6977 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   6978   $as_echo_n "(cached) " >&6
   6979 else
   6980   ac_ext=c
   6981 ac_cpp='$CPP $CPPFLAGS'
   6982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6985 
   6986      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6987 /* end confdefs.h.  */
   6988 
   6989 int
   6990 main ()
   6991 {
   6992 
   6993   ;
   6994   return 0;
   6995 }
   6996 _ACEOF
   6997 if ac_fn_c_try_link "$LINENO"; then :
   6998   lt_cv_cc_needs_belf=yes
   6999 else
   7000   lt_cv_cc_needs_belf=no
   7001 fi
   7002 rm -f core conftest.err conftest.$ac_objext \
   7003     conftest$ac_exeext conftest.$ac_ext
   7004      ac_ext=c
   7005 ac_cpp='$CPP $CPPFLAGS'
   7006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7009 
   7010 fi
   7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7012 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7013   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7014     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7015     CFLAGS="$SAVE_CFLAGS"
   7016   fi
   7017   ;;
   7018 sparc*-*solaris*)
   7019   # Find out which ABI we are using.
   7020   echo 'int i;' > conftest.$ac_ext
   7021   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7022   (eval $ac_compile) 2>&5
   7023   ac_status=$?
   7024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7025   test $ac_status = 0; }; then
   7026     case `/usr/bin/file conftest.o` in
   7027     *64-bit*)
   7028       case $lt_cv_prog_gnu_ld in
   7029       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7030       *)
   7031 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7032 	  LD="${LD-ld} -64"
   7033 	fi
   7034 	;;
   7035       esac
   7036       ;;
   7037     esac
   7038   fi
   7039   rm -rf conftest*
   7040   ;;
   7041 esac
   7042 
   7043 need_locks="$enable_libtool_lock"
   7044 
   7045 
   7046   case $host_os in
   7047     rhapsody* | darwin*)
   7048     if test -n "$ac_tool_prefix"; then
   7049   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7050 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7052 $as_echo_n "checking for $ac_word... " >&6; }
   7053 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   7054   $as_echo_n "(cached) " >&6
   7055 else
   7056   if test -n "$DSYMUTIL"; then
   7057   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7058 else
   7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7060 for as_dir in $PATH
   7061 do
   7062   IFS=$as_save_IFS
   7063   test -z "$as_dir" && as_dir=.
   7064     for ac_exec_ext in '' $ac_executable_extensions; do
   7065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7066     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7068     break 2
   7069   fi
   7070 done
   7071   done
   7072 IFS=$as_save_IFS
   7073 
   7074 fi
   7075 fi
   7076 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7077 if test -n "$DSYMUTIL"; then
   7078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7079 $as_echo "$DSYMUTIL" >&6; }
   7080 else
   7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7082 $as_echo "no" >&6; }
   7083 fi
   7084 
   7085 
   7086 fi
   7087 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7088   ac_ct_DSYMUTIL=$DSYMUTIL
   7089   # Extract the first word of "dsymutil", so it can be a program name with args.
   7090 set dummy dsymutil; ac_word=$2
   7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7092 $as_echo_n "checking for $ac_word... " >&6; }
   7093 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   7094   $as_echo_n "(cached) " >&6
   7095 else
   7096   if test -n "$ac_ct_DSYMUTIL"; then
   7097   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7098 else
   7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7100 for as_dir in $PATH
   7101 do
   7102   IFS=$as_save_IFS
   7103   test -z "$as_dir" && as_dir=.
   7104     for ac_exec_ext in '' $ac_executable_extensions; do
   7105   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7106     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7107     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7108     break 2
   7109   fi
   7110 done
   7111   done
   7112 IFS=$as_save_IFS
   7113 
   7114 fi
   7115 fi
   7116 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7117 if test -n "$ac_ct_DSYMUTIL"; then
   7118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7119 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7120 else
   7121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7122 $as_echo "no" >&6; }
   7123 fi
   7124 
   7125   if test "x$ac_ct_DSYMUTIL" = x; then
   7126     DSYMUTIL=":"
   7127   else
   7128     case $cross_compiling:$ac_tool_warned in
   7129 yes:)
   7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7132 ac_tool_warned=yes ;;
   7133 esac
   7134     DSYMUTIL=$ac_ct_DSYMUTIL
   7135   fi
   7136 else
   7137   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7138 fi
   7139 
   7140     if test -n "$ac_tool_prefix"; then
   7141   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7142 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7144 $as_echo_n "checking for $ac_word... " >&6; }
   7145 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   7146   $as_echo_n "(cached) " >&6
   7147 else
   7148   if test -n "$NMEDIT"; then
   7149   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7150 else
   7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7152 for as_dir in $PATH
   7153 do
   7154   IFS=$as_save_IFS
   7155   test -z "$as_dir" && as_dir=.
   7156     for ac_exec_ext in '' $ac_executable_extensions; do
   7157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7158     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7160     break 2
   7161   fi
   7162 done
   7163   done
   7164 IFS=$as_save_IFS
   7165 
   7166 fi
   7167 fi
   7168 NMEDIT=$ac_cv_prog_NMEDIT
   7169 if test -n "$NMEDIT"; then
   7170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7171 $as_echo "$NMEDIT" >&6; }
   7172 else
   7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7174 $as_echo "no" >&6; }
   7175 fi
   7176 
   7177 
   7178 fi
   7179 if test -z "$ac_cv_prog_NMEDIT"; then
   7180   ac_ct_NMEDIT=$NMEDIT
   7181   # Extract the first word of "nmedit", so it can be a program name with args.
   7182 set dummy nmedit; ac_word=$2
   7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7184 $as_echo_n "checking for $ac_word... " >&6; }
   7185 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   7186   $as_echo_n "(cached) " >&6
   7187 else
   7188   if test -n "$ac_ct_NMEDIT"; then
   7189   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7190 else
   7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7192 for as_dir in $PATH
   7193 do
   7194   IFS=$as_save_IFS
   7195   test -z "$as_dir" && as_dir=.
   7196     for ac_exec_ext in '' $ac_executable_extensions; do
   7197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7198     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7200     break 2
   7201   fi
   7202 done
   7203   done
   7204 IFS=$as_save_IFS
   7205 
   7206 fi
   7207 fi
   7208 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7209 if test -n "$ac_ct_NMEDIT"; then
   7210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7211 $as_echo "$ac_ct_NMEDIT" >&6; }
   7212 else
   7213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7214 $as_echo "no" >&6; }
   7215 fi
   7216 
   7217   if test "x$ac_ct_NMEDIT" = x; then
   7218     NMEDIT=":"
   7219   else
   7220     case $cross_compiling:$ac_tool_warned in
   7221 yes:)
   7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7224 ac_tool_warned=yes ;;
   7225 esac
   7226     NMEDIT=$ac_ct_NMEDIT
   7227   fi
   7228 else
   7229   NMEDIT="$ac_cv_prog_NMEDIT"
   7230 fi
   7231 
   7232     if test -n "$ac_tool_prefix"; then
   7233   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7234 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7236 $as_echo_n "checking for $ac_word... " >&6; }
   7237 if test "${ac_cv_prog_LIPO+set}" = set; then :
   7238   $as_echo_n "(cached) " >&6
   7239 else
   7240   if test -n "$LIPO"; then
   7241   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7242 else
   7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7244 for as_dir in $PATH
   7245 do
   7246   IFS=$as_save_IFS
   7247   test -z "$as_dir" && as_dir=.
   7248     for ac_exec_ext in '' $ac_executable_extensions; do
   7249   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7250     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7251     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7252     break 2
   7253   fi
   7254 done
   7255   done
   7256 IFS=$as_save_IFS
   7257 
   7258 fi
   7259 fi
   7260 LIPO=$ac_cv_prog_LIPO
   7261 if test -n "$LIPO"; then
   7262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7263 $as_echo "$LIPO" >&6; }
   7264 else
   7265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7266 $as_echo "no" >&6; }
   7267 fi
   7268 
   7269 
   7270 fi
   7271 if test -z "$ac_cv_prog_LIPO"; then
   7272   ac_ct_LIPO=$LIPO
   7273   # Extract the first word of "lipo", so it can be a program name with args.
   7274 set dummy lipo; ac_word=$2
   7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7276 $as_echo_n "checking for $ac_word... " >&6; }
   7277 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   7278   $as_echo_n "(cached) " >&6
   7279 else
   7280   if test -n "$ac_ct_LIPO"; then
   7281   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7282 else
   7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7284 for as_dir in $PATH
   7285 do
   7286   IFS=$as_save_IFS
   7287   test -z "$as_dir" && as_dir=.
   7288     for ac_exec_ext in '' $ac_executable_extensions; do
   7289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7290     ac_cv_prog_ac_ct_LIPO="lipo"
   7291     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7292     break 2
   7293   fi
   7294 done
   7295   done
   7296 IFS=$as_save_IFS
   7297 
   7298 fi
   7299 fi
   7300 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7301 if test -n "$ac_ct_LIPO"; then
   7302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7303 $as_echo "$ac_ct_LIPO" >&6; }
   7304 else
   7305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7306 $as_echo "no" >&6; }
   7307 fi
   7308 
   7309   if test "x$ac_ct_LIPO" = x; then
   7310     LIPO=":"
   7311   else
   7312     case $cross_compiling:$ac_tool_warned in
   7313 yes:)
   7314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7316 ac_tool_warned=yes ;;
   7317 esac
   7318     LIPO=$ac_ct_LIPO
   7319   fi
   7320 else
   7321   LIPO="$ac_cv_prog_LIPO"
   7322 fi
   7323 
   7324     if test -n "$ac_tool_prefix"; then
   7325   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7326 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7328 $as_echo_n "checking for $ac_word... " >&6; }
   7329 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   if test -n "$OTOOL"; then
   7333   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7334 else
   7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7336 for as_dir in $PATH
   7337 do
   7338   IFS=$as_save_IFS
   7339   test -z "$as_dir" && as_dir=.
   7340     for ac_exec_ext in '' $ac_executable_extensions; do
   7341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7342     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7344     break 2
   7345   fi
   7346 done
   7347   done
   7348 IFS=$as_save_IFS
   7349 
   7350 fi
   7351 fi
   7352 OTOOL=$ac_cv_prog_OTOOL
   7353 if test -n "$OTOOL"; then
   7354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7355 $as_echo "$OTOOL" >&6; }
   7356 else
   7357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7358 $as_echo "no" >&6; }
   7359 fi
   7360 
   7361 
   7362 fi
   7363 if test -z "$ac_cv_prog_OTOOL"; then
   7364   ac_ct_OTOOL=$OTOOL
   7365   # Extract the first word of "otool", so it can be a program name with args.
   7366 set dummy otool; ac_word=$2
   7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7368 $as_echo_n "checking for $ac_word... " >&6; }
   7369 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   7370   $as_echo_n "(cached) " >&6
   7371 else
   7372   if test -n "$ac_ct_OTOOL"; then
   7373   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7374 else
   7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7376 for as_dir in $PATH
   7377 do
   7378   IFS=$as_save_IFS
   7379   test -z "$as_dir" && as_dir=.
   7380     for ac_exec_ext in '' $ac_executable_extensions; do
   7381   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7382     ac_cv_prog_ac_ct_OTOOL="otool"
   7383     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7384     break 2
   7385   fi
   7386 done
   7387   done
   7388 IFS=$as_save_IFS
   7389 
   7390 fi
   7391 fi
   7392 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7393 if test -n "$ac_ct_OTOOL"; then
   7394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7395 $as_echo "$ac_ct_OTOOL" >&6; }
   7396 else
   7397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7398 $as_echo "no" >&6; }
   7399 fi
   7400 
   7401   if test "x$ac_ct_OTOOL" = x; then
   7402     OTOOL=":"
   7403   else
   7404     case $cross_compiling:$ac_tool_warned in
   7405 yes:)
   7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7408 ac_tool_warned=yes ;;
   7409 esac
   7410     OTOOL=$ac_ct_OTOOL
   7411   fi
   7412 else
   7413   OTOOL="$ac_cv_prog_OTOOL"
   7414 fi
   7415 
   7416     if test -n "$ac_tool_prefix"; then
   7417   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7418 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7420 $as_echo_n "checking for $ac_word... " >&6; }
   7421 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   7422   $as_echo_n "(cached) " >&6
   7423 else
   7424   if test -n "$OTOOL64"; then
   7425   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7426 else
   7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7428 for as_dir in $PATH
   7429 do
   7430   IFS=$as_save_IFS
   7431   test -z "$as_dir" && as_dir=.
   7432     for ac_exec_ext in '' $ac_executable_extensions; do
   7433   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7434     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7435     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7436     break 2
   7437   fi
   7438 done
   7439   done
   7440 IFS=$as_save_IFS
   7441 
   7442 fi
   7443 fi
   7444 OTOOL64=$ac_cv_prog_OTOOL64
   7445 if test -n "$OTOOL64"; then
   7446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7447 $as_echo "$OTOOL64" >&6; }
   7448 else
   7449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7450 $as_echo "no" >&6; }
   7451 fi
   7452 
   7453 
   7454 fi
   7455 if test -z "$ac_cv_prog_OTOOL64"; then
   7456   ac_ct_OTOOL64=$OTOOL64
   7457   # Extract the first word of "otool64", so it can be a program name with args.
   7458 set dummy otool64; ac_word=$2
   7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7460 $as_echo_n "checking for $ac_word... " >&6; }
   7461 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   7462   $as_echo_n "(cached) " >&6
   7463 else
   7464   if test -n "$ac_ct_OTOOL64"; then
   7465   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7466 else
   7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7468 for as_dir in $PATH
   7469 do
   7470   IFS=$as_save_IFS
   7471   test -z "$as_dir" && as_dir=.
   7472     for ac_exec_ext in '' $ac_executable_extensions; do
   7473   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7474     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7476     break 2
   7477   fi
   7478 done
   7479   done
   7480 IFS=$as_save_IFS
   7481 
   7482 fi
   7483 fi
   7484 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7485 if test -n "$ac_ct_OTOOL64"; then
   7486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7487 $as_echo "$ac_ct_OTOOL64" >&6; }
   7488 else
   7489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7490 $as_echo "no" >&6; }
   7491 fi
   7492 
   7493   if test "x$ac_ct_OTOOL64" = x; then
   7494     OTOOL64=":"
   7495   else
   7496     case $cross_compiling:$ac_tool_warned in
   7497 yes:)
   7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7500 ac_tool_warned=yes ;;
   7501 esac
   7502     OTOOL64=$ac_ct_OTOOL64
   7503   fi
   7504 else
   7505   OTOOL64="$ac_cv_prog_OTOOL64"
   7506 fi
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7535 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7536 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   7537   $as_echo_n "(cached) " >&6
   7538 else
   7539   lt_cv_apple_cc_single_mod=no
   7540       if test -z "${LT_MULTI_MODULE}"; then
   7541 	# By default we will add the -single_module flag. You can override
   7542 	# by either setting the environment variable LT_MULTI_MODULE
   7543 	# non-empty at configure time, or by adding -multi_module to the
   7544 	# link flags.
   7545 	rm -rf libconftest.dylib*
   7546 	echo "int foo(void){return 1;}" > conftest.c
   7547 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7548 -dynamiclib -Wl,-single_module conftest.c" >&5
   7549 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7550 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7551         _lt_result=$?
   7552 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7553 	  lt_cv_apple_cc_single_mod=yes
   7554 	else
   7555 	  cat conftest.err >&5
   7556 	fi
   7557 	rm -rf libconftest.dylib*
   7558 	rm -f conftest.*
   7559       fi
   7560 fi
   7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7562 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7563     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7564 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7565 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   lt_cv_ld_exported_symbols_list=no
   7569       save_LDFLAGS=$LDFLAGS
   7570       echo "_main" > conftest.sym
   7571       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7573 /* end confdefs.h.  */
   7574 
   7575 int
   7576 main ()
   7577 {
   7578 
   7579   ;
   7580   return 0;
   7581 }
   7582 _ACEOF
   7583 if ac_fn_c_try_link "$LINENO"; then :
   7584   lt_cv_ld_exported_symbols_list=yes
   7585 else
   7586   lt_cv_ld_exported_symbols_list=no
   7587 fi
   7588 rm -f core conftest.err conftest.$ac_objext \
   7589     conftest$ac_exeext conftest.$ac_ext
   7590 	LDFLAGS="$save_LDFLAGS"
   7591 
   7592 fi
   7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7594 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7595     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7596 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7597 if test "${lt_cv_ld_force_load+set}" = set; then :
   7598   $as_echo_n "(cached) " >&6
   7599 else
   7600   lt_cv_ld_force_load=no
   7601       cat > conftest.c << _LT_EOF
   7602 int forced_loaded() { return 2;}
   7603 _LT_EOF
   7604       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7605       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7606       echo "$AR cru libconftest.a conftest.o" >&5
   7607       $AR cru libconftest.a conftest.o 2>&5
   7608       cat > conftest.c << _LT_EOF
   7609 int main() { return 0;}
   7610 _LT_EOF
   7611       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7612       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7613       _lt_result=$?
   7614       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7615 	lt_cv_ld_force_load=yes
   7616       else
   7617 	cat conftest.err >&5
   7618       fi
   7619         rm -f conftest.err libconftest.a conftest conftest.c
   7620         rm -rf conftest.dSYM
   7621 
   7622 fi
   7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7624 $as_echo "$lt_cv_ld_force_load" >&6; }
   7625     case $host_os in
   7626     rhapsody* | darwin1.[012])
   7627       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7628     darwin1.*)
   7629       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7630     darwin*) # darwin 5.x on
   7631       # if running on 10.5 or later, the deployment target defaults
   7632       # to the OS version, if on x86, and 10.4, the deployment
   7633       # target defaults to 10.4. Don't you love it?
   7634       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7635 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7636 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7637 	10.[012][,.]*)
   7638 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7639 	10.*)
   7640 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7641       esac
   7642     ;;
   7643   esac
   7644     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7645       _lt_dar_single_mod='$single_module'
   7646     fi
   7647     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7648       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7649     else
   7650       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7651     fi
   7652     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7653       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7654     else
   7655       _lt_dsymutil=
   7656     fi
   7657     ;;
   7658   esac
   7659 
   7660 for ac_header in dlfcn.h
   7661 do :
   7662   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7663 "
   7664 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   7665   cat >>confdefs.h <<_ACEOF
   7666 #define HAVE_DLFCN_H 1
   7667 _ACEOF
   7668 
   7669 fi
   7670 
   7671 done
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 # Set options
   7678 
   7679 
   7680 
   7681         enable_dlopen=no
   7682 
   7683 
   7684   enable_win32_dll=no
   7685 
   7686 
   7687             # Check whether --enable-shared was given.
   7688 if test "${enable_shared+set}" = set; then :
   7689   enableval=$enable_shared; p=${PACKAGE-default}
   7690     case $enableval in
   7691     yes) enable_shared=yes ;;
   7692     no) enable_shared=no ;;
   7693     *)
   7694       enable_shared=no
   7695       # Look at the argument we got.  We use all the common list separators.
   7696       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7697       for pkg in $enableval; do
   7698 	IFS="$lt_save_ifs"
   7699 	if test "X$pkg" = "X$p"; then
   7700 	  enable_shared=yes
   7701 	fi
   7702       done
   7703       IFS="$lt_save_ifs"
   7704       ;;
   7705     esac
   7706 else
   7707   enable_shared=yes
   7708 fi
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718   # Check whether --enable-static was given.
   7719 if test "${enable_static+set}" = set; then :
   7720   enableval=$enable_static; p=${PACKAGE-default}
   7721     case $enableval in
   7722     yes) enable_static=yes ;;
   7723     no) enable_static=no ;;
   7724     *)
   7725      enable_static=no
   7726       # Look at the argument we got.  We use all the common list separators.
   7727       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7728       for pkg in $enableval; do
   7729 	IFS="$lt_save_ifs"
   7730 	if test "X$pkg" = "X$p"; then
   7731 	  enable_static=yes
   7732 	fi
   7733       done
   7734       IFS="$lt_save_ifs"
   7735       ;;
   7736     esac
   7737 else
   7738   enable_static=yes
   7739 fi
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748 
   7749 
   7750 # Check whether --with-pic was given.
   7751 if test "${with_pic+set}" = set; then :
   7752   withval=$with_pic; pic_mode="$withval"
   7753 else
   7754   pic_mode=default
   7755 fi
   7756 
   7757 
   7758 test -z "$pic_mode" && pic_mode=default
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766   # Check whether --enable-fast-install was given.
   7767 if test "${enable_fast_install+set}" = set; then :
   7768   enableval=$enable_fast_install; p=${PACKAGE-default}
   7769     case $enableval in
   7770     yes) enable_fast_install=yes ;;
   7771     no) enable_fast_install=no ;;
   7772     *)
   7773       enable_fast_install=no
   7774       # Look at the argument we got.  We use all the common list separators.
   7775       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7776       for pkg in $enableval; do
   7777 	IFS="$lt_save_ifs"
   7778 	if test "X$pkg" = "X$p"; then
   7779 	  enable_fast_install=yes
   7780 	fi
   7781       done
   7782       IFS="$lt_save_ifs"
   7783       ;;
   7784     esac
   7785 else
   7786   enable_fast_install=yes
   7787 fi
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 # This can be used to rebuild libtool when needed
   7800 LIBTOOL_DEPS="$ltmain"
   7801 
   7802 # Always use our own libtool.
   7803 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 test -z "$LN_S" && LN_S="ln -s"
   7831 
   7832 
   7833 
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 if test -n "${ZSH_VERSION+set}" ; then
   7846    setopt NO_GLOB_SUBST
   7847 fi
   7848 
   7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7850 $as_echo_n "checking for objdir... " >&6; }
   7851 if test "${lt_cv_objdir+set}" = set; then :
   7852   $as_echo_n "(cached) " >&6
   7853 else
   7854   rm -f .libs 2>/dev/null
   7855 mkdir .libs 2>/dev/null
   7856 if test -d .libs; then
   7857   lt_cv_objdir=.libs
   7858 else
   7859   # MS-DOS does not allow filenames that begin with a dot.
   7860   lt_cv_objdir=_libs
   7861 fi
   7862 rmdir .libs 2>/dev/null
   7863 fi
   7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7865 $as_echo "$lt_cv_objdir" >&6; }
   7866 objdir=$lt_cv_objdir
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 cat >>confdefs.h <<_ACEOF
   7873 #define LT_OBJDIR "$lt_cv_objdir/"
   7874 _ACEOF
   7875 
   7876 
   7877 
   7878 
   7879 case $host_os in
   7880 aix3*)
   7881   # AIX sometimes has problems with the GCC collect2 program.  For some
   7882   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7883   # vanish in a puff of smoke.
   7884   if test "X${COLLECT_NAMES+set}" != Xset; then
   7885     COLLECT_NAMES=
   7886     export COLLECT_NAMES
   7887   fi
   7888   ;;
   7889 esac
   7890 
   7891 # Global variables:
   7892 ofile=libtool
   7893 can_build_shared=yes
   7894 
   7895 # All known linkers require a `.a' archive for static linking (except MSVC,
   7896 # which needs '.lib').
   7897 libext=a
   7898 
   7899 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7900 
   7901 old_CC="$CC"
   7902 old_CFLAGS="$CFLAGS"
   7903 
   7904 # Set sane defaults for various variables
   7905 test -z "$CC" && CC=cc
   7906 test -z "$LTCC" && LTCC=$CC
   7907 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7908 test -z "$LD" && LD=ld
   7909 test -z "$ac_objext" && ac_objext=o
   7910 
   7911 for cc_temp in $compiler""; do
   7912   case $cc_temp in
   7913     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7914     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7915     \-*) ;;
   7916     *) break;;
   7917   esac
   7918 done
   7919 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7920 
   7921 
   7922 # Only perform the check for file, if the check method requires it
   7923 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7924 case $deplibs_check_method in
   7925 file_magic*)
   7926   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7928 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7929 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7930   $as_echo_n "(cached) " >&6
   7931 else
   7932   case $MAGIC_CMD in
   7933 [\\/*] |  ?:[\\/]*)
   7934   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7935   ;;
   7936 *)
   7937   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7938   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7939   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7940   for ac_dir in $ac_dummy; do
   7941     IFS="$lt_save_ifs"
   7942     test -z "$ac_dir" && ac_dir=.
   7943     if test -f $ac_dir/${ac_tool_prefix}file; then
   7944       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7945       if test -n "$file_magic_test_file"; then
   7946 	case $deplibs_check_method in
   7947 	"file_magic "*)
   7948 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7949 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7950 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7951 	    $EGREP "$file_magic_regex" > /dev/null; then
   7952 	    :
   7953 	  else
   7954 	    cat <<_LT_EOF 1>&2
   7955 
   7956 *** Warning: the command libtool uses to detect shared libraries,
   7957 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7958 *** The result is that libtool may fail to recognize shared libraries
   7959 *** as such.  This will affect the creation of libtool libraries that
   7960 *** depend on shared libraries, but programs linked with such libtool
   7961 *** libraries will work regardless of this problem.  Nevertheless, you
   7962 *** may want to report the problem to your system manager and/or to
   7963 *** bug-libtool@gnu.org
   7964 
   7965 _LT_EOF
   7966 	  fi ;;
   7967 	esac
   7968       fi
   7969       break
   7970     fi
   7971   done
   7972   IFS="$lt_save_ifs"
   7973   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7974   ;;
   7975 esac
   7976 fi
   7977 
   7978 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7979 if test -n "$MAGIC_CMD"; then
   7980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7981 $as_echo "$MAGIC_CMD" >&6; }
   7982 else
   7983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7984 $as_echo "no" >&6; }
   7985 fi
   7986 
   7987 
   7988 
   7989 
   7990 
   7991 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7992   if test -n "$ac_tool_prefix"; then
   7993     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7994 $as_echo_n "checking for file... " >&6; }
   7995 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   7996   $as_echo_n "(cached) " >&6
   7997 else
   7998   case $MAGIC_CMD in
   7999 [\\/*] |  ?:[\\/]*)
   8000   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8001   ;;
   8002 *)
   8003   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8004   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8005   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8006   for ac_dir in $ac_dummy; do
   8007     IFS="$lt_save_ifs"
   8008     test -z "$ac_dir" && ac_dir=.
   8009     if test -f $ac_dir/file; then
   8010       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8011       if test -n "$file_magic_test_file"; then
   8012 	case $deplibs_check_method in
   8013 	"file_magic "*)
   8014 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8015 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8016 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8017 	    $EGREP "$file_magic_regex" > /dev/null; then
   8018 	    :
   8019 	  else
   8020 	    cat <<_LT_EOF 1>&2
   8021 
   8022 *** Warning: the command libtool uses to detect shared libraries,
   8023 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8024 *** The result is that libtool may fail to recognize shared libraries
   8025 *** as such.  This will affect the creation of libtool libraries that
   8026 *** depend on shared libraries, but programs linked with such libtool
   8027 *** libraries will work regardless of this problem.  Nevertheless, you
   8028 *** may want to report the problem to your system manager and/or to
   8029 *** bug-libtool@gnu.org
   8030 
   8031 _LT_EOF
   8032 	  fi ;;
   8033 	esac
   8034       fi
   8035       break
   8036     fi
   8037   done
   8038   IFS="$lt_save_ifs"
   8039   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8040   ;;
   8041 esac
   8042 fi
   8043 
   8044 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8045 if test -n "$MAGIC_CMD"; then
   8046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8047 $as_echo "$MAGIC_CMD" >&6; }
   8048 else
   8049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8050 $as_echo "no" >&6; }
   8051 fi
   8052 
   8053 
   8054   else
   8055     MAGIC_CMD=:
   8056   fi
   8057 fi
   8058 
   8059   fi
   8060   ;;
   8061 esac
   8062 
   8063 # Use C for the default configuration in the libtool script
   8064 
   8065 lt_save_CC="$CC"
   8066 ac_ext=c
   8067 ac_cpp='$CPP $CPPFLAGS'
   8068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8071 
   8072 
   8073 # Source file extension for C test sources.
   8074 ac_ext=c
   8075 
   8076 # Object file extension for compiled C test sources.
   8077 objext=o
   8078 objext=$objext
   8079 
   8080 # Code to be used in simple compile tests
   8081 lt_simple_compile_test_code="int some_variable = 0;"
   8082 
   8083 # Code to be used in simple link tests
   8084 lt_simple_link_test_code='int main(){return(0);}'
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 # If no C compiler was specified, use CC.
   8093 LTCC=${LTCC-"$CC"}
   8094 
   8095 # If no C compiler flags were specified, use CFLAGS.
   8096 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8097 
   8098 # Allow CC to be a program name with arguments.
   8099 compiler=$CC
   8100 
   8101 # Save the default compiler, since it gets overwritten when the other
   8102 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8103 compiler_DEFAULT=$CC
   8104 
   8105 # save warnings/boilerplate of simple test code
   8106 ac_outfile=conftest.$ac_objext
   8107 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8108 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8109 _lt_compiler_boilerplate=`cat conftest.err`
   8110 $RM conftest*
   8111 
   8112 ac_outfile=conftest.$ac_objext
   8113 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8114 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8115 _lt_linker_boilerplate=`cat conftest.err`
   8116 $RM -r conftest*
   8117 
   8118 
   8119 ## CAVEAT EMPTOR:
   8120 ## There is no encapsulation within the following macros, do not change
   8121 ## the running order or otherwise move them around unless you know exactly
   8122 ## what you are doing...
   8123 if test -n "$compiler"; then
   8124 
   8125 lt_prog_compiler_no_builtin_flag=
   8126 
   8127 if test "$GCC" = yes; then
   8128   case $cc_basename in
   8129   nvcc*)
   8130     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8131   *)
   8132     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8133   esac
   8134 
   8135   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8136 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8137 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   8138   $as_echo_n "(cached) " >&6
   8139 else
   8140   lt_cv_prog_compiler_rtti_exceptions=no
   8141    ac_outfile=conftest.$ac_objext
   8142    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8143    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8144    # Insert the option either (1) after the last *FLAGS variable, or
   8145    # (2) before a word containing "conftest.", or (3) at the end.
   8146    # Note that $ac_compile itself does not contain backslashes and begins
   8147    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8148    # The option is referenced via a variable to avoid confusing sed.
   8149    lt_compile=`echo "$ac_compile" | $SED \
   8150    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8151    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8152    -e 's:$: $lt_compiler_flag:'`
   8153    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8154    (eval "$lt_compile" 2>conftest.err)
   8155    ac_status=$?
   8156    cat conftest.err >&5
   8157    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8158    if (exit $ac_status) && test -s "$ac_outfile"; then
   8159      # The compiler can only warn and ignore the option if not recognized
   8160      # So say no if there are warnings other than the usual output.
   8161      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8162      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8163      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8164        lt_cv_prog_compiler_rtti_exceptions=yes
   8165      fi
   8166    fi
   8167    $RM conftest*
   8168 
   8169 fi
   8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8171 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8172 
   8173 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8174     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8175 else
   8176     :
   8177 fi
   8178 
   8179 fi
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186   lt_prog_compiler_wl=
   8187 lt_prog_compiler_pic=
   8188 lt_prog_compiler_static=
   8189 
   8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8191 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8192 
   8193   if test "$GCC" = yes; then
   8194     lt_prog_compiler_wl='-Wl,'
   8195     lt_prog_compiler_static='-static'
   8196 
   8197     case $host_os in
   8198       aix*)
   8199       # All AIX code is PIC.
   8200       if test "$host_cpu" = ia64; then
   8201 	# AIX 5 now supports IA64 processor
   8202 	lt_prog_compiler_static='-Bstatic'
   8203       fi
   8204       lt_prog_compiler_pic='-fPIC'
   8205       ;;
   8206 
   8207     amigaos*)
   8208       case $host_cpu in
   8209       powerpc)
   8210             # see comment about AmigaOS4 .so support
   8211             lt_prog_compiler_pic='-fPIC'
   8212         ;;
   8213       m68k)
   8214             # FIXME: we need at least 68020 code to build shared libraries, but
   8215             # adding the `-m68020' flag to GCC prevents building anything better,
   8216             # like `-m68040'.
   8217             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8218         ;;
   8219       esac
   8220       ;;
   8221 
   8222     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8223       # PIC is the default for these OSes.
   8224       ;;
   8225 
   8226     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8227       # This hack is so that the source file can tell whether it is being
   8228       # built for inclusion in a dll (and should export symbols for example).
   8229       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8230       # (--disable-auto-import) libraries
   8231       lt_prog_compiler_pic='-DDLL_EXPORT'
   8232       ;;
   8233 
   8234     darwin* | rhapsody*)
   8235       # PIC is the default on this platform
   8236       # Common symbols not allowed in MH_DYLIB files
   8237       lt_prog_compiler_pic='-fno-common'
   8238       ;;
   8239 
   8240     haiku*)
   8241       # PIC is the default for Haiku.
   8242       # The "-static" flag exists, but is broken.
   8243       lt_prog_compiler_static=
   8244       ;;
   8245 
   8246     hpux*)
   8247       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8248       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8249       # sets the default TLS model and affects inlining.
   8250       case $host_cpu in
   8251       hppa*64*)
   8252 	# +Z the default
   8253 	;;
   8254       *)
   8255 	lt_prog_compiler_pic='-fPIC'
   8256 	;;
   8257       esac
   8258       ;;
   8259 
   8260     interix[3-9]*)
   8261       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8262       # Instead, we relocate shared libraries at runtime.
   8263       ;;
   8264 
   8265     msdosdjgpp*)
   8266       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8267       # on systems that don't support them.
   8268       lt_prog_compiler_can_build_shared=no
   8269       enable_shared=no
   8270       ;;
   8271 
   8272     *nto* | *qnx*)
   8273       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8274       # it will coredump.
   8275       lt_prog_compiler_pic='-fPIC -shared'
   8276       ;;
   8277 
   8278     sysv4*MP*)
   8279       if test -d /usr/nec; then
   8280 	lt_prog_compiler_pic=-Kconform_pic
   8281       fi
   8282       ;;
   8283 
   8284     *)
   8285       lt_prog_compiler_pic='-fPIC'
   8286       ;;
   8287     esac
   8288 
   8289     case $cc_basename in
   8290     nvcc*) # Cuda Compiler Driver 2.2
   8291       lt_prog_compiler_wl='-Xlinker '
   8292       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8293       ;;
   8294     esac
   8295   else
   8296     # PORTME Check for flag to pass linker flags through the system compiler.
   8297     case $host_os in
   8298     aix*)
   8299       lt_prog_compiler_wl='-Wl,'
   8300       if test "$host_cpu" = ia64; then
   8301 	# AIX 5 now supports IA64 processor
   8302 	lt_prog_compiler_static='-Bstatic'
   8303       else
   8304 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8305       fi
   8306       ;;
   8307 
   8308     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8309       # This hack is so that the source file can tell whether it is being
   8310       # built for inclusion in a dll (and should export symbols for example).
   8311       lt_prog_compiler_pic='-DDLL_EXPORT'
   8312       ;;
   8313 
   8314     hpux9* | hpux10* | hpux11*)
   8315       lt_prog_compiler_wl='-Wl,'
   8316       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8317       # not for PA HP-UX.
   8318       case $host_cpu in
   8319       hppa*64*|ia64*)
   8320 	# +Z the default
   8321 	;;
   8322       *)
   8323 	lt_prog_compiler_pic='+Z'
   8324 	;;
   8325       esac
   8326       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8327       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8328       ;;
   8329 
   8330     irix5* | irix6* | nonstopux*)
   8331       lt_prog_compiler_wl='-Wl,'
   8332       # PIC (with -KPIC) is the default.
   8333       lt_prog_compiler_static='-non_shared'
   8334       ;;
   8335 
   8336     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8337       case $cc_basename in
   8338       # old Intel for x86_64 which still supported -KPIC.
   8339       ecc*)
   8340 	lt_prog_compiler_wl='-Wl,'
   8341 	lt_prog_compiler_pic='-KPIC'
   8342 	lt_prog_compiler_static='-static'
   8343         ;;
   8344       # icc used to be incompatible with GCC.
   8345       # ICC 10 doesn't accept -KPIC any more.
   8346       icc* | ifort*)
   8347 	lt_prog_compiler_wl='-Wl,'
   8348 	lt_prog_compiler_pic='-fPIC'
   8349 	lt_prog_compiler_static='-static'
   8350         ;;
   8351       # Lahey Fortran 8.1.
   8352       lf95*)
   8353 	lt_prog_compiler_wl='-Wl,'
   8354 	lt_prog_compiler_pic='--shared'
   8355 	lt_prog_compiler_static='--static'
   8356 	;;
   8357       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8358         # Portland Group compilers (*not* the Pentium gcc compiler,
   8359 	# which looks to be a dead project)
   8360 	lt_prog_compiler_wl='-Wl,'
   8361 	lt_prog_compiler_pic='-fpic'
   8362 	lt_prog_compiler_static='-Bstatic'
   8363         ;;
   8364       ccc*)
   8365         lt_prog_compiler_wl='-Wl,'
   8366         # All Alpha code is PIC.
   8367         lt_prog_compiler_static='-non_shared'
   8368         ;;
   8369       xl* | bgxl* | bgf* | mpixl*)
   8370 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8371 	lt_prog_compiler_wl='-Wl,'
   8372 	lt_prog_compiler_pic='-qpic'
   8373 	lt_prog_compiler_static='-qstaticlink'
   8374 	;;
   8375       *)
   8376 	case `$CC -V 2>&1 | sed 5q` in
   8377 	*Sun\ F* | *Sun*Fortran*)
   8378 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8379 	  lt_prog_compiler_pic='-KPIC'
   8380 	  lt_prog_compiler_static='-Bstatic'
   8381 	  lt_prog_compiler_wl=''
   8382 	  ;;
   8383 	*Sun\ C*)
   8384 	  # Sun C 5.9
   8385 	  lt_prog_compiler_pic='-KPIC'
   8386 	  lt_prog_compiler_static='-Bstatic'
   8387 	  lt_prog_compiler_wl='-Wl,'
   8388 	  ;;
   8389 	esac
   8390 	;;
   8391       esac
   8392       ;;
   8393 
   8394     newsos6)
   8395       lt_prog_compiler_pic='-KPIC'
   8396       lt_prog_compiler_static='-Bstatic'
   8397       ;;
   8398 
   8399     *nto* | *qnx*)
   8400       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8401       # it will coredump.
   8402       lt_prog_compiler_pic='-fPIC -shared'
   8403       ;;
   8404 
   8405     osf3* | osf4* | osf5*)
   8406       lt_prog_compiler_wl='-Wl,'
   8407       # All OSF/1 code is PIC.
   8408       lt_prog_compiler_static='-non_shared'
   8409       ;;
   8410 
   8411     rdos*)
   8412       lt_prog_compiler_static='-non_shared'
   8413       ;;
   8414 
   8415     solaris*)
   8416       lt_prog_compiler_pic='-KPIC'
   8417       lt_prog_compiler_static='-Bstatic'
   8418       case $cc_basename in
   8419       f77* | f90* | f95*)
   8420 	lt_prog_compiler_wl='-Qoption ld ';;
   8421       *)
   8422 	lt_prog_compiler_wl='-Wl,';;
   8423       esac
   8424       ;;
   8425 
   8426     sunos4*)
   8427       lt_prog_compiler_wl='-Qoption ld '
   8428       lt_prog_compiler_pic='-PIC'
   8429       lt_prog_compiler_static='-Bstatic'
   8430       ;;
   8431 
   8432     sysv4 | sysv4.2uw2* | sysv4.3*)
   8433       lt_prog_compiler_wl='-Wl,'
   8434       lt_prog_compiler_pic='-KPIC'
   8435       lt_prog_compiler_static='-Bstatic'
   8436       ;;
   8437 
   8438     sysv4*MP*)
   8439       if test -d /usr/nec ;then
   8440 	lt_prog_compiler_pic='-Kconform_pic'
   8441 	lt_prog_compiler_static='-Bstatic'
   8442       fi
   8443       ;;
   8444 
   8445     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8446       lt_prog_compiler_wl='-Wl,'
   8447       lt_prog_compiler_pic='-KPIC'
   8448       lt_prog_compiler_static='-Bstatic'
   8449       ;;
   8450 
   8451     unicos*)
   8452       lt_prog_compiler_wl='-Wl,'
   8453       lt_prog_compiler_can_build_shared=no
   8454       ;;
   8455 
   8456     uts4*)
   8457       lt_prog_compiler_pic='-pic'
   8458       lt_prog_compiler_static='-Bstatic'
   8459       ;;
   8460 
   8461     *)
   8462       lt_prog_compiler_can_build_shared=no
   8463       ;;
   8464     esac
   8465   fi
   8466 
   8467 case $host_os in
   8468   # For platforms which do not support PIC, -DPIC is meaningless:
   8469   *djgpp*)
   8470     lt_prog_compiler_pic=
   8471     ;;
   8472   *)
   8473     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8474     ;;
   8475 esac
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8477 $as_echo "$lt_prog_compiler_pic" >&6; }
   8478 
   8479 
   8480 
   8481 
   8482 
   8483 
   8484 #
   8485 # Check to make sure the PIC flag actually works.
   8486 #
   8487 if test -n "$lt_prog_compiler_pic"; then
   8488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8489 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8490 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   8491   $as_echo_n "(cached) " >&6
   8492 else
   8493   lt_cv_prog_compiler_pic_works=no
   8494    ac_outfile=conftest.$ac_objext
   8495    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8496    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8497    # Insert the option either (1) after the last *FLAGS variable, or
   8498    # (2) before a word containing "conftest.", or (3) at the end.
   8499    # Note that $ac_compile itself does not contain backslashes and begins
   8500    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8501    # The option is referenced via a variable to avoid confusing sed.
   8502    lt_compile=`echo "$ac_compile" | $SED \
   8503    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8504    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8505    -e 's:$: $lt_compiler_flag:'`
   8506    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8507    (eval "$lt_compile" 2>conftest.err)
   8508    ac_status=$?
   8509    cat conftest.err >&5
   8510    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8511    if (exit $ac_status) && test -s "$ac_outfile"; then
   8512      # The compiler can only warn and ignore the option if not recognized
   8513      # So say no if there are warnings other than the usual output.
   8514      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8515      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8516      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8517        lt_cv_prog_compiler_pic_works=yes
   8518      fi
   8519    fi
   8520    $RM conftest*
   8521 
   8522 fi
   8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8524 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8525 
   8526 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8527     case $lt_prog_compiler_pic in
   8528      "" | " "*) ;;
   8529      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8530      esac
   8531 else
   8532     lt_prog_compiler_pic=
   8533      lt_prog_compiler_can_build_shared=no
   8534 fi
   8535 
   8536 fi
   8537 
   8538 
   8539 
   8540 
   8541 
   8542 
   8543 #
   8544 # Check to make sure the static flag actually works.
   8545 #
   8546 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8548 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8549 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   8550   $as_echo_n "(cached) " >&6
   8551 else
   8552   lt_cv_prog_compiler_static_works=no
   8553    save_LDFLAGS="$LDFLAGS"
   8554    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8555    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8556    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8557      # The linker can only warn and ignore the option if not recognized
   8558      # So say no if there are warnings
   8559      if test -s conftest.err; then
   8560        # Append any errors to the config.log.
   8561        cat conftest.err 1>&5
   8562        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8563        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8564        if diff conftest.exp conftest.er2 >/dev/null; then
   8565          lt_cv_prog_compiler_static_works=yes
   8566        fi
   8567      else
   8568        lt_cv_prog_compiler_static_works=yes
   8569      fi
   8570    fi
   8571    $RM -r conftest*
   8572    LDFLAGS="$save_LDFLAGS"
   8573 
   8574 fi
   8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8576 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8577 
   8578 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8579     :
   8580 else
   8581     lt_prog_compiler_static=
   8582 fi
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8591 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8592 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8593   $as_echo_n "(cached) " >&6
   8594 else
   8595   lt_cv_prog_compiler_c_o=no
   8596    $RM -r conftest 2>/dev/null
   8597    mkdir conftest
   8598    cd conftest
   8599    mkdir out
   8600    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8601 
   8602    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8603    # Insert the option either (1) after the last *FLAGS variable, or
   8604    # (2) before a word containing "conftest.", or (3) at the end.
   8605    # Note that $ac_compile itself does not contain backslashes and begins
   8606    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8607    lt_compile=`echo "$ac_compile" | $SED \
   8608    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8609    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8610    -e 's:$: $lt_compiler_flag:'`
   8611    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8612    (eval "$lt_compile" 2>out/conftest.err)
   8613    ac_status=$?
   8614    cat out/conftest.err >&5
   8615    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8616    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8617    then
   8618      # The compiler can only warn and ignore the option if not recognized
   8619      # So say no if there are warnings
   8620      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8621      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8622      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8623        lt_cv_prog_compiler_c_o=yes
   8624      fi
   8625    fi
   8626    chmod u+w . 2>&5
   8627    $RM conftest*
   8628    # SGI C++ compiler will create directory out/ii_files/ for
   8629    # template instantiation
   8630    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8631    $RM out/* && rmdir out
   8632    cd ..
   8633    $RM -r conftest
   8634    $RM conftest*
   8635 
   8636 fi
   8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8638 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8646 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8647 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   lt_cv_prog_compiler_c_o=no
   8651    $RM -r conftest 2>/dev/null
   8652    mkdir conftest
   8653    cd conftest
   8654    mkdir out
   8655    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8656 
   8657    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8658    # Insert the option either (1) after the last *FLAGS variable, or
   8659    # (2) before a word containing "conftest.", or (3) at the end.
   8660    # Note that $ac_compile itself does not contain backslashes and begins
   8661    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8662    lt_compile=`echo "$ac_compile" | $SED \
   8663    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8664    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8665    -e 's:$: $lt_compiler_flag:'`
   8666    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8667    (eval "$lt_compile" 2>out/conftest.err)
   8668    ac_status=$?
   8669    cat out/conftest.err >&5
   8670    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8671    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8672    then
   8673      # The compiler can only warn and ignore the option if not recognized
   8674      # So say no if there are warnings
   8675      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8676      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8677      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8678        lt_cv_prog_compiler_c_o=yes
   8679      fi
   8680    fi
   8681    chmod u+w . 2>&5
   8682    $RM conftest*
   8683    # SGI C++ compiler will create directory out/ii_files/ for
   8684    # template instantiation
   8685    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8686    $RM out/* && rmdir out
   8687    cd ..
   8688    $RM -r conftest
   8689    $RM conftest*
   8690 
   8691 fi
   8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8693 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8694 
   8695 
   8696 
   8697 
   8698 hard_links="nottested"
   8699 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8700   # do not overwrite the value of need_locks provided by the user
   8701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8702 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8703   hard_links=yes
   8704   $RM conftest*
   8705   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8706   touch conftest.a
   8707   ln conftest.a conftest.b 2>&5 || hard_links=no
   8708   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8710 $as_echo "$hard_links" >&6; }
   8711   if test "$hard_links" = no; then
   8712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8713 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8714     need_locks=warn
   8715   fi
   8716 else
   8717   need_locks=no
   8718 fi
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8726 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8727 
   8728   runpath_var=
   8729   allow_undefined_flag=
   8730   always_export_symbols=no
   8731   archive_cmds=
   8732   archive_expsym_cmds=
   8733   compiler_needs_object=no
   8734   enable_shared_with_static_runtimes=no
   8735   export_dynamic_flag_spec=
   8736   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8737   hardcode_automatic=no
   8738   hardcode_direct=no
   8739   hardcode_direct_absolute=no
   8740   hardcode_libdir_flag_spec=
   8741   hardcode_libdir_flag_spec_ld=
   8742   hardcode_libdir_separator=
   8743   hardcode_minus_L=no
   8744   hardcode_shlibpath_var=unsupported
   8745   inherit_rpath=no
   8746   link_all_deplibs=unknown
   8747   module_cmds=
   8748   module_expsym_cmds=
   8749   old_archive_from_new_cmds=
   8750   old_archive_from_expsyms_cmds=
   8751   thread_safe_flag_spec=
   8752   whole_archive_flag_spec=
   8753   # include_expsyms should be a list of space-separated symbols to be *always*
   8754   # included in the symbol list
   8755   include_expsyms=
   8756   # exclude_expsyms can be an extended regexp of symbols to exclude
   8757   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8758   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8759   # as well as any symbol that contains `d'.
   8760   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8761   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8762   # platforms (ab)use it in PIC code, but their linkers get confused if
   8763   # the symbol is explicitly referenced.  Since portable code cannot
   8764   # rely on this symbol name, it's probably fine to never include it in
   8765   # preloaded symbol tables.
   8766   # Exclude shared library initialization/finalization symbols.
   8767   extract_expsyms_cmds=
   8768 
   8769   case $host_os in
   8770   cygwin* | mingw* | pw32* | cegcc*)
   8771     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8772     # When not using gcc, we currently assume that we are using
   8773     # Microsoft Visual C++.
   8774     if test "$GCC" != yes; then
   8775       with_gnu_ld=no
   8776     fi
   8777     ;;
   8778   interix*)
   8779     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8780     with_gnu_ld=yes
   8781     ;;
   8782   openbsd*)
   8783     with_gnu_ld=no
   8784     ;;
   8785   esac
   8786 
   8787   ld_shlibs=yes
   8788 
   8789   # On some targets, GNU ld is compatible enough with the native linker
   8790   # that we're better off using the native interface for both.
   8791   lt_use_gnu_ld_interface=no
   8792   if test "$with_gnu_ld" = yes; then
   8793     case $host_os in
   8794       aix*)
   8795 	# The AIX port of GNU ld has always aspired to compatibility
   8796 	# with the native linker.  However, as the warning in the GNU ld
   8797 	# block says, versions before 2.19.5* couldn't really create working
   8798 	# shared libraries, regardless of the interface used.
   8799 	case `$LD -v 2>&1` in
   8800 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8801 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8802 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8803 	  *)
   8804 	    lt_use_gnu_ld_interface=yes
   8805 	    ;;
   8806 	esac
   8807 	;;
   8808       *)
   8809 	lt_use_gnu_ld_interface=yes
   8810 	;;
   8811     esac
   8812   fi
   8813 
   8814   if test "$lt_use_gnu_ld_interface" = yes; then
   8815     # If archive_cmds runs LD, not CC, wlarc should be empty
   8816     wlarc='${wl}'
   8817 
   8818     # Set some defaults for GNU ld with shared library support. These
   8819     # are reset later if shared libraries are not supported. Putting them
   8820     # here allows them to be overridden if necessary.
   8821     runpath_var=LD_RUN_PATH
   8822     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8823     export_dynamic_flag_spec='${wl}--export-dynamic'
   8824     # ancient GNU ld didn't support --whole-archive et. al.
   8825     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8826       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8827     else
   8828       whole_archive_flag_spec=
   8829     fi
   8830     supports_anon_versioning=no
   8831     case `$LD -v 2>&1` in
   8832       *GNU\ gold*) supports_anon_versioning=yes ;;
   8833       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8834       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8835       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8836       *\ 2.11.*) ;; # other 2.11 versions
   8837       *) supports_anon_versioning=yes ;;
   8838     esac
   8839 
   8840     # See if GNU ld supports shared libraries.
   8841     case $host_os in
   8842     aix[3-9]*)
   8843       # On AIX/PPC, the GNU linker is very broken
   8844       if test "$host_cpu" != ia64; then
   8845 	ld_shlibs=no
   8846 	cat <<_LT_EOF 1>&2
   8847 
   8848 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8849 *** to be unable to reliably create shared libraries on AIX.
   8850 *** Therefore, libtool is disabling shared libraries support.  If you
   8851 *** really care for shared libraries, you may want to install binutils
   8852 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8853 *** You will then need to restart the configuration process.
   8854 
   8855 _LT_EOF
   8856       fi
   8857       ;;
   8858 
   8859     amigaos*)
   8860       case $host_cpu in
   8861       powerpc)
   8862             # see comment about AmigaOS4 .so support
   8863             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8864             archive_expsym_cmds=''
   8865         ;;
   8866       m68k)
   8867             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)'
   8868             hardcode_libdir_flag_spec='-L$libdir'
   8869             hardcode_minus_L=yes
   8870         ;;
   8871       esac
   8872       ;;
   8873 
   8874     beos*)
   8875       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8876 	allow_undefined_flag=unsupported
   8877 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8878 	# support --undefined.  This deserves some investigation.  FIXME
   8879 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8880       else
   8881 	ld_shlibs=no
   8882       fi
   8883       ;;
   8884 
   8885     cygwin* | mingw* | pw32* | cegcc*)
   8886       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8887       # as there is no search path for DLLs.
   8888       hardcode_libdir_flag_spec='-L$libdir'
   8889       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8890       allow_undefined_flag=unsupported
   8891       always_export_symbols=no
   8892       enable_shared_with_static_runtimes=yes
   8893       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8894 
   8895       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8896         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8897 	# If the export-symbols file already is a .def file (1st line
   8898 	# is EXPORTS), use it as is; otherwise, prepend...
   8899 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8900 	  cp $export_symbols $output_objdir/$soname.def;
   8901 	else
   8902 	  echo EXPORTS > $output_objdir/$soname.def;
   8903 	  cat $export_symbols >> $output_objdir/$soname.def;
   8904 	fi~
   8905 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8906       else
   8907 	ld_shlibs=no
   8908       fi
   8909       ;;
   8910 
   8911     haiku*)
   8912       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8913       link_all_deplibs=yes
   8914       ;;
   8915 
   8916     interix[3-9]*)
   8917       hardcode_direct=no
   8918       hardcode_shlibpath_var=no
   8919       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8920       export_dynamic_flag_spec='${wl}-E'
   8921       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8922       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8923       # default) and relocated if they conflict, which is a slow very memory
   8924       # consuming and fragmenting process.  To avoid this, we pick a random,
   8925       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8926       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8927       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8928       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'
   8929       ;;
   8930 
   8931     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8932       tmp_diet=no
   8933       if test "$host_os" = linux-dietlibc; then
   8934 	case $cc_basename in
   8935 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8936 	esac
   8937       fi
   8938       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8939 	 && test "$tmp_diet" = no
   8940       then
   8941 	tmp_addflag=' $pic_flag'
   8942 	tmp_sharedflag='-shared'
   8943 	case $cc_basename,$host_cpu in
   8944         pgcc*)				# Portland Group C compiler
   8945 	  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'
   8946 	  tmp_addflag=' $pic_flag'
   8947 	  ;;
   8948 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8949 					# Portland Group f77 and f90 compilers
   8950 	  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'
   8951 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8952 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8953 	  tmp_addflag=' -i_dynamic' ;;
   8954 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8955 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8956 	ifc* | ifort*)			# Intel Fortran compiler
   8957 	  tmp_addflag=' -nofor_main' ;;
   8958 	lf95*)				# Lahey Fortran 8.1
   8959 	  whole_archive_flag_spec=
   8960 	  tmp_sharedflag='--shared' ;;
   8961 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8962 	  tmp_sharedflag='-qmkshrobj'
   8963 	  tmp_addflag= ;;
   8964 	nvcc*)	# Cuda Compiler Driver 2.2
   8965 	  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'
   8966 	  compiler_needs_object=yes
   8967 	  ;;
   8968 	esac
   8969 	case `$CC -V 2>&1 | sed 5q` in
   8970 	*Sun\ C*)			# Sun C 5.9
   8971 	  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'
   8972 	  compiler_needs_object=yes
   8973 	  tmp_sharedflag='-G' ;;
   8974 	*Sun\ F*)			# Sun Fortran 8.3
   8975 	  tmp_sharedflag='-G' ;;
   8976 	esac
   8977 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8978 
   8979         if test "x$supports_anon_versioning" = xyes; then
   8980           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8981 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8982 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8983 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8984         fi
   8985 
   8986 	case $cc_basename in
   8987 	xlf* | bgf* | bgxlf* | mpixlf*)
   8988 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8989 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8990 	  hardcode_libdir_flag_spec=
   8991 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8992 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   8993 	  if test "x$supports_anon_versioning" = xyes; then
   8994 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8995 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8996 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8997 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8998 	  fi
   8999 	  ;;
   9000 	esac
   9001       else
   9002         ld_shlibs=no
   9003       fi
   9004       ;;
   9005 
   9006     netbsd*)
   9007       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9008 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9009 	wlarc=
   9010       else
   9011 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9012 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9013       fi
   9014       ;;
   9015 
   9016     solaris*)
   9017       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9018 	ld_shlibs=no
   9019 	cat <<_LT_EOF 1>&2
   9020 
   9021 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9022 *** create shared libraries on Solaris systems.  Therefore, libtool
   9023 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9024 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9025 *** your PATH or compiler configuration so that the native linker is
   9026 *** used, and then restart.
   9027 
   9028 _LT_EOF
   9029       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9030 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9031 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9032       else
   9033 	ld_shlibs=no
   9034       fi
   9035       ;;
   9036 
   9037     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9038       case `$LD -v 2>&1` in
   9039         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9040 	ld_shlibs=no
   9041 	cat <<_LT_EOF 1>&2
   9042 
   9043 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9044 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9045 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9046 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9047 *** your PATH or compiler configuration so that the native linker is
   9048 *** used, and then restart.
   9049 
   9050 _LT_EOF
   9051 	;;
   9052 	*)
   9053 	  # For security reasons, it is highly recommended that you always
   9054 	  # use absolute paths for naming shared libraries, and exclude the
   9055 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9056 	  # requires that you compile everything twice, which is a pain.
   9057 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9058 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9059 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9060 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9061 	  else
   9062 	    ld_shlibs=no
   9063 	  fi
   9064 	;;
   9065       esac
   9066       ;;
   9067 
   9068     sunos4*)
   9069       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9070       wlarc=
   9071       hardcode_direct=yes
   9072       hardcode_shlibpath_var=no
   9073       ;;
   9074 
   9075     *)
   9076       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9077 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9078 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9079       else
   9080 	ld_shlibs=no
   9081       fi
   9082       ;;
   9083     esac
   9084 
   9085     if test "$ld_shlibs" = no; then
   9086       runpath_var=
   9087       hardcode_libdir_flag_spec=
   9088       export_dynamic_flag_spec=
   9089       whole_archive_flag_spec=
   9090     fi
   9091   else
   9092     # PORTME fill in a description of your system's linker (not GNU ld)
   9093     case $host_os in
   9094     aix3*)
   9095       allow_undefined_flag=unsupported
   9096       always_export_symbols=yes
   9097       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'
   9098       # Note: this linker hardcodes the directories in LIBPATH if there
   9099       # are no directories specified by -L.
   9100       hardcode_minus_L=yes
   9101       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9102 	# Neither direct hardcoding nor static linking is supported with a
   9103 	# broken collect2.
   9104 	hardcode_direct=unsupported
   9105       fi
   9106       ;;
   9107 
   9108     aix[4-9]*)
   9109       if test "$host_cpu" = ia64; then
   9110 	# On IA64, the linker does run time linking by default, so we don't
   9111 	# have to do anything special.
   9112 	aix_use_runtimelinking=no
   9113 	exp_sym_flag='-Bexport'
   9114 	no_entry_flag=""
   9115       else
   9116 	# If we're using GNU nm, then we don't want the "-C" option.
   9117 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9118 	# Also, AIX nm treats weak defined symbols like other global
   9119 	# defined symbols, whereas GNU nm marks them as "W".
   9120 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9121 	  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'
   9122 	else
   9123 	  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'
   9124 	fi
   9125 	aix_use_runtimelinking=no
   9126 
   9127 	# Test if we are trying to use run time linking or normal
   9128 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9129 	# need to do runtime linking.
   9130 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9131 	  for ld_flag in $LDFLAGS; do
   9132 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9133 	    aix_use_runtimelinking=yes
   9134 	    break
   9135 	  fi
   9136 	  done
   9137 	  ;;
   9138 	esac
   9139 
   9140 	exp_sym_flag='-bexport'
   9141 	no_entry_flag='-bnoentry'
   9142       fi
   9143 
   9144       # When large executables or shared objects are built, AIX ld can
   9145       # have problems creating the table of contents.  If linking a library
   9146       # or program results in "error TOC overflow" add -mminimal-toc to
   9147       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9148       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9149 
   9150       archive_cmds=''
   9151       hardcode_direct=yes
   9152       hardcode_direct_absolute=yes
   9153       hardcode_libdir_separator=':'
   9154       link_all_deplibs=yes
   9155       file_list_spec='${wl}-f,'
   9156 
   9157       if test "$GCC" = yes; then
   9158 	case $host_os in aix4.[012]|aix4.[012].*)
   9159 	# We only want to do this on AIX 4.2 and lower, the check
   9160 	# below for broken collect2 doesn't work under 4.3+
   9161 	  collect2name=`${CC} -print-prog-name=collect2`
   9162 	  if test -f "$collect2name" &&
   9163 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9164 	  then
   9165 	  # We have reworked collect2
   9166 	  :
   9167 	  else
   9168 	  # We have old collect2
   9169 	  hardcode_direct=unsupported
   9170 	  # It fails to find uninstalled libraries when the uninstalled
   9171 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9172 	  # to unsupported forces relinking
   9173 	  hardcode_minus_L=yes
   9174 	  hardcode_libdir_flag_spec='-L$libdir'
   9175 	  hardcode_libdir_separator=
   9176 	  fi
   9177 	  ;;
   9178 	esac
   9179 	shared_flag='-shared'
   9180 	if test "$aix_use_runtimelinking" = yes; then
   9181 	  shared_flag="$shared_flag "'${wl}-G'
   9182 	fi
   9183       else
   9184 	# not using gcc
   9185 	if test "$host_cpu" = ia64; then
   9186 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9187 	# chokes on -Wl,-G. The following line is correct:
   9188 	  shared_flag='-G'
   9189 	else
   9190 	  if test "$aix_use_runtimelinking" = yes; then
   9191 	    shared_flag='${wl}-G'
   9192 	  else
   9193 	    shared_flag='${wl}-bM:SRE'
   9194 	  fi
   9195 	fi
   9196       fi
   9197 
   9198       export_dynamic_flag_spec='${wl}-bexpall'
   9199       # It seems that -bexpall does not export symbols beginning with
   9200       # underscore (_), so it is better to generate a list of symbols to export.
   9201       always_export_symbols=yes
   9202       if test "$aix_use_runtimelinking" = yes; then
   9203 	# Warning - without using the other runtime loading flags (-brtl),
   9204 	# -berok will link without error, but may produce a broken library.
   9205 	allow_undefined_flag='-berok'
   9206         # Determine the default libpath from the value encoded in an
   9207         # empty executable.
   9208         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9209 /* end confdefs.h.  */
   9210 
   9211 int
   9212 main ()
   9213 {
   9214 
   9215   ;
   9216   return 0;
   9217 }
   9218 _ACEOF
   9219 if ac_fn_c_try_link "$LINENO"; then :
   9220 
   9221 lt_aix_libpath_sed='
   9222     /Import File Strings/,/^$/ {
   9223 	/^0/ {
   9224 	    s/^0  *\(.*\)$/\1/
   9225 	    p
   9226 	}
   9227     }'
   9228 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9229 # Check for a 64-bit object if we didn't find anything.
   9230 if test -z "$aix_libpath"; then
   9231   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9232 fi
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext \
   9235     conftest$ac_exeext conftest.$ac_ext
   9236 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9237 
   9238         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9239         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"
   9240       else
   9241 	if test "$host_cpu" = ia64; then
   9242 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9243 	  allow_undefined_flag="-z nodefs"
   9244 	  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"
   9245 	else
   9246 	 # Determine the default libpath from the value encoded in an
   9247 	 # empty executable.
   9248 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9249 /* end confdefs.h.  */
   9250 
   9251 int
   9252 main ()
   9253 {
   9254 
   9255   ;
   9256   return 0;
   9257 }
   9258 _ACEOF
   9259 if ac_fn_c_try_link "$LINENO"; then :
   9260 
   9261 lt_aix_libpath_sed='
   9262     /Import File Strings/,/^$/ {
   9263 	/^0/ {
   9264 	    s/^0  *\(.*\)$/\1/
   9265 	    p
   9266 	}
   9267     }'
   9268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9269 # Check for a 64-bit object if we didn't find anything.
   9270 if test -z "$aix_libpath"; then
   9271   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9272 fi
   9273 fi
   9274 rm -f core conftest.err conftest.$ac_objext \
   9275     conftest$ac_exeext conftest.$ac_ext
   9276 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9277 
   9278 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9279 	  # Warning - without using the other run time loading flags,
   9280 	  # -berok will link without error, but may produce a broken library.
   9281 	  no_undefined_flag=' ${wl}-bernotok'
   9282 	  allow_undefined_flag=' ${wl}-berok'
   9283 	  if test "$with_gnu_ld" = yes; then
   9284 	    # We only use this code for GNU lds that support --whole-archive.
   9285 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9286 	  else
   9287 	    # Exported symbols can be pulled into shared objects from archives
   9288 	    whole_archive_flag_spec='$convenience'
   9289 	  fi
   9290 	  archive_cmds_need_lc=yes
   9291 	  # This is similar to how AIX traditionally builds its shared libraries.
   9292 	  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'
   9293 	fi
   9294       fi
   9295       ;;
   9296 
   9297     amigaos*)
   9298       case $host_cpu in
   9299       powerpc)
   9300             # see comment about AmigaOS4 .so support
   9301             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9302             archive_expsym_cmds=''
   9303         ;;
   9304       m68k)
   9305             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)'
   9306             hardcode_libdir_flag_spec='-L$libdir'
   9307             hardcode_minus_L=yes
   9308         ;;
   9309       esac
   9310       ;;
   9311 
   9312     bsdi[45]*)
   9313       export_dynamic_flag_spec=-rdynamic
   9314       ;;
   9315 
   9316     cygwin* | mingw* | pw32* | cegcc*)
   9317       # When not using gcc, we currently assume that we are using
   9318       # Microsoft Visual C++.
   9319       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9320       # no search path for DLLs.
   9321       hardcode_libdir_flag_spec=' '
   9322       allow_undefined_flag=unsupported
   9323       # Tell ltmain to make .lib files, not .a files.
   9324       libext=lib
   9325       # Tell ltmain to make .dll files, not .so files.
   9326       shrext_cmds=".dll"
   9327       # FIXME: Setting linknames here is a bad hack.
   9328       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9329       # The linker will automatically build a .lib file if we build a DLL.
   9330       old_archive_from_new_cmds='true'
   9331       # FIXME: Should let the user specify the lib program.
   9332       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9333       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9334       enable_shared_with_static_runtimes=yes
   9335       ;;
   9336 
   9337     darwin* | rhapsody*)
   9338 
   9339 
   9340   archive_cmds_need_lc=no
   9341   hardcode_direct=no
   9342   hardcode_automatic=yes
   9343   hardcode_shlibpath_var=unsupported
   9344   if test "$lt_cv_ld_force_load" = "yes"; then
   9345     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\"`'
   9346   else
   9347     whole_archive_flag_spec=''
   9348   fi
   9349   link_all_deplibs=yes
   9350   allow_undefined_flag="$_lt_dar_allow_undefined"
   9351   case $cc_basename in
   9352      ifort*) _lt_dar_can_shared=yes ;;
   9353      *) _lt_dar_can_shared=$GCC ;;
   9354   esac
   9355   if test "$_lt_dar_can_shared" = "yes"; then
   9356     output_verbose_link_cmd=func_echo_all
   9357     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9358     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9359     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}"
   9360     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}"
   9361 
   9362   else
   9363   ld_shlibs=no
   9364   fi
   9365 
   9366       ;;
   9367 
   9368     dgux*)
   9369       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9370       hardcode_libdir_flag_spec='-L$libdir'
   9371       hardcode_shlibpath_var=no
   9372       ;;
   9373 
   9374     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9375     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9376     # does not break anything, and helps significantly (at the cost of a little
   9377     # extra space).
   9378     freebsd2.2*)
   9379       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9380       hardcode_libdir_flag_spec='-R$libdir'
   9381       hardcode_direct=yes
   9382       hardcode_shlibpath_var=no
   9383       ;;
   9384 
   9385     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9386     freebsd2.*)
   9387       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9388       hardcode_direct=yes
   9389       hardcode_minus_L=yes
   9390       hardcode_shlibpath_var=no
   9391       ;;
   9392 
   9393     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9394     freebsd* | dragonfly*)
   9395       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9396       hardcode_libdir_flag_spec='-R$libdir'
   9397       hardcode_direct=yes
   9398       hardcode_shlibpath_var=no
   9399       ;;
   9400 
   9401     hpux9*)
   9402       if test "$GCC" = yes; then
   9403 	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'
   9404       else
   9405 	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'
   9406       fi
   9407       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9408       hardcode_libdir_separator=:
   9409       hardcode_direct=yes
   9410 
   9411       # hardcode_minus_L: Not really in the search PATH,
   9412       # but as the default location of the library.
   9413       hardcode_minus_L=yes
   9414       export_dynamic_flag_spec='${wl}-E'
   9415       ;;
   9416 
   9417     hpux10*)
   9418       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9419 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9420       else
   9421 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9422       fi
   9423       if test "$with_gnu_ld" = no; then
   9424 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9425 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9426 	hardcode_libdir_separator=:
   9427 	hardcode_direct=yes
   9428 	hardcode_direct_absolute=yes
   9429 	export_dynamic_flag_spec='${wl}-E'
   9430 	# hardcode_minus_L: Not really in the search PATH,
   9431 	# but as the default location of the library.
   9432 	hardcode_minus_L=yes
   9433       fi
   9434       ;;
   9435 
   9436     hpux11*)
   9437       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9438 	case $host_cpu in
   9439 	hppa*64*)
   9440 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9441 	  ;;
   9442 	ia64*)
   9443 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9444 	  ;;
   9445 	*)
   9446 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9447 	  ;;
   9448 	esac
   9449       else
   9450 	case $host_cpu in
   9451 	hppa*64*)
   9452 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9453 	  ;;
   9454 	ia64*)
   9455 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9456 	  ;;
   9457 	*)
   9458 
   9459 	  # Older versions of the 11.00 compiler do not understand -b yet
   9460 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9461 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9462 $as_echo_n "checking if $CC understands -b... " >&6; }
   9463 if test "${lt_cv_prog_compiler__b+set}" = set; then :
   9464   $as_echo_n "(cached) " >&6
   9465 else
   9466   lt_cv_prog_compiler__b=no
   9467    save_LDFLAGS="$LDFLAGS"
   9468    LDFLAGS="$LDFLAGS -b"
   9469    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9470    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9471      # The linker can only warn and ignore the option if not recognized
   9472      # So say no if there are warnings
   9473      if test -s conftest.err; then
   9474        # Append any errors to the config.log.
   9475        cat conftest.err 1>&5
   9476        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9477        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9478        if diff conftest.exp conftest.er2 >/dev/null; then
   9479          lt_cv_prog_compiler__b=yes
   9480        fi
   9481      else
   9482        lt_cv_prog_compiler__b=yes
   9483      fi
   9484    fi
   9485    $RM -r conftest*
   9486    LDFLAGS="$save_LDFLAGS"
   9487 
   9488 fi
   9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9490 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9491 
   9492 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9493     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9494 else
   9495     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9496 fi
   9497 
   9498 	  ;;
   9499 	esac
   9500       fi
   9501       if test "$with_gnu_ld" = no; then
   9502 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9503 	hardcode_libdir_separator=:
   9504 
   9505 	case $host_cpu in
   9506 	hppa*64*|ia64*)
   9507 	  hardcode_direct=no
   9508 	  hardcode_shlibpath_var=no
   9509 	  ;;
   9510 	*)
   9511 	  hardcode_direct=yes
   9512 	  hardcode_direct_absolute=yes
   9513 	  export_dynamic_flag_spec='${wl}-E'
   9514 
   9515 	  # hardcode_minus_L: Not really in the search PATH,
   9516 	  # but as the default location of the library.
   9517 	  hardcode_minus_L=yes
   9518 	  ;;
   9519 	esac
   9520       fi
   9521       ;;
   9522 
   9523     irix5* | irix6* | nonstopux*)
   9524       if test "$GCC" = yes; then
   9525 	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'
   9526 	# Try to use the -exported_symbol ld option, if it does not
   9527 	# work, assume that -exports_file does not work either and
   9528 	# implicitly export all symbols.
   9529         save_LDFLAGS="$LDFLAGS"
   9530         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9531         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9532 /* end confdefs.h.  */
   9533 int foo(void) {}
   9534 _ACEOF
   9535 if ac_fn_c_try_link "$LINENO"; then :
   9536   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'
   9537 
   9538 fi
   9539 rm -f core conftest.err conftest.$ac_objext \
   9540     conftest$ac_exeext conftest.$ac_ext
   9541         LDFLAGS="$save_LDFLAGS"
   9542       else
   9543 	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'
   9544 	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'
   9545       fi
   9546       archive_cmds_need_lc='no'
   9547       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9548       hardcode_libdir_separator=:
   9549       inherit_rpath=yes
   9550       link_all_deplibs=yes
   9551       ;;
   9552 
   9553     netbsd*)
   9554       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9555 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9556       else
   9557 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9558       fi
   9559       hardcode_libdir_flag_spec='-R$libdir'
   9560       hardcode_direct=yes
   9561       hardcode_shlibpath_var=no
   9562       ;;
   9563 
   9564     newsos6)
   9565       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9566       hardcode_direct=yes
   9567       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9568       hardcode_libdir_separator=:
   9569       hardcode_shlibpath_var=no
   9570       ;;
   9571 
   9572     *nto* | *qnx*)
   9573       ;;
   9574 
   9575     openbsd*)
   9576       if test -f /usr/libexec/ld.so; then
   9577 	hardcode_direct=yes
   9578 	hardcode_shlibpath_var=no
   9579 	hardcode_direct_absolute=yes
   9580 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9581 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9582 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9583 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9584 	  export_dynamic_flag_spec='${wl}-E'
   9585 	else
   9586 	  case $host_os in
   9587 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9588 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9589 	     hardcode_libdir_flag_spec='-R$libdir'
   9590 	     ;;
   9591 	   *)
   9592 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9593 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9594 	     ;;
   9595 	  esac
   9596 	fi
   9597       else
   9598 	ld_shlibs=no
   9599       fi
   9600       ;;
   9601 
   9602     os2*)
   9603       hardcode_libdir_flag_spec='-L$libdir'
   9604       hardcode_minus_L=yes
   9605       allow_undefined_flag=unsupported
   9606       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'
   9607       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9608       ;;
   9609 
   9610     osf3*)
   9611       if test "$GCC" = yes; then
   9612 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9613 	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'
   9614       else
   9615 	allow_undefined_flag=' -expect_unresolved \*'
   9616 	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'
   9617       fi
   9618       archive_cmds_need_lc='no'
   9619       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9620       hardcode_libdir_separator=:
   9621       ;;
   9622 
   9623     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9624       if test "$GCC" = yes; then
   9625 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9626 	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'
   9627 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9628       else
   9629 	allow_undefined_flag=' -expect_unresolved \*'
   9630 	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'
   9631 	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~
   9632 	$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'
   9633 
   9634 	# Both c and cxx compiler support -rpath directly
   9635 	hardcode_libdir_flag_spec='-rpath $libdir'
   9636       fi
   9637       archive_cmds_need_lc='no'
   9638       hardcode_libdir_separator=:
   9639       ;;
   9640 
   9641     solaris*)
   9642       no_undefined_flag=' -z defs'
   9643       if test "$GCC" = yes; then
   9644 	wlarc='${wl}'
   9645 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9646 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9647 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9648       else
   9649 	case `$CC -V 2>&1` in
   9650 	*"Compilers 5.0"*)
   9651 	  wlarc=''
   9652 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9653 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9654 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9655 	  ;;
   9656 	*)
   9657 	  wlarc='${wl}'
   9658 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9659 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9660 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9661 	  ;;
   9662 	esac
   9663       fi
   9664       hardcode_libdir_flag_spec='-R$libdir'
   9665       hardcode_shlibpath_var=no
   9666       case $host_os in
   9667       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9668       *)
   9669 	# The compiler driver will combine and reorder linker options,
   9670 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9671 	# but is careful enough not to reorder.
   9672 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9673 	if test "$GCC" = yes; then
   9674 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9675 	else
   9676 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9677 	fi
   9678 	;;
   9679       esac
   9680       link_all_deplibs=yes
   9681       ;;
   9682 
   9683     sunos4*)
   9684       if test "x$host_vendor" = xsequent; then
   9685 	# Use $CC to link under sequent, because it throws in some extra .o
   9686 	# files that make .init and .fini sections work.
   9687 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9688       else
   9689 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9690       fi
   9691       hardcode_libdir_flag_spec='-L$libdir'
   9692       hardcode_direct=yes
   9693       hardcode_minus_L=yes
   9694       hardcode_shlibpath_var=no
   9695       ;;
   9696 
   9697     sysv4)
   9698       case $host_vendor in
   9699 	sni)
   9700 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9701 	  hardcode_direct=yes # is this really true???
   9702 	;;
   9703 	siemens)
   9704 	  ## LD is ld it makes a PLAMLIB
   9705 	  ## CC just makes a GrossModule.
   9706 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9707 	  reload_cmds='$CC -r -o $output$reload_objs'
   9708 	  hardcode_direct=no
   9709         ;;
   9710 	motorola)
   9711 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9712 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9713 	;;
   9714       esac
   9715       runpath_var='LD_RUN_PATH'
   9716       hardcode_shlibpath_var=no
   9717       ;;
   9718 
   9719     sysv4.3*)
   9720       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9721       hardcode_shlibpath_var=no
   9722       export_dynamic_flag_spec='-Bexport'
   9723       ;;
   9724 
   9725     sysv4*MP*)
   9726       if test -d /usr/nec; then
   9727 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9728 	hardcode_shlibpath_var=no
   9729 	runpath_var=LD_RUN_PATH
   9730 	hardcode_runpath_var=yes
   9731 	ld_shlibs=yes
   9732       fi
   9733       ;;
   9734 
   9735     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9736       no_undefined_flag='${wl}-z,text'
   9737       archive_cmds_need_lc=no
   9738       hardcode_shlibpath_var=no
   9739       runpath_var='LD_RUN_PATH'
   9740 
   9741       if test "$GCC" = yes; then
   9742 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9743 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9744       else
   9745 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9746 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9747       fi
   9748       ;;
   9749 
   9750     sysv5* | sco3.2v5* | sco5v6*)
   9751       # Note: We can NOT use -z defs as we might desire, because we do not
   9752       # link with -lc, and that would cause any symbols used from libc to
   9753       # always be unresolved, which means just about no library would
   9754       # ever link correctly.  If we're not using GNU ld we use -z text
   9755       # though, which does catch some bad symbols but isn't as heavy-handed
   9756       # as -z defs.
   9757       no_undefined_flag='${wl}-z,text'
   9758       allow_undefined_flag='${wl}-z,nodefs'
   9759       archive_cmds_need_lc=no
   9760       hardcode_shlibpath_var=no
   9761       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9762       hardcode_libdir_separator=':'
   9763       link_all_deplibs=yes
   9764       export_dynamic_flag_spec='${wl}-Bexport'
   9765       runpath_var='LD_RUN_PATH'
   9766 
   9767       if test "$GCC" = yes; then
   9768 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9769 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9770       else
   9771 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9772 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9773       fi
   9774       ;;
   9775 
   9776     uts4*)
   9777       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9778       hardcode_libdir_flag_spec='-L$libdir'
   9779       hardcode_shlibpath_var=no
   9780       ;;
   9781 
   9782     *)
   9783       ld_shlibs=no
   9784       ;;
   9785     esac
   9786 
   9787     if test x$host_vendor = xsni; then
   9788       case $host in
   9789       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9790 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9791 	;;
   9792       esac
   9793     fi
   9794   fi
   9795 
   9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9797 $as_echo "$ld_shlibs" >&6; }
   9798 test "$ld_shlibs" = no && can_build_shared=no
   9799 
   9800 with_gnu_ld=$with_gnu_ld
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 #
   9817 # Do we need to explicitly link libc?
   9818 #
   9819 case "x$archive_cmds_need_lc" in
   9820 x|xyes)
   9821   # Assume -lc should be added
   9822   archive_cmds_need_lc=yes
   9823 
   9824   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9825     case $archive_cmds in
   9826     *'~'*)
   9827       # FIXME: we may have to deal with multi-command sequences.
   9828       ;;
   9829     '$CC '*)
   9830       # Test whether the compiler implicitly links with -lc since on some
   9831       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9832       # to ld, don't add -lc before -lgcc.
   9833       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9834 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9835 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
   9836   $as_echo_n "(cached) " >&6
   9837 else
   9838   $RM conftest*
   9839 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9840 
   9841 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9842   (eval $ac_compile) 2>&5
   9843   ac_status=$?
   9844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9845   test $ac_status = 0; } 2>conftest.err; then
   9846 	  soname=conftest
   9847 	  lib=conftest
   9848 	  libobjs=conftest.$ac_objext
   9849 	  deplibs=
   9850 	  wl=$lt_prog_compiler_wl
   9851 	  pic_flag=$lt_prog_compiler_pic
   9852 	  compiler_flags=-v
   9853 	  linker_flags=-v
   9854 	  verstring=
   9855 	  output_objdir=.
   9856 	  libname=conftest
   9857 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9858 	  allow_undefined_flag=
   9859 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9860   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9861   ac_status=$?
   9862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9863   test $ac_status = 0; }
   9864 	  then
   9865 	    lt_cv_archive_cmds_need_lc=no
   9866 	  else
   9867 	    lt_cv_archive_cmds_need_lc=yes
   9868 	  fi
   9869 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9870 	else
   9871 	  cat conftest.err 1>&5
   9872 	fi
   9873 	$RM conftest*
   9874 
   9875 fi
   9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9877 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9878       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9879       ;;
   9880     esac
   9881   fi
   9882   ;;
   9883 esac
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10042 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10043 
   10044 if test "$GCC" = yes; then
   10045   case $host_os in
   10046     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10047     *) lt_awk_arg="/^libraries:/" ;;
   10048   esac
   10049   case $host_os in
   10050     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10051     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10052   esac
   10053   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10054   case $lt_search_path_spec in
   10055   *\;*)
   10056     # if the path contains ";" then we assume it to be the separator
   10057     # otherwise default to the standard path separator (i.e. ":") - it is
   10058     # assumed that no part of a normal pathname contains ";" but that should
   10059     # okay in the real world where ";" in dirpaths is itself problematic.
   10060     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10061     ;;
   10062   *)
   10063     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10064     ;;
   10065   esac
   10066   # Ok, now we have the path, separated by spaces, we can step through it
   10067   # and add multilib dir if necessary.
   10068   lt_tmp_lt_search_path_spec=
   10069   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10070   for lt_sys_path in $lt_search_path_spec; do
   10071     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10072       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10073     else
   10074       test -d "$lt_sys_path" && \
   10075 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10076     fi
   10077   done
   10078   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10079 BEGIN {RS=" "; FS="/|\n";} {
   10080   lt_foo="";
   10081   lt_count=0;
   10082   for (lt_i = NF; lt_i > 0; lt_i--) {
   10083     if ($lt_i != "" && $lt_i != ".") {
   10084       if ($lt_i == "..") {
   10085         lt_count++;
   10086       } else {
   10087         if (lt_count == 0) {
   10088           lt_foo="/" $lt_i lt_foo;
   10089         } else {
   10090           lt_count--;
   10091         }
   10092       }
   10093     }
   10094   }
   10095   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10096   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10097 }'`
   10098   # AWK program above erroneously prepends '/' to C:/dos/paths
   10099   # for these hosts.
   10100   case $host_os in
   10101     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10102       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10103   esac
   10104   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10105 else
   10106   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10107 fi
   10108 library_names_spec=
   10109 libname_spec='lib$name'
   10110 soname_spec=
   10111 shrext_cmds=".so"
   10112 postinstall_cmds=
   10113 postuninstall_cmds=
   10114 finish_cmds=
   10115 finish_eval=
   10116 shlibpath_var=
   10117 shlibpath_overrides_runpath=unknown
   10118 version_type=none
   10119 dynamic_linker="$host_os ld.so"
   10120 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10121 need_lib_prefix=unknown
   10122 hardcode_into_libs=no
   10123 
   10124 # when you set need_version to no, make sure it does not cause -set_version
   10125 # flags to be left without arguments
   10126 need_version=unknown
   10127 
   10128 case $host_os in
   10129 aix3*)
   10130   version_type=linux
   10131   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10132   shlibpath_var=LIBPATH
   10133 
   10134   # AIX 3 has no versioning support, so we append a major version to the name.
   10135   soname_spec='${libname}${release}${shared_ext}$major'
   10136   ;;
   10137 
   10138 aix[4-9]*)
   10139   version_type=linux
   10140   need_lib_prefix=no
   10141   need_version=no
   10142   hardcode_into_libs=yes
   10143   if test "$host_cpu" = ia64; then
   10144     # AIX 5 supports IA64
   10145     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10146     shlibpath_var=LD_LIBRARY_PATH
   10147   else
   10148     # With GCC up to 2.95.x, collect2 would create an import file
   10149     # for dependence libraries.  The import file would start with
   10150     # the line `#! .'.  This would cause the generated library to
   10151     # depend on `.', always an invalid library.  This was fixed in
   10152     # development snapshots of GCC prior to 3.0.
   10153     case $host_os in
   10154       aix4 | aix4.[01] | aix4.[01].*)
   10155       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10156 	   echo ' yes '
   10157 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10158 	:
   10159       else
   10160 	can_build_shared=no
   10161       fi
   10162       ;;
   10163     esac
   10164     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10165     # soname into executable. Probably we can add versioning support to
   10166     # collect2, so additional links can be useful in future.
   10167     if test "$aix_use_runtimelinking" = yes; then
   10168       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10169       # instead of lib<name>.a to let people know that these are not
   10170       # typical AIX shared libraries.
   10171       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10172     else
   10173       # We preserve .a as extension for shared libraries through AIX4.2
   10174       # and later when we are not doing run time linking.
   10175       library_names_spec='${libname}${release}.a $libname.a'
   10176       soname_spec='${libname}${release}${shared_ext}$major'
   10177     fi
   10178     shlibpath_var=LIBPATH
   10179   fi
   10180   ;;
   10181 
   10182 amigaos*)
   10183   case $host_cpu in
   10184   powerpc)
   10185     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10186     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10187     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10188     ;;
   10189   m68k)
   10190     library_names_spec='$libname.ixlibrary $libname.a'
   10191     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10192     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'
   10193     ;;
   10194   esac
   10195   ;;
   10196 
   10197 beos*)
   10198   library_names_spec='${libname}${shared_ext}'
   10199   dynamic_linker="$host_os ld.so"
   10200   shlibpath_var=LIBRARY_PATH
   10201   ;;
   10202 
   10203 bsdi[45]*)
   10204   version_type=linux
   10205   need_version=no
   10206   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10207   soname_spec='${libname}${release}${shared_ext}$major'
   10208   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10209   shlibpath_var=LD_LIBRARY_PATH
   10210   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10211   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10212   # the default ld.so.conf also contains /usr/contrib/lib and
   10213   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10214   # libtool to hard-code these into programs
   10215   ;;
   10216 
   10217 cygwin* | mingw* | pw32* | cegcc*)
   10218   version_type=windows
   10219   shrext_cmds=".dll"
   10220   need_version=no
   10221   need_lib_prefix=no
   10222 
   10223   case $GCC,$host_os in
   10224   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10225     library_names_spec='$libname.dll.a'
   10226     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10227     postinstall_cmds='base_file=`basename \${file}`~
   10228       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10229       dldir=$destdir/`dirname \$dlpath`~
   10230       test -d \$dldir || mkdir -p \$dldir~
   10231       $install_prog $dir/$dlname \$dldir/$dlname~
   10232       chmod a+x \$dldir/$dlname~
   10233       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10234         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10235       fi'
   10236     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10237       dlpath=$dir/\$dldll~
   10238        $RM \$dlpath'
   10239     shlibpath_overrides_runpath=yes
   10240 
   10241     case $host_os in
   10242     cygwin*)
   10243       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10244       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10245 
   10246       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10247       ;;
   10248     mingw* | cegcc*)
   10249       # MinGW DLLs use traditional 'lib' prefix
   10250       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10251       ;;
   10252     pw32*)
   10253       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10254       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10255       ;;
   10256     esac
   10257     ;;
   10258 
   10259   *)
   10260     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10261     ;;
   10262   esac
   10263   dynamic_linker='Win32 ld.exe'
   10264   # FIXME: first we should search . and the directory the executable is in
   10265   shlibpath_var=PATH
   10266   ;;
   10267 
   10268 darwin* | rhapsody*)
   10269   dynamic_linker="$host_os dyld"
   10270   version_type=darwin
   10271   need_lib_prefix=no
   10272   need_version=no
   10273   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10274   soname_spec='${libname}${release}${major}$shared_ext'
   10275   shlibpath_overrides_runpath=yes
   10276   shlibpath_var=DYLD_LIBRARY_PATH
   10277   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10278 
   10279   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10280   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10281   ;;
   10282 
   10283 dgux*)
   10284   version_type=linux
   10285   need_lib_prefix=no
   10286   need_version=no
   10287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10288   soname_spec='${libname}${release}${shared_ext}$major'
   10289   shlibpath_var=LD_LIBRARY_PATH
   10290   ;;
   10291 
   10292 freebsd* | dragonfly*)
   10293   # DragonFly does not have aout.  When/if they implement a new
   10294   # versioning mechanism, adjust this.
   10295   if test -x /usr/bin/objformat; then
   10296     objformat=`/usr/bin/objformat`
   10297   else
   10298     case $host_os in
   10299     freebsd[23].*) objformat=aout ;;
   10300     *) objformat=elf ;;
   10301     esac
   10302   fi
   10303   version_type=freebsd-$objformat
   10304   case $version_type in
   10305     freebsd-elf*)
   10306       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10307       need_version=no
   10308       need_lib_prefix=no
   10309       ;;
   10310     freebsd-*)
   10311       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10312       need_version=yes
   10313       ;;
   10314   esac
   10315   shlibpath_var=LD_LIBRARY_PATH
   10316   case $host_os in
   10317   freebsd2.*)
   10318     shlibpath_overrides_runpath=yes
   10319     ;;
   10320   freebsd3.[01]* | freebsdelf3.[01]*)
   10321     shlibpath_overrides_runpath=yes
   10322     hardcode_into_libs=yes
   10323     ;;
   10324   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10325   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10326     shlibpath_overrides_runpath=no
   10327     hardcode_into_libs=yes
   10328     ;;
   10329   *) # from 4.6 on, and DragonFly
   10330     shlibpath_overrides_runpath=yes
   10331     hardcode_into_libs=yes
   10332     ;;
   10333   esac
   10334   ;;
   10335 
   10336 gnu*)
   10337   version_type=linux
   10338   need_lib_prefix=no
   10339   need_version=no
   10340   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10341   soname_spec='${libname}${release}${shared_ext}$major'
   10342   shlibpath_var=LD_LIBRARY_PATH
   10343   hardcode_into_libs=yes
   10344   ;;
   10345 
   10346 haiku*)
   10347   version_type=linux
   10348   need_lib_prefix=no
   10349   need_version=no
   10350   dynamic_linker="$host_os runtime_loader"
   10351   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10352   soname_spec='${libname}${release}${shared_ext}$major'
   10353   shlibpath_var=LIBRARY_PATH
   10354   shlibpath_overrides_runpath=yes
   10355   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
   10356   hardcode_into_libs=yes
   10357   ;;
   10358 
   10359 hpux9* | hpux10* | hpux11*)
   10360   # Give a soname corresponding to the major version so that dld.sl refuses to
   10361   # link against other versions.
   10362   version_type=sunos
   10363   need_lib_prefix=no
   10364   need_version=no
   10365   case $host_cpu in
   10366   ia64*)
   10367     shrext_cmds='.so'
   10368     hardcode_into_libs=yes
   10369     dynamic_linker="$host_os dld.so"
   10370     shlibpath_var=LD_LIBRARY_PATH
   10371     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10372     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10373     soname_spec='${libname}${release}${shared_ext}$major'
   10374     if test "X$HPUX_IA64_MODE" = X32; then
   10375       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10376     else
   10377       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10378     fi
   10379     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10380     ;;
   10381   hppa*64*)
   10382     shrext_cmds='.sl'
   10383     hardcode_into_libs=yes
   10384     dynamic_linker="$host_os dld.sl"
   10385     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10386     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10387     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10388     soname_spec='${libname}${release}${shared_ext}$major'
   10389     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10390     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10391     ;;
   10392   *)
   10393     shrext_cmds='.sl'
   10394     dynamic_linker="$host_os dld.sl"
   10395     shlibpath_var=SHLIB_PATH
   10396     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10398     soname_spec='${libname}${release}${shared_ext}$major'
   10399     ;;
   10400   esac
   10401   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10402   postinstall_cmds='chmod 555 $lib'
   10403   # or fails outright, so override atomically:
   10404   install_override_mode=555
   10405   ;;
   10406 
   10407 interix[3-9]*)
   10408   version_type=linux
   10409   need_lib_prefix=no
   10410   need_version=no
   10411   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10412   soname_spec='${libname}${release}${shared_ext}$major'
   10413   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10414   shlibpath_var=LD_LIBRARY_PATH
   10415   shlibpath_overrides_runpath=no
   10416   hardcode_into_libs=yes
   10417   ;;
   10418 
   10419 irix5* | irix6* | nonstopux*)
   10420   case $host_os in
   10421     nonstopux*) version_type=nonstopux ;;
   10422     *)
   10423 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10424 		version_type=linux
   10425 	else
   10426 		version_type=irix
   10427 	fi ;;
   10428   esac
   10429   need_lib_prefix=no
   10430   need_version=no
   10431   soname_spec='${libname}${release}${shared_ext}$major'
   10432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10433   case $host_os in
   10434   irix5* | nonstopux*)
   10435     libsuff= shlibsuff=
   10436     ;;
   10437   *)
   10438     case $LD in # libtool.m4 will add one of these switches to LD
   10439     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10440       libsuff= shlibsuff= libmagic=32-bit;;
   10441     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10442       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10443     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10444       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10445     *) libsuff= shlibsuff= libmagic=never-match;;
   10446     esac
   10447     ;;
   10448   esac
   10449   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10450   shlibpath_overrides_runpath=no
   10451   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10452   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10453   hardcode_into_libs=yes
   10454   ;;
   10455 
   10456 # No shared lib support for Linux oldld, aout, or coff.
   10457 linux*oldld* | linux*aout* | linux*coff*)
   10458   dynamic_linker=no
   10459   ;;
   10460 
   10461 # This must be Linux ELF.
   10462 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10463   version_type=linux
   10464   need_lib_prefix=no
   10465   need_version=no
   10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10467   soname_spec='${libname}${release}${shared_ext}$major'
   10468   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10469   shlibpath_var=LD_LIBRARY_PATH
   10470   shlibpath_overrides_runpath=no
   10471 
   10472   # Some binutils ld are patched to set DT_RUNPATH
   10473   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
   10474   $as_echo_n "(cached) " >&6
   10475 else
   10476   lt_cv_shlibpath_overrides_runpath=no
   10477     save_LDFLAGS=$LDFLAGS
   10478     save_libdir=$libdir
   10479     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10480 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10481     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10482 /* end confdefs.h.  */
   10483 
   10484 int
   10485 main ()
   10486 {
   10487 
   10488   ;
   10489   return 0;
   10490 }
   10491 _ACEOF
   10492 if ac_fn_c_try_link "$LINENO"; then :
   10493   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10494   lt_cv_shlibpath_overrides_runpath=yes
   10495 fi
   10496 fi
   10497 rm -f core conftest.err conftest.$ac_objext \
   10498     conftest$ac_exeext conftest.$ac_ext
   10499     LDFLAGS=$save_LDFLAGS
   10500     libdir=$save_libdir
   10501 
   10502 fi
   10503 
   10504   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10505 
   10506   # This implies no fast_install, which is unacceptable.
   10507   # Some rework will be needed to allow for fast_install
   10508   # before this can be enabled.
   10509   hardcode_into_libs=yes
   10510 
   10511   # Append ld.so.conf contents to the search path
   10512   if test -f /etc/ld.so.conf; then
   10513     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' ' '`
   10514     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10515   fi
   10516 
   10517   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10518   # powerpc, because MkLinux only supported shared libraries with the
   10519   # GNU dynamic linker.  Since this was broken with cross compilers,
   10520   # most powerpc-linux boxes support dynamic linking these days and
   10521   # people can always --disable-shared, the test was removed, and we
   10522   # assume the GNU/Linux dynamic linker is in use.
   10523   dynamic_linker='GNU/Linux ld.so'
   10524   ;;
   10525 
   10526 netbsd*)
   10527   version_type=sunos
   10528   need_lib_prefix=no
   10529   need_version=no
   10530   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10531     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10532     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10533     dynamic_linker='NetBSD (a.out) ld.so'
   10534   else
   10535     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10536     soname_spec='${libname}${release}${shared_ext}$major'
   10537     dynamic_linker='NetBSD ld.elf_so'
   10538   fi
   10539   shlibpath_var=LD_LIBRARY_PATH
   10540   shlibpath_overrides_runpath=yes
   10541   hardcode_into_libs=yes
   10542   ;;
   10543 
   10544 newsos6)
   10545   version_type=linux
   10546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10547   shlibpath_var=LD_LIBRARY_PATH
   10548   shlibpath_overrides_runpath=yes
   10549   ;;
   10550 
   10551 *nto* | *qnx*)
   10552   version_type=qnx
   10553   need_lib_prefix=no
   10554   need_version=no
   10555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10556   soname_spec='${libname}${release}${shared_ext}$major'
   10557   shlibpath_var=LD_LIBRARY_PATH
   10558   shlibpath_overrides_runpath=no
   10559   hardcode_into_libs=yes
   10560   dynamic_linker='ldqnx.so'
   10561   ;;
   10562 
   10563 openbsd*)
   10564   version_type=sunos
   10565   sys_lib_dlsearch_path_spec="/usr/lib"
   10566   need_lib_prefix=no
   10567   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10568   case $host_os in
   10569     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10570     *)				need_version=no  ;;
   10571   esac
   10572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10573   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10574   shlibpath_var=LD_LIBRARY_PATH
   10575   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10576     case $host_os in
   10577       openbsd2.[89] | openbsd2.[89].*)
   10578 	shlibpath_overrides_runpath=no
   10579 	;;
   10580       *)
   10581 	shlibpath_overrides_runpath=yes
   10582 	;;
   10583       esac
   10584   else
   10585     shlibpath_overrides_runpath=yes
   10586   fi
   10587   ;;
   10588 
   10589 os2*)
   10590   libname_spec='$name'
   10591   shrext_cmds=".dll"
   10592   need_lib_prefix=no
   10593   library_names_spec='$libname${shared_ext} $libname.a'
   10594   dynamic_linker='OS/2 ld.exe'
   10595   shlibpath_var=LIBPATH
   10596   ;;
   10597 
   10598 osf3* | osf4* | osf5*)
   10599   version_type=osf
   10600   need_lib_prefix=no
   10601   need_version=no
   10602   soname_spec='${libname}${release}${shared_ext}$major'
   10603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10604   shlibpath_var=LD_LIBRARY_PATH
   10605   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10606   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10607   ;;
   10608 
   10609 rdos*)
   10610   dynamic_linker=no
   10611   ;;
   10612 
   10613 solaris*)
   10614   version_type=linux
   10615   need_lib_prefix=no
   10616   need_version=no
   10617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10618   soname_spec='${libname}${release}${shared_ext}$major'
   10619   shlibpath_var=LD_LIBRARY_PATH
   10620   shlibpath_overrides_runpath=yes
   10621   hardcode_into_libs=yes
   10622   # ldd complains unless libraries are executable
   10623   postinstall_cmds='chmod +x $lib'
   10624   ;;
   10625 
   10626 sunos4*)
   10627   version_type=sunos
   10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10629   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10630   shlibpath_var=LD_LIBRARY_PATH
   10631   shlibpath_overrides_runpath=yes
   10632   if test "$with_gnu_ld" = yes; then
   10633     need_lib_prefix=no
   10634   fi
   10635   need_version=yes
   10636   ;;
   10637 
   10638 sysv4 | sysv4.3*)
   10639   version_type=linux
   10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10641   soname_spec='${libname}${release}${shared_ext}$major'
   10642   shlibpath_var=LD_LIBRARY_PATH
   10643   case $host_vendor in
   10644     sni)
   10645       shlibpath_overrides_runpath=no
   10646       need_lib_prefix=no
   10647       runpath_var=LD_RUN_PATH
   10648       ;;
   10649     siemens)
   10650       need_lib_prefix=no
   10651       ;;
   10652     motorola)
   10653       need_lib_prefix=no
   10654       need_version=no
   10655       shlibpath_overrides_runpath=no
   10656       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10657       ;;
   10658   esac
   10659   ;;
   10660 
   10661 sysv4*MP*)
   10662   if test -d /usr/nec ;then
   10663     version_type=linux
   10664     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10665     soname_spec='$libname${shared_ext}.$major'
   10666     shlibpath_var=LD_LIBRARY_PATH
   10667   fi
   10668   ;;
   10669 
   10670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10671   version_type=freebsd-elf
   10672   need_lib_prefix=no
   10673   need_version=no
   10674   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10675   soname_spec='${libname}${release}${shared_ext}$major'
   10676   shlibpath_var=LD_LIBRARY_PATH
   10677   shlibpath_overrides_runpath=yes
   10678   hardcode_into_libs=yes
   10679   if test "$with_gnu_ld" = yes; then
   10680     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10681   else
   10682     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10683     case $host_os in
   10684       sco3.2v5*)
   10685         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10686 	;;
   10687     esac
   10688   fi
   10689   sys_lib_dlsearch_path_spec='/usr/lib'
   10690   ;;
   10691 
   10692 tpf*)
   10693   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10694   version_type=linux
   10695   need_lib_prefix=no
   10696   need_version=no
   10697   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10698   shlibpath_var=LD_LIBRARY_PATH
   10699   shlibpath_overrides_runpath=no
   10700   hardcode_into_libs=yes
   10701   ;;
   10702 
   10703 uts4*)
   10704   version_type=linux
   10705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10706   soname_spec='${libname}${release}${shared_ext}$major'
   10707   shlibpath_var=LD_LIBRARY_PATH
   10708   ;;
   10709 
   10710 *)
   10711   dynamic_linker=no
   10712   ;;
   10713 esac
   10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10715 $as_echo "$dynamic_linker" >&6; }
   10716 test "$dynamic_linker" = no && can_build_shared=no
   10717 
   10718 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10719 if test "$GCC" = yes; then
   10720   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10721 fi
   10722 
   10723 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10724   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10725 fi
   10726 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10727   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10728 fi
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10822 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10823 hardcode_action=
   10824 if test -n "$hardcode_libdir_flag_spec" ||
   10825    test -n "$runpath_var" ||
   10826    test "X$hardcode_automatic" = "Xyes" ; then
   10827 
   10828   # We can hardcode non-existent directories.
   10829   if test "$hardcode_direct" != no &&
   10830      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10831      # have to relink, otherwise we might link with an installed library
   10832      # when we should be linking with a yet-to-be-installed one
   10833      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10834      test "$hardcode_minus_L" != no; then
   10835     # Linking always hardcodes the temporary library directory.
   10836     hardcode_action=relink
   10837   else
   10838     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10839     hardcode_action=immediate
   10840   fi
   10841 else
   10842   # We cannot hardcode anything, or else we can only hardcode existing
   10843   # directories.
   10844   hardcode_action=unsupported
   10845 fi
   10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10847 $as_echo "$hardcode_action" >&6; }
   10848 
   10849 if test "$hardcode_action" = relink ||
   10850    test "$inherit_rpath" = yes; then
   10851   # Fast installation is not supported
   10852   enable_fast_install=no
   10853 elif test "$shlibpath_overrides_runpath" = yes ||
   10854      test "$enable_shared" = no; then
   10855   # Fast installation is not necessary
   10856   enable_fast_install=needless
   10857 fi
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864   if test "x$enable_dlopen" != xyes; then
   10865   enable_dlopen=unknown
   10866   enable_dlopen_self=unknown
   10867   enable_dlopen_self_static=unknown
   10868 else
   10869   lt_cv_dlopen=no
   10870   lt_cv_dlopen_libs=
   10871 
   10872   case $host_os in
   10873   beos*)
   10874     lt_cv_dlopen="load_add_on"
   10875     lt_cv_dlopen_libs=
   10876     lt_cv_dlopen_self=yes
   10877     ;;
   10878 
   10879   mingw* | pw32* | cegcc*)
   10880     lt_cv_dlopen="LoadLibrary"
   10881     lt_cv_dlopen_libs=
   10882     ;;
   10883 
   10884   cygwin*)
   10885     lt_cv_dlopen="dlopen"
   10886     lt_cv_dlopen_libs=
   10887     ;;
   10888 
   10889   darwin*)
   10890   # if libdl is installed we need to link against it
   10891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10892 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10893 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10894   $as_echo_n "(cached) " >&6
   10895 else
   10896   ac_check_lib_save_LIBS=$LIBS
   10897 LIBS="-ldl  $LIBS"
   10898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10899 /* end confdefs.h.  */
   10900 
   10901 /* Override any GCC internal prototype to avoid an error.
   10902    Use char because int might match the return type of a GCC
   10903    builtin and then its argument prototype would still apply.  */
   10904 #ifdef __cplusplus
   10905 extern "C"
   10906 #endif
   10907 char dlopen ();
   10908 int
   10909 main ()
   10910 {
   10911 return dlopen ();
   10912   ;
   10913   return 0;
   10914 }
   10915 _ACEOF
   10916 if ac_fn_c_try_link "$LINENO"; then :
   10917   ac_cv_lib_dl_dlopen=yes
   10918 else
   10919   ac_cv_lib_dl_dlopen=no
   10920 fi
   10921 rm -f core conftest.err conftest.$ac_objext \
   10922     conftest$ac_exeext conftest.$ac_ext
   10923 LIBS=$ac_check_lib_save_LIBS
   10924 fi
   10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10926 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10927 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   10928   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10929 else
   10930 
   10931     lt_cv_dlopen="dyld"
   10932     lt_cv_dlopen_libs=
   10933     lt_cv_dlopen_self=yes
   10934 
   10935 fi
   10936 
   10937     ;;
   10938 
   10939   *)
   10940     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10941 if test "x$ac_cv_func_shl_load" = x""yes; then :
   10942   lt_cv_dlopen="shl_load"
   10943 else
   10944   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10945 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10946 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   10947   $as_echo_n "(cached) " >&6
   10948 else
   10949   ac_check_lib_save_LIBS=$LIBS
   10950 LIBS="-ldld  $LIBS"
   10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10952 /* end confdefs.h.  */
   10953 
   10954 /* Override any GCC internal prototype to avoid an error.
   10955    Use char because int might match the return type of a GCC
   10956    builtin and then its argument prototype would still apply.  */
   10957 #ifdef __cplusplus
   10958 extern "C"
   10959 #endif
   10960 char shl_load ();
   10961 int
   10962 main ()
   10963 {
   10964 return shl_load ();
   10965   ;
   10966   return 0;
   10967 }
   10968 _ACEOF
   10969 if ac_fn_c_try_link "$LINENO"; then :
   10970   ac_cv_lib_dld_shl_load=yes
   10971 else
   10972   ac_cv_lib_dld_shl_load=no
   10973 fi
   10974 rm -f core conftest.err conftest.$ac_objext \
   10975     conftest$ac_exeext conftest.$ac_ext
   10976 LIBS=$ac_check_lib_save_LIBS
   10977 fi
   10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10979 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10980 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   10981   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10982 else
   10983   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10984 if test "x$ac_cv_func_dlopen" = x""yes; then :
   10985   lt_cv_dlopen="dlopen"
   10986 else
   10987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10988 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10989 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   10990   $as_echo_n "(cached) " >&6
   10991 else
   10992   ac_check_lib_save_LIBS=$LIBS
   10993 LIBS="-ldl  $LIBS"
   10994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10995 /* end confdefs.h.  */
   10996 
   10997 /* Override any GCC internal prototype to avoid an error.
   10998    Use char because int might match the return type of a GCC
   10999    builtin and then its argument prototype would still apply.  */
   11000 #ifdef __cplusplus
   11001 extern "C"
   11002 #endif
   11003 char dlopen ();
   11004 int
   11005 main ()
   11006 {
   11007 return dlopen ();
   11008   ;
   11009   return 0;
   11010 }
   11011 _ACEOF
   11012 if ac_fn_c_try_link "$LINENO"; then :
   11013   ac_cv_lib_dl_dlopen=yes
   11014 else
   11015   ac_cv_lib_dl_dlopen=no
   11016 fi
   11017 rm -f core conftest.err conftest.$ac_objext \
   11018     conftest$ac_exeext conftest.$ac_ext
   11019 LIBS=$ac_check_lib_save_LIBS
   11020 fi
   11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11022 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11023 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   11024   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11025 else
   11026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11027 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11028 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   11029   $as_echo_n "(cached) " >&6
   11030 else
   11031   ac_check_lib_save_LIBS=$LIBS
   11032 LIBS="-lsvld  $LIBS"
   11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11034 /* end confdefs.h.  */
   11035 
   11036 /* Override any GCC internal prototype to avoid an error.
   11037    Use char because int might match the return type of a GCC
   11038    builtin and then its argument prototype would still apply.  */
   11039 #ifdef __cplusplus
   11040 extern "C"
   11041 #endif
   11042 char dlopen ();
   11043 int
   11044 main ()
   11045 {
   11046 return dlopen ();
   11047   ;
   11048   return 0;
   11049 }
   11050 _ACEOF
   11051 if ac_fn_c_try_link "$LINENO"; then :
   11052   ac_cv_lib_svld_dlopen=yes
   11053 else
   11054   ac_cv_lib_svld_dlopen=no
   11055 fi
   11056 rm -f core conftest.err conftest.$ac_objext \
   11057     conftest$ac_exeext conftest.$ac_ext
   11058 LIBS=$ac_check_lib_save_LIBS
   11059 fi
   11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11061 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11062 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   11063   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11064 else
   11065   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11066 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11067 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   11068   $as_echo_n "(cached) " >&6
   11069 else
   11070   ac_check_lib_save_LIBS=$LIBS
   11071 LIBS="-ldld  $LIBS"
   11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11073 /* end confdefs.h.  */
   11074 
   11075 /* Override any GCC internal prototype to avoid an error.
   11076    Use char because int might match the return type of a GCC
   11077    builtin and then its argument prototype would still apply.  */
   11078 #ifdef __cplusplus
   11079 extern "C"
   11080 #endif
   11081 char dld_link ();
   11082 int
   11083 main ()
   11084 {
   11085 return dld_link ();
   11086   ;
   11087   return 0;
   11088 }
   11089 _ACEOF
   11090 if ac_fn_c_try_link "$LINENO"; then :
   11091   ac_cv_lib_dld_dld_link=yes
   11092 else
   11093   ac_cv_lib_dld_dld_link=no
   11094 fi
   11095 rm -f core conftest.err conftest.$ac_objext \
   11096     conftest$ac_exeext conftest.$ac_ext
   11097 LIBS=$ac_check_lib_save_LIBS
   11098 fi
   11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11100 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11101 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   11102   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11103 fi
   11104 
   11105 
   11106 fi
   11107 
   11108 
   11109 fi
   11110 
   11111 
   11112 fi
   11113 
   11114 
   11115 fi
   11116 
   11117 
   11118 fi
   11119 
   11120     ;;
   11121   esac
   11122 
   11123   if test "x$lt_cv_dlopen" != xno; then
   11124     enable_dlopen=yes
   11125   else
   11126     enable_dlopen=no
   11127   fi
   11128 
   11129   case $lt_cv_dlopen in
   11130   dlopen)
   11131     save_CPPFLAGS="$CPPFLAGS"
   11132     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11133 
   11134     save_LDFLAGS="$LDFLAGS"
   11135     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11136 
   11137     save_LIBS="$LIBS"
   11138     LIBS="$lt_cv_dlopen_libs $LIBS"
   11139 
   11140     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11141 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11142 if test "${lt_cv_dlopen_self+set}" = set; then :
   11143   $as_echo_n "(cached) " >&6
   11144 else
   11145   	  if test "$cross_compiling" = yes; then :
   11146   lt_cv_dlopen_self=cross
   11147 else
   11148   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11149   lt_status=$lt_dlunknown
   11150   cat > conftest.$ac_ext <<_LT_EOF
   11151 #line 11151 "configure"
   11152 #include "confdefs.h"
   11153 
   11154 #if HAVE_DLFCN_H
   11155 #include <dlfcn.h>
   11156 #endif
   11157 
   11158 #include <stdio.h>
   11159 
   11160 #ifdef RTLD_GLOBAL
   11161 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11162 #else
   11163 #  ifdef DL_GLOBAL
   11164 #    define LT_DLGLOBAL		DL_GLOBAL
   11165 #  else
   11166 #    define LT_DLGLOBAL		0
   11167 #  endif
   11168 #endif
   11169 
   11170 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11171    find out it does not work in some platform. */
   11172 #ifndef LT_DLLAZY_OR_NOW
   11173 #  ifdef RTLD_LAZY
   11174 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11175 #  else
   11176 #    ifdef DL_LAZY
   11177 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11178 #    else
   11179 #      ifdef RTLD_NOW
   11180 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11181 #      else
   11182 #        ifdef DL_NOW
   11183 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11184 #        else
   11185 #          define LT_DLLAZY_OR_NOW	0
   11186 #        endif
   11187 #      endif
   11188 #    endif
   11189 #  endif
   11190 #endif
   11191 
   11192 /* When -fvisbility=hidden is used, assume the code has been annotated
   11193    correspondingly for the symbols needed.  */
   11194 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11195 void fnord () __attribute__((visibility("default")));
   11196 #endif
   11197 
   11198 void fnord () { int i=42; }
   11199 int main ()
   11200 {
   11201   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11202   int status = $lt_dlunknown;
   11203 
   11204   if (self)
   11205     {
   11206       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11207       else
   11208         {
   11209 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11210           else puts (dlerror ());
   11211 	}
   11212       /* dlclose (self); */
   11213     }
   11214   else
   11215     puts (dlerror ());
   11216 
   11217   return status;
   11218 }
   11219 _LT_EOF
   11220   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11221   (eval $ac_link) 2>&5
   11222   ac_status=$?
   11223   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11224   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11225     (./conftest; exit; ) >&5 2>/dev/null
   11226     lt_status=$?
   11227     case x$lt_status in
   11228       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11229       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11230       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11231     esac
   11232   else :
   11233     # compilation failed
   11234     lt_cv_dlopen_self=no
   11235   fi
   11236 fi
   11237 rm -fr conftest*
   11238 
   11239 
   11240 fi
   11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11242 $as_echo "$lt_cv_dlopen_self" >&6; }
   11243 
   11244     if test "x$lt_cv_dlopen_self" = xyes; then
   11245       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11246       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11247 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11248 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   11249   $as_echo_n "(cached) " >&6
   11250 else
   11251   	  if test "$cross_compiling" = yes; then :
   11252   lt_cv_dlopen_self_static=cross
   11253 else
   11254   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11255   lt_status=$lt_dlunknown
   11256   cat > conftest.$ac_ext <<_LT_EOF
   11257 #line 11257 "configure"
   11258 #include "confdefs.h"
   11259 
   11260 #if HAVE_DLFCN_H
   11261 #include <dlfcn.h>
   11262 #endif
   11263 
   11264 #include <stdio.h>
   11265 
   11266 #ifdef RTLD_GLOBAL
   11267 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11268 #else
   11269 #  ifdef DL_GLOBAL
   11270 #    define LT_DLGLOBAL		DL_GLOBAL
   11271 #  else
   11272 #    define LT_DLGLOBAL		0
   11273 #  endif
   11274 #endif
   11275 
   11276 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11277    find out it does not work in some platform. */
   11278 #ifndef LT_DLLAZY_OR_NOW
   11279 #  ifdef RTLD_LAZY
   11280 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11281 #  else
   11282 #    ifdef DL_LAZY
   11283 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11284 #    else
   11285 #      ifdef RTLD_NOW
   11286 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11287 #      else
   11288 #        ifdef DL_NOW
   11289 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11290 #        else
   11291 #          define LT_DLLAZY_OR_NOW	0
   11292 #        endif
   11293 #      endif
   11294 #    endif
   11295 #  endif
   11296 #endif
   11297 
   11298 /* When -fvisbility=hidden is used, assume the code has been annotated
   11299    correspondingly for the symbols needed.  */
   11300 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11301 void fnord () __attribute__((visibility("default")));
   11302 #endif
   11303 
   11304 void fnord () { int i=42; }
   11305 int main ()
   11306 {
   11307   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11308   int status = $lt_dlunknown;
   11309 
   11310   if (self)
   11311     {
   11312       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11313       else
   11314         {
   11315 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11316           else puts (dlerror ());
   11317 	}
   11318       /* dlclose (self); */
   11319     }
   11320   else
   11321     puts (dlerror ());
   11322 
   11323   return status;
   11324 }
   11325 _LT_EOF
   11326   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11327   (eval $ac_link) 2>&5
   11328   ac_status=$?
   11329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11330   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11331     (./conftest; exit; ) >&5 2>/dev/null
   11332     lt_status=$?
   11333     case x$lt_status in
   11334       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11335       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11336       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11337     esac
   11338   else :
   11339     # compilation failed
   11340     lt_cv_dlopen_self_static=no
   11341   fi
   11342 fi
   11343 rm -fr conftest*
   11344 
   11345 
   11346 fi
   11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11348 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11349     fi
   11350 
   11351     CPPFLAGS="$save_CPPFLAGS"
   11352     LDFLAGS="$save_LDFLAGS"
   11353     LIBS="$save_LIBS"
   11354     ;;
   11355   esac
   11356 
   11357   case $lt_cv_dlopen_self in
   11358   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11359   *) enable_dlopen_self=unknown ;;
   11360   esac
   11361 
   11362   case $lt_cv_dlopen_self_static in
   11363   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11364   *) enable_dlopen_self_static=unknown ;;
   11365   esac
   11366 fi
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 striplib=
   11385 old_striplib=
   11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11387 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11388 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11389   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11390   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11392 $as_echo "yes" >&6; }
   11393 else
   11394 # FIXME - insert some real tests, host_os isn't really good enough
   11395   case $host_os in
   11396   darwin*)
   11397     if test -n "$STRIP" ; then
   11398       striplib="$STRIP -x"
   11399       old_striplib="$STRIP -S"
   11400       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11401 $as_echo "yes" >&6; }
   11402     else
   11403       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11404 $as_echo "no" >&6; }
   11405     fi
   11406     ;;
   11407   *)
   11408     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11409 $as_echo "no" >&6; }
   11410     ;;
   11411   esac
   11412 fi
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425   # Report which library types will actually be built
   11426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11427 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11429 $as_echo "$can_build_shared" >&6; }
   11430 
   11431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11432 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11433   test "$can_build_shared" = "no" && enable_shared=no
   11434 
   11435   # On AIX, shared libraries and static libraries use the same namespace, and
   11436   # are all built from PIC.
   11437   case $host_os in
   11438   aix3*)
   11439     test "$enable_shared" = yes && enable_static=no
   11440     if test -n "$RANLIB"; then
   11441       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11442       postinstall_cmds='$RANLIB $lib'
   11443     fi
   11444     ;;
   11445 
   11446   aix[4-9]*)
   11447     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11448       test "$enable_shared" = yes && enable_static=no
   11449     fi
   11450     ;;
   11451   esac
   11452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11453 $as_echo "$enable_shared" >&6; }
   11454 
   11455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11456 $as_echo_n "checking whether to build static libraries... " >&6; }
   11457   # Make sure either enable_shared or enable_static is yes.
   11458   test "$enable_shared" = yes || enable_static=yes
   11459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11460 $as_echo "$enable_static" >&6; }
   11461 
   11462 
   11463 
   11464 
   11465 fi
   11466 ac_ext=c
   11467 ac_cpp='$CPP $CPPFLAGS'
   11468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11471 
   11472 CC="$lt_save_CC"
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486         ac_config_commands="$ac_config_commands libtool"
   11487 
   11488 
   11489 
   11490 
   11491 # Only expand once:
   11492 
   11493 
   11494 
   11495 
   11496 # Check whether --enable-largefile was given.
   11497 if test "${enable_largefile+set}" = set; then :
   11498   enableval=$enable_largefile;
   11499 fi
   11500 
   11501 if test "$enable_largefile" != no; then
   11502 
   11503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   11504 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   11505 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
   11506   $as_echo_n "(cached) " >&6
   11507 else
   11508   ac_cv_sys_largefile_CC=no
   11509      if test "$GCC" != yes; then
   11510        ac_save_CC=$CC
   11511        while :; do
   11512 	 # IRIX 6.2 and later do not support large files by default,
   11513 	 # so use the C compiler's -n32 option if that helps.
   11514 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11515 /* end confdefs.h.  */
   11516 #include <sys/types.h>
   11517  /* Check that off_t can represent 2**63 - 1 correctly.
   11518     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11519     since some C++ compilers masquerading as C compilers
   11520     incorrectly reject 9223372036854775807.  */
   11521 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11522   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11523 		       && LARGE_OFF_T % 2147483647 == 1)
   11524 		      ? 1 : -1];
   11525 int
   11526 main ()
   11527 {
   11528 
   11529   ;
   11530   return 0;
   11531 }
   11532 _ACEOF
   11533 	 if ac_fn_c_try_compile "$LINENO"; then :
   11534   break
   11535 fi
   11536 rm -f core conftest.err conftest.$ac_objext
   11537 	 CC="$CC -n32"
   11538 	 if ac_fn_c_try_compile "$LINENO"; then :
   11539   ac_cv_sys_largefile_CC=' -n32'; break
   11540 fi
   11541 rm -f core conftest.err conftest.$ac_objext
   11542 	 break
   11543        done
   11544        CC=$ac_save_CC
   11545        rm -f conftest.$ac_ext
   11546     fi
   11547 fi
   11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   11549 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   11550   if test "$ac_cv_sys_largefile_CC" != no; then
   11551     CC=$CC$ac_cv_sys_largefile_CC
   11552   fi
   11553 
   11554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   11555 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   11556 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
   11557   $as_echo_n "(cached) " >&6
   11558 else
   11559   while :; do
   11560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11561 /* end confdefs.h.  */
   11562 #include <sys/types.h>
   11563  /* Check that off_t can represent 2**63 - 1 correctly.
   11564     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11565     since some C++ compilers masquerading as C compilers
   11566     incorrectly reject 9223372036854775807.  */
   11567 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11568   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11569 		       && LARGE_OFF_T % 2147483647 == 1)
   11570 		      ? 1 : -1];
   11571 int
   11572 main ()
   11573 {
   11574 
   11575   ;
   11576   return 0;
   11577 }
   11578 _ACEOF
   11579 if ac_fn_c_try_compile "$LINENO"; then :
   11580   ac_cv_sys_file_offset_bits=no; break
   11581 fi
   11582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11584 /* end confdefs.h.  */
   11585 #define _FILE_OFFSET_BITS 64
   11586 #include <sys/types.h>
   11587  /* Check that off_t can represent 2**63 - 1 correctly.
   11588     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11589     since some C++ compilers masquerading as C compilers
   11590     incorrectly reject 9223372036854775807.  */
   11591 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11592   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11593 		       && LARGE_OFF_T % 2147483647 == 1)
   11594 		      ? 1 : -1];
   11595 int
   11596 main ()
   11597 {
   11598 
   11599   ;
   11600   return 0;
   11601 }
   11602 _ACEOF
   11603 if ac_fn_c_try_compile "$LINENO"; then :
   11604   ac_cv_sys_file_offset_bits=64; break
   11605 fi
   11606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11607   ac_cv_sys_file_offset_bits=unknown
   11608   break
   11609 done
   11610 fi
   11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   11612 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   11613 case $ac_cv_sys_file_offset_bits in #(
   11614   no | unknown) ;;
   11615   *)
   11616 cat >>confdefs.h <<_ACEOF
   11617 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   11618 _ACEOF
   11619 ;;
   11620 esac
   11621 rm -rf conftest*
   11622   if test $ac_cv_sys_file_offset_bits = unknown; then
   11623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   11624 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   11625 if test "${ac_cv_sys_large_files+set}" = set; then :
   11626   $as_echo_n "(cached) " >&6
   11627 else
   11628   while :; do
   11629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11630 /* end confdefs.h.  */
   11631 #include <sys/types.h>
   11632  /* Check that off_t can represent 2**63 - 1 correctly.
   11633     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11634     since some C++ compilers masquerading as C compilers
   11635     incorrectly reject 9223372036854775807.  */
   11636 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11637   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11638 		       && LARGE_OFF_T % 2147483647 == 1)
   11639 		      ? 1 : -1];
   11640 int
   11641 main ()
   11642 {
   11643 
   11644   ;
   11645   return 0;
   11646 }
   11647 _ACEOF
   11648 if ac_fn_c_try_compile "$LINENO"; then :
   11649   ac_cv_sys_large_files=no; break
   11650 fi
   11651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11653 /* end confdefs.h.  */
   11654 #define _LARGE_FILES 1
   11655 #include <sys/types.h>
   11656  /* Check that off_t can represent 2**63 - 1 correctly.
   11657     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   11658     since some C++ compilers masquerading as C compilers
   11659     incorrectly reject 9223372036854775807.  */
   11660 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   11661   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   11662 		       && LARGE_OFF_T % 2147483647 == 1)
   11663 		      ? 1 : -1];
   11664 int
   11665 main ()
   11666 {
   11667 
   11668   ;
   11669   return 0;
   11670 }
   11671 _ACEOF
   11672 if ac_fn_c_try_compile "$LINENO"; then :
   11673   ac_cv_sys_large_files=1; break
   11674 fi
   11675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11676   ac_cv_sys_large_files=unknown
   11677   break
   11678 done
   11679 fi
   11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   11681 $as_echo "$ac_cv_sys_large_files" >&6; }
   11682 case $ac_cv_sys_large_files in #(
   11683   no | unknown) ;;
   11684   *)
   11685 cat >>confdefs.h <<_ACEOF
   11686 #define _LARGE_FILES $ac_cv_sys_large_files
   11687 _ACEOF
   11688 ;;
   11689 esac
   11690 rm -rf conftest*
   11691   fi
   11692 fi
   11693 
   11694 
   11695 backtrace_supported=yes
   11696 
   11697 if test -n "${with_target_subdir}"; then
   11698   # We are compiling a GCC library.  We can assume that the unwind
   11699   # library exists.
   11700   BACKTRACE_FILE="backtrace.lo simple.lo"
   11701 else
   11702   ac_fn_c_check_header_mongrel "$LINENO" "unwind.h" "ac_cv_header_unwind_h" "$ac_includes_default"
   11703 if test "x$ac_cv_header_unwind_h" = x""yes; then :
   11704   ac_fn_c_check_func "$LINENO" "_Unwind_Backtrace" "ac_cv_func__Unwind_Backtrace"
   11705 if test "x$ac_cv_func__Unwind_Backtrace" = x""yes; then :
   11706   BACKTRACE_FILE="backtrace.lo simple.lo"
   11707 else
   11708   BACKTRACE_FILE="nounwind.lo"
   11709                     backtrace_supported=no
   11710 fi
   11711 
   11712 else
   11713   BACKTRACE_FILE="nounwind.lo"
   11714      backtrace_supported=no
   11715 fi
   11716 
   11717 
   11718 fi
   11719 
   11720 
   11721 EXTRA_FLAGS=
   11722 if test -n "${with_target_subdir}"; then
   11723   EXTRA_FLAGS="-funwind-tables -frandom-seed=\$@"
   11724 else
   11725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -funwind-tables option" >&5
   11726 $as_echo_n "checking for -funwind-tables option... " >&6; }
   11727 if test "${libbacktrace_cv_c_unwind_tables+set}" = set; then :
   11728   $as_echo_n "(cached) " >&6
   11729 else
   11730   CFLAGS_hold="$CFLAGS"
   11731      CFLAGS="$CFLAGS -funwind-tables"
   11732      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11733 /* end confdefs.h.  */
   11734 static int f() { return 0; }
   11735 int
   11736 main ()
   11737 {
   11738 return f();
   11739   ;
   11740   return 0;
   11741 }
   11742 _ACEOF
   11743 if ac_fn_c_try_compile "$LINENO"; then :
   11744   libbacktrace_cv_c_unwind_tables=yes
   11745 else
   11746   libbacktrace_cv_c_unwind_tables=no
   11747 fi
   11748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11749      CFLAGS="$CFLAGS_hold"
   11750 fi
   11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_unwind_tables" >&5
   11752 $as_echo "$libbacktrace_cv_c_unwind_tables" >&6; }
   11753   if test "$libbacktrace_cv_c_unwind_tables" = "yes"; then
   11754     EXTRA_FLAGS=-funwind-tables
   11755   fi
   11756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed=string option" >&5
   11757 $as_echo_n "checking for -frandom-seed=string option... " >&6; }
   11758 if test "${libbacktrace_cv_c_random_seed_string+set}" = set; then :
   11759   $as_echo_n "(cached) " >&6
   11760 else
   11761   CFLAGS_hold="$CFLAGS"
   11762      CFLAGS="$CFLAGS -frandom-seed=conftest.lo"
   11763      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11764 /* end confdefs.h.  */
   11765 
   11766 int
   11767 main ()
   11768 {
   11769 return 0;
   11770   ;
   11771   return 0;
   11772 }
   11773 _ACEOF
   11774 if ac_fn_c_try_compile "$LINENO"; then :
   11775   libbacktrace_cv_c_random_seed_string=yes
   11776 else
   11777   libbacktrace_cv_c_random_seed_string=no
   11778 fi
   11779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11780      CFLAGS="$CFLAGS_hold"
   11781 fi
   11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_c_random_seed_string" >&5
   11783 $as_echo "$libbacktrace_cv_c_random_seed_string" >&6; }
   11784   if test "$libbacktrace_cv_c_random_seed_string" = "yes"; then
   11785     EXTRA_FLAGS="$EXTRA_FLAGS -frandom-seed=\$@"
   11786   fi
   11787 fi
   11788 
   11789 if test -n "${with_target_subdir}"; then
   11790   # Add CET specific flags is Intel CET is enabled.
   11791    # Check whether --enable-cet was given.
   11792 if test "${enable_cet+set}" = set; then :
   11793   enableval=$enable_cet;
   11794       case "$enableval" in
   11795        yes|no|auto) ;;
   11796        *) as_fn_error "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
   11797                           esac
   11798 
   11799 else
   11800   enable_cet=no
   11801 fi
   11802 
   11803 
   11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
   11805 $as_echo_n "checking for CET support... " >&6; }
   11806 
   11807 case "$host" in
   11808   i[34567]86-*-linux* | x86_64-*-linux*)
   11809     case "$enable_cet" in
   11810       auto)
   11811 	# Check if target supports multi-byte NOPs
   11812 	# and if assembler supports CET insn.
   11813 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11814 /* end confdefs.h.  */
   11815 
   11816 int
   11817 main ()
   11818 {
   11819 
   11820 #if !defined(__SSE2__)
   11821 #error target does not support multi-byte NOPs
   11822 #else
   11823 asm ("setssbsy");
   11824 #endif
   11825 
   11826   ;
   11827   return 0;
   11828 }
   11829 _ACEOF
   11830 if ac_fn_c_try_compile "$LINENO"; then :
   11831   enable_cet=yes
   11832 else
   11833   enable_cet=no
   11834 fi
   11835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11836 	;;
   11837       yes)
   11838 	# Check if assembler supports CET.
   11839 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11840 /* end confdefs.h.  */
   11841 
   11842 int
   11843 main ()
   11844 {
   11845 asm ("setssbsy");
   11846   ;
   11847   return 0;
   11848 }
   11849 _ACEOF
   11850 if ac_fn_c_try_compile "$LINENO"; then :
   11851 
   11852 else
   11853   as_fn_error "assembler with CET support is required for --enable-cet" "$LINENO" 5
   11854 fi
   11855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11856 	;;
   11857     esac
   11858     ;;
   11859   *)
   11860     enable_cet=no
   11861     ;;
   11862 esac
   11863 if test x$enable_cet = xyes; then
   11864   CET_FLAGS="-fcf-protection -mshstk"
   11865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11866 $as_echo "yes" >&6; }
   11867 else
   11868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11869 $as_echo "no" >&6; }
   11870 fi
   11871 
   11872   EXTRA_FLAGS="$EXTRA_FLAGS $CET_FLAGS"
   11873 fi
   11874 
   11875 
   11876 ac_ext=c
   11877 ac_cpp='$CPP $CPPFLAGS'
   11878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11881 
   11882 WARN_FLAGS=
   11883 save_CFLAGS="$CFLAGS"
   11884 for real_option in -W -Wall -Wwrite-strings -Wstrict-prototypes \
   11885 			  -Wmissing-prototypes -Wold-style-definition \
   11886 			  -Wmissing-format-attribute -Wcast-qual; do
   11887   # Do the check with the no- prefix removed since gcc silently
   11888   # accepts any -Wno-* option on purpose
   11889   case $real_option in
   11890     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   11891     *) option=$real_option ;;
   11892   esac
   11893   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   11894 
   11895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   11896 $as_echo_n "checking whether $CC supports $option... " >&6; }
   11897 if { as_var=$as_acx_Woption; eval "test \"\${$as_var+set}\" = set"; }; then :
   11898   $as_echo_n "(cached) " >&6
   11899 else
   11900   CFLAGS="$option"
   11901     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11902 /* end confdefs.h.  */
   11903 
   11904 int
   11905 main ()
   11906 {
   11907 
   11908   ;
   11909   return 0;
   11910 }
   11911 _ACEOF
   11912 if ac_fn_c_try_compile "$LINENO"; then :
   11913   eval "$as_acx_Woption=yes"
   11914 else
   11915   eval "$as_acx_Woption=no"
   11916 fi
   11917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11918 
   11919 fi
   11920 eval ac_res=\$$as_acx_Woption
   11921 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   11922 $as_echo "$ac_res" >&6; }
   11923   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   11924   WARN_FLAGS="$WARN_FLAGS${WARN_FLAGS:+ }$real_option"
   11925 fi
   11926   done
   11927 CFLAGS="$save_CFLAGS"
   11928 ac_ext=c
   11929 ac_cpp='$CPP $CPPFLAGS'
   11930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11933 
   11934 
   11935 
   11936 if test -n "${with_target_subdir}"; then
   11937   WARN_FLAGS="$WARN_FLAGS -Werror"
   11938 fi
   11939 
   11940 
   11941 
   11942 if test -n "${with_target_subdir}"; then
   11943 
   11944 
   11945 # Check whether --with-system-libunwind was given.
   11946 if test "${with_system_libunwind+set}" = set; then :
   11947   withval=$with_system_libunwind;
   11948 fi
   11949 
   11950   # If system-libunwind was not specifically set, pick a default setting.
   11951   if test x$with_system_libunwind = x; then
   11952     case ${target} in
   11953       ia64-*-hpux*) with_system_libunwind=yes ;;
   11954       *) with_system_libunwind=no ;;
   11955     esac
   11956   fi
   11957   # Based on system-libunwind and target, do we have ipinfo?
   11958   if  test x$with_system_libunwind = xyes; then
   11959     case ${target} in
   11960       ia64-*-*) have_unwind_getipinfo=no ;;
   11961       *) have_unwind_getipinfo=yes ;;
   11962     esac
   11963   else
   11964     # Darwin before version 9 does not have _Unwind_GetIPInfo.
   11965 
   11966     case ${target} in
   11967       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
   11968       *) have_unwind_getipinfo=yes ;;
   11969     esac
   11970 
   11971   fi
   11972 
   11973   if test x$have_unwind_getipinfo = xyes; then
   11974 
   11975 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
   11976 
   11977   fi
   11978 
   11979 else
   11980   ac_save_CFFLAGS="$CFLAGS"
   11981   CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
   11982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _Unwind_GetIPInfo" >&5
   11983 $as_echo_n "checking for _Unwind_GetIPInfo... " >&6; }
   11984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11985 /* end confdefs.h.  */
   11986 #include "unwind.h"
   11987 	struct _Unwind_Context *context;
   11988 	int ip_before_insn = 0;
   11989 int
   11990 main ()
   11991 {
   11992 return _Unwind_GetIPInfo (context, &ip_before_insn);
   11993   ;
   11994   return 0;
   11995 }
   11996 _ACEOF
   11997 if ac_fn_c_try_link "$LINENO"; then :
   11998   have_unwind_getipinfo=yes
   11999 else
   12000   have_unwind_getipinfo=no
   12001 fi
   12002 rm -f core conftest.err conftest.$ac_objext \
   12003     conftest$ac_exeext conftest.$ac_ext
   12004   CFLAGS="$ac_save_CFLAGS"
   12005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_unwind_getipinfo" >&5
   12006 $as_echo "$have_unwind_getipinfo" >&6; }
   12007   if test "$have_unwind_getipinfo" = "yes"; then
   12008 
   12009 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
   12010 
   12011   fi
   12012 fi
   12013 
   12014 # Enable --enable-host-shared.
   12015 # Check whether --enable-host-shared was given.
   12016 if test "${enable_host_shared+set}" = set; then :
   12017   enableval=$enable_host_shared; PIC_FLAG=-fPIC
   12018 else
   12019   PIC_FLAG=
   12020 fi
   12021 
   12022 
   12023 
   12024 # Test for __sync support.
   12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
   12026 $as_echo_n "checking __sync extensions... " >&6; }
   12027 if test "${libbacktrace_cv_sys_sync+set}" = set; then :
   12028   $as_echo_n "(cached) " >&6
   12029 else
   12030   if test -n "${with_target_subdir}"; then
   12031    case "${host}" in
   12032    hppa*-*-hpux*) libbacktrace_cv_sys_sync=no ;;
   12033    *) libbacktrace_cv_sys_sync=yes ;;
   12034    esac
   12035  else
   12036    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12037 /* end confdefs.h.  */
   12038 int i;
   12039 int
   12040 main ()
   12041 {
   12042 __sync_bool_compare_and_swap (&i, i, i);
   12043                        __sync_lock_test_and_set (&i, 1);
   12044                        __sync_lock_release (&i);
   12045   ;
   12046   return 0;
   12047 }
   12048 _ACEOF
   12049 if ac_fn_c_try_link "$LINENO"; then :
   12050   libbacktrace_cv_sys_sync=yes
   12051 else
   12052   libbacktrace_cv_sys_sync=no
   12053 fi
   12054 rm -f core conftest.err conftest.$ac_objext \
   12055     conftest$ac_exeext conftest.$ac_ext
   12056  fi
   12057 fi
   12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_sync" >&5
   12059 $as_echo "$libbacktrace_cv_sys_sync" >&6; }
   12060 BACKTRACE_SUPPORTS_THREADS=0
   12061 if test "$libbacktrace_cv_sys_sync" = "yes"; then
   12062   BACKTRACE_SUPPORTS_THREADS=1
   12063 
   12064 $as_echo "#define HAVE_SYNC_FUNCTIONS 1" >>confdefs.h
   12065 
   12066 fi
   12067 
   12068 
   12069 # Test for __atomic support.
   12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __atomic extensions" >&5
   12071 $as_echo_n "checking __atomic extensions... " >&6; }
   12072 if test "${libbacktrace_cv_sys_atomic+set}" = set; then :
   12073   $as_echo_n "(cached) " >&6
   12074 else
   12075   if test -n "${with_target_subdir}"; then
   12076    libbacktrace_cv_sys_atomic=yes
   12077  else
   12078    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12079 /* end confdefs.h.  */
   12080 int i;
   12081 int
   12082 main ()
   12083 {
   12084 __atomic_load_n (&i, __ATOMIC_ACQUIRE);
   12085 		       __atomic_store_n (&i, 1, __ATOMIC_RELEASE);
   12086   ;
   12087   return 0;
   12088 }
   12089 _ACEOF
   12090 if ac_fn_c_try_link "$LINENO"; then :
   12091   libbacktrace_cv_sys_atomic=yes
   12092 else
   12093   libbacktrace_cv_sys_atomic=no
   12094 fi
   12095 rm -f core conftest.err conftest.$ac_objext \
   12096     conftest$ac_exeext conftest.$ac_ext
   12097  fi
   12098 fi
   12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_atomic" >&5
   12100 $as_echo "$libbacktrace_cv_sys_atomic" >&6; }
   12101 if test "$libbacktrace_cv_sys_atomic" = "yes"; then
   12102 
   12103 $as_echo "#define HAVE_ATOMIC_FUNCTIONS 1" >>confdefs.h
   12104 
   12105 fi
   12106 
   12107 # The library needs to be able to read the executable itself.  Compile
   12108 # a file to determine the executable format.  The awk script
   12109 # filetype.awk prints out the file type.
   12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
   12111 $as_echo_n "checking output filetype... " >&6; }
   12112 if test "${libbacktrace_cv_sys_filetype+set}" = set; then :
   12113   $as_echo_n "(cached) " >&6
   12114 else
   12115   filetype=
   12116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12117 /* end confdefs.h.  */
   12118 int i;
   12119 int
   12120 main ()
   12121 {
   12122 int j;
   12123   ;
   12124   return 0;
   12125 }
   12126 _ACEOF
   12127 if ac_fn_c_try_compile "$LINENO"; then :
   12128   filetype=`${AWK} -f $srcdir/filetype.awk conftest.$ac_objext`
   12129 else
   12130   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12132 as_fn_error "compiler failed
   12133 See \`config.log' for more details." "$LINENO" 5; }
   12134 fi
   12135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12136 libbacktrace_cv_sys_filetype=$filetype
   12137 fi
   12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_filetype" >&5
   12139 $as_echo "$libbacktrace_cv_sys_filetype" >&6; }
   12140 
   12141 # Match the file type to decide what files to compile.
   12142 FORMAT_FILE=
   12143 backtrace_supports_data=yes
   12144 case "$libbacktrace_cv_sys_filetype" in
   12145 elf*) FORMAT_FILE="elf.lo" ;;
   12146 pecoff) FORMAT_FILE="pecoff.lo"
   12147         backtrace_supports_data=no
   12148 	;;
   12149 xcoff*) FORMAT_FILE="xcoff.lo"
   12150         backtrace_supports_data=no
   12151         ;;
   12152 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
   12153 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
   12154    FORMAT_FILE="unknown.lo"
   12155    backtrace_supported=no
   12156    ;;
   12157 esac
   12158 
   12159 
   12160 # ELF defines.
   12161 elfsize=
   12162 case "$libbacktrace_cv_sys_filetype" in
   12163 elf32) elfsize=32 ;;
   12164 elf64) elfsize=64 ;;
   12165 *)     elfsize=unused
   12166 esac
   12167 
   12168 cat >>confdefs.h <<_ACEOF
   12169 #define BACKTRACE_ELF_SIZE $elfsize
   12170 _ACEOF
   12171 
   12172 
   12173 # XCOFF defines.
   12174 xcoffsize=
   12175 case "$libbacktrace_cv_sys_filetype" in
   12176 xcoff32) xcoffsize=32 ;;
   12177 xcoff64) xcoffsize=64 ;;
   12178 *)       xcoffsize=unused
   12179 esac
   12180 
   12181 cat >>confdefs.h <<_ACEOF
   12182 #define BACKTRACE_XCOFF_SIZE $xcoffsize
   12183 _ACEOF
   12184 
   12185 
   12186 BACKTRACE_SUPPORTED=0
   12187 if test "$backtrace_supported" = "yes"; then
   12188   BACKTRACE_SUPPORTED=1
   12189 fi
   12190 
   12191 
   12192 BACKTRACE_SUPPORTS_DATA=0
   12193 if test "$backtrace_supports_data" = "yes"; then
   12194   BACKTRACE_SUPPORTS_DATA=1
   12195 fi
   12196 
   12197 
   12198 
   12199 
   12200 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
   12201 
   12202 acx_cv_header_stdint=stddef.h
   12203 acx_cv_header_stdint_kind="(already complete)"
   12204 for i in stdint.h $inttype_headers; do
   12205   unset ac_cv_type_uintptr_t
   12206   unset ac_cv_type_uintmax_t
   12207   unset ac_cv_type_int_least32_t
   12208   unset ac_cv_type_int_fast32_t
   12209   unset ac_cv_type_uint64_t
   12210   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
   12211   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
   12212 #include <$i>
   12213 "
   12214 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
   12215   acx_cv_header_stdint=$i
   12216 else
   12217   continue
   12218 fi
   12219 
   12220   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   12221 #include <$i>
   12222 "
   12223 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
   12224 
   12225 else
   12226   acx_cv_header_stdint_kind="(mostly complete)"
   12227 fi
   12228 
   12229   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
   12230 #include <$i>
   12231 "
   12232 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
   12233 
   12234 else
   12235   acx_cv_header_stdint_kind="(mostly complete)"
   12236 fi
   12237 
   12238   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
   12239 #include <$i>
   12240 "
   12241 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
   12242 
   12243 else
   12244   acx_cv_header_stdint_kind="(mostly complete)"
   12245 fi
   12246 
   12247   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   12248 #include <$i>
   12249 "
   12250 if test "x$ac_cv_type_uint64_t" = x""yes; then :
   12251 
   12252 else
   12253   acx_cv_header_stdint_kind="(lacks uint64_t)"
   12254 fi
   12255 
   12256   break
   12257 done
   12258 if test "$acx_cv_header_stdint" = stddef.h; then
   12259   acx_cv_header_stdint_kind="(lacks uintmax_t)"
   12260   for i in stdint.h $inttype_headers; do
   12261     unset ac_cv_type_uintptr_t
   12262     unset ac_cv_type_uint32_t
   12263     unset ac_cv_type_uint64_t
   12264     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
   12265     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
   12266 #include <$i>
   12267 "
   12268 if test "x$ac_cv_type_uint32_t" = x""yes; then :
   12269   acx_cv_header_stdint=$i
   12270 else
   12271   continue
   12272 fi
   12273 
   12274     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
   12275 #include <$i>
   12276 "
   12277 if test "x$ac_cv_type_uint64_t" = x""yes; then :
   12278 
   12279 fi
   12280 
   12281     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
   12282 #include <$i>
   12283 "
   12284 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
   12285 
   12286 fi
   12287 
   12288     break
   12289   done
   12290 fi
   12291 if test "$acx_cv_header_stdint" = stddef.h; then
   12292   acx_cv_header_stdint_kind="(u_intXX_t style)"
   12293   for i in sys/types.h $inttype_headers; do
   12294     unset ac_cv_type_u_int32_t
   12295     unset ac_cv_type_u_int64_t
   12296     $as_echo_n "looking for u_intXX_t types in $i, " >&6
   12297     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
   12298 #include <$i>
   12299 "
   12300 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
   12301   acx_cv_header_stdint=$i
   12302 else
   12303   continue
   12304 fi
   12305 
   12306     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
   12307 #include <$i>
   12308 "
   12309 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
   12310 
   12311 fi
   12312 
   12313     break
   12314   done
   12315 fi
   12316 if test "$acx_cv_header_stdint" = stddef.h; then
   12317   acx_cv_header_stdint_kind="(using manual detection)"
   12318 fi
   12319 
   12320 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
   12321 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
   12322 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
   12323 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
   12324 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
   12325 
   12326 # ----------------- Summarize what we found so far
   12327 
   12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
   12329 $as_echo_n "checking what to include in gstdint.h... " >&6; }
   12330 
   12331 case `$as_basename -- gstdint.h ||
   12332 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
   12333 	 Xgstdint.h : 'X\(//\)$' \| \
   12334 	 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
   12335 $as_echo X/gstdint.h |
   12336     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12337 	    s//\1/
   12338 	    q
   12339 	  }
   12340 	  /^X\/\(\/\/\)$/{
   12341 	    s//\1/
   12342 	    q
   12343 	  }
   12344 	  /^X\/\(\/\).*/{
   12345 	    s//\1/
   12346 	    q
   12347 	  }
   12348 	  s/.*/./; q'` in
   12349   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   12350 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   12351   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
   12352 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
   12353   *) ;;
   12354 esac
   12355 
   12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
   12357 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
   12358 
   12359 # ----------------- done included file, check C basic types --------
   12360 
   12361 # Lacking an uintptr_t?  Test size of void *
   12362 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
   12363   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
   12364 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12365 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12366 # This bug is HP SR number 8606223364.
   12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   12368 $as_echo_n "checking size of void *... " >&6; }
   12369 if test "${ac_cv_sizeof_void_p+set}" = set; then :
   12370   $as_echo_n "(cached) " >&6
   12371 else
   12372   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   12373 
   12374 else
   12375   if test "$ac_cv_type_void_p" = yes; then
   12376      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12378 { as_fn_set_status 77
   12379 as_fn_error "cannot compute sizeof (void *)
   12380 See \`config.log' for more details." "$LINENO" 5; }; }
   12381    else
   12382      ac_cv_sizeof_void_p=0
   12383    fi
   12384 fi
   12385 
   12386 fi
   12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   12388 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   12389 
   12390 
   12391 
   12392 cat >>confdefs.h <<_ACEOF
   12393 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   12394 _ACEOF
   12395 
   12396  ;;
   12397 esac
   12398 
   12399 # Lacking an uint64_t?  Test size of long
   12400 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
   12401   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
   12402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12404 # This bug is HP SR number 8606223364.
   12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
   12406 $as_echo_n "checking size of long... " >&6; }
   12407 if test "${ac_cv_sizeof_long+set}" = set; then :
   12408   $as_echo_n "(cached) " >&6
   12409 else
   12410   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
   12411 
   12412 else
   12413   if test "$ac_cv_type_long" = yes; then
   12414      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12416 { as_fn_set_status 77
   12417 as_fn_error "cannot compute sizeof (long)
   12418 See \`config.log' for more details." "$LINENO" 5; }; }
   12419    else
   12420      ac_cv_sizeof_long=0
   12421    fi
   12422 fi
   12423 
   12424 fi
   12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
   12426 $as_echo "$ac_cv_sizeof_long" >&6; }
   12427 
   12428 
   12429 
   12430 cat >>confdefs.h <<_ACEOF
   12431 #define SIZEOF_LONG $ac_cv_sizeof_long
   12432 _ACEOF
   12433 
   12434  ;;
   12435 esac
   12436 
   12437 if test $acx_cv_header_stdint = stddef.h; then
   12438   # Lacking a good header?  Test size of everything and deduce all types.
   12439   # The cast to long int works around a bug in the HP C Compiler
   12440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12442 # This bug is HP SR number 8606223364.
   12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
   12444 $as_echo_n "checking size of int... " >&6; }
   12445 if test "${ac_cv_sizeof_int+set}" = set; then :
   12446   $as_echo_n "(cached) " >&6
   12447 else
   12448   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
   12449 
   12450 else
   12451   if test "$ac_cv_type_int" = yes; then
   12452      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12454 { as_fn_set_status 77
   12455 as_fn_error "cannot compute sizeof (int)
   12456 See \`config.log' for more details." "$LINENO" 5; }; }
   12457    else
   12458      ac_cv_sizeof_int=0
   12459    fi
   12460 fi
   12461 
   12462 fi
   12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
   12464 $as_echo "$ac_cv_sizeof_int" >&6; }
   12465 
   12466 
   12467 
   12468 cat >>confdefs.h <<_ACEOF
   12469 #define SIZEOF_INT $ac_cv_sizeof_int
   12470 _ACEOF
   12471 
   12472 
   12473   # The cast to long int works around a bug in the HP C Compiler
   12474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12476 # This bug is HP SR number 8606223364.
   12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
   12478 $as_echo_n "checking size of short... " >&6; }
   12479 if test "${ac_cv_sizeof_short+set}" = set; then :
   12480   $as_echo_n "(cached) " >&6
   12481 else
   12482   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
   12483 
   12484 else
   12485   if test "$ac_cv_type_short" = yes; then
   12486      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12488 { as_fn_set_status 77
   12489 as_fn_error "cannot compute sizeof (short)
   12490 See \`config.log' for more details." "$LINENO" 5; }; }
   12491    else
   12492      ac_cv_sizeof_short=0
   12493    fi
   12494 fi
   12495 
   12496 fi
   12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
   12498 $as_echo "$ac_cv_sizeof_short" >&6; }
   12499 
   12500 
   12501 
   12502 cat >>confdefs.h <<_ACEOF
   12503 #define SIZEOF_SHORT $ac_cv_sizeof_short
   12504 _ACEOF
   12505 
   12506 
   12507   # The cast to long int works around a bug in the HP C Compiler
   12508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   12509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   12510 # This bug is HP SR number 8606223364.
   12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
   12512 $as_echo_n "checking size of char... " >&6; }
   12513 if test "${ac_cv_sizeof_char+set}" = set; then :
   12514   $as_echo_n "(cached) " >&6
   12515 else
   12516   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
   12517 
   12518 else
   12519   if test "$ac_cv_type_char" = yes; then
   12520      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12522 { as_fn_set_status 77
   12523 as_fn_error "cannot compute sizeof (char)
   12524 See \`config.log' for more details." "$LINENO" 5; }; }
   12525    else
   12526      ac_cv_sizeof_char=0
   12527    fi
   12528 fi
   12529 
   12530 fi
   12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
   12532 $as_echo "$ac_cv_sizeof_char" >&6; }
   12533 
   12534 
   12535 
   12536 cat >>confdefs.h <<_ACEOF
   12537 #define SIZEOF_CHAR $ac_cv_sizeof_char
   12538 _ACEOF
   12539 
   12540 
   12541 
   12542   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
   12543 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   12544   case "$ac_cv_sizeof_char" in
   12545     1) acx_cv_type_int8_t=char ;;
   12546     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
   12547   esac
   12548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
   12549 $as_echo "$acx_cv_type_int8_t" >&6; }
   12550 
   12551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
   12552 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   12553   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
   12554     2:*) acx_cv_type_int16_t=int ;;
   12555     *:2) acx_cv_type_int16_t=short ;;
   12556     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
   12557   esac
   12558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
   12559 $as_echo "$acx_cv_type_int16_t" >&6; }
   12560 
   12561   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
   12562 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   12563   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
   12564     4:*) acx_cv_type_int32_t=int ;;
   12565     *:4) acx_cv_type_int32_t=long ;;
   12566     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
   12567   esac
   12568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
   12569 $as_echo "$acx_cv_type_int32_t" >&6; }
   12570 fi
   12571 
   12572 # These tests are here to make the output prettier
   12573 
   12574 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
   12575   case "$ac_cv_sizeof_long" in
   12576     8) acx_cv_type_int64_t=long ;;
   12577   esac
   12578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
   12579 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
   12580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
   12581 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
   12582 fi
   12583 
   12584 # Now we can use the above types
   12585 
   12586 if test "$ac_cv_type_uintptr_t" != yes; then
   12587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
   12588 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
   12589   case $ac_cv_sizeof_void_p in
   12590     2) acx_cv_type_intptr_t=int16_t ;;
   12591     4) acx_cv_type_intptr_t=int32_t ;;
   12592     8) acx_cv_type_intptr_t=int64_t ;;
   12593     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   12594   esac
   12595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
   12596 $as_echo "$acx_cv_type_intptr_t" >&6; }
   12597 fi
   12598 
   12599 # ----------------- done all checks, emit header -------------
   12600 ac_config_commands="$ac_config_commands gstdint.h"
   12601 
   12602 
   12603 
   12604 
   12605 for ac_header in sys/mman.h
   12606 do :
   12607   ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
   12608 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
   12609   cat >>confdefs.h <<_ACEOF
   12610 #define HAVE_SYS_MMAN_H 1
   12611 _ACEOF
   12612 
   12613 fi
   12614 
   12615 done
   12616 
   12617 if test "$ac_cv_header_sys_mman_h" = "no"; then
   12618   have_mmap=no
   12619 else
   12620   if test -n "${with_target_subdir}"; then
   12621     # When built as a GCC target library, we can't do a link test.  We
   12622     # simply assume that if we have mman.h, we have mmap.
   12623     have_mmap=yes
   12624     case "${host}" in
   12625     spu-*-*|*-*-msdosdjgpp)
   12626         # The SPU does not have mmap, but it has a sys/mman.h header file
   12627         # containing "mmap_eaddr" and the mmap flags, confusing the test.
   12628         # DJGPP also has sys/man.h, but no mmap
   12629 	have_mmap=no ;;
   12630     esac
   12631   else
   12632     ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
   12633 if test "x$ac_cv_func_mmap" = x""yes; then :
   12634   have_mmap=yes
   12635 else
   12636   have_mmap=no
   12637 fi
   12638 
   12639   fi
   12640 fi
   12641 if test "$have_mmap" = "no"; then
   12642   VIEW_FILE=read.lo
   12643   ALLOC_FILE=alloc.lo
   12644 else
   12645   VIEW_FILE=mmapio.lo
   12646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12647 /* end confdefs.h.  */
   12648 
   12649 #include <sys/mman.h>
   12650 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
   12651   #error no MAP_ANONYMOUS
   12652 #endif
   12653 
   12654 _ACEOF
   12655 if ac_fn_c_try_cpp "$LINENO"; then :
   12656   ALLOC_FILE=mmap.lo
   12657 else
   12658   ALLOC_FILE=alloc.lo
   12659 fi
   12660 rm -f conftest.err conftest.$ac_ext
   12661 fi
   12662 
   12663 
   12664 
   12665 BACKTRACE_USES_MALLOC=0
   12666 if test "$ALLOC_FILE" = "alloc.lo"; then
   12667   BACKTRACE_USES_MALLOC=1
   12668 fi
   12669 
   12670 
   12671 # Check for dl_iterate_phdr.
   12672 for ac_header in link.h
   12673 do :
   12674   ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
   12675 if test "x$ac_cv_header_link_h" = x""yes; then :
   12676   cat >>confdefs.h <<_ACEOF
   12677 #define HAVE_LINK_H 1
   12678 _ACEOF
   12679 
   12680 fi
   12681 
   12682 done
   12683 
   12684 if test "$ac_cv_header_link_h" = "no"; then
   12685   have_dl_iterate_phdr=no
   12686 else
   12687   if test -n "${with_target_subdir}"; then
   12688     # When built as a GCC target library, we can't do a link test.
   12689     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12690 /* end confdefs.h.  */
   12691 #include <link.h>
   12692 
   12693 _ACEOF
   12694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12695   $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
   12696   have_dl_iterate_phdr=yes
   12697 else
   12698   have_dl_iterate_phdr=no
   12699 fi
   12700 rm -f conftest*
   12701 
   12702     case "${host}" in
   12703     *-*-solaris2.10*)
   12704         # Avoid dl_iterate_phdr on Solaris 10, where it is in the
   12705     	# header file but is only in -ldl.
   12706 	have_dl_iterate_phdr=no ;;
   12707     esac
   12708   else
   12709     ac_fn_c_check_func "$LINENO" "dl_iterate_phdr" "ac_cv_func_dl_iterate_phdr"
   12710 if test "x$ac_cv_func_dl_iterate_phdr" = x""yes; then :
   12711   have_dl_iterate_phdr=yes
   12712 else
   12713   have_dl_iterate_phdr=no
   12714 fi
   12715 
   12716   fi
   12717 fi
   12718 if test "$have_dl_iterate_phdr" = "yes"; then
   12719 
   12720 $as_echo "#define HAVE_DL_ITERATE_PHDR 1" >>confdefs.h
   12721 
   12722 fi
   12723 
   12724 # Check for loadquery.
   12725 for ac_header in sys/ldr.h
   12726 do :
   12727   ac_fn_c_check_header_mongrel "$LINENO" "sys/ldr.h" "ac_cv_header_sys_ldr_h" "$ac_includes_default"
   12728 if test "x$ac_cv_header_sys_ldr_h" = x""yes; then :
   12729   cat >>confdefs.h <<_ACEOF
   12730 #define HAVE_SYS_LDR_H 1
   12731 _ACEOF
   12732 
   12733 fi
   12734 
   12735 done
   12736 
   12737 if test "$ac_cv_header_sys_ldr_h" = "no"; then
   12738   have_loadquery=no
   12739 else
   12740   if test -n "${with_target_subdir}"; then
   12741     # When built as a GCC target library, we can't do a link test.
   12742     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12743 /* end confdefs.h.  */
   12744 #include <sys/ldr.h>
   12745 
   12746 _ACEOF
   12747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   12748   $EGREP "loadquery" >/dev/null 2>&1; then :
   12749   have_loadquery=yes
   12750 else
   12751   have_loadquery=no
   12752 fi
   12753 rm -f conftest*
   12754 
   12755   else
   12756     ac_fn_c_check_func "$LINENO" "loadquery" "ac_cv_func_loadquery"
   12757 if test "x$ac_cv_func_loadquery" = x""yes; then :
   12758   have_loadquery=yes
   12759 else
   12760   have_loadquery=no
   12761 fi
   12762 
   12763   fi
   12764 fi
   12765 if test "$have_loadquery" = "yes"; then
   12766 
   12767 $as_echo "#define HAVE_LOADQUERY 1" >>confdefs.h
   12768 
   12769 fi
   12770 
   12771 # Check for the fcntl function.
   12772 if test -n "${with_target_subdir}"; then
   12773    case "${host}" in
   12774    *-*-mingw*) have_fcntl=no ;;
   12775    spu-*-*) have_fcntl=no ;;
   12776    *) have_fcntl=yes ;;
   12777    esac
   12778 else
   12779   ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
   12780 if test "x$ac_cv_func_fcntl" = x""yes; then :
   12781   have_fcntl=yes
   12782 else
   12783   have_fcntl=no
   12784 fi
   12785 
   12786 fi
   12787 if test "$have_fcntl" = "yes"; then
   12788 
   12789 $as_echo "#define HAVE_FCNTL 1" >>confdefs.h
   12790 
   12791 fi
   12792 
   12793 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
   12794 if test "x$ac_cv_have_decl_strnlen" = x""yes; then :
   12795   ac_have_decl=1
   12796 else
   12797   ac_have_decl=0
   12798 fi
   12799 
   12800 cat >>confdefs.h <<_ACEOF
   12801 #define HAVE_DECL_STRNLEN $ac_have_decl
   12802 _ACEOF
   12803 
   12804 for ac_func in lstat readlink
   12805 do :
   12806   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   12807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   12808 eval as_val=\$$as_ac_var
   12809    if test "x$as_val" = x""yes; then :
   12810   cat >>confdefs.h <<_ACEOF
   12811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   12812 _ACEOF
   12813 
   12814 fi
   12815 done
   12816 
   12817 
   12818 # Check for getexecname function.
   12819 if test -n "${with_target_subdir}"; then
   12820    case "${host}" in
   12821    *-*-solaris2*) have_getexecname=yes ;;
   12822    *) have_getexecname=no ;;
   12823    esac
   12824 else
   12825   ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
   12826 if test "x$ac_cv_func_getexecname" = x""yes; then :
   12827   have_getexecname=yes
   12828 else
   12829   have_getexecname=no
   12830 fi
   12831 
   12832 fi
   12833 if test "$have_getexecname" = "yes"; then
   12834 
   12835 $as_echo "#define HAVE_GETEXECNAME 1" >>confdefs.h
   12836 
   12837 fi
   12838 
   12839 # Check for the clock_gettime function.
   12840 for ac_func in clock_gettime
   12841 do :
   12842   ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
   12843 if test "x$ac_cv_func_clock_gettime" = x""yes; then :
   12844   cat >>confdefs.h <<_ACEOF
   12845 #define HAVE_CLOCK_GETTIME 1
   12846 _ACEOF
   12847 
   12848 fi
   12849 done
   12850 
   12851 clock_gettime_link=
   12852 # At least for glibc, clock_gettime is in librt.  But don't
   12853 # pull that in if it still doesn't give us the function we want.  This
   12854 # test is copied from libgomp, and modified to not link in -lrt as
   12855 # we're using this for test timing only.
   12856 if test "$ac_cv_func_clock_gettime" = no; then
   12857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   12858 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   12859 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
   12860   $as_echo_n "(cached) " >&6
   12861 else
   12862   ac_check_lib_save_LIBS=$LIBS
   12863 LIBS="-lrt  $LIBS"
   12864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12865 /* end confdefs.h.  */
   12866 
   12867 /* Override any GCC internal prototype to avoid an error.
   12868    Use char because int might match the return type of a GCC
   12869    builtin and then its argument prototype would still apply.  */
   12870 #ifdef __cplusplus
   12871 extern "C"
   12872 #endif
   12873 char clock_gettime ();
   12874 int
   12875 main ()
   12876 {
   12877 return clock_gettime ();
   12878   ;
   12879   return 0;
   12880 }
   12881 _ACEOF
   12882 if ac_fn_c_try_link "$LINENO"; then :
   12883   ac_cv_lib_rt_clock_gettime=yes
   12884 else
   12885   ac_cv_lib_rt_clock_gettime=no
   12886 fi
   12887 rm -f core conftest.err conftest.$ac_objext \
   12888     conftest$ac_exeext conftest.$ac_ext
   12889 LIBS=$ac_check_lib_save_LIBS
   12890 fi
   12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   12892 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   12893 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
   12894   CLOCK_GETTIME_LINK=-lrt
   12895 
   12896 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   12897 
   12898 fi
   12899 
   12900 fi
   12901 
   12902 
   12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
   12904 $as_echo_n "checking whether -pthread is supported... " >&6; }
   12905 if test "${libgo_cv_lib_pthread+set}" = set; then :
   12906   $as_echo_n "(cached) " >&6
   12907 else
   12908   CFLAGS_hold=$CFLAGS
   12909 CFLAGS="$CFLAGS -pthread"
   12910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12911 /* end confdefs.h.  */
   12912 int i;
   12913 _ACEOF
   12914 if ac_fn_c_try_compile "$LINENO"; then :
   12915   libgo_cv_lib_pthread=yes
   12916 else
   12917   libgo_cv_lib_pthread=no
   12918 fi
   12919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12920 CFLAGS=$CFLAGS_hold
   12921 fi
   12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
   12923 $as_echo "$libgo_cv_lib_pthread" >&6; }
   12924 PTHREAD_CFLAGS=
   12925 if test "$libgo_cv_lib_pthread" = yes; then
   12926   PTHREAD_CFLAGS=-pthread
   12927 fi
   12928 
   12929 
   12930  if test "$libgo_cv_lib_pthread" = yes; then
   12931   HAVE_PTHREAD_TRUE=
   12932   HAVE_PTHREAD_FALSE='#'
   12933 else
   12934   HAVE_PTHREAD_TRUE='#'
   12935   HAVE_PTHREAD_FALSE=
   12936 fi
   12937 
   12938 
   12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
   12940 $as_echo_n "checking for compress in -lz... " >&6; }
   12941 if test "${ac_cv_lib_z_compress+set}" = set; then :
   12942   $as_echo_n "(cached) " >&6
   12943 else
   12944   ac_check_lib_save_LIBS=$LIBS
   12945 LIBS="-lz  $LIBS"
   12946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12947 /* end confdefs.h.  */
   12948 
   12949 /* Override any GCC internal prototype to avoid an error.
   12950    Use char because int might match the return type of a GCC
   12951    builtin and then its argument prototype would still apply.  */
   12952 #ifdef __cplusplus
   12953 extern "C"
   12954 #endif
   12955 char compress ();
   12956 int
   12957 main ()
   12958 {
   12959 return compress ();
   12960   ;
   12961   return 0;
   12962 }
   12963 _ACEOF
   12964 if ac_fn_c_try_link "$LINENO"; then :
   12965   ac_cv_lib_z_compress=yes
   12966 else
   12967   ac_cv_lib_z_compress=no
   12968 fi
   12969 rm -f core conftest.err conftest.$ac_objext \
   12970     conftest$ac_exeext conftest.$ac_ext
   12971 LIBS=$ac_check_lib_save_LIBS
   12972 fi
   12973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
   12974 $as_echo "$ac_cv_lib_z_compress" >&6; }
   12975 if test "x$ac_cv_lib_z_compress" = x""yes; then :
   12976   cat >>confdefs.h <<_ACEOF
   12977 #define HAVE_LIBZ 1
   12978 _ACEOF
   12979 
   12980   LIBS="-lz $LIBS"
   12981 
   12982 fi
   12983 
   12984 if test $ac_cv_lib_z_compress = "yes"; then
   12985 
   12986 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
   12987 
   12988 fi
   12989  if test "$ac_cv_lib_z_compress" = yes; then
   12990   HAVE_ZLIB_TRUE=
   12991   HAVE_ZLIB_FALSE='#'
   12992 else
   12993   HAVE_ZLIB_TRUE='#'
   12994   HAVE_ZLIB_FALSE=
   12995 fi
   12996 
   12997 
   12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --compress-debug-sections is supported" >&5
   12999 $as_echo_n "checking whether --compress-debug-sections is supported... " >&6; }
   13000 if test "${libgo_cv_ld_compress+set}" = set; then :
   13001   $as_echo_n "(cached) " >&6
   13002 else
   13003   LDFLAGS_hold=$LDFLAGS
   13004 LDFLAGS="$LDFLAGS -Wl,--compress-debug-sections=zlib-gnu"
   13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13006 /* end confdefs.h.  */
   13007 
   13008 int
   13009 main ()
   13010 {
   13011 
   13012   ;
   13013   return 0;
   13014 }
   13015 _ACEOF
   13016 if ac_fn_c_try_link "$LINENO"; then :
   13017   libgo_cv_ld_compress=yes
   13018 else
   13019   libgo_cv_ld_compress=no
   13020 fi
   13021 rm -f core conftest.err conftest.$ac_objext \
   13022     conftest$ac_exeext conftest.$ac_ext
   13023 LDFLAGS=$LDFLAGS_hold
   13024 fi
   13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ld_compress" >&5
   13026 $as_echo "$libgo_cv_ld_compress" >&6; }
   13027  if test "$libgo_cv_ld_compress" = yes; then
   13028   HAVE_COMPRESSED_DEBUG_TRUE=
   13029   HAVE_COMPRESSED_DEBUG_FALSE='#'
   13030 else
   13031   HAVE_COMPRESSED_DEBUG_TRUE='#'
   13032   HAVE_COMPRESSED_DEBUG_FALSE=
   13033 fi
   13034 
   13035 
   13036 
   13037 # Extract the first word of "objcopy", so it can be a program name with args.
   13038 set dummy objcopy; ac_word=$2
   13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13040 $as_echo_n "checking for $ac_word... " >&6; }
   13041 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
   13042   $as_echo_n "(cached) " >&6
   13043 else
   13044   if test -n "$OBJCOPY"; then
   13045   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   13046 else
   13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13048 for as_dir in $PATH
   13049 do
   13050   IFS=$as_save_IFS
   13051   test -z "$as_dir" && as_dir=.
   13052     for ac_exec_ext in '' $ac_executable_extensions; do
   13053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   13054     ac_cv_prog_OBJCOPY="objcopy"
   13055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13056     break 2
   13057   fi
   13058 done
   13059   done
   13060 IFS=$as_save_IFS
   13061 
   13062 fi
   13063 fi
   13064 OBJCOPY=$ac_cv_prog_OBJCOPY
   13065 if test -n "$OBJCOPY"; then
   13066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
   13067 $as_echo "$OBJCOPY" >&6; }
   13068 else
   13069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13070 $as_echo "no" >&6; }
   13071 fi
   13072 
   13073 
   13074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether objcopy supports debuglink" >&5
   13075 $as_echo_n "checking whether objcopy supports debuglink... " >&6; }
   13076 if test "${libbacktrace_cv_objcopy_debuglink+set}" = set; then :
   13077   $as_echo_n "(cached) " >&6
   13078 else
   13079   if test -n "${with_target_subdir}"; then
   13080   libbacktrace_cv_objcopy_debuglink=no
   13081 elif ${OBJCOPY} --add-gnu-debuglink=x /bin/ls /tmp/ls$$; then
   13082   rm -f /tmp/ls$$
   13083   libbacktrace_cv_objcopy_debuglink=yes
   13084 else
   13085   libbacktrace_cv_objcopy_debuglink=no
   13086 fi
   13087 fi
   13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_objcopy_debuglink" >&5
   13089 $as_echo "$libbacktrace_cv_objcopy_debuglink" >&6; }
   13090  if test "$libbacktrace_cv_objcopy_debuglink" = yes; then
   13091   HAVE_OBJCOPY_DEBUGLINK_TRUE=
   13092   HAVE_OBJCOPY_DEBUGLINK_FALSE='#'
   13093 else
   13094   HAVE_OBJCOPY_DEBUGLINK_TRUE='#'
   13095   HAVE_OBJCOPY_DEBUGLINK_FALSE=
   13096 fi
   13097 
   13098 
   13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests can run" >&5
   13100 $as_echo_n "checking whether tests can run... " >&6; }
   13101 if test "${libbacktrace_cv_sys_native+set}" = set; then :
   13102   $as_echo_n "(cached) " >&6
   13103 else
   13104   if test "$cross_compiling" = yes; then :
   13105   libbacktrace_cv_sys_native=no
   13106 else
   13107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13108 /* end confdefs.h.  */
   13109 
   13110 int
   13111 main ()
   13112 {
   13113 return 0;
   13114   ;
   13115   return 0;
   13116 }
   13117 _ACEOF
   13118 if ac_fn_c_try_run "$LINENO"; then :
   13119   libbacktrace_cv_sys_native=yes
   13120 else
   13121   libbacktrace_cv_sys_native=no
   13122 fi
   13123 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13124   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13125 fi
   13126 
   13127 fi
   13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libbacktrace_cv_sys_native" >&5
   13129 $as_echo "$libbacktrace_cv_sys_native" >&6; }
   13130  if test "$libbacktrace_cv_sys_native" = "yes"; then
   13131   NATIVE_TRUE=
   13132   NATIVE_FALSE='#'
   13133 else
   13134   NATIVE_TRUE='#'
   13135   NATIVE_FALSE=
   13136 fi
   13137 
   13138 
   13139 if test "${multilib}" = "yes"; then
   13140   multilib_arg="--enable-multilib"
   13141 else
   13142   multilib_arg=
   13143 fi
   13144 
   13145 ac_config_files="$ac_config_files Makefile backtrace-supported.h"
   13146 
   13147 
   13148 # We need multilib support, but only if configuring for the target.
   13149 ac_config_commands="$ac_config_commands default"
   13150 
   13151 
   13152 cat >confcache <<\_ACEOF
   13153 # This file is a shell script that caches the results of configure
   13154 # tests run on this system so they can be shared between configure
   13155 # scripts and configure runs, see configure's option --config-cache.
   13156 # It is not useful on other systems.  If it contains results you don't
   13157 # want to keep, you may remove or edit it.
   13158 #
   13159 # config.status only pays attention to the cache file if you give it
   13160 # the --recheck option to rerun configure.
   13161 #
   13162 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13163 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13164 # following values.
   13165 
   13166 _ACEOF
   13167 
   13168 # The following way of writing the cache mishandles newlines in values,
   13169 # but we know of no workaround that is simple, portable, and efficient.
   13170 # So, we kill variables containing newlines.
   13171 # Ultrix sh set writes to stderr and can't be redirected directly,
   13172 # and sets the high bit in the cache file unless we assign to the vars.
   13173 (
   13174   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13175     eval ac_val=\$$ac_var
   13176     case $ac_val in #(
   13177     *${as_nl}*)
   13178       case $ac_var in #(
   13179       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13180 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13181       esac
   13182       case $ac_var in #(
   13183       _ | IFS | as_nl) ;; #(
   13184       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13185       *) { eval $ac_var=; unset $ac_var;} ;;
   13186       esac ;;
   13187     esac
   13188   done
   13189 
   13190   (set) 2>&1 |
   13191     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13192     *${as_nl}ac_space=\ *)
   13193       # `set' does not quote correctly, so add quotes: double-quote
   13194       # substitution turns \\\\ into \\, and sed turns \\ into \.
   13195       sed -n \
   13196 	"s/'/'\\\\''/g;
   13197 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13198       ;; #(
   13199     *)
   13200       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13201       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   13202       ;;
   13203     esac |
   13204     sort
   13205 ) |
   13206   sed '
   13207      /^ac_cv_env_/b end
   13208      t clear
   13209      :clear
   13210      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13211      t end
   13212      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13213      :end' >>confcache
   13214 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   13215   if test -w "$cache_file"; then
   13216     test "x$cache_file" != "x/dev/null" &&
   13217       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   13218 $as_echo "$as_me: updating cache $cache_file" >&6;}
   13219     cat confcache >$cache_file
   13220   else
   13221     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   13222 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   13223   fi
   13224 fi
   13225 rm -f confcache
   13226 
   13227 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13228 # Let make expand exec_prefix.
   13229 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13230 
   13231 DEFS=-DHAVE_CONFIG_H
   13232 
   13233 ac_libobjs=
   13234 ac_ltlibobjs=
   13235 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13236   # 1. Remove the extension, and $U if already installed.
   13237   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   13238   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   13239   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   13240   #    will be set to the directory where LIBOBJS objects are built.
   13241   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   13242   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   13243 done
   13244 LIBOBJS=$ac_libobjs
   13245 
   13246 LTLIBOBJS=$ac_ltlibobjs
   13247 
   13248 
   13249  if test -n "$EXEEXT"; then
   13250   am__EXEEXT_TRUE=
   13251   am__EXEEXT_FALSE='#'
   13252 else
   13253   am__EXEEXT_TRUE='#'
   13254   am__EXEEXT_FALSE=
   13255 fi
   13256 
   13257 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13258   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
   13259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13260 fi
   13261 if test -z "${HAVE_PTHREAD_TRUE}" && test -z "${HAVE_PTHREAD_FALSE}"; then
   13262   as_fn_error "conditional \"HAVE_PTHREAD\" was never defined.
   13263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13264 fi
   13265 if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
   13266   as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
   13267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13268 fi
   13269 if test -z "${HAVE_COMPRESSED_DEBUG_TRUE}" && test -z "${HAVE_COMPRESSED_DEBUG_FALSE}"; then
   13270   as_fn_error "conditional \"HAVE_COMPRESSED_DEBUG\" was never defined.
   13271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13272 fi
   13273 if test -z "${HAVE_OBJCOPY_DEBUGLINK_TRUE}" && test -z "${HAVE_OBJCOPY_DEBUGLINK_FALSE}"; then
   13274   as_fn_error "conditional \"HAVE_OBJCOPY_DEBUGLINK\" was never defined.
   13275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13276 fi
   13277 if test -z "${NATIVE_TRUE}" && test -z "${NATIVE_FALSE}"; then
   13278   as_fn_error "conditional \"NATIVE\" was never defined.
   13279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   13280 fi
   13281 
   13282 : ${CONFIG_STATUS=./config.status}
   13283 ac_write_fail=0
   13284 ac_clean_files_save=$ac_clean_files
   13285 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13286 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   13287 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13288 as_write_fail=0
   13289 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   13290 #! $SHELL
   13291 # Generated by $as_me.
   13292 # Run this file to recreate the current configuration.
   13293 # Compiler output produced by configure, useful for debugging
   13294 # configure, is in config.log if it exists.
   13295 
   13296 debug=false
   13297 ac_cs_recheck=false
   13298 ac_cs_silent=false
   13299 
   13300 SHELL=\${CONFIG_SHELL-$SHELL}
   13301 export SHELL
   13302 _ASEOF
   13303 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   13304 ## -------------------- ##
   13305 ## M4sh Initialization. ##
   13306 ## -------------------- ##
   13307 
   13308 # Be more Bourne compatible
   13309 DUALCASE=1; export DUALCASE # for MKS sh
   13310 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   13311   emulate sh
   13312   NULLCMD=:
   13313   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   13314   # is contrary to our usage.  Disable this feature.
   13315   alias -g '${1+"$@"}'='"$@"'
   13316   setopt NO_GLOB_SUBST
   13317 else
   13318   case `(set -o) 2>/dev/null` in #(
   13319   *posix*) :
   13320     set -o posix ;; #(
   13321   *) :
   13322      ;;
   13323 esac
   13324 fi
   13325 
   13326 
   13327 as_nl='
   13328 '
   13329 export as_nl
   13330 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   13331 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   13332 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   13333 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   13334 # Prefer a ksh shell builtin over an external printf program on Solaris,
   13335 # but without wasting forks for bash or zsh.
   13336 if test -z "$BASH_VERSION$ZSH_VERSION" \
   13337     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   13338   as_echo='print -r --'
   13339   as_echo_n='print -rn --'
   13340 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   13341   as_echo='printf %s\n'
   13342   as_echo_n='printf %s'
   13343 else
   13344   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   13345     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   13346     as_echo_n='/usr/ucb/echo -n'
   13347   else
   13348     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   13349     as_echo_n_body='eval
   13350       arg=$1;
   13351       case $arg in #(
   13352       *"$as_nl"*)
   13353 	expr "X$arg" : "X\\(.*\\)$as_nl";
   13354 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   13355       esac;
   13356       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   13357     '
   13358     export as_echo_n_body
   13359     as_echo_n='sh -c $as_echo_n_body as_echo'
   13360   fi
   13361   export as_echo_body
   13362   as_echo='sh -c $as_echo_body as_echo'
   13363 fi
   13364 
   13365 # The user is always right.
   13366 if test "${PATH_SEPARATOR+set}" != set; then
   13367   PATH_SEPARATOR=:
   13368   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   13369     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   13370       PATH_SEPARATOR=';'
   13371   }
   13372 fi
   13373 
   13374 
   13375 # IFS
   13376 # We need space, tab and new line, in precisely that order.  Quoting is
   13377 # there to prevent editors from complaining about space-tab.
   13378 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   13379 # splitting by setting IFS to empty value.)
   13380 IFS=" ""	$as_nl"
   13381 
   13382 # Find who we are.  Look in the path if we contain no directory separator.
   13383 case $0 in #((
   13384   *[\\/]* ) as_myself=$0 ;;
   13385   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13386 for as_dir in $PATH
   13387 do
   13388   IFS=$as_save_IFS
   13389   test -z "$as_dir" && as_dir=.
   13390     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13391   done
   13392 IFS=$as_save_IFS
   13393 
   13394      ;;
   13395 esac
   13396 # We did not find ourselves, most probably we were run as `sh COMMAND'
   13397 # in which case we are not to be found in the path.
   13398 if test "x$as_myself" = x; then
   13399   as_myself=$0
   13400 fi
   13401 if test ! -f "$as_myself"; then
   13402   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   13403   exit 1
   13404 fi
   13405 
   13406 # Unset variables that we do not need and which cause bugs (e.g. in
   13407 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   13408 # suppresses any "Segmentation fault" message there.  '((' could
   13409 # trigger a bug in pdksh 5.2.14.
   13410 for as_var in BASH_ENV ENV MAIL MAILPATH
   13411 do eval test x\${$as_var+set} = xset \
   13412   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   13413 done
   13414 PS1='$ '
   13415 PS2='> '
   13416 PS4='+ '
   13417 
   13418 # NLS nuisances.
   13419 LC_ALL=C
   13420 export LC_ALL
   13421 LANGUAGE=C
   13422 export LANGUAGE
   13423 
   13424 # CDPATH.
   13425 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13426 
   13427 
   13428 # as_fn_error ERROR [LINENO LOG_FD]
   13429 # ---------------------------------
   13430 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   13431 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   13432 # script with status $?, using 1 if that was 0.
   13433 as_fn_error ()
   13434 {
   13435   as_status=$?; test $as_status -eq 0 && as_status=1
   13436   if test "$3"; then
   13437     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   13438     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   13439   fi
   13440   $as_echo "$as_me: error: $1" >&2
   13441   as_fn_exit $as_status
   13442 } # as_fn_error
   13443 
   13444 
   13445 # as_fn_set_status STATUS
   13446 # -----------------------
   13447 # Set $? to STATUS, without forking.
   13448 as_fn_set_status ()
   13449 {
   13450   return $1
   13451 } # as_fn_set_status
   13452 
   13453 # as_fn_exit STATUS
   13454 # -----------------
   13455 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   13456 as_fn_exit ()
   13457 {
   13458   set +e
   13459   as_fn_set_status $1
   13460   exit $1
   13461 } # as_fn_exit
   13462 
   13463 # as_fn_unset VAR
   13464 # ---------------
   13465 # Portably unset VAR.
   13466 as_fn_unset ()
   13467 {
   13468   { eval $1=; unset $1;}
   13469 }
   13470 as_unset=as_fn_unset
   13471 # as_fn_append VAR VALUE
   13472 # ----------------------
   13473 # Append the text in VALUE to the end of the definition contained in VAR. Take
   13474 # advantage of any shell optimizations that allow amortized linear growth over
   13475 # repeated appends, instead of the typical quadratic growth present in naive
   13476 # implementations.
   13477 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   13478   eval 'as_fn_append ()
   13479   {
   13480     eval $1+=\$2
   13481   }'
   13482 else
   13483   as_fn_append ()
   13484   {
   13485     eval $1=\$$1\$2
   13486   }
   13487 fi # as_fn_append
   13488 
   13489 # as_fn_arith ARG...
   13490 # ------------------
   13491 # Perform arithmetic evaluation on the ARGs, and store the result in the
   13492 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   13493 # must be portable across $(()) and expr.
   13494 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   13495   eval 'as_fn_arith ()
   13496   {
   13497     as_val=$(( $* ))
   13498   }'
   13499 else
   13500   as_fn_arith ()
   13501   {
   13502     as_val=`expr "$@" || test $? -eq 1`
   13503   }
   13504 fi # as_fn_arith
   13505 
   13506 
   13507 if expr a : '\(a\)' >/dev/null 2>&1 &&
   13508    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   13509   as_expr=expr
   13510 else
   13511   as_expr=false
   13512 fi
   13513 
   13514 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   13515   as_basename=basename
   13516 else
   13517   as_basename=false
   13518 fi
   13519 
   13520 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   13521   as_dirname=dirname
   13522 else
   13523   as_dirname=false
   13524 fi
   13525 
   13526 as_me=`$as_basename -- "$0" ||
   13527 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13528 	 X"$0" : 'X\(//\)$' \| \
   13529 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   13530 $as_echo X/"$0" |
   13531     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13532 	    s//\1/
   13533 	    q
   13534 	  }
   13535 	  /^X\/\(\/\/\)$/{
   13536 	    s//\1/
   13537 	    q
   13538 	  }
   13539 	  /^X\/\(\/\).*/{
   13540 	    s//\1/
   13541 	    q
   13542 	  }
   13543 	  s/.*/./; q'`
   13544 
   13545 # Avoid depending upon Character Ranges.
   13546 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13547 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13548 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13549 as_cr_digits='0123456789'
   13550 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13551 
   13552 ECHO_C= ECHO_N= ECHO_T=
   13553 case `echo -n x` in #(((((
   13554 -n*)
   13555   case `echo 'xy\c'` in
   13556   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   13557   xy)  ECHO_C='\c';;
   13558   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   13559        ECHO_T='	';;
   13560   esac;;
   13561 *)
   13562   ECHO_N='-n';;
   13563 esac
   13564 
   13565 rm -f conf$$ conf$$.exe conf$$.file
   13566 if test -d conf$$.dir; then
   13567   rm -f conf$$.dir/conf$$.file
   13568 else
   13569   rm -f conf$$.dir
   13570   mkdir conf$$.dir 2>/dev/null
   13571 fi
   13572 if (echo >conf$$.file) 2>/dev/null; then
   13573   if ln -s conf$$.file conf$$ 2>/dev/null; then
   13574     as_ln_s='ln -s'
   13575     # ... but there are two gotchas:
   13576     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   13577     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   13578     # In both cases, we have to default to `cp -p'.
   13579     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   13580       as_ln_s='cp -p'
   13581   elif ln conf$$.file conf$$ 2>/dev/null; then
   13582     as_ln_s=ln
   13583   else
   13584     as_ln_s='cp -p'
   13585   fi
   13586 else
   13587   as_ln_s='cp -p'
   13588 fi
   13589 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   13590 rmdir conf$$.dir 2>/dev/null
   13591 
   13592 
   13593 # as_fn_mkdir_p
   13594 # -------------
   13595 # Create "$as_dir" as a directory, including parents if necessary.
   13596 as_fn_mkdir_p ()
   13597 {
   13598 
   13599   case $as_dir in #(
   13600   -*) as_dir=./$as_dir;;
   13601   esac
   13602   test -d "$as_dir" || eval $as_mkdir_p || {
   13603     as_dirs=
   13604     while :; do
   13605       case $as_dir in #(
   13606       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   13607       *) as_qdir=$as_dir;;
   13608       esac
   13609       as_dirs="'$as_qdir' $as_dirs"
   13610       as_dir=`$as_dirname -- "$as_dir" ||
   13611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13612 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   13613 	 X"$as_dir" : 'X\(//\)$' \| \
   13614 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   13615 $as_echo X"$as_dir" |
   13616     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13617 	    s//\1/
   13618 	    q
   13619 	  }
   13620 	  /^X\(\/\/\)[^/].*/{
   13621 	    s//\1/
   13622 	    q
   13623 	  }
   13624 	  /^X\(\/\/\)$/{
   13625 	    s//\1/
   13626 	    q
   13627 	  }
   13628 	  /^X\(\/\).*/{
   13629 	    s//\1/
   13630 	    q
   13631 	  }
   13632 	  s/.*/./; q'`
   13633       test -d "$as_dir" && break
   13634     done
   13635     test -z "$as_dirs" || eval "mkdir $as_dirs"
   13636   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   13637 
   13638 
   13639 } # as_fn_mkdir_p
   13640 if mkdir -p . 2>/dev/null; then
   13641   as_mkdir_p='mkdir -p "$as_dir"'
   13642 else
   13643   test -d ./-p && rmdir ./-p
   13644   as_mkdir_p=false
   13645 fi
   13646 
   13647 if test -x / >/dev/null 2>&1; then
   13648   as_test_x='test -x'
   13649 else
   13650   if ls -dL / >/dev/null 2>&1; then
   13651     as_ls_L_option=L
   13652   else
   13653     as_ls_L_option=
   13654   fi
   13655   as_test_x='
   13656     eval sh -c '\''
   13657       if test -d "$1"; then
   13658 	test -d "$1/.";
   13659       else
   13660 	case $1 in #(
   13661 	-*)set "./$1";;
   13662 	esac;
   13663 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   13664 	???[sx]*):;;*)false;;esac;fi
   13665     '\'' sh
   13666   '
   13667 fi
   13668 as_executable_p=$as_test_x
   13669 
   13670 # Sed expression to map a string onto a valid CPP name.
   13671 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13672 
   13673 # Sed expression to map a string onto a valid variable name.
   13674 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13675 
   13676 
   13677 exec 6>&1
   13678 ## ----------------------------------- ##
   13679 ## Main body of $CONFIG_STATUS script. ##
   13680 ## ----------------------------------- ##
   13681 _ASEOF
   13682 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   13683 
   13684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13685 # Save the log message, to keep $0 and so on meaningful, and to
   13686 # report actual input values of CONFIG_FILES etc. instead of their
   13687 # values after options handling.
   13688 ac_log="
   13689 This file was extended by package-unused $as_me version-unused, which was
   13690 generated by GNU Autoconf 2.64.  Invocation command line was
   13691 
   13692   CONFIG_FILES    = $CONFIG_FILES
   13693   CONFIG_HEADERS  = $CONFIG_HEADERS
   13694   CONFIG_LINKS    = $CONFIG_LINKS
   13695   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13696   $ $0 $@
   13697 
   13698 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   13699 "
   13700 
   13701 _ACEOF
   13702 
   13703 case $ac_config_files in *"
   13704 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   13705 esac
   13706 
   13707 case $ac_config_headers in *"
   13708 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   13709 esac
   13710 
   13711 
   13712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13713 # Files that config.status was made for.
   13714 config_files="$ac_config_files"
   13715 config_headers="$ac_config_headers"
   13716 config_commands="$ac_config_commands"
   13717 
   13718 _ACEOF
   13719 
   13720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13721 ac_cs_usage="\
   13722 \`$as_me' instantiates files and other configuration actions
   13723 from templates according to the current configuration.  Unless the files
   13724 and actions are specified as TAGs, all are instantiated by default.
   13725 
   13726 Usage: $0 [OPTION]... [TAG]...
   13727 
   13728   -h, --help       print this help, then exit
   13729   -V, --version    print version number and configuration settings, then exit
   13730   -q, --quiet, --silent
   13731                    do not print progress messages
   13732   -d, --debug      don't remove temporary files
   13733       --recheck    update $as_me by reconfiguring in the same conditions
   13734       --file=FILE[:TEMPLATE]
   13735                    instantiate the configuration file FILE
   13736       --header=FILE[:TEMPLATE]
   13737                    instantiate the configuration header FILE
   13738 
   13739 Configuration files:
   13740 $config_files
   13741 
   13742 Configuration headers:
   13743 $config_headers
   13744 
   13745 Configuration commands:
   13746 $config_commands
   13747 
   13748 Report bugs to the package provider."
   13749 
   13750 _ACEOF
   13751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13752 ac_cs_version="\\
   13753 package-unused config.status version-unused
   13754 configured by $0, generated by GNU Autoconf 2.64,
   13755   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   13756 
   13757 Copyright (C) 2009 Free Software Foundation, Inc.
   13758 This config.status script is free software; the Free Software Foundation
   13759 gives unlimited permission to copy, distribute and modify it."
   13760 
   13761 ac_pwd='$ac_pwd'
   13762 srcdir='$srcdir'
   13763 INSTALL='$INSTALL'
   13764 MKDIR_P='$MKDIR_P'
   13765 AWK='$AWK'
   13766 test -n "\$AWK" || AWK=awk
   13767 _ACEOF
   13768 
   13769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13770 # The default lists apply if the user does not specify any file.
   13771 ac_need_defaults=:
   13772 while test $# != 0
   13773 do
   13774   case $1 in
   13775   --*=*)
   13776     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   13777     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   13778     ac_shift=:
   13779     ;;
   13780   *)
   13781     ac_option=$1
   13782     ac_optarg=$2
   13783     ac_shift=shift
   13784     ;;
   13785   esac
   13786 
   13787   case $ac_option in
   13788   # Handling of the options.
   13789   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13790     ac_cs_recheck=: ;;
   13791   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   13792     $as_echo "$ac_cs_version"; exit ;;
   13793   --debug | --debu | --deb | --de | --d | -d )
   13794     debug=: ;;
   13795   --file | --fil | --fi | --f )
   13796     $ac_shift
   13797     case $ac_optarg in
   13798     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13799     esac
   13800     as_fn_append CONFIG_FILES " '$ac_optarg'"
   13801     ac_need_defaults=false;;
   13802   --header | --heade | --head | --hea )
   13803     $ac_shift
   13804     case $ac_optarg in
   13805     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   13806     esac
   13807     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   13808     ac_need_defaults=false;;
   13809   --he | --h)
   13810     # Conflict between --help and --header
   13811     as_fn_error "ambiguous option: \`$1'
   13812 Try \`$0 --help' for more information.";;
   13813   --help | --hel | -h )
   13814     $as_echo "$ac_cs_usage"; exit ;;
   13815   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13816   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13817     ac_cs_silent=: ;;
   13818 
   13819   # This is an error.
   13820   -*) as_fn_error "unrecognized option: \`$1'
   13821 Try \`$0 --help' for more information." ;;
   13822 
   13823   *) as_fn_append ac_config_targets " $1"
   13824      ac_need_defaults=false ;;
   13825 
   13826   esac
   13827   shift
   13828 done
   13829 
   13830 ac_configure_extra_args=
   13831 
   13832 if $ac_cs_silent; then
   13833   exec 6>/dev/null
   13834   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13835 fi
   13836 
   13837 _ACEOF
   13838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13839 if \$ac_cs_recheck; then
   13840   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13841   shift
   13842   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   13843   CONFIG_SHELL='$SHELL'
   13844   export CONFIG_SHELL
   13845   exec "\$@"
   13846 fi
   13847 
   13848 _ACEOF
   13849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13850 exec 5>>config.log
   13851 {
   13852   echo
   13853   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13854 ## Running $as_me. ##
   13855 _ASBOX
   13856   $as_echo "$ac_log"
   13857 } >&5
   13858 
   13859 _ACEOF
   13860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13861 #
   13862 # INIT-COMMANDS
   13863 #
   13864 
   13865 srcdir="$srcdir"
   13866 host="$host"
   13867 target="$target"
   13868 with_multisubdir="$with_multisubdir"
   13869 with_multisrctop="$with_multisrctop"
   13870 with_target_subdir="$with_target_subdir"
   13871 ac_configure_args="${multilib_arg} ${ac_configure_args}"
   13872 multi_basedir="$multi_basedir"
   13873 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   13874 CC="$CC"
   13875 CXX="$CXX"
   13876 GFORTRAN="$GFORTRAN"
   13877 
   13878 
   13879 # The HP-UX ksh and POSIX shell print the target directory to stdout
   13880 # if CDPATH is set.
   13881 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   13882 
   13883 sed_quote_subst='$sed_quote_subst'
   13884 double_quote_subst='$double_quote_subst'
   13885 delay_variable_subst='$delay_variable_subst'
   13886 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   13887 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   13888 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   13889 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   13890 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   13891 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   13892 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   13893 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   13894 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   13895 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   13896 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   13897 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   13898 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   13899 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   13900 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   13901 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   13902 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   13903 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   13904 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   13905 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   13906 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   13907 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   13908 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   13909 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   13910 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   13911 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   13912 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   13913 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   13914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   13915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   13916 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   13917 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   13918 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   13919 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   13920 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   13921 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   13922 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   13923 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13924 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13925 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   13926 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   13927 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   13928 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   13929 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   13930 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   13931 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   13932 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   13933 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   13934 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"`'
   13935 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   13936 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   13937 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   13938 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   13939 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   13940 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   13941 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   13942 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   13943 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   13944 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   13945 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   13946 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   13947 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   13948 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   13949 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   13950 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13951 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   13952 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   13953 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   13954 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   13955 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   13956 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   13957 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   13958 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   13959 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13960 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   13961 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   13962 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   13963 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13964 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   13965 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   13966 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   13967 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   13968 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   13969 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   13970 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   13971 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13972 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   13973 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   13974 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   13975 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   13976 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   13977 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   13978 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   13979 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   13980 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   13981 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   13982 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   13983 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   13984 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   13985 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   13986 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   13987 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   13988 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   13989 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   13990 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   13991 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   13992 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   13993 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   13994 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   13995 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   13996 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   13997 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   13998 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   13999 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   14000 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   14001 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   14002 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   14003 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   14004 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   14005 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   14006 
   14007 LTCC='$LTCC'
   14008 LTCFLAGS='$LTCFLAGS'
   14009 compiler='$compiler_DEFAULT'
   14010 
   14011 # A function that is used when there is no print builtin or printf.
   14012 func_fallback_echo ()
   14013 {
   14014   eval 'cat <<_LTECHO_EOF
   14015 \$1
   14016 _LTECHO_EOF'
   14017 }
   14018 
   14019 # Quote evaled strings.
   14020 for var in SHELL \
   14021 ECHO \
   14022 SED \
   14023 GREP \
   14024 EGREP \
   14025 FGREP \
   14026 LD \
   14027 NM \
   14028 LN_S \
   14029 lt_SP2NL \
   14030 lt_NL2SP \
   14031 reload_flag \
   14032 OBJDUMP \
   14033 deplibs_check_method \
   14034 file_magic_cmd \
   14035 AR \
   14036 AR_FLAGS \
   14037 STRIP \
   14038 RANLIB \
   14039 CC \
   14040 CFLAGS \
   14041 compiler \
   14042 lt_cv_sys_global_symbol_pipe \
   14043 lt_cv_sys_global_symbol_to_cdecl \
   14044 lt_cv_sys_global_symbol_to_c_name_address \
   14045 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14046 lt_prog_compiler_no_builtin_flag \
   14047 lt_prog_compiler_wl \
   14048 lt_prog_compiler_pic \
   14049 lt_prog_compiler_static \
   14050 lt_cv_prog_compiler_c_o \
   14051 need_locks \
   14052 DSYMUTIL \
   14053 NMEDIT \
   14054 LIPO \
   14055 OTOOL \
   14056 OTOOL64 \
   14057 shrext_cmds \
   14058 export_dynamic_flag_spec \
   14059 whole_archive_flag_spec \
   14060 compiler_needs_object \
   14061 with_gnu_ld \
   14062 allow_undefined_flag \
   14063 no_undefined_flag \
   14064 hardcode_libdir_flag_spec \
   14065 hardcode_libdir_flag_spec_ld \
   14066 hardcode_libdir_separator \
   14067 fix_srcfile_path \
   14068 exclude_expsyms \
   14069 include_expsyms \
   14070 file_list_spec \
   14071 variables_saved_for_relink \
   14072 libname_spec \
   14073 library_names_spec \
   14074 soname_spec \
   14075 install_override_mode \
   14076 finish_eval \
   14077 old_striplib \
   14078 striplib; do
   14079     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   14080     *[\\\\\\\`\\"\\\$]*)
   14081       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14082       ;;
   14083     *)
   14084       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14085       ;;
   14086     esac
   14087 done
   14088 
   14089 # Double-quote double-evaled strings.
   14090 for var in reload_cmds \
   14091 old_postinstall_cmds \
   14092 old_postuninstall_cmds \
   14093 old_archive_cmds \
   14094 extract_expsyms_cmds \
   14095 old_archive_from_new_cmds \
   14096 old_archive_from_expsyms_cmds \
   14097 archive_cmds \
   14098 archive_expsym_cmds \
   14099 module_cmds \
   14100 module_expsym_cmds \
   14101 export_symbols_cmds \
   14102 prelink_cmds \
   14103 postinstall_cmds \
   14104 postuninstall_cmds \
   14105 finish_cmds \
   14106 sys_lib_search_path_spec \
   14107 sys_lib_dlsearch_path_spec; do
   14108     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   14109     *[\\\\\\\`\\"\\\$]*)
   14110       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14111       ;;
   14112     *)
   14113       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14114       ;;
   14115     esac
   14116 done
   14117 
   14118 ac_aux_dir='$ac_aux_dir'
   14119 xsi_shell='$xsi_shell'
   14120 lt_shell_append='$lt_shell_append'
   14121 
   14122 # See if we are running on zsh, and set the options which allow our
   14123 # commands through without removal of \ escapes INIT.
   14124 if test -n "\${ZSH_VERSION+set}" ; then
   14125    setopt NO_GLOB_SUBST
   14126 fi
   14127 
   14128 
   14129     PACKAGE='$PACKAGE'
   14130     VERSION='$VERSION'
   14131     TIMESTAMP='$TIMESTAMP'
   14132     RM='$RM'
   14133     ofile='$ofile'
   14134 
   14135 
   14136 
   14137 
   14138 GCC="$GCC"
   14139 CC="$CC"
   14140 acx_cv_header_stdint="$acx_cv_header_stdint"
   14141 acx_cv_type_int8_t="$acx_cv_type_int8_t"
   14142 acx_cv_type_int16_t="$acx_cv_type_int16_t"
   14143 acx_cv_type_int32_t="$acx_cv_type_int32_t"
   14144 acx_cv_type_int64_t="$acx_cv_type_int64_t"
   14145 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
   14146 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
   14147 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
   14148 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
   14149 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
   14150 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
   14151 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
   14152 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
   14153 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
   14154 
   14155 
   14156 # Variables needed in config.status (file generation) which aren't already
   14157 # passed by autoconf.
   14158 SUBDIRS="$SUBDIRS"
   14159 
   14160 
   14161 _ACEOF
   14162 
   14163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14164 
   14165 # Handling of arguments.
   14166 for ac_config_target in $ac_config_targets
   14167 do
   14168   case $ac_config_target in
   14169     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   14170     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   14171     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14172     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
   14173     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14174     "backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES backtrace-supported.h" ;;
   14175     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   14176 
   14177   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   14178   esac
   14179 done
   14180 
   14181 
   14182 # If the user did not use the arguments to specify the items to instantiate,
   14183 # then the envvar interface is used.  Set only those that are not.
   14184 # We use the long form for the default assignment because of an extremely
   14185 # bizarre bug on SunOS 4.1.3.
   14186 if $ac_need_defaults; then
   14187   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14188   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14189   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14190 fi
   14191 
   14192 # Have a temporary directory for convenience.  Make it in the build tree
   14193 # simply because there is no reason against having it here, and in addition,
   14194 # creating and moving files from /tmp can sometimes cause problems.
   14195 # Hook for its removal unless debugging.
   14196 # Note that there is a small window in which the directory will not be cleaned:
   14197 # after its creation but before its name has been assigned to `$tmp'.
   14198 $debug ||
   14199 {
   14200   tmp=
   14201   trap 'exit_status=$?
   14202   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14203 ' 0
   14204   trap 'as_fn_exit 1' 1 2 13 15
   14205 }
   14206 # Create a (secure) tmp directory for tmp files.
   14207 
   14208 {
   14209   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14210   test -n "$tmp" && test -d "$tmp"
   14211 }  ||
   14212 {
   14213   tmp=./conf$$-$RANDOM
   14214   (umask 077 && mkdir "$tmp")
   14215 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
   14216 
   14217 # Set up the scripts for CONFIG_FILES section.
   14218 # No need to generate them if there are no CONFIG_FILES.
   14219 # This happens for instance with `./config.status config.h'.
   14220 if test -n "$CONFIG_FILES"; then
   14221 
   14222 
   14223 ac_cr=`echo X | tr X '\015'`
   14224 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   14225 # But we know of no other shell where ac_cr would be empty at this
   14226 # point, so we can use a bashism as a fallback.
   14227 if test "x$ac_cr" = x; then
   14228   eval ac_cr=\$\'\\r\'
   14229 fi
   14230 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   14231 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   14232   ac_cs_awk_cr='\r'
   14233 else
   14234   ac_cs_awk_cr=$ac_cr
   14235 fi
   14236 
   14237 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   14238 _ACEOF
   14239 
   14240 
   14241 {
   14242   echo "cat >conf$$subs.awk <<_ACEOF" &&
   14243   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   14244   echo "_ACEOF"
   14245 } >conf$$subs.sh ||
   14246   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   14247 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   14248 ac_delim='%!_!# '
   14249 for ac_last_try in false false false false false :; do
   14250   . ./conf$$subs.sh ||
   14251     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   14252 
   14253   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   14254   if test $ac_delim_n = $ac_delim_num; then
   14255     break
   14256   elif $ac_last_try; then
   14257     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
   14258   else
   14259     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14260   fi
   14261 done
   14262 rm -f conf$$subs.sh
   14263 
   14264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14265 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   14266 _ACEOF
   14267 sed -n '
   14268 h
   14269 s/^/S["/; s/!.*/"]=/
   14270 p
   14271 g
   14272 s/^[^!]*!//
   14273 :repl
   14274 t repl
   14275 s/'"$ac_delim"'$//
   14276 t delim
   14277 :nl
   14278 h
   14279 s/\(.\{148\}\).*/\1/
   14280 t more1
   14281 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   14282 p
   14283 n
   14284 b repl
   14285 :more1
   14286 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14287 p
   14288 g
   14289 s/.\{148\}//
   14290 t nl
   14291 :delim
   14292 h
   14293 s/\(.\{148\}\).*/\1/
   14294 t more2
   14295 s/["\\]/\\&/g; s/^/"/; s/$/"/
   14296 p
   14297 b
   14298 :more2
   14299 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   14300 p
   14301 g
   14302 s/.\{148\}//
   14303 t delim
   14304 ' <conf$$subs.awk | sed '
   14305 /^[^""]/{
   14306   N
   14307   s/\n//
   14308 }
   14309 ' >>$CONFIG_STATUS || ac_write_fail=1
   14310 rm -f conf$$subs.awk
   14311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14312 _ACAWK
   14313 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   14314   for (key in S) S_is_set[key] = 1
   14315   FS = ""
   14316 
   14317 }
   14318 {
   14319   line = $ 0
   14320   nfields = split(line, field, "@")
   14321   substed = 0
   14322   len = length(field[1])
   14323   for (i = 2; i < nfields; i++) {
   14324     key = field[i]
   14325     keylen = length(key)
   14326     if (S_is_set[key]) {
   14327       value = S[key]
   14328       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   14329       len += length(value) + length(field[++i])
   14330       substed = 1
   14331     } else
   14332       len += 1 + keylen
   14333   }
   14334 
   14335   print line
   14336 }
   14337 
   14338 _ACAWK
   14339 _ACEOF
   14340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14341 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   14342   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   14343 else
   14344   cat
   14345 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   14346   || as_fn_error "could not setup config files machinery" "$LINENO" 5
   14347 _ACEOF
   14348 
   14349 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   14350 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   14351 # trailing colons and then remove the whole line if VPATH becomes empty
   14352 # (actually we leave an empty line to preserve line numbers).
   14353 if test "x$srcdir" = x.; then
   14354   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   14355 s/:*\$(srcdir):*/:/
   14356 s/:*\${srcdir}:*/:/
   14357 s/:*@srcdir@:*/:/
   14358 s/^\([^=]*=[	 ]*\):*/\1/
   14359 s/:*$//
   14360 s/^[^=]*=[	 ]*$//
   14361 }'
   14362 fi
   14363 
   14364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14365 fi # test -n "$CONFIG_FILES"
   14366 
   14367 # Set up the scripts for CONFIG_HEADERS section.
   14368 # No need to generate them if there are no CONFIG_HEADERS.
   14369 # This happens for instance with `./config.status Makefile'.
   14370 if test -n "$CONFIG_HEADERS"; then
   14371 cat >"$tmp/defines.awk" <<\_ACAWK ||
   14372 BEGIN {
   14373 _ACEOF
   14374 
   14375 # Transform confdefs.h into an awk script `defines.awk', embedded as
   14376 # here-document in config.status, that substitutes the proper values into
   14377 # config.h.in to produce config.h.
   14378 
   14379 # Create a delimiter string that does not exist in confdefs.h, to ease
   14380 # handling of long lines.
   14381 ac_delim='%!_!# '
   14382 for ac_last_try in false false :; do
   14383   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   14384   if test -z "$ac_t"; then
   14385     break
   14386   elif $ac_last_try; then
   14387     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
   14388   else
   14389     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   14390   fi
   14391 done
   14392 
   14393 # For the awk script, D is an array of macro values keyed by name,
   14394 # likewise P contains macro parameters if any.  Preserve backslash
   14395 # newline sequences.
   14396 
   14397 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   14398 sed -n '
   14399 s/.\{148\}/&'"$ac_delim"'/g
   14400 t rset
   14401 :rset
   14402 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   14403 t def
   14404 d
   14405 :def
   14406 s/\\$//
   14407 t bsnl
   14408 s/["\\]/\\&/g
   14409 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14410 D["\1"]=" \3"/p
   14411 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   14412 d
   14413 :bsnl
   14414 s/["\\]/\\&/g
   14415 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   14416 D["\1"]=" \3\\\\\\n"\\/p
   14417 t cont
   14418 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   14419 t cont
   14420 d
   14421 :cont
   14422 n
   14423 s/.\{148\}/&'"$ac_delim"'/g
   14424 t clear
   14425 :clear
   14426 s/\\$//
   14427 t bsnlc
   14428 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   14429 d
   14430 :bsnlc
   14431 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   14432 b cont
   14433 ' <confdefs.h | sed '
   14434 s/'"$ac_delim"'/"\\\
   14435 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   14436 
   14437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14438   for (key in D) D_is_set[key] = 1
   14439   FS = ""
   14440 }
   14441 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   14442   line = \$ 0
   14443   split(line, arg, " ")
   14444   if (arg[1] == "#") {
   14445     defundef = arg[2]
   14446     mac1 = arg[3]
   14447   } else {
   14448     defundef = substr(arg[1], 2)
   14449     mac1 = arg[2]
   14450   }
   14451   split(mac1, mac2, "(") #)
   14452   macro = mac2[1]
   14453   prefix = substr(line, 1, index(line, defundef) - 1)
   14454   if (D_is_set[macro]) {
   14455     # Preserve the white space surrounding the "#".
   14456     print prefix "define", macro P[macro] D[macro]
   14457     next
   14458   } else {
   14459     # Replace #undef with comments.  This is necessary, for example,
   14460     # in the case of _POSIX_SOURCE, which is predefined and required
   14461     # on some systems where configure will not decide to define it.
   14462     if (defundef == "undef") {
   14463       print "/*", prefix defundef, macro, "*/"
   14464       next
   14465     }
   14466   }
   14467 }
   14468 { print }
   14469 _ACAWK
   14470 _ACEOF
   14471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14472   as_fn_error "could not setup config headers machinery" "$LINENO" 5
   14473 fi # test -n "$CONFIG_HEADERS"
   14474 
   14475 
   14476 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   14477 shift
   14478 for ac_tag
   14479 do
   14480   case $ac_tag in
   14481   :[FHLC]) ac_mode=$ac_tag; continue;;
   14482   esac
   14483   case $ac_mode$ac_tag in
   14484   :[FHL]*:*);;
   14485   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
   14486   :[FH]-) ac_tag=-:-;;
   14487   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   14488   esac
   14489   ac_save_IFS=$IFS
   14490   IFS=:
   14491   set x $ac_tag
   14492   IFS=$ac_save_IFS
   14493   shift
   14494   ac_file=$1
   14495   shift
   14496 
   14497   case $ac_mode in
   14498   :L) ac_source=$1;;
   14499   :[FH])
   14500     ac_file_inputs=
   14501     for ac_f
   14502     do
   14503       case $ac_f in
   14504       -) ac_f="$tmp/stdin";;
   14505       *) # Look for the file first in the build tree, then in the source tree
   14506 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   14507 	 # because $ac_f cannot contain `:'.
   14508 	 test -f "$ac_f" ||
   14509 	   case $ac_f in
   14510 	   [\\/$]*) false;;
   14511 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   14512 	   esac ||
   14513 	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   14514       esac
   14515       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   14516       as_fn_append ac_file_inputs " '$ac_f'"
   14517     done
   14518 
   14519     # Let's still pretend it is `configure' which instantiates (i.e., don't
   14520     # use $as_me), people would be surprised to read:
   14521     #    /* config.h.  Generated by config.status.  */
   14522     configure_input='Generated from '`
   14523 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   14524 	`' by configure.'
   14525     if test x"$ac_file" != x-; then
   14526       configure_input="$ac_file.  $configure_input"
   14527       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   14528 $as_echo "$as_me: creating $ac_file" >&6;}
   14529     fi
   14530     # Neutralize special characters interpreted by sed in replacement strings.
   14531     case $configure_input in #(
   14532     *\&* | *\|* | *\\* )
   14533        ac_sed_conf_input=`$as_echo "$configure_input" |
   14534        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   14535     *) ac_sed_conf_input=$configure_input;;
   14536     esac
   14537 
   14538     case $ac_tag in
   14539     *:-:* | *:-) cat >"$tmp/stdin" \
   14540       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
   14541     esac
   14542     ;;
   14543   esac
   14544 
   14545   ac_dir=`$as_dirname -- "$ac_file" ||
   14546 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14547 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14548 	 X"$ac_file" : 'X\(//\)$' \| \
   14549 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   14550 $as_echo X"$ac_file" |
   14551     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14552 	    s//\1/
   14553 	    q
   14554 	  }
   14555 	  /^X\(\/\/\)[^/].*/{
   14556 	    s//\1/
   14557 	    q
   14558 	  }
   14559 	  /^X\(\/\/\)$/{
   14560 	    s//\1/
   14561 	    q
   14562 	  }
   14563 	  /^X\(\/\).*/{
   14564 	    s//\1/
   14565 	    q
   14566 	  }
   14567 	  s/.*/./; q'`
   14568   as_dir="$ac_dir"; as_fn_mkdir_p
   14569   ac_builddir=.
   14570 
   14571 case "$ac_dir" in
   14572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14573 *)
   14574   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   14575   # A ".." for each directory in $ac_dir_suffix.
   14576   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   14577   case $ac_top_builddir_sub in
   14578   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   14579   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   14580   esac ;;
   14581 esac
   14582 ac_abs_top_builddir=$ac_pwd
   14583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   14584 # for backward compatibility:
   14585 ac_top_builddir=$ac_top_build_prefix
   14586 
   14587 case $srcdir in
   14588   .)  # We are building in place.
   14589     ac_srcdir=.
   14590     ac_top_srcdir=$ac_top_builddir_sub
   14591     ac_abs_top_srcdir=$ac_pwd ;;
   14592   [\\/]* | ?:[\\/]* )  # Absolute name.
   14593     ac_srcdir=$srcdir$ac_dir_suffix;
   14594     ac_top_srcdir=$srcdir
   14595     ac_abs_top_srcdir=$srcdir ;;
   14596   *) # Relative name.
   14597     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   14598     ac_top_srcdir=$ac_top_build_prefix$srcdir
   14599     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   14600 esac
   14601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   14602 
   14603 
   14604   case $ac_mode in
   14605   :F)
   14606   #
   14607   # CONFIG_FILE
   14608   #
   14609 
   14610   case $INSTALL in
   14611   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14612   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   14613   esac
   14614   ac_MKDIR_P=$MKDIR_P
   14615   case $MKDIR_P in
   14616   [\\/$]* | ?:[\\/]* ) ;;
   14617   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   14618   esac
   14619 _ACEOF
   14620 
   14621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14622 # If the template does not know about datarootdir, expand it.
   14623 # FIXME: This hack should be removed a few years after 2.60.
   14624 ac_datarootdir_hack=; ac_datarootdir_seen=
   14625 ac_sed_dataroot='
   14626 /datarootdir/ {
   14627   p
   14628   q
   14629 }
   14630 /@datadir@/p
   14631 /@docdir@/p
   14632 /@infodir@/p
   14633 /@localedir@/p
   14634 /@mandir@/p'
   14635 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   14636 *datarootdir*) ac_datarootdir_seen=yes;;
   14637 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   14638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   14639 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   14640 _ACEOF
   14641 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14642   ac_datarootdir_hack='
   14643   s&@datadir@&$datadir&g
   14644   s&@docdir@&$docdir&g
   14645   s&@infodir@&$infodir&g
   14646   s&@localedir@&$localedir&g
   14647   s&@mandir@&$mandir&g
   14648   s&\\\${datarootdir}&$datarootdir&g' ;;
   14649 esac
   14650 _ACEOF
   14651 
   14652 # Neutralize VPATH when `$srcdir' = `.'.
   14653 # Shell code in configure.ac might set extrasub.
   14654 # FIXME: do we really want to maintain this feature?
   14655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14656 ac_sed_extra="$ac_vpsub
   14657 $extrasub
   14658 _ACEOF
   14659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14660 :t
   14661 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14662 s|@configure_input@|$ac_sed_conf_input|;t t
   14663 s&@top_builddir@&$ac_top_builddir_sub&;t t
   14664 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   14665 s&@srcdir@&$ac_srcdir&;t t
   14666 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   14667 s&@top_srcdir@&$ac_top_srcdir&;t t
   14668 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   14669 s&@builddir@&$ac_builddir&;t t
   14670 s&@abs_builddir@&$ac_abs_builddir&;t t
   14671 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   14672 s&@INSTALL@&$ac_INSTALL&;t t
   14673 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   14674 $ac_datarootdir_hack
   14675 "
   14676 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   14677   || as_fn_error "could not create $ac_file" "$LINENO" 5
   14678 
   14679 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   14680   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   14681   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   14682   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14683 which seems to be undefined.  Please make sure it is defined." >&5
   14684 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   14685 which seems to be undefined.  Please make sure it is defined." >&2;}
   14686 
   14687   rm -f "$tmp/stdin"
   14688   case $ac_file in
   14689   -) cat "$tmp/out" && rm -f "$tmp/out";;
   14690   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   14691   esac \
   14692   || as_fn_error "could not create $ac_file" "$LINENO" 5
   14693  ;;
   14694   :H)
   14695   #
   14696   # CONFIG_HEADER
   14697   #
   14698   if test x"$ac_file" != x-; then
   14699     {
   14700       $as_echo "/* $configure_input  */" \
   14701       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   14702     } >"$tmp/config.h" \
   14703       || as_fn_error "could not create $ac_file" "$LINENO" 5
   14704     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   14705       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   14706 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   14707     else
   14708       rm -f "$ac_file"
   14709       mv "$tmp/config.h" "$ac_file" \
   14710 	|| as_fn_error "could not create $ac_file" "$LINENO" 5
   14711     fi
   14712   else
   14713     $as_echo "/* $configure_input  */" \
   14714       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   14715       || as_fn_error "could not create -" "$LINENO" 5
   14716   fi
   14717 # Compute "$ac_file"'s index in $config_headers.
   14718 _am_arg="$ac_file"
   14719 _am_stamp_count=1
   14720 for _am_header in $config_headers :; do
   14721   case $_am_header in
   14722     $_am_arg | $_am_arg:* )
   14723       break ;;
   14724     * )
   14725       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14726   esac
   14727 done
   14728 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   14729 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14730 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   14731 	 X"$_am_arg" : 'X\(//\)$' \| \
   14732 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   14733 $as_echo X"$_am_arg" |
   14734     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14735 	    s//\1/
   14736 	    q
   14737 	  }
   14738 	  /^X\(\/\/\)[^/].*/{
   14739 	    s//\1/
   14740 	    q
   14741 	  }
   14742 	  /^X\(\/\/\)$/{
   14743 	    s//\1/
   14744 	    q
   14745 	  }
   14746 	  /^X\(\/\).*/{
   14747 	    s//\1/
   14748 	    q
   14749 	  }
   14750 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14751  ;;
   14752 
   14753   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   14754 $as_echo "$as_me: executing $ac_file commands" >&6;}
   14755  ;;
   14756   esac
   14757 
   14758 
   14759   case $ac_file$ac_mode in
   14760     "default-1":C)
   14761 # Only add multilib support code if we just rebuilt the top-level
   14762 # Makefile.
   14763 case " $CONFIG_FILES " in
   14764  *" Makefile "*)
   14765    ac_file=Makefile . ${multi_basedir}/config-ml.in
   14766    ;;
   14767 esac ;;
   14768     "libtool":C)
   14769 
   14770     # See if we are running on zsh, and set the options which allow our
   14771     # commands through without removal of \ escapes.
   14772     if test -n "${ZSH_VERSION+set}" ; then
   14773       setopt NO_GLOB_SUBST
   14774     fi
   14775 
   14776     cfgfile="${ofile}T"
   14777     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   14778     $RM "$cfgfile"
   14779 
   14780     cat <<_LT_EOF >> "$cfgfile"
   14781 #! $SHELL
   14782 
   14783 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   14784 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   14785 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   14786 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   14787 #
   14788 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   14789 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   14790 #   Written by Gordon Matzigkeit, 1996
   14791 #
   14792 #   This file is part of GNU Libtool.
   14793 #
   14794 # GNU Libtool is free software; you can redistribute it and/or
   14795 # modify it under the terms of the GNU General Public License as
   14796 # published by the Free Software Foundation; either version 2 of
   14797 # the License, or (at your option) any later version.
   14798 #
   14799 # As a special exception to the GNU General Public License,
   14800 # if you distribute this file as part of a program or library that
   14801 # is built using GNU Libtool, you may include this file under the
   14802 # same distribution terms that you use for the rest of that program.
   14803 #
   14804 # GNU Libtool is distributed in the hope that it will be useful,
   14805 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   14806 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   14807 # GNU General Public License for more details.
   14808 #
   14809 # You should have received a copy of the GNU General Public License
   14810 # along with GNU Libtool; see the file COPYING.  If not, a copy
   14811 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   14812 # obtained by writing to the Free Software Foundation, Inc.,
   14813 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   14814 
   14815 
   14816 # The names of the tagged configurations supported by this script.
   14817 available_tags=""
   14818 
   14819 # ### BEGIN LIBTOOL CONFIG
   14820 
   14821 # Which release of libtool.m4 was used?
   14822 macro_version=$macro_version
   14823 macro_revision=$macro_revision
   14824 
   14825 # Whether or not to build shared libraries.
   14826 build_libtool_libs=$enable_shared
   14827 
   14828 # Whether or not to build static libraries.
   14829 build_old_libs=$enable_static
   14830 
   14831 # What type of objects to build.
   14832 pic_mode=$pic_mode
   14833 
   14834 # Whether or not to optimize for fast installation.
   14835 fast_install=$enable_fast_install
   14836 
   14837 # Shell to use when invoking shell scripts.
   14838 SHELL=$lt_SHELL
   14839 
   14840 # An echo program that protects backslashes.
   14841 ECHO=$lt_ECHO
   14842 
   14843 # The host system.
   14844 host_alias=$host_alias
   14845 host=$host
   14846 host_os=$host_os
   14847 
   14848 # The build system.
   14849 build_alias=$build_alias
   14850 build=$build
   14851 build_os=$build_os
   14852 
   14853 # A sed program that does not truncate output.
   14854 SED=$lt_SED
   14855 
   14856 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   14857 Xsed="\$SED -e 1s/^X//"
   14858 
   14859 # A grep program that handles long lines.
   14860 GREP=$lt_GREP
   14861 
   14862 # An ERE matcher.
   14863 EGREP=$lt_EGREP
   14864 
   14865 # A literal string matcher.
   14866 FGREP=$lt_FGREP
   14867 
   14868 # A BSD- or MS-compatible name lister.
   14869 NM=$lt_NM
   14870 
   14871 # Whether we need soft or hard links.
   14872 LN_S=$lt_LN_S
   14873 
   14874 # What is the maximum length of a command?
   14875 max_cmd_len=$max_cmd_len
   14876 
   14877 # Object file suffix (normally "o").
   14878 objext=$ac_objext
   14879 
   14880 # Executable file suffix (normally "").
   14881 exeext=$exeext
   14882 
   14883 # whether the shell understands "unset".
   14884 lt_unset=$lt_unset
   14885 
   14886 # turn spaces into newlines.
   14887 SP2NL=$lt_lt_SP2NL
   14888 
   14889 # turn newlines into spaces.
   14890 NL2SP=$lt_lt_NL2SP
   14891 
   14892 # An object symbol dumper.
   14893 OBJDUMP=$lt_OBJDUMP
   14894 
   14895 # Method to check whether dependent libraries are shared objects.
   14896 deplibs_check_method=$lt_deplibs_check_method
   14897 
   14898 # Command to use when deplibs_check_method == "file_magic".
   14899 file_magic_cmd=$lt_file_magic_cmd
   14900 
   14901 # The archiver.
   14902 AR=$lt_AR
   14903 AR_FLAGS=$lt_AR_FLAGS
   14904 
   14905 # A symbol stripping program.
   14906 STRIP=$lt_STRIP
   14907 
   14908 # Commands used to install an old-style archive.
   14909 RANLIB=$lt_RANLIB
   14910 old_postinstall_cmds=$lt_old_postinstall_cmds
   14911 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14912 
   14913 # Whether to use a lock for old archive extraction.
   14914 lock_old_archive_extraction=$lock_old_archive_extraction
   14915 
   14916 # A C compiler.
   14917 LTCC=$lt_CC
   14918 
   14919 # LTCC compiler flags.
   14920 LTCFLAGS=$lt_CFLAGS
   14921 
   14922 # Take the output of nm and produce a listing of raw symbols and C names.
   14923 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14924 
   14925 # Transform the output of nm in a proper C declaration.
   14926 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14927 
   14928 # Transform the output of nm in a C name address pair.
   14929 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14930 
   14931 # Transform the output of nm in a C name address pair when lib prefix is needed.
   14932 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   14933 
   14934 # The name of the directory that contains temporary libtool files.
   14935 objdir=$objdir
   14936 
   14937 # Used to examine libraries when file_magic_cmd begins with "file".
   14938 MAGIC_CMD=$MAGIC_CMD
   14939 
   14940 # Must we lock files when doing compilation?
   14941 need_locks=$lt_need_locks
   14942 
   14943 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   14944 DSYMUTIL=$lt_DSYMUTIL
   14945 
   14946 # Tool to change global to local symbols on Mac OS X.
   14947 NMEDIT=$lt_NMEDIT
   14948 
   14949 # Tool to manipulate fat objects and archives on Mac OS X.
   14950 LIPO=$lt_LIPO
   14951 
   14952 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   14953 OTOOL=$lt_OTOOL
   14954 
   14955 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   14956 OTOOL64=$lt_OTOOL64
   14957 
   14958 # Old archive suffix (normally "a").
   14959 libext=$libext
   14960 
   14961 # Shared library suffix (normally ".so").
   14962 shrext_cmds=$lt_shrext_cmds
   14963 
   14964 # The commands to extract the exported symbol list from a shared archive.
   14965 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14966 
   14967 # Variables whose values should be saved in libtool wrapper scripts and
   14968 # restored at link time.
   14969 variables_saved_for_relink=$lt_variables_saved_for_relink
   14970 
   14971 # Do we need the "lib" prefix for modules?
   14972 need_lib_prefix=$need_lib_prefix
   14973 
   14974 # Do we need a version for libraries?
   14975 need_version=$need_version
   14976 
   14977 # Library versioning type.
   14978 version_type=$version_type
   14979 
   14980 # Shared library runtime path variable.
   14981 runpath_var=$runpath_var
   14982 
   14983 # Shared library path variable.
   14984 shlibpath_var=$shlibpath_var
   14985 
   14986 # Is shlibpath searched before the hard-coded library search path?
   14987 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14988 
   14989 # Format of library name prefix.
   14990 libname_spec=$lt_libname_spec
   14991 
   14992 # List of archive names.  First name is the real one, the rest are links.
   14993 # The last name is the one that the linker finds with -lNAME
   14994 library_names_spec=$lt_library_names_spec
   14995 
   14996 # The coded name of the library, if different from the real name.
   14997 soname_spec=$lt_soname_spec
   14998 
   14999 # Permission mode override for installation of shared libraries.
   15000 install_override_mode=$lt_install_override_mode
   15001 
   15002 # Command to use after installation of a shared archive.
   15003 postinstall_cmds=$lt_postinstall_cmds
   15004 
   15005 # Command to use after uninstallation of a shared archive.
   15006 postuninstall_cmds=$lt_postuninstall_cmds
   15007 
   15008 # Commands used to finish a libtool library installation in a directory.
   15009 finish_cmds=$lt_finish_cmds
   15010 
   15011 # As "finish_cmds", except a single script fragment to be evaled but
   15012 # not shown.
   15013 finish_eval=$lt_finish_eval
   15014 
   15015 # Whether we should hardcode library paths into libraries.
   15016 hardcode_into_libs=$hardcode_into_libs
   15017 
   15018 # Compile-time system search path for libraries.
   15019 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15020 
   15021 # Run-time system search path for libraries.
   15022 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15023 
   15024 # Whether dlopen is supported.
   15025 dlopen_support=$enable_dlopen
   15026 
   15027 # Whether dlopen of programs is supported.
   15028 dlopen_self=$enable_dlopen_self
   15029 
   15030 # Whether dlopen of statically linked programs is supported.
   15031 dlopen_self_static=$enable_dlopen_self_static
   15032 
   15033 # Commands to strip libraries.
   15034 old_striplib=$lt_old_striplib
   15035 striplib=$lt_striplib
   15036 
   15037 
   15038 # The linker used to build libraries.
   15039 LD=$lt_LD
   15040 
   15041 # How to create reloadable object files.
   15042 reload_flag=$lt_reload_flag
   15043 reload_cmds=$lt_reload_cmds
   15044 
   15045 # Commands used to build an old-style archive.
   15046 old_archive_cmds=$lt_old_archive_cmds
   15047 
   15048 # A language specific compiler.
   15049 CC=$lt_compiler
   15050 
   15051 # Is the compiler the GNU compiler?
   15052 with_gcc=$GCC
   15053 
   15054 # Compiler flag to turn off builtin functions.
   15055 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15056 
   15057 # How to pass a linker flag through the compiler.
   15058 wl=$lt_lt_prog_compiler_wl
   15059 
   15060 # Additional compiler flags for building library objects.
   15061 pic_flag=$lt_lt_prog_compiler_pic
   15062 
   15063 # Compiler flag to prevent dynamic linking.
   15064 link_static_flag=$lt_lt_prog_compiler_static
   15065 
   15066 # Does compiler simultaneously support -c and -o options?
   15067 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15068 
   15069 # Whether or not to add -lc for building shared libraries.
   15070 build_libtool_need_lc=$archive_cmds_need_lc
   15071 
   15072 # Whether or not to disallow shared libs when runtime libs are static.
   15073 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15074 
   15075 # Compiler flag to allow reflexive dlopens.
   15076 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15077 
   15078 # Compiler flag to generate shared objects directly from archives.
   15079 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15080 
   15081 # Whether the compiler copes with passing no objects directly.
   15082 compiler_needs_object=$lt_compiler_needs_object
   15083 
   15084 # Create an old-style archive from a shared archive.
   15085 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15086 
   15087 # Create a temporary old-style archive to link instead of a shared archive.
   15088 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15089 
   15090 # Commands used to build a shared archive.
   15091 archive_cmds=$lt_archive_cmds
   15092 archive_expsym_cmds=$lt_archive_expsym_cmds
   15093 
   15094 # Commands used to build a loadable module if different from building
   15095 # a shared archive.
   15096 module_cmds=$lt_module_cmds
   15097 module_expsym_cmds=$lt_module_expsym_cmds
   15098 
   15099 # Whether we are building with GNU ld or not.
   15100 with_gnu_ld=$lt_with_gnu_ld
   15101 
   15102 # Flag that allows shared libraries with undefined symbols to be built.
   15103 allow_undefined_flag=$lt_allow_undefined_flag
   15104 
   15105 # Flag that enforces no undefined symbols.
   15106 no_undefined_flag=$lt_no_undefined_flag
   15107 
   15108 # Flag to hardcode \$libdir into a binary during linking.
   15109 # This must work even if \$libdir does not exist
   15110 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15111 
   15112 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15113 # during linking.  This must work even if \$libdir does not exist.
   15114 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15115 
   15116 # Whether we need a single "-rpath" flag with a separated argument.
   15117 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15118 
   15119 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15120 # DIR into the resulting binary.
   15121 hardcode_direct=$hardcode_direct
   15122 
   15123 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15124 # DIR into the resulting binary and the resulting library dependency is
   15125 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15126 # library is relocated.
   15127 hardcode_direct_absolute=$hardcode_direct_absolute
   15128 
   15129 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15130 # into the resulting binary.
   15131 hardcode_minus_L=$hardcode_minus_L
   15132 
   15133 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15134 # into the resulting binary.
   15135 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15136 
   15137 # Set to "yes" if building a shared library automatically hardcodes DIR
   15138 # into the library and all subsequent libraries and executables linked
   15139 # against it.
   15140 hardcode_automatic=$hardcode_automatic
   15141 
   15142 # Set to yes if linker adds runtime paths of dependent libraries
   15143 # to runtime path list.
   15144 inherit_rpath=$inherit_rpath
   15145 
   15146 # Whether libtool must link a program against all its dependency libraries.
   15147 link_all_deplibs=$link_all_deplibs
   15148 
   15149 # Fix the shell variable \$srcfile for the compiler.
   15150 fix_srcfile_path=$lt_fix_srcfile_path
   15151 
   15152 # Set to "yes" if exported symbols are required.
   15153 always_export_symbols=$always_export_symbols
   15154 
   15155 # The commands to list exported symbols.
   15156 export_symbols_cmds=$lt_export_symbols_cmds
   15157 
   15158 # Symbols that should not be listed in the preloaded symbols.
   15159 exclude_expsyms=$lt_exclude_expsyms
   15160 
   15161 # Symbols that must always be exported.
   15162 include_expsyms=$lt_include_expsyms
   15163 
   15164 # Commands necessary for linking programs (against libraries) with templates.
   15165 prelink_cmds=$lt_prelink_cmds
   15166 
   15167 # Specify filename containing input files.
   15168 file_list_spec=$lt_file_list_spec
   15169 
   15170 # How to hardcode a shared library path into an executable.
   15171 hardcode_action=$hardcode_action
   15172 
   15173 # ### END LIBTOOL CONFIG
   15174 
   15175 _LT_EOF
   15176 
   15177   case $host_os in
   15178   aix3*)
   15179     cat <<\_LT_EOF >> "$cfgfile"
   15180 # AIX sometimes has problems with the GCC collect2 program.  For some
   15181 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15182 # vanish in a puff of smoke.
   15183 if test "X${COLLECT_NAMES+set}" != Xset; then
   15184   COLLECT_NAMES=
   15185   export COLLECT_NAMES
   15186 fi
   15187 _LT_EOF
   15188     ;;
   15189   esac
   15190 
   15191 
   15192 ltmain="$ac_aux_dir/ltmain.sh"
   15193 
   15194 
   15195   # We use sed instead of cat because bash on DJGPP gets confused if
   15196   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15197   # text mode, it properly converts lines to CR/LF.  This bash problem
   15198   # is reportedly fixed, but why not run on old versions too?
   15199   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15200     || (rm -f "$cfgfile"; exit 1)
   15201 
   15202   case $xsi_shell in
   15203   yes)
   15204     cat << \_LT_EOF >> "$cfgfile"
   15205 
   15206 # func_dirname file append nondir_replacement
   15207 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15208 # otherwise set result to NONDIR_REPLACEMENT.
   15209 func_dirname ()
   15210 {
   15211   case ${1} in
   15212     */*) func_dirname_result="${1%/*}${2}" ;;
   15213     *  ) func_dirname_result="${3}" ;;
   15214   esac
   15215 }
   15216 
   15217 # func_basename file
   15218 func_basename ()
   15219 {
   15220   func_basename_result="${1##*/}"
   15221 }
   15222 
   15223 # func_dirname_and_basename file append nondir_replacement
   15224 # perform func_basename and func_dirname in a single function
   15225 # call:
   15226 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15227 #             add APPEND to the result, otherwise set result
   15228 #             to NONDIR_REPLACEMENT.
   15229 #             value returned in "$func_dirname_result"
   15230 #   basename: Compute filename of FILE.
   15231 #             value retuned in "$func_basename_result"
   15232 # Implementation must be kept synchronized with func_dirname
   15233 # and func_basename. For efficiency, we do not delegate to
   15234 # those functions but instead duplicate the functionality here.
   15235 func_dirname_and_basename ()
   15236 {
   15237   case ${1} in
   15238     */*) func_dirname_result="${1%/*}${2}" ;;
   15239     *  ) func_dirname_result="${3}" ;;
   15240   esac
   15241   func_basename_result="${1##*/}"
   15242 }
   15243 
   15244 # func_stripname prefix suffix name
   15245 # strip PREFIX and SUFFIX off of NAME.
   15246 # PREFIX and SUFFIX must not contain globbing or regex special
   15247 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15248 # dot (in which case that matches only a dot).
   15249 func_stripname ()
   15250 {
   15251   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15252   # positional parameters, so assign one to ordinary parameter first.
   15253   func_stripname_result=${3}
   15254   func_stripname_result=${func_stripname_result#"${1}"}
   15255   func_stripname_result=${func_stripname_result%"${2}"}
   15256 }
   15257 
   15258 # func_opt_split
   15259 func_opt_split ()
   15260 {
   15261   func_opt_split_opt=${1%%=*}
   15262   func_opt_split_arg=${1#*=}
   15263 }
   15264 
   15265 # func_lo2o object
   15266 func_lo2o ()
   15267 {
   15268   case ${1} in
   15269     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15270     *)    func_lo2o_result=${1} ;;
   15271   esac
   15272 }
   15273 
   15274 # func_xform libobj-or-source
   15275 func_xform ()
   15276 {
   15277   func_xform_result=${1%.*}.lo
   15278 }
   15279 
   15280 # func_arith arithmetic-term...
   15281 func_arith ()
   15282 {
   15283   func_arith_result=$(( $* ))
   15284 }
   15285 
   15286 # func_len string
   15287 # STRING may not start with a hyphen.
   15288 func_len ()
   15289 {
   15290   func_len_result=${#1}
   15291 }
   15292 
   15293 _LT_EOF
   15294     ;;
   15295   *) # Bourne compatible functions.
   15296     cat << \_LT_EOF >> "$cfgfile"
   15297 
   15298 # func_dirname file append nondir_replacement
   15299 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15300 # otherwise set result to NONDIR_REPLACEMENT.
   15301 func_dirname ()
   15302 {
   15303   # Extract subdirectory from the argument.
   15304   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   15305   if test "X$func_dirname_result" = "X${1}"; then
   15306     func_dirname_result="${3}"
   15307   else
   15308     func_dirname_result="$func_dirname_result${2}"
   15309   fi
   15310 }
   15311 
   15312 # func_basename file
   15313 func_basename ()
   15314 {
   15315   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   15316 }
   15317 
   15318 
   15319 # func_stripname prefix suffix name
   15320 # strip PREFIX and SUFFIX off of NAME.
   15321 # PREFIX and SUFFIX must not contain globbing or regex special
   15322 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15323 # dot (in which case that matches only a dot).
   15324 # func_strip_suffix prefix name
   15325 func_stripname ()
   15326 {
   15327   case ${2} in
   15328     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   15329     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   15330   esac
   15331 }
   15332 
   15333 # sed scripts:
   15334 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15335 my_sed_long_arg='1s/^-[^=]*=//'
   15336 
   15337 # func_opt_split
   15338 func_opt_split ()
   15339 {
   15340   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   15341   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   15342 }
   15343 
   15344 # func_lo2o object
   15345 func_lo2o ()
   15346 {
   15347   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   15348 }
   15349 
   15350 # func_xform libobj-or-source
   15351 func_xform ()
   15352 {
   15353   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   15354 }
   15355 
   15356 # func_arith arithmetic-term...
   15357 func_arith ()
   15358 {
   15359   func_arith_result=`expr "$@"`
   15360 }
   15361 
   15362 # func_len string
   15363 # STRING may not start with a hyphen.
   15364 func_len ()
   15365 {
   15366   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   15367 }
   15368 
   15369 _LT_EOF
   15370 esac
   15371 
   15372 case $lt_shell_append in
   15373   yes)
   15374     cat << \_LT_EOF >> "$cfgfile"
   15375 
   15376 # func_append var value
   15377 # Append VALUE to the end of shell variable VAR.
   15378 func_append ()
   15379 {
   15380   eval "$1+=\$2"
   15381 }
   15382 _LT_EOF
   15383     ;;
   15384   *)
   15385     cat << \_LT_EOF >> "$cfgfile"
   15386 
   15387 # func_append var value
   15388 # Append VALUE to the end of shell variable VAR.
   15389 func_append ()
   15390 {
   15391   eval "$1=\$$1\$2"
   15392 }
   15393 
   15394 _LT_EOF
   15395     ;;
   15396   esac
   15397 
   15398 
   15399   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15400     || (rm -f "$cfgfile"; exit 1)
   15401 
   15402   mv -f "$cfgfile" "$ofile" ||
   15403     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15404   chmod +x "$ofile"
   15405 
   15406  ;;
   15407     "gstdint.h":C)
   15408 if test "$GCC" = yes; then
   15409   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
   15410 else
   15411   echo "/* generated for $CC */" > tmp-stdint.h
   15412 fi
   15413 
   15414 sed 's/^ *//' >> tmp-stdint.h <<EOF
   15415 
   15416   #ifndef GCC_GENERATED_STDINT_H
   15417   #define GCC_GENERATED_STDINT_H 1
   15418 
   15419   #include <sys/types.h>
   15420 EOF
   15421 
   15422 if test "$acx_cv_header_stdint" != stdint.h; then
   15423   echo "#include <stddef.h>" >> tmp-stdint.h
   15424 fi
   15425 if test "$acx_cv_header_stdint" != stddef.h; then
   15426   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
   15427 fi
   15428 
   15429 sed 's/^ *//' >> tmp-stdint.h <<EOF
   15430   /* glibc uses these symbols as guards to prevent redefinitions.  */
   15431   #ifdef __int8_t_defined
   15432   #define _INT8_T
   15433   #define _INT16_T
   15434   #define _INT32_T
   15435   #endif
   15436   #ifdef __uint32_t_defined
   15437   #define _UINT32_T
   15438   #endif
   15439 
   15440 EOF
   15441 
   15442 # ----------------- done header, emit basic int types -------------
   15443 if test "$acx_cv_header_stdint" = stddef.h; then
   15444   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15445 
   15446     #ifndef _UINT8_T
   15447     #define _UINT8_T
   15448     #ifndef __uint8_t_defined
   15449     #define __uint8_t_defined
   15450     #ifndef uint8_t
   15451     typedef unsigned $acx_cv_type_int8_t uint8_t;
   15452     #endif
   15453     #endif
   15454     #endif
   15455 
   15456     #ifndef _UINT16_T
   15457     #define _UINT16_T
   15458     #ifndef __uint16_t_defined
   15459     #define __uint16_t_defined
   15460     #ifndef uint16_t
   15461     typedef unsigned $acx_cv_type_int16_t uint16_t;
   15462     #endif
   15463     #endif
   15464     #endif
   15465 
   15466     #ifndef _UINT32_T
   15467     #define _UINT32_T
   15468     #ifndef __uint32_t_defined
   15469     #define __uint32_t_defined
   15470     #ifndef uint32_t
   15471     typedef unsigned $acx_cv_type_int32_t uint32_t;
   15472     #endif
   15473     #endif
   15474     #endif
   15475 
   15476     #ifndef _INT8_T
   15477     #define _INT8_T
   15478     #ifndef __int8_t_defined
   15479     #define __int8_t_defined
   15480     #ifndef int8_t
   15481     typedef $acx_cv_type_int8_t int8_t;
   15482     #endif
   15483     #endif
   15484     #endif
   15485 
   15486     #ifndef _INT16_T
   15487     #define _INT16_T
   15488     #ifndef __int16_t_defined
   15489     #define __int16_t_defined
   15490     #ifndef int16_t
   15491     typedef $acx_cv_type_int16_t int16_t;
   15492     #endif
   15493     #endif
   15494     #endif
   15495 
   15496     #ifndef _INT32_T
   15497     #define _INT32_T
   15498     #ifndef __int32_t_defined
   15499     #define __int32_t_defined
   15500     #ifndef int32_t
   15501     typedef $acx_cv_type_int32_t int32_t;
   15502     #endif
   15503     #endif
   15504     #endif
   15505 EOF
   15506 elif test "$ac_cv_type_u_int32_t" = yes; then
   15507   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15508 
   15509     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
   15510     #ifndef _INT8_T
   15511     #define _INT8_T
   15512     #endif
   15513     #ifndef _INT16_T
   15514     #define _INT16_T
   15515     #endif
   15516     #ifndef _INT32_T
   15517     #define _INT32_T
   15518     #endif
   15519 
   15520     #ifndef _UINT8_T
   15521     #define _UINT8_T
   15522     #ifndef __uint8_t_defined
   15523     #define __uint8_t_defined
   15524     #ifndef uint8_t
   15525     typedef u_int8_t uint8_t;
   15526     #endif
   15527     #endif
   15528     #endif
   15529 
   15530     #ifndef _UINT16_T
   15531     #define _UINT16_T
   15532     #ifndef __uint16_t_defined
   15533     #define __uint16_t_defined
   15534     #ifndef uint16_t
   15535     typedef u_int16_t uint16_t;
   15536     #endif
   15537     #endif
   15538     #endif
   15539 
   15540     #ifndef _UINT32_T
   15541     #define _UINT32_T
   15542     #ifndef __uint32_t_defined
   15543     #define __uint32_t_defined
   15544     #ifndef uint32_t
   15545     typedef u_int32_t uint32_t;
   15546     #endif
   15547     #endif
   15548     #endif
   15549 EOF
   15550 else
   15551   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15552 
   15553     /* Some systems have guard macros to prevent redefinitions, define them.  */
   15554     #ifndef _INT8_T
   15555     #define _INT8_T
   15556     #endif
   15557     #ifndef _INT16_T
   15558     #define _INT16_T
   15559     #endif
   15560     #ifndef _INT32_T
   15561     #define _INT32_T
   15562     #endif
   15563     #ifndef _UINT8_T
   15564     #define _UINT8_T
   15565     #endif
   15566     #ifndef _UINT16_T
   15567     #define _UINT16_T
   15568     #endif
   15569     #ifndef _UINT32_T
   15570     #define _UINT32_T
   15571     #endif
   15572 EOF
   15573 fi
   15574 
   15575 # ------------- done basic int types, emit int64_t types ------------
   15576 if test "$ac_cv_type_uint64_t" = yes; then
   15577   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15578 
   15579     /* system headers have good uint64_t and int64_t */
   15580     #ifndef _INT64_T
   15581     #define _INT64_T
   15582     #endif
   15583     #ifndef _UINT64_T
   15584     #define _UINT64_T
   15585     #endif
   15586 EOF
   15587 elif test "$ac_cv_type_u_int64_t" = yes; then
   15588   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15589 
   15590     /* system headers have an u_int64_t (and int64_t) */
   15591     #ifndef _INT64_T
   15592     #define _INT64_T
   15593     #endif
   15594     #ifndef _UINT64_T
   15595     #define _UINT64_T
   15596     #ifndef __uint64_t_defined
   15597     #define __uint64_t_defined
   15598     #ifndef uint64_t
   15599     typedef u_int64_t uint64_t;
   15600     #endif
   15601     #endif
   15602     #endif
   15603 EOF
   15604 elif test -n "$acx_cv_type_int64_t"; then
   15605   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15606 
   15607     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
   15608     #ifndef _INT64_T
   15609     #define _INT64_T
   15610     #ifndef int64_t
   15611     typedef $acx_cv_type_int64_t int64_t;
   15612     #endif
   15613     #endif
   15614     #ifndef _UINT64_T
   15615     #define _UINT64_T
   15616     #ifndef __uint64_t_defined
   15617     #define __uint64_t_defined
   15618     #ifndef uint64_t
   15619     typedef unsigned $acx_cv_type_int64_t uint64_t;
   15620     #endif
   15621     #endif
   15622     #endif
   15623 EOF
   15624 else
   15625   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15626 
   15627     /* some common heuristics for int64_t, using compiler-specific tests */
   15628     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
   15629     #ifndef _INT64_T
   15630     #define _INT64_T
   15631     #ifndef __int64_t_defined
   15632     #ifndef int64_t
   15633     typedef long long int64_t;
   15634     #endif
   15635     #endif
   15636     #endif
   15637     #ifndef _UINT64_T
   15638     #define _UINT64_T
   15639     #ifndef uint64_t
   15640     typedef unsigned long long uint64_t;
   15641     #endif
   15642     #endif
   15643 
   15644     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
   15645     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
   15646        does not implement __extension__.  But that compiler doesn't define
   15647        __GNUC_MINOR__.  */
   15648     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
   15649     # define __extension__
   15650     # endif
   15651 
   15652     # ifndef _INT64_T
   15653     # define _INT64_T
   15654     # ifndef int64_t
   15655     __extension__ typedef long long int64_t;
   15656     # endif
   15657     # endif
   15658     # ifndef _UINT64_T
   15659     # define _UINT64_T
   15660     # ifndef uint64_t
   15661     __extension__ typedef unsigned long long uint64_t;
   15662     # endif
   15663     # endif
   15664 
   15665     #elif !defined __STRICT_ANSI__
   15666     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
   15667 
   15668     #  ifndef _INT64_T
   15669     #  define _INT64_T
   15670     #  ifndef int64_t
   15671     typedef __int64 int64_t;
   15672     #  endif
   15673     #  endif
   15674     #  ifndef _UINT64_T
   15675     #  define _UINT64_T
   15676     #  ifndef uint64_t
   15677     typedef unsigned __int64 uint64_t;
   15678     #  endif
   15679     #  endif
   15680     # endif /* compiler */
   15681 
   15682     #endif /* ANSI version */
   15683 EOF
   15684 fi
   15685 
   15686 # ------------- done int64_t types, emit intptr types ------------
   15687 if test "$ac_cv_type_uintptr_t" != yes; then
   15688   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15689 
   15690     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
   15691     #ifndef __uintptr_t_defined
   15692     #ifndef uintptr_t
   15693     typedef u$acx_cv_type_intptr_t uintptr_t;
   15694     #endif
   15695     #endif
   15696     #ifndef __intptr_t_defined
   15697     #ifndef intptr_t
   15698     typedef $acx_cv_type_intptr_t  intptr_t;
   15699     #endif
   15700     #endif
   15701 EOF
   15702 fi
   15703 
   15704 # ------------- done intptr types, emit int_least types ------------
   15705 if test "$ac_cv_type_int_least32_t" != yes; then
   15706   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15707 
   15708     /* Define int_least types */
   15709     typedef int8_t     int_least8_t;
   15710     typedef int16_t    int_least16_t;
   15711     typedef int32_t    int_least32_t;
   15712     #ifdef _INT64_T
   15713     typedef int64_t    int_least64_t;
   15714     #endif
   15715 
   15716     typedef uint8_t    uint_least8_t;
   15717     typedef uint16_t   uint_least16_t;
   15718     typedef uint32_t   uint_least32_t;
   15719     #ifdef _UINT64_T
   15720     typedef uint64_t   uint_least64_t;
   15721     #endif
   15722 EOF
   15723 fi
   15724 
   15725 # ------------- done intptr types, emit int_fast types ------------
   15726 if test "$ac_cv_type_int_fast32_t" != yes; then
   15727       sed 's/^ *//' >> tmp-stdint.h <<EOF
   15728 
   15729     /* Define int_fast types.  short is often slow */
   15730     typedef int8_t       int_fast8_t;
   15731     typedef int          int_fast16_t;
   15732     typedef int32_t      int_fast32_t;
   15733     #ifdef _INT64_T
   15734     typedef int64_t      int_fast64_t;
   15735     #endif
   15736 
   15737     typedef uint8_t      uint_fast8_t;
   15738     typedef unsigned int uint_fast16_t;
   15739     typedef uint32_t     uint_fast32_t;
   15740     #ifdef _UINT64_T
   15741     typedef uint64_t     uint_fast64_t;
   15742     #endif
   15743 EOF
   15744 fi
   15745 
   15746 if test "$ac_cv_type_uintmax_t" != yes; then
   15747   sed 's/^ *//' >> tmp-stdint.h <<EOF
   15748 
   15749     /* Define intmax based on what we found */
   15750     #ifndef intmax_t
   15751     #ifdef _INT64_T
   15752     typedef int64_t       intmax_t;
   15753     #else
   15754     typedef long          intmax_t;
   15755     #endif
   15756     #endif
   15757     #ifndef uintmax_t
   15758     #ifdef _UINT64_T
   15759     typedef uint64_t      uintmax_t;
   15760     #else
   15761     typedef unsigned long uintmax_t;
   15762     #endif
   15763     #endif
   15764 EOF
   15765 fi
   15766 
   15767 sed 's/^ *//' >> tmp-stdint.h <<EOF
   15768 
   15769   #endif /* GCC_GENERATED_STDINT_H */
   15770 EOF
   15771 
   15772 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
   15773   rm -f tmp-stdint.h
   15774 else
   15775   mv -f tmp-stdint.h gstdint.h
   15776 fi
   15777 
   15778  ;;
   15779     "default":C) if test -n "$CONFIG_FILES"; then
   15780    if test -n "${with_target_subdir}"; then
   15781      # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
   15782      # that multilib installs will end up installed in the correct place.
   15783      # The testsuite needs it for multilib-aware ABI baseline files.
   15784      # To work around this not being passed down from config-ml.in ->
   15785      # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
   15786      # append it here.  Only modify Makefiles that have just been created.
   15787      #
   15788      # Also, get rid of this simulated-VPATH thing that automake does.
   15789      cat > vpsed << \_EOF
   15790   s!`test -f '$<' || echo '$(srcdir)/'`!!
   15791 _EOF
   15792      for i in $SUBDIRS; do
   15793       case $CONFIG_FILES in
   15794        *${i}/Makefile*)
   15795 	 #echo "Adding MULTISUBDIR to $i/Makefile"
   15796 	 sed -f vpsed $i/Makefile > tmp
   15797 	 grep '^MULTISUBDIR =' Makefile >> tmp
   15798 	 mv tmp $i/Makefile
   15799 	 ;;
   15800       esac
   15801      done
   15802      rm vpsed
   15803    fi
   15804  fi
   15805  ;;
   15806 
   15807   esac
   15808 done # for ac_tag
   15809 
   15810 
   15811 as_fn_exit 0
   15812 _ACEOF
   15813 ac_clean_files=$ac_clean_files_save
   15814 
   15815 test $ac_write_fail = 0 ||
   15816   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
   15817 
   15818 
   15819 # configure is writing to config.log, and then calls config.status.
   15820 # config.status does its own redirection, appending to config.log.
   15821 # Unfortunately, on DOS this fails, as config.log is still kept open
   15822 # by configure, so config.status won't be able to write to it; its
   15823 # output is simply discarded.  So we exec the FD to /dev/null,
   15824 # effectively closing config.log, so it can be properly (re)opened and
   15825 # appended to by config.status.  When coming back to configure, we
   15826 # need to make the FD available again.
   15827 if test "$no_create" != yes; then
   15828   ac_cs_success=:
   15829   ac_config_status_args=
   15830   test "$silent" = yes &&
   15831     ac_config_status_args="$ac_config_status_args --quiet"
   15832   exec 5>/dev/null
   15833   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15834   exec 5>>config.log
   15835   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15836   # would make configure fail if this is the last instruction.
   15837   $ac_cs_success || as_fn_exit $?
   15838 fi
   15839 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   15840   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   15841 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   15842 fi
   15843 
   15844