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: