Home | History | Annotate | Download | only in libffi
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.61 for libffi 3.0.6.
      4 #
      5 # Report bugs to <http://gcc.gnu.org/bugs.html>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      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   # Zsh 3.x and 4.x performs 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*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 # The user is always right.
     43 if test "${PATH_SEPARATOR+set}" != set; then
     44   echo "#! /bin/sh" >conf$$.sh
     45   echo  "exit 0"   >>conf$$.sh
     46   chmod +x conf$$.sh
     47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48     PATH_SEPARATOR=';'
     49   else
     50     PATH_SEPARATOR=:
     51   fi
     52   rm -f conf$$.sh
     53 fi
     54 
     55 # Support unset when possible.
     56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     57   as_unset=unset
     58 else
     59   as_unset=false
     60 fi
     61 
     62 
     63 # IFS
     64 # We need space, tab and new line, in precisely that order.  Quoting is
     65 # there to prevent editors from complaining about space-tab.
     66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     67 # splitting by setting IFS to empty value.)
     68 as_nl='
     69 '
     70 IFS=" ""	$as_nl"
     71 
     72 # Find who we are.  Look in the path if we contain no directory separator.
     73 case $0 in
     74   *[\\/]* ) as_myself=$0 ;;
     75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     76 for as_dir in $PATH
     77 do
     78   IFS=$as_save_IFS
     79   test -z "$as_dir" && as_dir=.
     80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     81 done
     82 IFS=$as_save_IFS
     83 
     84      ;;
     85 esac
     86 # We did not find ourselves, most probably we were run as `sh COMMAND'
     87 # in which case we are not to be found in the path.
     88 if test "x$as_myself" = x; then
     89   as_myself=$0
     90 fi
     91 if test ! -f "$as_myself"; then
     92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     93   { (exit 1); exit 1; }
     94 fi
     95 
     96 # Work around bugs in pre-3.0 UWIN ksh.
     97 for as_var in ENV MAIL MAILPATH
     98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     99 done
    100 PS1='$ '
    101 PS2='> '
    102 PS4='+ '
    103 
    104 # NLS nuisances.
    105 for as_var in \
    106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    108   LC_TELEPHONE LC_TIME
    109 do
    110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    111     eval $as_var=C; export $as_var
    112   else
    113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    114   fi
    115 done
    116 
    117 # Required to use basename.
    118 if expr a : '\(a\)' >/dev/null 2>&1 &&
    119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    120   as_expr=expr
    121 else
    122   as_expr=false
    123 fi
    124 
    125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    126   as_basename=basename
    127 else
    128   as_basename=false
    129 fi
    130 
    131 
    132 # Name of the executable.
    133 as_me=`$as_basename -- "$0" ||
    134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    135 	 X"$0" : 'X\(//\)$' \| \
    136 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    137 echo X/"$0" |
    138     sed '/^.*\/\([^/][^/]*\)\/*$/{
    139 	    s//\1/
    140 	    q
    141 	  }
    142 	  /^X\/\(\/\/\)$/{
    143 	    s//\1/
    144 	    q
    145 	  }
    146 	  /^X\/\(\/\).*/{
    147 	    s//\1/
    148 	    q
    149 	  }
    150 	  s/.*/./; q'`
    151 
    152 # CDPATH.
    153 $as_unset CDPATH
    154 
    155 
    156 if test "x$CONFIG_SHELL" = x; then
    157   if (eval ":") 2>/dev/null; then
    158   as_have_required=yes
    159 else
    160   as_have_required=no
    161 fi
    162 
    163   if test $as_have_required = yes && 	 (eval ":
    164 (as_func_return () {
    165   (exit \$1)
    166 }
    167 as_func_success () {
    168   as_func_return 0
    169 }
    170 as_func_failure () {
    171   as_func_return 1
    172 }
    173 as_func_ret_success () {
    174   return 0
    175 }
    176 as_func_ret_failure () {
    177   return 1
    178 }
    179 
    180 exitcode=0
    181 if as_func_success; then
    182   :
    183 else
    184   exitcode=1
    185   echo as_func_success failed.
    186 fi
    187 
    188 if as_func_failure; then
    189   exitcode=1
    190   echo as_func_failure succeeded.
    191 fi
    192 
    193 if as_func_ret_success; then
    194   :
    195 else
    196   exitcode=1
    197   echo as_func_ret_success failed.
    198 fi
    199 
    200 if as_func_ret_failure; then
    201   exitcode=1
    202   echo as_func_ret_failure succeeded.
    203 fi
    204 
    205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    206   :
    207 else
    208   exitcode=1
    209   echo positional parameters were not saved.
    210 fi
    211 
    212 test \$exitcode = 0) || { (exit 1); exit 1; }
    213 
    214 (
    215   as_lineno_1=\$LINENO
    216   as_lineno_2=\$LINENO
    217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    219 ") 2> /dev/null; then
    220   :
    221 else
    222   as_candidate_shells=
    223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    225 do
    226   IFS=$as_save_IFS
    227   test -z "$as_dir" && as_dir=.
    228   case $as_dir in
    229 	 /*)
    230 	   for as_base in sh bash ksh sh5; do
    231 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    232 	   done;;
    233        esac
    234 done
    235 IFS=$as_save_IFS
    236 
    237 
    238       for as_shell in $as_candidate_shells $SHELL; do
    239 	 # Try only shells that exist, to save several forks.
    240 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    241 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    243   emulate sh
    244   NULLCMD=:
    245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    246   # is contrary to our usage.  Disable this feature.
    247   alias -g '${1+"$@"}'='"$@"'
    248   setopt NO_GLOB_SUBST
    249 else
    250   case `(set -o) 2>/dev/null` in
    251   *posix*) set -o posix ;;
    252 esac
    253 
    254 fi
    255 
    256 
    257 :
    258 _ASEOF
    259 }; then
    260   CONFIG_SHELL=$as_shell
    261 	       as_have_required=yes
    262 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    264   emulate sh
    265   NULLCMD=:
    266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    267   # is contrary to our usage.  Disable this feature.
    268   alias -g '${1+"$@"}'='"$@"'
    269   setopt NO_GLOB_SUBST
    270 else
    271   case `(set -o) 2>/dev/null` in
    272   *posix*) set -o posix ;;
    273 esac
    274 
    275 fi
    276 
    277 
    278 :
    279 (as_func_return () {
    280   (exit $1)
    281 }
    282 as_func_success () {
    283   as_func_return 0
    284 }
    285 as_func_failure () {
    286   as_func_return 1
    287 }
    288 as_func_ret_success () {
    289   return 0
    290 }
    291 as_func_ret_failure () {
    292   return 1
    293 }
    294 
    295 exitcode=0
    296 if as_func_success; then
    297   :
    298 else
    299   exitcode=1
    300   echo as_func_success failed.
    301 fi
    302 
    303 if as_func_failure; then
    304   exitcode=1
    305   echo as_func_failure succeeded.
    306 fi
    307 
    308 if as_func_ret_success; then
    309   :
    310 else
    311   exitcode=1
    312   echo as_func_ret_success failed.
    313 fi
    314 
    315 if as_func_ret_failure; then
    316   exitcode=1
    317   echo as_func_ret_failure succeeded.
    318 fi
    319 
    320 if ( set x; as_func_ret_success y && test x = "$1" ); then
    321   :
    322 else
    323   exitcode=1
    324   echo positional parameters were not saved.
    325 fi
    326 
    327 test $exitcode = 0) || { (exit 1); exit 1; }
    328 
    329 (
    330   as_lineno_1=$LINENO
    331   as_lineno_2=$LINENO
    332   test "x$as_lineno_1" != "x$as_lineno_2" &&
    333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    334 
    335 _ASEOF
    336 }; then
    337   break
    338 fi
    339 
    340 fi
    341 
    342       done
    343 
    344       if test "x$CONFIG_SHELL" != x; then
    345   for as_var in BASH_ENV ENV
    346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    347         done
    348         export CONFIG_SHELL
    349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    350 fi
    351 
    352 
    353     if test $as_have_required = no; then
    354   echo This script requires a shell more modern than all the
    355       echo shells that I found on your system.  Please install a
    356       echo modern shell, or manually run the script under such a
    357       echo shell if you do have one.
    358       { (exit 1); exit 1; }
    359 fi
    360 
    361 
    362 fi
    363 
    364 fi
    365 
    366 
    367 
    368 (eval "as_func_return () {
    369   (exit \$1)
    370 }
    371 as_func_success () {
    372   as_func_return 0
    373 }
    374 as_func_failure () {
    375   as_func_return 1
    376 }
    377 as_func_ret_success () {
    378   return 0
    379 }
    380 as_func_ret_failure () {
    381   return 1
    382 }
    383 
    384 exitcode=0
    385 if as_func_success; then
    386   :
    387 else
    388   exitcode=1
    389   echo as_func_success failed.
    390 fi
    391 
    392 if as_func_failure; then
    393   exitcode=1
    394   echo as_func_failure succeeded.
    395 fi
    396 
    397 if as_func_ret_success; then
    398   :
    399 else
    400   exitcode=1
    401   echo as_func_ret_success failed.
    402 fi
    403 
    404 if as_func_ret_failure; then
    405   exitcode=1
    406   echo as_func_ret_failure succeeded.
    407 fi
    408 
    409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    410   :
    411 else
    412   exitcode=1
    413   echo positional parameters were not saved.
    414 fi
    415 
    416 test \$exitcode = 0") || {
    417   echo No shell found that supports shell functions.
    418   echo Please tell autoconf@gnu.org about your system,
    419   echo including any error possibly output before this
    420   echo message
    421 }
    422 
    423 
    424 
    425   as_lineno_1=$LINENO
    426   as_lineno_2=$LINENO
    427   test "x$as_lineno_1" != "x$as_lineno_2" &&
    428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    429 
    430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    431   # uniformly replaced by the line number.  The first 'sed' inserts a
    432   # line-number line after each line using $LINENO; the second 'sed'
    433   # does the real work.  The second script uses 'N' to pair each
    434   # line-number line with the line containing $LINENO, and appends
    435   # trailing '-' during substitution so that $LINENO is not a special
    436   # case at line end.
    437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    439   # E. McMahon (1931-1989) for sed's syntax.  :-)
    440   sed -n '
    441     p
    442     /[$]LINENO/=
    443   ' <$as_myself |
    444     sed '
    445       s/[$]LINENO.*/&-/
    446       t lineno
    447       b
    448       :lineno
    449       N
    450       :loop
    451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    452       t loop
    453       s/-\n.*//
    454     ' >$as_me.lineno &&
    455   chmod +x "$as_me.lineno" ||
    456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    457    { (exit 1); exit 1; }; }
    458 
    459   # Don't try to exec as it changes $[0], causing all sort of problems
    460   # (the dirname of $[0] is not the place where we might find the
    461   # original and so on.  Autoconf is especially sensitive to this).
    462   . "./$as_me.lineno"
    463   # Exit status is that of the last command.
    464   exit
    465 }
    466 
    467 
    468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    469   as_dirname=dirname
    470 else
    471   as_dirname=false
    472 fi
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in
    476 -n*)
    477   case `echo 'x\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   *)   ECHO_C='\c';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 if expr a : '\(a\)' >/dev/null 2>&1 &&
    486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    487   as_expr=expr
    488 else
    489   as_expr=false
    490 fi
    491 
    492 rm -f conf$$ conf$$.exe conf$$.file
    493 if test -d conf$$.dir; then
    494   rm -f conf$$.dir/conf$$.file
    495 else
    496   rm -f conf$$.dir
    497   mkdir conf$$.dir
    498 fi
    499 echo >conf$$.file
    500 if ln -s conf$$.file conf$$ 2>/dev/null; then
    501   as_ln_s='ln -s'
    502   # ... but there are two gotchas:
    503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    505   # In both cases, we have to default to `cp -p'.
    506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    507     as_ln_s='cp -p'
    508 elif ln conf$$.file conf$$ 2>/dev/null; then
    509   as_ln_s=ln
    510 else
    511   as_ln_s='cp -p'
    512 fi
    513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    514 rmdir conf$$.dir 2>/dev/null
    515 
    516 if mkdir -p . 2>/dev/null; then
    517   as_mkdir_p=:
    518 else
    519   test -d ./-p && rmdir ./-p
    520   as_mkdir_p=false
    521 fi
    522 
    523 if test -x / >/dev/null 2>&1; then
    524   as_test_x='test -x'
    525 else
    526   if ls -dL / >/dev/null 2>&1; then
    527     as_ls_L_option=L
    528   else
    529     as_ls_L_option=
    530   fi
    531   as_test_x='
    532     eval sh -c '\''
    533       if test -d "$1"; then
    534         test -d "$1/.";
    535       else
    536 	case $1 in
    537         -*)set "./$1";;
    538 	esac;
    539 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    540 	???[sx]*):;;*)false;;esac;fi
    541     '\'' sh
    542   '
    543 fi
    544 as_executable_p=$as_test_x
    545 
    546 # Sed expression to map a string onto a valid CPP name.
    547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    548 
    549 # Sed expression to map a string onto a valid variable name.
    550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    551 
    552 
    553 
    554 
    555 # Check that we are running under the correct shell.
    556 SHELL=${CONFIG_SHELL-/bin/sh}
    557 
    558 case X$ECHO in
    559 X*--fallback-echo)
    560   # Remove one level of quotation (which was required for Make).
    561   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    562   ;;
    563 esac
    564 
    565 echo=${ECHO-echo}
    566 if test "X$1" = X--no-reexec; then
    567   # Discard the --no-reexec flag, and continue.
    568   shift
    569 elif test "X$1" = X--fallback-echo; then
    570   # Avoid inline document here, it may be left over
    571   :
    572 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    573   # Yippee, $echo works!
    574   :
    575 else
    576   # Restart under the correct shell.
    577   exec $SHELL "$0" --no-reexec ${1+"$@"}
    578 fi
    579 
    580 if test "X$1" = X--fallback-echo; then
    581   # used as fallback echo
    582   shift
    583   cat <<EOF
    584 $*
    585 EOF
    586   exit 0
    587 fi
    588 
    589 # The HP-UX ksh and POSIX shell print the target directory to stdout
    590 # if CDPATH is set.
    591 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    592 
    593 if test -z "$ECHO"; then
    594 if test "X${echo_test_string+set}" != Xset; then
    595 # find a string as large as possible, as long as the shell can cope with it
    596   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    597     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    598     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    599        echo_test_string=`eval $cmd` &&
    600        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    601     then
    602       break
    603     fi
    604   done
    605 fi
    606 
    607 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    608    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    609    test "X$echo_testing_string" = "X$echo_test_string"; then
    610   :
    611 else
    612   # The Solaris, AIX, and Digital Unix default echo programs unquote
    613   # backslashes.  This makes it impossible to quote backslashes using
    614   #   echo "$something" | sed 's/\\/\\\\/g'
    615   #
    616   # So, first we look for a working echo in the user's PATH.
    617 
    618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    619   for dir in $PATH /usr/ucb; do
    620     IFS="$lt_save_ifs"
    621     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    622        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    623        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    624        test "X$echo_testing_string" = "X$echo_test_string"; then
    625       echo="$dir/echo"
    626       break
    627     fi
    628   done
    629   IFS="$lt_save_ifs"
    630 
    631   if test "X$echo" = Xecho; then
    632     # We didn't find a better echo, so look for alternatives.
    633     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    634        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    635        test "X$echo_testing_string" = "X$echo_test_string"; then
    636       # This shell has a builtin print -r that does the trick.
    637       echo='print -r'
    638     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    639 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    640       # If we have ksh, try running configure again with it.
    641       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    642       export ORIGINAL_CONFIG_SHELL
    643       CONFIG_SHELL=/bin/ksh
    644       export CONFIG_SHELL
    645       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    646     else
    647       # Try using printf.
    648       echo='printf %s\n'
    649       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    650 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    651 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    652 	# Cool, printf works
    653 	:
    654       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    655 	   test "X$echo_testing_string" = 'X\t' &&
    656 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    657 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    658 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    659 	export CONFIG_SHELL
    660 	SHELL="$CONFIG_SHELL"
    661 	export SHELL
    662 	echo="$CONFIG_SHELL $0 --fallback-echo"
    663       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    664 	   test "X$echo_testing_string" = 'X\t' &&
    665 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    666 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    667 	echo="$CONFIG_SHELL $0 --fallback-echo"
    668       else
    669 	# maybe with a smaller string...
    670 	prev=:
    671 
    672 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    673 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    674 	  then
    675 	    break
    676 	  fi
    677 	  prev="$cmd"
    678 	done
    679 
    680 	if test "$prev" != 'sed 50q "$0"'; then
    681 	  echo_test_string=`eval $prev`
    682 	  export echo_test_string
    683 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    684 	else
    685 	  # Oops.  We lost completely, so just stick with echo.
    686 	  echo=echo
    687 	fi
    688       fi
    689     fi
    690   fi
    691 fi
    692 fi
    693 
    694 # Copy echo and quote the copy suitably for passing to libtool from
    695 # the Makefile, instead of quoting the original, which is used later.
    696 ECHO=$echo
    697 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    698    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    699 fi
    700 
    701 
    702 
    703 
    704 tagnames=${tagnames+${tagnames},}CXX
    705 
    706 tagnames=${tagnames+${tagnames},}F77
    707 
    708 exec 7<&0 </dev/null 6>&1
    709 
    710 # Name of the host.
    711 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    712 # so uname gets run too.
    713 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    714 
    715 #
    716 # Initializations.
    717 #
    718 ac_default_prefix=/usr/local
    719 ac_clean_files=
    720 ac_config_libobj_dir=.
    721 LIBOBJS=
    722 cross_compiling=no
    723 subdirs=
    724 MFLAGS=
    725 MAKEFLAGS=
    726 SHELL=${CONFIG_SHELL-/bin/sh}
    727 
    728 # Identity of this package.
    729 PACKAGE_NAME='libffi'
    730 PACKAGE_TARNAME='libffi'
    731 PACKAGE_VERSION='3.0.6'
    732 PACKAGE_STRING='libffi 3.0.6'
    733 PACKAGE_BUGREPORT='http://gcc.gnu.org/bugs.html'
    734 
    735 # Factoring default headers for most tests.
    736 ac_includes_default="\
    737 #include <stdio.h>
    738 #ifdef HAVE_SYS_TYPES_H
    739 # include <sys/types.h>
    740 #endif
    741 #ifdef HAVE_SYS_STAT_H
    742 # include <sys/stat.h>
    743 #endif
    744 #ifdef STDC_HEADERS
    745 # include <stdlib.h>
    746 # include <stddef.h>
    747 #else
    748 # ifdef HAVE_STDLIB_H
    749 #  include <stdlib.h>
    750 # endif
    751 #endif
    752 #ifdef HAVE_STRING_H
    753 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    754 #  include <memory.h>
    755 # endif
    756 # include <string.h>
    757 #endif
    758 #ifdef HAVE_STRINGS_H
    759 # include <strings.h>
    760 #endif
    761 #ifdef HAVE_INTTYPES_H
    762 # include <inttypes.h>
    763 #endif
    764 #ifdef HAVE_STDINT_H
    765 # include <stdint.h>
    766 #endif
    767 #ifdef HAVE_UNISTD_H
    768 # include <unistd.h>
    769 #endif"
    770 
    771 ac_subst_vars='SHELL
    772 PATH_SEPARATOR
    773 PACKAGE_NAME
    774 PACKAGE_TARNAME
    775 PACKAGE_VERSION
    776 PACKAGE_STRING
    777 PACKAGE_BUGREPORT
    778 exec_prefix
    779 prefix
    780 program_transform_name
    781 bindir
    782 sbindir
    783 libexecdir
    784 datarootdir
    785 datadir
    786 sysconfdir
    787 sharedstatedir
    788 localstatedir
    789 includedir
    790 oldincludedir
    791 docdir
    792 infodir
    793 htmldir
    794 dvidir
    795 pdfdir
    796 psdir
    797 libdir
    798 localedir
    799 mandir
    800 DEFS
    801 ECHO_C
    802 ECHO_N
    803 ECHO_T
    804 LIBS
    805 build_alias
    806 host_alias
    807 target_alias
    808 build
    809 build_cpu
    810 build_vendor
    811 build_os
    812 host
    813 host_cpu
    814 host_vendor
    815 host_os
    816 target
    817 target_cpu
    818 target_vendor
    819 target_os
    820 INSTALL_PROGRAM
    821 INSTALL_SCRIPT
    822 INSTALL_DATA
    823 am__isrc
    824 CYGPATH_W
    825 PACKAGE
    826 VERSION
    827 ACLOCAL
    828 AUTOCONF
    829 AUTOMAKE
    830 AUTOHEADER
    831 MAKEINFO
    832 install_sh
    833 STRIP
    834 INSTALL_STRIP_PROGRAM
    835 mkdir_p
    836 AWK
    837 SET_MAKE
    838 am__leading_dot
    839 AMTAR
    840 am__tar
    841 am__untar
    842 CC
    843 CFLAGS
    844 LDFLAGS
    845 CPPFLAGS
    846 ac_ct_CC
    847 EXEEXT
    848 OBJEXT
    849 DEPDIR
    850 am__include
    851 am__quote
    852 AMDEP_TRUE
    853 AMDEP_FALSE
    854 AMDEPBACKSLASH
    855 CCDEPMODE
    856 am__fastdepCC_TRUE
    857 am__fastdepCC_FALSE
    858 CCAS
    859 CCASFLAGS
    860 CCASDEPMODE
    861 am__fastdepCCAS_TRUE
    862 am__fastdepCCAS_FALSE
    863 SED
    864 GREP
    865 EGREP
    866 LN_S
    867 ECHO
    868 AR
    869 RANLIB
    870 CPP
    871 CXX
    872 CXXFLAGS
    873 ac_ct_CXX
    874 CXXDEPMODE
    875 am__fastdepCXX_TRUE
    876 am__fastdepCXX_FALSE
    877 CXXCPP
    878 F77
    879 FFLAGS
    880 ac_ct_F77
    881 LIBTOOL
    882 MAINTAINER_MODE_TRUE
    883 MAINTAINER_MODE_FALSE
    884 MAINT
    885 TESTSUBDIR_TRUE
    886 TESTSUBDIR_FALSE
    887 AM_RUNTESTFLAGS
    888 MIPS_TRUE
    889 MIPS_FALSE
    890 SPARC_TRUE
    891 SPARC_FALSE
    892 X86_TRUE
    893 X86_FALSE
    894 X86_FREEBSD_TRUE
    895 X86_FREEBSD_FALSE
    896 X86_WIN32_TRUE
    897 X86_WIN32_FALSE
    898 X86_DARWIN_TRUE
    899 X86_DARWIN_FALSE
    900 ALPHA_TRUE
    901 ALPHA_FALSE
    902 IA64_TRUE
    903 IA64_FALSE
    904 M32R_TRUE
    905 M32R_FALSE
    906 M68K_TRUE
    907 M68K_FALSE
    908 POWERPC_TRUE
    909 POWERPC_FALSE
    910 POWERPC_AIX_TRUE
    911 POWERPC_AIX_FALSE
    912 POWERPC_DARWIN_TRUE
    913 POWERPC_DARWIN_FALSE
    914 POWERPC_FREEBSD_TRUE
    915 POWERPC_FREEBSD_FALSE
    916 ARM_TRUE
    917 ARM_FALSE
    918 LIBFFI_CRIS_TRUE
    919 LIBFFI_CRIS_FALSE
    920 FRV_TRUE
    921 FRV_FALSE
    922 S390_TRUE
    923 S390_FALSE
    924 X86_64_TRUE
    925 X86_64_FALSE
    926 SH_TRUE
    927 SH_FALSE
    928 SH64_TRUE
    929 SH64_FALSE
    930 PA_LINUX_TRUE
    931 PA_LINUX_FALSE
    932 PA_HPUX_TRUE
    933 PA_HPUX_FALSE
    934 PA64_HPUX_TRUE
    935 PA64_HPUX_FALSE
    936 ALLOCA
    937 HAVE_LONG_DOUBLE
    938 TARGET
    939 TARGETDIR
    940 toolexecdir
    941 toolexeclibdir
    942 LIBOBJS
    943 LTLIBOBJS'
    944 ac_subst_files=''
    945       ac_precious_vars='build_alias
    946 host_alias
    947 target_alias
    948 CCAS
    949 CCASFLAGS
    950 CPP
    951 CPPFLAGS
    952 CXX
    953 CXXFLAGS
    954 LDFLAGS
    955 LIBS
    956 CCC
    957 CXXCPP
    958 F77
    959 FFLAGS'
    960 
    961 
    962 # Initialize some variables set by options.
    963 ac_init_help=
    964 ac_init_version=false
    965 # The variables have the same names as the options, with
    966 # dashes changed to underlines.
    967 cache_file=/dev/null
    968 exec_prefix=NONE
    969 no_create=
    970 no_recursion=
    971 prefix=NONE
    972 program_prefix=NONE
    973 program_suffix=NONE
    974 program_transform_name=s,x,x,
    975 silent=
    976 site=
    977 srcdir=
    978 verbose=
    979 x_includes=NONE
    980 x_libraries=NONE
    981 
    982 # Installation directory options.
    983 # These are left unexpanded so users can "make install exec_prefix=/foo"
    984 # and all the variables that are supposed to be based on exec_prefix
    985 # by default will actually change.
    986 # Use braces instead of parens because sh, perl, etc. also accept them.
    987 # (The list follows the same order as the GNU Coding Standards.)
    988 bindir='${exec_prefix}/bin'
    989 sbindir='${exec_prefix}/sbin'
    990 libexecdir='${exec_prefix}/libexec'
    991 datarootdir='${prefix}/share'
    992 datadir='${datarootdir}'
    993 sysconfdir='${prefix}/etc'
    994 sharedstatedir='${prefix}/com'
    995 localstatedir='${prefix}/var'
    996 includedir='${prefix}/include'
    997 oldincludedir='/usr/include'
    998 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    999 infodir='${datarootdir}/info'
   1000 htmldir='${docdir}'
   1001 dvidir='${docdir}'
   1002 pdfdir='${docdir}'
   1003 psdir='${docdir}'
   1004 libdir='${exec_prefix}/lib'
   1005 localedir='${datarootdir}/locale'
   1006 mandir='${datarootdir}/man'
   1007 
   1008 ac_prev=
   1009 ac_dashdash=
   1010 for ac_option
   1011 do
   1012   # If the previous option needs an argument, assign it.
   1013   if test -n "$ac_prev"; then
   1014     eval $ac_prev=\$ac_option
   1015     ac_prev=
   1016     continue
   1017   fi
   1018 
   1019   case $ac_option in
   1020   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1021   *)	ac_optarg=yes ;;
   1022   esac
   1023 
   1024   # Accept the important Cygnus configure options, so we can diagnose typos.
   1025 
   1026   case $ac_dashdash$ac_option in
   1027   --)
   1028     ac_dashdash=yes ;;
   1029 
   1030   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1031     ac_prev=bindir ;;
   1032   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1033     bindir=$ac_optarg ;;
   1034 
   1035   -build | --build | --buil | --bui | --bu)
   1036     ac_prev=build_alias ;;
   1037   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1038     build_alias=$ac_optarg ;;
   1039 
   1040   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1041   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1042     ac_prev=cache_file ;;
   1043   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1044   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1045     cache_file=$ac_optarg ;;
   1046 
   1047   --config-cache | -C)
   1048     cache_file=config.cache ;;
   1049 
   1050   -datadir | --datadir | --datadi | --datad)
   1051     ac_prev=datadir ;;
   1052   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1053     datadir=$ac_optarg ;;
   1054 
   1055   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1056   | --dataroo | --dataro | --datar)
   1057     ac_prev=datarootdir ;;
   1058   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1059   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1060     datarootdir=$ac_optarg ;;
   1061 
   1062   -disable-* | --disable-*)
   1063     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1064     # Reject names that are not valid shell variable names.
   1065     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1066       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1067    { (exit 1); exit 1; }; }
   1068     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1069     eval enable_$ac_feature=no ;;
   1070 
   1071   -docdir | --docdir | --docdi | --doc | --do)
   1072     ac_prev=docdir ;;
   1073   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1074     docdir=$ac_optarg ;;
   1075 
   1076   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1077     ac_prev=dvidir ;;
   1078   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1079     dvidir=$ac_optarg ;;
   1080 
   1081   -enable-* | --enable-*)
   1082     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1083     # Reject names that are not valid shell variable names.
   1084     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1085       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1086    { (exit 1); exit 1; }; }
   1087     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1088     eval enable_$ac_feature=\$ac_optarg ;;
   1089 
   1090   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1091   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1092   | --exec | --exe | --ex)
   1093     ac_prev=exec_prefix ;;
   1094   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1095   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1096   | --exec=* | --exe=* | --ex=*)
   1097     exec_prefix=$ac_optarg ;;
   1098 
   1099   -gas | --gas | --ga | --g)
   1100     # Obsolete; use --with-gas.
   1101     with_gas=yes ;;
   1102 
   1103   -help | --help | --hel | --he | -h)
   1104     ac_init_help=long ;;
   1105   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1106     ac_init_help=recursive ;;
   1107   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1108     ac_init_help=short ;;
   1109 
   1110   -host | --host | --hos | --ho)
   1111     ac_prev=host_alias ;;
   1112   -host=* | --host=* | --hos=* | --ho=*)
   1113     host_alias=$ac_optarg ;;
   1114 
   1115   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1116     ac_prev=htmldir ;;
   1117   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1118   | --ht=*)
   1119     htmldir=$ac_optarg ;;
   1120 
   1121   -includedir | --includedir | --includedi | --included | --include \
   1122   | --includ | --inclu | --incl | --inc)
   1123     ac_prev=includedir ;;
   1124   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1125   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1126     includedir=$ac_optarg ;;
   1127 
   1128   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1129     ac_prev=infodir ;;
   1130   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1131     infodir=$ac_optarg ;;
   1132 
   1133   -libdir | --libdir | --libdi | --libd)
   1134     ac_prev=libdir ;;
   1135   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1136     libdir=$ac_optarg ;;
   1137 
   1138   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1139   | --libexe | --libex | --libe)
   1140     ac_prev=libexecdir ;;
   1141   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1142   | --libexe=* | --libex=* | --libe=*)
   1143     libexecdir=$ac_optarg ;;
   1144 
   1145   -localedir | --localedir | --localedi | --localed | --locale)
   1146     ac_prev=localedir ;;
   1147   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1148     localedir=$ac_optarg ;;
   1149 
   1150   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1151   | --localstate | --localstat | --localsta | --localst | --locals)
   1152     ac_prev=localstatedir ;;
   1153   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1154   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1155     localstatedir=$ac_optarg ;;
   1156 
   1157   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1158     ac_prev=mandir ;;
   1159   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1160     mandir=$ac_optarg ;;
   1161 
   1162   -nfp | --nfp | --nf)
   1163     # Obsolete; use --without-fp.
   1164     with_fp=no ;;
   1165 
   1166   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1167   | --no-cr | --no-c | -n)
   1168     no_create=yes ;;
   1169 
   1170   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1171   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1172     no_recursion=yes ;;
   1173 
   1174   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1175   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1176   | --oldin | --oldi | --old | --ol | --o)
   1177     ac_prev=oldincludedir ;;
   1178   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1179   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1180   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1181     oldincludedir=$ac_optarg ;;
   1182 
   1183   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1184     ac_prev=prefix ;;
   1185   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1186     prefix=$ac_optarg ;;
   1187 
   1188   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1189   | --program-pre | --program-pr | --program-p)
   1190     ac_prev=program_prefix ;;
   1191   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1192   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1193     program_prefix=$ac_optarg ;;
   1194 
   1195   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1196   | --program-suf | --program-su | --program-s)
   1197     ac_prev=program_suffix ;;
   1198   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1199   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1200     program_suffix=$ac_optarg ;;
   1201 
   1202   -program-transform-name | --program-transform-name \
   1203   | --program-transform-nam | --program-transform-na \
   1204   | --program-transform-n | --program-transform- \
   1205   | --program-transform | --program-transfor \
   1206   | --program-transfo | --program-transf \
   1207   | --program-trans | --program-tran \
   1208   | --progr-tra | --program-tr | --program-t)
   1209     ac_prev=program_transform_name ;;
   1210   -program-transform-name=* | --program-transform-name=* \
   1211   | --program-transform-nam=* | --program-transform-na=* \
   1212   | --program-transform-n=* | --program-transform-=* \
   1213   | --program-transform=* | --program-transfor=* \
   1214   | --program-transfo=* | --program-transf=* \
   1215   | --program-trans=* | --program-tran=* \
   1216   | --progr-tra=* | --program-tr=* | --program-t=*)
   1217     program_transform_name=$ac_optarg ;;
   1218 
   1219   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1220     ac_prev=pdfdir ;;
   1221   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1222     pdfdir=$ac_optarg ;;
   1223 
   1224   -psdir | --psdir | --psdi | --psd | --ps)
   1225     ac_prev=psdir ;;
   1226   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1227     psdir=$ac_optarg ;;
   1228 
   1229   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1230   | -silent | --silent | --silen | --sile | --sil)
   1231     silent=yes ;;
   1232 
   1233   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1234     ac_prev=sbindir ;;
   1235   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1236   | --sbi=* | --sb=*)
   1237     sbindir=$ac_optarg ;;
   1238 
   1239   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1240   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1241   | --sharedst | --shareds | --shared | --share | --shar \
   1242   | --sha | --sh)
   1243     ac_prev=sharedstatedir ;;
   1244   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1245   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1246   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1247   | --sha=* | --sh=*)
   1248     sharedstatedir=$ac_optarg ;;
   1249 
   1250   -site | --site | --sit)
   1251     ac_prev=site ;;
   1252   -site=* | --site=* | --sit=*)
   1253     site=$ac_optarg ;;
   1254 
   1255   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1256     ac_prev=srcdir ;;
   1257   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1258     srcdir=$ac_optarg ;;
   1259 
   1260   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1261   | --syscon | --sysco | --sysc | --sys | --sy)
   1262     ac_prev=sysconfdir ;;
   1263   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1264   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1265     sysconfdir=$ac_optarg ;;
   1266 
   1267   -target | --target | --targe | --targ | --tar | --ta | --t)
   1268     ac_prev=target_alias ;;
   1269   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1270     target_alias=$ac_optarg ;;
   1271 
   1272   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1273     verbose=yes ;;
   1274 
   1275   -version | --version | --versio | --versi | --vers | -V)
   1276     ac_init_version=: ;;
   1277 
   1278   -with-* | --with-*)
   1279     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1280     # Reject names that are not valid shell variable names.
   1281     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1282       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1283    { (exit 1); exit 1; }; }
   1284     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1285     eval with_$ac_package=\$ac_optarg ;;
   1286 
   1287   -without-* | --without-*)
   1288     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1289     # Reject names that are not valid shell variable names.
   1290     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1291       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1292    { (exit 1); exit 1; }; }
   1293     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1294     eval with_$ac_package=no ;;
   1295 
   1296   --x)
   1297     # Obsolete; use --with-x.
   1298     with_x=yes ;;
   1299 
   1300   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1301   | --x-incl | --x-inc | --x-in | --x-i)
   1302     ac_prev=x_includes ;;
   1303   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1304   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1305     x_includes=$ac_optarg ;;
   1306 
   1307   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1308   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1309     ac_prev=x_libraries ;;
   1310   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1311   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1312     x_libraries=$ac_optarg ;;
   1313 
   1314   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1315 Try \`$0 --help' for more information." >&2
   1316    { (exit 1); exit 1; }; }
   1317     ;;
   1318 
   1319   *=*)
   1320     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1321     # Reject names that are not valid shell variable names.
   1322     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1323       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1324    { (exit 1); exit 1; }; }
   1325     eval $ac_envvar=\$ac_optarg
   1326     export $ac_envvar ;;
   1327 
   1328   *)
   1329     # FIXME: should be removed in autoconf 3.0.
   1330     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1331     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1332       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1333     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1334     ;;
   1335 
   1336   esac
   1337 done
   1338 
   1339 if test -n "$ac_prev"; then
   1340   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1341   { echo "$as_me: error: missing argument to $ac_option" >&2
   1342    { (exit 1); exit 1; }; }
   1343 fi
   1344 
   1345 # Be sure to have absolute directory names.
   1346 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1347 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1348 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1349 		libdir localedir mandir
   1350 do
   1351   eval ac_val=\$$ac_var
   1352   case $ac_val in
   1353     [\\/$]* | ?:[\\/]* )  continue;;
   1354     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1355   esac
   1356   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1357    { (exit 1); exit 1; }; }
   1358 done
   1359 
   1360 # There might be people who depend on the old broken behavior: `$host'
   1361 # used to hold the argument of --host etc.
   1362 # FIXME: To remove some day.
   1363 build=$build_alias
   1364 host=$host_alias
   1365 target=$target_alias
   1366 
   1367 # FIXME: To remove some day.
   1368 if test "x$host_alias" != x; then
   1369   if test "x$build_alias" = x; then
   1370     cross_compiling=maybe
   1371     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1372     If a cross compiler is detected then cross compile mode will be used." >&2
   1373   elif test "x$build_alias" != "x$host_alias"; then
   1374     cross_compiling=yes
   1375   fi
   1376 fi
   1377 
   1378 ac_tool_prefix=
   1379 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1380 
   1381 test "$silent" = yes && exec 6>/dev/null
   1382 
   1383 
   1384 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1385 ac_ls_di=`ls -di .` &&
   1386 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1387   { echo "$as_me: error: Working directory cannot be determined" >&2
   1388    { (exit 1); exit 1; }; }
   1389 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1390   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1391    { (exit 1); exit 1; }; }
   1392 
   1393 
   1394 # Find the source files, if location was not specified.
   1395 if test -z "$srcdir"; then
   1396   ac_srcdir_defaulted=yes
   1397   # Try the directory containing this script, then the parent directory.
   1398   ac_confdir=`$as_dirname -- "$0" ||
   1399 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1400 	 X"$0" : 'X\(//\)[^/]' \| \
   1401 	 X"$0" : 'X\(//\)$' \| \
   1402 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1403 echo X"$0" |
   1404     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1405 	    s//\1/
   1406 	    q
   1407 	  }
   1408 	  /^X\(\/\/\)[^/].*/{
   1409 	    s//\1/
   1410 	    q
   1411 	  }
   1412 	  /^X\(\/\/\)$/{
   1413 	    s//\1/
   1414 	    q
   1415 	  }
   1416 	  /^X\(\/\).*/{
   1417 	    s//\1/
   1418 	    q
   1419 	  }
   1420 	  s/.*/./; q'`
   1421   srcdir=$ac_confdir
   1422   if test ! -r "$srcdir/$ac_unique_file"; then
   1423     srcdir=..
   1424   fi
   1425 else
   1426   ac_srcdir_defaulted=no
   1427 fi
   1428 if test ! -r "$srcdir/$ac_unique_file"; then
   1429   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1430   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1431    { (exit 1); exit 1; }; }
   1432 fi
   1433 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1434 ac_abs_confdir=`(
   1435 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1436    { (exit 1); exit 1; }; }
   1437 	pwd)`
   1438 # When building in place, set srcdir=.
   1439 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1440   srcdir=.
   1441 fi
   1442 # Remove unnecessary trailing slashes from srcdir.
   1443 # Double slashes in file names in object file debugging info
   1444 # mess up M-x gdb in Emacs.
   1445 case $srcdir in
   1446 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1447 esac
   1448 for ac_var in $ac_precious_vars; do
   1449   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1450   eval ac_env_${ac_var}_value=\$${ac_var}
   1451   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1452   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1453 done
   1454 
   1455 #
   1456 # Report the --help message.
   1457 #
   1458 if test "$ac_init_help" = "long"; then
   1459   # Omit some internal or obsolete options to make the list less imposing.
   1460   # This message is too long to be a string in the A/UX 3.1 sh.
   1461   cat <<_ACEOF
   1462 \`configure' configures libffi 3.0.6 to adapt to many kinds of systems.
   1463 
   1464 Usage: $0 [OPTION]... [VAR=VALUE]...
   1465 
   1466 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1467 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1468 
   1469 Defaults for the options are specified in brackets.
   1470 
   1471 Configuration:
   1472   -h, --help              display this help and exit
   1473       --help=short        display options specific to this package
   1474       --help=recursive    display the short help of all the included packages
   1475   -V, --version           display version information and exit
   1476   -q, --quiet, --silent   do not print \`checking...' messages
   1477       --cache-file=FILE   cache test results in FILE [disabled]
   1478   -C, --config-cache      alias for \`--cache-file=config.cache'
   1479   -n, --no-create         do not create output files
   1480       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1481 
   1482 Installation directories:
   1483   --prefix=PREFIX         install architecture-independent files in PREFIX
   1484 			  [$ac_default_prefix]
   1485   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1486 			  [PREFIX]
   1487 
   1488 By default, \`make install' will install all the files in
   1489 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1490 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1491 for instance \`--prefix=\$HOME'.
   1492 
   1493 For better control, use the options below.
   1494 
   1495 Fine tuning of the installation directories:
   1496   --bindir=DIR           user executables [EPREFIX/bin]
   1497   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1498   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1499   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1500   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1501   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1502   --libdir=DIR           object code libraries [EPREFIX/lib]
   1503   --includedir=DIR       C header files [PREFIX/include]
   1504   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1505   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1506   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1507   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1508   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1509   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1510   --docdir=DIR           documentation root [DATAROOTDIR/doc/libffi]
   1511   --htmldir=DIR          html documentation [DOCDIR]
   1512   --dvidir=DIR           dvi documentation [DOCDIR]
   1513   --pdfdir=DIR           pdf documentation [DOCDIR]
   1514   --psdir=DIR            ps documentation [DOCDIR]
   1515 _ACEOF
   1516 
   1517   cat <<\_ACEOF
   1518 
   1519 Program names:
   1520   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1521   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1522   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1523 
   1524 System types:
   1525   --build=BUILD     configure for building on BUILD [guessed]
   1526   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1527   --target=TARGET   configure for building compilers for TARGET [HOST]
   1528 _ACEOF
   1529 fi
   1530 
   1531 if test -n "$ac_init_help"; then
   1532   case $ac_init_help in
   1533      short | recursive ) echo "Configuration of libffi 3.0.6:";;
   1534    esac
   1535   cat <<\_ACEOF
   1536 
   1537 Optional Features:
   1538   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1539   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1540   --disable-dependency-tracking  speeds up one-time build
   1541   --enable-dependency-tracking   do not reject slow dependency extractors
   1542   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1543   --enable-static[=PKGS]  build static libraries [default=yes]
   1544   --enable-fast-install[=PKGS]
   1545                           optimize for fast installation [default=yes]
   1546   --disable-libtool-lock  avoid locking (might break parallel builds)
   1547   --enable-maintainer-mode  enable make rules and dependencies not useful
   1548 			  (and sometimes confusing) to the casual installer
   1549   --enable-debug          debugging mode
   1550   --disable-structs       omit code for struct support
   1551   --disable-raw-api       make the raw api unavailable
   1552   --enable-purify-safety  purify-safe mode
   1553 
   1554 Optional Packages:
   1555   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1556   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1557   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1558   --with-pic              try to use only PIC/non-PIC objects [default=use
   1559                           both]
   1560   --with-tags[=TAGS]      include additional configurations [automatic]
   1561 
   1562 Some influential environment variables:
   1563   CC          C compiler command
   1564   CFLAGS      C compiler flags
   1565   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1566               nonstandard directory <lib dir>
   1567   LIBS        libraries to pass to the linker, e.g. -l<library>
   1568   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1569               you have headers in a nonstandard directory <include dir>
   1570   CCAS        assembler compiler command (defaults to CC)
   1571   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
   1572   CPP         C preprocessor
   1573   CXX         C++ compiler command
   1574   CXXFLAGS    C++ compiler flags
   1575   CXXCPP      C++ preprocessor
   1576   F77         Fortran 77 compiler command
   1577   FFLAGS      Fortran 77 compiler flags
   1578 
   1579 Use these variables to override the choices made by `configure' or to help
   1580 it to find libraries and programs with nonstandard names/locations.
   1581 
   1582 Report bugs to <http://gcc.gnu.org/bugs.html>.
   1583 _ACEOF
   1584 ac_status=$?
   1585 fi
   1586 
   1587 if test "$ac_init_help" = "recursive"; then
   1588   # If there are subdirs, report their specific --help.
   1589   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1590     test -d "$ac_dir" || continue
   1591     ac_builddir=.
   1592 
   1593 case "$ac_dir" in
   1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1595 *)
   1596   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1597   # A ".." for each directory in $ac_dir_suffix.
   1598   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1599   case $ac_top_builddir_sub in
   1600   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1601   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1602   esac ;;
   1603 esac
   1604 ac_abs_top_builddir=$ac_pwd
   1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1606 # for backward compatibility:
   1607 ac_top_builddir=$ac_top_build_prefix
   1608 
   1609 case $srcdir in
   1610   .)  # We are building in place.
   1611     ac_srcdir=.
   1612     ac_top_srcdir=$ac_top_builddir_sub
   1613     ac_abs_top_srcdir=$ac_pwd ;;
   1614   [\\/]* | ?:[\\/]* )  # Absolute name.
   1615     ac_srcdir=$srcdir$ac_dir_suffix;
   1616     ac_top_srcdir=$srcdir
   1617     ac_abs_top_srcdir=$srcdir ;;
   1618   *) # Relative name.
   1619     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1620     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1621     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1622 esac
   1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1624 
   1625     cd "$ac_dir" || { ac_status=$?; continue; }
   1626     # Check for guested configure.
   1627     if test -f "$ac_srcdir/configure.gnu"; then
   1628       echo &&
   1629       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1630     elif test -f "$ac_srcdir/configure"; then
   1631       echo &&
   1632       $SHELL "$ac_srcdir/configure" --help=recursive
   1633     else
   1634       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1635     fi || ac_status=$?
   1636     cd "$ac_pwd" || { ac_status=$?; break; }
   1637   done
   1638 fi
   1639 
   1640 test -n "$ac_init_help" && exit $ac_status
   1641 if $ac_init_version; then
   1642   cat <<\_ACEOF
   1643 libffi configure 3.0.6
   1644 generated by GNU Autoconf 2.61
   1645 
   1646 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1647 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1648 This configure script is free software; the Free Software Foundation
   1649 gives unlimited permission to copy, distribute and modify it.
   1650 _ACEOF
   1651   exit
   1652 fi
   1653 cat >config.log <<_ACEOF
   1654 This file contains any messages produced by compilers while
   1655 running configure, to aid debugging if configure makes a mistake.
   1656 
   1657 It was created by libffi $as_me 3.0.6, which was
   1658 generated by GNU Autoconf 2.61.  Invocation command line was
   1659 
   1660   $ $0 $@
   1661 
   1662 _ACEOF
   1663 exec 5>>config.log
   1664 {
   1665 cat <<_ASUNAME
   1666 ## --------- ##
   1667 ## Platform. ##
   1668 ## --------- ##
   1669 
   1670 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1671 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1672 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1673 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1674 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1675 
   1676 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1677 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1678 
   1679 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1680 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1681 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1682 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1683 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1684 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1685 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1686 
   1687 _ASUNAME
   1688 
   1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1690 for as_dir in $PATH
   1691 do
   1692   IFS=$as_save_IFS
   1693   test -z "$as_dir" && as_dir=.
   1694   echo "PATH: $as_dir"
   1695 done
   1696 IFS=$as_save_IFS
   1697 
   1698 } >&5
   1699 
   1700 cat >&5 <<_ACEOF
   1701 
   1702 
   1703 ## ----------- ##
   1704 ## Core tests. ##
   1705 ## ----------- ##
   1706 
   1707 _ACEOF
   1708 
   1709 
   1710 # Keep a trace of the command line.
   1711 # Strip out --no-create and --no-recursion so they do not pile up.
   1712 # Strip out --silent because we don't want to record it for future runs.
   1713 # Also quote any args containing shell meta-characters.
   1714 # Make two passes to allow for proper duplicate-argument suppression.
   1715 ac_configure_args=
   1716 ac_configure_args0=
   1717 ac_configure_args1=
   1718 ac_must_keep_next=false
   1719 for ac_pass in 1 2
   1720 do
   1721   for ac_arg
   1722   do
   1723     case $ac_arg in
   1724     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1725     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1726     | -silent | --silent | --silen | --sile | --sil)
   1727       continue ;;
   1728     *\'*)
   1729       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1730     esac
   1731     case $ac_pass in
   1732     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1733     2)
   1734       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1735       if test $ac_must_keep_next = true; then
   1736 	ac_must_keep_next=false # Got value, back to normal.
   1737       else
   1738 	case $ac_arg in
   1739 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1740 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1741 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1742 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1743 	    case "$ac_configure_args0 " in
   1744 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1745 	    esac
   1746 	    ;;
   1747 	  -* ) ac_must_keep_next=true ;;
   1748 	esac
   1749       fi
   1750       ac_configure_args="$ac_configure_args '$ac_arg'"
   1751       ;;
   1752     esac
   1753   done
   1754 done
   1755 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1756 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1757 
   1758 # When interrupted or exit'd, cleanup temporary files, and complete
   1759 # config.log.  We remove comments because anyway the quotes in there
   1760 # would cause problems or look ugly.
   1761 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1762 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1763 trap 'exit_status=$?
   1764   # Save into config.log some information that might help in debugging.
   1765   {
   1766     echo
   1767 
   1768     cat <<\_ASBOX
   1769 ## ---------------- ##
   1770 ## Cache variables. ##
   1771 ## ---------------- ##
   1772 _ASBOX
   1773     echo
   1774     # The following way of writing the cache mishandles newlines in values,
   1775 (
   1776   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1777     eval ac_val=\$$ac_var
   1778     case $ac_val in #(
   1779     *${as_nl}*)
   1780       case $ac_var in #(
   1781       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1782 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1783       esac
   1784       case $ac_var in #(
   1785       _ | IFS | as_nl) ;; #(
   1786       *) $as_unset $ac_var ;;
   1787       esac ;;
   1788     esac
   1789   done
   1790   (set) 2>&1 |
   1791     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1792     *${as_nl}ac_space=\ *)
   1793       sed -n \
   1794 	"s/'\''/'\''\\\\'\'''\''/g;
   1795 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1796       ;; #(
   1797     *)
   1798       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1799       ;;
   1800     esac |
   1801     sort
   1802 )
   1803     echo
   1804 
   1805     cat <<\_ASBOX
   1806 ## ----------------- ##
   1807 ## Output variables. ##
   1808 ## ----------------- ##
   1809 _ASBOX
   1810     echo
   1811     for ac_var in $ac_subst_vars
   1812     do
   1813       eval ac_val=\$$ac_var
   1814       case $ac_val in
   1815       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1816       esac
   1817       echo "$ac_var='\''$ac_val'\''"
   1818     done | sort
   1819     echo
   1820 
   1821     if test -n "$ac_subst_files"; then
   1822       cat <<\_ASBOX
   1823 ## ------------------- ##
   1824 ## File substitutions. ##
   1825 ## ------------------- ##
   1826 _ASBOX
   1827       echo
   1828       for ac_var in $ac_subst_files
   1829       do
   1830 	eval ac_val=\$$ac_var
   1831 	case $ac_val in
   1832 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1833 	esac
   1834 	echo "$ac_var='\''$ac_val'\''"
   1835       done | sort
   1836       echo
   1837     fi
   1838 
   1839     if test -s confdefs.h; then
   1840       cat <<\_ASBOX
   1841 ## ----------- ##
   1842 ## confdefs.h. ##
   1843 ## ----------- ##
   1844 _ASBOX
   1845       echo
   1846       cat confdefs.h
   1847       echo
   1848     fi
   1849     test "$ac_signal" != 0 &&
   1850       echo "$as_me: caught signal $ac_signal"
   1851     echo "$as_me: exit $exit_status"
   1852   } >&5
   1853   rm -f core *.core core.conftest.* &&
   1854     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1855     exit $exit_status
   1856 ' 0
   1857 for ac_signal in 1 2 13 15; do
   1858   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1859 done
   1860 ac_signal=0
   1861 
   1862 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1863 rm -f -r conftest* confdefs.h
   1864 
   1865 # Predefined preprocessor variables.
   1866 
   1867 cat >>confdefs.h <<_ACEOF
   1868 #define PACKAGE_NAME "$PACKAGE_NAME"
   1869 _ACEOF
   1870 
   1871 
   1872 cat >>confdefs.h <<_ACEOF
   1873 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1874 _ACEOF
   1875 
   1876 
   1877 cat >>confdefs.h <<_ACEOF
   1878 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1879 _ACEOF
   1880 
   1881 
   1882 cat >>confdefs.h <<_ACEOF
   1883 #define PACKAGE_STRING "$PACKAGE_STRING"
   1884 _ACEOF
   1885 
   1886 
   1887 cat >>confdefs.h <<_ACEOF
   1888 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1889 _ACEOF
   1890 
   1891 
   1892 # Let the site file select an alternate cache file if it wants to.
   1893 # Prefer explicitly selected file to automatically selected ones.
   1894 if test -n "$CONFIG_SITE"; then
   1895   set x "$CONFIG_SITE"
   1896 elif test "x$prefix" != xNONE; then
   1897   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1898 else
   1899   set x "$ac_default_prefix/share/config.site" \
   1900 	"$ac_default_prefix/etc/config.site"
   1901 fi
   1902 shift
   1903 for ac_site_file
   1904 do
   1905   if test -r "$ac_site_file"; then
   1906     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1907 echo "$as_me: loading site script $ac_site_file" >&6;}
   1908     sed 's/^/| /' "$ac_site_file" >&5
   1909     . "$ac_site_file"
   1910   fi
   1911 done
   1912 
   1913 if test -r "$cache_file"; then
   1914   # Some versions of bash will fail to source /dev/null (special
   1915   # files actually), so we avoid doing that.
   1916   if test -f "$cache_file"; then
   1917     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1918 echo "$as_me: loading cache $cache_file" >&6;}
   1919     case $cache_file in
   1920       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1921       *)                      . "./$cache_file";;
   1922     esac
   1923   fi
   1924 else
   1925   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1926 echo "$as_me: creating cache $cache_file" >&6;}
   1927   >$cache_file
   1928 fi
   1929 
   1930 # Check that the precious variables saved in the cache have kept the same
   1931 # value.
   1932 ac_cache_corrupted=false
   1933 for ac_var in $ac_precious_vars; do
   1934   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1935   eval ac_new_set=\$ac_env_${ac_var}_set
   1936   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1937   eval ac_new_val=\$ac_env_${ac_var}_value
   1938   case $ac_old_set,$ac_new_set in
   1939     set,)
   1940       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1941 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1942       ac_cache_corrupted=: ;;
   1943     ,set)
   1944       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1945 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1946       ac_cache_corrupted=: ;;
   1947     ,);;
   1948     *)
   1949       if test "x$ac_old_val" != "x$ac_new_val"; then
   1950 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1951 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1952 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1953 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1954 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1955 echo "$as_me:   current value: $ac_new_val" >&2;}
   1956 	ac_cache_corrupted=:
   1957       fi;;
   1958   esac
   1959   # Pass precious variables to config.status.
   1960   if test "$ac_new_set" = set; then
   1961     case $ac_new_val in
   1962     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1963     *) ac_arg=$ac_var=$ac_new_val ;;
   1964     esac
   1965     case " $ac_configure_args " in
   1966       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1967       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1968     esac
   1969   fi
   1970 done
   1971 if $ac_cache_corrupted; then
   1972   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1973 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1974   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1975 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1976    { (exit 1); exit 1; }; }
   1977 fi
   1978 
   1979 
   1980 
   1981 
   1982 
   1983 
   1984 
   1985 
   1986 
   1987 
   1988 
   1989 
   1990 
   1991 
   1992 
   1993 
   1994 
   1995 
   1996 
   1997 
   1998 
   1999 
   2000 
   2001 
   2002 
   2003 ac_ext=c
   2004 ac_cpp='$CPP $CPPFLAGS'
   2005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2008 
   2009 
   2010 ac_config_headers="$ac_config_headers fficonfig.h"
   2011 
   2012 
   2013 ac_aux_dir=
   2014 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2015   if test -f "$ac_dir/install-sh"; then
   2016     ac_aux_dir=$ac_dir
   2017     ac_install_sh="$ac_aux_dir/install-sh -c"
   2018     break
   2019   elif test -f "$ac_dir/install.sh"; then
   2020     ac_aux_dir=$ac_dir
   2021     ac_install_sh="$ac_aux_dir/install.sh -c"
   2022     break
   2023   elif test -f "$ac_dir/shtool"; then
   2024     ac_aux_dir=$ac_dir
   2025     ac_install_sh="$ac_aux_dir/shtool install -c"
   2026     break
   2027   fi
   2028 done
   2029 if test -z "$ac_aux_dir"; then
   2030   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2031 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2032    { (exit 1); exit 1; }; }
   2033 fi
   2034 
   2035 # These three variables are undocumented and unsupported,
   2036 # and are intended to be withdrawn in a future Autoconf release.
   2037 # They can cause serious problems if a builder's source tree is in a directory
   2038 # whose full name contains unusual characters.
   2039 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2040 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2041 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2042 
   2043 
   2044 # Make sure we can run config.sub.
   2045 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2046   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2047 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2048    { (exit 1); exit 1; }; }
   2049 
   2050 { echo "$as_me:$LINENO: checking build system type" >&5
   2051 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2052 if test "${ac_cv_build+set}" = set; then
   2053   echo $ECHO_N "(cached) $ECHO_C" >&6
   2054 else
   2055   ac_build_alias=$build_alias
   2056 test "x$ac_build_alias" = x &&
   2057   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2058 test "x$ac_build_alias" = x &&
   2059   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2060 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2061    { (exit 1); exit 1; }; }
   2062 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2063   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2064 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2065    { (exit 1); exit 1; }; }
   2066 
   2067 fi
   2068 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2069 echo "${ECHO_T}$ac_cv_build" >&6; }
   2070 case $ac_cv_build in
   2071 *-*-*) ;;
   2072 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2073 echo "$as_me: error: invalid value of canonical build" >&2;}
   2074    { (exit 1); exit 1; }; };;
   2075 esac
   2076 build=$ac_cv_build
   2077 ac_save_IFS=$IFS; IFS='-'
   2078 set x $ac_cv_build
   2079 shift
   2080 build_cpu=$1
   2081 build_vendor=$2
   2082 shift; shift
   2083 # Remember, the first character of IFS is used to create $*,
   2084 # except with old shells:
   2085 build_os=$*
   2086 IFS=$ac_save_IFS
   2087 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2088 
   2089 
   2090 { echo "$as_me:$LINENO: checking host system type" >&5
   2091 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2092 if test "${ac_cv_host+set}" = set; then
   2093   echo $ECHO_N "(cached) $ECHO_C" >&6
   2094 else
   2095   if test "x$host_alias" = x; then
   2096   ac_cv_host=$ac_cv_build
   2097 else
   2098   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2099     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2100 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2101    { (exit 1); exit 1; }; }
   2102 fi
   2103 
   2104 fi
   2105 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2106 echo "${ECHO_T}$ac_cv_host" >&6; }
   2107 case $ac_cv_host in
   2108 *-*-*) ;;
   2109 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2110 echo "$as_me: error: invalid value of canonical host" >&2;}
   2111    { (exit 1); exit 1; }; };;
   2112 esac
   2113 host=$ac_cv_host
   2114 ac_save_IFS=$IFS; IFS='-'
   2115 set x $ac_cv_host
   2116 shift
   2117 host_cpu=$1
   2118 host_vendor=$2
   2119 shift; shift
   2120 # Remember, the first character of IFS is used to create $*,
   2121 # except with old shells:
   2122 host_os=$*
   2123 IFS=$ac_save_IFS
   2124 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2125 
   2126 
   2127 { echo "$as_me:$LINENO: checking target system type" >&5
   2128 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
   2129 if test "${ac_cv_target+set}" = set; then
   2130   echo $ECHO_N "(cached) $ECHO_C" >&6
   2131 else
   2132   if test "x$target_alias" = x; then
   2133   ac_cv_target=$ac_cv_host
   2134 else
   2135   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2136     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
   2137 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
   2138    { (exit 1); exit 1; }; }
   2139 fi
   2140 
   2141 fi
   2142 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   2143 echo "${ECHO_T}$ac_cv_target" >&6; }
   2144 case $ac_cv_target in
   2145 *-*-*) ;;
   2146 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
   2147 echo "$as_me: error: invalid value of canonical target" >&2;}
   2148    { (exit 1); exit 1; }; };;
   2149 esac
   2150 target=$ac_cv_target
   2151 ac_save_IFS=$IFS; IFS='-'
   2152 set x $ac_cv_target
   2153 shift
   2154 target_cpu=$1
   2155 target_vendor=$2
   2156 shift; shift
   2157 # Remember, the first character of IFS is used to create $*,
   2158 # except with old shells:
   2159 target_os=$*
   2160 IFS=$ac_save_IFS
   2161 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2162 
   2163 
   2164 # The aliases save the names the user supplied, while $host etc.
   2165 # will get canonicalized.
   2166 test -n "$target_alias" &&
   2167   test "$program_prefix$program_suffix$program_transform_name" = \
   2168     NONENONEs,x,x, &&
   2169   program_prefix=${target_alias}-
   2170 target_alias=${target_alias-$host_alias}
   2171 
   2172 . ${srcdir}/configure.host
   2173 
   2174 am__api_version='1.10'
   2175 
   2176 # Find a good install program.  We prefer a C program (faster),
   2177 # so one script is as good as another.  But avoid the broken or
   2178 # incompatible versions:
   2179 # SysV /etc/install, /usr/sbin/install
   2180 # SunOS /usr/etc/install
   2181 # IRIX /sbin/install
   2182 # AIX /bin/install
   2183 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2184 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2185 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2186 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2187 # OS/2's system install, which has a completely different semantic
   2188 # ./install, which can be erroneously created by make from ./install.sh.
   2189 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2190 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
   2191 if test -z "$INSTALL"; then
   2192 if test "${ac_cv_path_install+set}" = set; then
   2193   echo $ECHO_N "(cached) $ECHO_C" >&6
   2194 else
   2195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2196 for as_dir in $PATH
   2197 do
   2198   IFS=$as_save_IFS
   2199   test -z "$as_dir" && as_dir=.
   2200   # Account for people who put trailing slashes in PATH elements.
   2201 case $as_dir/ in
   2202   ./ | .// | /cC/* | \
   2203   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2204   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2205   /usr/ucb/* ) ;;
   2206   *)
   2207     # OSF1 and SCO ODT 3.0 have their own names for install.
   2208     # Don't use installbsd from OSF since it installs stuff as root
   2209     # by default.
   2210     for ac_prog in ginstall scoinst install; do
   2211       for ac_exec_ext in '' $ac_executable_extensions; do
   2212 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2213 	  if test $ac_prog = install &&
   2214 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2215 	    # AIX install.  It has an incompatible calling convention.
   2216 	    :
   2217 	  elif test $ac_prog = install &&
   2218 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2219 	    # program-specific install script used by HP pwplus--don't use.
   2220 	    :
   2221 	  else
   2222 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2223 	    break 3
   2224 	  fi
   2225 	fi
   2226       done
   2227     done
   2228     ;;
   2229 esac
   2230 done
   2231 IFS=$as_save_IFS
   2232 
   2233 
   2234 fi
   2235   if test "${ac_cv_path_install+set}" = set; then
   2236     INSTALL=$ac_cv_path_install
   2237   else
   2238     # As a last resort, use the slow shell script.  Don't cache a
   2239     # value for INSTALL within a source directory, because that will
   2240     # break other packages using the cache if that directory is
   2241     # removed, or if the value is a relative name.
   2242     INSTALL=$ac_install_sh
   2243   fi
   2244 fi
   2245 { echo "$as_me:$LINENO: result: $INSTALL" >&5
   2246 echo "${ECHO_T}$INSTALL" >&6; }
   2247 
   2248 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2249 # It thinks the first close brace ends the variable substitution.
   2250 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2251 
   2252 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2253 
   2254 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2255 
   2256 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2257 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
   2258 # Just in case
   2259 sleep 1
   2260 echo timestamp > conftest.file
   2261 # Do `set' in a subshell so we don't clobber the current shell's
   2262 # arguments.  Must try -L first in case configure is actually a
   2263 # symlink; some systems play weird games with the mod time of symlinks
   2264 # (eg FreeBSD returns the mod time of the symlink's containing
   2265 # directory).
   2266 if (
   2267    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2268    if test "$*" = "X"; then
   2269       # -L didn't work.
   2270       set X `ls -t $srcdir/configure conftest.file`
   2271    fi
   2272    rm -f conftest.file
   2273    if test "$*" != "X $srcdir/configure conftest.file" \
   2274       && test "$*" != "X conftest.file $srcdir/configure"; then
   2275 
   2276       # If neither matched, then we have a broken ls.  This can happen
   2277       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2278       # broken ls alias from the environment.  This has actually
   2279       # happened.  Such a system could not be considered "sane".
   2280       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2281 alias in your environment" >&5
   2282 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2283 alias in your environment" >&2;}
   2284    { (exit 1); exit 1; }; }
   2285    fi
   2286 
   2287    test "$2" = conftest.file
   2288    )
   2289 then
   2290    # Ok.
   2291    :
   2292 else
   2293    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2294 Check your system clock" >&5
   2295 echo "$as_me: error: newly created file is older than distributed files!
   2296 Check your system clock" >&2;}
   2297    { (exit 1); exit 1; }; }
   2298 fi
   2299 { echo "$as_me:$LINENO: result: yes" >&5
   2300 echo "${ECHO_T}yes" >&6; }
   2301 test "$program_prefix" != NONE &&
   2302   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2303 # Use a double $ so make ignores it.
   2304 test "$program_suffix" != NONE &&
   2305   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2306 # Double any \ or $.  echo might interpret backslashes.
   2307 # By default was `s,x,x', remove it if useless.
   2308 cat <<\_ACEOF >conftest.sed
   2309 s/[\\$]/&&/g;s/;s,x,x,$//
   2310 _ACEOF
   2311 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2312 rm -f conftest.sed
   2313 
   2314 # expand $ac_aux_dir to an absolute path
   2315 am_aux_dir=`cd $ac_aux_dir && pwd`
   2316 
   2317 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2318 # Use eval to expand $SHELL
   2319 if eval "$MISSING --run true"; then
   2320   am_missing_run="$MISSING --run "
   2321 else
   2322   am_missing_run=
   2323   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2324 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2325 fi
   2326 
   2327 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2328 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
   2329 if test -z "$MKDIR_P"; then
   2330   if test "${ac_cv_path_mkdir+set}" = set; then
   2331   echo $ECHO_N "(cached) $ECHO_C" >&6
   2332 else
   2333   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2334 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2335 do
   2336   IFS=$as_save_IFS
   2337   test -z "$as_dir" && as_dir=.
   2338   for ac_prog in mkdir gmkdir; do
   2339 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2340 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2341 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2342 	     'mkdir (GNU coreutils) '* | \
   2343 	     'mkdir (coreutils) '* | \
   2344 	     'mkdir (fileutils) '4.1*)
   2345 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2346 	       break 3;;
   2347 	   esac
   2348 	 done
   2349        done
   2350 done
   2351 IFS=$as_save_IFS
   2352 
   2353 fi
   2354 
   2355   if test "${ac_cv_path_mkdir+set}" = set; then
   2356     MKDIR_P="$ac_cv_path_mkdir -p"
   2357   else
   2358     # As a last resort, use the slow shell script.  Don't cache a
   2359     # value for MKDIR_P within a source directory, because that will
   2360     # break other packages using the cache if that directory is
   2361     # removed, or if the value is a relative name.
   2362     test -d ./--version && rmdir ./--version
   2363     MKDIR_P="$ac_install_sh -d"
   2364   fi
   2365 fi
   2366 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2367 echo "${ECHO_T}$MKDIR_P" >&6; }
   2368 
   2369 mkdir_p="$MKDIR_P"
   2370 case $mkdir_p in
   2371   [\\/$]* | ?:[\\/]*) ;;
   2372   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2373 esac
   2374 
   2375 for ac_prog in gawk mawk nawk awk
   2376 do
   2377   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2378 set dummy $ac_prog; ac_word=$2
   2379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2381 if test "${ac_cv_prog_AWK+set}" = set; then
   2382   echo $ECHO_N "(cached) $ECHO_C" >&6
   2383 else
   2384   if test -n "$AWK"; then
   2385   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2386 else
   2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2388 for as_dir in $PATH
   2389 do
   2390   IFS=$as_save_IFS
   2391   test -z "$as_dir" && as_dir=.
   2392   for ac_exec_ext in '' $ac_executable_extensions; do
   2393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2394     ac_cv_prog_AWK="$ac_prog"
   2395     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2396     break 2
   2397   fi
   2398 done
   2399 done
   2400 IFS=$as_save_IFS
   2401 
   2402 fi
   2403 fi
   2404 AWK=$ac_cv_prog_AWK
   2405 if test -n "$AWK"; then
   2406   { echo "$as_me:$LINENO: result: $AWK" >&5
   2407 echo "${ECHO_T}$AWK" >&6; }
   2408 else
   2409   { echo "$as_me:$LINENO: result: no" >&5
   2410 echo "${ECHO_T}no" >&6; }
   2411 fi
   2412 
   2413 
   2414   test -n "$AWK" && break
   2415 done
   2416 
   2417 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2418 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   2419 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2420 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2421   echo $ECHO_N "(cached) $ECHO_C" >&6
   2422 else
   2423   cat >conftest.make <<\_ACEOF
   2424 SHELL = /bin/sh
   2425 all:
   2426 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2427 _ACEOF
   2428 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2429 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2430   *@@@%%%=?*=@@@%%%*)
   2431     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2432   *)
   2433     eval ac_cv_prog_make_${ac_make}_set=no;;
   2434 esac
   2435 rm -f conftest.make
   2436 fi
   2437 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2438   { echo "$as_me:$LINENO: result: yes" >&5
   2439 echo "${ECHO_T}yes" >&6; }
   2440   SET_MAKE=
   2441 else
   2442   { echo "$as_me:$LINENO: result: no" >&5
   2443 echo "${ECHO_T}no" >&6; }
   2444   SET_MAKE="MAKE=${MAKE-make}"
   2445 fi
   2446 
   2447 rm -rf .tst 2>/dev/null
   2448 mkdir .tst 2>/dev/null
   2449 if test -d .tst; then
   2450   am__leading_dot=.
   2451 else
   2452   am__leading_dot=_
   2453 fi
   2454 rmdir .tst 2>/dev/null
   2455 
   2456 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2457   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2458   # is not polluted with repeated "-I."
   2459   am__isrc=' -I$(srcdir)'
   2460   # test to see if srcdir already configured
   2461   if test -f $srcdir/config.status; then
   2462     { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2463 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2464    { (exit 1); exit 1; }; }
   2465   fi
   2466 fi
   2467 
   2468 # test whether we have cygpath
   2469 if test -z "$CYGPATH_W"; then
   2470   if (cygpath --version) >/dev/null 2>/dev/null; then
   2471     CYGPATH_W='cygpath -w'
   2472   else
   2473     CYGPATH_W=echo
   2474   fi
   2475 fi
   2476 
   2477 
   2478 # Define the identity of the package.
   2479  PACKAGE='libffi'
   2480  VERSION='3.0.6'
   2481 
   2482 
   2483 cat >>confdefs.h <<_ACEOF
   2484 #define PACKAGE "$PACKAGE"
   2485 _ACEOF
   2486 
   2487 
   2488 cat >>confdefs.h <<_ACEOF
   2489 #define VERSION "$VERSION"
   2490 _ACEOF
   2491 
   2492 # Some tools Automake needs.
   2493 
   2494 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2495 
   2496 
   2497 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2498 
   2499 
   2500 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2501 
   2502 
   2503 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2504 
   2505 
   2506 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2507 
   2508 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2509 
   2510 # Installed binaries are usually stripped using `strip' when the user
   2511 # run `make install-strip'.  However `strip' might not be the right
   2512 # tool to use in cross-compilation environments, therefore Automake
   2513 # will honor the `STRIP' environment variable to overrule this program.
   2514 if test "$cross_compiling" != no; then
   2515   if test -n "$ac_tool_prefix"; then
   2516   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2517 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2520 if test "${ac_cv_prog_STRIP+set}" = set; then
   2521   echo $ECHO_N "(cached) $ECHO_C" >&6
   2522 else
   2523   if test -n "$STRIP"; then
   2524   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2525 else
   2526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2527 for as_dir in $PATH
   2528 do
   2529   IFS=$as_save_IFS
   2530   test -z "$as_dir" && as_dir=.
   2531   for ac_exec_ext in '' $ac_executable_extensions; do
   2532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2533     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2534     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2535     break 2
   2536   fi
   2537 done
   2538 done
   2539 IFS=$as_save_IFS
   2540 
   2541 fi
   2542 fi
   2543 STRIP=$ac_cv_prog_STRIP
   2544 if test -n "$STRIP"; then
   2545   { echo "$as_me:$LINENO: result: $STRIP" >&5
   2546 echo "${ECHO_T}$STRIP" >&6; }
   2547 else
   2548   { echo "$as_me:$LINENO: result: no" >&5
   2549 echo "${ECHO_T}no" >&6; }
   2550 fi
   2551 
   2552 
   2553 fi
   2554 if test -z "$ac_cv_prog_STRIP"; then
   2555   ac_ct_STRIP=$STRIP
   2556   # Extract the first word of "strip", so it can be a program name with args.
   2557 set dummy strip; ac_word=$2
   2558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2560 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2561   echo $ECHO_N "(cached) $ECHO_C" >&6
   2562 else
   2563   if test -n "$ac_ct_STRIP"; then
   2564   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2565 else
   2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2567 for as_dir in $PATH
   2568 do
   2569   IFS=$as_save_IFS
   2570   test -z "$as_dir" && as_dir=.
   2571   for ac_exec_ext in '' $ac_executable_extensions; do
   2572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2573     ac_cv_prog_ac_ct_STRIP="strip"
   2574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2575     break 2
   2576   fi
   2577 done
   2578 done
   2579 IFS=$as_save_IFS
   2580 
   2581 fi
   2582 fi
   2583 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2584 if test -n "$ac_ct_STRIP"; then
   2585   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2586 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   2587 else
   2588   { echo "$as_me:$LINENO: result: no" >&5
   2589 echo "${ECHO_T}no" >&6; }
   2590 fi
   2591 
   2592   if test "x$ac_ct_STRIP" = x; then
   2593     STRIP=":"
   2594   else
   2595     case $cross_compiling:$ac_tool_warned in
   2596 yes:)
   2597 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2598 whose name does not start with the host triplet.  If you think this
   2599 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2600 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2601 whose name does not start with the host triplet.  If you think this
   2602 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2603 ac_tool_warned=yes ;;
   2604 esac
   2605     STRIP=$ac_ct_STRIP
   2606   fi
   2607 else
   2608   STRIP="$ac_cv_prog_STRIP"
   2609 fi
   2610 
   2611 fi
   2612 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2613 
   2614 # We need awk for the "check" target.  The system "awk" is bad on
   2615 # some platforms.
   2616 # Always define AMTAR for backward compatibility.
   2617 
   2618 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2619 
   2620 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2621 
   2622 
   2623 
   2624 
   2625 
   2626 
   2627 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
   2628 # We must force CC to /not/ be precious variables; otherwise
   2629 # the wrong, non-multilib-adjusted value will be used in multilibs.
   2630 # As a side effect, we have to subst CFLAGS ourselves.
   2631 
   2632 
   2633 
   2634 ac_ext=c
   2635 ac_cpp='$CPP $CPPFLAGS'
   2636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2639 if test -n "$ac_tool_prefix"; then
   2640   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2641 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2644 if test "${ac_cv_prog_CC+set}" = set; then
   2645   echo $ECHO_N "(cached) $ECHO_C" >&6
   2646 else
   2647   if test -n "$CC"; then
   2648   ac_cv_prog_CC="$CC" # Let the user override the test.
   2649 else
   2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2651 for as_dir in $PATH
   2652 do
   2653   IFS=$as_save_IFS
   2654   test -z "$as_dir" && as_dir=.
   2655   for ac_exec_ext in '' $ac_executable_extensions; do
   2656   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2657     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2658     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2659     break 2
   2660   fi
   2661 done
   2662 done
   2663 IFS=$as_save_IFS
   2664 
   2665 fi
   2666 fi
   2667 CC=$ac_cv_prog_CC
   2668 if test -n "$CC"; then
   2669   { echo "$as_me:$LINENO: result: $CC" >&5
   2670 echo "${ECHO_T}$CC" >&6; }
   2671 else
   2672   { echo "$as_me:$LINENO: result: no" >&5
   2673 echo "${ECHO_T}no" >&6; }
   2674 fi
   2675 
   2676 
   2677 fi
   2678 if test -z "$ac_cv_prog_CC"; then
   2679   ac_ct_CC=$CC
   2680   # Extract the first word of "gcc", so it can be a program name with args.
   2681 set dummy gcc; ac_word=$2
   2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2684 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2685   echo $ECHO_N "(cached) $ECHO_C" >&6
   2686 else
   2687   if test -n "$ac_ct_CC"; then
   2688   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2689 else
   2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2691 for as_dir in $PATH
   2692 do
   2693   IFS=$as_save_IFS
   2694   test -z "$as_dir" && as_dir=.
   2695   for ac_exec_ext in '' $ac_executable_extensions; do
   2696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2697     ac_cv_prog_ac_ct_CC="gcc"
   2698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2699     break 2
   2700   fi
   2701 done
   2702 done
   2703 IFS=$as_save_IFS
   2704 
   2705 fi
   2706 fi
   2707 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2708 if test -n "$ac_ct_CC"; then
   2709   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2710 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2711 else
   2712   { echo "$as_me:$LINENO: result: no" >&5
   2713 echo "${ECHO_T}no" >&6; }
   2714 fi
   2715 
   2716   if test "x$ac_ct_CC" = x; then
   2717     CC=""
   2718   else
   2719     case $cross_compiling:$ac_tool_warned in
   2720 yes:)
   2721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2722 whose name does not start with the host triplet.  If you think this
   2723 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2725 whose name does not start with the host triplet.  If you think this
   2726 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2727 ac_tool_warned=yes ;;
   2728 esac
   2729     CC=$ac_ct_CC
   2730   fi
   2731 else
   2732   CC="$ac_cv_prog_CC"
   2733 fi
   2734 
   2735 if test -z "$CC"; then
   2736           if test -n "$ac_tool_prefix"; then
   2737     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2738 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2741 if test "${ac_cv_prog_CC+set}" = set; then
   2742   echo $ECHO_N "(cached) $ECHO_C" >&6
   2743 else
   2744   if test -n "$CC"; then
   2745   ac_cv_prog_CC="$CC" # Let the user override the test.
   2746 else
   2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2748 for as_dir in $PATH
   2749 do
   2750   IFS=$as_save_IFS
   2751   test -z "$as_dir" && as_dir=.
   2752   for ac_exec_ext in '' $ac_executable_extensions; do
   2753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2754     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2755     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2756     break 2
   2757   fi
   2758 done
   2759 done
   2760 IFS=$as_save_IFS
   2761 
   2762 fi
   2763 fi
   2764 CC=$ac_cv_prog_CC
   2765 if test -n "$CC"; then
   2766   { echo "$as_me:$LINENO: result: $CC" >&5
   2767 echo "${ECHO_T}$CC" >&6; }
   2768 else
   2769   { echo "$as_me:$LINENO: result: no" >&5
   2770 echo "${ECHO_T}no" >&6; }
   2771 fi
   2772 
   2773 
   2774   fi
   2775 fi
   2776 if test -z "$CC"; then
   2777   # Extract the first word of "cc", so it can be a program name with args.
   2778 set dummy cc; ac_word=$2
   2779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2781 if test "${ac_cv_prog_CC+set}" = set; then
   2782   echo $ECHO_N "(cached) $ECHO_C" >&6
   2783 else
   2784   if test -n "$CC"; then
   2785   ac_cv_prog_CC="$CC" # Let the user override the test.
   2786 else
   2787   ac_prog_rejected=no
   2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2789 for as_dir in $PATH
   2790 do
   2791   IFS=$as_save_IFS
   2792   test -z "$as_dir" && as_dir=.
   2793   for ac_exec_ext in '' $ac_executable_extensions; do
   2794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2795     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2796        ac_prog_rejected=yes
   2797        continue
   2798      fi
   2799     ac_cv_prog_CC="cc"
   2800     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804 done
   2805 IFS=$as_save_IFS
   2806 
   2807 if test $ac_prog_rejected = yes; then
   2808   # We found a bogon in the path, so make sure we never use it.
   2809   set dummy $ac_cv_prog_CC
   2810   shift
   2811   if test $# != 0; then
   2812     # We chose a different compiler from the bogus one.
   2813     # However, it has the same basename, so the bogon will be chosen
   2814     # first if we set CC to just the basename; use the full file name.
   2815     shift
   2816     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2817   fi
   2818 fi
   2819 fi
   2820 fi
   2821 CC=$ac_cv_prog_CC
   2822 if test -n "$CC"; then
   2823   { echo "$as_me:$LINENO: result: $CC" >&5
   2824 echo "${ECHO_T}$CC" >&6; }
   2825 else
   2826   { echo "$as_me:$LINENO: result: no" >&5
   2827 echo "${ECHO_T}no" >&6; }
   2828 fi
   2829 
   2830 
   2831 fi
   2832 if test -z "$CC"; then
   2833   if test -n "$ac_tool_prefix"; then
   2834   for ac_prog in cl.exe
   2835   do
   2836     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2840 if test "${ac_cv_prog_CC+set}" = set; then
   2841   echo $ECHO_N "(cached) $ECHO_C" >&6
   2842 else
   2843   if test -n "$CC"; then
   2844   ac_cv_prog_CC="$CC" # Let the user override the test.
   2845 else
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   test -z "$as_dir" && as_dir=.
   2851   for ac_exec_ext in '' $ac_executable_extensions; do
   2852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2853     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2854     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2855     break 2
   2856   fi
   2857 done
   2858 done
   2859 IFS=$as_save_IFS
   2860 
   2861 fi
   2862 fi
   2863 CC=$ac_cv_prog_CC
   2864 if test -n "$CC"; then
   2865   { echo "$as_me:$LINENO: result: $CC" >&5
   2866 echo "${ECHO_T}$CC" >&6; }
   2867 else
   2868   { echo "$as_me:$LINENO: result: no" >&5
   2869 echo "${ECHO_T}no" >&6; }
   2870 fi
   2871 
   2872 
   2873     test -n "$CC" && break
   2874   done
   2875 fi
   2876 if test -z "$CC"; then
   2877   ac_ct_CC=$CC
   2878   for ac_prog in cl.exe
   2879 do
   2880   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2881 set dummy $ac_prog; ac_word=$2
   2882 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2885   echo $ECHO_N "(cached) $ECHO_C" >&6
   2886 else
   2887   if test -n "$ac_ct_CC"; then
   2888   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2889 else
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895   for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2897     ac_cv_prog_ac_ct_CC="$ac_prog"
   2898     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2899     break 2
   2900   fi
   2901 done
   2902 done
   2903 IFS=$as_save_IFS
   2904 
   2905 fi
   2906 fi
   2907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2908 if test -n "$ac_ct_CC"; then
   2909   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2910 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2911 else
   2912   { echo "$as_me:$LINENO: result: no" >&5
   2913 echo "${ECHO_T}no" >&6; }
   2914 fi
   2915 
   2916 
   2917   test -n "$ac_ct_CC" && break
   2918 done
   2919 
   2920   if test "x$ac_ct_CC" = x; then
   2921     CC=""
   2922   else
   2923     case $cross_compiling:$ac_tool_warned in
   2924 yes:)
   2925 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2926 whose name does not start with the host triplet.  If you think this
   2927 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2928 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2929 whose name does not start with the host triplet.  If you think this
   2930 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2931 ac_tool_warned=yes ;;
   2932 esac
   2933     CC=$ac_ct_CC
   2934   fi
   2935 fi
   2936 
   2937 fi
   2938 
   2939 
   2940 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2941 See \`config.log' for more details." >&5
   2942 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2943 See \`config.log' for more details." >&2;}
   2944    { (exit 1); exit 1; }; }
   2945 
   2946 # Provide some information about the compiler.
   2947 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2948 ac_compiler=`set X $ac_compile; echo $2`
   2949 { (ac_try="$ac_compiler --version >&5"
   2950 case "(($ac_try" in
   2951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2952   *) ac_try_echo=$ac_try;;
   2953 esac
   2954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2955   (eval "$ac_compiler --version >&5") 2>&5
   2956   ac_status=$?
   2957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2958   (exit $ac_status); }
   2959 { (ac_try="$ac_compiler -v >&5"
   2960 case "(($ac_try" in
   2961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2962   *) ac_try_echo=$ac_try;;
   2963 esac
   2964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2965   (eval "$ac_compiler -v >&5") 2>&5
   2966   ac_status=$?
   2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2968   (exit $ac_status); }
   2969 { (ac_try="$ac_compiler -V >&5"
   2970 case "(($ac_try" in
   2971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2972   *) ac_try_echo=$ac_try;;
   2973 esac
   2974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2975   (eval "$ac_compiler -V >&5") 2>&5
   2976   ac_status=$?
   2977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2978   (exit $ac_status); }
   2979 
   2980 cat >conftest.$ac_ext <<_ACEOF
   2981 /* confdefs.h.  */
   2982 _ACEOF
   2983 cat confdefs.h >>conftest.$ac_ext
   2984 cat >>conftest.$ac_ext <<_ACEOF
   2985 /* end confdefs.h.  */
   2986 
   2987 int
   2988 main ()
   2989 {
   2990 
   2991   ;
   2992   return 0;
   2993 }
   2994 _ACEOF
   2995 ac_clean_files_save=$ac_clean_files
   2996 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2997 # Try to create an executable without -o first, disregard a.out.
   2998 # It will help us diagnose broken compilers, and finding out an intuition
   2999 # of exeext.
   3000 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3001 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   3002 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3003 #
   3004 # List of possible output files, starting from the most likely.
   3005 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   3006 # only as a last resort.  b.out is created by i960 compilers.
   3007 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   3008 #
   3009 # The IRIX 6 linker writes into existing files which may not be
   3010 # executable, retaining their permissions.  Remove them first so a
   3011 # subsequent execution test works.
   3012 ac_rmfiles=
   3013 for ac_file in $ac_files
   3014 do
   3015   case $ac_file in
   3016     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3017     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3018   esac
   3019 done
   3020 rm -f $ac_rmfiles
   3021 
   3022 if { (ac_try="$ac_link_default"
   3023 case "(($ac_try" in
   3024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3025   *) ac_try_echo=$ac_try;;
   3026 esac
   3027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3028   (eval "$ac_link_default") 2>&5
   3029   ac_status=$?
   3030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3031   (exit $ac_status); }; then
   3032   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3033 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3034 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3035 # so that the user can short-circuit this test for compilers unknown to
   3036 # Autoconf.
   3037 for ac_file in $ac_files ''
   3038 do
   3039   test -f "$ac_file" || continue
   3040   case $ac_file in
   3041     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   3042 	;;
   3043     [ab].out )
   3044 	# We found the default executable, but exeext='' is most
   3045 	# certainly right.
   3046 	break;;
   3047     *.* )
   3048         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3049 	then :; else
   3050 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3051 	fi
   3052 	# We set ac_cv_exeext here because the later test for it is not
   3053 	# safe: cross compilers may not add the suffix if given an `-o'
   3054 	# argument, so we may need to know it at that point already.
   3055 	# Even if this section looks crufty: it has the advantage of
   3056 	# actually working.
   3057 	break;;
   3058     * )
   3059 	break;;
   3060   esac
   3061 done
   3062 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3063 
   3064 else
   3065   ac_file=''
   3066 fi
   3067 
   3068 { echo "$as_me:$LINENO: result: $ac_file" >&5
   3069 echo "${ECHO_T}$ac_file" >&6; }
   3070 if test -z "$ac_file"; then
   3071   echo "$as_me: failed program was:" >&5
   3072 sed 's/^/| /' conftest.$ac_ext >&5
   3073 
   3074 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   3075 See \`config.log' for more details." >&5
   3076 echo "$as_me: error: C compiler cannot create executables
   3077 See \`config.log' for more details." >&2;}
   3078    { (exit 77); exit 77; }; }
   3079 fi
   3080 
   3081 ac_exeext=$ac_cv_exeext
   3082 
   3083 # Check that the compiler produces executables we can run.  If not, either
   3084 # the compiler is broken, or we cross compile.
   3085 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3086 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   3087 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3088 # If not cross compiling, check that we can run a simple program.
   3089 if test "$cross_compiling" != yes; then
   3090   if { ac_try='./$ac_file'
   3091   { (case "(($ac_try" in
   3092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3093   *) ac_try_echo=$ac_try;;
   3094 esac
   3095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3096   (eval "$ac_try") 2>&5
   3097   ac_status=$?
   3098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3099   (exit $ac_status); }; }; then
   3100     cross_compiling=no
   3101   else
   3102     if test "$cross_compiling" = maybe; then
   3103 	cross_compiling=yes
   3104     else
   3105 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3106 If you meant to cross compile, use \`--host'.
   3107 See \`config.log' for more details." >&5
   3108 echo "$as_me: error: cannot run C compiled programs.
   3109 If you meant to cross compile, use \`--host'.
   3110 See \`config.log' for more details." >&2;}
   3111    { (exit 1); exit 1; }; }
   3112     fi
   3113   fi
   3114 fi
   3115 { echo "$as_me:$LINENO: result: yes" >&5
   3116 echo "${ECHO_T}yes" >&6; }
   3117 
   3118 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   3119 ac_clean_files=$ac_clean_files_save
   3120 # Check that the compiler produces executables we can run.  If not, either
   3121 # the compiler is broken, or we cross compile.
   3122 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3123 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   3124 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3125 echo "${ECHO_T}$cross_compiling" >&6; }
   3126 
   3127 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3128 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   3129 if { (ac_try="$ac_link"
   3130 case "(($ac_try" in
   3131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3132   *) ac_try_echo=$ac_try;;
   3133 esac
   3134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3135   (eval "$ac_link") 2>&5
   3136   ac_status=$?
   3137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3138   (exit $ac_status); }; then
   3139   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3140 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3141 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3142 # `rm'.
   3143 for ac_file in conftest.exe conftest conftest.*; do
   3144   test -f "$ac_file" || continue
   3145   case $ac_file in
   3146     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   3147     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3148 	  break;;
   3149     * ) break;;
   3150   esac
   3151 done
   3152 else
   3153   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3154 See \`config.log' for more details." >&5
   3155 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3156 See \`config.log' for more details." >&2;}
   3157    { (exit 1); exit 1; }; }
   3158 fi
   3159 
   3160 rm -f conftest$ac_cv_exeext
   3161 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3162 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   3163 
   3164 rm -f conftest.$ac_ext
   3165 EXEEXT=$ac_cv_exeext
   3166 ac_exeext=$EXEEXT
   3167 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3168 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   3169 if test "${ac_cv_objext+set}" = set; then
   3170   echo $ECHO_N "(cached) $ECHO_C" >&6
   3171 else
   3172   cat >conftest.$ac_ext <<_ACEOF
   3173 /* confdefs.h.  */
   3174 _ACEOF
   3175 cat confdefs.h >>conftest.$ac_ext
   3176 cat >>conftest.$ac_ext <<_ACEOF
   3177 /* end confdefs.h.  */
   3178 
   3179 int
   3180 main ()
   3181 {
   3182 
   3183   ;
   3184   return 0;
   3185 }
   3186 _ACEOF
   3187 rm -f conftest.o conftest.obj
   3188 if { (ac_try="$ac_compile"
   3189 case "(($ac_try" in
   3190   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3191   *) ac_try_echo=$ac_try;;
   3192 esac
   3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3194   (eval "$ac_compile") 2>&5
   3195   ac_status=$?
   3196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3197   (exit $ac_status); }; then
   3198   for ac_file in conftest.o conftest.obj conftest.*; do
   3199   test -f "$ac_file" || continue;
   3200   case $ac_file in
   3201     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   3202     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3203        break;;
   3204   esac
   3205 done
   3206 else
   3207   echo "$as_me: failed program was:" >&5
   3208 sed 's/^/| /' conftest.$ac_ext >&5
   3209 
   3210 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3211 See \`config.log' for more details." >&5
   3212 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3213 See \`config.log' for more details." >&2;}
   3214    { (exit 1); exit 1; }; }
   3215 fi
   3216 
   3217 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3218 fi
   3219 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3220 echo "${ECHO_T}$ac_cv_objext" >&6; }
   3221 OBJEXT=$ac_cv_objext
   3222 ac_objext=$OBJEXT
   3223 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3224 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   3225 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3226   echo $ECHO_N "(cached) $ECHO_C" >&6
   3227 else
   3228   cat >conftest.$ac_ext <<_ACEOF
   3229 /* confdefs.h.  */
   3230 _ACEOF
   3231 cat confdefs.h >>conftest.$ac_ext
   3232 cat >>conftest.$ac_ext <<_ACEOF
   3233 /* end confdefs.h.  */
   3234 
   3235 int
   3236 main ()
   3237 {
   3238 #ifndef __GNUC__
   3239        choke me
   3240 #endif
   3241 
   3242   ;
   3243   return 0;
   3244 }
   3245 _ACEOF
   3246 rm -f conftest.$ac_objext
   3247 if { (ac_try="$ac_compile"
   3248 case "(($ac_try" in
   3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3250   *) ac_try_echo=$ac_try;;
   3251 esac
   3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3253   (eval "$ac_compile") 2>conftest.er1
   3254   ac_status=$?
   3255   grep -v '^ *+' conftest.er1 >conftest.err
   3256   rm -f conftest.er1
   3257   cat conftest.err >&5
   3258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3259   (exit $ac_status); } && {
   3260 	 test -z "$ac_c_werror_flag" ||
   3261 	 test ! -s conftest.err
   3262        } && test -s conftest.$ac_objext; then
   3263   ac_compiler_gnu=yes
   3264 else
   3265   echo "$as_me: failed program was:" >&5
   3266 sed 's/^/| /' conftest.$ac_ext >&5
   3267 
   3268 	ac_compiler_gnu=no
   3269 fi
   3270 
   3271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3272 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3273 
   3274 fi
   3275 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3276 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   3277 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3278 ac_test_CFLAGS=${CFLAGS+set}
   3279 ac_save_CFLAGS=$CFLAGS
   3280 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3281 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   3282 if test "${ac_cv_prog_cc_g+set}" = set; then
   3283   echo $ECHO_N "(cached) $ECHO_C" >&6
   3284 else
   3285   ac_save_c_werror_flag=$ac_c_werror_flag
   3286    ac_c_werror_flag=yes
   3287    ac_cv_prog_cc_g=no
   3288    CFLAGS="-g"
   3289    cat >conftest.$ac_ext <<_ACEOF
   3290 /* confdefs.h.  */
   3291 _ACEOF
   3292 cat confdefs.h >>conftest.$ac_ext
   3293 cat >>conftest.$ac_ext <<_ACEOF
   3294 /* end confdefs.h.  */
   3295 
   3296 int
   3297 main ()
   3298 {
   3299 
   3300   ;
   3301   return 0;
   3302 }
   3303 _ACEOF
   3304 rm -f conftest.$ac_objext
   3305 if { (ac_try="$ac_compile"
   3306 case "(($ac_try" in
   3307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3308   *) ac_try_echo=$ac_try;;
   3309 esac
   3310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3311   (eval "$ac_compile") 2>conftest.er1
   3312   ac_status=$?
   3313   grep -v '^ *+' conftest.er1 >conftest.err
   3314   rm -f conftest.er1
   3315   cat conftest.err >&5
   3316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3317   (exit $ac_status); } && {
   3318 	 test -z "$ac_c_werror_flag" ||
   3319 	 test ! -s conftest.err
   3320        } && test -s conftest.$ac_objext; then
   3321   ac_cv_prog_cc_g=yes
   3322 else
   3323   echo "$as_me: failed program was:" >&5
   3324 sed 's/^/| /' conftest.$ac_ext >&5
   3325 
   3326 	CFLAGS=""
   3327       cat >conftest.$ac_ext <<_ACEOF
   3328 /* confdefs.h.  */
   3329 _ACEOF
   3330 cat confdefs.h >>conftest.$ac_ext
   3331 cat >>conftest.$ac_ext <<_ACEOF
   3332 /* end confdefs.h.  */
   3333 
   3334 int
   3335 main ()
   3336 {
   3337 
   3338   ;
   3339   return 0;
   3340 }
   3341 _ACEOF
   3342 rm -f conftest.$ac_objext
   3343 if { (ac_try="$ac_compile"
   3344 case "(($ac_try" in
   3345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3346   *) ac_try_echo=$ac_try;;
   3347 esac
   3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3349   (eval "$ac_compile") 2>conftest.er1
   3350   ac_status=$?
   3351   grep -v '^ *+' conftest.er1 >conftest.err
   3352   rm -f conftest.er1
   3353   cat conftest.err >&5
   3354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3355   (exit $ac_status); } && {
   3356 	 test -z "$ac_c_werror_flag" ||
   3357 	 test ! -s conftest.err
   3358        } && test -s conftest.$ac_objext; then
   3359   :
   3360 else
   3361   echo "$as_me: failed program was:" >&5
   3362 sed 's/^/| /' conftest.$ac_ext >&5
   3363 
   3364 	ac_c_werror_flag=$ac_save_c_werror_flag
   3365 	 CFLAGS="-g"
   3366 	 cat >conftest.$ac_ext <<_ACEOF
   3367 /* confdefs.h.  */
   3368 _ACEOF
   3369 cat confdefs.h >>conftest.$ac_ext
   3370 cat >>conftest.$ac_ext <<_ACEOF
   3371 /* end confdefs.h.  */
   3372 
   3373 int
   3374 main ()
   3375 {
   3376 
   3377   ;
   3378   return 0;
   3379 }
   3380 _ACEOF
   3381 rm -f conftest.$ac_objext
   3382 if { (ac_try="$ac_compile"
   3383 case "(($ac_try" in
   3384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3385   *) ac_try_echo=$ac_try;;
   3386 esac
   3387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3388   (eval "$ac_compile") 2>conftest.er1
   3389   ac_status=$?
   3390   grep -v '^ *+' conftest.er1 >conftest.err
   3391   rm -f conftest.er1
   3392   cat conftest.err >&5
   3393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3394   (exit $ac_status); } && {
   3395 	 test -z "$ac_c_werror_flag" ||
   3396 	 test ! -s conftest.err
   3397        } && test -s conftest.$ac_objext; then
   3398   ac_cv_prog_cc_g=yes
   3399 else
   3400   echo "$as_me: failed program was:" >&5
   3401 sed 's/^/| /' conftest.$ac_ext >&5
   3402 
   3403 
   3404 fi
   3405 
   3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3407 fi
   3408 
   3409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3410 fi
   3411 
   3412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3413    ac_c_werror_flag=$ac_save_c_werror_flag
   3414 fi
   3415 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3416 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3417 if test "$ac_test_CFLAGS" = set; then
   3418   CFLAGS=$ac_save_CFLAGS
   3419 elif test $ac_cv_prog_cc_g = yes; then
   3420   if test "$GCC" = yes; then
   3421     CFLAGS="-g -O2"
   3422   else
   3423     CFLAGS="-g"
   3424   fi
   3425 else
   3426   if test "$GCC" = yes; then
   3427     CFLAGS="-O2"
   3428   else
   3429     CFLAGS=
   3430   fi
   3431 fi
   3432 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3433 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3434 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3435   echo $ECHO_N "(cached) $ECHO_C" >&6
   3436 else
   3437   ac_cv_prog_cc_c89=no
   3438 ac_save_CC=$CC
   3439 cat >conftest.$ac_ext <<_ACEOF
   3440 /* confdefs.h.  */
   3441 _ACEOF
   3442 cat confdefs.h >>conftest.$ac_ext
   3443 cat >>conftest.$ac_ext <<_ACEOF
   3444 /* end confdefs.h.  */
   3445 #include <stdarg.h>
   3446 #include <stdio.h>
   3447 #include <sys/types.h>
   3448 #include <sys/stat.h>
   3449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3450 struct buf { int x; };
   3451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3452 static char *e (p, i)
   3453      char **p;
   3454      int i;
   3455 {
   3456   return p[i];
   3457 }
   3458 static char *f (char * (*g) (char **, int), char **p, ...)
   3459 {
   3460   char *s;
   3461   va_list v;
   3462   va_start (v,p);
   3463   s = g (p, va_arg (v,int));
   3464   va_end (v);
   3465   return s;
   3466 }
   3467 
   3468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3469    function prototypes and stuff, but not '\xHH' hex character constants.
   3470    These don't provoke an error unfortunately, instead are silently treated
   3471    as 'x'.  The following induces an error, until -std is added to get
   3472    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3473    array size at least.  It's necessary to write '\x00'==0 to get something
   3474    that's true only with -std.  */
   3475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3476 
   3477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3478    inside strings and character constants.  */
   3479 #define FOO(x) 'x'
   3480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3481 
   3482 int test (int i, double x);
   3483 struct s1 {int (*f) (int a);};
   3484 struct s2 {int (*f) (double a);};
   3485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3486 int argc;
   3487 char **argv;
   3488 int
   3489 main ()
   3490 {
   3491 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3492   ;
   3493   return 0;
   3494 }
   3495 _ACEOF
   3496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3497 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3498 do
   3499   CC="$ac_save_CC $ac_arg"
   3500   rm -f conftest.$ac_objext
   3501 if { (ac_try="$ac_compile"
   3502 case "(($ac_try" in
   3503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3504   *) ac_try_echo=$ac_try;;
   3505 esac
   3506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3507   (eval "$ac_compile") 2>conftest.er1
   3508   ac_status=$?
   3509   grep -v '^ *+' conftest.er1 >conftest.err
   3510   rm -f conftest.er1
   3511   cat conftest.err >&5
   3512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3513   (exit $ac_status); } && {
   3514 	 test -z "$ac_c_werror_flag" ||
   3515 	 test ! -s conftest.err
   3516        } && test -s conftest.$ac_objext; then
   3517   ac_cv_prog_cc_c89=$ac_arg
   3518 else
   3519   echo "$as_me: failed program was:" >&5
   3520 sed 's/^/| /' conftest.$ac_ext >&5
   3521 
   3522 
   3523 fi
   3524 
   3525 rm -f core conftest.err conftest.$ac_objext
   3526   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3527 done
   3528 rm -f conftest.$ac_ext
   3529 CC=$ac_save_CC
   3530 
   3531 fi
   3532 # AC_CACHE_VAL
   3533 case "x$ac_cv_prog_cc_c89" in
   3534   x)
   3535     { echo "$as_me:$LINENO: result: none needed" >&5
   3536 echo "${ECHO_T}none needed" >&6; } ;;
   3537   xno)
   3538     { echo "$as_me:$LINENO: result: unsupported" >&5
   3539 echo "${ECHO_T}unsupported" >&6; } ;;
   3540   *)
   3541     CC="$CC $ac_cv_prog_cc_c89"
   3542     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3543 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3544 esac
   3545 
   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 DEPDIR="${am__leading_dot}deps"
   3553 
   3554 ac_config_commands="$ac_config_commands depfiles"
   3555 
   3556 
   3557 am_make=${MAKE-make}
   3558 cat > confinc << 'END'
   3559 am__doit:
   3560 	@echo done
   3561 .PHONY: am__doit
   3562 END
   3563 # If we don't find an include directive, just comment out the code.
   3564 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3565 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
   3566 am__include="#"
   3567 am__quote=
   3568 _am_result=none
   3569 # First try GNU make style include.
   3570 echo "include confinc" > confmf
   3571 # We grep out `Entering directory' and `Leaving directory'
   3572 # messages which can occur if `w' ends up in MAKEFLAGS.
   3573 # In particular we don't look at `^make:' because GNU make might
   3574 # be invoked under some other name (usually "gmake"), in which
   3575 # case it prints its new name instead of `make'.
   3576 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3577    am__include=include
   3578    am__quote=
   3579    _am_result=GNU
   3580 fi
   3581 # Now try BSD make style include.
   3582 if test "$am__include" = "#"; then
   3583    echo '.include "confinc"' > confmf
   3584    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3585       am__include=.include
   3586       am__quote="\""
   3587       _am_result=BSD
   3588    fi
   3589 fi
   3590 
   3591 
   3592 { echo "$as_me:$LINENO: result: $_am_result" >&5
   3593 echo "${ECHO_T}$_am_result" >&6; }
   3594 rm -f confinc confmf
   3595 
   3596 # Check whether --enable-dependency-tracking was given.
   3597 if test "${enable_dependency_tracking+set}" = set; then
   3598   enableval=$enable_dependency_tracking;
   3599 fi
   3600 
   3601 if test "x$enable_dependency_tracking" != xno; then
   3602   am_depcomp="$ac_aux_dir/depcomp"
   3603   AMDEPBACKSLASH='\'
   3604 fi
   3605  if test "x$enable_dependency_tracking" != xno; then
   3606   AMDEP_TRUE=
   3607   AMDEP_FALSE='#'
   3608 else
   3609   AMDEP_TRUE='#'
   3610   AMDEP_FALSE=
   3611 fi
   3612 
   3613 
   3614 
   3615 depcc="$CC"   am_compiler_list=
   3616 
   3617 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3618 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3619 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3620   echo $ECHO_N "(cached) $ECHO_C" >&6
   3621 else
   3622   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3623   # We make a subdir and do the tests there.  Otherwise we can end up
   3624   # making bogus files that we don't know about and never remove.  For
   3625   # instance it was reported that on HP-UX the gcc test will end up
   3626   # making a dummy file named `D' -- because `-MD' means `put the output
   3627   # in D'.
   3628   mkdir conftest.dir
   3629   # Copy depcomp to subdir because otherwise we won't find it if we're
   3630   # using a relative directory.
   3631   cp "$am_depcomp" conftest.dir
   3632   cd conftest.dir
   3633   # We will build objects and dependencies in a subdirectory because
   3634   # it helps to detect inapplicable dependency modes.  For instance
   3635   # both Tru64's cc and ICC support -MD to output dependencies as a
   3636   # side effect of compilation, but ICC will put the dependencies in
   3637   # the current directory while Tru64 will put them in the object
   3638   # directory.
   3639   mkdir sub
   3640 
   3641   am_cv_CC_dependencies_compiler_type=none
   3642   if test "$am_compiler_list" = ""; then
   3643      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3644   fi
   3645   for depmode in $am_compiler_list; do
   3646     # Setup a source with many dependencies, because some compilers
   3647     # like to wrap large dependency lists on column 80 (with \), and
   3648     # we should not choose a depcomp mode which is confused by this.
   3649     #
   3650     # We need to recreate these files for each test, as the compiler may
   3651     # overwrite some of them when testing with obscure command lines.
   3652     # This happens at least with the AIX C compiler.
   3653     : > sub/conftest.c
   3654     for i in 1 2 3 4 5 6; do
   3655       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3656       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3657       # Solaris 8's {/usr,}/bin/sh.
   3658       touch sub/conftst$i.h
   3659     done
   3660     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3661 
   3662     case $depmode in
   3663     nosideeffect)
   3664       # after this tag, mechanisms are not by side-effect, so they'll
   3665       # only be used when explicitly requested
   3666       if test "x$enable_dependency_tracking" = xyes; then
   3667 	continue
   3668       else
   3669 	break
   3670       fi
   3671       ;;
   3672     none) break ;;
   3673     esac
   3674     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3675     # mode.  It turns out that the SunPro C++ compiler does not properly
   3676     # handle `-M -o', and we need to detect this.
   3677     if depmode=$depmode \
   3678        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3679        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3680        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3681          >/dev/null 2>conftest.err &&
   3682        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3683        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3684        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3685        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3686       # icc doesn't choke on unknown options, it will just issue warnings
   3687       # or remarks (even with -Werror).  So we grep stderr for any message
   3688       # that says an option was ignored or not supported.
   3689       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3690       #   icc: Command line warning: ignoring option '-M'; no argument required
   3691       # The diagnosis changed in icc 8.0:
   3692       #   icc: Command line remark: option '-MP' not supported
   3693       if (grep 'ignoring option' conftest.err ||
   3694           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3695         am_cv_CC_dependencies_compiler_type=$depmode
   3696         break
   3697       fi
   3698     fi
   3699   done
   3700 
   3701   cd ..
   3702   rm -rf conftest.dir
   3703 else
   3704   am_cv_CC_dependencies_compiler_type=none
   3705 fi
   3706 
   3707 fi
   3708 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3709 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
   3710 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3711 
   3712  if
   3713   test "x$enable_dependency_tracking" != xno \
   3714   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3715   am__fastdepCC_TRUE=
   3716   am__fastdepCC_FALSE='#'
   3717 else
   3718   am__fastdepCC_TRUE='#'
   3719   am__fastdepCC_FALSE=
   3720 fi
   3721 
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 # By default we simply use the C compiler to build assembly code.
   3728 
   3729 test "${CCAS+set}" = set || CCAS=$CC
   3730 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
   3731 
   3732 
   3733 
   3734 depcc="$CCAS"   am_compiler_list=
   3735 
   3736 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3737 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   3738 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
   3739   echo $ECHO_N "(cached) $ECHO_C" >&6
   3740 else
   3741   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3742   # We make a subdir and do the tests there.  Otherwise we can end up
   3743   # making bogus files that we don't know about and never remove.  For
   3744   # instance it was reported that on HP-UX the gcc test will end up
   3745   # making a dummy file named `D' -- because `-MD' means `put the output
   3746   # in D'.
   3747   mkdir conftest.dir
   3748   # Copy depcomp to subdir because otherwise we won't find it if we're
   3749   # using a relative directory.
   3750   cp "$am_depcomp" conftest.dir
   3751   cd conftest.dir
   3752   # We will build objects and dependencies in a subdirectory because
   3753   # it helps to detect inapplicable dependency modes.  For instance
   3754   # both Tru64's cc and ICC support -MD to output dependencies as a
   3755   # side effect of compilation, but ICC will put the dependencies in
   3756   # the current directory while Tru64 will put them in the object
   3757   # directory.
   3758   mkdir sub
   3759 
   3760   am_cv_CCAS_dependencies_compiler_type=none
   3761   if test "$am_compiler_list" = ""; then
   3762      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3763   fi
   3764   for depmode in $am_compiler_list; do
   3765     # Setup a source with many dependencies, because some compilers
   3766     # like to wrap large dependency lists on column 80 (with \), and
   3767     # we should not choose a depcomp mode which is confused by this.
   3768     #
   3769     # We need to recreate these files for each test, as the compiler may
   3770     # overwrite some of them when testing with obscure command lines.
   3771     # This happens at least with the AIX C compiler.
   3772     : > sub/conftest.c
   3773     for i in 1 2 3 4 5 6; do
   3774       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3775       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3776       # Solaris 8's {/usr,}/bin/sh.
   3777       touch sub/conftst$i.h
   3778     done
   3779     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3780 
   3781     case $depmode in
   3782     nosideeffect)
   3783       # after this tag, mechanisms are not by side-effect, so they'll
   3784       # only be used when explicitly requested
   3785       if test "x$enable_dependency_tracking" = xyes; then
   3786 	continue
   3787       else
   3788 	break
   3789       fi
   3790       ;;
   3791     none) break ;;
   3792     esac
   3793     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3794     # mode.  It turns out that the SunPro C++ compiler does not properly
   3795     # handle `-M -o', and we need to detect this.
   3796     if depmode=$depmode \
   3797        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3798        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3799        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3800          >/dev/null 2>conftest.err &&
   3801        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3802        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3803        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3804        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3805       # icc doesn't choke on unknown options, it will just issue warnings
   3806       # or remarks (even with -Werror).  So we grep stderr for any message
   3807       # that says an option was ignored or not supported.
   3808       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3809       #   icc: Command line warning: ignoring option '-M'; no argument required
   3810       # The diagnosis changed in icc 8.0:
   3811       #   icc: Command line remark: option '-MP' not supported
   3812       if (grep 'ignoring option' conftest.err ||
   3813           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3814         am_cv_CCAS_dependencies_compiler_type=$depmode
   3815         break
   3816       fi
   3817     fi
   3818   done
   3819 
   3820   cd ..
   3821   rm -rf conftest.dir
   3822 else
   3823   am_cv_CCAS_dependencies_compiler_type=none
   3824 fi
   3825 
   3826 fi
   3827 { echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
   3828 echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
   3829 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
   3830 
   3831  if
   3832   test "x$enable_dependency_tracking" != xno \
   3833   && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
   3834   am__fastdepCCAS_TRUE=
   3835   am__fastdepCCAS_FALSE='#'
   3836 else
   3837   am__fastdepCCAS_TRUE='#'
   3838   am__fastdepCCAS_FALSE=
   3839 fi
   3840 
   3841 
   3842 if test "x$CC" != xcc; then
   3843   { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
   3844 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
   3845 else
   3846   { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
   3847 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
   3848 fi
   3849 set dummy $CC; ac_cc=`echo $2 |
   3850 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   3851 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
   3852   echo $ECHO_N "(cached) $ECHO_C" >&6
   3853 else
   3854   cat >conftest.$ac_ext <<_ACEOF
   3855 /* confdefs.h.  */
   3856 _ACEOF
   3857 cat confdefs.h >>conftest.$ac_ext
   3858 cat >>conftest.$ac_ext <<_ACEOF
   3859 /* end confdefs.h.  */
   3860 
   3861 int
   3862 main ()
   3863 {
   3864 
   3865   ;
   3866   return 0;
   3867 }
   3868 _ACEOF
   3869 # Make sure it works both with $CC and with simple cc.
   3870 # We do the test twice because some compilers refuse to overwrite an
   3871 # existing .o file with -o, though they will create one.
   3872 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   3873 rm -f conftest2.*
   3874 if { (case "(($ac_try" in
   3875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3876   *) ac_try_echo=$ac_try;;
   3877 esac
   3878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3879   (eval "$ac_try") 2>&5
   3880   ac_status=$?
   3881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3882   (exit $ac_status); } &&
   3883    test -f conftest2.$ac_objext && { (case "(($ac_try" in
   3884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3885   *) ac_try_echo=$ac_try;;
   3886 esac
   3887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3888   (eval "$ac_try") 2>&5
   3889   ac_status=$?
   3890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3891   (exit $ac_status); };
   3892 then
   3893   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   3894   if test "x$CC" != xcc; then
   3895     # Test first that cc exists at all.
   3896     if { ac_try='cc -c conftest.$ac_ext >&5'
   3897   { (case "(($ac_try" in
   3898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3899   *) ac_try_echo=$ac_try;;
   3900 esac
   3901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3902   (eval "$ac_try") 2>&5
   3903   ac_status=$?
   3904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3905   (exit $ac_status); }; }; then
   3906       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   3907       rm -f conftest2.*
   3908       if { (case "(($ac_try" in
   3909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3910   *) ac_try_echo=$ac_try;;
   3911 esac
   3912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3913   (eval "$ac_try") 2>&5
   3914   ac_status=$?
   3915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3916   (exit $ac_status); } &&
   3917 	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
   3918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3919   *) ac_try_echo=$ac_try;;
   3920 esac
   3921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3922   (eval "$ac_try") 2>&5
   3923   ac_status=$?
   3924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3925   (exit $ac_status); };
   3926       then
   3927 	# cc works too.
   3928 	:
   3929       else
   3930 	# cc exists but doesn't like -o.
   3931 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   3932       fi
   3933     fi
   3934   fi
   3935 else
   3936   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   3937 fi
   3938 rm -f core conftest*
   3939 
   3940 fi
   3941 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   3942   { echo "$as_me:$LINENO: result: yes" >&5
   3943 echo "${ECHO_T}yes" >&6; }
   3944 else
   3945   { echo "$as_me:$LINENO: result: no" >&5
   3946 echo "${ECHO_T}no" >&6; }
   3947 
   3948 cat >>confdefs.h <<\_ACEOF
   3949 #define NO_MINUS_C_MINUS_O 1
   3950 _ACEOF
   3951 
   3952 fi
   3953 
   3954 # FIXME: we rely on the cache variable name because
   3955 # there is no other way.
   3956 set dummy $CC
   3957 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   3958 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
   3959    # Losing compiler, so override with the script.
   3960    # FIXME: It is wrong to rewrite CC.
   3961    # But if we don't then we get into trouble of one sort or another.
   3962    # A longer-term fix would be to have automake use am__CC in this case,
   3963    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3964    CC="$am_aux_dir/compile $CC"
   3965 fi
   3966 
   3967 
   3968 # Check whether --enable-shared was given.
   3969 if test "${enable_shared+set}" = set; then
   3970   enableval=$enable_shared; p=${PACKAGE-default}
   3971     case $enableval in
   3972     yes) enable_shared=yes ;;
   3973     no) enable_shared=no ;;
   3974     *)
   3975       enable_shared=no
   3976       # Look at the argument we got.  We use all the common list separators.
   3977       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3978       for pkg in $enableval; do
   3979 	IFS="$lt_save_ifs"
   3980 	if test "X$pkg" = "X$p"; then
   3981 	  enable_shared=yes
   3982 	fi
   3983       done
   3984       IFS="$lt_save_ifs"
   3985       ;;
   3986     esac
   3987 else
   3988   enable_shared=yes
   3989 fi
   3990 
   3991 
   3992 # Check whether --enable-static was given.
   3993 if test "${enable_static+set}" = set; then
   3994   enableval=$enable_static; p=${PACKAGE-default}
   3995     case $enableval in
   3996     yes) enable_static=yes ;;
   3997     no) enable_static=no ;;
   3998     *)
   3999      enable_static=no
   4000       # Look at the argument we got.  We use all the common list separators.
   4001       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4002       for pkg in $enableval; do
   4003 	IFS="$lt_save_ifs"
   4004 	if test "X$pkg" = "X$p"; then
   4005 	  enable_static=yes
   4006 	fi
   4007       done
   4008       IFS="$lt_save_ifs"
   4009       ;;
   4010     esac
   4011 else
   4012   enable_static=yes
   4013 fi
   4014 
   4015 
   4016 # Check whether --enable-fast-install was given.
   4017 if test "${enable_fast_install+set}" = set; then
   4018   enableval=$enable_fast_install; p=${PACKAGE-default}
   4019     case $enableval in
   4020     yes) enable_fast_install=yes ;;
   4021     no) enable_fast_install=no ;;
   4022     *)
   4023       enable_fast_install=no
   4024       # Look at the argument we got.  We use all the common list separators.
   4025       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   4026       for pkg in $enableval; do
   4027 	IFS="$lt_save_ifs"
   4028 	if test "X$pkg" = "X$p"; then
   4029 	  enable_fast_install=yes
   4030 	fi
   4031       done
   4032       IFS="$lt_save_ifs"
   4033       ;;
   4034     esac
   4035 else
   4036   enable_fast_install=yes
   4037 fi
   4038 
   4039 
   4040 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   4041 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   4042 if test "${lt_cv_path_SED+set}" = set; then
   4043   echo $ECHO_N "(cached) $ECHO_C" >&6
   4044 else
   4045   # Loop through the user's path and test for sed and gsed.
   4046 # Then use that list of sed's as ones to test for truncation.
   4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4048 for as_dir in $PATH
   4049 do
   4050   IFS=$as_save_IFS
   4051   test -z "$as_dir" && as_dir=.
   4052   for lt_ac_prog in sed gsed; do
   4053     for ac_exec_ext in '' $ac_executable_extensions; do
   4054       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   4055         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   4056       fi
   4057     done
   4058   done
   4059 done
   4060 IFS=$as_save_IFS
   4061 lt_ac_max=0
   4062 lt_ac_count=0
   4063 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   4064 # along with /bin/sed that truncates output.
   4065 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   4066   test ! -f $lt_ac_sed && continue
   4067   cat /dev/null > conftest.in
   4068   lt_ac_count=0
   4069   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   4070   # Check for GNU sed and select it if it is found.
   4071   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   4072     lt_cv_path_SED=$lt_ac_sed
   4073     break
   4074   fi
   4075   while true; do
   4076     cat conftest.in conftest.in >conftest.tmp
   4077     mv conftest.tmp conftest.in
   4078     cp conftest.in conftest.nl
   4079     echo >>conftest.nl
   4080     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   4081     cmp -s conftest.out conftest.nl || break
   4082     # 10000 chars as input seems more than enough
   4083     test $lt_ac_count -gt 10 && break
   4084     lt_ac_count=`expr $lt_ac_count + 1`
   4085     if test $lt_ac_count -gt $lt_ac_max; then
   4086       lt_ac_max=$lt_ac_count
   4087       lt_cv_path_SED=$lt_ac_sed
   4088     fi
   4089   done
   4090 done
   4091 
   4092 fi
   4093 
   4094 SED=$lt_cv_path_SED
   4095 
   4096 { echo "$as_me:$LINENO: result: $SED" >&5
   4097 echo "${ECHO_T}$SED" >&6; }
   4098 
   4099 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   4100 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   4101 if test "${ac_cv_path_GREP+set}" = set; then
   4102   echo $ECHO_N "(cached) $ECHO_C" >&6
   4103 else
   4104   # Extract the first word of "grep ggrep" to use in msg output
   4105 if test -z "$GREP"; then
   4106 set dummy grep ggrep; ac_prog_name=$2
   4107 if test "${ac_cv_path_GREP+set}" = set; then
   4108   echo $ECHO_N "(cached) $ECHO_C" >&6
   4109 else
   4110   ac_path_GREP_found=false
   4111 # Loop through the user's path and test for each of PROGNAME-LIST
   4112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4113 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4114 do
   4115   IFS=$as_save_IFS
   4116   test -z "$as_dir" && as_dir=.
   4117   for ac_prog in grep ggrep; do
   4118   for ac_exec_ext in '' $ac_executable_extensions; do
   4119     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4120     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4121     # Check for GNU ac_path_GREP and select it if it is found.
   4122   # Check for GNU $ac_path_GREP
   4123 case `"$ac_path_GREP" --version 2>&1` in
   4124 *GNU*)
   4125   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4126 *)
   4127   ac_count=0
   4128   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4129   while :
   4130   do
   4131     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4132     mv "conftest.tmp" "conftest.in"
   4133     cp "conftest.in" "conftest.nl"
   4134     echo 'GREP' >> "conftest.nl"
   4135     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4136     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4137     ac_count=`expr $ac_count + 1`
   4138     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4139       # Best one so far, save it but keep looking for a better one
   4140       ac_cv_path_GREP="$ac_path_GREP"
   4141       ac_path_GREP_max=$ac_count
   4142     fi
   4143     # 10*(2^10) chars as input seems more than enough
   4144     test $ac_count -gt 10 && break
   4145   done
   4146   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4147 esac
   4148 
   4149 
   4150     $ac_path_GREP_found && break 3
   4151   done
   4152 done
   4153 
   4154 done
   4155 IFS=$as_save_IFS
   4156 
   4157 
   4158 fi
   4159 
   4160 GREP="$ac_cv_path_GREP"
   4161 if test -z "$GREP"; then
   4162   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4163 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4164    { (exit 1); exit 1; }; }
   4165 fi
   4166 
   4167 else
   4168   ac_cv_path_GREP=$GREP
   4169 fi
   4170 
   4171 
   4172 fi
   4173 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4174 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   4175  GREP="$ac_cv_path_GREP"
   4176 
   4177 
   4178 { echo "$as_me:$LINENO: checking for egrep" >&5
   4179 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   4180 if test "${ac_cv_path_EGREP+set}" = set; then
   4181   echo $ECHO_N "(cached) $ECHO_C" >&6
   4182 else
   4183   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4184    then ac_cv_path_EGREP="$GREP -E"
   4185    else
   4186      # Extract the first word of "egrep" to use in msg output
   4187 if test -z "$EGREP"; then
   4188 set dummy egrep; ac_prog_name=$2
   4189 if test "${ac_cv_path_EGREP+set}" = set; then
   4190   echo $ECHO_N "(cached) $ECHO_C" >&6
   4191 else
   4192   ac_path_EGREP_found=false
   4193 # Loop through the user's path and test for each of PROGNAME-LIST
   4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4195 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4196 do
   4197   IFS=$as_save_IFS
   4198   test -z "$as_dir" && as_dir=.
   4199   for ac_prog in egrep; do
   4200   for ac_exec_ext in '' $ac_executable_extensions; do
   4201     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4202     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4203     # Check for GNU ac_path_EGREP and select it if it is found.
   4204   # Check for GNU $ac_path_EGREP
   4205 case `"$ac_path_EGREP" --version 2>&1` in
   4206 *GNU*)
   4207   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4208 *)
   4209   ac_count=0
   4210   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   4211   while :
   4212   do
   4213     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4214     mv "conftest.tmp" "conftest.in"
   4215     cp "conftest.in" "conftest.nl"
   4216     echo 'EGREP' >> "conftest.nl"
   4217     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4218     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4219     ac_count=`expr $ac_count + 1`
   4220     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4221       # Best one so far, save it but keep looking for a better one
   4222       ac_cv_path_EGREP="$ac_path_EGREP"
   4223       ac_path_EGREP_max=$ac_count
   4224     fi
   4225     # 10*(2^10) chars as input seems more than enough
   4226     test $ac_count -gt 10 && break
   4227   done
   4228   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4229 esac
   4230 
   4231 
   4232     $ac_path_EGREP_found && break 3
   4233   done
   4234 done
   4235 
   4236 done
   4237 IFS=$as_save_IFS
   4238 
   4239 
   4240 fi
   4241 
   4242 EGREP="$ac_cv_path_EGREP"
   4243 if test -z "$EGREP"; then
   4244   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4245 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4246    { (exit 1); exit 1; }; }
   4247 fi
   4248 
   4249 else
   4250   ac_cv_path_EGREP=$EGREP
   4251 fi
   4252 
   4253 
   4254    fi
   4255 fi
   4256 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4257 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   4258  EGREP="$ac_cv_path_EGREP"
   4259 
   4260 
   4261 
   4262 # Check whether --with-gnu-ld was given.
   4263 if test "${with_gnu_ld+set}" = set; then
   4264   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4265 else
   4266   with_gnu_ld=no
   4267 fi
   4268 
   4269 ac_prog=ld
   4270 if test "$GCC" = yes; then
   4271   # Check if gcc -print-prog-name=ld gives a path.
   4272   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4273 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   4274   case $host in
   4275   *-*-mingw*)
   4276     # gcc leaves a trailing carriage return which upsets mingw
   4277     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4278   *)
   4279     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4280   esac
   4281   case $ac_prog in
   4282     # Accept absolute paths.
   4283     [\\/]* | ?:[\\/]*)
   4284       re_direlt='/[^/][^/]*/\.\./'
   4285       # Canonicalize the pathname of ld
   4286       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4287       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4288 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4289       done
   4290       test -z "$LD" && LD="$ac_prog"
   4291       ;;
   4292   "")
   4293     # If it fails, then pretend we aren't using GCC.
   4294     ac_prog=ld
   4295     ;;
   4296   *)
   4297     # If it is relative, then search for the first ld in PATH.
   4298     with_gnu_ld=unknown
   4299     ;;
   4300   esac
   4301 elif test "$with_gnu_ld" = yes; then
   4302   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   4303 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   4304 else
   4305   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4306 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   4307 fi
   4308 if test "${lt_cv_path_LD+set}" = set; then
   4309   echo $ECHO_N "(cached) $ECHO_C" >&6
   4310 else
   4311   if test -z "$LD"; then
   4312   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4313   for ac_dir in $PATH; do
   4314     IFS="$lt_save_ifs"
   4315     test -z "$ac_dir" && ac_dir=.
   4316     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4317       lt_cv_path_LD="$ac_dir/$ac_prog"
   4318       # Check to see if the program is GNU ld.  I'd rather use --version,
   4319       # but apparently some variants of GNU ld only accept -v.
   4320       # Break only if it was the GNU/non-GNU ld that we prefer.
   4321       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4322       *GNU* | *'with BFD'*)
   4323 	test "$with_gnu_ld" != no && break
   4324 	;;
   4325       *)
   4326 	test "$with_gnu_ld" != yes && break
   4327 	;;
   4328       esac
   4329     fi
   4330   done
   4331   IFS="$lt_save_ifs"
   4332 else
   4333   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4334 fi
   4335 fi
   4336 
   4337 LD="$lt_cv_path_LD"
   4338 if test -n "$LD"; then
   4339   { echo "$as_me:$LINENO: result: $LD" >&5
   4340 echo "${ECHO_T}$LD" >&6; }
   4341 else
   4342   { echo "$as_me:$LINENO: result: no" >&5
   4343 echo "${ECHO_T}no" >&6; }
   4344 fi
   4345 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4346 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4347    { (exit 1); exit 1; }; }
   4348 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4349 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4350 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4351   echo $ECHO_N "(cached) $ECHO_C" >&6
   4352 else
   4353   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4354 case `$LD -v 2>&1 </dev/null` in
   4355 *GNU* | *'with BFD'*)
   4356   lt_cv_prog_gnu_ld=yes
   4357   ;;
   4358 *)
   4359   lt_cv_prog_gnu_ld=no
   4360   ;;
   4361 esac
   4362 fi
   4363 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4364 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
   4365 with_gnu_ld=$lt_cv_prog_gnu_ld
   4366 
   4367 
   4368 { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4369 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
   4370 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4371   echo $ECHO_N "(cached) $ECHO_C" >&6
   4372 else
   4373   lt_cv_ld_reload_flag='-r'
   4374 fi
   4375 { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4376 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
   4377 reload_flag=$lt_cv_ld_reload_flag
   4378 case $reload_flag in
   4379 "" | " "*) ;;
   4380 *) reload_flag=" $reload_flag" ;;
   4381 esac
   4382 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4383 case $host_os in
   4384   darwin*)
   4385     if test "$GCC" = yes; then
   4386       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4387     else
   4388       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4389     fi
   4390     ;;
   4391 esac
   4392 
   4393 { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4394 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
   4395 if test "${lt_cv_path_NM+set}" = set; then
   4396   echo $ECHO_N "(cached) $ECHO_C" >&6
   4397 else
   4398   if test -n "$NM"; then
   4399   # Let the user override the test.
   4400   lt_cv_path_NM="$NM"
   4401 else
   4402   lt_nm_to_check="${ac_tool_prefix}nm"
   4403   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4404     lt_nm_to_check="$lt_nm_to_check nm"
   4405   fi
   4406   for lt_tmp_nm in $lt_nm_to_check; do
   4407     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4408     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4409       IFS="$lt_save_ifs"
   4410       test -z "$ac_dir" && ac_dir=.
   4411       tmp_nm="$ac_dir/$lt_tmp_nm"
   4412       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4413 	# Check to see if the nm accepts a BSD-compat flag.
   4414 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4415 	#   nm: unknown option "B" ignored
   4416 	# Tru64's nm complains that /dev/null is an invalid object file
   4417 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4418 	*/dev/null* | *'Invalid file or object type'*)
   4419 	  lt_cv_path_NM="$tmp_nm -B"
   4420 	  break
   4421 	  ;;
   4422 	*)
   4423 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4424 	  */dev/null*)
   4425 	    lt_cv_path_NM="$tmp_nm -p"
   4426 	    break
   4427 	    ;;
   4428 	  *)
   4429 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4430 	    continue # so that we can try to find one that supports BSD flags
   4431 	    ;;
   4432 	  esac
   4433 	  ;;
   4434 	esac
   4435       fi
   4436     done
   4437     IFS="$lt_save_ifs"
   4438   done
   4439   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4440 fi
   4441 fi
   4442 { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4443 echo "${ECHO_T}$lt_cv_path_NM" >&6; }
   4444 NM="$lt_cv_path_NM"
   4445 
   4446 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4447 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
   4448 LN_S=$as_ln_s
   4449 if test "$LN_S" = "ln -s"; then
   4450   { echo "$as_me:$LINENO: result: yes" >&5
   4451 echo "${ECHO_T}yes" >&6; }
   4452 else
   4453   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4454 echo "${ECHO_T}no, using $LN_S" >&6; }
   4455 fi
   4456 
   4457 { echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4458 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
   4459 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4460   echo $ECHO_N "(cached) $ECHO_C" >&6
   4461 else
   4462   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4463 lt_cv_file_magic_test_file=
   4464 lt_cv_deplibs_check_method='unknown'
   4465 # Need to set the preceding variable on all platforms that support
   4466 # interlibrary dependencies.
   4467 # 'none' -- dependencies not supported.
   4468 # `unknown' -- same as none, but documents that we really don't know.
   4469 # 'pass_all' -- all dependencies passed with no checks.
   4470 # 'test_compile' -- check by making test program.
   4471 # 'file_magic [[regex]]' -- check by looking for files in library path
   4472 # which responds to the $file_magic_cmd with a given extended regex.
   4473 # If you have `file' or equivalent on your system and you're not sure
   4474 # whether `pass_all' will *always* work, you probably want this one.
   4475 
   4476 case $host_os in
   4477 aix4* | aix5*)
   4478   lt_cv_deplibs_check_method=pass_all
   4479   ;;
   4480 
   4481 beos*)
   4482   lt_cv_deplibs_check_method=pass_all
   4483   ;;
   4484 
   4485 bsdi[45]*)
   4486   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4487   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4488   lt_cv_file_magic_test_file=/shlib/libc.so
   4489   ;;
   4490 
   4491 cygwin*)
   4492   # func_win32_libid is a shell function defined in ltmain.sh
   4493   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4494   lt_cv_file_magic_cmd='func_win32_libid'
   4495   ;;
   4496 
   4497 mingw* | pw32*)
   4498   # Base MSYS/MinGW do not provide the 'file' command needed by
   4499   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4500   # unless we find 'file', for example because we are cross-compiling.
   4501   if ( file / ) >/dev/null 2>&1; then
   4502     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4503     lt_cv_file_magic_cmd='func_win32_libid'
   4504   else
   4505     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4506     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4507   fi
   4508   ;;
   4509 
   4510 darwin* | rhapsody*)
   4511   lt_cv_deplibs_check_method=pass_all
   4512   ;;
   4513 
   4514 freebsd* | dragonfly*)
   4515   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4516     case $host_cpu in
   4517     i*86 )
   4518       # Not sure whether the presence of OpenBSD here was a mistake.
   4519       # Let's accept both of them until this is cleared up.
   4520       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4521       lt_cv_file_magic_cmd=/usr/bin/file
   4522       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4523       ;;
   4524     esac
   4525   else
   4526     lt_cv_deplibs_check_method=pass_all
   4527   fi
   4528   ;;
   4529 
   4530 gnu*)
   4531   lt_cv_deplibs_check_method=pass_all
   4532   ;;
   4533 
   4534 hpux10.20* | hpux11*)
   4535   lt_cv_file_magic_cmd=/usr/bin/file
   4536   case $host_cpu in
   4537   ia64*)
   4538     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4539     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4540     ;;
   4541   hppa*64*)
   4542     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   4543     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4544     ;;
   4545   *)
   4546     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4547     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4548     ;;
   4549   esac
   4550   ;;
   4551 
   4552 interix[3-9]*)
   4553   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4554   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4555   ;;
   4556 
   4557 irix5* | irix6* | nonstopux*)
   4558   case $LD in
   4559   *-32|*"-32 ") libmagic=32-bit;;
   4560   *-n32|*"-n32 ") libmagic=N32;;
   4561   *-64|*"-64 ") libmagic=64-bit;;
   4562   *) libmagic=never-match;;
   4563   esac
   4564   lt_cv_deplibs_check_method=pass_all
   4565   ;;
   4566 
   4567 # This must be Linux ELF.
   4568 linux* | k*bsd*-gnu)
   4569   lt_cv_deplibs_check_method=pass_all
   4570   ;;
   4571 
   4572 netbsd*)
   4573   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4574     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4575   else
   4576     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4577   fi
   4578   ;;
   4579 
   4580 newos6*)
   4581   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4582   lt_cv_file_magic_cmd=/usr/bin/file
   4583   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4584   ;;
   4585 
   4586 nto-qnx*)
   4587   lt_cv_deplibs_check_method=unknown
   4588   ;;
   4589 
   4590 openbsd*)
   4591   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4592     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4593   else
   4594     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4595   fi
   4596   ;;
   4597 
   4598 osf3* | osf4* | osf5*)
   4599   lt_cv_deplibs_check_method=pass_all
   4600   ;;
   4601 
   4602 rdos*)
   4603   lt_cv_deplibs_check_method=pass_all
   4604   ;;
   4605 
   4606 solaris*)
   4607   lt_cv_deplibs_check_method=pass_all
   4608   ;;
   4609 
   4610 sysv4 | sysv4.3*)
   4611   case $host_vendor in
   4612   motorola)
   4613     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]'
   4614     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4615     ;;
   4616   ncr)
   4617     lt_cv_deplibs_check_method=pass_all
   4618     ;;
   4619   sequent)
   4620     lt_cv_file_magic_cmd='/bin/file'
   4621     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4622     ;;
   4623   sni)
   4624     lt_cv_file_magic_cmd='/bin/file'
   4625     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4626     lt_cv_file_magic_test_file=/lib/libc.so
   4627     ;;
   4628   siemens)
   4629     lt_cv_deplibs_check_method=pass_all
   4630     ;;
   4631   pc)
   4632     lt_cv_deplibs_check_method=pass_all
   4633     ;;
   4634   esac
   4635   ;;
   4636 
   4637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4638   lt_cv_deplibs_check_method=pass_all
   4639   ;;
   4640 esac
   4641 
   4642 fi
   4643 { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4644 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
   4645 file_magic_cmd=$lt_cv_file_magic_cmd
   4646 deplibs_check_method=$lt_cv_deplibs_check_method
   4647 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4648 
   4649 
   4650 
   4651 
   4652 # If no C compiler was specified, use CC.
   4653 LTCC=${LTCC-"$CC"}
   4654 
   4655 # If no C compiler flags were specified, use CFLAGS.
   4656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4657 
   4658 # Allow CC to be a program name with arguments.
   4659 compiler=$CC
   4660 
   4661 
   4662 # Check whether --enable-libtool-lock was given.
   4663 if test "${enable_libtool_lock+set}" = set; then
   4664   enableval=$enable_libtool_lock;
   4665 fi
   4666 
   4667 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4668 
   4669 # Some flags need to be propagated to the compiler or linker for good
   4670 # libtool support.
   4671 case $host in
   4672 ia64-*-hpux*)
   4673   # Find out which ABI we are using.
   4674   echo 'int i;' > conftest.$ac_ext
   4675   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4676   (eval $ac_compile) 2>&5
   4677   ac_status=$?
   4678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4679   (exit $ac_status); }; then
   4680     case `/usr/bin/file conftest.$ac_objext` in
   4681     *ELF-32*)
   4682       HPUX_IA64_MODE="32"
   4683       ;;
   4684     *ELF-64*)
   4685       HPUX_IA64_MODE="64"
   4686       ;;
   4687     esac
   4688   fi
   4689   rm -rf conftest*
   4690   ;;
   4691 *-*-irix6*)
   4692   # Find out which ABI we are using.
   4693   echo '#line 4693 "configure"' > conftest.$ac_ext
   4694   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4695   (eval $ac_compile) 2>&5
   4696   ac_status=$?
   4697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4698   (exit $ac_status); }; then
   4699    if test "$lt_cv_prog_gnu_ld" = yes; then
   4700     case `/usr/bin/file conftest.$ac_objext` in
   4701     *32-bit*)
   4702       LD="${LD-ld} -melf32bsmip"
   4703       ;;
   4704     *N32*)
   4705       LD="${LD-ld} -melf32bmipn32"
   4706       ;;
   4707     *64-bit*)
   4708       LD="${LD-ld} -melf64bmip"
   4709       ;;
   4710     esac
   4711    else
   4712     case `/usr/bin/file conftest.$ac_objext` in
   4713     *32-bit*)
   4714       LD="${LD-ld} -32"
   4715       ;;
   4716     *N32*)
   4717       LD="${LD-ld} -n32"
   4718       ;;
   4719     *64-bit*)
   4720       LD="${LD-ld} -64"
   4721       ;;
   4722     esac
   4723    fi
   4724   fi
   4725   rm -rf conftest*
   4726   ;;
   4727 
   4728 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4729 s390*-*linux*|sparc*-*linux*)
   4730   # Find out which ABI we are using.
   4731   echo 'int i;' > conftest.$ac_ext
   4732   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4733   (eval $ac_compile) 2>&5
   4734   ac_status=$?
   4735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4736   (exit $ac_status); }; then
   4737     case `/usr/bin/file conftest.o` in
   4738     *32-bit*)
   4739       case $host in
   4740         x86_64-*kfreebsd*-gnu)
   4741           LD="${LD-ld} -m elf_i386_fbsd"
   4742           ;;
   4743         x86_64-*linux*)
   4744           LD="${LD-ld} -m elf_i386"
   4745           ;;
   4746         ppc64-*linux*|powerpc64-*linux*)
   4747           LD="${LD-ld} -m elf32ppclinux"
   4748           ;;
   4749         s390x-*linux*)
   4750           LD="${LD-ld} -m elf_s390"
   4751           ;;
   4752         sparc64-*linux*)
   4753           LD="${LD-ld} -m elf32_sparc"
   4754           ;;
   4755       esac
   4756       ;;
   4757     *64-bit*)
   4758       libsuff=64
   4759       case $host in
   4760         x86_64-*kfreebsd*-gnu)
   4761           LD="${LD-ld} -m elf_x86_64_fbsd"
   4762           ;;
   4763         x86_64-*linux*)
   4764           LD="${LD-ld} -m elf_x86_64"
   4765           ;;
   4766         ppc*-*linux*|powerpc*-*linux*)
   4767           LD="${LD-ld} -m elf64ppc"
   4768           ;;
   4769         s390*-*linux*)
   4770           LD="${LD-ld} -m elf64_s390"
   4771           ;;
   4772         sparc*-*linux*)
   4773           LD="${LD-ld} -m elf64_sparc"
   4774           ;;
   4775       esac
   4776       ;;
   4777     esac
   4778   fi
   4779   rm -rf conftest*
   4780   ;;
   4781 
   4782 *-*-sco3.2v5*)
   4783   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4784   SAVE_CFLAGS="$CFLAGS"
   4785   CFLAGS="$CFLAGS -belf"
   4786   { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4787 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
   4788 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4789   echo $ECHO_N "(cached) $ECHO_C" >&6
   4790 else
   4791   ac_ext=c
   4792 ac_cpp='$CPP $CPPFLAGS'
   4793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4796 
   4797      cat >conftest.$ac_ext <<_ACEOF
   4798 /* confdefs.h.  */
   4799 _ACEOF
   4800 cat confdefs.h >>conftest.$ac_ext
   4801 cat >>conftest.$ac_ext <<_ACEOF
   4802 /* end confdefs.h.  */
   4803 
   4804 int
   4805 main ()
   4806 {
   4807 
   4808   ;
   4809   return 0;
   4810 }
   4811 _ACEOF
   4812 rm -f conftest.$ac_objext conftest$ac_exeext
   4813 if { (ac_try="$ac_link"
   4814 case "(($ac_try" in
   4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4816   *) ac_try_echo=$ac_try;;
   4817 esac
   4818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4819   (eval "$ac_link") 2>conftest.er1
   4820   ac_status=$?
   4821   grep -v '^ *+' conftest.er1 >conftest.err
   4822   rm -f conftest.er1
   4823   cat conftest.err >&5
   4824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4825   (exit $ac_status); } && {
   4826 	 test -z "$ac_c_werror_flag" ||
   4827 	 test ! -s conftest.err
   4828        } && test -s conftest$ac_exeext &&
   4829        $as_test_x conftest$ac_exeext; then
   4830   lt_cv_cc_needs_belf=yes
   4831 else
   4832   echo "$as_me: failed program was:" >&5
   4833 sed 's/^/| /' conftest.$ac_ext >&5
   4834 
   4835 	lt_cv_cc_needs_belf=no
   4836 fi
   4837 
   4838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4839       conftest$ac_exeext conftest.$ac_ext
   4840      ac_ext=c
   4841 ac_cpp='$CPP $CPPFLAGS'
   4842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4845 
   4846 fi
   4847 { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4848 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
   4849   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4850     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4851     CFLAGS="$SAVE_CFLAGS"
   4852   fi
   4853   ;;
   4854 sparc*-*solaris*)
   4855   # Find out which ABI we are using.
   4856   echo 'int i;' > conftest.$ac_ext
   4857   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4858   (eval $ac_compile) 2>&5
   4859   ac_status=$?
   4860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4861   (exit $ac_status); }; then
   4862     case `/usr/bin/file conftest.o` in
   4863     *64-bit*)
   4864       case $lt_cv_prog_gnu_ld in
   4865       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4866       *)    LD="${LD-ld} -64" ;;
   4867       esac
   4868       ;;
   4869     esac
   4870   fi
   4871   rm -rf conftest*
   4872   ;;
   4873 
   4874 
   4875 esac
   4876 
   4877 need_locks="$enable_libtool_lock"
   4878 
   4879 
   4880 ac_ext=c
   4881 ac_cpp='$CPP $CPPFLAGS'
   4882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4885 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4886 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
   4887 # On Suns, sometimes $CPP names a directory.
   4888 if test -n "$CPP" && test -d "$CPP"; then
   4889   CPP=
   4890 fi
   4891 if test -z "$CPP"; then
   4892   if test "${ac_cv_prog_CPP+set}" = set; then
   4893   echo $ECHO_N "(cached) $ECHO_C" >&6
   4894 else
   4895       # Double quotes because CPP needs to be expanded
   4896     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4897     do
   4898       ac_preproc_ok=false
   4899 for ac_c_preproc_warn_flag in '' yes
   4900 do
   4901   # Use a header file that comes with gcc, so configuring glibc
   4902   # with a fresh cross-compiler works.
   4903   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4904   # <limits.h> exists even on freestanding compilers.
   4905   # On the NeXT, cc -E runs the code through the compiler's parser,
   4906   # not just through cpp. "Syntax error" is here to catch this case.
   4907   cat >conftest.$ac_ext <<_ACEOF
   4908 /* confdefs.h.  */
   4909 _ACEOF
   4910 cat confdefs.h >>conftest.$ac_ext
   4911 cat >>conftest.$ac_ext <<_ACEOF
   4912 /* end confdefs.h.  */
   4913 #ifdef __STDC__
   4914 # include <limits.h>
   4915 #else
   4916 # include <assert.h>
   4917 #endif
   4918 		     Syntax error
   4919 _ACEOF
   4920 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4921 case "(($ac_try" in
   4922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4923   *) ac_try_echo=$ac_try;;
   4924 esac
   4925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4926   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4927   ac_status=$?
   4928   grep -v '^ *+' conftest.er1 >conftest.err
   4929   rm -f conftest.er1
   4930   cat conftest.err >&5
   4931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4932   (exit $ac_status); } >/dev/null && {
   4933 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4934 	 test ! -s conftest.err
   4935        }; then
   4936   :
   4937 else
   4938   echo "$as_me: failed program was:" >&5
   4939 sed 's/^/| /' conftest.$ac_ext >&5
   4940 
   4941   # Broken: fails on valid input.
   4942 continue
   4943 fi
   4944 
   4945 rm -f conftest.err conftest.$ac_ext
   4946 
   4947   # OK, works on sane cases.  Now check whether nonexistent headers
   4948   # can be detected and how.
   4949   cat >conftest.$ac_ext <<_ACEOF
   4950 /* confdefs.h.  */
   4951 _ACEOF
   4952 cat confdefs.h >>conftest.$ac_ext
   4953 cat >>conftest.$ac_ext <<_ACEOF
   4954 /* end confdefs.h.  */
   4955 #include <ac_nonexistent.h>
   4956 _ACEOF
   4957 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4958 case "(($ac_try" in
   4959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4960   *) ac_try_echo=$ac_try;;
   4961 esac
   4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   4963   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4964   ac_status=$?
   4965   grep -v '^ *+' conftest.er1 >conftest.err
   4966   rm -f conftest.er1
   4967   cat conftest.err >&5
   4968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4969   (exit $ac_status); } >/dev/null && {
   4970 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4971 	 test ! -s conftest.err
   4972        }; then
   4973   # Broken: success on invalid input.
   4974 continue
   4975 else
   4976   echo "$as_me: failed program was:" >&5
   4977 sed 's/^/| /' conftest.$ac_ext >&5
   4978 
   4979   # Passes both tests.
   4980 ac_preproc_ok=:
   4981 break
   4982 fi
   4983 
   4984 rm -f conftest.err conftest.$ac_ext
   4985 
   4986 done
   4987 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4988 rm -f conftest.err conftest.$ac_ext
   4989 if $ac_preproc_ok; then
   4990   break
   4991 fi
   4992 
   4993     done
   4994     ac_cv_prog_CPP=$CPP
   4995 
   4996 fi
   4997   CPP=$ac_cv_prog_CPP
   4998 else
   4999   ac_cv_prog_CPP=$CPP
   5000 fi
   5001 { echo "$as_me:$LINENO: result: $CPP" >&5
   5002 echo "${ECHO_T}$CPP" >&6; }
   5003 ac_preproc_ok=false
   5004 for ac_c_preproc_warn_flag in '' yes
   5005 do
   5006   # Use a header file that comes with gcc, so configuring glibc
   5007   # with a fresh cross-compiler works.
   5008   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5009   # <limits.h> exists even on freestanding compilers.
   5010   # On the NeXT, cc -E runs the code through the compiler's parser,
   5011   # not just through cpp. "Syntax error" is here to catch this case.
   5012   cat >conftest.$ac_ext <<_ACEOF
   5013 /* confdefs.h.  */
   5014 _ACEOF
   5015 cat confdefs.h >>conftest.$ac_ext
   5016 cat >>conftest.$ac_ext <<_ACEOF
   5017 /* end confdefs.h.  */
   5018 #ifdef __STDC__
   5019 # include <limits.h>
   5020 #else
   5021 # include <assert.h>
   5022 #endif
   5023 		     Syntax error
   5024 _ACEOF
   5025 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5026 case "(($ac_try" in
   5027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5028   *) ac_try_echo=$ac_try;;
   5029 esac
   5030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5031   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5032   ac_status=$?
   5033   grep -v '^ *+' conftest.er1 >conftest.err
   5034   rm -f conftest.er1
   5035   cat conftest.err >&5
   5036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5037   (exit $ac_status); } >/dev/null && {
   5038 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5039 	 test ! -s conftest.err
   5040        }; then
   5041   :
   5042 else
   5043   echo "$as_me: failed program was:" >&5
   5044 sed 's/^/| /' conftest.$ac_ext >&5
   5045 
   5046   # Broken: fails on valid input.
   5047 continue
   5048 fi
   5049 
   5050 rm -f conftest.err conftest.$ac_ext
   5051 
   5052   # OK, works on sane cases.  Now check whether nonexistent headers
   5053   # can be detected and how.
   5054   cat >conftest.$ac_ext <<_ACEOF
   5055 /* confdefs.h.  */
   5056 _ACEOF
   5057 cat confdefs.h >>conftest.$ac_ext
   5058 cat >>conftest.$ac_ext <<_ACEOF
   5059 /* end confdefs.h.  */
   5060 #include <ac_nonexistent.h>
   5061 _ACEOF
   5062 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5063 case "(($ac_try" in
   5064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5065   *) ac_try_echo=$ac_try;;
   5066 esac
   5067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5068   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5069   ac_status=$?
   5070   grep -v '^ *+' conftest.er1 >conftest.err
   5071   rm -f conftest.er1
   5072   cat conftest.err >&5
   5073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5074   (exit $ac_status); } >/dev/null && {
   5075 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5076 	 test ! -s conftest.err
   5077        }; then
   5078   # Broken: success on invalid input.
   5079 continue
   5080 else
   5081   echo "$as_me: failed program was:" >&5
   5082 sed 's/^/| /' conftest.$ac_ext >&5
   5083 
   5084   # Passes both tests.
   5085 ac_preproc_ok=:
   5086 break
   5087 fi
   5088 
   5089 rm -f conftest.err conftest.$ac_ext
   5090 
   5091 done
   5092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5093 rm -f conftest.err conftest.$ac_ext
   5094 if $ac_preproc_ok; then
   5095   :
   5096 else
   5097   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5098 See \`config.log' for more details." >&5
   5099 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5100 See \`config.log' for more details." >&2;}
   5101    { (exit 1); exit 1; }; }
   5102 fi
   5103 
   5104 ac_ext=c
   5105 ac_cpp='$CPP $CPPFLAGS'
   5106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5109 
   5110 
   5111 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5112 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
   5113 if test "${ac_cv_header_stdc+set}" = set; then
   5114   echo $ECHO_N "(cached) $ECHO_C" >&6
   5115 else
   5116   cat >conftest.$ac_ext <<_ACEOF
   5117 /* confdefs.h.  */
   5118 _ACEOF
   5119 cat confdefs.h >>conftest.$ac_ext
   5120 cat >>conftest.$ac_ext <<_ACEOF
   5121 /* end confdefs.h.  */
   5122 #include <stdlib.h>
   5123 #include <stdarg.h>
   5124 #include <string.h>
   5125 #include <float.h>
   5126 
   5127 int
   5128 main ()
   5129 {
   5130 
   5131   ;
   5132   return 0;
   5133 }
   5134 _ACEOF
   5135 rm -f conftest.$ac_objext
   5136 if { (ac_try="$ac_compile"
   5137 case "(($ac_try" in
   5138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5139   *) ac_try_echo=$ac_try;;
   5140 esac
   5141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5142   (eval "$ac_compile") 2>conftest.er1
   5143   ac_status=$?
   5144   grep -v '^ *+' conftest.er1 >conftest.err
   5145   rm -f conftest.er1
   5146   cat conftest.err >&5
   5147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5148   (exit $ac_status); } && {
   5149 	 test -z "$ac_c_werror_flag" ||
   5150 	 test ! -s conftest.err
   5151        } && test -s conftest.$ac_objext; then
   5152   ac_cv_header_stdc=yes
   5153 else
   5154   echo "$as_me: failed program was:" >&5
   5155 sed 's/^/| /' conftest.$ac_ext >&5
   5156 
   5157 	ac_cv_header_stdc=no
   5158 fi
   5159 
   5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5161 
   5162 if test $ac_cv_header_stdc = yes; then
   5163   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5164   cat >conftest.$ac_ext <<_ACEOF
   5165 /* confdefs.h.  */
   5166 _ACEOF
   5167 cat confdefs.h >>conftest.$ac_ext
   5168 cat >>conftest.$ac_ext <<_ACEOF
   5169 /* end confdefs.h.  */
   5170 #include <string.h>
   5171 
   5172 _ACEOF
   5173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5174   $EGREP "memchr" >/dev/null 2>&1; then
   5175   :
   5176 else
   5177   ac_cv_header_stdc=no
   5178 fi
   5179 rm -f conftest*
   5180 
   5181 fi
   5182 
   5183 if test $ac_cv_header_stdc = yes; then
   5184   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5185   cat >conftest.$ac_ext <<_ACEOF
   5186 /* confdefs.h.  */
   5187 _ACEOF
   5188 cat confdefs.h >>conftest.$ac_ext
   5189 cat >>conftest.$ac_ext <<_ACEOF
   5190 /* end confdefs.h.  */
   5191 #include <stdlib.h>
   5192 
   5193 _ACEOF
   5194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5195   $EGREP "free" >/dev/null 2>&1; then
   5196   :
   5197 else
   5198   ac_cv_header_stdc=no
   5199 fi
   5200 rm -f conftest*
   5201 
   5202 fi
   5203 
   5204 if test $ac_cv_header_stdc = yes; then
   5205   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5206   if test "$cross_compiling" = yes; then
   5207   :
   5208 else
   5209   cat >conftest.$ac_ext <<_ACEOF
   5210 /* confdefs.h.  */
   5211 _ACEOF
   5212 cat confdefs.h >>conftest.$ac_ext
   5213 cat >>conftest.$ac_ext <<_ACEOF
   5214 /* end confdefs.h.  */
   5215 #include <ctype.h>
   5216 #include <stdlib.h>
   5217 #if ((' ' & 0x0FF) == 0x020)
   5218 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5219 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5220 #else
   5221 # define ISLOWER(c) \
   5222 		   (('a' <= (c) && (c) <= 'i') \
   5223 		     || ('j' <= (c) && (c) <= 'r') \
   5224 		     || ('s' <= (c) && (c) <= 'z'))
   5225 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5226 #endif
   5227 
   5228 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5229 int
   5230 main ()
   5231 {
   5232   int i;
   5233   for (i = 0; i < 256; i++)
   5234     if (XOR (islower (i), ISLOWER (i))
   5235 	|| toupper (i) != TOUPPER (i))
   5236       return 2;
   5237   return 0;
   5238 }
   5239 _ACEOF
   5240 rm -f conftest$ac_exeext
   5241 if { (ac_try="$ac_link"
   5242 case "(($ac_try" in
   5243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5244   *) ac_try_echo=$ac_try;;
   5245 esac
   5246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5247   (eval "$ac_link") 2>&5
   5248   ac_status=$?
   5249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5250   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5251   { (case "(($ac_try" in
   5252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5253   *) ac_try_echo=$ac_try;;
   5254 esac
   5255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5256   (eval "$ac_try") 2>&5
   5257   ac_status=$?
   5258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5259   (exit $ac_status); }; }; then
   5260   :
   5261 else
   5262   echo "$as_me: program exited with status $ac_status" >&5
   5263 echo "$as_me: failed program was:" >&5
   5264 sed 's/^/| /' conftest.$ac_ext >&5
   5265 
   5266 ( exit $ac_status )
   5267 ac_cv_header_stdc=no
   5268 fi
   5269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5270 fi
   5271 
   5272 
   5273 fi
   5274 fi
   5275 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5276 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
   5277 if test $ac_cv_header_stdc = yes; then
   5278 
   5279 cat >>confdefs.h <<\_ACEOF
   5280 #define STDC_HEADERS 1
   5281 _ACEOF
   5282 
   5283 fi
   5284 
   5285 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5296 		  inttypes.h stdint.h unistd.h
   5297 do
   5298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5301 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5302   echo $ECHO_N "(cached) $ECHO_C" >&6
   5303 else
   5304   cat >conftest.$ac_ext <<_ACEOF
   5305 /* confdefs.h.  */
   5306 _ACEOF
   5307 cat confdefs.h >>conftest.$ac_ext
   5308 cat >>conftest.$ac_ext <<_ACEOF
   5309 /* end confdefs.h.  */
   5310 $ac_includes_default
   5311 
   5312 #include <$ac_header>
   5313 _ACEOF
   5314 rm -f conftest.$ac_objext
   5315 if { (ac_try="$ac_compile"
   5316 case "(($ac_try" in
   5317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5318   *) ac_try_echo=$ac_try;;
   5319 esac
   5320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5321   (eval "$ac_compile") 2>conftest.er1
   5322   ac_status=$?
   5323   grep -v '^ *+' conftest.er1 >conftest.err
   5324   rm -f conftest.er1
   5325   cat conftest.err >&5
   5326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5327   (exit $ac_status); } && {
   5328 	 test -z "$ac_c_werror_flag" ||
   5329 	 test ! -s conftest.err
   5330        } && test -s conftest.$ac_objext; then
   5331   eval "$as_ac_Header=yes"
   5332 else
   5333   echo "$as_me: failed program was:" >&5
   5334 sed 's/^/| /' conftest.$ac_ext >&5
   5335 
   5336 	eval "$as_ac_Header=no"
   5337 fi
   5338 
   5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5340 fi
   5341 ac_res=`eval echo '${'$as_ac_Header'}'`
   5342 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5343 echo "${ECHO_T}$ac_res" >&6; }
   5344 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5345   cat >>confdefs.h <<_ACEOF
   5346 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5347 _ACEOF
   5348 
   5349 fi
   5350 
   5351 done
   5352 
   5353 
   5354 
   5355 for ac_header in dlfcn.h
   5356 do
   5357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5359   { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5362   echo $ECHO_N "(cached) $ECHO_C" >&6
   5363 fi
   5364 ac_res=`eval echo '${'$as_ac_Header'}'`
   5365 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5366 echo "${ECHO_T}$ac_res" >&6; }
   5367 else
   5368   # Is the header compilable?
   5369 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
   5371 cat >conftest.$ac_ext <<_ACEOF
   5372 /* confdefs.h.  */
   5373 _ACEOF
   5374 cat confdefs.h >>conftest.$ac_ext
   5375 cat >>conftest.$ac_ext <<_ACEOF
   5376 /* end confdefs.h.  */
   5377 $ac_includes_default
   5378 #include <$ac_header>
   5379 _ACEOF
   5380 rm -f conftest.$ac_objext
   5381 if { (ac_try="$ac_compile"
   5382 case "(($ac_try" in
   5383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5384   *) ac_try_echo=$ac_try;;
   5385 esac
   5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5387   (eval "$ac_compile") 2>conftest.er1
   5388   ac_status=$?
   5389   grep -v '^ *+' conftest.er1 >conftest.err
   5390   rm -f conftest.er1
   5391   cat conftest.err >&5
   5392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5393   (exit $ac_status); } && {
   5394 	 test -z "$ac_c_werror_flag" ||
   5395 	 test ! -s conftest.err
   5396        } && test -s conftest.$ac_objext; then
   5397   ac_header_compiler=yes
   5398 else
   5399   echo "$as_me: failed program was:" >&5
   5400 sed 's/^/| /' conftest.$ac_ext >&5
   5401 
   5402 	ac_header_compiler=no
   5403 fi
   5404 
   5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5406 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5407 echo "${ECHO_T}$ac_header_compiler" >&6; }
   5408 
   5409 # Is the header present?
   5410 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
   5412 cat >conftest.$ac_ext <<_ACEOF
   5413 /* confdefs.h.  */
   5414 _ACEOF
   5415 cat confdefs.h >>conftest.$ac_ext
   5416 cat >>conftest.$ac_ext <<_ACEOF
   5417 /* end confdefs.h.  */
   5418 #include <$ac_header>
   5419 _ACEOF
   5420 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5421 case "(($ac_try" in
   5422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5423   *) ac_try_echo=$ac_try;;
   5424 esac
   5425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5426   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5427   ac_status=$?
   5428   grep -v '^ *+' conftest.er1 >conftest.err
   5429   rm -f conftest.er1
   5430   cat conftest.err >&5
   5431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5432   (exit $ac_status); } >/dev/null && {
   5433 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5434 	 test ! -s conftest.err
   5435        }; then
   5436   ac_header_preproc=yes
   5437 else
   5438   echo "$as_me: failed program was:" >&5
   5439 sed 's/^/| /' conftest.$ac_ext >&5
   5440 
   5441   ac_header_preproc=no
   5442 fi
   5443 
   5444 rm -f conftest.err conftest.$ac_ext
   5445 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5446 echo "${ECHO_T}$ac_header_preproc" >&6; }
   5447 
   5448 # So?  What about this header?
   5449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5450   yes:no: )
   5451     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5452 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5453     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5454 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5455     ac_header_preproc=yes
   5456     ;;
   5457   no:yes:* )
   5458     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5459 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5460     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5461 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5462     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5463 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5464     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5465 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5466     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5467 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5468     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5469 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5470     ( cat <<\_ASBOX
   5471 ## ------------------------------------------- ##
   5472 ## Report this to http://gcc.gnu.org/bugs.html ##
   5473 ## ------------------------------------------- ##
   5474 _ASBOX
   5475      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5476     ;;
   5477 esac
   5478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
   5479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
   5480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5481   echo $ECHO_N "(cached) $ECHO_C" >&6
   5482 else
   5483   eval "$as_ac_Header=\$ac_header_preproc"
   5484 fi
   5485 ac_res=`eval echo '${'$as_ac_Header'}'`
   5486 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
   5487 echo "${ECHO_T}$ac_res" >&6; }
   5488 
   5489 fi
   5490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5491   cat >>confdefs.h <<_ACEOF
   5492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5493 _ACEOF
   5494 
   5495 fi
   5496 
   5497 done
   5498 
   5499 ac_ext=cpp
   5500 ac_cpp='$CXXCPP $CPPFLAGS'
   5501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5504 if test -z "$CXX"; then
   5505   if test -n "$CCC"; then
   5506     CXX=$CCC
   5507   else
   5508     if test -n "$ac_tool_prefix"; then
   5509   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5510   do
   5511     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5512 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5515 if test "${ac_cv_prog_CXX+set}" = set; then
   5516   echo $ECHO_N "(cached) $ECHO_C" >&6
   5517 else
   5518   if test -n "$CXX"; then
   5519   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5520 else
   5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5522 for as_dir in $PATH
   5523 do
   5524   IFS=$as_save_IFS
   5525   test -z "$as_dir" && as_dir=.
   5526   for ac_exec_ext in '' $ac_executable_extensions; do
   5527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5528     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5529     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5530     break 2
   5531   fi
   5532 done
   5533 done
   5534 IFS=$as_save_IFS
   5535 
   5536 fi
   5537 fi
   5538 CXX=$ac_cv_prog_CXX
   5539 if test -n "$CXX"; then
   5540   { echo "$as_me:$LINENO: result: $CXX" >&5
   5541 echo "${ECHO_T}$CXX" >&6; }
   5542 else
   5543   { echo "$as_me:$LINENO: result: no" >&5
   5544 echo "${ECHO_T}no" >&6; }
   5545 fi
   5546 
   5547 
   5548     test -n "$CXX" && break
   5549   done
   5550 fi
   5551 if test -z "$CXX"; then
   5552   ac_ct_CXX=$CXX
   5553   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5554 do
   5555   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5556 set dummy $ac_prog; ac_word=$2
   5557 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   5558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   5559 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5560   echo $ECHO_N "(cached) $ECHO_C" >&6
   5561 else
   5562   if test -n "$ac_ct_CXX"; then
   5563   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5564 else
   5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5566 for as_dir in $PATH
   5567 do
   5568   IFS=$as_save_IFS
   5569   test -z "$as_dir" && as_dir=.
   5570   for ac_exec_ext in '' $ac_executable_extensions; do
   5571   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5572     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5573     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5574     break 2
   5575   fi
   5576 done
   5577 done
   5578 IFS=$as_save_IFS
   5579 
   5580 fi
   5581 fi
   5582 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5583 if test -n "$ac_ct_CXX"; then
   5584   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5585 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   5586 else
   5587   { echo "$as_me:$LINENO: result: no" >&5
   5588 echo "${ECHO_T}no" >&6; }
   5589 fi
   5590 
   5591 
   5592   test -n "$ac_ct_CXX" && break
   5593 done
   5594 
   5595   if test "x$ac_ct_CXX" = x; then
   5596     CXX="g++"
   5597   else
   5598     case $cross_compiling:$ac_tool_warned in
   5599 yes:)
   5600 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   5601 whose name does not start with the host triplet.  If you think this
   5602 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   5603 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   5604 whose name does not start with the host triplet.  If you think this
   5605 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   5606 ac_tool_warned=yes ;;
   5607 esac
   5608     CXX=$ac_ct_CXX
   5609   fi
   5610 fi
   5611 
   5612   fi
   5613 fi
   5614 # Provide some information about the compiler.
   5615 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5616 ac_compiler=`set X $ac_compile; echo $2`
   5617 { (ac_try="$ac_compiler --version >&5"
   5618 case "(($ac_try" in
   5619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5620   *) ac_try_echo=$ac_try;;
   5621 esac
   5622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5623   (eval "$ac_compiler --version >&5") 2>&5
   5624   ac_status=$?
   5625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5626   (exit $ac_status); }
   5627 { (ac_try="$ac_compiler -v >&5"
   5628 case "(($ac_try" in
   5629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5630   *) ac_try_echo=$ac_try;;
   5631 esac
   5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5633   (eval "$ac_compiler -v >&5") 2>&5
   5634   ac_status=$?
   5635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5636   (exit $ac_status); }
   5637 { (ac_try="$ac_compiler -V >&5"
   5638 case "(($ac_try" in
   5639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5640   *) ac_try_echo=$ac_try;;
   5641 esac
   5642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5643   (eval "$ac_compiler -V >&5") 2>&5
   5644   ac_status=$?
   5645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5646   (exit $ac_status); }
   5647 
   5648 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5649 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   5650 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5651   echo $ECHO_N "(cached) $ECHO_C" >&6
   5652 else
   5653   cat >conftest.$ac_ext <<_ACEOF
   5654 /* confdefs.h.  */
   5655 _ACEOF
   5656 cat confdefs.h >>conftest.$ac_ext
   5657 cat >>conftest.$ac_ext <<_ACEOF
   5658 /* end confdefs.h.  */
   5659 
   5660 int
   5661 main ()
   5662 {
   5663 #ifndef __GNUC__
   5664        choke me
   5665 #endif
   5666 
   5667   ;
   5668   return 0;
   5669 }
   5670 _ACEOF
   5671 rm -f conftest.$ac_objext
   5672 if { (ac_try="$ac_compile"
   5673 case "(($ac_try" in
   5674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5675   *) ac_try_echo=$ac_try;;
   5676 esac
   5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5678   (eval "$ac_compile") 2>conftest.er1
   5679   ac_status=$?
   5680   grep -v '^ *+' conftest.er1 >conftest.err
   5681   rm -f conftest.er1
   5682   cat conftest.err >&5
   5683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5684   (exit $ac_status); } && {
   5685 	 test -z "$ac_cxx_werror_flag" ||
   5686 	 test ! -s conftest.err
   5687        } && test -s conftest.$ac_objext; then
   5688   ac_compiler_gnu=yes
   5689 else
   5690   echo "$as_me: failed program was:" >&5
   5691 sed 's/^/| /' conftest.$ac_ext >&5
   5692 
   5693 	ac_compiler_gnu=no
   5694 fi
   5695 
   5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5697 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5698 
   5699 fi
   5700 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5701 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   5702 GXX=`test $ac_compiler_gnu = yes && echo yes`
   5703 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5704 ac_save_CXXFLAGS=$CXXFLAGS
   5705 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5706 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   5707 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5708   echo $ECHO_N "(cached) $ECHO_C" >&6
   5709 else
   5710   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5711    ac_cxx_werror_flag=yes
   5712    ac_cv_prog_cxx_g=no
   5713    CXXFLAGS="-g"
   5714    cat >conftest.$ac_ext <<_ACEOF
   5715 /* confdefs.h.  */
   5716 _ACEOF
   5717 cat confdefs.h >>conftest.$ac_ext
   5718 cat >>conftest.$ac_ext <<_ACEOF
   5719 /* end confdefs.h.  */
   5720 
   5721 int
   5722 main ()
   5723 {
   5724 
   5725   ;
   5726   return 0;
   5727 }
   5728 _ACEOF
   5729 rm -f conftest.$ac_objext
   5730 if { (ac_try="$ac_compile"
   5731 case "(($ac_try" in
   5732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5733   *) ac_try_echo=$ac_try;;
   5734 esac
   5735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5736   (eval "$ac_compile") 2>conftest.er1
   5737   ac_status=$?
   5738   grep -v '^ *+' conftest.er1 >conftest.err
   5739   rm -f conftest.er1
   5740   cat conftest.err >&5
   5741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5742   (exit $ac_status); } && {
   5743 	 test -z "$ac_cxx_werror_flag" ||
   5744 	 test ! -s conftest.err
   5745        } && test -s conftest.$ac_objext; then
   5746   ac_cv_prog_cxx_g=yes
   5747 else
   5748   echo "$as_me: failed program was:" >&5
   5749 sed 's/^/| /' conftest.$ac_ext >&5
   5750 
   5751 	CXXFLAGS=""
   5752       cat >conftest.$ac_ext <<_ACEOF
   5753 /* confdefs.h.  */
   5754 _ACEOF
   5755 cat confdefs.h >>conftest.$ac_ext
   5756 cat >>conftest.$ac_ext <<_ACEOF
   5757 /* end confdefs.h.  */
   5758 
   5759 int
   5760 main ()
   5761 {
   5762 
   5763   ;
   5764   return 0;
   5765 }
   5766 _ACEOF
   5767 rm -f conftest.$ac_objext
   5768 if { (ac_try="$ac_compile"
   5769 case "(($ac_try" in
   5770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5771   *) ac_try_echo=$ac_try;;
   5772 esac
   5773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5774   (eval "$ac_compile") 2>conftest.er1
   5775   ac_status=$?
   5776   grep -v '^ *+' conftest.er1 >conftest.err
   5777   rm -f conftest.er1
   5778   cat conftest.err >&5
   5779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5780   (exit $ac_status); } && {
   5781 	 test -z "$ac_cxx_werror_flag" ||
   5782 	 test ! -s conftest.err
   5783        } && test -s conftest.$ac_objext; then
   5784   :
   5785 else
   5786   echo "$as_me: failed program was:" >&5
   5787 sed 's/^/| /' conftest.$ac_ext >&5
   5788 
   5789 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5790 	 CXXFLAGS="-g"
   5791 	 cat >conftest.$ac_ext <<_ACEOF
   5792 /* confdefs.h.  */
   5793 _ACEOF
   5794 cat confdefs.h >>conftest.$ac_ext
   5795 cat >>conftest.$ac_ext <<_ACEOF
   5796 /* end confdefs.h.  */
   5797 
   5798 int
   5799 main ()
   5800 {
   5801 
   5802   ;
   5803   return 0;
   5804 }
   5805 _ACEOF
   5806 rm -f conftest.$ac_objext
   5807 if { (ac_try="$ac_compile"
   5808 case "(($ac_try" in
   5809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5810   *) ac_try_echo=$ac_try;;
   5811 esac
   5812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   5813   (eval "$ac_compile") 2>conftest.er1
   5814   ac_status=$?
   5815   grep -v '^ *+' conftest.er1 >conftest.err
   5816   rm -f conftest.er1
   5817   cat conftest.err >&5
   5818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5819   (exit $ac_status); } && {
   5820 	 test -z "$ac_cxx_werror_flag" ||
   5821 	 test ! -s conftest.err
   5822        } && test -s conftest.$ac_objext; then
   5823   ac_cv_prog_cxx_g=yes
   5824 else
   5825   echo "$as_me: failed program was:" >&5
   5826 sed 's/^/| /' conftest.$ac_ext >&5
   5827 
   5828 
   5829 fi
   5830 
   5831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5832 fi
   5833 
   5834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5835 fi
   5836 
   5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5838    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5839 fi
   5840 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5841 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   5842 if test "$ac_test_CXXFLAGS" = set; then
   5843   CXXFLAGS=$ac_save_CXXFLAGS
   5844 elif test $ac_cv_prog_cxx_g = yes; then
   5845   if test "$GXX" = yes; then
   5846     CXXFLAGS="-g -O2"
   5847   else
   5848     CXXFLAGS="-g"
   5849   fi
   5850 else
   5851   if test "$GXX" = yes; then
   5852     CXXFLAGS="-O2"
   5853   else
   5854     CXXFLAGS=
   5855   fi
   5856 fi
   5857 ac_ext=cpp
   5858 ac_cpp='$CXXCPP $CPPFLAGS'
   5859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5862 
   5863 depcc="$CXX"  am_compiler_list=
   5864 
   5865 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5866 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
   5867 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5868   echo $ECHO_N "(cached) $ECHO_C" >&6
   5869 else
   5870   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5871   # We make a subdir and do the tests there.  Otherwise we can end up
   5872   # making bogus files that we don't know about and never remove.  For
   5873   # instance it was reported that on HP-UX the gcc test will end up
   5874   # making a dummy file named `D' -- because `-MD' means `put the output
   5875   # in D'.
   5876   mkdir conftest.dir
   5877   # Copy depcomp to subdir because otherwise we won't find it if we're
   5878   # using a relative directory.
   5879   cp "$am_depcomp" conftest.dir
   5880   cd conftest.dir
   5881   # We will build objects and dependencies in a subdirectory because
   5882   # it helps to detect inapplicable dependency modes.  For instance
   5883   # both Tru64's cc and ICC support -MD to output dependencies as a
   5884   # side effect of compilation, but ICC will put the dependencies in
   5885   # the current directory while Tru64 will put them in the object
   5886   # directory.
   5887   mkdir sub
   5888 
   5889   am_cv_CXX_dependencies_compiler_type=none
   5890   if test "$am_compiler_list" = ""; then
   5891      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5892   fi
   5893   for depmode in $am_compiler_list; do
   5894     # Setup a source with many dependencies, because some compilers
   5895     # like to wrap large dependency lists on column 80 (with \), and
   5896     # we should not choose a depcomp mode which is confused by this.
   5897     #
   5898     # We need to recreate these files for each test, as the compiler may
   5899     # overwrite some of them when testing with obscure command lines.
   5900     # This happens at least with the AIX C compiler.
   5901     : > sub/conftest.c
   5902     for i in 1 2 3 4 5 6; do
   5903       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5904       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5905       # Solaris 8's {/usr,}/bin/sh.
   5906       touch sub/conftst$i.h
   5907     done
   5908     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5909 
   5910     case $depmode in
   5911     nosideeffect)
   5912       # after this tag, mechanisms are not by side-effect, so they'll
   5913       # only be used when explicitly requested
   5914       if test "x$enable_dependency_tracking" = xyes; then
   5915 	continue
   5916       else
   5917 	break
   5918       fi
   5919       ;;
   5920     none) break ;;
   5921     esac
   5922     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5923     # mode.  It turns out that the SunPro C++ compiler does not properly
   5924     # handle `-M -o', and we need to detect this.
   5925     if depmode=$depmode \
   5926        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5927        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5928        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5929          >/dev/null 2>conftest.err &&
   5930        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5931        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5932        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5933        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5934       # icc doesn't choke on unknown options, it will just issue warnings
   5935       # or remarks (even with -Werror).  So we grep stderr for any message
   5936       # that says an option was ignored or not supported.
   5937       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5938       #   icc: Command line warning: ignoring option '-M'; no argument required
   5939       # The diagnosis changed in icc 8.0:
   5940       #   icc: Command line remark: option '-MP' not supported
   5941       if (grep 'ignoring option' conftest.err ||
   5942           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5943         am_cv_CXX_dependencies_compiler_type=$depmode
   5944         break
   5945       fi
   5946     fi
   5947   done
   5948 
   5949   cd ..
   5950   rm -rf conftest.dir
   5951 else
   5952   am_cv_CXX_dependencies_compiler_type=none
   5953 fi
   5954 
   5955 fi
   5956 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5957 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
   5958 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5959 
   5960  if
   5961   test "x$enable_dependency_tracking" != xno \
   5962   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5963   am__fastdepCXX_TRUE=
   5964   am__fastdepCXX_FALSE='#'
   5965 else
   5966   am__fastdepCXX_TRUE='#'
   5967   am__fastdepCXX_FALSE=
   5968 fi
   5969 
   5970 
   5971 
   5972 
   5973 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5974     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5975     (test "X$CXX" != "Xg++"))) ; then
   5976   ac_ext=cpp
   5977 ac_cpp='$CXXCPP $CPPFLAGS'
   5978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5981 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5982 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
   5983 if test -z "$CXXCPP"; then
   5984   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5985   echo $ECHO_N "(cached) $ECHO_C" >&6
   5986 else
   5987       # Double quotes because CXXCPP needs to be expanded
   5988     for CXXCPP in "$CXX -E" "/lib/cpp"
   5989     do
   5990       ac_preproc_ok=false
   5991 for ac_cxx_preproc_warn_flag in '' yes
   5992 do
   5993   # Use a header file that comes with gcc, so configuring glibc
   5994   # with a fresh cross-compiler works.
   5995   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5996   # <limits.h> exists even on freestanding compilers.
   5997   # On the NeXT, cc -E runs the code through the compiler's parser,
   5998   # not just through cpp. "Syntax error" is here to catch this case.
   5999   cat >conftest.$ac_ext <<_ACEOF
   6000 /* confdefs.h.  */
   6001 _ACEOF
   6002 cat confdefs.h >>conftest.$ac_ext
   6003 cat >>conftest.$ac_ext <<_ACEOF
   6004 /* end confdefs.h.  */
   6005 #ifdef __STDC__
   6006 # include <limits.h>
   6007 #else
   6008 # include <assert.h>
   6009 #endif
   6010 		     Syntax error
   6011 _ACEOF
   6012 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6013 case "(($ac_try" in
   6014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6015   *) ac_try_echo=$ac_try;;
   6016 esac
   6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6018   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6019   ac_status=$?
   6020   grep -v '^ *+' conftest.er1 >conftest.err
   6021   rm -f conftest.er1
   6022   cat conftest.err >&5
   6023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6024   (exit $ac_status); } >/dev/null && {
   6025 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6026 	 test ! -s conftest.err
   6027        }; then
   6028   :
   6029 else
   6030   echo "$as_me: failed program was:" >&5
   6031 sed 's/^/| /' conftest.$ac_ext >&5
   6032 
   6033   # Broken: fails on valid input.
   6034 continue
   6035 fi
   6036 
   6037 rm -f conftest.err conftest.$ac_ext
   6038 
   6039   # OK, works on sane cases.  Now check whether nonexistent headers
   6040   # can be detected and how.
   6041   cat >conftest.$ac_ext <<_ACEOF
   6042 /* confdefs.h.  */
   6043 _ACEOF
   6044 cat confdefs.h >>conftest.$ac_ext
   6045 cat >>conftest.$ac_ext <<_ACEOF
   6046 /* end confdefs.h.  */
   6047 #include <ac_nonexistent.h>
   6048 _ACEOF
   6049 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6050 case "(($ac_try" in
   6051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6052   *) ac_try_echo=$ac_try;;
   6053 esac
   6054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6055   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6056   ac_status=$?
   6057   grep -v '^ *+' conftest.er1 >conftest.err
   6058   rm -f conftest.er1
   6059   cat conftest.err >&5
   6060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6061   (exit $ac_status); } >/dev/null && {
   6062 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6063 	 test ! -s conftest.err
   6064        }; then
   6065   # Broken: success on invalid input.
   6066 continue
   6067 else
   6068   echo "$as_me: failed program was:" >&5
   6069 sed 's/^/| /' conftest.$ac_ext >&5
   6070 
   6071   # Passes both tests.
   6072 ac_preproc_ok=:
   6073 break
   6074 fi
   6075 
   6076 rm -f conftest.err conftest.$ac_ext
   6077 
   6078 done
   6079 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6080 rm -f conftest.err conftest.$ac_ext
   6081 if $ac_preproc_ok; then
   6082   break
   6083 fi
   6084 
   6085     done
   6086     ac_cv_prog_CXXCPP=$CXXCPP
   6087 
   6088 fi
   6089   CXXCPP=$ac_cv_prog_CXXCPP
   6090 else
   6091   ac_cv_prog_CXXCPP=$CXXCPP
   6092 fi
   6093 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
   6094 echo "${ECHO_T}$CXXCPP" >&6; }
   6095 ac_preproc_ok=false
   6096 for ac_cxx_preproc_warn_flag in '' yes
   6097 do
   6098   # Use a header file that comes with gcc, so configuring glibc
   6099   # with a fresh cross-compiler works.
   6100   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6101   # <limits.h> exists even on freestanding compilers.
   6102   # On the NeXT, cc -E runs the code through the compiler's parser,
   6103   # not just through cpp. "Syntax error" is here to catch this case.
   6104   cat >conftest.$ac_ext <<_ACEOF
   6105 /* confdefs.h.  */
   6106 _ACEOF
   6107 cat confdefs.h >>conftest.$ac_ext
   6108 cat >>conftest.$ac_ext <<_ACEOF
   6109 /* end confdefs.h.  */
   6110 #ifdef __STDC__
   6111 # include <limits.h>
   6112 #else
   6113 # include <assert.h>
   6114 #endif
   6115 		     Syntax error
   6116 _ACEOF
   6117 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6118 case "(($ac_try" in
   6119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6120   *) ac_try_echo=$ac_try;;
   6121 esac
   6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6123   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6124   ac_status=$?
   6125   grep -v '^ *+' conftest.er1 >conftest.err
   6126   rm -f conftest.er1
   6127   cat conftest.err >&5
   6128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6129   (exit $ac_status); } >/dev/null && {
   6130 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6131 	 test ! -s conftest.err
   6132        }; then
   6133   :
   6134 else
   6135   echo "$as_me: failed program was:" >&5
   6136 sed 's/^/| /' conftest.$ac_ext >&5
   6137 
   6138   # Broken: fails on valid input.
   6139 continue
   6140 fi
   6141 
   6142 rm -f conftest.err conftest.$ac_ext
   6143 
   6144   # OK, works on sane cases.  Now check whether nonexistent headers
   6145   # can be detected and how.
   6146   cat >conftest.$ac_ext <<_ACEOF
   6147 /* confdefs.h.  */
   6148 _ACEOF
   6149 cat confdefs.h >>conftest.$ac_ext
   6150 cat >>conftest.$ac_ext <<_ACEOF
   6151 /* end confdefs.h.  */
   6152 #include <ac_nonexistent.h>
   6153 _ACEOF
   6154 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6155 case "(($ac_try" in
   6156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6157   *) ac_try_echo=$ac_try;;
   6158 esac
   6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6160   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6161   ac_status=$?
   6162   grep -v '^ *+' conftest.er1 >conftest.err
   6163   rm -f conftest.er1
   6164   cat conftest.err >&5
   6165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6166   (exit $ac_status); } >/dev/null && {
   6167 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6168 	 test ! -s conftest.err
   6169        }; then
   6170   # Broken: success on invalid input.
   6171 continue
   6172 else
   6173   echo "$as_me: failed program was:" >&5
   6174 sed 's/^/| /' conftest.$ac_ext >&5
   6175 
   6176   # Passes both tests.
   6177 ac_preproc_ok=:
   6178 break
   6179 fi
   6180 
   6181 rm -f conftest.err conftest.$ac_ext
   6182 
   6183 done
   6184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6185 rm -f conftest.err conftest.$ac_ext
   6186 if $ac_preproc_ok; then
   6187   :
   6188 else
   6189   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6190 See \`config.log' for more details." >&5
   6191 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6192 See \`config.log' for more details." >&2;}
   6193    { (exit 1); exit 1; }; }
   6194 fi
   6195 
   6196 ac_ext=cpp
   6197 ac_cpp='$CXXCPP $CPPFLAGS'
   6198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6201 
   6202 fi
   6203 
   6204 
   6205 ac_ext=f
   6206 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6207 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6208 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6209 if test -n "$ac_tool_prefix"; then
   6210   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6211   do
   6212     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6216 if test "${ac_cv_prog_F77+set}" = set; then
   6217   echo $ECHO_N "(cached) $ECHO_C" >&6
   6218 else
   6219   if test -n "$F77"; then
   6220   ac_cv_prog_F77="$F77" # Let the user override the test.
   6221 else
   6222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6223 for as_dir in $PATH
   6224 do
   6225   IFS=$as_save_IFS
   6226   test -z "$as_dir" && as_dir=.
   6227   for ac_exec_ext in '' $ac_executable_extensions; do
   6228   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6229     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6230     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6231     break 2
   6232   fi
   6233 done
   6234 done
   6235 IFS=$as_save_IFS
   6236 
   6237 fi
   6238 fi
   6239 F77=$ac_cv_prog_F77
   6240 if test -n "$F77"; then
   6241   { echo "$as_me:$LINENO: result: $F77" >&5
   6242 echo "${ECHO_T}$F77" >&6; }
   6243 else
   6244   { echo "$as_me:$LINENO: result: no" >&5
   6245 echo "${ECHO_T}no" >&6; }
   6246 fi
   6247 
   6248 
   6249     test -n "$F77" && break
   6250   done
   6251 fi
   6252 if test -z "$F77"; then
   6253   ac_ct_F77=$F77
   6254   for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
   6255 do
   6256   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6257 set dummy $ac_prog; ac_word=$2
   6258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6260 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6261   echo $ECHO_N "(cached) $ECHO_C" >&6
   6262 else
   6263   if test -n "$ac_ct_F77"; then
   6264   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$ac_prog"
   6274     echo "$as_me:$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_F77=$ac_cv_prog_ac_ct_F77
   6284 if test -n "$ac_ct_F77"; then
   6285   { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6286 echo "${ECHO_T}$ac_ct_F77" >&6; }
   6287 else
   6288   { echo "$as_me:$LINENO: result: no" >&5
   6289 echo "${ECHO_T}no" >&6; }
   6290 fi
   6291 
   6292 
   6293   test -n "$ac_ct_F77" && break
   6294 done
   6295 
   6296   if test "x$ac_ct_F77" = x; then
   6297     F77=""
   6298   else
   6299     case $cross_compiling:$ac_tool_warned in
   6300 yes:)
   6301 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6302 whose name does not start with the host triplet.  If you think this
   6303 configuration is useful to you, please write to autoconf@gnu.org." >&5
   6304 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6305 whose name does not start with the host triplet.  If you think this
   6306 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
   6307 ac_tool_warned=yes ;;
   6308 esac
   6309     F77=$ac_ct_F77
   6310   fi
   6311 fi
   6312 
   6313 
   6314 # Provide some information about the compiler.
   6315 echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6316 ac_compiler=`set X $ac_compile; echo $2`
   6317 { (ac_try="$ac_compiler --version >&5"
   6318 case "(($ac_try" in
   6319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6320   *) ac_try_echo=$ac_try;;
   6321 esac
   6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6323   (eval "$ac_compiler --version >&5") 2>&5
   6324   ac_status=$?
   6325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6326   (exit $ac_status); }
   6327 { (ac_try="$ac_compiler -v >&5"
   6328 case "(($ac_try" in
   6329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6330   *) ac_try_echo=$ac_try;;
   6331 esac
   6332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6333   (eval "$ac_compiler -v >&5") 2>&5
   6334   ac_status=$?
   6335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6336   (exit $ac_status); }
   6337 { (ac_try="$ac_compiler -V >&5"
   6338 case "(($ac_try" in
   6339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6340   *) ac_try_echo=$ac_try;;
   6341 esac
   6342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6343   (eval "$ac_compiler -V >&5") 2>&5
   6344   ac_status=$?
   6345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6346   (exit $ac_status); }
   6347 rm -f a.out
   6348 
   6349 # If we don't use `.F' as extension, the preprocessor is not run on the
   6350 # input file.  (Note that this only needs to work for GNU compilers.)
   6351 ac_save_ext=$ac_ext
   6352 ac_ext=F
   6353 { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6354 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
   6355 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6356   echo $ECHO_N "(cached) $ECHO_C" >&6
   6357 else
   6358   cat >conftest.$ac_ext <<_ACEOF
   6359       program main
   6360 #ifndef __GNUC__
   6361        choke me
   6362 #endif
   6363 
   6364       end
   6365 _ACEOF
   6366 rm -f conftest.$ac_objext
   6367 if { (ac_try="$ac_compile"
   6368 case "(($ac_try" in
   6369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6370   *) ac_try_echo=$ac_try;;
   6371 esac
   6372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6373   (eval "$ac_compile") 2>conftest.er1
   6374   ac_status=$?
   6375   grep -v '^ *+' conftest.er1 >conftest.err
   6376   rm -f conftest.er1
   6377   cat conftest.err >&5
   6378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6379   (exit $ac_status); } && {
   6380 	 test -z "$ac_f77_werror_flag" ||
   6381 	 test ! -s conftest.err
   6382        } && test -s conftest.$ac_objext; then
   6383   ac_compiler_gnu=yes
   6384 else
   6385   echo "$as_me: failed program was:" >&5
   6386 sed 's/^/| /' conftest.$ac_ext >&5
   6387 
   6388 	ac_compiler_gnu=no
   6389 fi
   6390 
   6391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6392 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6393 
   6394 fi
   6395 { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6396 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
   6397 ac_ext=$ac_save_ext
   6398 ac_test_FFLAGS=${FFLAGS+set}
   6399 ac_save_FFLAGS=$FFLAGS
   6400 FFLAGS=
   6401 { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6402 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
   6403 if test "${ac_cv_prog_f77_g+set}" = set; then
   6404   echo $ECHO_N "(cached) $ECHO_C" >&6
   6405 else
   6406   FFLAGS=-g
   6407 cat >conftest.$ac_ext <<_ACEOF
   6408       program main
   6409 
   6410       end
   6411 _ACEOF
   6412 rm -f conftest.$ac_objext
   6413 if { (ac_try="$ac_compile"
   6414 case "(($ac_try" in
   6415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6416   *) ac_try_echo=$ac_try;;
   6417 esac
   6418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   6419   (eval "$ac_compile") 2>conftest.er1
   6420   ac_status=$?
   6421   grep -v '^ *+' conftest.er1 >conftest.err
   6422   rm -f conftest.er1
   6423   cat conftest.err >&5
   6424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6425   (exit $ac_status); } && {
   6426 	 test -z "$ac_f77_werror_flag" ||
   6427 	 test ! -s conftest.err
   6428        } && test -s conftest.$ac_objext; then
   6429   ac_cv_prog_f77_g=yes
   6430 else
   6431   echo "$as_me: failed program was:" >&5
   6432 sed 's/^/| /' conftest.$ac_ext >&5
   6433 
   6434 	ac_cv_prog_f77_g=no
   6435 fi
   6436 
   6437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6438 
   6439 fi
   6440 { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6441 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
   6442 if test "$ac_test_FFLAGS" = set; then
   6443   FFLAGS=$ac_save_FFLAGS
   6444 elif test $ac_cv_prog_f77_g = yes; then
   6445   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6446     FFLAGS="-g -O2"
   6447   else
   6448     FFLAGS="-g"
   6449   fi
   6450 else
   6451   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6452     FFLAGS="-O2"
   6453   else
   6454     FFLAGS=
   6455   fi
   6456 fi
   6457 
   6458 G77=`test $ac_compiler_gnu = yes && echo yes`
   6459 ac_ext=c
   6460 ac_cpp='$CPP $CPPFLAGS'
   6461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6464 
   6465 
   6466 
   6467 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6468 
   6469 # find the maximum length of command line arguments
   6470 { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6471 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
   6472 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6473   echo $ECHO_N "(cached) $ECHO_C" >&6
   6474 else
   6475     i=0
   6476   teststring="ABCD"
   6477 
   6478   case $build_os in
   6479   msdosdjgpp*)
   6480     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6481     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6482     # during glob expansion).  Even if it were fixed, the result of this
   6483     # check would be larger than it should be.
   6484     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6485     ;;
   6486 
   6487   gnu*)
   6488     # Under GNU Hurd, this test is not required because there is
   6489     # no limit to the length of command line arguments.
   6490     # Libtool will interpret -1 as no limit whatsoever
   6491     lt_cv_sys_max_cmd_len=-1;
   6492     ;;
   6493 
   6494   cygwin* | mingw*)
   6495     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6496     # about 5 minutes as the teststring grows exponentially.
   6497     # Worse, since 9x/ME are not pre-emptively multitasking,
   6498     # you end up with a "frozen" computer, even though with patience
   6499     # the test eventually succeeds (with a max line length of 256k).
   6500     # Instead, let's just punt: use the minimum linelength reported by
   6501     # all of the supported platforms: 8192 (on NT/2K/XP).
   6502     lt_cv_sys_max_cmd_len=8192;
   6503     ;;
   6504 
   6505   amigaos*)
   6506     # On AmigaOS with pdksh, this test takes hours, literally.
   6507     # So we just punt and use a minimum line length of 8192.
   6508     lt_cv_sys_max_cmd_len=8192;
   6509     ;;
   6510 
   6511   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6512     # This has been around since 386BSD, at least.  Likely further.
   6513     if test -x /sbin/sysctl; then
   6514       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6515     elif test -x /usr/sbin/sysctl; then
   6516       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6517     else
   6518       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6519     fi
   6520     # And add a safety zone
   6521     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6522     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6523     ;;
   6524 
   6525   interix*)
   6526     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6527     lt_cv_sys_max_cmd_len=196608
   6528     ;;
   6529 
   6530   osf*)
   6531     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6532     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6533     # nice to cause kernel panics so lets avoid the loop below.
   6534     # First set a reasonable default.
   6535     lt_cv_sys_max_cmd_len=16384
   6536     #
   6537     if test -x /sbin/sysconfig; then
   6538       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6539         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6540       esac
   6541     fi
   6542     ;;
   6543   sco3.2v5*)
   6544     lt_cv_sys_max_cmd_len=102400
   6545     ;;
   6546   sysv5* | sco5v6* | sysv4.2uw2*)
   6547     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6548     if test -n "$kargmax"; then
   6549       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6550     else
   6551       lt_cv_sys_max_cmd_len=32768
   6552     fi
   6553     ;;
   6554   *)
   6555     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6556     if test -n "$lt_cv_sys_max_cmd_len"; then
   6557       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6558       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6559     else
   6560       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6561       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6562 	       = "XX$teststring") >/dev/null 2>&1 &&
   6563 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6564 	      lt_cv_sys_max_cmd_len=$new_result &&
   6565 	      test $i != 17 # 1/2 MB should be enough
   6566       do
   6567         i=`expr $i + 1`
   6568         teststring=$teststring$teststring
   6569       done
   6570       teststring=
   6571       # Add a significant safety factor because C++ compilers can tack on massive
   6572       # amounts of additional arguments before passing them to the linker.
   6573       # It appears as though 1/2 is a usable value.
   6574       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6575     fi
   6576     ;;
   6577   esac
   6578 
   6579 fi
   6580 
   6581 if test -n $lt_cv_sys_max_cmd_len ; then
   6582   { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6583 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
   6584 else
   6585   { echo "$as_me:$LINENO: result: none" >&5
   6586 echo "${ECHO_T}none" >&6; }
   6587 fi
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6594 { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6595 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
   6596 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6597   echo $ECHO_N "(cached) $ECHO_C" >&6
   6598 else
   6599 
   6600 # These are sane defaults that work on at least a few old systems.
   6601 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6602 
   6603 # Character class describing NM global symbol codes.
   6604 symcode='[BCDEGRST]'
   6605 
   6606 # Regexp to match symbols that can be accessed directly from C.
   6607 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6608 
   6609 # Transform an extracted symbol line into a proper C declaration
   6610 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6611 
   6612 # Transform an extracted symbol line into symbol name and symbol address
   6613 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6614 
   6615 # Define system-specific variables.
   6616 case $host_os in
   6617 aix*)
   6618   symcode='[BCDT]'
   6619   ;;
   6620 cygwin* | mingw* | pw32*)
   6621   symcode='[ABCDGISTW]'
   6622   ;;
   6623 hpux*) # Its linker distinguishes data from code symbols
   6624   if test "$host_cpu" = ia64; then
   6625     symcode='[ABCDEGRST]'
   6626   fi
   6627   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6628   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6629   ;;
   6630 linux* | k*bsd*-gnu)
   6631   if test "$host_cpu" = ia64; then
   6632     symcode='[ABCDGIRSTW]'
   6633     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6634     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   6635   fi
   6636   ;;
   6637 irix* | nonstopux*)
   6638   symcode='[BCDEGRST]'
   6639   ;;
   6640 osf*)
   6641   symcode='[BCDEGQRST]'
   6642   ;;
   6643 solaris*)
   6644   symcode='[BDRT]'
   6645   ;;
   6646 sco3.2v5*)
   6647   symcode='[DT]'
   6648   ;;
   6649 sysv4.2uw2*)
   6650   symcode='[DT]'
   6651   ;;
   6652 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6653   symcode='[ABDT]'
   6654   ;;
   6655 sysv4)
   6656   symcode='[DFNSTU]'
   6657   ;;
   6658 esac
   6659 
   6660 # Handle CRLF in mingw tool chain
   6661 opt_cr=
   6662 case $build_os in
   6663 mingw*)
   6664   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6665   ;;
   6666 esac
   6667 
   6668 # If we're using GNU nm, then use its standard symbol codes.
   6669 case `$NM -V 2>&1` in
   6670 *GNU* | *'with BFD'*)
   6671   symcode='[ABCDGIRSTW]' ;;
   6672 esac
   6673 
   6674 # Try without a prefix undercore, then with it.
   6675 for ac_symprfx in "" "_"; do
   6676 
   6677   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6678   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6679 
   6680   # Write the raw and C identifiers.
   6681   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6682 
   6683   # Check to see that the pipe works correctly.
   6684   pipe_works=no
   6685 
   6686   rm -f conftest*
   6687   cat > conftest.$ac_ext <<EOF
   6688 #ifdef __cplusplus
   6689 extern "C" {
   6690 #endif
   6691 char nm_test_var;
   6692 void nm_test_func(){}
   6693 #ifdef __cplusplus
   6694 }
   6695 #endif
   6696 int main(){nm_test_var='a';nm_test_func();return(0);}
   6697 EOF
   6698 
   6699   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6700   (eval $ac_compile) 2>&5
   6701   ac_status=$?
   6702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6703   (exit $ac_status); }; then
   6704     # Now try to grab the symbols.
   6705     nlist=conftest.nm
   6706     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6707   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6708   ac_status=$?
   6709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6710   (exit $ac_status); } && test -s "$nlist"; then
   6711       # Try sorting and uniquifying the output.
   6712       if sort "$nlist" | uniq > "$nlist"T; then
   6713 	mv -f "$nlist"T "$nlist"
   6714       else
   6715 	rm -f "$nlist"T
   6716       fi
   6717 
   6718       # Make sure that we snagged all the symbols we need.
   6719       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6720 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6721 	  cat <<EOF > conftest.$ac_ext
   6722 #ifdef __cplusplus
   6723 extern "C" {
   6724 #endif
   6725 
   6726 EOF
   6727 	  # Now generate the symbol file.
   6728 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6729 
   6730 	  cat <<EOF >> conftest.$ac_ext
   6731 #if defined (__STDC__) && __STDC__
   6732 # define lt_ptr_t void *
   6733 #else
   6734 # define lt_ptr_t char *
   6735 # define const
   6736 #endif
   6737 
   6738 /* The mapping between symbol names and symbols. */
   6739 const struct {
   6740   const char *name;
   6741   lt_ptr_t address;
   6742 }
   6743 lt_preloaded_symbols[] =
   6744 {
   6745 EOF
   6746 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6747 	  cat <<\EOF >> conftest.$ac_ext
   6748   {0, (lt_ptr_t) 0}
   6749 };
   6750 
   6751 #ifdef __cplusplus
   6752 }
   6753 #endif
   6754 EOF
   6755 	  # Now try linking the two files.
   6756 	  mv conftest.$ac_objext conftstm.$ac_objext
   6757 	  lt_save_LIBS="$LIBS"
   6758 	  lt_save_CFLAGS="$CFLAGS"
   6759 	  LIBS="conftstm.$ac_objext"
   6760 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6761 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6762   (eval $ac_link) 2>&5
   6763   ac_status=$?
   6764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6765   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6766 	    pipe_works=yes
   6767 	  fi
   6768 	  LIBS="$lt_save_LIBS"
   6769 	  CFLAGS="$lt_save_CFLAGS"
   6770 	else
   6771 	  echo "cannot find nm_test_func in $nlist" >&5
   6772 	fi
   6773       else
   6774 	echo "cannot find nm_test_var in $nlist" >&5
   6775       fi
   6776     else
   6777       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6778     fi
   6779   else
   6780     echo "$progname: failed program was:" >&5
   6781     cat conftest.$ac_ext >&5
   6782   fi
   6783   rm -f conftest* conftst*
   6784 
   6785   # Do not use the global_symbol_pipe unless it works.
   6786   if test "$pipe_works" = yes; then
   6787     break
   6788   else
   6789     lt_cv_sys_global_symbol_pipe=
   6790   fi
   6791 done
   6792 
   6793 fi
   6794 
   6795 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6796   lt_cv_sys_global_symbol_to_cdecl=
   6797 fi
   6798 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6799   { echo "$as_me:$LINENO: result: failed" >&5
   6800 echo "${ECHO_T}failed" >&6; }
   6801 else
   6802   { echo "$as_me:$LINENO: result: ok" >&5
   6803 echo "${ECHO_T}ok" >&6; }
   6804 fi
   6805 
   6806 { echo "$as_me:$LINENO: checking for objdir" >&5
   6807 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
   6808 if test "${lt_cv_objdir+set}" = set; then
   6809   echo $ECHO_N "(cached) $ECHO_C" >&6
   6810 else
   6811   rm -f .libs 2>/dev/null
   6812 mkdir .libs 2>/dev/null
   6813 if test -d .libs; then
   6814   lt_cv_objdir=.libs
   6815 else
   6816   # MS-DOS does not allow filenames that begin with a dot.
   6817   lt_cv_objdir=_libs
   6818 fi
   6819 rmdir .libs 2>/dev/null
   6820 fi
   6821 { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6822 echo "${ECHO_T}$lt_cv_objdir" >&6; }
   6823 objdir=$lt_cv_objdir
   6824 
   6825 
   6826 
   6827 
   6828 
   6829 case $host_os in
   6830 aix3*)
   6831   # AIX sometimes has problems with the GCC collect2 program.  For some
   6832   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6833   # vanish in a puff of smoke.
   6834   if test "X${COLLECT_NAMES+set}" != Xset; then
   6835     COLLECT_NAMES=
   6836     export COLLECT_NAMES
   6837   fi
   6838   ;;
   6839 esac
   6840 
   6841 # Sed substitution that helps us do robust quoting.  It backslashifies
   6842 # metacharacters that are still active within double-quoted strings.
   6843 Xsed='sed -e 1s/^X//'
   6844 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6845 
   6846 # Same as above, but do not quote variable references.
   6847 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6848 
   6849 # Sed substitution to delay expansion of an escaped shell variable in a
   6850 # double_quote_subst'ed string.
   6851 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6852 
   6853 # Sed substitution to avoid accidental globbing in evaled expressions
   6854 no_glob_subst='s/\*/\\\*/g'
   6855 
   6856 # Constants:
   6857 rm="rm -f"
   6858 
   6859 # Global variables:
   6860 default_ofile=libtool
   6861 can_build_shared=yes
   6862 
   6863 # All known linkers require a `.a' archive for static linking (except MSVC,
   6864 # which needs '.lib').
   6865 libext=a
   6866 ltmain="$ac_aux_dir/ltmain.sh"
   6867 ofile="$default_ofile"
   6868 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6869 
   6870 if test -n "$ac_tool_prefix"; then
   6871   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6872 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6875 if test "${ac_cv_prog_AR+set}" = set; then
   6876   echo $ECHO_N "(cached) $ECHO_C" >&6
   6877 else
   6878   if test -n "$AR"; then
   6879   ac_cv_prog_AR="$AR" # Let the user override the test.
   6880 else
   6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6882 for as_dir in $PATH
   6883 do
   6884   IFS=$as_save_IFS
   6885   test -z "$as_dir" && as_dir=.
   6886   for ac_exec_ext in '' $ac_executable_extensions; do
   6887   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6888     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6889     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6890     break 2
   6891   fi
   6892 done
   6893 done
   6894 IFS=$as_save_IFS
   6895 
   6896 fi
   6897 fi
   6898 AR=$ac_cv_prog_AR
   6899 if test -n "$AR"; then
   6900   { echo "$as_me:$LINENO: result: $AR" >&5
   6901 echo "${ECHO_T}$AR" >&6; }
   6902 else
   6903   { echo "$as_me:$LINENO: result: no" >&5
   6904 echo "${ECHO_T}no" >&6; }
   6905 fi
   6906 
   6907 
   6908 fi
   6909 if test -z "$ac_cv_prog_AR"; then
   6910   ac_ct_AR=$AR
   6911   # Extract the first word of "ar", so it can be a program name with args.
   6912 set dummy ar; ac_word=$2
   6913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6915 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6916   echo $ECHO_N "(cached) $ECHO_C" >&6
   6917 else
   6918   if test -n "$ac_ct_AR"; then
   6919   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6920 else
   6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6922 for as_dir in $PATH
   6923 do
   6924   IFS=$as_save_IFS
   6925   test -z "$as_dir" && as_dir=.
   6926   for ac_exec_ext in '' $ac_executable_extensions; do
   6927   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6928     ac_cv_prog_ac_ct_AR="ar"
   6929     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6930     break 2
   6931   fi
   6932 done
   6933 done
   6934 IFS=$as_save_IFS
   6935 
   6936 fi
   6937 fi
   6938 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6939 if test -n "$ac_ct_AR"; then
   6940   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6941 echo "${ECHO_T}$ac_ct_AR" >&6; }
   6942 else
   6943   { echo "$as_me:$LINENO: result: no" >&5
   6944 echo "${ECHO_T}no" >&6; }
   6945 fi
   6946 
   6947   if test "x$ac_ct_AR" = x; then
   6948     AR="false"
   6949   else
   6950     case $cross_compiling:$ac_tool_warned in
   6951 yes:)
   6952 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   6953 whose name does not start with the host triplet.  If you think this
   6954 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   6955 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   6956 whose name does not start with the host triplet.  If you think this
   6957 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   6958 ac_tool_warned=yes ;;
   6959 esac
   6960     AR=$ac_ct_AR
   6961   fi
   6962 else
   6963   AR="$ac_cv_prog_AR"
   6964 fi
   6965 
   6966 if test -n "$ac_tool_prefix"; then
   6967   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6968 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   6970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   6971 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6972   echo $ECHO_N "(cached) $ECHO_C" >&6
   6973 else
   6974   if test -n "$RANLIB"; then
   6975   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6976 else
   6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6978 for as_dir in $PATH
   6979 do
   6980   IFS=$as_save_IFS
   6981   test -z "$as_dir" && as_dir=.
   6982   for ac_exec_ext in '' $ac_executable_extensions; do
   6983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6984     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6985     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6986     break 2
   6987   fi
   6988 done
   6989 done
   6990 IFS=$as_save_IFS
   6991 
   6992 fi
   6993 fi
   6994 RANLIB=$ac_cv_prog_RANLIB
   6995 if test -n "$RANLIB"; then
   6996   { echo "$as_me:$LINENO: result: $RANLIB" >&5
   6997 echo "${ECHO_T}$RANLIB" >&6; }
   6998 else
   6999   { echo "$as_me:$LINENO: result: no" >&5
   7000 echo "${ECHO_T}no" >&6; }
   7001 fi
   7002 
   7003 
   7004 fi
   7005 if test -z "$ac_cv_prog_RANLIB"; then
   7006   ac_ct_RANLIB=$RANLIB
   7007   # Extract the first word of "ranlib", so it can be a program name with args.
   7008 set dummy ranlib; ac_word=$2
   7009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7011 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   7012   echo $ECHO_N "(cached) $ECHO_C" >&6
   7013 else
   7014   if test -n "$ac_ct_RANLIB"; then
   7015   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7016 else
   7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7018 for as_dir in $PATH
   7019 do
   7020   IFS=$as_save_IFS
   7021   test -z "$as_dir" && as_dir=.
   7022   for ac_exec_ext in '' $ac_executable_extensions; do
   7023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7024     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7025     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7026     break 2
   7027   fi
   7028 done
   7029 done
   7030 IFS=$as_save_IFS
   7031 
   7032 fi
   7033 fi
   7034 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7035 if test -n "$ac_ct_RANLIB"; then
   7036   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   7037 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
   7038 else
   7039   { echo "$as_me:$LINENO: result: no" >&5
   7040 echo "${ECHO_T}no" >&6; }
   7041 fi
   7042 
   7043   if test "x$ac_ct_RANLIB" = x; then
   7044     RANLIB=":"
   7045   else
   7046     case $cross_compiling:$ac_tool_warned in
   7047 yes:)
   7048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7049 whose name does not start with the host triplet.  If you think this
   7050 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7052 whose name does not start with the host triplet.  If you think this
   7053 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7054 ac_tool_warned=yes ;;
   7055 esac
   7056     RANLIB=$ac_ct_RANLIB
   7057   fi
   7058 else
   7059   RANLIB="$ac_cv_prog_RANLIB"
   7060 fi
   7061 
   7062 if test -n "$ac_tool_prefix"; then
   7063   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7064 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7067 if test "${ac_cv_prog_STRIP+set}" = set; then
   7068   echo $ECHO_N "(cached) $ECHO_C" >&6
   7069 else
   7070   if test -n "$STRIP"; then
   7071   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7072 else
   7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7074 for as_dir in $PATH
   7075 do
   7076   IFS=$as_save_IFS
   7077   test -z "$as_dir" && as_dir=.
   7078   for ac_exec_ext in '' $ac_executable_extensions; do
   7079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7080     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7081     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7082     break 2
   7083   fi
   7084 done
   7085 done
   7086 IFS=$as_save_IFS
   7087 
   7088 fi
   7089 fi
   7090 STRIP=$ac_cv_prog_STRIP
   7091 if test -n "$STRIP"; then
   7092   { echo "$as_me:$LINENO: result: $STRIP" >&5
   7093 echo "${ECHO_T}$STRIP" >&6; }
   7094 else
   7095   { echo "$as_me:$LINENO: result: no" >&5
   7096 echo "${ECHO_T}no" >&6; }
   7097 fi
   7098 
   7099 
   7100 fi
   7101 if test -z "$ac_cv_prog_STRIP"; then
   7102   ac_ct_STRIP=$STRIP
   7103   # Extract the first word of "strip", so it can be a program name with args.
   7104 set dummy strip; ac_word=$2
   7105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   7106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   7107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7108   echo $ECHO_N "(cached) $ECHO_C" >&6
   7109 else
   7110   if test -n "$ac_ct_STRIP"; then
   7111   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7112 else
   7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7114 for as_dir in $PATH
   7115 do
   7116   IFS=$as_save_IFS
   7117   test -z "$as_dir" && as_dir=.
   7118   for ac_exec_ext in '' $ac_executable_extensions; do
   7119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7120     ac_cv_prog_ac_ct_STRIP="strip"
   7121     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7122     break 2
   7123   fi
   7124 done
   7125 done
   7126 IFS=$as_save_IFS
   7127 
   7128 fi
   7129 fi
   7130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7131 if test -n "$ac_ct_STRIP"; then
   7132   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7133 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
   7134 else
   7135   { echo "$as_me:$LINENO: result: no" >&5
   7136 echo "${ECHO_T}no" >&6; }
   7137 fi
   7138 
   7139   if test "x$ac_ct_STRIP" = x; then
   7140     STRIP=":"
   7141   else
   7142     case $cross_compiling:$ac_tool_warned in
   7143 yes:)
   7144 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   7145 whose name does not start with the host triplet.  If you think this
   7146 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   7147 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   7148 whose name does not start with the host triplet.  If you think this
   7149 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   7150 ac_tool_warned=yes ;;
   7151 esac
   7152     STRIP=$ac_ct_STRIP
   7153   fi
   7154 else
   7155   STRIP="$ac_cv_prog_STRIP"
   7156 fi
   7157 
   7158 
   7159 old_CC="$CC"
   7160 old_CFLAGS="$CFLAGS"
   7161 
   7162 # Set sane defaults for various variables
   7163 test -z "$AR" && AR=ar
   7164 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7165 test -z "$AS" && AS=as
   7166 test -z "$CC" && CC=cc
   7167 test -z "$LTCC" && LTCC=$CC
   7168 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7169 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7170 test -z "$LD" && LD=ld
   7171 test -z "$LN_S" && LN_S="ln -s"
   7172 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7173 test -z "$NM" && NM=nm
   7174 test -z "$SED" && SED=sed
   7175 test -z "$OBJDUMP" && OBJDUMP=objdump
   7176 test -z "$RANLIB" && RANLIB=:
   7177 test -z "$STRIP" && STRIP=:
   7178 test -z "$ac_objext" && ac_objext=o
   7179 
   7180 # Determine commands to create old-style static archives.
   7181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7182 old_postinstall_cmds='chmod 644 $oldlib'
   7183 old_postuninstall_cmds=
   7184 
   7185 if test -n "$RANLIB"; then
   7186   case $host_os in
   7187   openbsd*)
   7188     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7189     ;;
   7190   *)
   7191     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7192     ;;
   7193   esac
   7194   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7195 fi
   7196 
   7197 for cc_temp in $compiler""; do
   7198   case $cc_temp in
   7199     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7200     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7201     \-*) ;;
   7202     *) break;;
   7203   esac
   7204 done
   7205 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7206 
   7207 
   7208 # Only perform the check for file, if the check method requires it
   7209 case $deplibs_check_method in
   7210 file_magic*)
   7211   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7212     { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7213 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
   7214 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7215   echo $ECHO_N "(cached) $ECHO_C" >&6
   7216 else
   7217   case $MAGIC_CMD in
   7218 [\\/*] |  ?:[\\/]*)
   7219   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7220   ;;
   7221 *)
   7222   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7223   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7224   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7225   for ac_dir in $ac_dummy; do
   7226     IFS="$lt_save_ifs"
   7227     test -z "$ac_dir" && ac_dir=.
   7228     if test -f $ac_dir/${ac_tool_prefix}file; then
   7229       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7230       if test -n "$file_magic_test_file"; then
   7231 	case $deplibs_check_method in
   7232 	"file_magic "*)
   7233 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7234 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7235 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7236 	    $EGREP "$file_magic_regex" > /dev/null; then
   7237 	    :
   7238 	  else
   7239 	    cat <<EOF 1>&2
   7240 
   7241 *** Warning: the command libtool uses to detect shared libraries,
   7242 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7243 *** The result is that libtool may fail to recognize shared libraries
   7244 *** as such.  This will affect the creation of libtool libraries that
   7245 *** depend on shared libraries, but programs linked with such libtool
   7246 *** libraries will work regardless of this problem.  Nevertheless, you
   7247 *** may want to report the problem to your system manager and/or to
   7248 *** bug-libtool@gnu.org
   7249 
   7250 EOF
   7251 	  fi ;;
   7252 	esac
   7253       fi
   7254       break
   7255     fi
   7256   done
   7257   IFS="$lt_save_ifs"
   7258   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7259   ;;
   7260 esac
   7261 fi
   7262 
   7263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7264 if test -n "$MAGIC_CMD"; then
   7265   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7266 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7267 else
   7268   { echo "$as_me:$LINENO: result: no" >&5
   7269 echo "${ECHO_T}no" >&6; }
   7270 fi
   7271 
   7272 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7273   if test -n "$ac_tool_prefix"; then
   7274     { echo "$as_me:$LINENO: checking for file" >&5
   7275 echo $ECHO_N "checking for file... $ECHO_C" >&6; }
   7276 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7277   echo $ECHO_N "(cached) $ECHO_C" >&6
   7278 else
   7279   case $MAGIC_CMD in
   7280 [\\/*] |  ?:[\\/]*)
   7281   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7282   ;;
   7283 *)
   7284   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7285   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7286   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7287   for ac_dir in $ac_dummy; do
   7288     IFS="$lt_save_ifs"
   7289     test -z "$ac_dir" && ac_dir=.
   7290     if test -f $ac_dir/file; then
   7291       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7292       if test -n "$file_magic_test_file"; then
   7293 	case $deplibs_check_method in
   7294 	"file_magic "*)
   7295 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7296 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7297 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7298 	    $EGREP "$file_magic_regex" > /dev/null; then
   7299 	    :
   7300 	  else
   7301 	    cat <<EOF 1>&2
   7302 
   7303 *** Warning: the command libtool uses to detect shared libraries,
   7304 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7305 *** The result is that libtool may fail to recognize shared libraries
   7306 *** as such.  This will affect the creation of libtool libraries that
   7307 *** depend on shared libraries, but programs linked with such libtool
   7308 *** libraries will work regardless of this problem.  Nevertheless, you
   7309 *** may want to report the problem to your system manager and/or to
   7310 *** bug-libtool@gnu.org
   7311 
   7312 EOF
   7313 	  fi ;;
   7314 	esac
   7315       fi
   7316       break
   7317     fi
   7318   done
   7319   IFS="$lt_save_ifs"
   7320   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7321   ;;
   7322 esac
   7323 fi
   7324 
   7325 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7326 if test -n "$MAGIC_CMD"; then
   7327   { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7328 echo "${ECHO_T}$MAGIC_CMD" >&6; }
   7329 else
   7330   { echo "$as_me:$LINENO: result: no" >&5
   7331 echo "${ECHO_T}no" >&6; }
   7332 fi
   7333 
   7334   else
   7335     MAGIC_CMD=:
   7336   fi
   7337 fi
   7338 
   7339   fi
   7340   ;;
   7341 esac
   7342 
   7343 enable_dlopen=no
   7344 enable_win32_dll=no
   7345 
   7346 # Check whether --enable-libtool-lock was given.
   7347 if test "${enable_libtool_lock+set}" = set; then
   7348   enableval=$enable_libtool_lock;
   7349 fi
   7350 
   7351 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7352 
   7353 
   7354 # Check whether --with-pic was given.
   7355 if test "${with_pic+set}" = set; then
   7356   withval=$with_pic; pic_mode="$withval"
   7357 else
   7358   pic_mode=default
   7359 fi
   7360 
   7361 test -z "$pic_mode" && pic_mode=default
   7362 
   7363 # Use C for the default configuration in the libtool script
   7364 tagname=
   7365 lt_save_CC="$CC"
   7366 ac_ext=c
   7367 ac_cpp='$CPP $CPPFLAGS'
   7368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7371 
   7372 
   7373 # Source file extension for C test sources.
   7374 ac_ext=c
   7375 
   7376 # Object file extension for compiled C test sources.
   7377 objext=o
   7378 objext=$objext
   7379 
   7380 # Code to be used in simple compile tests
   7381 lt_simple_compile_test_code="int some_variable = 0;"
   7382 
   7383 # Code to be used in simple link tests
   7384 lt_simple_link_test_code='int main(){return(0);}'
   7385 
   7386 
   7387 # If no C compiler was specified, use CC.
   7388 LTCC=${LTCC-"$CC"}
   7389 
   7390 # If no C compiler flags were specified, use CFLAGS.
   7391 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7392 
   7393 # Allow CC to be a program name with arguments.
   7394 compiler=$CC
   7395 
   7396 
   7397 # save warnings/boilerplate of simple test code
   7398 ac_outfile=conftest.$ac_objext
   7399 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7400 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7401 _lt_compiler_boilerplate=`cat conftest.err`
   7402 $rm conftest*
   7403 
   7404 ac_outfile=conftest.$ac_objext
   7405 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7406 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7407 _lt_linker_boilerplate=`cat conftest.err`
   7408 $rm conftest*
   7409 
   7410 
   7411 
   7412 lt_prog_compiler_no_builtin_flag=
   7413 
   7414 if test "$GCC" = yes; then
   7415   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7416 
   7417 
   7418 { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7419 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
   7420 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7421   echo $ECHO_N "(cached) $ECHO_C" >&6
   7422 else
   7423   lt_cv_prog_compiler_rtti_exceptions=no
   7424   ac_outfile=conftest.$ac_objext
   7425    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7426    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7427    # Insert the option either (1) after the last *FLAGS variable, or
   7428    # (2) before a word containing "conftest.", or (3) at the end.
   7429    # Note that $ac_compile itself does not contain backslashes and begins
   7430    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7431    # The option is referenced via a variable to avoid confusing sed.
   7432    lt_compile=`echo "$ac_compile" | $SED \
   7433    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7434    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7435    -e 's:$: $lt_compiler_flag:'`
   7436    (eval echo "\"\$as_me:7436: $lt_compile\"" >&5)
   7437    (eval "$lt_compile" 2>conftest.err)
   7438    ac_status=$?
   7439    cat conftest.err >&5
   7440    echo "$as_me:7440: \$? = $ac_status" >&5
   7441    if (exit $ac_status) && test -s "$ac_outfile"; then
   7442      # The compiler can only warn and ignore the option if not recognized
   7443      # So say no if there are warnings other than the usual output.
   7444      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7445      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7446      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7447        lt_cv_prog_compiler_rtti_exceptions=yes
   7448      fi
   7449    fi
   7450    $rm conftest*
   7451 
   7452 fi
   7453 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7454 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7455 
   7456 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7457     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7458 else
   7459     :
   7460 fi
   7461 
   7462 fi
   7463 
   7464 lt_prog_compiler_wl=
   7465 lt_prog_compiler_pic=
   7466 lt_prog_compiler_static=
   7467 
   7468 { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7469 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
   7470 
   7471   if test "$GCC" = yes; then
   7472     lt_prog_compiler_wl='-Wl,'
   7473     lt_prog_compiler_static='-static'
   7474 
   7475     case $host_os in
   7476       aix*)
   7477       # All AIX code is PIC.
   7478       if test "$host_cpu" = ia64; then
   7479 	# AIX 5 now supports IA64 processor
   7480 	lt_prog_compiler_static='-Bstatic'
   7481       fi
   7482       ;;
   7483 
   7484     amigaos*)
   7485       # FIXME: we need at least 68020 code to build shared libraries, but
   7486       # adding the `-m68020' flag to GCC prevents building anything better,
   7487       # like `-m68040'.
   7488       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7489       ;;
   7490 
   7491     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7492       # PIC is the default for these OSes.
   7493       ;;
   7494 
   7495     mingw* | cygwin* | pw32* | os2*)
   7496       # This hack is so that the source file can tell whether it is being
   7497       # built for inclusion in a dll (and should export symbols for example).
   7498       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7499       # (--disable-auto-import) libraries
   7500       lt_prog_compiler_pic='-DDLL_EXPORT'
   7501       ;;
   7502 
   7503     darwin* | rhapsody*)
   7504       # PIC is the default on this platform
   7505       # Common symbols not allowed in MH_DYLIB files
   7506       lt_prog_compiler_pic='-fno-common'
   7507       ;;
   7508 
   7509     interix[3-9]*)
   7510       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7511       # Instead, we relocate shared libraries at runtime.
   7512       ;;
   7513 
   7514     msdosdjgpp*)
   7515       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7516       # on systems that don't support them.
   7517       lt_prog_compiler_can_build_shared=no
   7518       enable_shared=no
   7519       ;;
   7520 
   7521     sysv4*MP*)
   7522       if test -d /usr/nec; then
   7523 	lt_prog_compiler_pic=-Kconform_pic
   7524       fi
   7525       ;;
   7526 
   7527     hpux*)
   7528       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7529       # not for PA HP-UX.
   7530       case $host_cpu in
   7531       hppa*64*|ia64*)
   7532 	# +Z the default
   7533 	;;
   7534       *)
   7535 	lt_prog_compiler_pic='-fPIC'
   7536 	;;
   7537       esac
   7538       ;;
   7539 
   7540     *)
   7541       lt_prog_compiler_pic='-fPIC'
   7542       ;;
   7543     esac
   7544   else
   7545     # PORTME Check for flag to pass linker flags through the system compiler.
   7546     case $host_os in
   7547     aix*)
   7548       lt_prog_compiler_wl='-Wl,'
   7549       if test "$host_cpu" = ia64; then
   7550 	# AIX 5 now supports IA64 processor
   7551 	lt_prog_compiler_static='-Bstatic'
   7552       else
   7553 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7554       fi
   7555       ;;
   7556       darwin*)
   7557         # PIC is the default on this platform
   7558         # Common symbols not allowed in MH_DYLIB files
   7559        case $cc_basename in
   7560          xlc*)
   7561          lt_prog_compiler_pic='-qnocommon'
   7562          lt_prog_compiler_wl='-Wl,'
   7563          ;;
   7564        esac
   7565        ;;
   7566 
   7567     mingw* | cygwin* | pw32* | os2*)
   7568       # This hack is so that the source file can tell whether it is being
   7569       # built for inclusion in a dll (and should export symbols for example).
   7570       lt_prog_compiler_pic='-DDLL_EXPORT'
   7571       ;;
   7572 
   7573     hpux9* | hpux10* | hpux11*)
   7574       lt_prog_compiler_wl='-Wl,'
   7575       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7576       # not for PA HP-UX.
   7577       case $host_cpu in
   7578       hppa*64*|ia64*)
   7579 	# +Z the default
   7580 	;;
   7581       *)
   7582 	lt_prog_compiler_pic='+Z'
   7583 	;;
   7584       esac
   7585       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7586       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7587       ;;
   7588 
   7589     irix5* | irix6* | nonstopux*)
   7590       lt_prog_compiler_wl='-Wl,'
   7591       # PIC (with -KPIC) is the default.
   7592       lt_prog_compiler_static='-non_shared'
   7593       ;;
   7594 
   7595     newsos6)
   7596       lt_prog_compiler_pic='-KPIC'
   7597       lt_prog_compiler_static='-Bstatic'
   7598       ;;
   7599 
   7600     linux* | k*bsd*-gnu)
   7601       case $cc_basename in
   7602       icc* | ecc*)
   7603 	lt_prog_compiler_wl='-Wl,'
   7604 	lt_prog_compiler_pic='-KPIC'
   7605 	lt_prog_compiler_static='-static'
   7606         ;;
   7607       pgcc* | pgf77* | pgf90* | pgf95*)
   7608         # Portland Group compilers (*not* the Pentium gcc compiler,
   7609 	# which looks to be a dead project)
   7610 	lt_prog_compiler_wl='-Wl,'
   7611 	lt_prog_compiler_pic='-fpic'
   7612 	lt_prog_compiler_static='-Bstatic'
   7613         ;;
   7614       ccc*)
   7615         lt_prog_compiler_wl='-Wl,'
   7616         # All Alpha code is PIC.
   7617         lt_prog_compiler_static='-non_shared'
   7618         ;;
   7619       *)
   7620         case `$CC -V 2>&1 | sed 5q` in
   7621 	*Sun\ C*)
   7622 	  # Sun C 5.9
   7623 	  lt_prog_compiler_pic='-KPIC'
   7624 	  lt_prog_compiler_static='-Bstatic'
   7625 	  lt_prog_compiler_wl='-Wl,'
   7626 	  ;;
   7627 	*Sun\ F*)
   7628 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7629 	  lt_prog_compiler_pic='-KPIC'
   7630 	  lt_prog_compiler_static='-Bstatic'
   7631 	  lt_prog_compiler_wl=''
   7632 	  ;;
   7633 	esac
   7634 	;;
   7635       esac
   7636       ;;
   7637 
   7638     osf3* | osf4* | osf5*)
   7639       lt_prog_compiler_wl='-Wl,'
   7640       # All OSF/1 code is PIC.
   7641       lt_prog_compiler_static='-non_shared'
   7642       ;;
   7643 
   7644     rdos*)
   7645       lt_prog_compiler_static='-non_shared'
   7646       ;;
   7647 
   7648     solaris*)
   7649       lt_prog_compiler_pic='-KPIC'
   7650       lt_prog_compiler_static='-Bstatic'
   7651       case $cc_basename in
   7652       f77* | f90* | f95*)
   7653 	lt_prog_compiler_wl='-Qoption ld ';;
   7654       *)
   7655 	lt_prog_compiler_wl='-Wl,';;
   7656       esac
   7657       ;;
   7658 
   7659     sunos4*)
   7660       lt_prog_compiler_wl='-Qoption ld '
   7661       lt_prog_compiler_pic='-PIC'
   7662       lt_prog_compiler_static='-Bstatic'
   7663       ;;
   7664 
   7665     sysv4 | sysv4.2uw2* | sysv4.3*)
   7666       lt_prog_compiler_wl='-Wl,'
   7667       lt_prog_compiler_pic='-KPIC'
   7668       lt_prog_compiler_static='-Bstatic'
   7669       ;;
   7670 
   7671     sysv4*MP*)
   7672       if test -d /usr/nec ;then
   7673 	lt_prog_compiler_pic='-Kconform_pic'
   7674 	lt_prog_compiler_static='-Bstatic'
   7675       fi
   7676       ;;
   7677 
   7678     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7679       lt_prog_compiler_wl='-Wl,'
   7680       lt_prog_compiler_pic='-KPIC'
   7681       lt_prog_compiler_static='-Bstatic'
   7682       ;;
   7683 
   7684     unicos*)
   7685       lt_prog_compiler_wl='-Wl,'
   7686       lt_prog_compiler_can_build_shared=no
   7687       ;;
   7688 
   7689     uts4*)
   7690       lt_prog_compiler_pic='-pic'
   7691       lt_prog_compiler_static='-Bstatic'
   7692       ;;
   7693 
   7694     *)
   7695       lt_prog_compiler_can_build_shared=no
   7696       ;;
   7697     esac
   7698   fi
   7699 
   7700 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7701 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
   7702 
   7703 #
   7704 # Check to make sure the PIC flag actually works.
   7705 #
   7706 if test -n "$lt_prog_compiler_pic"; then
   7707 
   7708 { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7709 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
   7710 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7711   echo $ECHO_N "(cached) $ECHO_C" >&6
   7712 else
   7713   lt_prog_compiler_pic_works=no
   7714   ac_outfile=conftest.$ac_objext
   7715    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7716    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7717    # Insert the option either (1) after the last *FLAGS variable, or
   7718    # (2) before a word containing "conftest.", or (3) at the end.
   7719    # Note that $ac_compile itself does not contain backslashes and begins
   7720    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7721    # The option is referenced via a variable to avoid confusing sed.
   7722    lt_compile=`echo "$ac_compile" | $SED \
   7723    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7724    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7725    -e 's:$: $lt_compiler_flag:'`
   7726    (eval echo "\"\$as_me:7726: $lt_compile\"" >&5)
   7727    (eval "$lt_compile" 2>conftest.err)
   7728    ac_status=$?
   7729    cat conftest.err >&5
   7730    echo "$as_me:7730: \$? = $ac_status" >&5
   7731    if (exit $ac_status) && test -s "$ac_outfile"; then
   7732      # The compiler can only warn and ignore the option if not recognized
   7733      # So say no if there are warnings other than the usual output.
   7734      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7735      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7736      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7737        lt_prog_compiler_pic_works=yes
   7738      fi
   7739    fi
   7740    $rm conftest*
   7741 
   7742 fi
   7743 { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7744 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
   7745 
   7746 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7747     case $lt_prog_compiler_pic in
   7748      "" | " "*) ;;
   7749      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7750      esac
   7751 else
   7752     lt_prog_compiler_pic=
   7753      lt_prog_compiler_can_build_shared=no
   7754 fi
   7755 
   7756 fi
   7757 case $host_os in
   7758   # For platforms which do not support PIC, -DPIC is meaningless:
   7759   *djgpp*)
   7760     lt_prog_compiler_pic=
   7761     ;;
   7762   *)
   7763     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7764     ;;
   7765 esac
   7766 
   7767 #
   7768 # Check to make sure the static flag actually works.
   7769 #
   7770 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7771 { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7772 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
   7773 if test "${lt_prog_compiler_static_works+set}" = set; then
   7774   echo $ECHO_N "(cached) $ECHO_C" >&6
   7775 else
   7776   lt_prog_compiler_static_works=no
   7777    save_LDFLAGS="$LDFLAGS"
   7778    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7779    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7780    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7781      # The linker can only warn and ignore the option if not recognized
   7782      # So say no if there are warnings
   7783      if test -s conftest.err; then
   7784        # Append any errors to the config.log.
   7785        cat conftest.err 1>&5
   7786        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7787        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7788        if diff conftest.exp conftest.er2 >/dev/null; then
   7789          lt_prog_compiler_static_works=yes
   7790        fi
   7791      else
   7792        lt_prog_compiler_static_works=yes
   7793      fi
   7794    fi
   7795    $rm conftest*
   7796    LDFLAGS="$save_LDFLAGS"
   7797 
   7798 fi
   7799 { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7800 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
   7801 
   7802 if test x"$lt_prog_compiler_static_works" = xyes; then
   7803     :
   7804 else
   7805     lt_prog_compiler_static=
   7806 fi
   7807 
   7808 
   7809 { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7810 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
   7811 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7812   echo $ECHO_N "(cached) $ECHO_C" >&6
   7813 else
   7814   lt_cv_prog_compiler_c_o=no
   7815    $rm -r conftest 2>/dev/null
   7816    mkdir conftest
   7817    cd conftest
   7818    mkdir out
   7819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7820 
   7821    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7822    # Insert the option either (1) after the last *FLAGS variable, or
   7823    # (2) before a word containing "conftest.", or (3) at the end.
   7824    # Note that $ac_compile itself does not contain backslashes and begins
   7825    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7826    lt_compile=`echo "$ac_compile" | $SED \
   7827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7829    -e 's:$: $lt_compiler_flag:'`
   7830    (eval echo "\"\$as_me:7830: $lt_compile\"" >&5)
   7831    (eval "$lt_compile" 2>out/conftest.err)
   7832    ac_status=$?
   7833    cat out/conftest.err >&5
   7834    echo "$as_me:7834: \$? = $ac_status" >&5
   7835    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7836    then
   7837      # The compiler can only warn and ignore the option if not recognized
   7838      # So say no if there are warnings
   7839      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7840      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7841      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7842        lt_cv_prog_compiler_c_o=yes
   7843      fi
   7844    fi
   7845    chmod u+w . 2>&5
   7846    $rm conftest*
   7847    # SGI C++ compiler will create directory out/ii_files/ for
   7848    # template instantiation
   7849    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7850    $rm out/* && rmdir out
   7851    cd ..
   7852    rmdir conftest
   7853    $rm conftest*
   7854 
   7855 fi
   7856 { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7857 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
   7858 
   7859 
   7860 hard_links="nottested"
   7861 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7862   # do not overwrite the value of need_locks provided by the user
   7863   { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7864 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
   7865   hard_links=yes
   7866   $rm conftest*
   7867   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7868   touch conftest.a
   7869   ln conftest.a conftest.b 2>&5 || hard_links=no
   7870   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7871   { echo "$as_me:$LINENO: result: $hard_links" >&5
   7872 echo "${ECHO_T}$hard_links" >&6; }
   7873   if test "$hard_links" = no; then
   7874     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7875 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7876     need_locks=warn
   7877   fi
   7878 else
   7879   need_locks=no
   7880 fi
   7881 
   7882 { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
   7884 
   7885   runpath_var=
   7886   allow_undefined_flag=
   7887   enable_shared_with_static_runtimes=no
   7888   archive_cmds=
   7889   archive_expsym_cmds=
   7890   old_archive_From_new_cmds=
   7891   old_archive_from_expsyms_cmds=
   7892   export_dynamic_flag_spec=
   7893   whole_archive_flag_spec=
   7894   thread_safe_flag_spec=
   7895   hardcode_libdir_flag_spec=
   7896   hardcode_libdir_flag_spec_ld=
   7897   hardcode_libdir_separator=
   7898   hardcode_direct=no
   7899   hardcode_minus_L=no
   7900   hardcode_shlibpath_var=unsupported
   7901   link_all_deplibs=unknown
   7902   hardcode_automatic=no
   7903   module_cmds=
   7904   module_expsym_cmds=
   7905   always_export_symbols=no
   7906   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7907   # include_expsyms should be a list of space-separated symbols to be *always*
   7908   # included in the symbol list
   7909   include_expsyms=
   7910   # exclude_expsyms can be an extended regexp of symbols to exclude
   7911   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7912   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7913   # as well as any symbol that contains `d'.
   7914   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7915   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7916   # platforms (ab)use it in PIC code, but their linkers get confused if
   7917   # the symbol is explicitly referenced.  Since portable code cannot
   7918   # rely on this symbol name, it's probably fine to never include it in
   7919   # preloaded symbol tables.
   7920   extract_expsyms_cmds=
   7921   # Just being paranoid about ensuring that cc_basename is set.
   7922   for cc_temp in $compiler""; do
   7923   case $cc_temp in
   7924     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7925     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7926     \-*) ;;
   7927     *) break;;
   7928   esac
   7929 done
   7930 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7931 
   7932   case $host_os in
   7933   cygwin* | mingw* | pw32*)
   7934     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7935     # When not using gcc, we currently assume that we are using
   7936     # Microsoft Visual C++.
   7937     if test "$GCC" != yes; then
   7938       with_gnu_ld=no
   7939     fi
   7940     ;;
   7941   interix*)
   7942     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7943     with_gnu_ld=yes
   7944     ;;
   7945   openbsd*)
   7946     with_gnu_ld=no
   7947     ;;
   7948   esac
   7949 
   7950   ld_shlibs=yes
   7951   if test "$with_gnu_ld" = yes; then
   7952     # If archive_cmds runs LD, not CC, wlarc should be empty
   7953     wlarc='${wl}'
   7954 
   7955     # Set some defaults for GNU ld with shared library support. These
   7956     # are reset later if shared libraries are not supported. Putting them
   7957     # here allows them to be overridden if necessary.
   7958     runpath_var=LD_RUN_PATH
   7959     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   7960     export_dynamic_flag_spec='${wl}--export-dynamic'
   7961     # ancient GNU ld didn't support --whole-archive et. al.
   7962     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   7963 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7964       else
   7965   	whole_archive_flag_spec=
   7966     fi
   7967     supports_anon_versioning=no
   7968     case `$LD -v 2>/dev/null` in
   7969       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7970       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7971       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7972       *\ 2.11.*) ;; # other 2.11 versions
   7973       *) supports_anon_versioning=yes ;;
   7974     esac
   7975 
   7976     # See if GNU ld supports shared libraries.
   7977     case $host_os in
   7978     aix3* | aix4* | aix5*)
   7979       # On AIX/PPC, the GNU linker is very broken
   7980       if test "$host_cpu" != ia64; then
   7981 	ld_shlibs=no
   7982 	cat <<EOF 1>&2
   7983 
   7984 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7985 *** to be unable to reliably create shared libraries on AIX.
   7986 *** Therefore, libtool is disabling shared libraries support.  If you
   7987 *** really care for shared libraries, you may want to modify your PATH
   7988 *** so that a non-GNU linker is found, and then restart.
   7989 
   7990 EOF
   7991       fi
   7992       ;;
   7993 
   7994     amigaos*)
   7995       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)'
   7996       hardcode_libdir_flag_spec='-L$libdir'
   7997       hardcode_minus_L=yes
   7998 
   7999       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8000       # that the semantics of dynamic libraries on AmigaOS, at least up
   8001       # to version 4, is to share data among multiple programs linked
   8002       # with the same dynamic library.  Since this doesn't match the
   8003       # behavior of shared libraries on other platforms, we can't use
   8004       # them.
   8005       ld_shlibs=no
   8006       ;;
   8007 
   8008     beos*)
   8009       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8010 	allow_undefined_flag=unsupported
   8011 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8012 	# support --undefined.  This deserves some investigation.  FIXME
   8013 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8014       else
   8015 	ld_shlibs=no
   8016       fi
   8017       ;;
   8018 
   8019     cygwin* | mingw* | pw32*)
   8020       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8021       # as there is no search path for DLLs.
   8022       hardcode_libdir_flag_spec='-L$libdir'
   8023       allow_undefined_flag=unsupported
   8024       always_export_symbols=no
   8025       enable_shared_with_static_runtimes=yes
   8026       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8027 
   8028       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8029         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8030 	# If the export-symbols file already is a .def file (1st line
   8031 	# is EXPORTS), use it as is; otherwise, prepend...
   8032 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8033 	  cp $export_symbols $output_objdir/$soname.def;
   8034 	else
   8035 	  echo EXPORTS > $output_objdir/$soname.def;
   8036 	  cat $export_symbols >> $output_objdir/$soname.def;
   8037 	fi~
   8038 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8039       else
   8040 	ld_shlibs=no
   8041       fi
   8042       ;;
   8043 
   8044     interix[3-9]*)
   8045       hardcode_direct=no
   8046       hardcode_shlibpath_var=no
   8047       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8048       export_dynamic_flag_spec='${wl}-E'
   8049       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8050       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8051       # default) and relocated if they conflict, which is a slow very memory
   8052       # consuming and fragmenting process.  To avoid this, we pick a random,
   8053       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8054       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8055       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8056       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'
   8057       ;;
   8058 
   8059     gnu* | linux* | k*bsd*-gnu)
   8060       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8061 	tmp_addflag=
   8062 	case $cc_basename,$host_cpu in
   8063 	pgcc*)				# Portland Group C compiler
   8064 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8065 	  tmp_addflag=' $pic_flag'
   8066 	  ;;
   8067 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8068 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8069 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8070 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8071 	  tmp_addflag=' -i_dynamic' ;;
   8072 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8073 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8074 	ifc* | ifort*)			# Intel Fortran compiler
   8075 	  tmp_addflag=' -nofor_main' ;;
   8076 	esac
   8077 	case `$CC -V 2>&1 | sed 5q` in
   8078 	*Sun\ C*)			# Sun C 5.9
   8079 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8080 	  tmp_sharedflag='-G' ;;
   8081 	*Sun\ F*)			# Sun Fortran 8.3
   8082 	  tmp_sharedflag='-G' ;;
   8083 	*)
   8084 	  tmp_sharedflag='-shared' ;;
   8085 	esac
   8086 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8087 
   8088 	if test $supports_anon_versioning = yes; then
   8089 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8090   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8091   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8092 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8093 	fi
   8094       else
   8095 	ld_shlibs=no
   8096       fi
   8097       ;;
   8098 
   8099     netbsd*)
   8100       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8101 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8102 	wlarc=
   8103       else
   8104 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8105 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8106       fi
   8107       ;;
   8108 
   8109     solaris*)
   8110       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8111 	ld_shlibs=no
   8112 	cat <<EOF 1>&2
   8113 
   8114 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8115 *** create shared libraries on Solaris systems.  Therefore, libtool
   8116 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8117 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8118 *** your PATH or compiler configuration so that the native linker is
   8119 *** used, and then restart.
   8120 
   8121 EOF
   8122       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8123 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8124 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8125       else
   8126 	ld_shlibs=no
   8127       fi
   8128       ;;
   8129 
   8130     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8131       case `$LD -v 2>&1` in
   8132         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8133 	ld_shlibs=no
   8134 	cat <<_LT_EOF 1>&2
   8135 
   8136 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8137 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8138 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8139 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8140 *** your PATH or compiler configuration so that the native linker is
   8141 *** used, and then restart.
   8142 
   8143 _LT_EOF
   8144 	;;
   8145 	*)
   8146 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8147 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8148 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8149 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8150 	  else
   8151 	    ld_shlibs=no
   8152 	  fi
   8153 	;;
   8154       esac
   8155       ;;
   8156 
   8157     sunos4*)
   8158       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8159       wlarc=
   8160       hardcode_direct=yes
   8161       hardcode_shlibpath_var=no
   8162       ;;
   8163 
   8164     *)
   8165       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8166 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8167 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8168       else
   8169 	ld_shlibs=no
   8170       fi
   8171       ;;
   8172     esac
   8173 
   8174     if test "$ld_shlibs" = no; then
   8175       runpath_var=
   8176       hardcode_libdir_flag_spec=
   8177       export_dynamic_flag_spec=
   8178       whole_archive_flag_spec=
   8179     fi
   8180   else
   8181     # PORTME fill in a description of your system's linker (not GNU ld)
   8182     case $host_os in
   8183     aix3*)
   8184       allow_undefined_flag=unsupported
   8185       always_export_symbols=yes
   8186       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'
   8187       # Note: this linker hardcodes the directories in LIBPATH if there
   8188       # are no directories specified by -L.
   8189       hardcode_minus_L=yes
   8190       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8191 	# Neither direct hardcoding nor static linking is supported with a
   8192 	# broken collect2.
   8193 	hardcode_direct=unsupported
   8194       fi
   8195       ;;
   8196 
   8197     aix4* | aix5*)
   8198       if test "$host_cpu" = ia64; then
   8199 	# On IA64, the linker does run time linking by default, so we don't
   8200 	# have to do anything special.
   8201 	aix_use_runtimelinking=no
   8202 	exp_sym_flag='-Bexport'
   8203 	no_entry_flag=""
   8204       else
   8205 	# If we're using GNU nm, then we don't want the "-C" option.
   8206 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8207 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8208 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
   8209 	else
   8210 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (