Home | History | Annotate | Download | only in bochs
      1 #! /bin/sh
      2 # From configure.in Id: configure.in,v 1.388 2009/02/02 13:02:47 vruppert Exp .
      3 # Guess values for system-dependent variables and create Makefiles.
      4 # Generated by GNU Autoconf 2.61.
      5 #
      6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
      8 # This configure script is free software; the Free Software Foundation
      9 # gives unlimited permission to copy, distribute and modify it.
     10 ## --------------------- ##
     11 ## M4sh Initialization.  ##
     12 ## --------------------- ##
     13 
     14 # Be more Bourne compatible
     15 DUALCASE=1; export DUALCASE # for MKS sh
     16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     17   emulate sh
     18   NULLCMD=:
     19   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     20   # is contrary to our usage.  Disable this feature.
     21   alias -g '${1+"$@"}'='"$@"'
     22   setopt NO_GLOB_SUBST
     23 else
     24   case `(set -o) 2>/dev/null` in
     25   *posix*) set -o posix ;;
     26 esac
     27 
     28 fi
     29 
     30 
     31 
     32 
     33 # PATH needs CR
     34 # Avoid depending upon Character Ranges.
     35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     38 as_cr_digits='0123456789'
     39 as_cr_alnum=$as_cr_Letters$as_cr_digits
     40 
     41 # The user is always right.
     42 if test "${PATH_SEPARATOR+set}" != set; then
     43   echo "#! /bin/sh" >conf$$.sh
     44   echo  "exit 0"   >>conf$$.sh
     45   chmod +x conf$$.sh
     46   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     47     PATH_SEPARATOR=';'
     48   else
     49     PATH_SEPARATOR=:
     50   fi
     51   rm -f conf$$.sh
     52 fi
     53 
     54 # Support unset when possible.
     55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     56   as_unset=unset
     57 else
     58   as_unset=false
     59 fi
     60 
     61 
     62 # IFS
     63 # We need space, tab and new line, in precisely that order.  Quoting is
     64 # there to prevent editors from complaining about space-tab.
     65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     66 # splitting by setting IFS to empty value.)
     67 as_nl='
     68 '
     69 IFS=" ""	$as_nl"
     70 
     71 # Find who we are.  Look in the path if we contain no directory separator.
     72 case $0 in
     73   *[\\/]* ) as_myself=$0 ;;
     74   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     75 for as_dir in $PATH
     76 do
     77   IFS=$as_save_IFS
     78   test -z "$as_dir" && as_dir=.
     79   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     80 done
     81 IFS=$as_save_IFS
     82 
     83      ;;
     84 esac
     85 # We did not find ourselves, most probably we were run as `sh COMMAND'
     86 # in which case we are not to be found in the path.
     87 if test "x$as_myself" = x; then
     88   as_myself=$0
     89 fi
     90 if test ! -f "$as_myself"; then
     91   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     92   { (exit 1); exit 1; }
     93 fi
     94 
     95 # Work around bugs in pre-3.0 UWIN ksh.
     96 for as_var in ENV MAIL MAILPATH
     97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     98 done
     99 PS1='$ '
    100 PS2='> '
    101 PS4='+ '
    102 
    103 # NLS nuisances.
    104 for as_var in \
    105   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    106   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    107   LC_TELEPHONE LC_TIME
    108 do
    109   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    110     eval $as_var=C; export $as_var
    111   else
    112     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    113   fi
    114 done
    115 
    116 # Required to use basename.
    117 if expr a : '\(a\)' >/dev/null 2>&1 &&
    118    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    119   as_expr=expr
    120 else
    121   as_expr=false
    122 fi
    123 
    124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    125   as_basename=basename
    126 else
    127   as_basename=false
    128 fi
    129 
    130 
    131 # Name of the executable.
    132 as_me=`$as_basename -- "$0" ||
    133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    134 	 X"$0" : 'X\(//\)$' \| \
    135 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    136 echo X/"$0" |
    137     sed '/^.*\/\([^/][^/]*\)\/*$/{
    138 	    s//\1/
    139 	    q
    140 	  }
    141 	  /^X\/\(\/\/\)$/{
    142 	    s//\1/
    143 	    q
    144 	  }
    145 	  /^X\/\(\/\).*/{
    146 	    s//\1/
    147 	    q
    148 	  }
    149 	  s/.*/./; q'`
    150 
    151 # CDPATH.
    152 $as_unset CDPATH
    153 
    154 
    155 if test "x$CONFIG_SHELL" = x; then
    156   if (eval ":") 2>/dev/null; then
    157   as_have_required=yes
    158 else
    159   as_have_required=no
    160 fi
    161 
    162   if test $as_have_required = yes && 	 (eval ":
    163 (as_func_return () {
    164   (exit \$1)
    165 }
    166 as_func_success () {
    167   as_func_return 0
    168 }
    169 as_func_failure () {
    170   as_func_return 1
    171 }
    172 as_func_ret_success () {
    173   return 0
    174 }
    175 as_func_ret_failure () {
    176   return 1
    177 }
    178 
    179 exitcode=0
    180 if as_func_success; then
    181   :
    182 else
    183   exitcode=1
    184   echo as_func_success failed.
    185 fi
    186 
    187 if as_func_failure; then
    188   exitcode=1
    189   echo as_func_failure succeeded.
    190 fi
    191 
    192 if as_func_ret_success; then
    193   :
    194 else
    195   exitcode=1
    196   echo as_func_ret_success failed.
    197 fi
    198 
    199 if as_func_ret_failure; then
    200   exitcode=1
    201   echo as_func_ret_failure succeeded.
    202 fi
    203 
    204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    205   :
    206 else
    207   exitcode=1
    208   echo positional parameters were not saved.
    209 fi
    210 
    211 test \$exitcode = 0) || { (exit 1); exit 1; }
    212 
    213 (
    214   as_lineno_1=\$LINENO
    215   as_lineno_2=\$LINENO
    216   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    217   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    218 ") 2> /dev/null; then
    219   :
    220 else
    221   as_candidate_shells=
    222     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    224 do
    225   IFS=$as_save_IFS
    226   test -z "$as_dir" && as_dir=.
    227   case $as_dir in
    228 	 /*)
    229 	   for as_base in sh bash ksh sh5; do
    230 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    231 	   done;;
    232        esac
    233 done
    234 IFS=$as_save_IFS
    235 
    236 
    237       for as_shell in $as_candidate_shells $SHELL; do
    238 	 # Try only shells that exist, to save several forks.
    239 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    240 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    242   emulate sh
    243   NULLCMD=:
    244   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    245   # is contrary to our usage.  Disable this feature.
    246   alias -g '${1+"$@"}'='"$@"'
    247   setopt NO_GLOB_SUBST
    248 else
    249   case `(set -o) 2>/dev/null` in
    250   *posix*) set -o posix ;;
    251 esac
    252 
    253 fi
    254 
    255 
    256 :
    257 _ASEOF
    258 }; then
    259   CONFIG_SHELL=$as_shell
    260 	       as_have_required=yes
    261 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    263   emulate sh
    264   NULLCMD=:
    265   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    266   # is contrary to our usage.  Disable this feature.
    267   alias -g '${1+"$@"}'='"$@"'
    268   setopt NO_GLOB_SUBST
    269 else
    270   case `(set -o) 2>/dev/null` in
    271   *posix*) set -o posix ;;
    272 esac
    273 
    274 fi
    275 
    276 
    277 :
    278 (as_func_return () {
    279   (exit $1)
    280 }
    281 as_func_success () {
    282   as_func_return 0
    283 }
    284 as_func_failure () {
    285   as_func_return 1
    286 }
    287 as_func_ret_success () {
    288   return 0
    289 }
    290 as_func_ret_failure () {
    291   return 1
    292 }
    293 
    294 exitcode=0
    295 if as_func_success; then
    296   :
    297 else
    298   exitcode=1
    299   echo as_func_success failed.
    300 fi
    301 
    302 if as_func_failure; then
    303   exitcode=1
    304   echo as_func_failure succeeded.
    305 fi
    306 
    307 if as_func_ret_success; then
    308   :
    309 else
    310   exitcode=1
    311   echo as_func_ret_success failed.
    312 fi
    313 
    314 if as_func_ret_failure; then
    315   exitcode=1
    316   echo as_func_ret_failure succeeded.
    317 fi
    318 
    319 if ( set x; as_func_ret_success y && test x = "$1" ); then
    320   :
    321 else
    322   exitcode=1
    323   echo positional parameters were not saved.
    324 fi
    325 
    326 test $exitcode = 0) || { (exit 1); exit 1; }
    327 
    328 (
    329   as_lineno_1=$LINENO
    330   as_lineno_2=$LINENO
    331   test "x$as_lineno_1" != "x$as_lineno_2" &&
    332   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    333 
    334 _ASEOF
    335 }; then
    336   break
    337 fi
    338 
    339 fi
    340 
    341       done
    342 
    343       if test "x$CONFIG_SHELL" != x; then
    344   for as_var in BASH_ENV ENV
    345         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    346         done
    347         export CONFIG_SHELL
    348         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    349 fi
    350 
    351 
    352     if test $as_have_required = no; then
    353   echo This script requires a shell more modern than all the
    354       echo shells that I found on your system.  Please install a
    355       echo modern shell, or manually run the script under such a
    356       echo shell if you do have one.
    357       { (exit 1); exit 1; }
    358 fi
    359 
    360 
    361 fi
    362 
    363 fi
    364 
    365 
    366 
    367 (eval "as_func_return () {
    368   (exit \$1)
    369 }
    370 as_func_success () {
    371   as_func_return 0
    372 }
    373 as_func_failure () {
    374   as_func_return 1
    375 }
    376 as_func_ret_success () {
    377   return 0
    378 }
    379 as_func_ret_failure () {
    380   return 1
    381 }
    382 
    383 exitcode=0
    384 if as_func_success; then
    385   :
    386 else
    387   exitcode=1
    388   echo as_func_success failed.
    389 fi
    390 
    391 if as_func_failure; then
    392   exitcode=1
    393   echo as_func_failure succeeded.
    394 fi
    395 
    396 if as_func_ret_success; then
    397   :
    398 else
    399   exitcode=1
    400   echo as_func_ret_success failed.
    401 fi
    402 
    403 if as_func_ret_failure; then
    404   exitcode=1
    405   echo as_func_ret_failure succeeded.
    406 fi
    407 
    408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    409   :
    410 else
    411   exitcode=1
    412   echo positional parameters were not saved.
    413 fi
    414 
    415 test \$exitcode = 0") || {
    416   echo No shell found that supports shell functions.
    417   echo Please tell autoconf@gnu.org about your system,
    418   echo including any error possibly output before this
    419   echo message
    420 }
    421 
    422 
    423 
    424   as_lineno_1=$LINENO
    425   as_lineno_2=$LINENO
    426   test "x$as_lineno_1" != "x$as_lineno_2" &&
    427   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    428 
    429   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    430   # uniformly replaced by the line number.  The first 'sed' inserts a
    431   # line-number line after each line using $LINENO; the second 'sed'
    432   # does the real work.  The second script uses 'N' to pair each
    433   # line-number line with the line containing $LINENO, and appends
    434   # trailing '-' during substitution so that $LINENO is not a special
    435   # case at line end.
    436   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    437   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    438   # E. McMahon (1931-1989) for sed's syntax.  :-)
    439   sed -n '
    440     p
    441     /[$]LINENO/=
    442   ' <$as_myself |
    443     sed '
    444       s/[$]LINENO.*/&-/
    445       t lineno
    446       b
    447       :lineno
    448       N
    449       :loop
    450       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    451       t loop
    452       s/-\n.*//
    453     ' >$as_me.lineno &&
    454   chmod +x "$as_me.lineno" ||
    455     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    456    { (exit 1); exit 1; }; }
    457 
    458   # Don't try to exec as it changes $[0], causing all sort of problems
    459   # (the dirname of $[0] is not the place where we might find the
    460   # original and so on.  Autoconf is especially sensitive to this).
    461   . "./$as_me.lineno"
    462   # Exit status is that of the last command.
    463   exit
    464 }
    465 
    466 
    467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    468   as_dirname=dirname
    469 else
    470   as_dirname=false
    471 fi
    472 
    473 ECHO_C= ECHO_N= ECHO_T=
    474 case `echo -n x` in
    475 -n*)
    476   case `echo 'x\c'` in
    477   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    478   *)   ECHO_C='\c';;
    479   esac;;
    480 *)
    481   ECHO_N='-n';;
    482 esac
    483 
    484 if expr a : '\(a\)' >/dev/null 2>&1 &&
    485    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    486   as_expr=expr
    487 else
    488   as_expr=false
    489 fi
    490 
    491 rm -f conf$$ conf$$.exe conf$$.file
    492 if test -d conf$$.dir; then
    493   rm -f conf$$.dir/conf$$.file
    494 else
    495   rm -f conf$$.dir
    496   mkdir conf$$.dir
    497 fi
    498 echo >conf$$.file
    499 if ln -s conf$$.file conf$$ 2>/dev/null; then
    500   as_ln_s='ln -s'
    501   # ... but there are two gotchas:
    502   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    503   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    504   # In both cases, we have to default to `cp -p'.
    505   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    506     as_ln_s='cp -p'
    507 elif ln conf$$.file conf$$ 2>/dev/null; then
    508   as_ln_s=ln
    509 else
    510   as_ln_s='cp -p'
    511 fi
    512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    513 rmdir conf$$.dir 2>/dev/null
    514 
    515 if mkdir -p . 2>/dev/null; then
    516   as_mkdir_p=:
    517 else
    518   test -d ./-p && rmdir ./-p
    519   as_mkdir_p=false
    520 fi
    521 
    522 if test -x / >/dev/null 2>&1; then
    523   as_test_x='test -x'
    524 else
    525   if ls -dL / >/dev/null 2>&1; then
    526     as_ls_L_option=L
    527   else
    528     as_ls_L_option=
    529   fi
    530   as_test_x='
    531     eval sh -c '\''
    532       if test -d "$1"; then
    533         test -d "$1/.";
    534       else
    535 	case $1 in
    536         -*)set "./$1";;
    537 	esac;
    538 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    539 	???[sx]*):;;*)false;;esac;fi
    540     '\'' sh
    541   '
    542 fi
    543 as_executable_p=$as_test_x
    544 
    545 # Sed expression to map a string onto a valid CPP name.
    546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 # Sed expression to map a string onto a valid variable name.
    549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    550 
    551 
    552 
    553 
    554 # Check that we are running under the correct shell.
    555 SHELL=${CONFIG_SHELL-/bin/sh}
    556 
    557 case X$ECHO in
    558 X*--fallback-echo)
    559   # Remove one level of quotation (which was required for Make).
    560   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    561   ;;
    562 esac
    563 
    564 echo=${ECHO-echo}
    565 if test "X$1" = X--no-reexec; then
    566   # Discard the --no-reexec flag, and continue.
    567   shift
    568 elif test "X$1" = X--fallback-echo; then
    569   # Avoid inline document here, it may be left over
    570   :
    571 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    572   # Yippee, $echo works!
    573   :
    574 else
    575   # Restart under the correct shell.
    576   exec $SHELL "$0" --no-reexec ${1+"$@"}
    577 fi
    578 
    579 if test "X$1" = X--fallback-echo; then
    580   # used as fallback echo
    581   shift
    582   cat <<EOF
    583 $*
    584 EOF
    585   exit 0
    586 fi
    587 
    588 # The HP-UX ksh and POSIX shell print the target directory to stdout
    589 # if CDPATH is set.
    590 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
    591 
    592 if test -z "$ECHO"; then
    593 if test "X${echo_test_string+set}" != Xset; then
    594 # find a string as large as possible, as long as the shell can cope with it
    595   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    596     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    597     if (echo_test_string="`eval $cmd`") 2>/dev/null &&
    598        echo_test_string="`eval $cmd`" &&
    599        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    600     then
    601       break
    602     fi
    603   done
    604 fi
    605 
    606 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    607    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    608    test "X$echo_testing_string" = "X$echo_test_string"; then
    609   :
    610 else
    611   # The Solaris, AIX, and Digital Unix default echo programs unquote
    612   # backslashes.  This makes it impossible to quote backslashes using
    613   #   echo "$something" | sed 's/\\/\\\\/g'
    614   #
    615   # So, first we look for a working echo in the user's PATH.
    616 
    617   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    618   for dir in $PATH /usr/ucb; do
    619     IFS="$lt_save_ifs"
    620     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    621        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    622        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    623        test "X$echo_testing_string" = "X$echo_test_string"; then
    624       echo="$dir/echo"
    625       break
    626     fi
    627   done
    628   IFS="$lt_save_ifs"
    629 
    630   if test "X$echo" = Xecho; then
    631     # We didn't find a better echo, so look for alternatives.
    632     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    633        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    634        test "X$echo_testing_string" = "X$echo_test_string"; then
    635       # This shell has a builtin print -r that does the trick.
    636       echo='print -r'
    637     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    638 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    639       # If we have ksh, try running configure again with it.
    640       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    641       export ORIGINAL_CONFIG_SHELL
    642       CONFIG_SHELL=/bin/ksh
    643       export CONFIG_SHELL
    644       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    645     else
    646       # Try using printf.
    647       echo='printf %s\n'
    648       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    649 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    650 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    651 	# Cool, printf works
    652 	:
    653       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    654 	   test "X$echo_testing_string" = 'X\t' &&
    655 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    656 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    657 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    658 	export CONFIG_SHELL
    659 	SHELL="$CONFIG_SHELL"
    660 	export SHELL
    661 	echo="$CONFIG_SHELL $0 --fallback-echo"
    662       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    663 	   test "X$echo_testing_string" = 'X\t' &&
    664 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    665 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    666 	echo="$CONFIG_SHELL $0 --fallback-echo"
    667       else
    668 	# maybe with a smaller string...
    669 	prev=:
    670 
    671 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    672 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    673 	  then
    674 	    break
    675 	  fi
    676 	  prev="$cmd"
    677 	done
    678 
    679 	if test "$prev" != 'sed 50q "$0"'; then
    680 	  echo_test_string=`eval $prev`
    681 	  export echo_test_string
    682 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    683 	else
    684 	  # Oops.  We lost completely, so just stick with echo.
    685 	  echo=echo
    686 	fi
    687       fi
    688     fi
    689   fi
    690 fi
    691 fi
    692 
    693 # Copy echo and quote the copy suitably for passing to libtool from
    694 # the Makefile, instead of quoting the original, which is used later.
    695 ECHO=$echo
    696 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    697    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    698 fi
    699 
    700 
    701 
    702 
    703 tagnames=${tagnames+${tagnames},}CXX
    704 
    705 tagnames=${tagnames+${tagnames},}F77
    706 
    707 exec 7<&0 </dev/null 6>&1
    708 
    709 # Name of the host.
    710 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    711 # so uname gets run too.
    712 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    713 
    714 #
    715 # Initializations.
    716 #
    717 ac_default_prefix=/usr/local
    718 ac_clean_files=
    719 ac_config_libobj_dir=.
    720 LIBOBJS=
    721 cross_compiling=no
    722 subdirs=
    723 MFLAGS=
    724 MAKEFLAGS=
    725 SHELL=${CONFIG_SHELL-/bin/sh}
    726 
    727 # Identity of this package.
    728 PACKAGE_NAME=
    729 PACKAGE_TARNAME=
    730 PACKAGE_VERSION=
    731 PACKAGE_STRING=
    732 PACKAGE_BUGREPORT=
    733 
    734 ac_unique_file="bochs.h"
    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 CC
    821 CFLAGS
    822 LDFLAGS
    823 CPPFLAGS
    824 ac_ct_CC
    825 EXEEXT
    826 OBJEXT
    827 CXX
    828 CXXFLAGS
    829 ac_ct_CXX
    830 SET_MAKE
    831 GREP
    832 EGREP
    833 LN_S
    834 ECHO
    835 AR
    836 RANLIB
    837 STRIP
    838 CPP
    839 CXXCPP
    840 F77
    841 FFLAGS
    842 ac_ct_F77
    843 LIBTOOL
    844 LIBADD_DL
    845 XMKMF
    846 X_CFLAGS
    847 X_PRE_LIBS
    848 X_LIBS
    849 X_EXTRA_LIBS
    850 BX_USE_IDLE_HACK
    851 DEFINE_PLUGIN_PATH
    852 NONPLUGIN_GUI_LINK_OPTS
    853 OBJS64
    854 IOAPIC_OBJS
    855 BX_COMPRESSED_HD_SUPPORT
    856 NE2K_OBJS
    857 BX_SUPPORT_ACPI
    858 PCI_OBJ
    859 KERNELDIR
    860 LSMOD
    861 INSMOD
    862 RMMOD
    863 DEPMOD
    864 PCIDEV_MODULE_MAKE_ALL
    865 KERNEL_MODULE_SUFFIX
    866 USBDEV_OBJS
    867 SCSI_OBJS
    868 NETLOW_OBJS
    869 SUFFIX_LINE
    870 CPP_SUFFIX
    871 DEBUGGER_VAR
    872 DISASM_VAR
    873 READLINE_LIB
    874 INSTRUMENT_DIR
    875 INSTRUMENT_VAR
    876 FPU_VAR
    877 CDROM_OBJS
    878 SB16_OBJS
    879 SOUNDLOW_OBJS
    880 SOUND_LINK_OPTS
    881 GAME_OBJS
    882 GDBSTUB_VAR
    883 IODEBUG_OBJS
    884 DOCBOOK2HTML
    885 BUILD_DOCBOOK_VAR
    886 INSTALL_DOCBOOK_VAR
    887 IODEV_LIB_VAR
    888 EXTRA_BX_OBJS
    889 NONINLINE_VAR
    890 INLINE_VAR
    891 EXTERNAL_DEPENDENCY
    892 RC_CMD
    893 WX_CONFIG
    894 XPM_LIB
    895 GUI_CFLAGS
    896 GUI_CXXFLAGS
    897 WX_CFLAGS
    898 WX_CXXFLAGS
    899 TOOLKIT_CXXFLAGS
    900 WGET
    901 ENH_DBG_OBJS
    902 DIALOG_OBJS
    903 EXPORT_DYNAMIC
    904 PTHREAD_CC
    905 PTHREAD_LIBS
    906 PTHREAD_CFLAGS
    907 INSTALL_TARGET
    908 INSTALL_LIST_FOR_PLATFORM
    909 RFB_LIBS
    910 GUI_OBJS
    911 DEVICE_LINK_OPTS
    912 GUI_LINK_OPTS
    913 GUI_LINK_OPTS_TERM
    914 GUI_LINK_OPTS_WX
    915 BXIMAGE_LINK_OPTS
    916 DASH
    917 SLASH
    918 CXXFP
    919 CFP
    920 OFP
    921 MAKELIB
    922 RMCOMMAND
    923 LINK
    924 LINK_CONSOLE
    925 EXE
    926 PRIMARY_TARGET
    927 PLUGIN_LIBNAME_TRANSFORMATION
    928 COMMAND_SEPARATOR
    929 CD_UP_ONE
    930 CD_UP_TWO
    931 CD_UP_THREE
    932 VERSION
    933 VER_STRING
    934 WIN_VER_STRING
    935 REL_STRING
    936 EXTRA_LINK_OPTS
    937 GUI_NON_PLUGIN_OBJS
    938 GUI_PLUGIN_OBJS
    939 IODEV_NON_PLUGIN_OBJS
    940 IODEV_PLUGIN_OBJS
    941 PLUGIN_VAR
    942 PLUGIN_TARGET
    943 INSTALL_PLUGINS_VAR
    944 GZIP
    945 TAR
    946 LIBOBJS
    947 LTLIBOBJS'
    948 ac_subst_files=''
    949       ac_precious_vars='build_alias
    950 host_alias
    951 target_alias
    952 CC
    953 CFLAGS
    954 LDFLAGS
    955 LIBS
    956 CPPFLAGS
    957 CXX
    958 CXXFLAGS
    959 CCC
    960 CPP
    961 CXXCPP
    962 F77
    963 FFLAGS
    964 XMKMF'
    965 
    966 
    967 # Initialize some variables set by options.
    968 ac_init_help=
    969 ac_init_version=false
    970 # The variables have the same names as the options, with
    971 # dashes changed to underlines.
    972 cache_file=/dev/null
    973 exec_prefix=NONE
    974 no_create=
    975 no_recursion=
    976 prefix=NONE
    977 program_prefix=NONE
    978 program_suffix=NONE
    979 program_transform_name=s,x,x,
    980 silent=
    981 site=
    982 srcdir=
    983 verbose=
    984 x_includes=NONE
    985 x_libraries=NONE
    986 
    987 # Installation directory options.
    988 # These are left unexpanded so users can "make install exec_prefix=/foo"
    989 # and all the variables that are supposed to be based on exec_prefix
    990 # by default will actually change.
    991 # Use braces instead of parens because sh, perl, etc. also accept them.
    992 # (The list follows the same order as the GNU Coding Standards.)
    993 bindir='${exec_prefix}/bin'
    994 sbindir='${exec_prefix}/sbin'
    995 libexecdir='${exec_prefix}/libexec'
    996 datarootdir='${prefix}/share'
    997 datadir='${datarootdir}'
    998 sysconfdir='${prefix}/etc'
    999 sharedstatedir='${prefix}/com'
   1000 localstatedir='${prefix}/var'
   1001 includedir='${prefix}/include'
   1002 oldincludedir='/usr/include'
   1003 docdir='${datarootdir}/doc/${PACKAGE}'
   1004 infodir='${datarootdir}/info'
   1005 htmldir='${docdir}'
   1006 dvidir='${docdir}'
   1007 pdfdir='${docdir}'
   1008 psdir='${docdir}'
   1009 libdir='${exec_prefix}/lib'
   1010 localedir='${datarootdir}/locale'
   1011 mandir='${datarootdir}/man'
   1012 
   1013 ac_prev=
   1014 ac_dashdash=
   1015 for ac_option
   1016 do
   1017   # If the previous option needs an argument, assign it.
   1018   if test -n "$ac_prev"; then
   1019     eval $ac_prev=\$ac_option
   1020     ac_prev=
   1021     continue
   1022   fi
   1023 
   1024   case $ac_option in
   1025   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1026   *)	ac_optarg=yes ;;
   1027   esac
   1028 
   1029   # Accept the important Cygnus configure options, so we can diagnose typos.
   1030 
   1031   case $ac_dashdash$ac_option in
   1032   --)
   1033     ac_dashdash=yes ;;
   1034 
   1035   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1036     ac_prev=bindir ;;
   1037   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1038     bindir=$ac_optarg ;;
   1039 
   1040   -build | --build | --buil | --bui | --bu)
   1041     ac_prev=build_alias ;;
   1042   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1043     build_alias=$ac_optarg ;;
   1044 
   1045   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1046   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1047     ac_prev=cache_file ;;
   1048   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1049   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1050     cache_file=$ac_optarg ;;
   1051 
   1052   --config-cache | -C)
   1053     cache_file=config.cache ;;
   1054 
   1055   -datadir | --datadir | --datadi | --datad)
   1056     ac_prev=datadir ;;
   1057   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1058     datadir=$ac_optarg ;;
   1059 
   1060   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1061   | --dataroo | --dataro | --datar)
   1062     ac_prev=datarootdir ;;
   1063   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1064   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1065     datarootdir=$ac_optarg ;;
   1066 
   1067   -disable-* | --disable-*)
   1068     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1069     # Reject names that are not valid shell variable names.
   1070     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1071       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1072    { (exit 1); exit 1; }; }
   1073     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1074     eval enable_$ac_feature=no ;;
   1075 
   1076   -docdir | --docdir | --docdi | --doc | --do)
   1077     ac_prev=docdir ;;
   1078   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1079     docdir=$ac_optarg ;;
   1080 
   1081   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1082     ac_prev=dvidir ;;
   1083   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1084     dvidir=$ac_optarg ;;
   1085 
   1086   -enable-* | --enable-*)
   1087     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1088     # Reject names that are not valid shell variable names.
   1089     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1090       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   1091    { (exit 1); exit 1; }; }
   1092     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   1093     eval enable_$ac_feature=\$ac_optarg ;;
   1094 
   1095   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1096   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1097   | --exec | --exe | --ex)
   1098     ac_prev=exec_prefix ;;
   1099   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1100   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1101   | --exec=* | --exe=* | --ex=*)
   1102     exec_prefix=$ac_optarg ;;
   1103 
   1104   -gas | --gas | --ga | --g)
   1105     # Obsolete; use --with-gas.
   1106     with_gas=yes ;;
   1107 
   1108   -help | --help | --hel | --he | -h)
   1109     ac_init_help=long ;;
   1110   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1111     ac_init_help=recursive ;;
   1112   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1113     ac_init_help=short ;;
   1114 
   1115   -host | --host | --hos | --ho)
   1116     ac_prev=host_alias ;;
   1117   -host=* | --host=* | --hos=* | --ho=*)
   1118     host_alias=$ac_optarg ;;
   1119 
   1120   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1121     ac_prev=htmldir ;;
   1122   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1123   | --ht=*)
   1124     htmldir=$ac_optarg ;;
   1125 
   1126   -includedir | --includedir | --includedi | --included | --include \
   1127   | --includ | --inclu | --incl | --inc)
   1128     ac_prev=includedir ;;
   1129   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1130   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1131     includedir=$ac_optarg ;;
   1132 
   1133   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1134     ac_prev=infodir ;;
   1135   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1136     infodir=$ac_optarg ;;
   1137 
   1138   -libdir | --libdir | --libdi | --libd)
   1139     ac_prev=libdir ;;
   1140   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1141     libdir=$ac_optarg ;;
   1142 
   1143   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1144   | --libexe | --libex | --libe)
   1145     ac_prev=libexecdir ;;
   1146   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1147   | --libexe=* | --libex=* | --libe=*)
   1148     libexecdir=$ac_optarg ;;
   1149 
   1150   -localedir | --localedir | --localedi | --localed | --locale)
   1151     ac_prev=localedir ;;
   1152   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1153     localedir=$ac_optarg ;;
   1154 
   1155   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1156   | --localstate | --localstat | --localsta | --localst | --locals)
   1157     ac_prev=localstatedir ;;
   1158   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1159   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1160     localstatedir=$ac_optarg ;;
   1161 
   1162   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1163     ac_prev=mandir ;;
   1164   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1165     mandir=$ac_optarg ;;
   1166 
   1167   -nfp | --nfp | --nf)
   1168     # Obsolete; use --without-fp.
   1169     with_fp=no ;;
   1170 
   1171   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1172   | --no-cr | --no-c | -n)
   1173     no_create=yes ;;
   1174 
   1175   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1176   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1177     no_recursion=yes ;;
   1178 
   1179   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1180   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1181   | --oldin | --oldi | --old | --ol | --o)
   1182     ac_prev=oldincludedir ;;
   1183   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1184   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1185   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1186     oldincludedir=$ac_optarg ;;
   1187 
   1188   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1189     ac_prev=prefix ;;
   1190   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1191     prefix=$ac_optarg ;;
   1192 
   1193   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1194   | --program-pre | --program-pr | --program-p)
   1195     ac_prev=program_prefix ;;
   1196   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1197   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1198     program_prefix=$ac_optarg ;;
   1199 
   1200   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1201   | --program-suf | --program-su | --program-s)
   1202     ac_prev=program_suffix ;;
   1203   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1204   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1205     program_suffix=$ac_optarg ;;
   1206 
   1207   -program-transform-name | --program-transform-name \
   1208   | --program-transform-nam | --program-transform-na \
   1209   | --program-transform-n | --program-transform- \
   1210   | --program-transform | --program-transfor \
   1211   | --program-transfo | --program-transf \
   1212   | --program-trans | --program-tran \
   1213   | --progr-tra | --program-tr | --program-t)
   1214     ac_prev=program_transform_name ;;
   1215   -program-transform-name=* | --program-transform-name=* \
   1216   | --program-transform-nam=* | --program-transform-na=* \
   1217   | --program-transform-n=* | --program-transform-=* \
   1218   | --program-transform=* | --program-transfor=* \
   1219   | --program-transfo=* | --program-transf=* \
   1220   | --program-trans=* | --program-tran=* \
   1221   | --progr-tra=* | --program-tr=* | --program-t=*)
   1222     program_transform_name=$ac_optarg ;;
   1223 
   1224   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1225     ac_prev=pdfdir ;;
   1226   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1227     pdfdir=$ac_optarg ;;
   1228 
   1229   -psdir | --psdir | --psdi | --psd | --ps)
   1230     ac_prev=psdir ;;
   1231   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1232     psdir=$ac_optarg ;;
   1233 
   1234   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1235   | -silent | --silent | --silen | --sile | --sil)
   1236     silent=yes ;;
   1237 
   1238   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1239     ac_prev=sbindir ;;
   1240   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1241   | --sbi=* | --sb=*)
   1242     sbindir=$ac_optarg ;;
   1243 
   1244   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1245   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1246   | --sharedst | --shareds | --shared | --share | --shar \
   1247   | --sha | --sh)
   1248     ac_prev=sharedstatedir ;;
   1249   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1250   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1251   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1252   | --sha=* | --sh=*)
   1253     sharedstatedir=$ac_optarg ;;
   1254 
   1255   -site | --site | --sit)
   1256     ac_prev=site ;;
   1257   -site=* | --site=* | --sit=*)
   1258     site=$ac_optarg ;;
   1259 
   1260   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1261     ac_prev=srcdir ;;
   1262   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1263     srcdir=$ac_optarg ;;
   1264 
   1265   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1266   | --syscon | --sysco | --sysc | --sys | --sy)
   1267     ac_prev=sysconfdir ;;
   1268   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1269   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1270     sysconfdir=$ac_optarg ;;
   1271 
   1272   -target | --target | --targe | --targ | --tar | --ta | --t)
   1273     ac_prev=target_alias ;;
   1274   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1275     target_alias=$ac_optarg ;;
   1276 
   1277   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1278     verbose=yes ;;
   1279 
   1280   -version | --version | --versio | --versi | --vers | -V)
   1281     ac_init_version=: ;;
   1282 
   1283   -with-* | --with-*)
   1284     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1285     # Reject names that are not valid shell variable names.
   1286     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1287       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1288    { (exit 1); exit 1; }; }
   1289     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1290     eval with_$ac_package=\$ac_optarg ;;
   1291 
   1292   -without-* | --without-*)
   1293     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1294     # Reject names that are not valid shell variable names.
   1295     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1296       { echo "$as_me: error: invalid package name: $ac_package" >&2
   1297    { (exit 1); exit 1; }; }
   1298     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
   1299     eval with_$ac_package=no ;;
   1300 
   1301   --x)
   1302     # Obsolete; use --with-x.
   1303     with_x=yes ;;
   1304 
   1305   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1306   | --x-incl | --x-inc | --x-in | --x-i)
   1307     ac_prev=x_includes ;;
   1308   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1309   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1310     x_includes=$ac_optarg ;;
   1311 
   1312   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1313   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1314     ac_prev=x_libraries ;;
   1315   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1316   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1317     x_libraries=$ac_optarg ;;
   1318 
   1319   -*) { echo "$as_me: error: unrecognized option: $ac_option
   1320 Try \`$0 --help' for more information." >&2
   1321    { (exit 1); exit 1; }; }
   1322     ;;
   1323 
   1324   *=*)
   1325     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1326     # Reject names that are not valid shell variable names.
   1327     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1328       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1329    { (exit 1); exit 1; }; }
   1330     eval $ac_envvar=\$ac_optarg
   1331     export $ac_envvar ;;
   1332 
   1333   *)
   1334     # FIXME: should be removed in autoconf 3.0.
   1335     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1336     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1337       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1338     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1339     ;;
   1340 
   1341   esac
   1342 done
   1343 
   1344 if test -n "$ac_prev"; then
   1345   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1346   { echo "$as_me: error: missing argument to $ac_option" >&2
   1347    { (exit 1); exit 1; }; }
   1348 fi
   1349 
   1350 # Be sure to have absolute directory names.
   1351 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1352 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1353 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1354 		libdir localedir mandir
   1355 do
   1356   eval ac_val=\$$ac_var
   1357   case $ac_val in
   1358     [\\/$]* | ?:[\\/]* )  continue;;
   1359     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1360   esac
   1361   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1362    { (exit 1); exit 1; }; }
   1363 done
   1364 
   1365 # There might be people who depend on the old broken behavior: `$host'
   1366 # used to hold the argument of --host etc.
   1367 # FIXME: To remove some day.
   1368 build=$build_alias
   1369 host=$host_alias
   1370 target=$target_alias
   1371 
   1372 # FIXME: To remove some day.
   1373 if test "x$host_alias" != x; then
   1374   if test "x$build_alias" = x; then
   1375     cross_compiling=maybe
   1376     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1377     If a cross compiler is detected then cross compile mode will be used." >&2
   1378   elif test "x$build_alias" != "x$host_alias"; then
   1379     cross_compiling=yes
   1380   fi
   1381 fi
   1382 
   1383 ac_tool_prefix=
   1384 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1385 
   1386 test "$silent" = yes && exec 6>/dev/null
   1387 
   1388 
   1389 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1390 ac_ls_di=`ls -di .` &&
   1391 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1392   { echo "$as_me: error: Working directory cannot be determined" >&2
   1393    { (exit 1); exit 1; }; }
   1394 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1395   { echo "$as_me: error: pwd does not report name of working directory" >&2
   1396    { (exit 1); exit 1; }; }
   1397 
   1398 
   1399 # Find the source files, if location was not specified.
   1400 if test -z "$srcdir"; then
   1401   ac_srcdir_defaulted=yes
   1402   # Try the directory containing this script, then the parent directory.
   1403   ac_confdir=`$as_dirname -- "$0" ||
   1404 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1405 	 X"$0" : 'X\(//\)[^/]' \| \
   1406 	 X"$0" : 'X\(//\)$' \| \
   1407 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   1408 echo X"$0" |
   1409     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1410 	    s//\1/
   1411 	    q
   1412 	  }
   1413 	  /^X\(\/\/\)[^/].*/{
   1414 	    s//\1/
   1415 	    q
   1416 	  }
   1417 	  /^X\(\/\/\)$/{
   1418 	    s//\1/
   1419 	    q
   1420 	  }
   1421 	  /^X\(\/\).*/{
   1422 	    s//\1/
   1423 	    q
   1424 	  }
   1425 	  s/.*/./; q'`
   1426   srcdir=$ac_confdir
   1427   if test ! -r "$srcdir/$ac_unique_file"; then
   1428     srcdir=..
   1429   fi
   1430 else
   1431   ac_srcdir_defaulted=no
   1432 fi
   1433 if test ! -r "$srcdir/$ac_unique_file"; then
   1434   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1435   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1436    { (exit 1); exit 1; }; }
   1437 fi
   1438 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1439 ac_abs_confdir=`(
   1440 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
   1441    { (exit 1); exit 1; }; }
   1442 	pwd)`
   1443 # When building in place, set srcdir=.
   1444 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1445   srcdir=.
   1446 fi
   1447 # Remove unnecessary trailing slashes from srcdir.
   1448 # Double slashes in file names in object file debugging info
   1449 # mess up M-x gdb in Emacs.
   1450 case $srcdir in
   1451 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1452 esac
   1453 for ac_var in $ac_precious_vars; do
   1454   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1455   eval ac_env_${ac_var}_value=\$${ac_var}
   1456   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1457   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1458 done
   1459 
   1460 #
   1461 # Report the --help message.
   1462 #
   1463 if test "$ac_init_help" = "long"; then
   1464   # Omit some internal or obsolete options to make the list less imposing.
   1465   # This message is too long to be a string in the A/UX 3.1 sh.
   1466   cat <<_ACEOF
   1467 \`configure' configures this package to adapt to many kinds of systems.
   1468 
   1469 Usage: $0 [OPTION]... [VAR=VALUE]...
   1470 
   1471 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1472 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1473 
   1474 Defaults for the options are specified in brackets.
   1475 
   1476 Configuration:
   1477   -h, --help              display this help and exit
   1478       --help=short        display options specific to this package
   1479       --help=recursive    display the short help of all the included packages
   1480   -V, --version           display version information and exit
   1481   -q, --quiet, --silent   do not print \`checking...' messages
   1482       --cache-file=FILE   cache test results in FILE [disabled]
   1483   -C, --config-cache      alias for \`--cache-file=config.cache'
   1484   -n, --no-create         do not create output files
   1485       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1486 
   1487 Installation directories:
   1488   --prefix=PREFIX         install architecture-independent files in PREFIX
   1489 			  [$ac_default_prefix]
   1490   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1491 			  [PREFIX]
   1492 
   1493 By default, \`make install' will install all the files in
   1494 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1495 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1496 for instance \`--prefix=\$HOME'.
   1497 
   1498 For better control, use the options below.
   1499 
   1500 Fine tuning of the installation directories:
   1501   --bindir=DIR           user executables [EPREFIX/bin]
   1502   --sbindir=DIR          system admin executables [EPREFIX/sbin]
   1503   --libexecdir=DIR       program executables [EPREFIX/libexec]
   1504   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
   1505   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
   1506   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
   1507   --libdir=DIR           object code libraries [EPREFIX/lib]
   1508   --includedir=DIR       C header files [PREFIX/include]
   1509   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
   1510   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
   1511   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
   1512   --infodir=DIR          info documentation [DATAROOTDIR/info]
   1513   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   1514   --mandir=DIR           man documentation [DATAROOTDIR/man]
   1515   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
   1516   --htmldir=DIR          html documentation [DOCDIR]
   1517   --dvidir=DIR           dvi documentation [DOCDIR]
   1518   --pdfdir=DIR           pdf documentation [DOCDIR]
   1519   --psdir=DIR            ps documentation [DOCDIR]
   1520 _ACEOF
   1521 
   1522   cat <<\_ACEOF
   1523 
   1524 X features:
   1525   --x-includes=DIR    X include files are in DIR
   1526   --x-libraries=DIR   X library files are in DIR
   1527 
   1528 System types:
   1529   --build=BUILD     configure for building on BUILD [guessed]
   1530   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1531   --target=TARGET   configure for building compilers for TARGET [HOST]
   1532 _ACEOF
   1533 fi
   1534 
   1535 if test -n "$ac_init_help"; then
   1536 
   1537   cat <<\_ACEOF
   1538 
   1539 Optional Features:
   1540   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1541   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1542   --enable-static[=PKGS]  build static libraries [default=no]
   1543   --enable-shared[=PKGS]  build shared 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-ltdl-install   install libltdl
   1548   --disable-largefile     omit support for large files
   1549   --enable-idle-hack                use Roland Mainz's idle hack
   1550   --enable-plugins                  enable plugins
   1551   --enable-x86-64                   compile in support for x86-64 instructions
   1552   --enable-smp                      compile in support for SMP configurations
   1553   --enable-cpu-level                select cpu level (3,4,5,6)
   1554   --enable-apic                     enable APIC support
   1555   --enable-compressed-hd            allows compressed (zlib) hard disk image (not implemented yet)
   1556   --enable-ne2000                   enable limited ne2000 support
   1557   --enable-acpi                     enable ACPI support
   1558   --enable-pci                      enable limited i440FX PCI support
   1559   --enable-pcidev                   enable PCI host device mapping support (linux host only)
   1560   --enable-usb                      enable limited USB UHCI support
   1561   --enable-usb-ohci                 enable limited USB OHCI support
   1562   --enable-pnic                     enable PCI pseudo NIC support
   1563   --enable-large-pages               support for large pages (2M/4M pages)
   1564   --enable-pae                      support Physical Address Extensions
   1565   --enable-global-pages             support for global pages in PDE/PTE
   1566   --enable-1g-pages                 support for 1G pages in long mode
   1567   --enable-mtrr                     support for MTRRs
   1568   --enable-repeat-speedups          support repeated IO and mem copy speedups
   1569   --enable-trace-cache              support instruction trace cache
   1570   --enable-icache                   support instruction cache
   1571   --enable-fast-function-calls      support for fast function calls (gcc on x86 only)
   1572   --enable-host-specific-asms       support for host specific inline assembly
   1573   --enable-configurable-msrs        support for configurable MSR registers
   1574   --enable-ignore-bad-msr           ignore bad MSR references
   1575   --enable-port-e9-hack             writes to port e9 go to console
   1576   --enable-show-ips                 show IPS in Bochs log file
   1577   --enable-cpp                      use .cpp as C++ suffix
   1578   --enable-debugger                 compile in support for Bochs internal debugger
   1579   --enable-disasm                   compile in support for disassembler
   1580   --enable-debugger-gui             compile in support for Bochs internal debugger GUI
   1581   --enable-all-optimizations        compile in all possible optimizations
   1582   --enable-readline                 use readline library, if available
   1583   --enable-instrumentation          compile in support for instrumentation
   1584   --enable-logging                  enable logging
   1585   --enable-assert-checks            enable BX_ASSERT checks
   1586   --enable-raw-serial               use raw serial port access
   1587   --enable-vbe                      use VESA BIOS extensions
   1588   --enable-clgd54xx                 enable CLGD54XX emulation
   1589   --enable-fpu                      compile in FPU emulation
   1590   --enable-vme                      virtual 8086 mode extensions
   1591   --enable-vmx                      virtualization extensions
   1592   --enable-mmx                      MMX support
   1593   --enable-3dnow                    3DNow! support (incomplete)
   1594   --enable-sse                      SSE support (--enable-sse=no|1|2|3|4)
   1595   --enable-sse-extension            support for SSE extensions
   1596   --enable-daz                      denormals-are-zeroes support
   1597   --enable-xsave                    support for XSAVE/XRSTOR extensions
   1598   --enable-aes                      support for AES instructions
   1599   --enable-alignment-check          alignment check (#AC) support
   1600   --enable-misaligned-sse           misaligned SSE support
   1601   --enable-sep                      SYSENTER/SYSEXIT support
   1602   --enable-popcnt                   support for POPCNT instruction
   1603   --enable-movbe                    support for MOVBE Intel Atom(R) instruction
   1604   --enable-monitor-mwait            support for MONITOR/MWAIT instructions (experimental)
   1605   --enable-x86-debugger             x86 debugger support
   1606   --enable-cdrom                    CDROM support
   1607   --enable-sb16=xxx                 Sound Blaster 16 Support (xxx=dummy|win|linux|freebsd|osx)
   1608   --enable-gameport                 enable standard PC gameport support
   1609   --enable-gdb-stub                 enable gdb stub support
   1610   --enable-iodebug                  enable I/O interface to debugger
   1611   --enable-docbook                  build the Docbook documentation
   1612   --enable-xpm                      enable the check for XPM support
   1613   --enable-guest2host-tlb          enables guest to host addr TLB for speed (deprecated)
   1614   --enable-external-debugger       enables external debugger interface (deprecated)
   1615   --enable-magic-breakpoints        enables magic breakpoints (deprecated)
   1616   --enable-save-restore             enables save/restore (deprecated)
   1617 
   1618 Optional Packages:
   1619   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1620   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1621   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1622   --with-pic              try to use only PIC/non-PIC objects [default=use
   1623                           both]
   1624   --with-tags[=TAGS]      include additional configurations [automatic]
   1625   --with-x                use the X Window System
   1626   --with-x11                        use X11 GUI
   1627   --with-beos                       use BeOS GUI
   1628   --with-win32                      use Win32 GUI
   1629   --with-macos                      use Macintosh/CodeWarrior environment
   1630   --with-carbon                     compile for MacOS X with Carbon GUI
   1631   --with-nogui                      no native GUI, just use blank stubs
   1632   --with-term                       textmode terminal environment
   1633   --with-rfb                        use RFB protocol, works with VNC viewer
   1634   --with-amigaos                    use AmigaOS (or MorphOS) GUI
   1635   --with-sdl                        use SDL libraries
   1636   --with-svga                       use SVGALib libraries
   1637   --with-wx                         use wxWidgets libraries
   1638   --with-all-libs                   compile all guis that Bochs supports
   1639 
   1640 Some influential environment variables:
   1641   CC          C compiler command
   1642   CFLAGS      C compiler flags
   1643   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1644               nonstandard directory <lib dir>
   1645   LIBS        libraries to pass to the linker, e.g. -l<library>
   1646   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1647               you have headers in a nonstandard directory <include dir>
   1648   CXX         C++ compiler command
   1649   CXXFLAGS    C++ compiler flags
   1650   CPP         C preprocessor
   1651   CXXCPP      C++ preprocessor
   1652   F77         Fortran 77 compiler command
   1653   FFLAGS      Fortran 77 compiler flags
   1654   XMKMF       Path to xmkmf, Makefile generator for X Window System
   1655 
   1656 Use these variables to override the choices made by `configure' or to help
   1657 it to find libraries and programs with nonstandard names/locations.
   1658 
   1659 _ACEOF
   1660 ac_status=$?
   1661 fi
   1662 
   1663 if test "$ac_init_help" = "recursive"; then
   1664   # If there are subdirs, report their specific --help.
   1665   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1666     test -d "$ac_dir" || continue
   1667     ac_builddir=.
   1668 
   1669 case "$ac_dir" in
   1670 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1671 *)
   1672   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1673   # A ".." for each directory in $ac_dir_suffix.
   1674   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
   1675   case $ac_top_builddir_sub in
   1676   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1677   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1678   esac ;;
   1679 esac
   1680 ac_abs_top_builddir=$ac_pwd
   1681 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1682 # for backward compatibility:
   1683 ac_top_builddir=$ac_top_build_prefix
   1684 
   1685 case $srcdir in
   1686   .)  # We are building in place.
   1687     ac_srcdir=.
   1688     ac_top_srcdir=$ac_top_builddir_sub
   1689     ac_abs_top_srcdir=$ac_pwd ;;
   1690   [\\/]* | ?:[\\/]* )  # Absolute name.
   1691     ac_srcdir=$srcdir$ac_dir_suffix;
   1692     ac_top_srcdir=$srcdir
   1693     ac_abs_top_srcdir=$srcdir ;;
   1694   *) # Relative name.
   1695     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1696     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1697     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1698 esac
   1699 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1700 
   1701     cd "$ac_dir" || { ac_status=$?; continue; }
   1702     # Check for guested configure.
   1703     if test -f "$ac_srcdir/configure.gnu"; then
   1704       echo &&
   1705       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1706     elif test -f "$ac_srcdir/configure"; then
   1707       echo &&
   1708       $SHELL "$ac_srcdir/configure" --help=recursive
   1709     else
   1710       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1711     fi || ac_status=$?
   1712     cd "$ac_pwd" || { ac_status=$?; break; }
   1713   done
   1714 fi
   1715 
   1716 test -n "$ac_init_help" && exit $ac_status
   1717 if $ac_init_version; then
   1718   cat <<\_ACEOF
   1719 configure
   1720 generated by GNU Autoconf 2.61
   1721 
   1722 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1723 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
   1724 This configure script is free software; the Free Software Foundation
   1725 gives unlimited permission to copy, distribute and modify it.
   1726 _ACEOF
   1727   exit
   1728 fi
   1729 cat >config.log <<_ACEOF
   1730 This file contains any messages produced by compilers while
   1731 running configure, to aid debugging if configure makes a mistake.
   1732 
   1733 It was created by $as_me, which was
   1734 generated by GNU Autoconf 2.61.  Invocation command line was
   1735 
   1736   $ $0 $@
   1737 
   1738 _ACEOF
   1739 exec 5>>config.log
   1740 {
   1741 cat <<_ASUNAME
   1742 ## --------- ##
   1743 ## Platform. ##
   1744 ## --------- ##
   1745 
   1746 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1747 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1748 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1749 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1750 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1751 
   1752 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1753 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1754 
   1755 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1756 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1757 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1758 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1759 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1760 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1761 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1762 
   1763 _ASUNAME
   1764 
   1765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1766 for as_dir in $PATH
   1767 do
   1768   IFS=$as_save_IFS
   1769   test -z "$as_dir" && as_dir=.
   1770   echo "PATH: $as_dir"
   1771 done
   1772 IFS=$as_save_IFS
   1773 
   1774 } >&5
   1775 
   1776 cat >&5 <<_ACEOF
   1777 
   1778 
   1779 ## ----------- ##
   1780 ## Core tests. ##
   1781 ## ----------- ##
   1782 
   1783 _ACEOF
   1784 
   1785 
   1786 # Keep a trace of the command line.
   1787 # Strip out --no-create and --no-recursion so they do not pile up.
   1788 # Strip out --silent because we don't want to record it for future runs.
   1789 # Also quote any args containing shell meta-characters.
   1790 # Make two passes to allow for proper duplicate-argument suppression.
   1791 ac_configure_args=
   1792 ac_configure_args0=
   1793 ac_configure_args1=
   1794 ac_must_keep_next=false
   1795 for ac_pass in 1 2
   1796 do
   1797   for ac_arg
   1798   do
   1799     case $ac_arg in
   1800     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1801     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1802     | -silent | --silent | --silen | --sile | --sil)
   1803       continue ;;
   1804     *\'*)
   1805       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1806     esac
   1807     case $ac_pass in
   1808     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1809     2)
   1810       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1811       if test $ac_must_keep_next = true; then
   1812 	ac_must_keep_next=false # Got value, back to normal.
   1813       else
   1814 	case $ac_arg in
   1815 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1816 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1817 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1818 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1819 	    case "$ac_configure_args0 " in
   1820 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1821 	    esac
   1822 	    ;;
   1823 	  -* ) ac_must_keep_next=true ;;
   1824 	esac
   1825       fi
   1826       ac_configure_args="$ac_configure_args '$ac_arg'"
   1827       ;;
   1828     esac
   1829   done
   1830 done
   1831 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1832 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1833 
   1834 # When interrupted or exit'd, cleanup temporary files, and complete
   1835 # config.log.  We remove comments because anyway the quotes in there
   1836 # would cause problems or look ugly.
   1837 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1838 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1839 trap 'exit_status=$?
   1840   # Save into config.log some information that might help in debugging.
   1841   {
   1842     echo
   1843 
   1844     cat <<\_ASBOX
   1845 ## ---------------- ##
   1846 ## Cache variables. ##
   1847 ## ---------------- ##
   1848 _ASBOX
   1849     echo
   1850     # The following way of writing the cache mishandles newlines in values,
   1851 (
   1852   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1853     eval ac_val=\$$ac_var
   1854     case $ac_val in #(
   1855     *${as_nl}*)
   1856       case $ac_var in #(
   1857       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
   1858 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
   1859       esac
   1860       case $ac_var in #(
   1861       _ | IFS | as_nl) ;; #(
   1862       *) $as_unset $ac_var ;;
   1863       esac ;;
   1864     esac
   1865   done
   1866   (set) 2>&1 |
   1867     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1868     *${as_nl}ac_space=\ *)
   1869       sed -n \
   1870 	"s/'\''/'\''\\\\'\'''\''/g;
   1871 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1872       ;; #(
   1873     *)
   1874       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1875       ;;
   1876     esac |
   1877     sort
   1878 )
   1879     echo
   1880 
   1881     cat <<\_ASBOX
   1882 ## ----------------- ##
   1883 ## Output variables. ##
   1884 ## ----------------- ##
   1885 _ASBOX
   1886     echo
   1887     for ac_var in $ac_subst_vars
   1888     do
   1889       eval ac_val=\$$ac_var
   1890       case $ac_val in
   1891       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1892       esac
   1893       echo "$ac_var='\''$ac_val'\''"
   1894     done | sort
   1895     echo
   1896 
   1897     if test -n "$ac_subst_files"; then
   1898       cat <<\_ASBOX
   1899 ## ------------------- ##
   1900 ## File substitutions. ##
   1901 ## ------------------- ##
   1902 _ASBOX
   1903       echo
   1904       for ac_var in $ac_subst_files
   1905       do
   1906 	eval ac_val=\$$ac_var
   1907 	case $ac_val in
   1908 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1909 	esac
   1910 	echo "$ac_var='\''$ac_val'\''"
   1911       done | sort
   1912       echo
   1913     fi
   1914 
   1915     if test -s confdefs.h; then
   1916       cat <<\_ASBOX
   1917 ## ----------- ##
   1918 ## confdefs.h. ##
   1919 ## ----------- ##
   1920 _ASBOX
   1921       echo
   1922       cat confdefs.h
   1923       echo
   1924     fi
   1925     test "$ac_signal" != 0 &&
   1926       echo "$as_me: caught signal $ac_signal"
   1927     echo "$as_me: exit $exit_status"
   1928   } >&5
   1929   rm -f core *.core core.conftest.* &&
   1930     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1931     exit $exit_status
   1932 ' 0
   1933 for ac_signal in 1 2 13 15; do
   1934   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1935 done
   1936 ac_signal=0
   1937 
   1938 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1939 rm -f -r conftest* confdefs.h
   1940 
   1941 # Predefined preprocessor variables.
   1942 
   1943 cat >>confdefs.h <<_ACEOF
   1944 #define PACKAGE_NAME "$PACKAGE_NAME"
   1945 _ACEOF
   1946 
   1947 
   1948 cat >>confdefs.h <<_ACEOF
   1949 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1950 _ACEOF
   1951 
   1952 
   1953 cat >>confdefs.h <<_ACEOF
   1954 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1955 _ACEOF
   1956 
   1957 
   1958 cat >>confdefs.h <<_ACEOF
   1959 #define PACKAGE_STRING "$PACKAGE_STRING"
   1960 _ACEOF
   1961 
   1962 
   1963 cat >>confdefs.h <<_ACEOF
   1964 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1965 _ACEOF
   1966 
   1967 
   1968 # Let the site file select an alternate cache file if it wants to.
   1969 # Prefer explicitly selected file to automatically selected ones.
   1970 if test -n "$CONFIG_SITE"; then
   1971   set x "$CONFIG_SITE"
   1972 elif test "x$prefix" != xNONE; then
   1973   set x "$prefix/share/config.site" "$prefix/etc/config.site"
   1974 else
   1975   set x "$ac_default_prefix/share/config.site" \
   1976 	"$ac_default_prefix/etc/config.site"
   1977 fi
   1978 shift
   1979 for ac_site_file
   1980 do
   1981   if test -r "$ac_site_file"; then
   1982     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1983 echo "$as_me: loading site script $ac_site_file" >&6;}
   1984     sed 's/^/| /' "$ac_site_file" >&5
   1985     . "$ac_site_file"
   1986   fi
   1987 done
   1988 
   1989 if test -r "$cache_file"; then
   1990   # Some versions of bash will fail to source /dev/null (special
   1991   # files actually), so we avoid doing that.
   1992   if test -f "$cache_file"; then
   1993     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1994 echo "$as_me: loading cache $cache_file" >&6;}
   1995     case $cache_file in
   1996       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1997       *)                      . "./$cache_file";;
   1998     esac
   1999   fi
   2000 else
   2001   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2002 echo "$as_me: creating cache $cache_file" >&6;}
   2003   >$cache_file
   2004 fi
   2005 
   2006 # Check that the precious variables saved in the cache have kept the same
   2007 # value.
   2008 ac_cache_corrupted=false
   2009 for ac_var in $ac_precious_vars; do
   2010   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2011   eval ac_new_set=\$ac_env_${ac_var}_set
   2012   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2013   eval ac_new_val=\$ac_env_${ac_var}_value
   2014   case $ac_old_set,$ac_new_set in
   2015     set,)
   2016       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2017 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2018       ac_cache_corrupted=: ;;
   2019     ,set)
   2020       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2021 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2022       ac_cache_corrupted=: ;;
   2023     ,);;
   2024     *)
   2025       if test "x$ac_old_val" != "x$ac_new_val"; then
   2026 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2027 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2028 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   2029 echo "$as_me:   former value:  $ac_old_val" >&2;}
   2030 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   2031 echo "$as_me:   current value: $ac_new_val" >&2;}
   2032 	ac_cache_corrupted=:
   2033       fi;;
   2034   esac
   2035   # Pass precious variables to config.status.
   2036   if test "$ac_new_set" = set; then
   2037     case $ac_new_val in
   2038     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2039     *) ac_arg=$ac_var=$ac_new_val ;;
   2040     esac
   2041     case " $ac_configure_args " in
   2042       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2043       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2044     esac
   2045   fi
   2046 done
   2047 if $ac_cache_corrupted; then
   2048   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2049 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2050   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2051 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2052    { (exit 1); exit 1; }; }
   2053 fi
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 ac_ext=c
   2072 ac_cpp='$CPP $CPPFLAGS'
   2073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2076 
   2077 
   2078 
   2079 ac_config_headers="$ac_config_headers config.h"
   2080 
   2081 ac_config_headers="$ac_config_headers ltdlconf.h"
   2082 
   2083 
   2084 VERSION="2.3.7.cvs"
   2085 VER_STRING="2.3.7.cvs"
   2086 WIN_VER_STRING="2, 3, 7, 1"
   2087 REL_STRING="Build from CVS snapshot, after release 2.3.7"
   2088 
   2089 
   2090 
   2091 
   2092 ac_aux_dir=
   2093 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2094   if test -f "$ac_dir/install-sh"; then
   2095     ac_aux_dir=$ac_dir
   2096     ac_install_sh="$ac_aux_dir/install-sh -c"
   2097     break
   2098   elif test -f "$ac_dir/install.sh"; then
   2099     ac_aux_dir=$ac_dir
   2100     ac_install_sh="$ac_aux_dir/install.sh -c"
   2101     break
   2102   elif test -f "$ac_dir/shtool"; then
   2103     ac_aux_dir=$ac_dir
   2104     ac_install_sh="$ac_aux_dir/shtool install -c"
   2105     break
   2106   fi
   2107 done
   2108 if test -z "$ac_aux_dir"; then
   2109   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2110 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2111    { (exit 1); exit 1; }; }
   2112 fi
   2113 
   2114 # These three variables are undocumented and unsupported,
   2115 # and are intended to be withdrawn in a future Autoconf release.
   2116 # They can cause serious problems if a builder's source tree is in a directory
   2117 # whose full name contains unusual characters.
   2118 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2119 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2120 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2121 
   2122 
   2123 # Make sure we can run config.sub.
   2124 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2125   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   2126 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   2127    { (exit 1); exit 1; }; }
   2128 
   2129 { echo "$as_me:$LINENO: checking build system type" >&5
   2130 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
   2131 if test "${ac_cv_build+set}" = set; then
   2132   echo $ECHO_N "(cached) $ECHO_C" >&6
   2133 else
   2134   ac_build_alias=$build_alias
   2135 test "x$ac_build_alias" = x &&
   2136   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2137 test "x$ac_build_alias" = x &&
   2138   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   2139 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   2140    { (exit 1); exit 1; }; }
   2141 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2142   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   2143 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   2144    { (exit 1); exit 1; }; }
   2145 
   2146 fi
   2147 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   2148 echo "${ECHO_T}$ac_cv_build" >&6; }
   2149 case $ac_cv_build in
   2150 *-*-*) ;;
   2151 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   2152 echo "$as_me: error: invalid value of canonical build" >&2;}
   2153    { (exit 1); exit 1; }; };;
   2154 esac
   2155 build=$ac_cv_build
   2156 ac_save_IFS=$IFS; IFS='-'
   2157 set x $ac_cv_build
   2158 shift
   2159 build_cpu=$1
   2160 build_vendor=$2
   2161 shift; shift
   2162 # Remember, the first character of IFS is used to create $*,
   2163 # except with old shells:
   2164 build_os=$*
   2165 IFS=$ac_save_IFS
   2166 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2167 
   2168 
   2169 { echo "$as_me:$LINENO: checking host system type" >&5
   2170 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
   2171 if test "${ac_cv_host+set}" = set; then
   2172   echo $ECHO_N "(cached) $ECHO_C" >&6
   2173 else
   2174   if test "x$host_alias" = x; then
   2175   ac_cv_host=$ac_cv_build
   2176 else
   2177   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2178     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   2179 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   2180    { (exit 1); exit 1; }; }
   2181 fi
   2182 
   2183 fi
   2184 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   2185 echo "${ECHO_T}$ac_cv_host" >&6; }
   2186 case $ac_cv_host in
   2187 *-*-*) ;;
   2188 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   2189 echo "$as_me: error: invalid value of canonical host" >&2;}
   2190    { (exit 1); exit 1; }; };;
   2191 esac
   2192 host=$ac_cv_host
   2193 ac_save_IFS=$IFS; IFS='-'
   2194 set x $ac_cv_host
   2195 shift
   2196 host_cpu=$1
   2197 host_vendor=$2
   2198 shift; shift
   2199 # Remember, the first character of IFS is used to create $*,
   2200 # except with old shells:
   2201 host_os=$*
   2202 IFS=$ac_save_IFS
   2203 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2204 
   2205 
   2206 { echo "$as_me:$LINENO: checking target system type" >&5
   2207 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
   2208 if test "${ac_cv_target+set}" = set; then
   2209   echo $ECHO_N "(cached) $ECHO_C" >&6
   2210 else
   2211   if test "x$target_alias" = x; then
   2212   ac_cv_target=$ac_cv_host
   2213 else
   2214   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2215     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
   2216 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
   2217    { (exit 1); exit 1; }; }
   2218 fi
   2219 
   2220 fi
   2221 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   2222 echo "${ECHO_T}$ac_cv_target" >&6; }
   2223 case $ac_cv_target in
   2224 *-*-*) ;;
   2225 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
   2226 echo "$as_me: error: invalid value of canonical target" >&2;}
   2227    { (exit 1); exit 1; }; };;
   2228 esac
   2229 target=$ac_cv_target
   2230 ac_save_IFS=$IFS; IFS='-'
   2231 set x $ac_cv_target
   2232 shift
   2233 target_cpu=$1
   2234 target_vendor=$2
   2235 shift; shift
   2236 # Remember, the first character of IFS is used to create $*,
   2237 # except with old shells:
   2238 target_os=$*
   2239 IFS=$ac_save_IFS
   2240 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2241 
   2242 
   2243 # The aliases save the names the user supplied, while $host etc.
   2244 # will get canonicalized.
   2245 test -n "$target_alias" &&
   2246   test "$program_prefix$program_suffix$program_transform_name" = \
   2247     NONENONEs,x,x, &&
   2248   program_prefix=${target_alias}-
   2249 
   2250 { echo "$as_me:$LINENO: checking if you are configuring for another platform" >&5
   2251 echo $ECHO_N "checking if you are configuring for another platform... $ECHO_C" >&6; }
   2252 if test "$cross_compiling" = yes -o "$target_os" = "windows"; then
   2253   { echo "$as_me:$LINENO: result: yes" >&5
   2254 echo "${ECHO_T}yes" >&6; }
   2255   cross_configure=1
   2256 else
   2257   { echo "$as_me:$LINENO: result: no" >&5
   2258 echo "${ECHO_T}no" >&6; }
   2259   cross_configure=0
   2260 fi
   2261 
   2262 # this case statement defines the compile flags which are needed to
   2263 # compile bochs on a platform.  Don't put things like optimization settings
   2264 # into the configure.in file, since people will want to be able to change
   2265 # those settings by defining CFLAGS and CXXFLAGS before running configure.
   2266 NO_LT=0
   2267 need_dlcompat_for_plugins=0
   2268 case "$target" in
   2269   *-pc-windows* | *-pc-winnt*)
   2270     DEFAULT_GUI=win32                 # default to win32 gui
   2271     ;;
   2272   *-pc-cygwin* | *-pc-mingw32*)
   2273     NO_LT=1   # do not use libtool at all on cygwin
   2274     if test "$with_term" = yes; then
   2275       # ncurses won't compile with -mno-cygwin or -DWIN32
   2276       # also, I can't get it to link without this -DBROKEN_LINKER=1 hack.
   2277       # see /usr/include/curses.h for details.
   2278       ADD_FLAGS="-DBROKEN_LINKER=1"
   2279     else
   2280       # default case
   2281       ADD_FLAGS="-mno-cygwin -DWIN32"   # required for cygwin compile+win32 gui
   2282       DEFAULT_GUI=win32                 # default to win32 gui
   2283     fi
   2284     ;;
   2285   *-macosx* | *-darwin*)
   2286     ADD_FLAGS="-fpascal-strings -fno-common -Wno-four-char-constants -Wno-unknown-pragmas -Dmacintosh"      # required for macosx compile
   2287     DEFAULT_GUI=carbon                # default to carbon
   2288     need_dlcompat_for_plugins=1
   2289     ;;
   2290   *-macos*)
   2291     DEFAULT_GUI=macos                 # macos defaults to macos
   2292     ;;
   2293   *-beos*)
   2294     ADD_FLAGS="-Wno-multichar"
   2295     DEFAULT_GUI=beos                  # beos defaults to beos
   2296     ;;
   2297   *-amigaos* | *-morphos*)
   2298     DEFAULT_GUI=amigaos               # amigaos or morphos defaults to amigaos gui
   2299     ;;
   2300   *-solaris*)
   2301     ADD_FLAGS="-D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__"      # required for correct function prototypes
   2302     LIBS="$LIBS -lsocket -lnsl"
   2303     DEFAULT_GUI=x11
   2304     ;;
   2305   *)
   2306     DEFAULT_GUI=x11
   2307     ;;
   2308 esac
   2309 if test "${ADD_FLAGS:+set}" = set; then
   2310       CFLAGS="$CFLAGS $ADD_FLAGS"
   2311       CXXFLAGS="$CXXFLAGS $ADD_FLAGS"
   2312       CPPFLAGS="$CPPFLAGS $ADD_FLAGS"
   2313 fi
   2314 
   2315 { echo "$as_me:$LINENO: checking for standard CFLAGS on this platform" >&5
   2316 echo $ECHO_N "checking for standard CFLAGS on this platform... $ECHO_C" >&6; }
   2317 { echo "$as_me:$LINENO: result: $ADD_FLAGS" >&5
   2318 echo "${ECHO_T}$ADD_FLAGS" >&6; }
   2319 
   2320 if (test "$with_sdl" != yes) && \
   2321    (test "$with_svga" != yes) && \
   2322    (test "$with_x11" != yes) && \
   2323    (test "$with_beos" != yes) && \
   2324    (test "$with_win32" != yes) && \
   2325    (test "$with_nogui" != yes) && \
   2326    (test "$with_term" != yes) && \
   2327    (test "$with_rfb" != yes) && \
   2328    (test "$with_amigaos" != yes) && \
   2329    (test "$with_carbon" != yes) && \
   2330    (test "$with_wx" != yes) && \
   2331    (test "$with_macos" != yes); then
   2332   # use DEFAULT_GUI.  Set the appropriate variable.
   2333   # DEFAULT_GUI must be set to one of the names above.  Otherwise, no
   2334   # valid $with_* variable will be set and who knows what will happen?
   2335   eval "with_${DEFAULT_GUI}=yes"
   2336 fi
   2337 
   2338 ac_ext=c
   2339 ac_cpp='$CPP $CPPFLAGS'
   2340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2343 if test -n "$ac_tool_prefix"; then
   2344   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2345 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2348 if test "${ac_cv_prog_CC+set}" = set; then
   2349   echo $ECHO_N "(cached) $ECHO_C" >&6
   2350 else
   2351   if test -n "$CC"; then
   2352   ac_cv_prog_CC="$CC" # Let the user override the test.
   2353 else
   2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2355 for as_dir in $PATH
   2356 do
   2357   IFS=$as_save_IFS
   2358   test -z "$as_dir" && as_dir=.
   2359   for ac_exec_ext in '' $ac_executable_extensions; do
   2360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2361     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2362     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2363     break 2
   2364   fi
   2365 done
   2366 done
   2367 IFS=$as_save_IFS
   2368 
   2369 fi
   2370 fi
   2371 CC=$ac_cv_prog_CC
   2372 if test -n "$CC"; then
   2373   { echo "$as_me:$LINENO: result: $CC" >&5
   2374 echo "${ECHO_T}$CC" >&6; }
   2375 else
   2376   { echo "$as_me:$LINENO: result: no" >&5
   2377 echo "${ECHO_T}no" >&6; }
   2378 fi
   2379 
   2380 
   2381 fi
   2382 if test -z "$ac_cv_prog_CC"; then
   2383   ac_ct_CC=$CC
   2384   # Extract the first word of "gcc", so it can be a program name with args.
   2385 set dummy gcc; ac_word=$2
   2386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2388 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2389   echo $ECHO_N "(cached) $ECHO_C" >&6
   2390 else
   2391   if test -n "$ac_ct_CC"; then
   2392   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2393 else
   2394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2395 for as_dir in $PATH
   2396 do
   2397   IFS=$as_save_IFS
   2398   test -z "$as_dir" && as_dir=.
   2399   for ac_exec_ext in '' $ac_executable_extensions; do
   2400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2401     ac_cv_prog_ac_ct_CC="gcc"
   2402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2403     break 2
   2404   fi
   2405 done
   2406 done
   2407 IFS=$as_save_IFS
   2408 
   2409 fi
   2410 fi
   2411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2412 if test -n "$ac_ct_CC"; then
   2413   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2414 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2415 else
   2416   { echo "$as_me:$LINENO: result: no" >&5
   2417 echo "${ECHO_T}no" >&6; }
   2418 fi
   2419 
   2420   if test "x$ac_ct_CC" = x; then
   2421     CC=""
   2422   else
   2423     case $cross_compiling:$ac_tool_warned in
   2424 yes:)
   2425 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2426 whose name does not start with the host triplet.  If you think this
   2427 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2428 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2429 whose name does not start with the host triplet.  If you think this
   2430 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2431 ac_tool_warned=yes ;;
   2432 esac
   2433     CC=$ac_ct_CC
   2434   fi
   2435 else
   2436   CC="$ac_cv_prog_CC"
   2437 fi
   2438 
   2439 if test -z "$CC"; then
   2440           if test -n "$ac_tool_prefix"; then
   2441     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2442 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2445 if test "${ac_cv_prog_CC+set}" = set; then
   2446   echo $ECHO_N "(cached) $ECHO_C" >&6
   2447 else
   2448   if test -n "$CC"; then
   2449   ac_cv_prog_CC="$CC" # Let the user override the test.
   2450 else
   2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2452 for as_dir in $PATH
   2453 do
   2454   IFS=$as_save_IFS
   2455   test -z "$as_dir" && as_dir=.
   2456   for ac_exec_ext in '' $ac_executable_extensions; do
   2457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2458     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2459     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2460     break 2
   2461   fi
   2462 done
   2463 done
   2464 IFS=$as_save_IFS
   2465 
   2466 fi
   2467 fi
   2468 CC=$ac_cv_prog_CC
   2469 if test -n "$CC"; then
   2470   { echo "$as_me:$LINENO: result: $CC" >&5
   2471 echo "${ECHO_T}$CC" >&6; }
   2472 else
   2473   { echo "$as_me:$LINENO: result: no" >&5
   2474 echo "${ECHO_T}no" >&6; }
   2475 fi
   2476 
   2477 
   2478   fi
   2479 fi
   2480 if test -z "$CC"; then
   2481   # Extract the first word of "cc", so it can be a program name with args.
   2482 set dummy cc; ac_word=$2
   2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2485 if test "${ac_cv_prog_CC+set}" = set; then
   2486   echo $ECHO_N "(cached) $ECHO_C" >&6
   2487 else
   2488   if test -n "$CC"; then
   2489   ac_cv_prog_CC="$CC" # Let the user override the test.
   2490 else
   2491   ac_prog_rejected=no
   2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2493 for as_dir in $PATH
   2494 do
   2495   IFS=$as_save_IFS
   2496   test -z "$as_dir" && as_dir=.
   2497   for ac_exec_ext in '' $ac_executable_extensions; do
   2498   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2499     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2500        ac_prog_rejected=yes
   2501        continue
   2502      fi
   2503     ac_cv_prog_CC="cc"
   2504     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2505     break 2
   2506   fi
   2507 done
   2508 done
   2509 IFS=$as_save_IFS
   2510 
   2511 if test $ac_prog_rejected = yes; then
   2512   # We found a bogon in the path, so make sure we never use it.
   2513   set dummy $ac_cv_prog_CC
   2514   shift
   2515   if test $# != 0; then
   2516     # We chose a different compiler from the bogus one.
   2517     # However, it has the same basename, so the bogon will be chosen
   2518     # first if we set CC to just the basename; use the full file name.
   2519     shift
   2520     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2521   fi
   2522 fi
   2523 fi
   2524 fi
   2525 CC=$ac_cv_prog_CC
   2526 if test -n "$CC"; then
   2527   { echo "$as_me:$LINENO: result: $CC" >&5
   2528 echo "${ECHO_T}$CC" >&6; }
   2529 else
   2530   { echo "$as_me:$LINENO: result: no" >&5
   2531 echo "${ECHO_T}no" >&6; }
   2532 fi
   2533 
   2534 
   2535 fi
   2536 if test -z "$CC"; then
   2537   if test -n "$ac_tool_prefix"; then
   2538   for ac_prog in cl.exe
   2539   do
   2540     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2541 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2544 if test "${ac_cv_prog_CC+set}" = set; then
   2545   echo $ECHO_N "(cached) $ECHO_C" >&6
   2546 else
   2547   if test -n "$CC"; then
   2548   ac_cv_prog_CC="$CC" # Let the user override the test.
   2549 else
   2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2551 for as_dir in $PATH
   2552 do
   2553   IFS=$as_save_IFS
   2554   test -z "$as_dir" && as_dir=.
   2555   for ac_exec_ext in '' $ac_executable_extensions; do
   2556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2557     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2558     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2559     break 2
   2560   fi
   2561 done
   2562 done
   2563 IFS=$as_save_IFS
   2564 
   2565 fi
   2566 fi
   2567 CC=$ac_cv_prog_CC
   2568 if test -n "$CC"; then
   2569   { echo "$as_me:$LINENO: result: $CC" >&5
   2570 echo "${ECHO_T}$CC" >&6; }
   2571 else
   2572   { echo "$as_me:$LINENO: result: no" >&5
   2573 echo "${ECHO_T}no" >&6; }
   2574 fi
   2575 
   2576 
   2577     test -n "$CC" && break
   2578   done
   2579 fi
   2580 if test -z "$CC"; then
   2581   ac_ct_CC=$CC
   2582   for ac_prog in cl.exe
   2583 do
   2584   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2585 set dummy $ac_prog; ac_word=$2
   2586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   2588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2589   echo $ECHO_N "(cached) $ECHO_C" >&6
   2590 else
   2591   if test -n "$ac_ct_CC"; then
   2592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2593 else
   2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2595 for as_dir in $PATH
   2596 do
   2597   IFS=$as_save_IFS
   2598   test -z "$as_dir" && as_dir=.
   2599   for ac_exec_ext in '' $ac_executable_extensions; do
   2600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2601     ac_cv_prog_ac_ct_CC="$ac_prog"
   2602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2603     break 2
   2604   fi
   2605 done
   2606 done
   2607 IFS=$as_save_IFS
   2608 
   2609 fi
   2610 fi
   2611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2612 if test -n "$ac_ct_CC"; then
   2613   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2614 echo "${ECHO_T}$ac_ct_CC" >&6; }
   2615 else
   2616   { echo "$as_me:$LINENO: result: no" >&5
   2617 echo "${ECHO_T}no" >&6; }
   2618 fi
   2619 
   2620 
   2621   test -n "$ac_ct_CC" && break
   2622 done
   2623 
   2624   if test "x$ac_ct_CC" = x; then
   2625     CC=""
   2626   else
   2627     case $cross_compiling:$ac_tool_warned in
   2628 yes:)
   2629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   2630 whose name does not start with the host triplet.  If you think this
   2631 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   2632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   2633 whose name does not start with the host triplet.  If you think this
   2634 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   2635 ac_tool_warned=yes ;;
   2636 esac
   2637     CC=$ac_ct_CC
   2638   fi
   2639 fi
   2640 
   2641 fi
   2642 
   2643 
   2644 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2645 See \`config.log' for more details." >&5
   2646 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2647 See \`config.log' for more details." >&2;}
   2648    { (exit 1); exit 1; }; }
   2649 
   2650 # Provide some information about the compiler.
   2651 echo "$as_me:$LINENO: checking for C compiler version" >&5
   2652 ac_compiler=`set X $ac_compile; echo $2`
   2653 { (ac_try="$ac_compiler --version >&5"
   2654 case "(($ac_try" in
   2655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2656   *) ac_try_echo=$ac_try;;
   2657 esac
   2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2659   (eval "$ac_compiler --version >&5") 2>&5
   2660   ac_status=$?
   2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2662   (exit $ac_status); }
   2663 { (ac_try="$ac_compiler -v >&5"
   2664 case "(($ac_try" in
   2665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2666   *) ac_try_echo=$ac_try;;
   2667 esac
   2668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2669   (eval "$ac_compiler -v >&5") 2>&5
   2670   ac_status=$?
   2671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2672   (exit $ac_status); }
   2673 { (ac_try="$ac_compiler -V >&5"
   2674 case "(($ac_try" in
   2675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2676   *) ac_try_echo=$ac_try;;
   2677 esac
   2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2679   (eval "$ac_compiler -V >&5") 2>&5
   2680   ac_status=$?
   2681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2682   (exit $ac_status); }
   2683 
   2684 cat >conftest.$ac_ext <<_ACEOF
   2685 /* confdefs.h.  */
   2686 _ACEOF
   2687 cat confdefs.h >>conftest.$ac_ext
   2688 cat >>conftest.$ac_ext <<_ACEOF
   2689 /* end confdefs.h.  */
   2690 
   2691 int
   2692 main ()
   2693 {
   2694 
   2695   ;
   2696   return 0;
   2697 }
   2698 _ACEOF
   2699 ac_clean_files_save=$ac_clean_files
   2700 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2701 # Try to create an executable without -o first, disregard a.out.
   2702 # It will help us diagnose broken compilers, and finding out an intuition
   2703 # of exeext.
   2704 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2705 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
   2706 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2707 #
   2708 # List of possible output files, starting from the most likely.
   2709 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
   2710 # only as a last resort.  b.out is created by i960 compilers.
   2711 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
   2712 #
   2713 # The IRIX 6 linker writes into existing files which may not be
   2714 # executable, retaining their permissions.  Remove them first so a
   2715 # subsequent execution test works.
   2716 ac_rmfiles=
   2717 for ac_file in $ac_files
   2718 do
   2719   case $ac_file in
   2720     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2721     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2722   esac
   2723 done
   2724 rm -f $ac_rmfiles
   2725 
   2726 if { (ac_try="$ac_link_default"
   2727 case "(($ac_try" in
   2728   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2729   *) ac_try_echo=$ac_try;;
   2730 esac
   2731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2732   (eval "$ac_link_default") 2>&5
   2733   ac_status=$?
   2734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2735   (exit $ac_status); }; then
   2736   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2737 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2738 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2739 # so that the user can short-circuit this test for compilers unknown to
   2740 # Autoconf.
   2741 for ac_file in $ac_files ''
   2742 do
   2743   test -f "$ac_file" || continue
   2744   case $ac_file in
   2745     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
   2746 	;;
   2747     [ab].out )
   2748 	# We found the default executable, but exeext='' is most
   2749 	# certainly right.
   2750 	break;;
   2751     *.* )
   2752         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2753 	then :; else
   2754 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2755 	fi
   2756 	# We set ac_cv_exeext here because the later test for it is not
   2757 	# safe: cross compilers may not add the suffix if given an `-o'
   2758 	# argument, so we may need to know it at that point already.
   2759 	# Even if this section looks crufty: it has the advantage of
   2760 	# actually working.
   2761 	break;;
   2762     * )
   2763 	break;;
   2764   esac
   2765 done
   2766 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2767 
   2768 else
   2769   ac_file=''
   2770 fi
   2771 
   2772 { echo "$as_me:$LINENO: result: $ac_file" >&5
   2773 echo "${ECHO_T}$ac_file" >&6; }
   2774 if test -z "$ac_file"; then
   2775   echo "$as_me: failed program was:" >&5
   2776 sed 's/^/| /' conftest.$ac_ext >&5
   2777 
   2778 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2779 See \`config.log' for more details." >&5
   2780 echo "$as_me: error: C compiler cannot create executables
   2781 See \`config.log' for more details." >&2;}
   2782    { (exit 77); exit 77; }; }
   2783 fi
   2784 
   2785 ac_exeext=$ac_cv_exeext
   2786 
   2787 # Check that the compiler produces executables we can run.  If not, either
   2788 # the compiler is broken, or we cross compile.
   2789 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2790 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
   2791 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2792 # If not cross compiling, check that we can run a simple program.
   2793 if test "$cross_compiling" != yes; then
   2794   if { ac_try='./$ac_file'
   2795   { (case "(($ac_try" in
   2796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2797   *) ac_try_echo=$ac_try;;
   2798 esac
   2799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2800   (eval "$ac_try") 2>&5
   2801   ac_status=$?
   2802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2803   (exit $ac_status); }; }; then
   2804     cross_compiling=no
   2805   else
   2806     if test "$cross_compiling" = maybe; then
   2807 	cross_compiling=yes
   2808     else
   2809 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2810 If you meant to cross compile, use \`--host'.
   2811 See \`config.log' for more details." >&5
   2812 echo "$as_me: error: cannot run C compiled programs.
   2813 If you meant to cross compile, use \`--host'.
   2814 See \`config.log' for more details." >&2;}
   2815    { (exit 1); exit 1; }; }
   2816     fi
   2817   fi
   2818 fi
   2819 { echo "$as_me:$LINENO: result: yes" >&5
   2820 echo "${ECHO_T}yes" >&6; }
   2821 
   2822 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2823 ac_clean_files=$ac_clean_files_save
   2824 # Check that the compiler produces executables we can run.  If not, either
   2825 # the compiler is broken, or we cross compile.
   2826 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2827 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
   2828 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2829 echo "${ECHO_T}$cross_compiling" >&6; }
   2830 
   2831 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2832 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
   2833 if { (ac_try="$ac_link"
   2834 case "(($ac_try" in
   2835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2836   *) ac_try_echo=$ac_try;;
   2837 esac
   2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2839   (eval "$ac_link") 2>&5
   2840   ac_status=$?
   2841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2842   (exit $ac_status); }; then
   2843   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2844 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2845 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2846 # `rm'.
   2847 for ac_file in conftest.exe conftest conftest.*; do
   2848   test -f "$ac_file" || continue
   2849   case $ac_file in
   2850     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
   2851     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2852 	  break;;
   2853     * ) break;;
   2854   esac
   2855 done
   2856 else
   2857   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2858 See \`config.log' for more details." >&5
   2859 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2860 See \`config.log' for more details." >&2;}
   2861    { (exit 1); exit 1; }; }
   2862 fi
   2863 
   2864 rm -f conftest$ac_cv_exeext
   2865 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2866 echo "${ECHO_T}$ac_cv_exeext" >&6; }
   2867 
   2868 rm -f conftest.$ac_ext
   2869 EXEEXT=$ac_cv_exeext
   2870 ac_exeext=$EXEEXT
   2871 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2872 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
   2873 if test "${ac_cv_objext+set}" = set; then
   2874   echo $ECHO_N "(cached) $ECHO_C" >&6
   2875 else
   2876   cat >conftest.$ac_ext <<_ACEOF
   2877 /* confdefs.h.  */
   2878 _ACEOF
   2879 cat confdefs.h >>conftest.$ac_ext
   2880 cat >>conftest.$ac_ext <<_ACEOF
   2881 /* end confdefs.h.  */
   2882 
   2883 int
   2884 main ()
   2885 {
   2886 
   2887   ;
   2888   return 0;
   2889 }
   2890 _ACEOF
   2891 rm -f conftest.o conftest.obj
   2892 if { (ac_try="$ac_compile"
   2893 case "(($ac_try" in
   2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2895   *) ac_try_echo=$ac_try;;
   2896 esac
   2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2898   (eval "$ac_compile") 2>&5
   2899   ac_status=$?
   2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2901   (exit $ac_status); }; then
   2902   for ac_file in conftest.o conftest.obj conftest.*; do
   2903   test -f "$ac_file" || continue;
   2904   case $ac_file in
   2905     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
   2906     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2907        break;;
   2908   esac
   2909 done
   2910 else
   2911   echo "$as_me: failed program was:" >&5
   2912 sed 's/^/| /' conftest.$ac_ext >&5
   2913 
   2914 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2915 See \`config.log' for more details." >&5
   2916 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2917 See \`config.log' for more details." >&2;}
   2918    { (exit 1); exit 1; }; }
   2919 fi
   2920 
   2921 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2922 fi
   2923 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2924 echo "${ECHO_T}$ac_cv_objext" >&6; }
   2925 OBJEXT=$ac_cv_objext
   2926 ac_objext=$OBJEXT
   2927 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2928 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
   2929 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2930   echo $ECHO_N "(cached) $ECHO_C" >&6
   2931 else
   2932   cat >conftest.$ac_ext <<_ACEOF
   2933 /* confdefs.h.  */
   2934 _ACEOF
   2935 cat confdefs.h >>conftest.$ac_ext
   2936 cat >>conftest.$ac_ext <<_ACEOF
   2937 /* end confdefs.h.  */
   2938 
   2939 int
   2940 main ()
   2941 {
   2942 #ifndef __GNUC__
   2943        choke me
   2944 #endif
   2945 
   2946   ;
   2947   return 0;
   2948 }
   2949 _ACEOF
   2950 rm -f conftest.$ac_objext
   2951 if { (ac_try="$ac_compile"
   2952 case "(($ac_try" in
   2953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2954   *) ac_try_echo=$ac_try;;
   2955 esac
   2956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   2957   (eval "$ac_compile") 2>conftest.er1
   2958   ac_status=$?
   2959   grep -v '^ *+' conftest.er1 >conftest.err
   2960   rm -f conftest.er1
   2961   cat conftest.err >&5
   2962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2963   (exit $ac_status); } && {
   2964 	 test -z "$ac_c_werror_flag" ||
   2965 	 test ! -s conftest.err
   2966        } && test -s conftest.$ac_objext; then
   2967   ac_compiler_gnu=yes
   2968 else
   2969   echo "$as_me: failed program was:" >&5
   2970 sed 's/^/| /' conftest.$ac_ext >&5
   2971 
   2972 	ac_compiler_gnu=no
   2973 fi
   2974 
   2975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2976 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2977 
   2978 fi
   2979 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2980 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
   2981 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2982 ac_test_CFLAGS=${CFLAGS+set}
   2983 ac_save_CFLAGS=$CFLAGS
   2984 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2985 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
   2986 if test "${ac_cv_prog_cc_g+set}" = set; then
   2987   echo $ECHO_N "(cached) $ECHO_C" >&6
   2988 else
   2989   ac_save_c_werror_flag=$ac_c_werror_flag
   2990    ac_c_werror_flag=yes
   2991    ac_cv_prog_cc_g=no
   2992    CFLAGS="-g"
   2993    cat >conftest.$ac_ext <<_ACEOF
   2994 /* confdefs.h.  */
   2995 _ACEOF
   2996 cat confdefs.h >>conftest.$ac_ext
   2997 cat >>conftest.$ac_ext <<_ACEOF
   2998 /* end confdefs.h.  */
   2999 
   3000 int
   3001 main ()
   3002 {
   3003 
   3004   ;
   3005   return 0;
   3006 }
   3007 _ACEOF
   3008 rm -f conftest.$ac_objext
   3009 if { (ac_try="$ac_compile"
   3010 case "(($ac_try" in
   3011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3012   *) ac_try_echo=$ac_try;;
   3013 esac
   3014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3015   (eval "$ac_compile") 2>conftest.er1
   3016   ac_status=$?
   3017   grep -v '^ *+' conftest.er1 >conftest.err
   3018   rm -f conftest.er1
   3019   cat conftest.err >&5
   3020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3021   (exit $ac_status); } && {
   3022 	 test -z "$ac_c_werror_flag" ||
   3023 	 test ! -s conftest.err
   3024        } && test -s conftest.$ac_objext; then
   3025   ac_cv_prog_cc_g=yes
   3026 else
   3027   echo "$as_me: failed program was:" >&5
   3028 sed 's/^/| /' conftest.$ac_ext >&5
   3029 
   3030 	CFLAGS=""
   3031       cat >conftest.$ac_ext <<_ACEOF
   3032 /* confdefs.h.  */
   3033 _ACEOF
   3034 cat confdefs.h >>conftest.$ac_ext
   3035 cat >>conftest.$ac_ext <<_ACEOF
   3036 /* end confdefs.h.  */
   3037 
   3038 int
   3039 main ()
   3040 {
   3041 
   3042   ;
   3043   return 0;
   3044 }
   3045 _ACEOF
   3046 rm -f conftest.$ac_objext
   3047 if { (ac_try="$ac_compile"
   3048 case "(($ac_try" in
   3049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3050   *) ac_try_echo=$ac_try;;
   3051 esac
   3052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3053   (eval "$ac_compile") 2>conftest.er1
   3054   ac_status=$?
   3055   grep -v '^ *+' conftest.er1 >conftest.err
   3056   rm -f conftest.er1
   3057   cat conftest.err >&5
   3058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3059   (exit $ac_status); } && {
   3060 	 test -z "$ac_c_werror_flag" ||
   3061 	 test ! -s conftest.err
   3062        } && test -s conftest.$ac_objext; then
   3063   :
   3064 else
   3065   echo "$as_me: failed program was:" >&5
   3066 sed 's/^/| /' conftest.$ac_ext >&5
   3067 
   3068 	ac_c_werror_flag=$ac_save_c_werror_flag
   3069 	 CFLAGS="-g"
   3070 	 cat >conftest.$ac_ext <<_ACEOF
   3071 /* confdefs.h.  */
   3072 _ACEOF
   3073 cat confdefs.h >>conftest.$ac_ext
   3074 cat >>conftest.$ac_ext <<_ACEOF
   3075 /* end confdefs.h.  */
   3076 
   3077 int
   3078 main ()
   3079 {
   3080 
   3081   ;
   3082   return 0;
   3083 }
   3084 _ACEOF
   3085 rm -f conftest.$ac_objext
   3086 if { (ac_try="$ac_compile"
   3087 case "(($ac_try" in
   3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3089   *) ac_try_echo=$ac_try;;
   3090 esac
   3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3092   (eval "$ac_compile") 2>conftest.er1
   3093   ac_status=$?
   3094   grep -v '^ *+' conftest.er1 >conftest.err
   3095   rm -f conftest.er1
   3096   cat conftest.err >&5
   3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3098   (exit $ac_status); } && {
   3099 	 test -z "$ac_c_werror_flag" ||
   3100 	 test ! -s conftest.err
   3101        } && test -s conftest.$ac_objext; then
   3102   ac_cv_prog_cc_g=yes
   3103 else
   3104   echo "$as_me: failed program was:" >&5
   3105 sed 's/^/| /' conftest.$ac_ext >&5
   3106 
   3107 
   3108 fi
   3109 
   3110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3111 fi
   3112 
   3113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3114 fi
   3115 
   3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3117    ac_c_werror_flag=$ac_save_c_werror_flag
   3118 fi
   3119 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3120 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
   3121 if test "$ac_test_CFLAGS" = set; then
   3122   CFLAGS=$ac_save_CFLAGS
   3123 elif test $ac_cv_prog_cc_g = yes; then
   3124   if test "$GCC" = yes; then
   3125     CFLAGS="-g -O2"
   3126   else
   3127     CFLAGS="-g"
   3128   fi
   3129 else
   3130   if test "$GCC" = yes; then
   3131     CFLAGS="-O2"
   3132   else
   3133     CFLAGS=
   3134   fi
   3135 fi
   3136 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3137 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
   3138 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3139   echo $ECHO_N "(cached) $ECHO_C" >&6
   3140 else
   3141   ac_cv_prog_cc_c89=no
   3142 ac_save_CC=$CC
   3143 cat >conftest.$ac_ext <<_ACEOF
   3144 /* confdefs.h.  */
   3145 _ACEOF
   3146 cat confdefs.h >>conftest.$ac_ext
   3147 cat >>conftest.$ac_ext <<_ACEOF
   3148 /* end confdefs.h.  */
   3149 #include <stdarg.h>
   3150 #include <stdio.h>
   3151 #include <sys/types.h>
   3152 #include <sys/stat.h>
   3153 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3154 struct buf { int x; };
   3155 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3156 static char *e (p, i)
   3157      char **p;
   3158      int i;
   3159 {
   3160   return p[i];
   3161 }
   3162 static char *f (char * (*g) (char **, int), char **p, ...)
   3163 {
   3164   char *s;
   3165   va_list v;
   3166   va_start (v,p);
   3167   s = g (p, va_arg (v,int));
   3168   va_end (v);
   3169   return s;
   3170 }
   3171 
   3172 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3173    function prototypes and stuff, but not '\xHH' hex character constants.
   3174    These don't provoke an error unfortunately, instead are silently treated
   3175    as 'x'.  The following induces an error, until -std is added to get
   3176    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3177    array size at least.  It's necessary to write '\x00'==0 to get something
   3178    that's true only with -std.  */
   3179 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3180 
   3181 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3182    inside strings and character constants.  */
   3183 #define FOO(x) 'x'
   3184 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3185 
   3186 int test (int i, double x);
   3187 struct s1 {int (*f) (int a);};
   3188 struct s2 {int (*f) (double a);};
   3189 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3190 int argc;
   3191 char **argv;
   3192 int
   3193 main ()
   3194 {
   3195 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3196   ;
   3197   return 0;
   3198 }
   3199 _ACEOF
   3200 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3201 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3202 do
   3203   CC="$ac_save_CC $ac_arg"
   3204   rm -f conftest.$ac_objext
   3205 if { (ac_try="$ac_compile"
   3206 case "(($ac_try" in
   3207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3208   *) ac_try_echo=$ac_try;;
   3209 esac
   3210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3211   (eval "$ac_compile") 2>conftest.er1
   3212   ac_status=$?
   3213   grep -v '^ *+' conftest.er1 >conftest.err
   3214   rm -f conftest.er1
   3215   cat conftest.err >&5
   3216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3217   (exit $ac_status); } && {
   3218 	 test -z "$ac_c_werror_flag" ||
   3219 	 test ! -s conftest.err
   3220        } && test -s conftest.$ac_objext; then
   3221   ac_cv_prog_cc_c89=$ac_arg
   3222 else
   3223   echo "$as_me: failed program was:" >&5
   3224 sed 's/^/| /' conftest.$ac_ext >&5
   3225 
   3226 
   3227 fi
   3228 
   3229 rm -f core conftest.err conftest.$ac_objext
   3230   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3231 done
   3232 rm -f conftest.$ac_ext
   3233 CC=$ac_save_CC
   3234 
   3235 fi
   3236 # AC_CACHE_VAL
   3237 case "x$ac_cv_prog_cc_c89" in
   3238   x)
   3239     { echo "$as_me:$LINENO: result: none needed" >&5
   3240 echo "${ECHO_T}none needed" >&6; } ;;
   3241   xno)
   3242     { echo "$as_me:$LINENO: result: unsupported" >&5
   3243 echo "${ECHO_T}unsupported" >&6; } ;;
   3244   *)
   3245     CC="$CC $ac_cv_prog_cc_c89"
   3246     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3247 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
   3248 esac
   3249 
   3250 
   3251 ac_ext=c
   3252 ac_cpp='$CPP $CPPFLAGS'
   3253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3256 
   3257 ac_ext=cpp
   3258 ac_cpp='$CXXCPP $CPPFLAGS'
   3259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   3262 if test -z "$CXX"; then
   3263   if test -n "$CCC"; then
   3264     CXX=$CCC
   3265   else
   3266     if test -n "$ac_tool_prefix"; then
   3267   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3268   do
   3269     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3270 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3273 if test "${ac_cv_prog_CXX+set}" = set; then
   3274   echo $ECHO_N "(cached) $ECHO_C" >&6
   3275 else
   3276   if test -n "$CXX"; then
   3277   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   3278 else
   3279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3280 for as_dir in $PATH
   3281 do
   3282   IFS=$as_save_IFS
   3283   test -z "$as_dir" && as_dir=.
   3284   for ac_exec_ext in '' $ac_executable_extensions; do
   3285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3286     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   3287     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3288     break 2
   3289   fi
   3290 done
   3291 done
   3292 IFS=$as_save_IFS
   3293 
   3294 fi
   3295 fi
   3296 CXX=$ac_cv_prog_CXX
   3297 if test -n "$CXX"; then
   3298   { echo "$as_me:$LINENO: result: $CXX" >&5
   3299 echo "${ECHO_T}$CXX" >&6; }
   3300 else
   3301   { echo "$as_me:$LINENO: result: no" >&5
   3302 echo "${ECHO_T}no" >&6; }
   3303 fi
   3304 
   3305 
   3306     test -n "$CXX" && break
   3307   done
   3308 fi
   3309 if test -z "$CXX"; then
   3310   ac_ct_CXX=$CXX
   3311   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   3312 do
   3313   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3314 set dummy $ac_prog; ac_word=$2
   3315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
   3316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
   3317 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   3318   echo $ECHO_N "(cached) $ECHO_C" >&6
   3319 else
   3320   if test -n "$ac_ct_CXX"; then
   3321   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   3322 else
   3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3324 for as_dir in $PATH
   3325 do
   3326   IFS=$as_save_IFS
   3327   test -z "$as_dir" && as_dir=.
   3328   for ac_exec_ext in '' $ac_executable_extensions; do
   3329   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3330     ac_cv_prog_ac_ct_CXX="$ac_prog"
   3331     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3332     break 2
   3333   fi
   3334 done
   3335 done
   3336 IFS=$as_save_IFS
   3337 
   3338 fi
   3339 fi
   3340 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   3341 if test -n "$ac_ct_CXX"; then
   3342   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   3343 echo "${ECHO_T}$ac_ct_CXX" >&6; }
   3344 else
   3345   { echo "$as_me:$LINENO: result: no" >&5
   3346 echo "${ECHO_T}no" >&6; }
   3347 fi
   3348 
   3349 
   3350   test -n "$ac_ct_CXX" && break
   3351 done
   3352 
   3353   if test "x$ac_ct_CXX" = x; then
   3354     CXX="g++"
   3355   else
   3356     case $cross_compiling:$ac_tool_warned in
   3357 yes:)
   3358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
   3359 whose name does not start with the host triplet.  If you think this
   3360 configuration is useful to you, please write to autoconf (at] gnu.org." >&5
   3361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
   3362 whose name does not start with the host triplet.  If you think this
   3363 configuration is useful to you, please write to autoconf (at] gnu.org." >&2;}
   3364 ac_tool_warned=yes ;;
   3365 esac
   3366     CXX=$ac_ct_CXX
   3367   fi
   3368 fi
   3369 
   3370   fi
   3371 fi
   3372 # Provide some information about the compiler.
   3373 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   3374 ac_compiler=`set X $ac_compile; echo $2`
   3375 { (ac_try="$ac_compiler --version >&5"
   3376 case "(($ac_try" in
   3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3378   *) ac_try_echo=$ac_try;;
   3379 esac
   3380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3381   (eval "$ac_compiler --version >&5") 2>&5
   3382   ac_status=$?
   3383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3384   (exit $ac_status); }
   3385 { (ac_try="$ac_compiler -v >&5"
   3386 case "(($ac_try" in
   3387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3388   *) ac_try_echo=$ac_try;;
   3389 esac
   3390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3391   (eval "$ac_compiler -v >&5") 2>&5
   3392   ac_status=$?
   3393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3394   (exit $ac_status); }
   3395 { (ac_try="$ac_compiler -V >&5"
   3396 case "(($ac_try" in
   3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3398   *) ac_try_echo=$ac_try;;
   3399 esac
   3400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3401   (eval "$ac_compiler -V >&5") 2>&5
   3402   ac_status=$?
   3403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3404   (exit $ac_status); }
   3405 
   3406 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   3407 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
   3408 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   3409   echo $ECHO_N "(cached) $ECHO_C" >&6
   3410 else
   3411   cat >conftest.$ac_ext <<_ACEOF
   3412 /* confdefs.h.  */
   3413 _ACEOF
   3414 cat confdefs.h >>conftest.$ac_ext
   3415 cat >>conftest.$ac_ext <<_ACEOF
   3416 /* end confdefs.h.  */
   3417 
   3418 int
   3419 main ()
   3420 {
   3421 #ifndef __GNUC__
   3422        choke me
   3423 #endif
   3424 
   3425   ;
   3426   return 0;
   3427 }
   3428 _ACEOF
   3429 rm -f conftest.$ac_objext
   3430 if { (ac_try="$ac_compile"
   3431 case "(($ac_try" in
   3432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3433   *) ac_try_echo=$ac_try;;
   3434 esac
   3435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3436   (eval "$ac_compile") 2>conftest.er1
   3437   ac_status=$?
   3438   grep -v '^ *+' conftest.er1 >conftest.err
   3439   rm -f conftest.er1
   3440   cat conftest.err >&5
   3441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3442   (exit $ac_status); } && {
   3443 	 test -z "$ac_cxx_werror_flag" ||
   3444 	 test ! -s conftest.err
   3445        } && test -s conftest.$ac_objext; then
   3446   ac_compiler_gnu=yes
   3447 else
   3448   echo "$as_me: failed program was:" >&5
   3449 sed 's/^/| /' conftest.$ac_ext >&5
   3450 
   3451 	ac_compiler_gnu=no
   3452 fi
   3453 
   3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3455 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   3456 
   3457 fi
   3458 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   3459 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
   3460 GXX=`test $ac_compiler_gnu = yes && echo yes`
   3461 ac_test_CXXFLAGS=${CXXFLAGS+set}
   3462 ac_save_CXXFLAGS=$CXXFLAGS
   3463 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   3464 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
   3465 if test "${ac_cv_prog_cxx_g+set}" = set; then
   3466   echo $ECHO_N "(cached) $ECHO_C" >&6
   3467 else
   3468   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   3469    ac_cxx_werror_flag=yes
   3470    ac_cv_prog_cxx_g=no
   3471    CXXFLAGS="-g"
   3472    cat >conftest.$ac_ext <<_ACEOF
   3473 /* confdefs.h.  */
   3474 _ACEOF
   3475 cat confdefs.h >>conftest.$ac_ext
   3476 cat >>conftest.$ac_ext <<_ACEOF
   3477 /* end confdefs.h.  */
   3478 
   3479 int
   3480 main ()
   3481 {
   3482 
   3483   ;
   3484   return 0;
   3485 }
   3486 _ACEOF
   3487 rm -f conftest.$ac_objext
   3488 if { (ac_try="$ac_compile"
   3489 case "(($ac_try" in
   3490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3491   *) ac_try_echo=$ac_try;;
   3492 esac
   3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3494   (eval "$ac_compile") 2>conftest.er1
   3495   ac_status=$?
   3496   grep -v '^ *+' conftest.er1 >conftest.err
   3497   rm -f conftest.er1
   3498   cat conftest.err >&5
   3499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3500   (exit $ac_status); } && {
   3501 	 test -z "$ac_cxx_werror_flag" ||
   3502 	 test ! -s conftest.err
   3503        } && test -s conftest.$ac_objext; then
   3504   ac_cv_prog_cxx_g=yes
   3505 else
   3506   echo "$as_me: failed program was:" >&5
   3507 sed 's/^/| /' conftest.$ac_ext >&5
   3508 
   3509 	CXXFLAGS=""
   3510       cat >conftest.$ac_ext <<_ACEOF
   3511 /* confdefs.h.  */
   3512 _ACEOF
   3513 cat confdefs.h >>conftest.$ac_ext
   3514 cat >>conftest.$ac_ext <<_ACEOF
   3515 /* end confdefs.h.  */
   3516 
   3517 int
   3518 main ()
   3519 {
   3520 
   3521   ;
   3522   return 0;
   3523 }
   3524 _ACEOF
   3525 rm -f conftest.$ac_objext
   3526 if { (ac_try="$ac_compile"
   3527 case "(($ac_try" in
   3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3529   *) ac_try_echo=$ac_try;;
   3530 esac
   3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3532   (eval "$ac_compile") 2>conftest.er1
   3533   ac_status=$?
   3534   grep -v '^ *+' conftest.er1 >conftest.err
   3535   rm -f conftest.er1
   3536   cat conftest.err >&5
   3537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3538   (exit $ac_status); } && {
   3539 	 test -z "$ac_cxx_werror_flag" ||
   3540 	 test ! -s conftest.err
   3541        } && test -s conftest.$ac_objext; then
   3542   :
   3543 else
   3544   echo "$as_me: failed program was:" >&5
   3545 sed 's/^/| /' conftest.$ac_ext >&5
   3546 
   3547 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3548 	 CXXFLAGS="-g"
   3549 	 cat >conftest.$ac_ext <<_ACEOF
   3550 /* confdefs.h.  */
   3551 _ACEOF
   3552 cat confdefs.h >>conftest.$ac_ext
   3553 cat >>conftest.$ac_ext <<_ACEOF
   3554 /* end confdefs.h.  */
   3555 
   3556 int
   3557 main ()
   3558 {
   3559 
   3560   ;
   3561   return 0;
   3562 }
   3563 _ACEOF
   3564 rm -f conftest.$ac_objext
   3565 if { (ac_try="$ac_compile"
   3566 case "(($ac_try" in
   3567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3568   *) ac_try_echo=$ac_try;;
   3569 esac
   3570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
   3571   (eval "$ac_compile") 2>conftest.er1
   3572   ac_status=$?
   3573   grep -v '^ *+' conftest.er1 >conftest.err
   3574   rm -f conftest.er1
   3575   cat conftest.err >&5
   3576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3577   (exit $ac_status); } && {
   3578 	 test -z "$ac_cxx_werror_flag" ||
   3579 	 test ! -s conftest.err
   3580        } && test -s conftest.$ac_objext; then
   3581   ac_cv_prog_cxx_g=yes
   3582 else
   3583   echo "$as_me: failed program was:" >&5
   3584 sed 's/^/| /' conftest.$ac_ext >&5
   3585 
   3586 
   3587 fi
   3588 
   3589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3590 fi
   3591 
   3592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3593 fi
   3594 
   3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3596    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   3597 fi
   3598 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   3599 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
   3600 if test "$ac_test_CXXFLAGS" = set; then
   3601   CXXFLAGS=$ac_save_CXXFLAGS
   3602 elif test $ac_cv_prog_cxx_g = yes; then
   3603   if test "$GXX" = yes; then
   3604     CXXFLAGS="-g -O2"
   3605   else
   3606     CXXFLAGS="-g"
   3607   fi
   3608 else
   3609   if test "$GXX" = yes; then
   3610     CXXFLAGS="-O2"
   3611   else
   3612     CXXFLAGS=
   3613   fi
   3614 fi
   3615 ac_ext=c
   3616 ac_cpp='$CPP $CPPFLAGS'
   3617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3620 
   3621 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3622 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
   3623 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3624 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   3625   echo $ECHO_N "(cached) $ECHO_C" >&6
   3626 else
   3627   cat >conftest.make <<\_ACEOF
   3628 SHELL = /bin/sh
   3629 all:
   3630 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3631 _ACEOF
   3632 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   3633 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3634   *@@@%%%=?*=@@@%%%*)
   3635     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3636   *)
   3637     eval ac_cv_prog_make_${ac_make}_set=no;;
   3638 esac
   3639 rm -f conftest.make
   3640 fi
   3641 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3642   { echo "$as_me:$LINENO: result: yes" >&5
   3643 echo "${ECHO_T}yes" >&6; }
   3644   SET_MAKE=
   3645 else
   3646   { echo "$as_me:$LINENO: result: no" >&5
   3647 echo "${ECHO_T}no" >&6; }
   3648   SET_MAKE="MAKE=${MAKE-make}"
   3649 fi
   3650 
   3651 
   3652 # Check whether --enable-static was given.
   3653 if test "${enable_static+set}" = set; then
   3654   enableval=$enable_static; p=${PACKAGE-default}
   3655     case $enableval in
   3656     yes) enable_static=yes ;;
   3657     no) enable_static=no ;;
   3658     *)
   3659      enable_static=no
   3660       # Look at the argument we got.  We use all the common list separators.
   3661       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3662       for pkg in $enableval; do
   3663 	IFS="$lt_save_ifs"
   3664 	if test "X$pkg" = "X$p"; then
   3665 	  enable_static=yes
   3666 	fi
   3667       done
   3668       IFS="$lt_save_ifs"
   3669       ;;
   3670     esac
   3671 else
   3672   enable_static=no
   3673 fi
   3674 
   3675 
   3676 
   3677 
   3678 
   3679 # Check whether --enable-shared was given.
   3680 if test "${enable_shared+set}" = set; then
   3681   enableval=$enable_shared; p=${PACKAGE-default}
   3682     case $enableval in
   3683     yes) enable_shared=yes ;;
   3684     no) enable_shared=no ;;
   3685     *)
   3686       enable_shared=no
   3687       # Look at the argument we got.  We use all the common list separators.
   3688       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3689       for pkg in $enableval; do
   3690 	IFS="$lt_save_ifs"
   3691 	if test "X$pkg" = "X$p"; then
   3692 	  enable_shared=yes
   3693 	fi
   3694       done
   3695       IFS="$lt_save_ifs"
   3696       ;;
   3697     esac
   3698 else
   3699   enable_shared=yes
   3700 fi
   3701 
   3702 
   3703 # Check whether --enable-fast-install was given.
   3704 if test "${enable_fast_install+set}" = set; then
   3705   enableval=$enable_fast_install; p=${PACKAGE-default}
   3706     case $enableval in
   3707     yes) enable_fast_install=yes ;;
   3708     no) enable_fast_install=no ;;
   3709     *)
   3710       enable_fast_install=no
   3711       # Look at the argument we got.  We use all the common list separators.
   3712       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3713       for pkg in $enableval; do
   3714 	IFS="$lt_save_ifs"
   3715 	if test "X$pkg" = "X$p"; then
   3716 	  enable_fast_install=yes
   3717 	fi
   3718       done
   3719       IFS="$lt_save_ifs"
   3720       ;;
   3721     esac
   3722 else
   3723   enable_fast_install=yes
   3724 fi
   3725 
   3726 
   3727 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3728 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
   3729 if test "${lt_cv_path_SED+set}" = set; then
   3730   echo $ECHO_N "(cached) $ECHO_C" >&6
   3731 else
   3732   # Loop through the user's path and test for sed and gsed.
   3733 # Then use that list of sed's as ones to test for truncation.
   3734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3735 for as_dir in $PATH
   3736 do
   3737   IFS=$as_save_IFS
   3738   test -z "$as_dir" && as_dir=.
   3739   for lt_ac_prog in sed gsed; do
   3740     for ac_exec_ext in '' $ac_executable_extensions; do
   3741       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   3742         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3743       fi
   3744     done
   3745   done
   3746 done
   3747 lt_ac_max=0
   3748 lt_ac_count=0
   3749 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3750 # along with /bin/sed that truncates output.
   3751 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3752   test ! -f $lt_ac_sed && break
   3753   cat /dev/null > conftest.in
   3754   lt_ac_count=0
   3755   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3756   # Check for GNU sed and select it if it is found.
   3757   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3758     lt_cv_path_SED=$lt_ac_sed
   3759     break
   3760   fi
   3761   while true; do
   3762     cat conftest.in conftest.in >conftest.tmp
   3763     mv conftest.tmp conftest.in
   3764     cp conftest.in conftest.nl
   3765     echo >>conftest.nl
   3766     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3767     cmp -s conftest.out conftest.nl || break
   3768     # 10000 chars as input seems more than enough
   3769     test $lt_ac_count -gt 10 && break
   3770     lt_ac_count=`expr $lt_ac_count + 1`
   3771     if test $lt_ac_count -gt $lt_ac_max; then
   3772       lt_ac_max=$lt_ac_count
   3773       lt_cv_path_SED=$lt_ac_sed
   3774     fi
   3775   done
   3776 done
   3777 SED=$lt_cv_path_SED
   3778 
   3779 fi
   3780 
   3781 { echo "$as_me:$LINENO: result: $SED" >&5
   3782 echo "${ECHO_T}$SED" >&6; }
   3783 
   3784 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3785 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
   3786 if test "${ac_cv_path_GREP+set}" = set; then
   3787   echo $ECHO_N "(cached) $ECHO_C" >&6
   3788 else
   3789   # Extract the first word of "grep ggrep" to use in msg output
   3790 if test -z "$GREP"; then
   3791 set dummy grep ggrep; ac_prog_name=$2
   3792 if test "${ac_cv_path_GREP+set}" = set; then
   3793   echo $ECHO_N "(cached) $ECHO_C" >&6
   3794 else
   3795   ac_path_GREP_found=false
   3796 # Loop through the user's path and test for each of PROGNAME-LIST
   3797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3798 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3799 do
   3800   IFS=$as_save_IFS
   3801   test -z "$as_dir" && as_dir=.
   3802   for ac_prog in grep ggrep; do
   3803   for ac_exec_ext in '' $ac_executable_extensions; do
   3804     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3805     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3806     # Check for GNU ac_path_GREP and select it if it is found.
   3807   # Check for GNU $ac_path_GREP
   3808 case `"$ac_path_GREP" --version 2>&1` in
   3809 *GNU*)
   3810   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3811 *)
   3812   ac_count=0
   3813   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3814   while :
   3815   do
   3816     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3817     mv "conftest.tmp" "conftest.in"
   3818     cp "conftest.in" "conftest.nl"
   3819     echo 'GREP' >> "conftest.nl"
   3820     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3821     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3822     ac_count=`expr $ac_count + 1`
   3823     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3824       # Best one so far, save it but keep looking for a better one
   3825       ac_cv_path_GREP="$ac_path_GREP"
   3826       ac_path_GREP_max=$ac_count
   3827     fi
   3828     # 10*(2^10) chars as input seems more than enough
   3829     test $ac_count -gt 10 && break
   3830   done
   3831   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3832 esac
   3833 
   3834 
   3835     $ac_path_GREP_found && break 3
   3836   done
   3837 done
   3838 
   3839 done
   3840 IFS=$as_save_IFS
   3841 
   3842 
   3843 fi
   3844 
   3845 GREP="$ac_cv_path_GREP"
   3846 if test -z "$GREP"; then
   3847   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3848 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3849    { (exit 1); exit 1; }; }
   3850 fi
   3851 
   3852 else
   3853   ac_cv_path_GREP=$GREP
   3854 fi
   3855 
   3856 
   3857 fi
   3858 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3859 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
   3860  GREP="$ac_cv_path_GREP"
   3861 
   3862 
   3863 { echo "$as_me:$LINENO: checking for egrep" >&5
   3864 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
   3865 if test "${ac_cv_path_EGREP+set}" = set; then
   3866   echo $ECHO_N "(cached) $ECHO_C" >&6
   3867 else
   3868   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3869    then ac_cv_path_EGREP="$GREP -E"
   3870    else
   3871      # Extract the first word of "egrep" to use in msg output
   3872 if test -z "$EGREP"; then
   3873 set dummy egrep; ac_prog_name=$2
   3874 if test "${ac_cv_path_EGREP+set}" = set; then
   3875   echo $ECHO_N "(cached) $ECHO_C" >&6
   3876 else
   3877   ac_path_EGREP_found=false
   3878 # Loop through the user's path and test for each of PROGNAME-LIST
   3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3880 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3881 do
   3882   IFS=$as_save_IFS
   3883   test -z "$as_dir" && as_dir=.
   3884   for ac_prog in egrep; do
   3885   for ac_exec_ext in '' $ac_executable_extensions; do
   3886     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3887     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3888     # Check for GNU ac_path_EGREP and select it if it is found.
   3889   # Check for GNU $ac_path_EGREP
   3890 case `"$ac_path_EGREP" --version 2>&1` in
   3891 *GNU*)
   3892   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3893 *)
   3894   ac_count=0
   3895   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
   3896   while :
   3897   do
   3898     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3899     mv "conftest.tmp" "conftest.in"
   3900     cp "conftest.in" "conftest.nl"
   3901     echo 'EGREP' >> "conftest.nl"
   3902     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3903     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3904     ac_count=`expr $ac_count + 1`
   3905     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3906       # Best one so far, save it but keep looking for a better one
   3907       ac_cv_path_EGREP="$ac_path_EGREP"
   3908       ac_path_EGREP_max=$ac_count
   3909     fi
   3910     # 10*(2^10) chars as input seems more than enough
   3911     test $ac_count -gt 10 && break
   3912   done
   3913   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3914 esac
   3915 
   3916 
   3917     $ac_path_EGREP_found && break 3
   3918   done
   3919 done
   3920 
   3921 done
   3922 IFS=$as_save_IFS
   3923 
   3924 
   3925 fi
   3926 
   3927 EGREP="$ac_cv_path_EGREP"
   3928 if test -z "$EGREP"; then
   3929   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3930 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3931    { (exit 1); exit 1; }; }
   3932 fi
   3933 
   3934 else
   3935   ac_cv_path_EGREP=$EGREP
   3936 fi
   3937 
   3938 
   3939    fi
   3940 fi
   3941 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   3942 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
   3943  EGREP="$ac_cv_path_EGREP"
   3944 
   3945 
   3946 
   3947 # Check whether --with-gnu-ld was given.
   3948 if test "${with_gnu_ld+set}" = set; then
   3949   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   3950 else
   3951   with_gnu_ld=no
   3952 fi
   3953 
   3954 ac_prog=ld
   3955 if test "$GCC" = yes; then
   3956   # Check if gcc -print-prog-name=ld gives a path.
   3957   { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   3958 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
   3959   case $host in
   3960   *-*-mingw*)
   3961     # gcc leaves a trailing carriage return which upsets mingw
   3962     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   3963   *)
   3964     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   3965   esac
   3966   case $ac_prog in
   3967     # Accept absolute paths.
   3968     [\\/]* | ?:[\\/]*)
   3969       re_direlt='/[^/][^/]*/\.\./'
   3970       # Canonicalize the pathname of ld
   3971       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   3972       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   3973 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   3974       done
   3975       test -z "$LD" && LD="$ac_prog"
   3976       ;;
   3977   "")
   3978     # If it fails, then pretend we aren't using GCC.
   3979     ac_prog=ld
   3980     ;;
   3981   *)
   3982     # If it is relative, then search for the first ld in PATH.
   3983     with_gnu_ld=unknown
   3984     ;;
   3985   esac
   3986 elif test "$with_gnu_ld" = yes; then
   3987   { echo "$as_me:$LINENO: checking for GNU ld" >&5
   3988 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
   3989 else
   3990   { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   3991 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
   3992 fi
   3993 if test "${lt_cv_path_LD+set}" = set; then
   3994   echo $ECHO_N "(cached) $ECHO_C" >&6
   3995 else
   3996   if test -z "$LD"; then
   3997   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   3998   for ac_dir in $PATH; do
   3999     IFS="$lt_save_ifs"
   4000     test -z "$ac_dir" && ac_dir=.
   4001     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4002       lt_cv_path_LD="$ac_dir/$ac_prog"
   4003       # Check to see if the program is GNU ld.  I'd rather use --version,
   4004       # but apparently some GNU ld's only accept -v.
   4005       # Break only if it was the GNU/non-GNU ld that we prefer.
   4006       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4007       *GNU* | *'with BFD'*)
   4008 	test "$with_gnu_ld" != no && break
   4009 	;;
   4010       *)
   4011 	test "$with_gnu_ld" != yes && break
   4012 	;;
   4013       esac
   4014     fi
   4015   done
   4016   IFS="$lt_save_ifs"
   4017 else
   4018   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4019 fi
   4020 fi
   4021 
   4022 LD="$lt_cv_path_LD"
   4023 if test -n "$LD"; then
   4024   { echo "$as_me:$LINENO: result: $LD" >&5
   4025 echo "${ECHO_T}$LD" >&6; }
   4026 else
   4027   { echo "$as_me:$LINENO: result: no" >&5
   4028 echo "${ECHO_T}no" >&6; }
   4029 fi
   4030 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4031 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4032    { (exit 1); exit 1; }; }
   4033 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4034 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
   4035 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4036   echo $ECHO_N "(cached) $ECHO_C" >&6
   4037 else
   4038   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   4039 case `$LD -v 2>&1 </dev/null` in
   4040 *GNU* | *'with BFD'*)
   4041   lt_cv_prog_gnu_ld=