Home | History | Annotate | Download | only in grub
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59 for GRUB 0.97.
      4 #
      5 # Report bugs to <bug-grub (at] gnu.org>.
      6 #
      7 # Copyright (C) 2003 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 Bourne compatible
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22   set -o posix
     23 fi
     24 DUALCASE=1; export DUALCASE # for MKS sh
     25 
     26 # Support unset when possible.
     27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28   as_unset=unset
     29 else
     30   as_unset=false
     31 fi
     32 
     33 
     34 # Work around bugs in pre-3.0 UWIN ksh.
     35 $as_unset ENV MAIL MAILPATH
     36 PS1='$ '
     37 PS2='> '
     38 PS4='+ '
     39 
     40 # NLS nuisances.
     41 for as_var in \
     42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44   LC_TELEPHONE LC_TIME
     45 do
     46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47     eval $as_var=C; export $as_var
     48   else
     49     $as_unset $as_var
     50   fi
     51 done
     52 
     53 # Required to use basename.
     54 if expr a : '\(a\)' >/dev/null 2>&1; then
     55   as_expr=expr
     56 else
     57   as_expr=false
     58 fi
     59 
     60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61   as_basename=basename
     62 else
     63   as_basename=false
     64 fi
     65 
     66 
     67 # Name of the executable.
     68 as_me=`$as_basename "$0" ||
     69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70 	 X"$0" : 'X\(//\)$' \| \
     71 	 X"$0" : 'X\(/\)$' \| \
     72 	 .     : '\(.\)' 2>/dev/null ||
     73 echo X/"$0" |
     74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     76   	  /^X\/\(\/\).*/{ s//\1/; q; }
     77   	  s/.*/./; q'`
     78 
     79 
     80 # PATH needs CR, and LINENO needs CR and PATH.
     81 # Avoid depending upon Character Ranges.
     82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85 as_cr_digits='0123456789'
     86 as_cr_alnum=$as_cr_Letters$as_cr_digits
     87 
     88 # The user is always right.
     89 if test "${PATH_SEPARATOR+set}" != set; then
     90   echo "#! /bin/sh" >conf$$.sh
     91   echo  "exit 0"   >>conf$$.sh
     92   chmod +x conf$$.sh
     93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94     PATH_SEPARATOR=';'
     95   else
     96     PATH_SEPARATOR=:
     97   fi
     98   rm -f conf$$.sh
     99 fi
    100 
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
    132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134 do
    135   IFS=$as_save_IFS
    136   test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138 	 case $as_dir in
    139 	 /*)
    140 	   if ("$as_dir/$as_base" -c '
    141   as_lineno_1=$LINENO
    142   as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148 	     CONFIG_SHELL=$as_dir/$as_base
    149 	     export CONFIG_SHELL
    150 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151 	   fi;;
    152 	 esac
    153        done
    154 done
    155 ;;
    156   esac
    157 
    158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159   # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
    164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
    167     sed '
    168       N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172       t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
    175     ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
    177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178    { (exit 1); exit 1; }; }
    179 
    180   # Don't try to exec as it changes $[0], causing all sort of problems
    181   # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
    184   # Exit status is that of the last command.
    185   exit
    186 }
    187 
    188 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='	' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
    197   as_expr=expr
    198 else
    199   as_expr=false
    200 fi
    201 
    202 rm -f conf$$ conf$$.exe conf$$.file
    203 echo >conf$$.file
    204 if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
    209     as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213 elif ln conf$$.file conf$$ 2>/dev/null; then
    214   as_ln_s=ln
    215 else
    216   as_ln_s='cp -p'
    217 fi
    218 rm -f conf$$ conf$$.exe conf$$.file
    219 
    220 if mkdir -p . 2>/dev/null; then
    221   as_mkdir_p=:
    222 else
    223   test -d ./-p && rmdir ./-p
    224   as_mkdir_p=false
    225 fi
    226 
    227 as_executable_p="test -f"
    228 
    229 # Sed expression to map a string onto a valid CPP name.
    230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    231 
    232 # Sed expression to map a string onto a valid variable name.
    233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234 
    235 
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS=" 	$as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
    245 
    246 # Name of the host.
    247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    248 # so uname gets run too.
    249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250 
    251 exec 6>&1
    252 
    253 #
    254 # Initializations.
    255 #
    256 ac_default_prefix=/usr/local
    257 ac_config_libobj_dir=.
    258 cross_compiling=no
    259 subdirs=
    260 MFLAGS=
    261 MAKEFLAGS=
    262 SHELL=${CONFIG_SHELL-/bin/sh}
    263 
    264 # Maximum number of lines to put in a shell here document.
    265 # This variable seems obsolete.  It should probably be removed, and
    266 # only ac_max_sed_lines should be used.
    267 : ${ac_max_here_lines=38}
    268 
    269 # Identity of this package.
    270 PACKAGE_NAME='GRUB'
    271 PACKAGE_TARNAME='grub'
    272 PACKAGE_VERSION='0.97'
    273 PACKAGE_STRING='GRUB 0.97'
    274 PACKAGE_BUGREPORT='bug-grub (at] gnu.org'
    275 
    276 ac_unique_file="stage2/stage2.c"
    277 # Factoring default headers for most tests.
    278 ac_includes_default="\
    279 #include <stdio.h>
    280 #if HAVE_SYS_TYPES_H
    281 # include <sys/types.h>
    282 #endif
    283 #if HAVE_SYS_STAT_H
    284 # include <sys/stat.h>
    285 #endif
    286 #if STDC_HEADERS
    287 # include <stdlib.h>
    288 # include <stddef.h>
    289 #else
    290 # if HAVE_STDLIB_H
    291 #  include <stdlib.h>
    292 # endif
    293 #endif
    294 #if HAVE_STRING_H
    295 # if !STDC_HEADERS && HAVE_MEMORY_H
    296 #  include <memory.h>
    297 # endif
    298 # include <string.h>
    299 #endif
    300 #if HAVE_STRINGS_H
    301 # include <strings.h>
    302 #endif
    303 #if HAVE_INTTYPES_H
    304 # include <inttypes.h>
    305 #else
    306 # if HAVE_STDINT_H
    307 #  include <stdint.h>
    308 # endif
    309 #endif
    310 #if HAVE_UNISTD_H
    311 # include <unistd.h>
    312 #endif"
    313 
    314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar build build_cpu build_vendor build_os host host_cpu host_vendor host_os MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT PERL CC ac_ct_CC CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS RANLIB ac_ct_RANLIB STAGE1_CFLAGS STAGE2_CFLAGS GRUB_CFLAGS OBJCOPY ac_ct_OBJCOPY GRUB_LIBS CPP EGREP NETBOOT_SUPPORT_TRUE NETBOOT_SUPPORT_FALSE DISKLESS_SUPPORT_TRUE DISKLESS_SUPPORT_FALSE HERCULES_SUPPORT_TRUE HERCULES_SUPPORT_FALSE SERIAL_SUPPORT_TRUE SERIAL_SUPPORT_FALSE SERIAL_SPEED_SIMULATION_TRUE SERIAL_SPEED_SIMULATION_FALSE BUILD_EXAMPLE_KERNEL_TRUE BUILD_EXAMPLE_KERNEL_FALSE FSYS_CFLAGS NET_CFLAGS NET_EXTRAFLAGS NETBOOT_DRIVERS CCASFLAGS LIBOBJS LTLIBOBJS'
    315 ac_subst_files=''
    316 
    317 # Initialize some variables set by options.
    318 ac_init_help=
    319 ac_init_version=false
    320 # The variables have the same names as the options, with
    321 # dashes changed to underlines.
    322 cache_file=/dev/null
    323 exec_prefix=NONE
    324 no_create=
    325 no_recursion=
    326 prefix=NONE
    327 program_prefix=NONE
    328 program_suffix=NONE
    329 program_transform_name=s,x,x,
    330 silent=
    331 site=
    332 srcdir=
    333 verbose=
    334 x_includes=NONE
    335 x_libraries=NONE
    336 
    337 # Installation directory options.
    338 # These are left unexpanded so users can "make install exec_prefix=/foo"
    339 # and all the variables that are supposed to be based on exec_prefix
    340 # by default will actually change.
    341 # Use braces instead of parens because sh, perl, etc. also accept them.
    342 bindir='${exec_prefix}/bin'
    343 sbindir='${exec_prefix}/sbin'
    344 libexecdir='${exec_prefix}/libexec'
    345 datadir='${prefix}/share'
    346 sysconfdir='${prefix}/etc'
    347 sharedstatedir='${prefix}/com'
    348 localstatedir='${prefix}/var'
    349 libdir='${exec_prefix}/lib'
    350 includedir='${prefix}/include'
    351 oldincludedir='/usr/include'
    352 infodir='${prefix}/info'
    353 mandir='${prefix}/man'
    354 
    355 ac_prev=
    356 for ac_option
    357 do
    358   # If the previous option needs an argument, assign it.
    359   if test -n "$ac_prev"; then
    360     eval "$ac_prev=\$ac_option"
    361     ac_prev=
    362     continue
    363   fi
    364 
    365   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    366 
    367   # Accept the important Cygnus configure options, so we can diagnose typos.
    368 
    369   case $ac_option in
    370 
    371   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    372     ac_prev=bindir ;;
    373   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    374     bindir=$ac_optarg ;;
    375 
    376   -build | --build | --buil | --bui | --bu)
    377     ac_prev=build_alias ;;
    378   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    379     build_alias=$ac_optarg ;;
    380 
    381   -cache-file | --cache-file | --cache-fil | --cache-fi \
    382   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    383     ac_prev=cache_file ;;
    384   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    385   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    386     cache_file=$ac_optarg ;;
    387 
    388   --config-cache | -C)
    389     cache_file=config.cache ;;
    390 
    391   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    392     ac_prev=datadir ;;
    393   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394   | --da=*)
    395     datadir=$ac_optarg ;;
    396 
    397   -disable-* | --disable-*)
    398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    399     # Reject names that are not valid shell variable names.
    400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    401       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    402    { (exit 1); exit 1; }; }
    403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404     eval "enable_$ac_feature=no" ;;
    405 
    406   -enable-* | --enable-*)
    407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    408     # Reject names that are not valid shell variable names.
    409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    410       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    411    { (exit 1); exit 1; }; }
    412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413     case $ac_option in
    414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    415       *) ac_optarg=yes ;;
    416     esac
    417     eval "enable_$ac_feature='$ac_optarg'" ;;
    418 
    419   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    420   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    421   | --exec | --exe | --ex)
    422     ac_prev=exec_prefix ;;
    423   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    424   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    425   | --exec=* | --exe=* | --ex=*)
    426     exec_prefix=$ac_optarg ;;
    427 
    428   -gas | --gas | --ga | --g)
    429     # Obsolete; use --with-gas.
    430     with_gas=yes ;;
    431 
    432   -help | --help | --hel | --he | -h)
    433     ac_init_help=long ;;
    434   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    435     ac_init_help=recursive ;;
    436   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    437     ac_init_help=short ;;
    438 
    439   -host | --host | --hos | --ho)
    440     ac_prev=host_alias ;;
    441   -host=* | --host=* | --hos=* | --ho=*)
    442     host_alias=$ac_optarg ;;
    443 
    444   -includedir | --includedir | --includedi | --included | --include \
    445   | --includ | --inclu | --incl | --inc)
    446     ac_prev=includedir ;;
    447   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    448   | --includ=* | --inclu=* | --incl=* | --inc=*)
    449     includedir=$ac_optarg ;;
    450 
    451   -infodir | --infodir | --infodi | --infod | --info | --inf)
    452     ac_prev=infodir ;;
    453   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    454     infodir=$ac_optarg ;;
    455 
    456   -libdir | --libdir | --libdi | --libd)
    457     ac_prev=libdir ;;
    458   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    459     libdir=$ac_optarg ;;
    460 
    461   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    462   | --libexe | --libex | --libe)
    463     ac_prev=libexecdir ;;
    464   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    465   | --libexe=* | --libex=* | --libe=*)
    466     libexecdir=$ac_optarg ;;
    467 
    468   -localstatedir | --localstatedir | --localstatedi | --localstated \
    469   | --localstate | --localstat | --localsta | --localst \
    470   | --locals | --local | --loca | --loc | --lo)
    471     ac_prev=localstatedir ;;
    472   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    473   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    475     localstatedir=$ac_optarg ;;
    476 
    477   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    478     ac_prev=mandir ;;
    479   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    480     mandir=$ac_optarg ;;
    481 
    482   -nfp | --nfp | --nf)
    483     # Obsolete; use --without-fp.
    484     with_fp=no ;;
    485 
    486   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    487   | --no-cr | --no-c | -n)
    488     no_create=yes ;;
    489 
    490   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    491   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    492     no_recursion=yes ;;
    493 
    494   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    495   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    496   | --oldin | --oldi | --old | --ol | --o)
    497     ac_prev=oldincludedir ;;
    498   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    499   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    500   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    501     oldincludedir=$ac_optarg ;;
    502 
    503   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    504     ac_prev=prefix ;;
    505   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    506     prefix=$ac_optarg ;;
    507 
    508   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    509   | --program-pre | --program-pr | --program-p)
    510     ac_prev=program_prefix ;;
    511   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    512   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    513     program_prefix=$ac_optarg ;;
    514 
    515   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    516   | --program-suf | --program-su | --program-s)
    517     ac_prev=program_suffix ;;
    518   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    519   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    520     program_suffix=$ac_optarg ;;
    521 
    522   -program-transform-name | --program-transform-name \
    523   | --program-transform-nam | --program-transform-na \
    524   | --program-transform-n | --program-transform- \
    525   | --program-transform | --program-transfor \
    526   | --program-transfo | --program-transf \
    527   | --program-trans | --program-tran \
    528   | --progr-tra | --program-tr | --program-t)
    529     ac_prev=program_transform_name ;;
    530   -program-transform-name=* | --program-transform-name=* \
    531   | --program-transform-nam=* | --program-transform-na=* \
    532   | --program-transform-n=* | --program-transform-=* \
    533   | --program-transform=* | --program-transfor=* \
    534   | --program-transfo=* | --program-transf=* \
    535   | --program-trans=* | --program-tran=* \
    536   | --progr-tra=* | --program-tr=* | --program-t=*)
    537     program_transform_name=$ac_optarg ;;
    538 
    539   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    540   | -silent | --silent | --silen | --sile | --sil)
    541     silent=yes ;;
    542 
    543   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    544     ac_prev=sbindir ;;
    545   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    546   | --sbi=* | --sb=*)
    547     sbindir=$ac_optarg ;;
    548 
    549   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    550   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    551   | --sharedst | --shareds | --shared | --share | --shar \
    552   | --sha | --sh)
    553     ac_prev=sharedstatedir ;;
    554   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    555   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    556   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    557   | --sha=* | --sh=*)
    558     sharedstatedir=$ac_optarg ;;
    559 
    560   -site | --site | --sit)
    561     ac_prev=site ;;
    562   -site=* | --site=* | --sit=*)
    563     site=$ac_optarg ;;
    564 
    565   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    566     ac_prev=srcdir ;;
    567   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    568     srcdir=$ac_optarg ;;
    569 
    570   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    571   | --syscon | --sysco | --sysc | --sys | --sy)
    572     ac_prev=sysconfdir ;;
    573   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    574   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    575     sysconfdir=$ac_optarg ;;
    576 
    577   -target | --target | --targe | --targ | --tar | --ta | --t)
    578     ac_prev=target_alias ;;
    579   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    580     target_alias=$ac_optarg ;;
    581 
    582   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    583     verbose=yes ;;
    584 
    585   -version | --version | --versio | --versi | --vers | -V)
    586     ac_init_version=: ;;
    587 
    588   -with-* | --with-*)
    589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    590     # Reject names that are not valid shell variable names.
    591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    592       { echo "$as_me: error: invalid package name: $ac_package" >&2
    593    { (exit 1); exit 1; }; }
    594     ac_package=`echo $ac_package| sed 's/-/_/g'`
    595     case $ac_option in
    596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    597       *) ac_optarg=yes ;;
    598     esac
    599     eval "with_$ac_package='$ac_optarg'" ;;
    600 
    601   -without-* | --without-*)
    602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    603     # Reject names that are not valid shell variable names.
    604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    605       { echo "$as_me: error: invalid package name: $ac_package" >&2
    606    { (exit 1); exit 1; }; }
    607     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608     eval "with_$ac_package=no" ;;
    609 
    610   --x)
    611     # Obsolete; use --with-x.
    612     with_x=yes ;;
    613 
    614   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    615   | --x-incl | --x-inc | --x-in | --x-i)
    616     ac_prev=x_includes ;;
    617   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    618   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    619     x_includes=$ac_optarg ;;
    620 
    621   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    622   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    623     ac_prev=x_libraries ;;
    624   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    625   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    626     x_libraries=$ac_optarg ;;
    627 
    628   -*) { echo "$as_me: error: unrecognized option: $ac_option
    629 Try \`$0 --help' for more information." >&2
    630    { (exit 1); exit 1; }; }
    631     ;;
    632 
    633   *=*)
    634     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    635     # Reject names that are not valid shell variable names.
    636     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    637       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    638    { (exit 1); exit 1; }; }
    639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640     eval "$ac_envvar='$ac_optarg'"
    641     export $ac_envvar ;;
    642 
    643   *)
    644     # FIXME: should be removed in autoconf 3.0.
    645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    646     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    647       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    648     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    649     ;;
    650 
    651   esac
    652 done
    653 
    654 if test -n "$ac_prev"; then
    655   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    656   { echo "$as_me: error: missing argument to $ac_option" >&2
    657    { (exit 1); exit 1; }; }
    658 fi
    659 
    660 # Be sure to have absolute paths.
    661 for ac_var in exec_prefix prefix
    662 do
    663   eval ac_val=$`echo $ac_var`
    664   case $ac_val in
    665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667    { (exit 1); exit 1; }; };;
    668   esac
    669 done
    670 
    671 # Be sure to have absolute paths.
    672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673 	      localstatedir libdir includedir oldincludedir infodir mandir
    674 do
    675   eval ac_val=$`echo $ac_var`
    676   case $ac_val in
    677     [\\/$]* | ?:[\\/]* ) ;;
    678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679    { (exit 1); exit 1; }; };;
    680   esac
    681 done
    682 
    683 # There might be people who depend on the old broken behavior: `$host'
    684 # used to hold the argument of --host etc.
    685 # FIXME: To remove some day.
    686 build=$build_alias
    687 host=$host_alias
    688 target=$target_alias
    689 
    690 # FIXME: To remove some day.
    691 if test "x$host_alias" != x; then
    692   if test "x$build_alias" = x; then
    693     cross_compiling=maybe
    694     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    695     If a cross compiler is detected then cross compile mode will be used." >&2
    696   elif test "x$build_alias" != "x$host_alias"; then
    697     cross_compiling=yes
    698   fi
    699 fi
    700 
    701 ac_tool_prefix=
    702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    703 
    704 test "$silent" = yes && exec 6>/dev/null
    705 
    706 
    707 # Find the source files, if location was not specified.
    708 if test -z "$srcdir"; then
    709   ac_srcdir_defaulted=yes
    710   # Try the directory containing this script, then its parent.
    711   ac_confdir=`(dirname "$0") 2>/dev/null ||
    712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713 	 X"$0" : 'X\(//\)[^/]' \| \
    714 	 X"$0" : 'X\(//\)$' \| \
    715 	 X"$0" : 'X\(/\)' \| \
    716 	 .     : '\(.\)' 2>/dev/null ||
    717 echo X"$0" |
    718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720   	  /^X\(\/\/\)$/{ s//\1/; q; }
    721   	  /^X\(\/\).*/{ s//\1/; q; }
    722   	  s/.*/./; q'`
    723   srcdir=$ac_confdir
    724   if test ! -r $srcdir/$ac_unique_file; then
    725     srcdir=..
    726   fi
    727 else
    728   ac_srcdir_defaulted=no
    729 fi
    730 if test ! -r $srcdir/$ac_unique_file; then
    731   if test "$ac_srcdir_defaulted" = yes; then
    732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    733    { (exit 1); exit 1; }; }
    734   else
    735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    736    { (exit 1); exit 1; }; }
    737   fi
    738 fi
    739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741    { (exit 1); exit 1; }; }
    742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743 ac_env_build_alias_set=${build_alias+set}
    744 ac_env_build_alias_value=$build_alias
    745 ac_cv_env_build_alias_set=${build_alias+set}
    746 ac_cv_env_build_alias_value=$build_alias
    747 ac_env_host_alias_set=${host_alias+set}
    748 ac_env_host_alias_value=$host_alias
    749 ac_cv_env_host_alias_set=${host_alias+set}
    750 ac_cv_env_host_alias_value=$host_alias
    751 ac_env_target_alias_set=${target_alias+set}
    752 ac_env_target_alias_value=$target_alias
    753 ac_cv_env_target_alias_set=${target_alias+set}
    754 ac_cv_env_target_alias_value=$target_alias
    755 ac_env_CC_set=${CC+set}
    756 ac_env_CC_value=$CC
    757 ac_cv_env_CC_set=${CC+set}
    758 ac_cv_env_CC_value=$CC
    759 ac_env_CFLAGS_set=${CFLAGS+set}
    760 ac_env_CFLAGS_value=$CFLAGS
    761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    762 ac_cv_env_CFLAGS_value=$CFLAGS
    763 ac_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_env_LDFLAGS_value=$LDFLAGS
    765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766 ac_cv_env_LDFLAGS_value=$LDFLAGS
    767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771 ac_env_CPP_set=${CPP+set}
    772 ac_env_CPP_value=$CPP
    773 ac_cv_env_CPP_set=${CPP+set}
    774 ac_cv_env_CPP_value=$CPP
    775 
    776 #
    777 # Report the --help message.
    778 #
    779 if test "$ac_init_help" = "long"; then
    780   # Omit some internal or obsolete options to make the list less imposing.
    781   # This message is too long to be a string in the A/UX 3.1 sh.
    782   cat <<_ACEOF
    783 \`configure' configures GRUB 0.97 to adapt to many kinds of systems.
    784 
    785 Usage: $0 [OPTION]... [VAR=VALUE]...
    786 
    787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    788 VAR=VALUE.  See below for descriptions of some of the useful variables.
    789 
    790 Defaults for the options are specified in brackets.
    791 
    792 Configuration:
    793   -h, --help              display this help and exit
    794       --help=short        display options specific to this package
    795       --help=recursive    display the short help of all the included packages
    796   -V, --version           display version information and exit
    797   -q, --quiet, --silent   do not print \`checking...' messages
    798       --cache-file=FILE   cache test results in FILE [disabled]
    799   -C, --config-cache      alias for \`--cache-file=config.cache'
    800   -n, --no-create         do not create output files
    801       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    802 
    803 _ACEOF
    804 
    805   cat <<_ACEOF
    806 Installation directories:
    807   --prefix=PREFIX         install architecture-independent files in PREFIX
    808 			  [$ac_default_prefix]
    809   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    810 			  [PREFIX]
    811 
    812 By default, \`make install' will install all the files in
    813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    815 for instance \`--prefix=\$HOME'.
    816 
    817 For better control, use the options below.
    818 
    819 Fine tuning of the installation directories:
    820   --bindir=DIR           user executables [EPREFIX/bin]
    821   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    822   --libexecdir=DIR       program executables [EPREFIX/libexec]
    823   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    824   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    825   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    826   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    827   --libdir=DIR           object code libraries [EPREFIX/lib]
    828   --includedir=DIR       C header files [PREFIX/include]
    829   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    830   --infodir=DIR          info documentation [PREFIX/info]
    831   --mandir=DIR           man documentation [PREFIX/man]
    832 _ACEOF
    833 
    834   cat <<\_ACEOF
    835 
    836 Program names:
    837   --program-prefix=PREFIX            prepend PREFIX to installed program names
    838   --program-suffix=SUFFIX            append SUFFIX to installed program names
    839   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    840 
    841 System types:
    842   --build=BUILD     configure for building on BUILD [guessed]
    843   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    844 _ACEOF
    845 fi
    846 
    847 if test -n "$ac_init_help"; then
    848   case $ac_init_help in
    849      short | recursive ) echo "Configuration of GRUB 0.97:";;
    850    esac
    851   cat <<\_ACEOF
    852 
    853 Optional Features:
    854   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    855   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    856   --enable-maintainer-mode  enable make rules and dependencies not useful
    857 			  (and sometimes confusing) to the casual installer
    858   --disable-dependency-tracking  speeds up one-time build
    859   --enable-dependency-tracking   do not reject slow dependency extractors
    860   --disable-ext2fs        disable ext2fs support in Stage 2
    861   --disable-fat           disable FAT support in Stage 2
    862   --disable-ffs           disable FFS support in Stage 2
    863   --disable-ufs2          disable UFS2 support in Stage 2
    864   --disable-minix         disable Minix fs support in Stage 2
    865   --disable-reiserfs      disable ReiserFS support in Stage 2
    866   --disable-vstafs        disable VSTa FS support in Stage 2
    867   --disable-jfs           disable IBM JFS support in Stage 2
    868   --disable-xfs           disable SGI XFS support in Stage 2
    869   --disable-iso9660       disable ISO9660 support in Stage 2
    870   --disable-gunzip        disable decompression in Stage 2
    871   --disable-md5-password  disable MD5 password support in Stage 2
    872   --disable-packet-retransmission
    873                           turn off packet retransmission
    874   --enable-pci-direct     access PCI directly instead of using BIOS
    875   --enable-3c509          enable 3Com509 driver
    876   --enable-3c529          enable 3Com529 driver
    877   --enable-3c595          enable 3Com595 driver
    878   --enable-3c90x          enable 3Com90x driver
    879   --enable-cs89x0         enable CS89x0 driver
    880   --enable-davicom        enable Davicom driver
    881   --enable-depca          enable DEPCA and EtherWORKS driver
    882   --enable-eepro          enable Etherexpress Pro/10 driver
    883   --enable-eepro100       enable Etherexpress Pro/100 driver
    884   --enable-epic100        enable SMC 83c170 EPIC/100 driver
    885   --enable-3c507          enable 3Com507 driver
    886   --enable-exos205        enable EXOS205 driver
    887   --enable-ni5210         enable Racal-Interlan NI5210 driver
    888   --enable-lance          enable Lance PCI PCNet/32 driver
    889   --enable-ne2100         enable Novell NE2100 driver
    890   --enable-ni6510         enable Racal-Interlan NI6510 driver
    891   --enable-natsemi        enable NatSemi DP8381x driver
    892   --enable-ni5010         enable Racal-Interlan NI5010 driver
    893   --enable-3c503          enable 3Com503 driver
    894   --enable-ne             enable NE1000/2000 ISA driver
    895   --enable-ns8390         enable NE2000 PCI driver
    896   --enable-wd             enable WD8003/8013, SMC8216/8416 driver
    897   --enable-otulip         enable old Tulip driver
    898   --enable-rtl8139        enable Realtek 8139 driver
    899   --enable-sis900         enable SIS 900 and SIS 7016 driver
    900   --enable-sk-g16         enable Schneider and Koch G16 driver
    901   --enable-smc9000        enable SMC9000 driver
    902   --enable-tiara          enable Tiara driver
    903   --enable-tulip          enable Tulip driver
    904   --enable-via-rhine      enable Rhine-I/II driver
    905   --enable-w89c840        enable Winbond W89c840, Compex RL100-ATX driver
    906   --enable-3c503-shmem    use 3c503 shared memory mode
    907   --enable-3c503-aui      use AUI by default on 3c503 cards
    908   --enable-compex-rl2000-fix
    909                           specify this if you have a Compex RL2000 PCI
    910   --enable-smc9000-scan=LIST
    911                           probe for SMC9000 I/O addresses using LIST
    912   --enable-ne-scan=LIST   probe for NE base address using LIST
    913   --enable-wd-default-mem=MEM
    914                           set the default memory location for WD/SMC
    915   --enable-cs-scan=LIST   probe for CS89x0 base address using LIST
    916   --enable-diskless       enable diskless support
    917   --disable-hercules      disable hercules terminal support
    918   --disable-serial        disable serial terminal support
    919   --enable-serial-speed-simulation
    920                           simulate the slowness of a serial device
    921   --enable-preset-menu=FILE
    922                           preset a menu file FILE in Stage 2
    923   --enable-example-kernel
    924                           build the example Multiboot kernel
    925   --disable-auto-linux-mem-opt
    926                           don't pass Linux mem= option automatically
    927 
    928 Optional Packages:
    929   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    930   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    931   --with-binutils=DIR     search the directory DIR to find binutils
    932   --without-curses        do not use curses
    933 
    934 Some influential environment variables:
    935   CC          C compiler command
    936   CFLAGS      C compiler flags
    937   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    938               nonstandard directory <lib dir>
    939   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    940               headers in a nonstandard directory <include dir>
    941   CPP         C preprocessor
    942 
    943 Use these variables to override the choices made by `configure' or to help
    944 it to find libraries and programs with nonstandard names/locations.
    945 
    946 Report bugs to <bug-grub (at] gnu.org>.
    947 _ACEOF
    948 fi
    949 
    950 if test "$ac_init_help" = "recursive"; then
    951   # If there are subdirs, report their specific --help.
    952   ac_popdir=`pwd`
    953   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    954     test -d $ac_dir || continue
    955     ac_builddir=.
    956 
    957 if test "$ac_dir" != .; then
    958   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    959   # A "../" for each directory in $ac_dir_suffix.
    960   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    961 else
    962   ac_dir_suffix= ac_top_builddir=
    963 fi
    964 
    965 case $srcdir in
    966   .)  # No --srcdir option.  We are building in place.
    967     ac_srcdir=.
    968     if test -z "$ac_top_builddir"; then
    969        ac_top_srcdir=.
    970     else
    971        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    972     fi ;;
    973   [\\/]* | ?:[\\/]* )  # Absolute path.
    974     ac_srcdir=$srcdir$ac_dir_suffix;
    975     ac_top_srcdir=$srcdir ;;
    976   *) # Relative path.
    977     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    978     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    979 esac
    980 
    981 # Do not use `cd foo && pwd` to compute absolute paths, because
    982 # the directories may not exist.
    983 case `pwd` in
    984 .) ac_abs_builddir="$ac_dir";;
    985 *)
    986   case "$ac_dir" in
    987   .) ac_abs_builddir=`pwd`;;
    988   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    989   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    990   esac;;
    991 esac
    992 case $ac_abs_builddir in
    993 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    994 *)
    995   case ${ac_top_builddir}. in
    996   .) ac_abs_top_builddir=$ac_abs_builddir;;
    997   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    998   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    999   esac;;
   1000 esac
   1001 case $ac_abs_builddir in
   1002 .) ac_abs_srcdir=$ac_srcdir;;
   1003 *)
   1004   case $ac_srcdir in
   1005   .) ac_abs_srcdir=$ac_abs_builddir;;
   1006   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   1007   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   1008   esac;;
   1009 esac
   1010 case $ac_abs_builddir in
   1011 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   1012 *)
   1013   case $ac_top_srcdir in
   1014   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   1015   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   1016   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   1017   esac;;
   1018 esac
   1019 
   1020     cd $ac_dir
   1021     # Check for guested configure; otherwise get Cygnus style configure.
   1022     if test -f $ac_srcdir/configure.gnu; then
   1023       echo
   1024       $SHELL $ac_srcdir/configure.gnu  --help=recursive
   1025     elif test -f $ac_srcdir/configure; then
   1026       echo
   1027       $SHELL $ac_srcdir/configure  --help=recursive
   1028     elif test -f $ac_srcdir/configure.ac ||
   1029 	   test -f $ac_srcdir/configure.in; then
   1030       echo
   1031       $ac_configure --help
   1032     else
   1033       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1034     fi
   1035     cd $ac_popdir
   1036   done
   1037 fi
   1038 
   1039 test -n "$ac_init_help" && exit 0
   1040 if $ac_init_version; then
   1041   cat <<\_ACEOF
   1042 GRUB configure 0.97
   1043 generated by GNU Autoconf 2.59
   1044 
   1045 Copyright (C) 2003 Free Software Foundation, Inc.
   1046 This configure script is free software; the Free Software Foundation
   1047 gives unlimited permission to copy, distribute and modify it.
   1048 _ACEOF
   1049   exit 0
   1050 fi
   1051 exec 5>config.log
   1052 cat >&5 <<_ACEOF
   1053 This file contains any messages produced by compilers while
   1054 running configure, to aid debugging if configure makes a mistake.
   1055 
   1056 It was created by GRUB $as_me 0.97, which was
   1057 generated by GNU Autoconf 2.59.  Invocation command line was
   1058 
   1059   $ $0 $@
   1060 
   1061 _ACEOF
   1062 {
   1063 cat <<_ASUNAME
   1064 ## --------- ##
   1065 ## Platform. ##
   1066 ## --------- ##
   1067 
   1068 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1069 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1070 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1071 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1072 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1073 
   1074 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1075 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1076 
   1077 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1078 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1079 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1080 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1081 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1082 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1083 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1084 
   1085 _ASUNAME
   1086 
   1087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1088 for as_dir in $PATH
   1089 do
   1090   IFS=$as_save_IFS
   1091   test -z "$as_dir" && as_dir=.
   1092   echo "PATH: $as_dir"
   1093 done
   1094 
   1095 } >&5
   1096 
   1097 cat >&5 <<_ACEOF
   1098 
   1099 
   1100 ## ----------- ##
   1101 ## Core tests. ##
   1102 ## ----------- ##
   1103 
   1104 _ACEOF
   1105 
   1106 
   1107 # Keep a trace of the command line.
   1108 # Strip out --no-create and --no-recursion so they do not pile up.
   1109 # Strip out --silent because we don't want to record it for future runs.
   1110 # Also quote any args containing shell meta-characters.
   1111 # Make two passes to allow for proper duplicate-argument suppression.
   1112 ac_configure_args=
   1113 ac_configure_args0=
   1114 ac_configure_args1=
   1115 ac_sep=
   1116 ac_must_keep_next=false
   1117 for ac_pass in 1 2
   1118 do
   1119   for ac_arg
   1120   do
   1121     case $ac_arg in
   1122     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1123     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1124     | -silent | --silent | --silen | --sile | --sil)
   1125       continue ;;
   1126     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1127       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1128     esac
   1129     case $ac_pass in
   1130     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1131     2)
   1132       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1133       if test $ac_must_keep_next = true; then
   1134 	ac_must_keep_next=false # Got value, back to normal.
   1135       else
   1136 	case $ac_arg in
   1137 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1138 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1139 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1140 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1141 	    case "$ac_configure_args0 " in
   1142 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1143 	    esac
   1144 	    ;;
   1145 	  -* ) ac_must_keep_next=true ;;
   1146 	esac
   1147       fi
   1148       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1149       # Get rid of the leading space.
   1150       ac_sep=" "
   1151       ;;
   1152     esac
   1153   done
   1154 done
   1155 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1156 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1157 
   1158 # When interrupted or exit'd, cleanup temporary files, and complete
   1159 # config.log.  We remove comments because anyway the quotes in there
   1160 # would cause problems or look ugly.
   1161 # WARNING: Be sure not to use single quotes in there, as some shells,
   1162 # such as our DU 5.0 friend, will then `close' the trap.
   1163 trap 'exit_status=$?
   1164   # Save into config.log some information that might help in debugging.
   1165   {
   1166     echo
   1167 
   1168     cat <<\_ASBOX
   1169 ## ---------------- ##
   1170 ## Cache variables. ##
   1171 ## ---------------- ##
   1172 _ASBOX
   1173     echo
   1174     # The following way of writing the cache mishandles newlines in values,
   1175 {
   1176   (set) 2>&1 |
   1177     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1178     *ac_space=\ *)
   1179       sed -n \
   1180 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1181 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1182       ;;
   1183     *)
   1184       sed -n \
   1185 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1186       ;;
   1187     esac;
   1188 }
   1189     echo
   1190 
   1191     cat <<\_ASBOX
   1192 ## ----------------- ##
   1193 ## Output variables. ##
   1194 ## ----------------- ##
   1195 _ASBOX
   1196     echo
   1197     for ac_var in $ac_subst_vars
   1198     do
   1199       eval ac_val=$`echo $ac_var`
   1200       echo "$ac_var='"'"'$ac_val'"'"'"
   1201     done | sort
   1202     echo
   1203 
   1204     if test -n "$ac_subst_files"; then
   1205       cat <<\_ASBOX
   1206 ## ------------- ##
   1207 ## Output files. ##
   1208 ## ------------- ##
   1209 _ASBOX
   1210       echo
   1211       for ac_var in $ac_subst_files
   1212       do
   1213 	eval ac_val=$`echo $ac_var`
   1214 	echo "$ac_var='"'"'$ac_val'"'"'"
   1215       done | sort
   1216       echo
   1217     fi
   1218 
   1219     if test -s confdefs.h; then
   1220       cat <<\_ASBOX
   1221 ## ----------- ##
   1222 ## confdefs.h. ##
   1223 ## ----------- ##
   1224 _ASBOX
   1225       echo
   1226       sed "/^$/d" confdefs.h | sort
   1227       echo
   1228     fi
   1229     test "$ac_signal" != 0 &&
   1230       echo "$as_me: caught signal $ac_signal"
   1231     echo "$as_me: exit $exit_status"
   1232   } >&5
   1233   rm -f core *.core &&
   1234   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1235     exit $exit_status
   1236      ' 0
   1237 for ac_signal in 1 2 13 15; do
   1238   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1239 done
   1240 ac_signal=0
   1241 
   1242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1243 rm -rf conftest* confdefs.h
   1244 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1245 echo >confdefs.h
   1246 
   1247 # Predefined preprocessor variables.
   1248 
   1249 cat >>confdefs.h <<_ACEOF
   1250 #define PACKAGE_NAME "$PACKAGE_NAME"
   1251 _ACEOF
   1252 
   1253 
   1254 cat >>confdefs.h <<_ACEOF
   1255 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1256 _ACEOF
   1257 
   1258 
   1259 cat >>confdefs.h <<_ACEOF
   1260 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1261 _ACEOF
   1262 
   1263 
   1264 cat >>confdefs.h <<_ACEOF
   1265 #define PACKAGE_STRING "$PACKAGE_STRING"
   1266 _ACEOF
   1267 
   1268 
   1269 cat >>confdefs.h <<_ACEOF
   1270 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1271 _ACEOF
   1272 
   1273 
   1274 # Let the site file select an alternate cache file if it wants to.
   1275 # Prefer explicitly selected file to automatically selected ones.
   1276 if test -z "$CONFIG_SITE"; then
   1277   if test "x$prefix" != xNONE; then
   1278     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1279   else
   1280     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1281   fi
   1282 fi
   1283 for ac_site_file in $CONFIG_SITE; do
   1284   if test -r "$ac_site_file"; then
   1285     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1286 echo "$as_me: loading site script $ac_site_file" >&6;}
   1287     sed 's/^/| /' "$ac_site_file" >&5
   1288     . "$ac_site_file"
   1289   fi
   1290 done
   1291 
   1292 if test -r "$cache_file"; then
   1293   # Some versions of bash will fail to source /dev/null (special
   1294   # files actually), so we avoid doing that.
   1295   if test -f "$cache_file"; then
   1296     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1297 echo "$as_me: loading cache $cache_file" >&6;}
   1298     case $cache_file in
   1299       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1300       *)                      . ./$cache_file;;
   1301     esac
   1302   fi
   1303 else
   1304   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1305 echo "$as_me: creating cache $cache_file" >&6;}
   1306   >$cache_file
   1307 fi
   1308 
   1309 # Check that the precious variables saved in the cache have kept the same
   1310 # value.
   1311 ac_cache_corrupted=false
   1312 for ac_var in `(set) 2>&1 |
   1313 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1314   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1315   eval ac_new_set=\$ac_env_${ac_var}_set
   1316   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1317   eval ac_new_val="\$ac_env_${ac_var}_value"
   1318   case $ac_old_set,$ac_new_set in
   1319     set,)
   1320       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1321 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1322       ac_cache_corrupted=: ;;
   1323     ,set)
   1324       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1325 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1326       ac_cache_corrupted=: ;;
   1327     ,);;
   1328     *)
   1329       if test "x$ac_old_val" != "x$ac_new_val"; then
   1330 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1331 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1332 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1333 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1334 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1335 echo "$as_me:   current value: $ac_new_val" >&2;}
   1336 	ac_cache_corrupted=:
   1337       fi;;
   1338   esac
   1339   # Pass precious variables to config.status.
   1340   if test "$ac_new_set" = set; then
   1341     case $ac_new_val in
   1342     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1343       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1344     *) ac_arg=$ac_var=$ac_new_val ;;
   1345     esac
   1346     case " $ac_configure_args " in
   1347       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1348       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1349     esac
   1350   fi
   1351 done
   1352 if $ac_cache_corrupted; then
   1353   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1354 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1355   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1356 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1357    { (exit 1); exit 1; }; }
   1358 fi
   1359 
   1360 ac_ext=c
   1361 ac_cpp='$CPP $CPPFLAGS'
   1362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1365 
   1366 
   1367 
   1368 
   1369 
   1370 
   1371 
   1372 
   1373 
   1374 
   1375 
   1376 
   1377 
   1378 
   1379 
   1380 
   1381 
   1382 
   1383 
   1384 
   1385 
   1386 
   1387 
   1388 
   1389 
   1390 
   1391 
   1392 
   1393           ac_config_headers="$ac_config_headers config.h"
   1394 
   1395 am__api_version="1.9"
   1396 ac_aux_dir=
   1397 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1398   if test -f $ac_dir/install-sh; then
   1399     ac_aux_dir=$ac_dir
   1400     ac_install_sh="$ac_aux_dir/install-sh -c"
   1401     break
   1402   elif test -f $ac_dir/install.sh; then
   1403     ac_aux_dir=$ac_dir
   1404     ac_install_sh="$ac_aux_dir/install.sh -c"
   1405     break
   1406   elif test -f $ac_dir/shtool; then
   1407     ac_aux_dir=$ac_dir
   1408     ac_install_sh="$ac_aux_dir/shtool install -c"
   1409     break
   1410   fi
   1411 done
   1412 if test -z "$ac_aux_dir"; then
   1413   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1414 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1415    { (exit 1); exit 1; }; }
   1416 fi
   1417 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1418 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1419 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1420 
   1421 # Find a good install program.  We prefer a C program (faster),
   1422 # so one script is as good as another.  But avoid the broken or
   1423 # incompatible versions:
   1424 # SysV /etc/install, /usr/sbin/install
   1425 # SunOS /usr/etc/install
   1426 # IRIX /sbin/install
   1427 # AIX /bin/install
   1428 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1429 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1430 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1431 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1432 # OS/2's system install, which has a completely different semantic
   1433 # ./install, which can be erroneously created by make from ./install.sh.
   1434 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1435 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   1436 if test -z "$INSTALL"; then
   1437 if test "${ac_cv_path_install+set}" = set; then
   1438   echo $ECHO_N "(cached) $ECHO_C" >&6
   1439 else
   1440   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1441 for as_dir in $PATH
   1442 do
   1443   IFS=$as_save_IFS
   1444   test -z "$as_dir" && as_dir=.
   1445   # Account for people who put trailing slashes in PATH elements.
   1446 case $as_dir/ in
   1447   ./ | .// | /cC/* | \
   1448   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1449   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1450   /usr/ucb/* ) ;;
   1451   *)
   1452     # OSF1 and SCO ODT 3.0 have their own names for install.
   1453     # Don't use installbsd from OSF since it installs stuff as root
   1454     # by default.
   1455     for ac_prog in ginstall scoinst install; do
   1456       for ac_exec_ext in '' $ac_executable_extensions; do
   1457 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1458 	  if test $ac_prog = install &&
   1459 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1460 	    # AIX install.  It has an incompatible calling convention.
   1461 	    :
   1462 	  elif test $ac_prog = install &&
   1463 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1464 	    # program-specific install script used by HP pwplus--don't use.
   1465 	    :
   1466 	  else
   1467 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1468 	    break 3
   1469 	  fi
   1470 	fi
   1471       done
   1472     done
   1473     ;;
   1474 esac
   1475 done
   1476 
   1477 
   1478 fi
   1479   if test "${ac_cv_path_install+set}" = set; then
   1480     INSTALL=$ac_cv_path_install
   1481   else
   1482     # As a last resort, use the slow shell script.  We don't cache a
   1483     # path for INSTALL within a source directory, because that will
   1484     # break other packages using the cache if that directory is
   1485     # removed, or if the path is relative.
   1486     INSTALL=$ac_install_sh
   1487   fi
   1488 fi
   1489 echo "$as_me:$LINENO: result: $INSTALL" >&5
   1490 echo "${ECHO_T}$INSTALL" >&6
   1491 
   1492 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1493 # It thinks the first close brace ends the variable substitution.
   1494 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1495 
   1496 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1497 
   1498 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1499 
   1500 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1501 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   1502 # Just in case
   1503 sleep 1
   1504 echo timestamp > conftest.file
   1505 # Do `set' in a subshell so we don't clobber the current shell's
   1506 # arguments.  Must try -L first in case configure is actually a
   1507 # symlink; some systems play weird games with the mod time of symlinks
   1508 # (eg FreeBSD returns the mod time of the symlink's containing
   1509 # directory).
   1510 if (
   1511    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1512    if test "$*" = "X"; then
   1513       # -L didn't work.
   1514       set X `ls -t $srcdir/configure conftest.file`
   1515    fi
   1516    rm -f conftest.file
   1517    if test "$*" != "X $srcdir/configure conftest.file" \
   1518       && test "$*" != "X conftest.file $srcdir/configure"; then
   1519 
   1520       # If neither matched, then we have a broken ls.  This can happen
   1521       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1522       # broken ls alias from the environment.  This has actually
   1523       # happened.  Such a system could not be considered "sane".
   1524       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1525 alias in your environment" >&5
   1526 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1527 alias in your environment" >&2;}
   1528    { (exit 1); exit 1; }; }
   1529    fi
   1530 
   1531    test "$2" = conftest.file
   1532    )
   1533 then
   1534    # Ok.
   1535    :
   1536 else
   1537    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1538 Check your system clock" >&5
   1539 echo "$as_me: error: newly created file is older than distributed files!
   1540 Check your system clock" >&2;}
   1541    { (exit 1); exit 1; }; }
   1542 fi
   1543 echo "$as_me:$LINENO: result: yes" >&5
   1544 echo "${ECHO_T}yes" >&6
   1545 test "$program_prefix" != NONE &&
   1546   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1547 # Use a double $ so make ignores it.
   1548 test "$program_suffix" != NONE &&
   1549   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1550 # Double any \ or $.  echo might interpret backslashes.
   1551 # By default was `s,x,x', remove it if useless.
   1552 cat <<\_ACEOF >conftest.sed
   1553 s/[\\$]/&&/g;s/;s,x,x,$//
   1554 _ACEOF
   1555 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1556 rm conftest.sed
   1557 
   1558 # expand $ac_aux_dir to an absolute path
   1559 am_aux_dir=`cd $ac_aux_dir && pwd`
   1560 
   1561 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1562 # Use eval to expand $SHELL
   1563 if eval "$MISSING --run true"; then
   1564   am_missing_run="$MISSING --run "
   1565 else
   1566   am_missing_run=
   1567   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1568 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1569 fi
   1570 
   1571 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   1572   # We used to keeping the `.' as first argument, in order to
   1573   # allow $(mkdir_p) to be used without argument.  As in
   1574   #   $(mkdir_p) $(somedir)
   1575   # where $(somedir) is conditionally defined.  However this is wrong
   1576   # for two reasons:
   1577   #  1. if the package is installed by a user who cannot write `.'
   1578   #     make install will fail,
   1579   #  2. the above comment should most certainly read
   1580   #     $(mkdir_p) $(DESTDIR)$(somedir)
   1581   #     so it does not work when $(somedir) is undefined and
   1582   #     $(DESTDIR) is not.
   1583   #  To support the latter case, we have to write
   1584   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   1585   #  so the `.' trick is pointless.
   1586   mkdir_p='mkdir -p --'
   1587 else
   1588   # On NextStep and OpenStep, the `mkdir' command does not
   1589   # recognize any option.  It will interpret all options as
   1590   # directories to create, and then abort because `.' already
   1591   # exists.
   1592   for d in ./-p ./--version;
   1593   do
   1594     test -d $d && rmdir $d
   1595   done
   1596   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   1597   if test -f "$ac_aux_dir/mkinstalldirs"; then
   1598     mkdir_p='$(mkinstalldirs)'
   1599   else
   1600     mkdir_p='$(install_sh) -d'
   1601   fi
   1602 fi
   1603 
   1604 for ac_prog in gawk mawk nawk awk
   1605 do
   1606   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1607 set dummy $ac_prog; ac_word=$2
   1608 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1610 if test "${ac_cv_prog_AWK+set}" = set; then
   1611   echo $ECHO_N "(cached) $ECHO_C" >&6
   1612 else
   1613   if test -n "$AWK"; then
   1614   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1615 else
   1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1617 for as_dir in $PATH
   1618 do
   1619   IFS=$as_save_IFS
   1620   test -z "$as_dir" && as_dir=.
   1621   for ac_exec_ext in '' $ac_executable_extensions; do
   1622   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1623     ac_cv_prog_AWK="$ac_prog"
   1624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1625     break 2
   1626   fi
   1627 done
   1628 done
   1629 
   1630 fi
   1631 fi
   1632 AWK=$ac_cv_prog_AWK
   1633 if test -n "$AWK"; then
   1634   echo "$as_me:$LINENO: result: $AWK" >&5
   1635 echo "${ECHO_T}$AWK" >&6
   1636 else
   1637   echo "$as_me:$LINENO: result: no" >&5
   1638 echo "${ECHO_T}no" >&6
   1639 fi
   1640 
   1641   test -n "$AWK" && break
   1642 done
   1643 
   1644 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1645 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   1646 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   1647 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   1648   echo $ECHO_N "(cached) $ECHO_C" >&6
   1649 else
   1650   cat >conftest.make <<\_ACEOF
   1651 all:
   1652 	@echo 'ac_maketemp="$(MAKE)"'
   1653 _ACEOF
   1654 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1655 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   1656 if test -n "$ac_maketemp"; then
   1657   eval ac_cv_prog_make_${ac_make}_set=yes
   1658 else
   1659   eval ac_cv_prog_make_${ac_make}_set=no
   1660 fi
   1661 rm -f conftest.make
   1662 fi
   1663 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1664   echo "$as_me:$LINENO: result: yes" >&5
   1665 echo "${ECHO_T}yes" >&6
   1666   SET_MAKE=
   1667 else
   1668   echo "$as_me:$LINENO: result: no" >&5
   1669 echo "${ECHO_T}no" >&6
   1670   SET_MAKE="MAKE=${MAKE-make}"
   1671 fi
   1672 
   1673 rm -rf .tst 2>/dev/null
   1674 mkdir .tst 2>/dev/null
   1675 if test -d .tst; then
   1676   am__leading_dot=.
   1677 else
   1678   am__leading_dot=_
   1679 fi
   1680 rmdir .tst 2>/dev/null
   1681 
   1682 # test to see if srcdir already configured
   1683 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   1684    test -f $srcdir/config.status; then
   1685   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   1686 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   1687    { (exit 1); exit 1; }; }
   1688 fi
   1689 
   1690 # test whether we have cygpath
   1691 if test -z "$CYGPATH_W"; then
   1692   if (cygpath --version) >/dev/null 2>/dev/null; then
   1693     CYGPATH_W='cygpath -w'
   1694   else
   1695     CYGPATH_W=echo
   1696   fi
   1697 fi
   1698 
   1699 
   1700 # Define the identity of the package.
   1701  PACKAGE='grub'
   1702  VERSION='0.97'
   1703 
   1704 
   1705 cat >>confdefs.h <<_ACEOF
   1706 #define PACKAGE "$PACKAGE"
   1707 _ACEOF
   1708 
   1709 
   1710 cat >>confdefs.h <<_ACEOF
   1711 #define VERSION "$VERSION"
   1712 _ACEOF
   1713 
   1714 # Some tools Automake needs.
   1715 
   1716 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   1717 
   1718 
   1719 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   1720 
   1721 
   1722 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   1723 
   1724 
   1725 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   1726 
   1727 
   1728 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   1729 
   1730 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   1731 
   1732 # Installed binaries are usually stripped using `strip' when the user
   1733 # run `make install-strip'.  However `strip' might not be the right
   1734 # tool to use in cross-compilation environments, therefore Automake
   1735 # will honor the `STRIP' environment variable to overrule this program.
   1736 if test "$cross_compiling" != no; then
   1737   if test -n "$ac_tool_prefix"; then
   1738   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   1739 set dummy ${ac_tool_prefix}strip; ac_word=$2
   1740 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1742 if test "${ac_cv_prog_STRIP+set}" = set; then
   1743   echo $ECHO_N "(cached) $ECHO_C" >&6
   1744 else
   1745   if test -n "$STRIP"; then
   1746   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   1747 else
   1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1749 for as_dir in $PATH
   1750 do
   1751   IFS=$as_save_IFS
   1752   test -z "$as_dir" && as_dir=.
   1753   for ac_exec_ext in '' $ac_executable_extensions; do
   1754   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1755     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1756     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1757     break 2
   1758   fi
   1759 done
   1760 done
   1761 
   1762 fi
   1763 fi
   1764 STRIP=$ac_cv_prog_STRIP
   1765 if test -n "$STRIP"; then
   1766   echo "$as_me:$LINENO: result: $STRIP" >&5
   1767 echo "${ECHO_T}$STRIP" >&6
   1768 else
   1769   echo "$as_me:$LINENO: result: no" >&5
   1770 echo "${ECHO_T}no" >&6
   1771 fi
   1772 
   1773 fi
   1774 if test -z "$ac_cv_prog_STRIP"; then
   1775   ac_ct_STRIP=$STRIP
   1776   # Extract the first word of "strip", so it can be a program name with args.
   1777 set dummy strip; ac_word=$2
   1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1780 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   1781   echo $ECHO_N "(cached) $ECHO_C" >&6
   1782 else
   1783   if test -n "$ac_ct_STRIP"; then
   1784   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   1785 else
   1786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1787 for as_dir in $PATH
   1788 do
   1789   IFS=$as_save_IFS
   1790   test -z "$as_dir" && as_dir=.
   1791   for ac_exec_ext in '' $ac_executable_extensions; do
   1792   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1793     ac_cv_prog_ac_ct_STRIP="strip"
   1794     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1795     break 2
   1796   fi
   1797 done
   1798 done
   1799 
   1800   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   1801 fi
   1802 fi
   1803 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   1804 if test -n "$ac_ct_STRIP"; then
   1805   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   1806 echo "${ECHO_T}$ac_ct_STRIP" >&6
   1807 else
   1808   echo "$as_me:$LINENO: result: no" >&5
   1809 echo "${ECHO_T}no" >&6
   1810 fi
   1811 
   1812   STRIP=$ac_ct_STRIP
   1813 else
   1814   STRIP="$ac_cv_prog_STRIP"
   1815 fi
   1816 
   1817 fi
   1818 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   1819 
   1820 # We need awk for the "check" target.  The system "awk" is bad on
   1821 # some platforms.
   1822 # Always define AMTAR for backward compatibility.
   1823 
   1824 AMTAR=${AMTAR-"${am_missing_run}tar"}
   1825 
   1826 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   1827 
   1828 
   1829 
   1830 
   1831 
   1832 
   1833 # Make sure we can run config.sub.
   1834 $ac_config_sub sun4 >/dev/null 2>&1 ||
   1835   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   1836 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   1837    { (exit 1); exit 1; }; }
   1838 
   1839 echo "$as_me:$LINENO: checking build system type" >&5
   1840 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   1841 if test "${ac_cv_build+set}" = set; then
   1842   echo $ECHO_N "(cached) $ECHO_C" >&6
   1843 else
   1844   ac_cv_build_alias=$build_alias
   1845 test -z "$ac_cv_build_alias" &&
   1846   ac_cv_build_alias=`$ac_config_guess`
   1847 test -z "$ac_cv_build_alias" &&
   1848   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   1849 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   1850    { (exit 1); exit 1; }; }
   1851 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   1852   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   1853 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   1854    { (exit 1); exit 1; }; }
   1855 
   1856 fi
   1857 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   1858 echo "${ECHO_T}$ac_cv_build" >&6
   1859 build=$ac_cv_build
   1860 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1861 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1862 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1863 
   1864 
   1865 echo "$as_me:$LINENO: checking host system type" >&5
   1866 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   1867 if test "${ac_cv_host+set}" = set; then
   1868   echo $ECHO_N "(cached) $ECHO_C" >&6
   1869 else
   1870   ac_cv_host_alias=$host_alias
   1871 test -z "$ac_cv_host_alias" &&
   1872   ac_cv_host_alias=$ac_cv_build_alias
   1873 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   1874   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   1875 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   1876    { (exit 1); exit 1; }; }
   1877 
   1878 fi
   1879 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   1880 echo "${ECHO_T}$ac_cv_host" >&6
   1881 host=$ac_cv_host
   1882 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1883 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1884 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1885 
   1886 
   1887 
   1888 case "$host_cpu" in
   1889 i[3456]86) host_cpu=i386 ;;
   1890 x86_64) host_cpu=x86_64 ;;
   1891 *) { { echo "$as_me:$LINENO: error: unsupported CPU type" >&5
   1892 echo "$as_me: error: unsupported CPU type" >&2;}
   1893    { (exit 1); exit 1; }; } ;;
   1894 esac
   1895 
   1896 
   1897 
   1898 
   1899 #
   1900 # Options
   1901 #
   1902 
   1903 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   1904 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   1905     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   1906 if test "${enable_maintainer_mode+set}" = set; then
   1907   enableval="$enable_maintainer_mode"
   1908   USE_MAINTAINER_MODE=$enableval
   1909 else
   1910   USE_MAINTAINER_MODE=no
   1911 fi;
   1912   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   1913 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   1914 
   1915 
   1916 if test $USE_MAINTAINER_MODE = yes; then
   1917   MAINTAINER_MODE_TRUE=
   1918   MAINTAINER_MODE_FALSE='#'
   1919 else
   1920   MAINTAINER_MODE_TRUE='#'
   1921   MAINTAINER_MODE_FALSE=
   1922 fi
   1923 
   1924   MAINT=$MAINTAINER_MODE_TRUE
   1925 
   1926 
   1927 if test "x$enable_maintainer_mode" = xyes; then
   1928   # Extract the first word of "perl", so it can be a program name with args.
   1929 set dummy perl; ac_word=$2
   1930 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1932 if test "${ac_cv_path_PERL+set}" = set; then
   1933   echo $ECHO_N "(cached) $ECHO_C" >&6
   1934 else
   1935   case $PERL in
   1936   [\\/]* | ?:[\\/]*)
   1937   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   1938   ;;
   1939   *)
   1940   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1941 for as_dir in $PATH
   1942 do
   1943   IFS=$as_save_IFS
   1944   test -z "$as_dir" && as_dir=.
   1945   for ac_exec_ext in '' $ac_executable_extensions; do
   1946   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1947     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   1948     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1949     break 2
   1950   fi
   1951 done
   1952 done
   1953 
   1954   ;;
   1955 esac
   1956 fi
   1957 PERL=$ac_cv_path_PERL
   1958 
   1959 if test -n "$PERL"; then
   1960   echo "$as_me:$LINENO: result: $PERL" >&5
   1961 echo "${ECHO_T}$PERL" >&6
   1962 else
   1963   echo "$as_me:$LINENO: result: no" >&5
   1964 echo "${ECHO_T}no" >&6
   1965 fi
   1966 
   1967   if test -z "$PERL"; then
   1968     { { echo "$as_me:$LINENO: error: perl not found" >&5
   1969 echo "$as_me: error: perl not found" >&2;}
   1970    { (exit 1); exit 1; }; }
   1971   fi
   1972 fi
   1973 
   1974 # This should be checked before AC_PROG_CC
   1975 if test "x$CFLAGS" = x; then
   1976   default_CFLAGS=yes
   1977 fi
   1978 
   1979 if test "x$host_cpu" = xx86_64; then
   1980   CFLAGS="-m32 $CFLAGS"
   1981 fi
   1982 
   1983 #
   1984 # Programs
   1985 #
   1986 
   1987 if test -n "$ac_tool_prefix"; then
   1988   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1989 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1990 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1992 if test "${ac_cv_prog_CC+set}" = set; then
   1993   echo $ECHO_N "(cached) $ECHO_C" >&6
   1994 else
   1995   if test -n "$CC"; then
   1996   ac_cv_prog_CC="$CC" # Let the user override the test.
   1997 else
   1998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1999 for as_dir in $PATH
   2000 do
   2001   IFS=$as_save_IFS
   2002   test -z "$as_dir" && as_dir=.
   2003   for ac_exec_ext in '' $ac_executable_extensions; do
   2004   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2005     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2006     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2007     break 2
   2008   fi
   2009 done
   2010 done
   2011 
   2012 fi
   2013 fi
   2014 CC=$ac_cv_prog_CC
   2015 if test -n "$CC"; then
   2016   echo "$as_me:$LINENO: result: $CC" >&5
   2017 echo "${ECHO_T}$CC" >&6
   2018 else
   2019   echo "$as_me:$LINENO: result: no" >&5
   2020 echo "${ECHO_T}no" >&6
   2021 fi
   2022 
   2023 fi
   2024 if test -z "$ac_cv_prog_CC"; then
   2025   ac_ct_CC=$CC
   2026   # Extract the first word of "gcc", so it can be a program name with args.
   2027 set dummy gcc; ac_word=$2
   2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2031   echo $ECHO_N "(cached) $ECHO_C" >&6
   2032 else
   2033   if test -n "$ac_ct_CC"; then
   2034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2035 else
   2036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2037 for as_dir in $PATH
   2038 do
   2039   IFS=$as_save_IFS
   2040   test -z "$as_dir" && as_dir=.
   2041   for ac_exec_ext in '' $ac_executable_extensions; do
   2042   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2043     ac_cv_prog_ac_ct_CC="gcc"
   2044     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2045     break 2
   2046   fi
   2047 done
   2048 done
   2049 
   2050 fi
   2051 fi
   2052 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2053 if test -n "$ac_ct_CC"; then
   2054   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2055 echo "${ECHO_T}$ac_ct_CC" >&6
   2056 else
   2057   echo "$as_me:$LINENO: result: no" >&5
   2058 echo "${ECHO_T}no" >&6
   2059 fi
   2060 
   2061   CC=$ac_ct_CC
   2062 else
   2063   CC="$ac_cv_prog_CC"
   2064 fi
   2065 
   2066 ac_ext=c
   2067 ac_cpp='$CPP $CPPFLAGS'
   2068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2071 if test -n "$ac_tool_prefix"; then
   2072   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2074 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2076 if test "${ac_cv_prog_CC+set}" = set; then
   2077   echo $ECHO_N "(cached) $ECHO_C" >&6
   2078 else
   2079   if test -n "$CC"; then
   2080   ac_cv_prog_CC="$CC" # Let the user override the test.
   2081 else
   2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2083 for as_dir in $PATH
   2084 do
   2085   IFS=$as_save_IFS
   2086   test -z "$as_dir" && as_dir=.
   2087   for ac_exec_ext in '' $ac_executable_extensions; do
   2088   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2089     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2090     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2091     break 2
   2092   fi
   2093 done
   2094 done
   2095 
   2096 fi
   2097 fi
   2098 CC=$ac_cv_prog_CC
   2099 if test -n "$CC"; then
   2100   echo "$as_me:$LINENO: result: $CC" >&5
   2101 echo "${ECHO_T}$CC" >&6
   2102 else
   2103   echo "$as_me:$LINENO: result: no" >&5
   2104 echo "${ECHO_T}no" >&6
   2105 fi
   2106 
   2107 fi
   2108 if test -z "$ac_cv_prog_CC"; then
   2109   ac_ct_CC=$CC
   2110   # Extract the first word of "gcc", so it can be a program name with args.
   2111 set dummy gcc; ac_word=$2
   2112 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2114 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2115   echo $ECHO_N "(cached) $ECHO_C" >&6
   2116 else
   2117   if test -n "$ac_ct_CC"; then
   2118   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2119 else
   2120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2121 for as_dir in $PATH
   2122 do
   2123   IFS=$as_save_IFS
   2124   test -z "$as_dir" && as_dir=.
   2125   for ac_exec_ext in '' $ac_executable_extensions; do
   2126   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2127     ac_cv_prog_ac_ct_CC="gcc"
   2128     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2129     break 2
   2130   fi
   2131 done
   2132 done
   2133 
   2134 fi
   2135 fi
   2136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2137 if test -n "$ac_ct_CC"; then
   2138   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2139 echo "${ECHO_T}$ac_ct_CC" >&6
   2140 else
   2141   echo "$as_me:$LINENO: result: no" >&5
   2142 echo "${ECHO_T}no" >&6
   2143 fi
   2144 
   2145   CC=$ac_ct_CC
   2146 else
   2147   CC="$ac_cv_prog_CC"
   2148 fi
   2149 
   2150 if test -z "$CC"; then
   2151   if test -n "$ac_tool_prefix"; then
   2152   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2153 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2154 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2156 if test "${ac_cv_prog_CC+set}" = set; then
   2157   echo $ECHO_N "(cached) $ECHO_C" >&6
   2158 else
   2159   if test -n "$CC"; then
   2160   ac_cv_prog_CC="$CC" # Let the user override the test.
   2161 else
   2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2163 for as_dir in $PATH
   2164 do
   2165   IFS=$as_save_IFS
   2166   test -z "$as_dir" && as_dir=.
   2167   for ac_exec_ext in '' $ac_executable_extensions; do
   2168   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2169     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2170     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2171     break 2
   2172   fi
   2173 done
   2174 done
   2175 
   2176 fi
   2177 fi
   2178 CC=$ac_cv_prog_CC
   2179 if test -n "$CC"; then
   2180   echo "$as_me:$LINENO: result: $CC" >&5
   2181 echo "${ECHO_T}$CC" >&6
   2182 else
   2183   echo "$as_me:$LINENO: result: no" >&5
   2184 echo "${ECHO_T}no" >&6
   2185 fi
   2186 
   2187 fi
   2188 if test -z "$ac_cv_prog_CC"; then
   2189   ac_ct_CC=$CC
   2190   # Extract the first word of "cc", so it can be a program name with args.
   2191 set dummy cc; ac_word=$2
   2192 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2194 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2195   echo $ECHO_N "(cached) $ECHO_C" >&6
   2196 else
   2197   if test -n "$ac_ct_CC"; then
   2198   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2199 else
   2200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2201 for as_dir in $PATH
   2202 do
   2203   IFS=$as_save_IFS
   2204   test -z "$as_dir" && as_dir=.
   2205   for ac_exec_ext in '' $ac_executable_extensions; do
   2206   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2207     ac_cv_prog_ac_ct_CC="cc"
   2208     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2209     break 2
   2210   fi
   2211 done
   2212 done
   2213 
   2214 fi
   2215 fi
   2216 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2217 if test -n "$ac_ct_CC"; then
   2218   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2219 echo "${ECHO_T}$ac_ct_CC" >&6
   2220 else
   2221   echo "$as_me:$LINENO: result: no" >&5
   2222 echo "${ECHO_T}no" >&6
   2223 fi
   2224 
   2225   CC=$ac_ct_CC
   2226 else
   2227   CC="$ac_cv_prog_CC"
   2228 fi
   2229 
   2230 fi
   2231 if test -z "$CC"; then
   2232   # Extract the first word of "cc", so it can be a program name with args.
   2233 set dummy cc; ac_word=$2
   2234 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2236 if test "${ac_cv_prog_CC+set}" = set; then
   2237   echo $ECHO_N "(cached) $ECHO_C" >&6
   2238 else
   2239   if test -n "$CC"; then
   2240   ac_cv_prog_CC="$CC" # Let the user override the test.
   2241 else
   2242   ac_prog_rejected=no
   2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2244 for as_dir in $PATH
   2245 do
   2246   IFS=$as_save_IFS
   2247   test -z "$as_dir" && as_dir=.
   2248   for ac_exec_ext in '' $ac_executable_extensions; do
   2249   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2250     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2251        ac_prog_rejected=yes
   2252        continue
   2253      fi
   2254     ac_cv_prog_CC="cc"
   2255     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2256     break 2
   2257   fi
   2258 done
   2259 done
   2260 
   2261 if test $ac_prog_rejected = yes; then
   2262   # We found a bogon in the path, so make sure we never use it.
   2263   set dummy $ac_cv_prog_CC
   2264   shift
   2265   if test $# != 0; then
   2266     # We chose a different compiler from the bogus one.
   2267     # However, it has the same basename, so the bogon will be chosen
   2268     # first if we set CC to just the basename; use the full file name.
   2269     shift
   2270     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2271   fi
   2272 fi
   2273 fi
   2274 fi
   2275 CC=$ac_cv_prog_CC
   2276 if test -n "$CC"; then
   2277   echo "$as_me:$LINENO: result: $CC" >&5
   2278 echo "${ECHO_T}$CC" >&6
   2279 else
   2280   echo "$as_me:$LINENO: result: no" >&5
   2281 echo "${ECHO_T}no" >&6
   2282 fi
   2283 
   2284 fi
   2285 if test -z "$CC"; then
   2286   if test -n "$ac_tool_prefix"; then
   2287   for ac_prog in cl
   2288   do
   2289     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2290 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2291 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2293 if test "${ac_cv_prog_CC+set}" = set; then
   2294   echo $ECHO_N "(cached) $ECHO_C" >&6
   2295 else
   2296   if test -n "$CC"; then
   2297   ac_cv_prog_CC="$CC" # Let the user override the test.
   2298 else
   2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2300 for as_dir in $PATH
   2301 do
   2302   IFS=$as_save_IFS
   2303   test -z "$as_dir" && as_dir=.
   2304   for ac_exec_ext in '' $ac_executable_extensions; do
   2305   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2306     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2307     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2308     break 2
   2309   fi
   2310 done
   2311 done
   2312 
   2313 fi
   2314 fi
   2315 CC=$ac_cv_prog_CC
   2316 if test -n "$CC"; then
   2317   echo "$as_me:$LINENO: result: $CC" >&5
   2318 echo "${ECHO_T}$CC" >&6
   2319 else
   2320   echo "$as_me:$LINENO: result: no" >&5
   2321 echo "${ECHO_T}no" >&6
   2322 fi
   2323 
   2324     test -n "$CC" && break
   2325   done
   2326 fi
   2327 if test -z "$CC"; then
   2328   ac_ct_CC=$CC
   2329   for ac_prog in cl
   2330 do
   2331   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2332 set dummy $ac_prog; ac_word=$2
   2333 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2335 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2336   echo $ECHO_N "(cached) $ECHO_C" >&6
   2337 else
   2338   if test -n "$ac_ct_CC"; then
   2339   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2340 else
   2341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2342 for as_dir in $PATH
   2343 do
   2344   IFS=$as_save_IFS
   2345   test -z "$as_dir" && as_dir=.
   2346   for ac_exec_ext in '' $ac_executable_extensions; do
   2347   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2348     ac_cv_prog_ac_ct_CC="$ac_prog"
   2349     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2350     break 2
   2351   fi
   2352 done
   2353 done
   2354 
   2355 fi
   2356 fi
   2357 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2358 if test -n "$ac_ct_CC"; then
   2359   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2360 echo "${ECHO_T}$ac_ct_CC" >&6
   2361 else
   2362   echo "$as_me:$LINENO: result: no" >&5
   2363 echo "${ECHO_T}no" >&6
   2364 fi
   2365 
   2366   test -n "$ac_ct_CC" && break
   2367 done
   2368 
   2369   CC=$ac_ct_CC
   2370 fi
   2371 
   2372 fi
   2373 
   2374 
   2375 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2376 See \`config.log' for more details." >&5
   2377 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2378 See \`config.log' for more details." >&2;}
   2379    { (exit 1); exit 1; }; }
   2380 
   2381 # Provide some information about the compiler.
   2382 echo "$as_me:$LINENO:" \
   2383      "checking for C compiler version" >&5
   2384 ac_compiler=`set X $ac_compile; echo $2`
   2385 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2386   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2387   ac_status=$?
   2388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2389   (exit $ac_status); }
   2390 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2391   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2392   ac_status=$?
   2393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2394   (exit $ac_status); }
   2395 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2396   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2397   ac_status=$?
   2398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2399   (exit $ac_status); }
   2400 
   2401 cat >conftest.$ac_ext <<_ACEOF
   2402 /* confdefs.h.  */
   2403 _ACEOF
   2404 cat confdefs.h >>conftest.$ac_ext
   2405 cat >>conftest.$ac_ext <<_ACEOF
   2406 /* end confdefs.h.  */
   2407 
   2408 int
   2409 main ()
   2410 {
   2411 
   2412   ;
   2413   return 0;
   2414 }
   2415 _ACEOF
   2416 ac_clean_files_save=$ac_clean_files
   2417 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2418 # Try to create an executable without -o first, disregard a.out.
   2419 # It will help us diagnose broken compilers, and finding out an intuition
   2420 # of exeext.
   2421 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2422 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2423 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2424 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2425   (eval $ac_link_default) 2>&5
   2426   ac_status=$?
   2427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2428   (exit $ac_status); }; then
   2429   # Find the output, starting from the most likely.  This scheme is
   2430 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2431 # resort.
   2432 
   2433 # Be careful to initialize this variable, since it used to be cached.
   2434 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2435 ac_cv_exeext=
   2436 # b.out is created by i960 compilers.
   2437 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2438 do
   2439   test -f "$ac_file" || continue
   2440   case $ac_file in
   2441     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2442 	;;
   2443     conftest.$ac_ext )
   2444 	# This is the source file.
   2445 	;;
   2446     [ab].out )
   2447 	# We found the default executable, but exeext='' is most
   2448 	# certainly right.
   2449 	break;;
   2450     *.* )
   2451 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2452 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2453 	# but it would be cool to find out if it's true.  Does anybody
   2454 	# maintain Libtool? --akim.
   2455 	export ac_cv_exeext
   2456 	break;;
   2457     * )
   2458 	break;;
   2459   esac
   2460 done
   2461 else
   2462   echo "$as_me: failed program was:" >&5
   2463 sed 's/^/| /' conftest.$ac_ext >&5
   2464 
   2465 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2466 See \`config.log' for more details." >&5
   2467 echo "$as_me: error: C compiler cannot create executables
   2468 See \`config.log' for more details." >&2;}
   2469    { (exit 77); exit 77; }; }
   2470 fi
   2471 
   2472 ac_exeext=$ac_cv_exeext
   2473 echo "$as_me:$LINENO: result: $ac_file" >&5
   2474 echo "${ECHO_T}$ac_file" >&6
   2475 
   2476 # Check the compiler produces executables we can run.  If not, either
   2477 # the compiler is broken, or we cross compile.
   2478 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2479 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2480 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2481 # If not cross compiling, check that we can run a simple program.
   2482 if test "$cross_compiling" != yes; then
   2483   if { ac_try='./$ac_file'
   2484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2485   (eval $ac_try) 2>&5
   2486   ac_status=$?
   2487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2488   (exit $ac_status); }; }; then
   2489     cross_compiling=no
   2490   else
   2491     if test "$cross_compiling" = maybe; then
   2492 	cross_compiling=yes
   2493     else
   2494 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2495 If you meant to cross compile, use \`--host'.
   2496 See \`config.log' for more details." >&5
   2497 echo "$as_me: error: cannot run C compiled programs.
   2498 If you meant to cross compile, use \`--host'.
   2499 See \`config.log' for more details." >&2;}
   2500    { (exit 1); exit 1; }; }
   2501     fi
   2502   fi
   2503 fi
   2504 echo "$as_me:$LINENO: result: yes" >&5
   2505 echo "${ECHO_T}yes" >&6
   2506 
   2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2508 ac_clean_files=$ac_clean_files_save
   2509 # Check the compiler produces executables we can run.  If not, either
   2510 # the compiler is broken, or we cross compile.
   2511 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2513 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2514 echo "${ECHO_T}$cross_compiling" >&6
   2515 
   2516 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2519   (eval $ac_link) 2>&5
   2520   ac_status=$?
   2521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2522   (exit $ac_status); }; then
   2523   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2524 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2525 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2526 # `rm'.
   2527 for ac_file in conftest.exe conftest conftest.*; do
   2528   test -f "$ac_file" || continue
   2529   case $ac_file in
   2530     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2531     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2532 	  export ac_cv_exeext
   2533 	  break;;
   2534     * ) break;;
   2535   esac
   2536 done
   2537 else
   2538   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2539 See \`config.log' for more details." >&5
   2540 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2541 See \`config.log' for more details." >&2;}
   2542    { (exit 1); exit 1; }; }
   2543 fi
   2544 
   2545 rm -f conftest$ac_cv_exeext
   2546 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2547 echo "${ECHO_T}$ac_cv_exeext" >&6
   2548 
   2549 rm -f conftest.$ac_ext
   2550 EXEEXT=$ac_cv_exeext
   2551 ac_exeext=$EXEEXT
   2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2554 if test "${ac_cv_objext+set}" = set; then
   2555   echo $ECHO_N "(cached) $ECHO_C" >&6
   2556 else
   2557   cat >conftest.$ac_ext <<_ACEOF
   2558 /* confdefs.h.  */
   2559 _ACEOF
   2560 cat confdefs.h >>conftest.$ac_ext
   2561 cat >>conftest.$ac_ext <<_ACEOF
   2562 /* end confdefs.h.  */
   2563 
   2564 int
   2565 main ()
   2566 {
   2567 
   2568   ;
   2569   return 0;
   2570 }
   2571 _ACEOF
   2572 rm -f conftest.o conftest.obj
   2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2574   (eval $ac_compile) 2>&5
   2575   ac_status=$?
   2576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2577   (exit $ac_status); }; then
   2578   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2579   case $ac_file in
   2580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2582        break;;
   2583   esac
   2584 done
   2585 else
   2586   echo "$as_me: failed program was:" >&5
   2587 sed 's/^/| /' conftest.$ac_ext >&5
   2588 
   2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2590 See \`config.log' for more details." >&5
   2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2592 See \`config.log' for more details." >&2;}
   2593    { (exit 1); exit 1; }; }
   2594 fi
   2595 
   2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2597 fi
   2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2599 echo "${ECHO_T}$ac_cv_objext" >&6
   2600 OBJEXT=$ac_cv_objext
   2601 ac_objext=$OBJEXT
   2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2605   echo $ECHO_N "(cached) $ECHO_C" >&6
   2606 else
   2607   cat >conftest.$ac_ext <<_ACEOF
   2608 /* confdefs.h.  */
   2609 _ACEOF
   2610 cat confdefs.h >>conftest.$ac_ext
   2611 cat >>conftest.$ac_ext <<_ACEOF
   2612 /* end confdefs.h.  */
   2613 
   2614 int
   2615 main ()
   2616 {
   2617 #ifndef __GNUC__
   2618        choke me
   2619 #endif
   2620 
   2621   ;
   2622   return 0;
   2623 }
   2624 _ACEOF
   2625 rm -f conftest.$ac_objext
   2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2627   (eval $ac_compile) 2>conftest.er1
   2628   ac_status=$?
   2629   grep -v '^ *+' conftest.er1 >conftest.err
   2630   rm -f conftest.er1
   2631   cat conftest.err >&5
   2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2633   (exit $ac_status); } &&
   2634 	 { ac_try='test -z "$ac_c_werror_flag"
   2635 			 || test ! -s conftest.err'
   2636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2637   (eval $ac_try) 2>&5
   2638   ac_status=$?
   2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2640   (exit $ac_status); }; } &&
   2641 	 { ac_try='test -s conftest.$ac_objext'
   2642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2643   (eval $ac_try) 2>&5
   2644   ac_status=$?
   2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2646   (exit $ac_status); }; }; then
   2647   ac_compiler_gnu=yes
   2648 else
   2649   echo "$as_me: failed program was:" >&5
   2650 sed 's/^/| /' conftest.$ac_ext >&5
   2651 
   2652 ac_compiler_gnu=no
   2653 fi
   2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2656 
   2657 fi
   2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2661 ac_test_CFLAGS=${CFLAGS+set}
   2662 ac_save_CFLAGS=$CFLAGS
   2663 CFLAGS="-g"
   2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2666 if test "${ac_cv_prog_cc_g+set}" = set; then
   2667   echo $ECHO_N "(cached) $ECHO_C" >&6
   2668 else
   2669   cat >conftest.$ac_ext <<_ACEOF
   2670 /* confdefs.h.  */
   2671 _ACEOF
   2672 cat confdefs.h >>conftest.$ac_ext
   2673 cat >>conftest.$ac_ext <<_ACEOF
   2674 /* end confdefs.h.  */
   2675 
   2676 int
   2677 main ()
   2678 {
   2679 
   2680   ;
   2681   return 0;
   2682 }
   2683 _ACEOF
   2684 rm -f conftest.$ac_objext
   2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2686   (eval $ac_compile) 2>conftest.er1
   2687   ac_status=$?
   2688   grep -v '^ *+' conftest.er1 >conftest.err
   2689   rm -f conftest.er1
   2690   cat conftest.err >&5
   2691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2692   (exit $ac_status); } &&
   2693 	 { ac_try='test -z "$ac_c_werror_flag"
   2694 			 || test ! -s conftest.err'
   2695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2696   (eval $ac_try) 2>&5
   2697   ac_status=$?
   2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2699   (exit $ac_status); }; } &&
   2700 	 { ac_try='test -s conftest.$ac_objext'
   2701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2702   (eval $ac_try) 2>&5
   2703   ac_status=$?
   2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2705   (exit $ac_status); }; }; then
   2706   ac_cv_prog_cc_g=yes
   2707 else
   2708   echo "$as_me: failed program was:" >&5
   2709 sed 's/^/| /' conftest.$ac_ext >&5
   2710 
   2711 ac_cv_prog_cc_g=no
   2712 fi
   2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2714 fi
   2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2717 if test "$ac_test_CFLAGS" = set; then
   2718   CFLAGS=$ac_save_CFLAGS
   2719 elif test $ac_cv_prog_cc_g = yes; then
   2720   if test "$GCC" = yes; then
   2721     CFLAGS="-g -O2"
   2722   else
   2723     CFLAGS="-g"
   2724   fi
   2725 else
   2726   if test "$GCC" = yes; then
   2727     CFLAGS="-O2"
   2728   else
   2729     CFLAGS=
   2730   fi
   2731 fi
   2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2735   echo $ECHO_N "(cached) $ECHO_C" >&6
   2736 else
   2737   ac_cv_prog_cc_stdc=no
   2738 ac_save_CC=$CC
   2739 cat >conftest.$ac_ext <<_ACEOF
   2740 /* confdefs.h.  */
   2741 _ACEOF
   2742 cat confdefs.h >>conftest.$ac_ext
   2743 cat >>conftest.$ac_ext <<_ACEOF
   2744 /* end confdefs.h.  */
   2745 #include <stdarg.h>
   2746 #include <stdio.h>
   2747 #include <sys/types.h>
   2748 #include <sys/stat.h>
   2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2750 struct buf { int x; };
   2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2752 static char *e (p, i)
   2753      char **p;
   2754      int i;
   2755 {
   2756   return p[i];
   2757 }
   2758 static char *f (char * (*g) (char **, int), char **p, ...)
   2759 {
   2760   char *s;
   2761   va_list v;
   2762   va_start (v,p);
   2763   s = g (p, va_arg (v,int));
   2764   va_end (v);
   2765   return s;
   2766 }
   2767 
   2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2769    function prototypes and stuff, but not '\xHH' hex character constants.
   2770    These don't provoke an error unfortunately, instead are silently treated
   2771    as 'x'.  The following induces an error, until -std1 is added to get
   2772    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2773    array size at least.  It's necessary to write '\x00'==0 to get something
   2774    that's true only with -std1.  */
   2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2776 
   2777 int test (int i, double x);
   2778 struct s1 {int (*f) (int a);};
   2779 struct s2 {int (*f) (double a);};
   2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2781 int argc;
   2782 char **argv;
   2783 int
   2784 main ()
   2785 {
   2786 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2787   ;
   2788   return 0;
   2789 }
   2790 _ACEOF
   2791 # Don't try gcc -ansi; that turns off useful extensions and
   2792 # breaks some systems' header files.
   2793 # AIX			-qlanglvl=ansi
   2794 # Ultrix and OSF/1	-std1
   2795 # HP-UX 10.20 and later	-Ae
   2796 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2797 # SVR4			-Xc -D__EXTENSIONS__
   2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2799 do
   2800   CC="$ac_save_CC $ac_arg"
   2801   rm -f conftest.$ac_objext
   2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2803   (eval $ac_compile) 2>conftest.er1
   2804   ac_status=$?
   2805   grep -v '^ *+' conftest.er1 >conftest.err
   2806   rm -f conftest.er1
   2807   cat conftest.err >&5
   2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2809   (exit $ac_status); } &&
   2810 	 { ac_try='test -z "$ac_c_werror_flag"
   2811 			 || test ! -s conftest.err'
   2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2813   (eval $ac_try) 2>&5
   2814   ac_status=$?
   2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2816   (exit $ac_status); }; } &&
   2817 	 { ac_try='test -s conftest.$ac_objext'
   2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2819   (eval $ac_try) 2>&5
   2820   ac_status=$?
   2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2822   (exit $ac_status); }; }; then
   2823   ac_cv_prog_cc_stdc=$ac_arg
   2824 break
   2825 else
   2826   echo "$as_me: failed program was:" >&5
   2827 sed 's/^/| /' conftest.$ac_ext >&5
   2828 
   2829 fi
   2830 rm -f conftest.err conftest.$ac_objext
   2831 done
   2832 rm -f conftest.$ac_ext conftest.$ac_objext
   2833 CC=$ac_save_CC
   2834 
   2835 fi
   2836 
   2837 case "x$ac_cv_prog_cc_stdc" in
   2838   x|xno)
   2839     echo "$as_me:$LINENO: result: none needed" >&5
   2840 echo "${ECHO_T}none needed" >&6 ;;
   2841   *)
   2842     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2844     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2845 esac
   2846 
   2847 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2848 # in C++ we need to declare it.  In case someone uses the same compiler
   2849 # for both compiling C and C++ we need to have the C++ compiler decide
   2850 # the declaration of exit, since it's the most demanding environment.
   2851 cat >conftest.$ac_ext <<_ACEOF
   2852 #ifndef __cplusplus
   2853   choke me
   2854 #endif
   2855 _ACEOF
   2856 rm -f conftest.$ac_objext
   2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2858   (eval $ac_compile) 2>conftest.er1
   2859   ac_status=$?
   2860   grep -v '^ *+' conftest.er1 >conftest.err
   2861   rm -f conftest.er1
   2862   cat conftest.err >&5
   2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2864   (exit $ac_status); } &&
   2865 	 { ac_try='test -z "$ac_c_werror_flag"
   2866 			 || test ! -s conftest.err'
   2867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2868   (eval $ac_try) 2>&5
   2869   ac_status=$?
   2870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2871   (exit $ac_status); }; } &&
   2872 	 { ac_try='test -s conftest.$ac_objext'
   2873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2874   (eval $ac_try) 2>&5
   2875   ac_status=$?
   2876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2877   (exit $ac_status); }; }; then
   2878   for ac_declaration in \
   2879    '' \
   2880    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2881    'extern "C" void std::exit (int); using std::exit;' \
   2882    'extern "C" void exit (int) throw ();' \
   2883    'extern "C" void exit (int);' \
   2884    'void exit (int);'
   2885 do
   2886   cat >conftest.$ac_ext <<_ACEOF
   2887 /* confdefs.h.  */
   2888 _ACEOF
   2889 cat confdefs.h >>conftest.$ac_ext
   2890 cat >>conftest.$ac_ext <<_ACEOF
   2891 /* end confdefs.h.  */
   2892 $ac_declaration
   2893 #include <stdlib.h>
   2894 int
   2895 main ()
   2896 {
   2897 exit (42);
   2898   ;
   2899   return 0;
   2900 }
   2901 _ACEOF
   2902 rm -f conftest.$ac_objext
   2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2904   (eval $ac_compile) 2>conftest.er1
   2905   ac_status=$?
   2906   grep -v '^ *+' conftest.er1 >conftest.err
   2907   rm -f conftest.er1
   2908   cat conftest.err >&5
   2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2910   (exit $ac_status); } &&
   2911 	 { ac_try='test -z "$ac_c_werror_flag"
   2912 			 || test ! -s conftest.err'
   2913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2914   (eval $ac_try) 2>&5
   2915   ac_status=$?
   2916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2917   (exit $ac_status); }; } &&
   2918 	 { ac_try='test -s conftest.$ac_objext'
   2919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2920   (eval $ac_try) 2>&5
   2921   ac_status=$?
   2922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2923   (exit $ac_status); }; }; then
   2924   :
   2925 else
   2926   echo "$as_me: failed program was:" >&5
   2927 sed 's/^/| /' conftest.$ac_ext >&5
   2928 
   2929 continue
   2930 fi
   2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   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 $ac_declaration
   2939 int
   2940 main ()
   2941 {
   2942 exit (42);
   2943   ;
   2944   return 0;
   2945 }
   2946 _ACEOF
   2947 rm -f conftest.$ac_objext
   2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2949   (eval $ac_compile) 2>conftest.er1
   2950   ac_status=$?
   2951   grep -v '^ *+' conftest.er1 >conftest.err
   2952   rm -f conftest.er1
   2953   cat conftest.err >&5
   2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2955   (exit $ac_status); } &&
   2956 	 { ac_try='test -z "$ac_c_werror_flag"
   2957 			 || test ! -s conftest.err'
   2958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2959   (eval $ac_try) 2>&5
   2960   ac_status=$?
   2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2962   (exit $ac_status); }; } &&
   2963 	 { ac_try='test -s conftest.$ac_objext'
   2964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2965   (eval $ac_try) 2>&5
   2966   ac_status=$?
   2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2968   (exit $ac_status); }; }; then
   2969   break
   2970 else
   2971   echo "$as_me: failed program was:" >&5
   2972 sed 's/^/| /' conftest.$ac_ext >&5
   2973 
   2974 fi
   2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2976 done
   2977 rm -f conftest*
   2978 if test -n "$ac_declaration"; then
   2979   echo '#ifdef __cplusplus' >>confdefs.h
   2980   echo $ac_declaration      >>confdefs.h
   2981   echo '#endif'             >>confdefs.h
   2982 fi
   2983 
   2984 else
   2985   echo "$as_me: failed program was:" >&5
   2986 sed 's/^/| /' conftest.$ac_ext >&5
   2987 
   2988 fi
   2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2990 ac_ext=c
   2991 ac_cpp='$CPP $CPPFLAGS'
   2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2995 DEPDIR="${am__leading_dot}deps"
   2996 
   2997           ac_config_commands="$ac_config_commands depfiles"
   2998 
   2999 
   3000 am_make=${MAKE-make}
   3001 cat > confinc << 'END'
   3002 am__doit:
   3003 	@echo done
   3004 .PHONY: am__doit
   3005 END
   3006 # If we don't find an include directive, just comment out the code.
   3007 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3008 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   3009 am__include="#"
   3010 am__quote=
   3011 _am_result=none
   3012 # First try GNU make style include.
   3013 echo "include confinc" > confmf
   3014 # We grep out `Entering directory' and `Leaving directory'
   3015 # messages which can occur if `w' ends up in MAKEFLAGS.
   3016 # In particular we don't look at `^make:' because GNU make might
   3017 # be invoked under some other name (usually "gmake"), in which
   3018 # case it prints its new name instead of `make'.
   3019 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3020    am__include=include
   3021    am__quote=
   3022    _am_result=GNU
   3023 fi
   3024 # Now try BSD make style include.
   3025 if test "$am__include" = "#"; then
   3026    echo '.include "confinc"' > confmf
   3027    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3028       am__include=.include
   3029       am__quote="\""
   3030       _am_result=BSD
   3031    fi
   3032 fi
   3033 
   3034 
   3035 echo "$as_me:$LINENO: result: $_am_result" >&5
   3036 echo "${ECHO_T}$_am_result" >&6
   3037 rm -f confinc confmf
   3038 
   3039 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   3040 if test "${enable_dependency_tracking+set}" = set; then
   3041   enableval="$enable_dependency_tracking"
   3042 
   3043 fi;
   3044 if test "x$enable_dependency_tracking" != xno; then
   3045   am_depcomp="$ac_aux_dir/depcomp"
   3046   AMDEPBACKSLASH='\'
   3047 fi
   3048 
   3049 
   3050 if test "x$enable_dependency_tracking" != xno; then
   3051   AMDEP_TRUE=
   3052   AMDEP_FALSE='#'
   3053 else
   3054   AMDEP_TRUE='#'
   3055   AMDEP_FALSE=
   3056 fi
   3057 
   3058 
   3059 
   3060 
   3061 depcc="$CC"   am_compiler_list=
   3062 
   3063 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3064 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3065 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3066   echo $ECHO_N "(cached) $ECHO_C" >&6
   3067 else
   3068   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3069   # We make a subdir and do the tests there.  Otherwise we can end up
   3070   # making bogus files that we don't know about and never remove.  For
   3071   # instance it was reported that on HP-UX the gcc test will end up
   3072   # making a dummy file named `D' -- because `-MD' means `put the output
   3073   # in D'.
   3074   mkdir conftest.dir
   3075   # Copy depcomp to subdir because otherwise we won't find it if we're
   3076   # using a relative directory.
   3077   cp "$am_depcomp" conftest.dir
   3078   cd conftest.dir
   3079   # We will build objects and dependencies in a subdirectory because
   3080   # it helps to detect inapplicable dependency modes.  For instance
   3081   # both Tru64's cc and ICC support -MD to output dependencies as a
   3082   # side effect of compilation, but ICC will put the dependencies in
   3083   # the current directory while Tru64 will put them in the object
   3084   # directory.
   3085   mkdir sub
   3086 
   3087   am_cv_CC_dependencies_compiler_type=none
   3088   if test "$am_compiler_list" = ""; then
   3089      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3090   fi
   3091   for depmode in $am_compiler_list; do
   3092     # Setup a source with many dependencies, because some compilers
   3093     # like to wrap large dependency lists on column 80 (with \), and
   3094     # we should not choose a depcomp mode which is confused by this.
   3095     #
   3096     # We need to recreate these files for each test, as the compiler may
   3097     # overwrite some of them when testing with obscure command lines.
   3098     # This happens at least with the AIX C compiler.
   3099     : > sub/conftest.c
   3100     for i in 1 2 3 4 5 6; do
   3101       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3102       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3103       # Solaris 8's {/usr,}/bin/sh.
   3104       touch sub/conftst$i.h
   3105     done
   3106     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3107 
   3108     case $depmode in
   3109     nosideeffect)
   3110       # after this tag, mechanisms are not by side-effect, so they'll
   3111       # only be used when explicitly requested
   3112       if test "x$enable_dependency_tracking" = xyes; then
   3113 	continue
   3114       else
   3115 	break
   3116       fi
   3117       ;;
   3118     none) break ;;
   3119     esac
   3120     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3121     # mode.  It turns out that the SunPro C++ compiler does not properly
   3122     # handle `-M -o', and we need to detect this.
   3123     if depmode=$depmode \
   3124        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3125        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3126        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3127          >/dev/null 2>conftest.err &&
   3128        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3129        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3130        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3131       # icc doesn't choke on unknown options, it will just issue warnings
   3132       # or remarks (even with -Werror).  So we grep stderr for any message
   3133       # that says an option was ignored or not supported.
   3134       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3135       #   icc: Command line warning: ignoring option '-M'; no argument required
   3136       # The diagnosis changed in icc 8.0:
   3137       #   icc: Command line remark: option '-MP' not supported
   3138       if (grep 'ignoring option' conftest.err ||
   3139           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3140         am_cv_CC_dependencies_compiler_type=$depmode
   3141         break
   3142       fi
   3143     fi
   3144   done
   3145 
   3146   cd ..
   3147   rm -rf conftest.dir
   3148 else
   3149   am_cv_CC_dependencies_compiler_type=none
   3150 fi
   3151 
   3152 fi
   3153 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3154 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3155 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3156 
   3157 
   3158 
   3159 if
   3160   test "x$enable_dependency_tracking" != xno \
   3161   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3162   am__fastdepCC_TRUE=
   3163   am__fastdepCC_FALSE='#'
   3164 else
   3165   am__fastdepCC_TRUE='#'
   3166   am__fastdepCC_FALSE=
   3167 fi
   3168 
   3169 
   3170 # We need this for older versions of Autoconf.
   3171 
   3172 depcc="$CC"   am_compiler_list=
   3173 
   3174 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3175 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3176 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3177   echo $ECHO_N "(cached) $ECHO_C" >&6
   3178 else
   3179   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3180   # We make a subdir and do the tests there.  Otherwise we can end up
   3181   # making bogus files that we don't know about and never remove.  For
   3182   # instance it was reported that on HP-UX the gcc test will end up
   3183   # making a dummy file named `D' -- because `-MD' means `put the output
   3184   # in D'.
   3185   mkdir conftest.dir
   3186   # Copy depcomp to subdir because otherwise we won't find it if we're
   3187   # using a relative directory.
   3188   cp "$am_depcomp" conftest.dir
   3189   cd conftest.dir
   3190   # We will build objects and dependencies in a subdirectory because
   3191   # it helps to detect inapplicable dependency modes.  For instance
   3192   # both Tru64's cc and ICC support -MD to output dependencies as a
   3193   # side effect of compilation, but ICC will put the dependencies in
   3194   # the current directory while Tru64 will put them in the object
   3195   # directory.
   3196   mkdir sub
   3197 
   3198   am_cv_CC_dependencies_compiler_type=none
   3199   if test "$am_compiler_list" = ""; then
   3200      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3201   fi
   3202   for depmode in $am_compiler_list; do
   3203     # Setup a source with many dependencies, because some compilers
   3204     # like to wrap large dependency lists on column 80 (with \), and
   3205     # we should not choose a depcomp mode which is confused by this.
   3206     #
   3207     # We need to recreate these files for each test, as the compiler may
   3208     # overwrite some of them when testing with obscure command lines.
   3209     # This happens at least with the AIX C compiler.
   3210     : > sub/conftest.c
   3211     for i in 1 2 3 4 5 6; do
   3212       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3213       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3214       # Solaris 8's {/usr,}/bin/sh.
   3215       touch sub/conftst$i.h
   3216     done
   3217     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3218 
   3219     case $depmode in
   3220     nosideeffect)
   3221       # after this tag, mechanisms are not by side-effect, so they'll
   3222       # only be used when explicitly requested
   3223       if test "x$enable_dependency_tracking" = xyes; then
   3224 	continue
   3225       else
   3226 	break
   3227       fi
   3228       ;;
   3229     none) break ;;
   3230     esac
   3231     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3232     # mode.  It turns out that the SunPro C++ compiler does not properly
   3233     # handle `-M -o', and we need to detect this.
   3234     if depmode=$depmode \
   3235        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3236        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3237        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3238          >/dev/null 2>conftest.err &&
   3239        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3240        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3241        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3242       # icc doesn't choke on unknown options, it will just issue warnings
   3243       # or remarks (even with -Werror).  So we grep stderr for any message
   3244       # that says an option was ignored or not supported.
   3245       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3246       #   icc: Command line warning: ignoring option '-M'; no argument required
   3247       # The diagnosis changed in icc 8.0:
   3248       #   icc: Command line remark: option '-MP' not supported
   3249       if (grep 'ignoring option' conftest.err ||
   3250           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3251         am_cv_CC_dependencies_compiler_type=$depmode
   3252         break
   3253       fi
   3254     fi
   3255   done
   3256 
   3257   cd ..
   3258   rm -rf conftest.dir
   3259 else
   3260   am_cv_CC_dependencies_compiler_type=none
   3261 fi
   3262 
   3263 fi
   3264 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3265 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3266 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3267 
   3268 
   3269 
   3270 if
   3271   test "x$enable_dependency_tracking" != xno \
   3272   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3273   am__fastdepCC_TRUE=
   3274   am__fastdepCC_FALSE='#'
   3275 else
   3276   am__fastdepCC_TRUE='#'
   3277   am__fastdepCC_FALSE=
   3278 fi
   3279 
   3280 
   3281 
   3282 CCAS="$CC"
   3283 
   3284 
   3285 
   3286 # Check whether --with-binutils or --without-binutils was given.
   3287 if test "${with_binutils+set}" = set; then
   3288   withval="$with_binutils"
   3289 
   3290 fi;
   3291 
   3292 if test "x$with_binutils" != x; then
   3293   # Extract the first word of "ranlib", so it can be a program name with args.
   3294 set dummy ranlib; ac_word=$2
   3295 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3297 if test "${ac_cv_path_RANLIB+set}" = set; then
   3298   echo $ECHO_N "(cached) $ECHO_C" >&6
   3299 else
   3300   case $RANLIB in
   3301   [\\/]* | ?:[\\/]*)
   3302   ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
   3303   ;;
   3304   *)
   3305   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3306 as_dummy=""$with_binutils:$PATH""
   3307 for as_dir in $as_dummy
   3308 do
   3309   IFS=$as_save_IFS
   3310   test -z "$as_dir" && as_dir=.
   3311   for ac_exec_ext in '' $ac_executable_extensions; do
   3312   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3313     ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
   3314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3315     break 2
   3316   fi
   3317 done
   3318 done
   3319 
   3320   test -z "$ac_cv_path_RANLIB" && ac_cv_path_RANLIB=":"
   3321   ;;
   3322 esac
   3323 fi
   3324 RANLIB=$ac_cv_path_RANLIB
   3325 
   3326 if test -n "$RANLIB"; then
   3327   echo "$as_me:$LINENO: result: $RANLIB" >&5
   3328 echo "${ECHO_T}$RANLIB" >&6
   3329 else
   3330   echo "$as_me:$LINENO: result: no" >&5
   3331 echo "${ECHO_T}no" >&6
   3332 fi
   3333 
   3334 else
   3335   if test -n "$ac_tool_prefix"; then
   3336   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3337 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3338 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3340 if test "${ac_cv_prog_RANLIB+set}" = set; then
   3341   echo $ECHO_N "(cached) $ECHO_C" >&6
   3342 else
   3343   if test -n "$RANLIB"; then
   3344   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3345 else
   3346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3347 for as_dir in $PATH
   3348 do
   3349   IFS=$as_save_IFS
   3350   test -z "$as_dir" && as_dir=.
   3351   for ac_exec_ext in '' $ac_executable_extensions; do
   3352   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3353     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3354     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3355     break 2
   3356   fi
   3357 done
   3358 done
   3359 
   3360 fi
   3361 fi
   3362 RANLIB=$ac_cv_prog_RANLIB
   3363 if test -n "$RANLIB"; then
   3364   echo "$as_me:$LINENO: result: $RANLIB" >&5
   3365 echo "${ECHO_T}$RANLIB" >&6
   3366 else
   3367   echo "$as_me:$LINENO: result: no" >&5
   3368 echo "${ECHO_T}no" >&6
   3369 fi
   3370 
   3371 fi
   3372 if test -z "$ac_cv_prog_RANLIB"; then
   3373   ac_ct_RANLIB=$RANLIB
   3374   # Extract the first word of "ranlib", so it can be a program name with args.
   3375 set dummy ranlib; ac_word=$2
   3376 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3378 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   3379   echo $ECHO_N "(cached) $ECHO_C" >&6
   3380 else
   3381   if test -n "$ac_ct_RANLIB"; then
   3382   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3383 else
   3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3385 for as_dir in $PATH
   3386 do
   3387   IFS=$as_save_IFS
   3388   test -z "$as_dir" && as_dir=.
   3389   for ac_exec_ext in '' $ac_executable_extensions; do
   3390   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3391     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3392     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3393     break 2
   3394   fi
   3395 done
   3396 done
   3397 
   3398   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   3399 fi
   3400 fi
   3401 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3402 if test -n "$ac_ct_RANLIB"; then
   3403   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   3404 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   3405 else
   3406   echo "$as_me:$LINENO: result: no" >&5
   3407 echo "${ECHO_T}no" >&6
   3408 fi
   3409 
   3410   RANLIB=$ac_ct_RANLIB
   3411 else
   3412   RANLIB="$ac_cv_prog_RANLIB"
   3413 fi
   3414 
   3415 fi
   3416 
   3417 # optimization flags
   3418 if test "x$ac_cv_c_compiler_gnu" = xyes; then
   3419   if test "x$default_CFLAGS" = xyes; then
   3420     # Autoconf may set CFLAGS to -O2 and/or -g. So eliminate them.
   3421     CFLAGS="`echo $CFLAGS | sed -e 's/-g//g' -e 's/-O[0-9]//g'` -g"
   3422     # If the user specify the directory for binutils, add the option `-B'.
   3423     if test "x$with_binutils" != x; then
   3424       CFLAGS="-B$with_binutils/ $CFLAGS"
   3425     fi
   3426     STAGE1_CFLAGS="-O2"
   3427     GRUB_CFLAGS="-O2"
   3428 
   3429 echo "$as_me:$LINENO: checking whether optimization for size works" >&5
   3430 echo $ECHO_N "checking whether optimization for size works... $ECHO_C" >&6
   3431 if test "${size_flag+set}" = set; then
   3432   echo $ECHO_N "(cached) $ECHO_C" >&6
   3433 else
   3434 
   3435       saved_CFLAGS=$CFLAGS
   3436       CFLAGS="-Os -g"
   3437       cat >conftest.$ac_ext <<_ACEOF
   3438 /* confdefs.h.  */
   3439 _ACEOF
   3440 cat confdefs.h >>conftest.$ac_ext
   3441 cat >>conftest.$ac_ext <<_ACEOF
   3442 /* end confdefs.h.  */
   3443 
   3444 int
   3445 main ()
   3446 {
   3447 
   3448   ;
   3449   return 0;
   3450 }
   3451 _ACEOF
   3452 rm -f conftest.$ac_objext
   3453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3454   (eval $ac_compile) 2>conftest.er1
   3455   ac_status=$?
   3456   grep -v '^ *+' conftest.er1 >conftest.err
   3457   rm -f conftest.er1
   3458   cat conftest.err >&5
   3459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3460   (exit $ac_status); } &&
   3461 	 { ac_try='test -z "$ac_c_werror_flag"
   3462 			 || test ! -s conftest.err'
   3463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3464   (eval $ac_try) 2>&5
   3465   ac_status=$?
   3466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3467   (exit $ac_status); }; } &&
   3468 	 { ac_try='test -s conftest.$ac_objext'
   3469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3470   (eval $ac_try) 2>&5
   3471   ac_status=$?
   3472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3473   (exit $ac_status); }; }; then
   3474   size_flag=yes
   3475 else
   3476   echo "$as_me: failed program was:" >&5
   3477 sed 's/^/| /' conftest.$ac_ext >&5
   3478 
   3479 size_flag=no
   3480 fi
   3481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3482       CFLAGS=$saved_CFLAGS
   3483 
   3484 fi
   3485 echo "$as_me:$LINENO: result: $size_flag" >&5
   3486 echo "${ECHO_T}$size_flag" >&6
   3487     if test "x$size_flag" = xyes; then
   3488       STAGE2_CFLAGS="-Os"
   3489     else
   3490       STAGE2_CFLAGS="-O2 -fno-strength-reduce -fno-unroll-loops"
   3491     fi
   3492     # OpenBSD has a GCC extension for protecting applications from
   3493     # stack smashing attacks, but GRUB doesn't want this feature.
   3494     echo "$as_me:$LINENO: checking whether gcc has -fno-stack-protector" >&5
   3495 echo $ECHO_N "checking whether gcc has -fno-stack-protector... $ECHO_C" >&6
   3496 if test "${no_stack_protector_flag+set}" = set; then
   3497   echo $ECHO_N "(cached) $ECHO_C" >&6
   3498 else
   3499 
   3500       saved_CFLAGS=$CFLAGS
   3501       CFLAGS="-fno-stack-protector"
   3502       cat >conftest.$ac_ext <<_ACEOF
   3503 /* confdefs.h.  */
   3504 _ACEOF
   3505 cat confdefs.h >>conftest.$ac_ext
   3506 cat >>conftest.$ac_ext <<_ACEOF
   3507 /* end confdefs.h.  */
   3508 
   3509 int
   3510 main ()
   3511 {
   3512 
   3513   ;
   3514   return 0;
   3515 }
   3516 _ACEOF
   3517 rm -f conftest.$ac_objext
   3518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3519   (eval $ac_compile) 2>conftest.er1
   3520   ac_status=$?
   3521   grep -v '^ *+' conftest.er1 >conftest.err
   3522   rm -f conftest.er1
   3523   cat conftest.err >&5
   3524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3525   (exit $ac_status); } &&
   3526 	 { ac_try='test -z "$ac_c_werror_flag"
   3527 			 || test ! -s conftest.err'
   3528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3529   (eval $ac_try) 2>&5
   3530   ac_status=$?
   3531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3532   (exit $ac_status); }; } &&
   3533 	 { ac_try='test -s conftest.$ac_objext'
   3534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3535   (eval $ac_try) 2>&5
   3536   ac_status=$?
   3537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3538   (exit $ac_status); }; }; then
   3539   no_stack_protector_flag=yes
   3540 else
   3541   echo "$as_me: failed program was:" >&5
   3542 sed 's/^/| /' conftest.$ac_ext >&5
   3543 
   3544 no_stack_protector_flag=no
   3545 fi
   3546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3547       CFLAGS=$saved_CFLAGS
   3548 
   3549 fi
   3550 echo "$as_me:$LINENO: result: $no_stack_protector_flag" >&5
   3551 echo "${ECHO_T}$no_stack_protector_flag" >&6
   3552     if test "x$no_stack_protector_flag" = xyes; then
   3553       STAGE2_CFLAGS="$STAGE2_CFLAGS -fno-stack-protector"
   3554     fi
   3555   fi
   3556 fi
   3557 
   3558 
   3559 
   3560 
   3561 
   3562 # Enforce coding standards.
   3563 CPPFLAGS="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused -Wshadow"
   3564 CPPFLAGS="$CPPFLAGS -Wpointer-arith"
   3565 
   3566 echo "$as_me:$LINENO: checking whether -Wundef works" >&5
   3567 echo $ECHO_N "checking whether -Wundef works... $ECHO_C" >&6
   3568 if test "${undef_flag+set}" = set; then
   3569   echo $ECHO_N "(cached) $ECHO_C" >&6
   3570 else
   3571 
   3572   saved_CPPFLAGS="$CPPFLAGS"
   3573   CPPFLAGS="-Wundef"
   3574   cat >conftest.$ac_ext <<_ACEOF
   3575 /* confdefs.h.  */
   3576 _ACEOF
   3577 cat confdefs.h >>conftest.$ac_ext
   3578 cat >>conftest.$ac_ext <<_ACEOF
   3579 /* end confdefs.h.  */
   3580 
   3581 int
   3582 main ()
   3583 {
   3584 
   3585   ;
   3586   return 0;
   3587 }
   3588 _ACEOF
   3589 rm -f conftest.$ac_objext
   3590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3591   (eval $ac_compile) 2>conftest.er1
   3592   ac_status=$?
   3593   grep -v '^ *+' conftest.er1 >conftest.err
   3594   rm -f conftest.er1
   3595   cat conftest.err >&5
   3596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3597   (exit $ac_status); } &&
   3598 	 { ac_try='test -z "$ac_c_werror_flag"
   3599 			 || test ! -s conftest.err'
   3600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3601   (eval $ac_try) 2>&5
   3602   ac_status=$?
   3603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3604   (exit $ac_status); }; } &&
   3605 	 { ac_try='test -s conftest.$ac_objext'
   3606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3607   (eval $ac_try) 2>&5
   3608   ac_status=$?
   3609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3610   (exit $ac_status); }; }; then
   3611   undef_flag=yes
   3612 else
   3613   echo "$as_me: failed program was:" >&5
   3614 sed 's/^/| /' conftest.$ac_ext >&5
   3615 
   3616 undef_flag=no
   3617 fi
   3618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3619   CPPFLAGS="$saved_CPPFLAGS"
   3620 
   3621 fi
   3622 echo "$as_me:$LINENO: result: $undef_flag" >&5
   3623 echo "${ECHO_T}$undef_flag" >&6
   3624 
   3625 # The options `-falign-*' are supported by gcc 3.0 or later.
   3626 # Probably it is sufficient to only check for -falign-loops.
   3627 echo "$as_me:$LINENO: checking whether -falign-loops works" >&5
   3628 echo $ECHO_N "checking whether -falign-loops works... $ECHO_C" >&6
   3629 if test "${falign_loop_flag+set}" = set; then
   3630   echo $ECHO_N "(cached) $ECHO_C" >&6
   3631 else
   3632 
   3633   saved_CPPFLAGS="$CPPFLAGS"
   3634   CPPFLAGS="-falign-loops=1"
   3635   cat >conftest.$ac_ext <<_ACEOF
   3636 /* confdefs.h.  */
   3637 _ACEOF
   3638 cat confdefs.h >>conftest.$ac_ext
   3639 cat >>conftest.$ac_ext <<_ACEOF
   3640 /* end confdefs.h.  */
   3641 
   3642 int
   3643 main ()
   3644 {
   3645 
   3646   ;
   3647   return 0;
   3648 }
   3649 _ACEOF
   3650 rm -f conftest.$ac_objext
   3651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3652   (eval $ac_compile) 2>conftest.er1
   3653   ac_status=$?
   3654   grep -v '^ *+' conftest.er1 >conftest.err
   3655   rm -f conftest.er1
   3656   cat conftest.err >&5
   3657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3658   (exit $ac_status); } &&
   3659 	 { ac_try='test -z "$ac_c_werror_flag"
   3660 			 || test ! -s conftest.err'
   3661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3662   (eval $ac_try) 2>&5
   3663   ac_status=$?
   3664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3665   (exit $ac_status); }; } &&
   3666 	 { ac_try='test -s conftest.$ac_objext'
   3667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3668   (eval $ac_try) 2>&5
   3669   ac_status=$?
   3670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3671   (exit $ac_status); }; }; then
   3672   falign_loop_flag=yes
   3673 else
   3674   echo "$as_me: failed program was:" >&5
   3675 sed 's/^/| /' conftest.$ac_ext >&5
   3676 
   3677 falign_loop_flag=no
   3678 fi
   3679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3680   CPPFLAGS="$saved_CPPFLAGS"
   3681 
   3682 fi
   3683 echo "$as_me:$LINENO: result: $falign_loop_flag" >&5
   3684 echo "${ECHO_T}$falign_loop_flag" >&6
   3685 
   3686 # Force no alignment to save space.
   3687 if test "x$falign_loop_flag" = xyes; then
   3688   CPPFLAGS="$CPPFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1"
   3689 else
   3690   CPPFLAGS="$CPPFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
   3691 fi
   3692 
   3693 if test "x$undef_flag" = xyes; then
   3694   CPPFLAGS="$CPPFLAGS -Wundef"
   3695 fi
   3696 
   3697 if test "x$with_binutils" != x; then
   3698   # Extract the first word of "objcopy", so it can be a program name with args.
   3699 set dummy objcopy; ac_word=$2
   3700 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3702 if test "${ac_cv_path_OBJCOPY+set}" = set; then
   3703   echo $ECHO_N "(cached) $ECHO_C" >&6
   3704 else
   3705   case $OBJCOPY in
   3706   [\\/]* | ?:[\\/]*)
   3707   ac_cv_path_OBJCOPY="$OBJCOPY" # Let the user override the test with a path.
   3708   ;;
   3709   *)
   3710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3711 as_dummy=""$with_binutils:$PATH""
   3712 for as_dir in $as_dummy
   3713 do
   3714   IFS=$as_save_IFS
   3715   test -z "$as_dir" && as_dir=.
   3716   for ac_exec_ext in '' $ac_executable_extensions; do
   3717   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3718     ac_cv_path_OBJCOPY="$as_dir/$ac_word$ac_exec_ext"
   3719     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3720     break 2
   3721   fi
   3722 done
   3723 done
   3724 
   3725   ;;
   3726 esac
   3727 fi
   3728 OBJCOPY=$ac_cv_path_OBJCOPY
   3729 
   3730 if test -n "$OBJCOPY"; then
   3731   echo "$as_me:$LINENO: result: $OBJCOPY" >&5
   3732 echo "${ECHO_T}$OBJCOPY" >&6
   3733 else
   3734   echo "$as_me:$LINENO: result: no" >&5
   3735 echo "${ECHO_T}no" >&6
   3736 fi
   3737 
   3738 else
   3739   if test -n "$ac_tool_prefix"; then
   3740   # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
   3741 set dummy ${ac_tool_prefix}objcopy; ac_word=$2
   3742 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3744 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
   3745   echo $ECHO_N "(cached) $ECHO_C" >&6
   3746 else
   3747   if test -n "$OBJCOPY"; then
   3748   ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
   3749 else
   3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3751 for as_dir in $PATH
   3752 do
   3753   IFS=$as_save_IFS
   3754   test -z "$as_dir" && as_dir=.
   3755   for ac_exec_ext in '' $ac_executable_extensions; do
   3756   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3757     ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
   3758     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3759     break 2
   3760   fi
   3761 done
   3762 done
   3763 
   3764 fi
   3765 fi
   3766 OBJCOPY=$ac_cv_prog_OBJCOPY
   3767 if test -n "$OBJCOPY"; then
   3768   echo "$as_me:$LINENO: result: $OBJCOPY" >&5
   3769 echo "${ECHO_T}$OBJCOPY" >&6
   3770 else
   3771   echo "$as_me:$LINENO: result: no" >&5
   3772 echo "${ECHO_T}no" >&6
   3773 fi
   3774 
   3775 fi
   3776 if test -z "$ac_cv_prog_OBJCOPY"; then
   3777   ac_ct_OBJCOPY=$OBJCOPY
   3778   # Extract the first word of "objcopy", so it can be a program name with args.
   3779 set dummy objcopy; ac_word=$2
   3780 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3782 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
   3783   echo $ECHO_N "(cached) $ECHO_C" >&6
   3784 else
   3785   if test -n "$ac_ct_OBJCOPY"; then
   3786   ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
   3787 else
   3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3789 for as_dir in $PATH
   3790 do
   3791   IFS=$as_save_IFS
   3792   test -z "$as_dir" && as_dir=.
   3793   for ac_exec_ext in '' $ac_executable_extensions; do
   3794   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3795     ac_cv_prog_ac_ct_OBJCOPY="objcopy"
   3796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3797     break 2
   3798   fi
   3799 done
   3800 done
   3801 
   3802 fi
   3803 fi
   3804 ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
   3805 if test -n "$ac_ct_OBJCOPY"; then
   3806   echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
   3807 echo "${ECHO_T}$ac_ct_OBJCOPY" >&6
   3808 else
   3809   echo "$as_me:$LINENO: result: no" >&5
   3810 echo "${ECHO_T}no" >&6
   3811 fi
   3812 
   3813   OBJCOPY=$ac_ct_OBJCOPY
   3814 else
   3815   OBJCOPY="$ac_cv_prog_OBJCOPY"
   3816 fi
   3817 
   3818 fi
   3819 
   3820 # Defined in acinclude.m4.
   3821 
   3822 echo "$as_me:$LINENO: checking if C symbols get an underscore after compilation" >&5
   3823 echo $ECHO_N "checking if C symbols get an underscore after compilation... $ECHO_C" >&6
   3824 if test "${grub_cv_asm_uscore+set}" = set; then
   3825   echo $ECHO_N "(cached) $ECHO_C" >&6
   3826 else
   3827   cat > conftest.c <<\EOF
   3828 int
   3829 func (int *list)
   3830 {
   3831   *list = 0;
   3832   return *list;
   3833 }
   3834 EOF
   3835 
   3836 if { ac_try='${CC-cc} ${CFLAGS} -S conftest.c'
   3837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3838   (eval $ac_try) 2>&5
   3839   ac_status=$?
   3840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3841   (exit $ac_status); }; } && test -s conftest.s; then
   3842   true
   3843 else
   3844   { { echo "$as_me:$LINENO: error: ${CC-cc} failed to produce assembly code" >&5
   3845 echo "$as_me: error: ${CC-cc} failed to produce assembly code" >&2;}
   3846    { (exit 1); exit 1; }; }
   3847 fi
   3848 
   3849 if grep _func conftest.s >/dev/null 2>&1; then
   3850   grub_cv_asm_uscore=yes
   3851 else
   3852   grub_cv_asm_uscore=no
   3853 fi
   3854 
   3855 rm -f conftest*
   3856 fi
   3857 
   3858 
   3859 if test "x$grub_cv_asm_uscore" = xyes; then
   3860 
   3861 cat >>confdefs.h <<_ACEOF
   3862 #define HAVE_ASM_USCORE $grub_cv_asm_uscore
   3863 _ACEOF
   3864 
   3865 fi
   3866 
   3867 echo "$as_me:$LINENO: result: $grub_cv_asm_uscore" >&5
   3868 echo "${ECHO_T}$grub_cv_asm_uscore" >&6
   3869 
   3870 echo "$as_me:$LINENO: checking whether ${OBJCOPY} works for absolute addresses" >&5
   3871 echo $ECHO_N "checking whether ${OBJCOPY} works for absolute addresses... $ECHO_C" >&6
   3872 if test "${grub_cv_prog_objcopy_absolute+set}" = set; then
   3873   echo $ECHO_N "(cached) $ECHO_C" >&6
   3874 else
   3875   cat > conftest.c <<\EOF
   3876 void
   3877 cmain (void)
   3878 {
   3879    *((int *) 0x1000) = 2;
   3880 }
   3881 EOF
   3882 
   3883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3884   (eval $ac_compile) 2>&5
   3885   ac_status=$?
   3886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3887   (exit $ac_status); } && test -s conftest.o; then :
   3888 else
   3889   { { echo "$as_me:$LINENO: error: ${CC-cc} cannot compile C source code" >&5
   3890 echo "$as_me: error: ${CC-cc} cannot compile C source code" >&2;}
   3891    { (exit 1); exit 1; }; }
   3892 fi
   3893 grub_cv_prog_objcopy_absolute=yes
   3894 for link_addr in 2000 8000 7C00; do
   3895   if { ac_try='${CC-cc} ${CFLAGS} -nostdlib -Wl,-N -Wl,-Ttext -Wl,$link_addr conftest.o -o conftest.exec'
   3896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3897   (eval $ac_try) 2>&5
   3898   ac_status=$?
   3899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3900   (exit $ac_status); }; }; then :
   3901   else
   3902     { { echo "$as_me:$LINENO: error: ${CC-cc} cannot link at address $link_addr" >&5
   3903 echo "$as_me: error: ${CC-cc} cannot link at address $link_addr" >&2;}
   3904    { (exit 1); exit 1; }; }
   3905   fi
   3906   if { ac_try='${OBJCOPY-objcopy} -O binary conftest.exec conftest'
   3907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3908   (eval $ac_try) 2>&5
   3909   ac_status=$?
   3910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3911   (exit $ac_status); }; }; then :
   3912   else
   3913     { { echo "$as_me:$LINENO: error: ${OBJCOPY-objcopy} cannot create binary files" >&5
   3914 echo "$as_me: error: ${OBJCOPY-objcopy} cannot create binary files" >&2;}
   3915    { (exit 1); exit 1; }; }
   3916   fi
   3917   if test ! -f conftest.old || { ac_try='cmp -s conftest.old conftest'
   3918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3919   (eval $ac_try) 2>&5
   3920   ac_status=$?
   3921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3922   (exit $ac_status); }; }; then
   3923     mv -f conftest conftest.old
   3924   else
   3925     grub_cv_prog_objcopy_absolute=no
   3926     break
   3927   fi
   3928 done
   3929 rm -f conftest*
   3930 fi
   3931 
   3932 echo "$as_me:$LINENO: result: $grub_cv_prog_objcopy_absolute" >&5
   3933 echo "${ECHO_T}$grub_cv_prog_objcopy_absolute" >&6
   3934 if test "x$grub_cv_prog_objcopy_absolute" != xyes; then
   3935   { { echo "$as_me:$LINENO: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&5
   3936 echo "$as_me: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&2;}
   3937    { (exit 1); exit 1; }; }
   3938 fi
   3939 
   3940 
   3941 echo "$as_me:$LINENO: checking whether addr32 must be in the same line as the instruction" >&5
   3942 echo $ECHO_N "checking whether addr32 must be in the same line as the instruction... $ECHO_C" >&6
   3943 if test "${grub_cv_asm_prefix_requirement+set}" = set; then
   3944   echo $ECHO_N "(cached) $ECHO_C" >&6
   3945 else
   3946   cat > conftest.s <<\EOF
   3947 	.code16
   3948 l1:	addr32	movb	%al, l1
   3949 EOF
   3950 
   3951 if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
   3952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3953   (eval $ac_try) 2>&5
   3954   ac_status=$?
   3955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3956   (exit $ac_status); }; } && test -s conftest.o; then
   3957   grub_cv_asm_prefix_requirement=yes
   3958 else
   3959   grub_cv_asm_prefix_requirement=no
   3960 fi
   3961 
   3962 rm -f conftest*
   3963 fi
   3964 
   3965 
   3966 if test "x$grub_cv_asm_prefix_requirement" = xyes; then
   3967   grub_tmp_addr32="addr32"
   3968   grub_tmp_data32="data32"
   3969 else
   3970   grub_tmp_addr32="addr32;"
   3971   grub_tmp_data32="data32;"
   3972 fi
   3973 
   3974 
   3975 cat >>confdefs.h <<_ACEOF
   3976 #define ADDR32 $grub_tmp_addr32
   3977 _ACEOF
   3978 
   3979 
   3980 cat >>confdefs.h <<_ACEOF
   3981 #define DATA32 $grub_tmp_data32
   3982 _ACEOF
   3983 
   3984 
   3985 echo "$as_me:$LINENO: result: $grub_cv_asm_prefix_requirement" >&5
   3986 echo "${ECHO_T}$grub_cv_asm_prefix_requirement" >&6
   3987 
   3988 
   3989 
   3990 echo "$as_me:$LINENO: checking for .code16 addr32 assembler support" >&5
   3991 echo $ECHO_N "checking for .code16 addr32 assembler support... $ECHO_C" >&6
   3992 if test "${grub_cv_asm_addr32+set}" = set; then
   3993   echo $ECHO_N "(cached) $ECHO_C" >&6
   3994 else
   3995   cat > conftest.s.in <<\EOF
   3996 	.code16
   3997 l1:	@ADDR32@	movb	%al, l1
   3998 EOF
   3999 
   4000 if test "x$grub_cv_asm_prefix_requirement" = xyes; then
   4001   sed -e s/@ADDR32@/addr32/ < conftest.s.in > conftest.s
   4002 else
   4003   sed -e s/@ADDR32@/addr32\;/ < conftest.s.in > conftest.s
   4004 fi
   4005 
   4006 if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
   4007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4008   (eval $ac_try) 2>&5
   4009   ac_status=$?
   4010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4011   (exit $ac_status); }; } && test -s conftest.o; then
   4012   grub_cv_asm_addr32=yes
   4013 else
   4014   grub_cv_asm_addr32=no
   4015 fi
   4016 
   4017 rm -f conftest*
   4018 fi
   4019 
   4020 
   4021 echo "$as_me:$LINENO: result: $grub_cv_asm_addr32" >&5
   4022 echo "${ECHO_T}$grub_cv_asm_addr32" >&6
   4023 if test "x$grub_cv_asm_addr32" != xyes; then
   4024   { { echo "$as_me:$LINENO: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&5
   4025 echo "$as_me: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&2;}
   4026    { (exit 1); exit 1; }; }
   4027 fi
   4028 
   4029 
   4030 echo "$as_me:$LINENO: checking whether an absolute indirect call/jump must not be prefixed with an asterisk" >&5
   4031 echo $ECHO_N "checking whether an absolute indirect call/jump must not be prefixed with an asterisk... $ECHO_C" >&6
   4032 if test "${grub_cv_asm_absolute_without_asterisk+set}" = set; then
   4033   echo $ECHO_N "(cached) $ECHO_C" >&6
   4034 else
   4035   cat > conftest.s <<\EOF
   4036 	lcall	*(offset)
   4037 offset:
   4038 	.long	0
   4039 	.word	0
   4040 EOF
   4041 
   4042 if { ac_try='${CC-cc} ${CFLAGS} -c conftest.s'
   4043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4044   (eval $ac_try) 2>&5
   4045   ac_status=$?
   4046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4047   (exit $ac_status); }; } && test -s conftest.o; then
   4048   grub_cv_asm_absolute_without_asterisk=no
   4049 else
   4050   grub_cv_asm_absolute_without_asterisk=yes
   4051 fi
   4052 
   4053 rm -f conftest*
   4054 fi
   4055 
   4056 
   4057 if test "x$grub_cv_asm_absolute_without_asterisk" = xyes; then
   4058 
   4059 cat >>confdefs.h <<\_ACEOF
   4060 #define ABSOLUTE_WITHOUT_ASTERISK 1
   4061 _ACEOF
   4062 
   4063 fi
   4064 
   4065 echo "$as_me:$LINENO: result: $grub_cv_asm_absolute_without_asterisk" >&5
   4066 echo "${ECHO_T}$grub_cv_asm_absolute_without_asterisk" >&6
   4067 
   4068 
   4069 echo "$as_me:$LINENO: checking if start is defined by the compiler" >&5
   4070 echo $ECHO_N "checking if start is defined by the compiler... $ECHO_C" >&6
   4071 if test "${grub_cv_check_start_symbol+set}" = set; then
   4072   echo $ECHO_N "(cached) $ECHO_C" >&6
   4073 else
   4074   cat >conftest.$ac_ext <<_ACEOF
   4075 /* confdefs.h.  */
   4076 _ACEOF
   4077 cat confdefs.h >>conftest.$ac_ext
   4078 cat >>conftest.$ac_ext <<_ACEOF
   4079 /* end confdefs.h.  */
   4080 
   4081 int
   4082 main ()
   4083 {
   4084 asm ("incl start")
   4085   ;
   4086   return 0;
   4087 }
   4088 _ACEOF
   4089 rm -f conftest.$ac_objext conftest$ac_exeext
   4090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4091   (eval $ac_link) 2>conftest.er1
   4092   ac_status=$?
   4093   grep -v '^ *+' conftest.er1 >conftest.err
   4094   rm -f conftest.er1
   4095   cat conftest.err >&5
   4096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4097   (exit $ac_status); } &&
   4098 	 { ac_try='test -z "$ac_c_werror_flag"
   4099 			 || test ! -s conftest.err'
   4100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4101   (eval $ac_try) 2>&5
   4102   ac_status=$?
   4103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4104   (exit $ac_status); }; } &&
   4105 	 { ac_try='test -s conftest$ac_exeext'
   4106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4107   (eval $ac_try) 2>&5
   4108   ac_status=$?
   4109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4110   (exit $ac_status); }; }; then
   4111   grub_cv_check_start_symbol=yes
   4112 else
   4113   echo "$as_me: failed program was:" >&5
   4114 sed 's/^/| /' conftest.$ac_ext >&5
   4115 
   4116 grub_cv_check_start_symbol=no
   4117 fi
   4118 rm -f conftest.err conftest.$ac_objext \
   4119       conftest$ac_exeext conftest.$ac_ext
   4120 fi
   4121 
   4122 
   4123 if test "x$grub_cv_check_start_symbol" = xyes; then
   4124 
   4125 cat >>confdefs.h <<\_ACEOF
   4126 #define HAVE_START_SYMBOL 1
   4127 _ACEOF
   4128 
   4129 fi
   4130 
   4131 echo "$as_me:$LINENO: result: $grub_cv_check_start_symbol" >&5
   4132 echo "${ECHO_T}$grub_cv_check_start_symbol" >&6
   4133 
   4134 
   4135 echo "$as_me:$LINENO: checking if _start is defined by the compiler" >&5
   4136 echo $ECHO_N "checking if _start is defined by the compiler... $ECHO_C" >&6
   4137 if test "${grub_cv_check_uscore_start_symbol+set}" = set; then
   4138   echo $ECHO_N "(cached) $ECHO_C" >&6
   4139 else
   4140   cat >conftest.$ac_ext <<_ACEOF
   4141 /* confdefs.h.  */
   4142 _ACEOF
   4143 cat confdefs.h >>conftest.$ac_ext
   4144 cat >>conftest.$ac_ext <<_ACEOF
   4145 /* end confdefs.h.  */
   4146 
   4147 int
   4148 main ()
   4149 {
   4150 asm ("incl _start")
   4151   ;
   4152   return 0;
   4153 }
   4154 _ACEOF
   4155 rm -f conftest.$ac_objext conftest$ac_exeext
   4156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4157   (eval $ac_link) 2>conftest.er1
   4158   ac_status=$?
   4159   grep -v '^ *+' conftest.er1 >conftest.err
   4160   rm -f conftest.er1
   4161   cat conftest.err >&5
   4162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4163   (exit $ac_status); } &&
   4164 	 { ac_try='test -z "$ac_c_werror_flag"
   4165 			 || test ! -s conftest.err'
   4166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4167   (eval $ac_try) 2>&5
   4168   ac_status=$?
   4169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4170   (exit $ac_status); }; } &&
   4171 	 { ac_try='test -s conftest$ac_exeext'
   4172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4173   (eval $ac_try) 2>&5
   4174   ac_status=$?
   4175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4176   (exit $ac_status); }; }; then
   4177   grub_cv_check_uscore_start_symbol=yes
   4178 else
   4179   echo "$as_me: failed program was:" >&5
   4180 sed 's/^/| /' conftest.$ac_ext >&5
   4181 
   4182 grub_cv_check_uscore_start_symbol=no
   4183 fi
   4184 rm -f conftest.err conftest.$ac_objext \
   4185       conftest$ac_exeext conftest.$ac_ext
   4186 fi
   4187 
   4188 
   4189 if test "x$grub_cv_check_uscore_start_symbol" = xyes; then
   4190 
   4191 cat >>confdefs.h <<\_ACEOF
   4192 #define HAVE_USCORE_START_SYMBOL 1
   4193 _ACEOF
   4194 
   4195 fi
   4196 
   4197 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_start_symbol" >&5
   4198 echo "${ECHO_T}$grub_cv_check_uscore_start_symbol" >&6
   4199 
   4200 if test "x$grub_cv_check_start_symbol" != "xyes" \
   4201 	-a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then
   4202   { { echo "$as_me:$LINENO: error: Neither start nor _start is defined" >&5
   4203 echo "$as_me: error: Neither start nor _start is defined" >&2;}
   4204    { (exit 1); exit 1; }; }
   4205 fi
   4206 
   4207 
   4208 echo "$as_me:$LINENO: checking if __bss_start is defined by the compiler" >&5
   4209 echo $ECHO_N "checking if __bss_start is defined by the compiler... $ECHO_C" >&6
   4210 if test "${grub_cv_check_uscore_uscore_bss_start_symbol+set}" = set; then
   4211   echo $ECHO_N "(cached) $ECHO_C" >&6
   4212 else
   4213   cat >conftest.$ac_ext <<_ACEOF
   4214 /* confdefs.h.  */
   4215 _ACEOF
   4216 cat confdefs.h >>conftest.$ac_ext
   4217 cat >>conftest.$ac_ext <<_ACEOF
   4218 /* end confdefs.h.  */
   4219 
   4220 int
   4221 main ()
   4222 {
   4223 asm ("incl __bss_start")
   4224   ;
   4225   return 0;
   4226 }
   4227 _ACEOF
   4228 rm -f conftest.$ac_objext conftest$ac_exeext
   4229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4230   (eval $ac_link) 2>conftest.er1
   4231   ac_status=$?
   4232   grep -v '^ *+' conftest.er1 >conftest.err
   4233   rm -f conftest.er1
   4234   cat conftest.err >&5
   4235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4236   (exit $ac_status); } &&
   4237 	 { ac_try='test -z "$ac_c_werror_flag"
   4238 			 || test ! -s conftest.err'
   4239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4240   (eval $ac_try) 2>&5
   4241   ac_status=$?
   4242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4243   (exit $ac_status); }; } &&
   4244 	 { ac_try='test -s conftest$ac_exeext'
   4245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4246   (eval $ac_try) 2>&5
   4247   ac_status=$?
   4248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4249   (exit $ac_status); }; }; then
   4250   grub_cv_check_uscore_uscore_bss_start_symbol=yes
   4251 else
   4252   echo "$as_me: failed program was:" >&5
   4253 sed 's/^/| /' conftest.$ac_ext >&5
   4254 
   4255 grub_cv_check_uscore_uscore_bss_start_symbol=no
   4256 fi
   4257 rm -f conftest.err conftest.$ac_objext \
   4258       conftest$ac_exeext conftest.$ac_ext
   4259 fi
   4260 
   4261 
   4262 if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes; then
   4263 
   4264 cat >>confdefs.h <<\_ACEOF
   4265 #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
   4266 _ACEOF
   4267 
   4268 fi
   4269 
   4270 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5
   4271 echo "${ECHO_T}$grub_cv_check_uscore_uscore_bss_start_symbol" >&6
   4272 
   4273 
   4274 echo "$as_me:$LINENO: checking if _edata is defined by the compiler" >&5
   4275 echo $ECHO_N "checking if _edata is defined by the compiler... $ECHO_C" >&6
   4276 if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then
   4277   echo $ECHO_N "(cached) $ECHO_C" >&6
   4278 else
   4279   cat >conftest.$ac_ext <<_ACEOF
   4280 /* confdefs.h.  */
   4281 _ACEOF
   4282 cat confdefs.h >>conftest.$ac_ext
   4283 cat >>conftest.$ac_ext <<_ACEOF
   4284 /* end confdefs.h.  */
   4285 
   4286 int
   4287 main ()
   4288 {
   4289 asm ("incl _edata")
   4290   ;
   4291   return 0;
   4292 }
   4293 _ACEOF
   4294 rm -f conftest.$ac_objext conftest$ac_exeext
   4295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4296   (eval $ac_link) 2>conftest.er1
   4297   ac_status=$?
   4298   grep -v '^ *+' conftest.er1 >conftest.err
   4299   rm -f conftest.er1
   4300   cat conftest.err >&5
   4301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4302   (exit $ac_status); } &&
   4303 	 { ac_try='test -z "$ac_c_werror_flag"
   4304 			 || test ! -s conftest.err'
   4305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4306   (eval $ac_try) 2>&5
   4307   ac_status=$?
   4308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4309   (exit $ac_status); }; } &&
   4310 	 { ac_try='test -s conftest$ac_exeext'
   4311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4312   (eval $ac_try) 2>&5
   4313   ac_status=$?
   4314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4315   (exit $ac_status); }; }; then
   4316   grub_cv_check_uscore_edata_symbol=yes
   4317 else
   4318   echo "$as_me: failed program was:" >&5
   4319 sed 's/^/| /' conftest.$ac_ext >&5
   4320 
   4321 grub_cv_check_uscore_edata_symbol=no
   4322 fi
   4323 rm -f conftest.err conftest.$ac_objext \
   4324       conftest$ac_exeext conftest.$ac_ext
   4325 fi
   4326 
   4327 
   4328 if test "x$grub_cv_check_uscore_edata_symbol" = xyes; then
   4329 
   4330 cat >>confdefs.h <<\_ACEOF
   4331 #define HAVE_USCORE_EDATA_SYMBOL 1
   4332 _ACEOF
   4333 
   4334 fi
   4335 
   4336 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_edata_symbol" >&5
   4337 echo "${ECHO_T}$grub_cv_check_uscore_edata_symbol" >&6
   4338 
   4339 
   4340 echo "$as_me:$LINENO: checking if edata is defined by the compiler" >&5
   4341 echo $ECHO_N "checking if edata is defined by the compiler... $ECHO_C" >&6
   4342 if test "${grub_cv_check_edata_symbol+set}" = set; then
   4343   echo $ECHO_N "(cached) $ECHO_C" >&6
   4344 else
   4345   cat >conftest.$ac_ext <<_ACEOF
   4346 /* confdefs.h.  */
   4347 _ACEOF
   4348 cat confdefs.h >>conftest.$ac_ext
   4349 cat >>conftest.$ac_ext <<_ACEOF
   4350 /* end confdefs.h.  */
   4351 
   4352 int
   4353 main ()
   4354 {
   4355 asm ("incl edata")
   4356   ;
   4357   return 0;
   4358 }
   4359 _ACEOF
   4360 rm -f conftest.$ac_objext conftest$ac_exeext
   4361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4362   (eval $ac_link) 2>conftest.er1
   4363   ac_status=$?
   4364   grep -v '^ *+' conftest.er1 >conftest.err
   4365   rm -f conftest.er1
   4366   cat conftest.err >&5
   4367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4368   (exit $ac_status); } &&
   4369 	 { ac_try='test -z "$ac_c_werror_flag"
   4370 			 || test ! -s conftest.err'
   4371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4372   (eval $ac_try) 2>&5
   4373   ac_status=$?
   4374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4375   (exit $ac_status); }; } &&
   4376 	 { ac_try='test -s conftest$ac_exeext'
   4377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4378   (eval $ac_try) 2>&5
   4379   ac_status=$?
   4380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4381   (exit $ac_status); }; }; then
   4382   grub_cv_check_edata_symbol=yes
   4383 else
   4384   echo "$as_me: failed program was:" >&5
   4385 sed 's/^/| /' conftest.$ac_ext >&5
   4386 
   4387 grub_cv_check_edata_symbol=no
   4388 fi
   4389 rm -f conftest.err conftest.$ac_objext \
   4390       conftest$ac_exeext conftest.$ac_ext
   4391 fi
   4392 
   4393 
   4394 if test "x$grub_cv_check_edata_symbol" = xyes; then
   4395 
   4396 cat >>confdefs.h <<\_ACEOF
   4397 #define HAVE_EDATA_SYMBOL 1
   4398 _ACEOF
   4399 
   4400 fi
   4401 
   4402 echo "$as_me:$LINENO: result: $grub_cv_check_edata_symbol" >&5
   4403 echo "${ECHO_T}$grub_cv_check_edata_symbol" >&6
   4404 
   4405 if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
   4406 	-a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
   4407 	-a "x$grub_cv_check_edata_symbol" != "xyes"; then
   4408   { { echo "$as_me:$LINENO: error: None of __bss_start, _edata, edata defined" >&5
   4409 echo "$as_me: error: None of __bss_start, _edata, edata defined" >&2;}
   4410    { (exit 1); exit 1; }; }
   4411 fi
   4412 
   4413 
   4414 echo "$as_me:$LINENO: checking if end is defined by the compiler" >&5
   4415 echo $ECHO_N "checking if end is defined by the compiler... $ECHO_C" >&6
   4416 if test "${grub_cv_check_end_symbol+set}" = set; then
   4417   echo $ECHO_N "(cached) $ECHO_C" >&6
   4418 else
   4419   cat >conftest.$ac_ext <<_ACEOF
   4420 /* confdefs.h.  */
   4421 _ACEOF
   4422 cat confdefs.h >>conftest.$ac_ext
   4423 cat >>conftest.$ac_ext <<_ACEOF
   4424 /* end confdefs.h.  */
   4425 
   4426 int
   4427 main ()
   4428 {
   4429 asm ("incl end")
   4430   ;
   4431   return 0;
   4432 }
   4433 _ACEOF
   4434 rm -f conftest.$ac_objext conftest$ac_exeext
   4435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4436   (eval $ac_link) 2>conftest.er1
   4437   ac_status=$?
   4438   grep -v '^ *+' conftest.er1 >conftest.err
   4439   rm -f conftest.er1
   4440   cat conftest.err >&5
   4441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4442   (exit $ac_status); } &&
   4443 	 { ac_try='test -z "$ac_c_werror_flag"
   4444 			 || test ! -s conftest.err'
   4445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4446   (eval $ac_try) 2>&5
   4447   ac_status=$?
   4448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4449   (exit $ac_status); }; } &&
   4450 	 { ac_try='test -s conftest$ac_exeext'
   4451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4452   (eval $ac_try) 2>&5
   4453   ac_status=$?
   4454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4455   (exit $ac_status); }; }; then
   4456   grub_cv_check_end_symbol=yes
   4457 else
   4458   echo "$as_me: failed program was:" >&5
   4459 sed 's/^/| /' conftest.$ac_ext >&5
   4460 
   4461 grub_cv_check_end_symbol=no
   4462 fi
   4463 rm -f conftest.err conftest.$ac_objext \
   4464       conftest$ac_exeext conftest.$ac_ext
   4465 fi
   4466 
   4467 
   4468 if test "x$grub_cv_check_end_symbol" = xyes; then
   4469 
   4470 cat >>confdefs.h <<\_ACEOF
   4471 #define HAVE_END_SYMBOL 1
   4472 _ACEOF
   4473 
   4474 fi
   4475 
   4476 echo "$as_me:$LINENO: result: $grub_cv_check_end_symbol" >&5
   4477 echo "${ECHO_T}$grub_cv_check_end_symbol" >&6
   4478 
   4479 
   4480 echo "$as_me:$LINENO: checking if _end is defined by the compiler" >&5
   4481 echo $ECHO_N "checking if _end is defined by the compiler... $ECHO_C" >&6
   4482 if test "${grub_cv_check_uscore_end_symbol+set}" = set; then
   4483   echo $ECHO_N "(cached) $ECHO_C" >&6
   4484 else
   4485   cat >conftest.$ac_ext <<_ACEOF
   4486 /* confdefs.h.  */
   4487 _ACEOF
   4488 cat confdefs.h >>conftest.$ac_ext
   4489 cat >>conftest.$ac_ext <<_ACEOF
   4490 /* end confdefs.h.  */
   4491 
   4492 int
   4493 main ()
   4494 {
   4495 asm ("incl _end")
   4496   ;
   4497   return 0;
   4498 }
   4499 _ACEOF
   4500 rm -f conftest.$ac_objext conftest$ac_exeext
   4501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4502   (eval $ac_link) 2>conftest.er1
   4503   ac_status=$?
   4504   grep -v '^ *+' conftest.er1 >conftest.err
   4505   rm -f conftest.er1
   4506   cat conftest.err >&5
   4507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4508   (exit $ac_status); } &&
   4509 	 { ac_try='test -z "$ac_c_werror_flag"
   4510 			 || test ! -s conftest.err'
   4511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4512   (eval $ac_try) 2>&5
   4513   ac_status=$?
   4514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4515   (exit $ac_status); }; } &&
   4516 	 { ac_try='test -s conftest$ac_exeext'
   4517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4518   (eval $ac_try) 2>&5
   4519   ac_status=$?
   4520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4521   (exit $ac_status); }; }; then
   4522   grub_cv_check_uscore_end_symbol=yes
   4523 else
   4524   echo "$as_me: failed program was:" >&5
   4525 sed 's/^/| /' conftest.$ac_ext >&5
   4526 
   4527 grub_cv_check_uscore_end_symbol=no
   4528 fi
   4529 rm -f conftest.err conftest.$ac_objext \
   4530       conftest$ac_exeext conftest.$ac_ext
   4531 fi
   4532 
   4533 
   4534 if test "x$grub_cv_check_uscore_end_symbol" = xyes; then
   4535 
   4536 cat >>confdefs.h <<\_ACEOF
   4537 #define HAVE_USCORE_END_SYMBOL 1
   4538 _ACEOF
   4539 
   4540 fi
   4541 
   4542 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_end_symbol" >&5
   4543 echo "${ECHO_T}$grub_cv_check_uscore_end_symbol" >&6
   4544 
   4545 if test "x$grub_cv_check_end_symbol" != "xyes" \
   4546 	-a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
   4547   { { echo "$as_me:$LINENO: error: Neither end nor _end is defined" >&5
   4548 echo "$as_me: error: Neither end nor _end is defined" >&2;}
   4549    { (exit 1); exit 1; }; }
   4550 fi
   4551 
   4552 # Check for curses libraries.
   4553 
   4554 # Check whether --with-curses or --without-curses was given.
   4555 if test "${with_curses+set}" = set; then
   4556   withval="$with_curses"
   4557 
   4558 fi;
   4559 
   4560 # Get the filename or the whole disk and open it.
   4561 # Known to work on NetBSD.
   4562 echo "$as_me:$LINENO: checking for opendisk in -lutil" >&5
   4563 echo $ECHO_N "checking for opendisk in -lutil... $ECHO_C" >&6
   4564 if test "${ac_cv_lib_util_opendisk+set}" = set; then
   4565   echo $ECHO_N "(cached) $ECHO_C" >&6
   4566 else
   4567   ac_check_lib_save_LIBS=$LIBS
   4568 LIBS="-lutil  $LIBS"
   4569 cat >conftest.$ac_ext <<_ACEOF
   4570 /* confdefs.h.  */
   4571 _ACEOF
   4572 cat confdefs.h >>conftest.$ac_ext
   4573 cat >>conftest.$ac_ext <<_ACEOF
   4574 /* end confdefs.h.  */
   4575 
   4576 /* Override any gcc2 internal prototype to avoid an error.  */
   4577 #ifdef __cplusplus
   4578 extern "C"
   4579 #endif
   4580 /* We use char because int might match the return type of a gcc2
   4581    builtin and then its argument prototype would still apply.  */
   4582 char opendisk ();
   4583 int
   4584 main ()
   4585 {
   4586 opendisk ();
   4587   ;
   4588   return 0;
   4589 }
   4590 _ACEOF
   4591 rm -f conftest.$ac_objext conftest$ac_exeext
   4592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4593   (eval $ac_link) 2>conftest.er1
   4594   ac_status=$?
   4595   grep -v '^ *+' conftest.er1 >conftest.err
   4596   rm -f conftest.er1
   4597   cat conftest.err >&5
   4598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4599   (exit $ac_status); } &&
   4600 	 { ac_try='test -z "$ac_c_werror_flag"
   4601 			 || test ! -s conftest.err'
   4602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4603   (eval $ac_try) 2>&5
   4604   ac_status=$?
   4605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4606   (exit $ac_status); }; } &&
   4607 	 { ac_try='test -s conftest$ac_exeext'
   4608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4609   (eval $ac_try) 2>&5
   4610   ac_status=$?
   4611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4612   (exit $ac_status); }; }; then
   4613   ac_cv_lib_util_opendisk=yes
   4614 else
   4615   echo "$as_me: failed program was:" >&5
   4616 sed 's/^/| /' conftest.$ac_ext >&5
   4617 
   4618 ac_cv_lib_util_opendisk=no
   4619 fi
   4620 rm -f conftest.err conftest.$ac_objext \
   4621       conftest$ac_exeext conftest.$ac_ext
   4622 LIBS=$ac_check_lib_save_LIBS
   4623 fi
   4624 echo "$as_me:$LINENO: result: $ac_cv_lib_util_opendisk" >&5
   4625 echo "${ECHO_T}$ac_cv_lib_util_opendisk" >&6
   4626 if test $ac_cv_lib_util_opendisk = yes; then
   4627   GRUB_LIBS="$GRUB_LIBS -lutil"
   4628 
   4629 cat >>confdefs.h <<\_ACEOF
   4630 #define HAVE_OPENDISK 1
   4631 _ACEOF
   4632 
   4633 fi
   4634 
   4635 
   4636 # Unless the user specify --without-curses, check for curses.
   4637 if test "x$with_curses" != "xno"; then
   4638   echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
   4639 echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6
   4640 if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
   4641   echo $ECHO_N "(cached) $ECHO_C" >&6
   4642 else
   4643   ac_check_lib_save_LIBS=$LIBS
   4644 LIBS="-lncurses  $LIBS"
   4645 cat >conftest.$ac_ext <<_ACEOF
   4646 /* confdefs.h.  */
   4647 _ACEOF
   4648 cat confdefs.h >>conftest.$ac_ext
   4649 cat >>conftest.$ac_ext <<_ACEOF
   4650 /* end confdefs.h.  */
   4651 
   4652 /* Override any gcc2 internal prototype to avoid an error.  */
   4653 #ifdef __cplusplus
   4654 extern "C"
   4655 #endif
   4656 /* We use char because int might match the return type of a gcc2
   4657    builtin and then its argument prototype would still apply.  */
   4658 char wgetch ();
   4659 int
   4660 main ()
   4661 {
   4662 wgetch ();
   4663   ;
   4664   return 0;
   4665 }
   4666 _ACEOF
   4667 rm -f conftest.$ac_objext conftest$ac_exeext
   4668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4669   (eval $ac_link) 2>conftest.er1
   4670   ac_status=$?
   4671   grep -v '^ *+' conftest.er1 >conftest.err
   4672   rm -f conftest.er1
   4673   cat conftest.err >&5
   4674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4675   (exit $ac_status); } &&
   4676 	 { ac_try='test -z "$ac_c_werror_flag"
   4677 			 || test ! -s conftest.err'
   4678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4679   (eval $ac_try) 2>&5
   4680   ac_status=$?
   4681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4682   (exit $ac_status); }; } &&
   4683 	 { ac_try='test -s conftest$ac_exeext'
   4684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4685   (eval $ac_try) 2>&5
   4686   ac_status=$?
   4687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4688   (exit $ac_status); }; }; then
   4689   ac_cv_lib_ncurses_wgetch=yes
   4690 else
   4691   echo "$as_me: failed program was:" >&5
   4692 sed 's/^/| /' conftest.$ac_ext >&5
   4693 
   4694 ac_cv_lib_ncurses_wgetch=no
   4695 fi
   4696 rm -f conftest.err conftest.$ac_objext \
   4697       conftest$ac_exeext conftest.$ac_ext
   4698 LIBS=$ac_check_lib_save_LIBS
   4699 fi
   4700 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
   4701 echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6
   4702 if test $ac_cv_lib_ncurses_wgetch = yes; then
   4703   GRUB_LIBS="$GRUB_LIBS -lncurses"
   4704 
   4705 cat >>confdefs.h <<\_ACEOF
   4706 #define HAVE_LIBCURSES 1
   4707 _ACEOF
   4708 
   4709 else
   4710   echo "$as_me:$LINENO: checking for wgetch in -lcurses" >&5
   4711 echo $ECHO_N "checking for wgetch in -lcurses... $ECHO_C" >&6
   4712 if test "${ac_cv_lib_curses_wgetch+set}" = set; then
   4713   echo $ECHO_N "(cached) $ECHO_C" >&6
   4714 else
   4715   ac_check_lib_save_LIBS=$LIBS
   4716 LIBS="-lcurses  $LIBS"
   4717 cat >conftest.$ac_ext <<_ACEOF
   4718 /* confdefs.h.  */
   4719 _ACEOF
   4720 cat confdefs.h >>conftest.$ac_ext
   4721 cat >>conftest.$ac_ext <<_ACEOF
   4722 /* end confdefs.h.  */
   4723 
   4724 /* Override any gcc2 internal prototype to avoid an error.  */
   4725 #ifdef __cplusplus
   4726 extern "C"
   4727 #endif
   4728 /* We use char because int might match the return type of a gcc2
   4729    builtin and then its argument prototype would still apply.  */
   4730 char wgetch ();
   4731 int
   4732 main ()
   4733 {
   4734 wgetch ();
   4735   ;
   4736   return 0;
   4737 }
   4738 _ACEOF
   4739 rm -f conftest.$ac_objext conftest$ac_exeext
   4740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4741   (eval $ac_link) 2>conftest.er1
   4742   ac_status=$?
   4743   grep -v '^ *+' conftest.er1 >conftest.err
   4744   rm -f conftest.er1
   4745   cat conftest.err >&5
   4746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4747   (exit $ac_status); } &&
   4748 	 { ac_try='test -z "$ac_c_werror_flag"
   4749 			 || test ! -s conftest.err'
   4750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4751   (eval $ac_try) 2>&5
   4752   ac_status=$?
   4753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4754   (exit $ac_status); }; } &&
   4755 	 { ac_try='test -s conftest$ac_exeext'
   4756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4757   (eval $ac_try) 2>&5
   4758   ac_status=$?
   4759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4760   (exit $ac_status); }; }; then
   4761   ac_cv_lib_curses_wgetch=yes
   4762 else
   4763   echo "$as_me: failed program was:" >&5
   4764 sed 's/^/| /' conftest.$ac_ext >&5
   4765 
   4766 ac_cv_lib_curses_wgetch=no
   4767 fi
   4768 rm -f conftest.err conftest.$ac_objext \
   4769       conftest$ac_exeext conftest.$ac_ext
   4770 LIBS=$ac_check_lib_save_LIBS
   4771 fi
   4772 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_wgetch" >&5
   4773 echo "${ECHO_T}$ac_cv_lib_curses_wgetch" >&6
   4774 if test $ac_cv_lib_curses_wgetch = yes; then
   4775   GRUB_LIBS="$GRUB_LIBS -lcurses"
   4776 
   4777 cat >>confdefs.h <<\_ACEOF
   4778 #define HAVE_LIBCURSES 1
   4779 _ACEOF
   4780 
   4781 fi
   4782 
   4783 fi
   4784 
   4785 fi
   4786 
   4787 
   4788 
   4789 # Check for headers.
   4790 ac_ext=c
   4791 ac_cpp='$CPP $CPPFLAGS'
   4792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4795 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4796 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   4797 # On Suns, sometimes $CPP names a directory.
   4798 if test -n "$CPP" && test -d "$CPP"; then
   4799   CPP=
   4800 fi
   4801 if test -z "$CPP"; then
   4802   if test "${ac_cv_prog_CPP+set}" = set; then
   4803   echo $ECHO_N "(cached) $ECHO_C" >&6
   4804 else
   4805       # Double quotes because CPP needs to be expanded
   4806     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4807     do
   4808       ac_preproc_ok=false
   4809 for ac_c_preproc_warn_flag in '' yes
   4810 do
   4811   # Use a header file that comes with gcc, so configuring glibc
   4812   # with a fresh cross-compiler works.
   4813   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4814   # <limits.h> exists even on freestanding compilers.
   4815   # On the NeXT, cc -E runs the code through the compiler's parser,
   4816   # not just through cpp. "Syntax error" is here to catch this case.
   4817   cat >conftest.$ac_ext <<_ACEOF
   4818 /* confdefs.h.  */
   4819 _ACEOF
   4820 cat confdefs.h >>conftest.$ac_ext
   4821 cat >>conftest.$ac_ext <<_ACEOF
   4822 /* end confdefs.h.  */
   4823 #ifdef __STDC__
   4824 # include <limits.h>
   4825 #else
   4826 # include <assert.h>
   4827 #endif
   4828 		     Syntax error
   4829 _ACEOF
   4830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4831   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4832   ac_status=$?
   4833   grep -v '^ *+' conftest.er1 >conftest.err
   4834   rm -f conftest.er1
   4835   cat conftest.err >&5
   4836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4837   (exit $ac_status); } >/dev/null; then
   4838   if test -s conftest.err; then
   4839     ac_cpp_err=$ac_c_preproc_warn_flag
   4840     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4841   else
   4842     ac_cpp_err=
   4843   fi
   4844 else
   4845   ac_cpp_err=yes
   4846 fi
   4847 if test -z "$ac_cpp_err"; then
   4848   :
   4849 else
   4850   echo "$as_me: failed program was:" >&5
   4851 sed 's/^/| /' conftest.$ac_ext >&5
   4852 
   4853   # Broken: fails on valid input.
   4854 continue
   4855 fi
   4856 rm -f conftest.err conftest.$ac_ext
   4857 
   4858   # OK, works on sane cases.  Now check whether non-existent headers
   4859   # can be detected and how.
   4860   cat >conftest.$ac_ext <<_ACEOF
   4861 /* confdefs.h.  */
   4862 _ACEOF
   4863 cat confdefs.h >>conftest.$ac_ext
   4864 cat >>conftest.$ac_ext <<_ACEOF
   4865 /* end confdefs.h.  */
   4866 #include <ac_nonexistent.h>
   4867 _ACEOF
   4868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4869   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4870   ac_status=$?
   4871   grep -v '^ *+' conftest.er1 >conftest.err
   4872   rm -f conftest.er1
   4873   cat conftest.err >&5
   4874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4875   (exit $ac_status); } >/dev/null; then
   4876   if test -s conftest.err; then
   4877     ac_cpp_err=$ac_c_preproc_warn_flag
   4878     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4879   else
   4880     ac_cpp_err=
   4881   fi
   4882 else
   4883   ac_cpp_err=yes
   4884 fi
   4885 if test -z "$ac_cpp_err"; then
   4886   # Broken: success on invalid input.
   4887 continue
   4888 else
   4889   echo "$as_me: failed program was:" >&5
   4890 sed 's/^/| /' conftest.$ac_ext >&5
   4891 
   4892   # Passes both tests.
   4893 ac_preproc_ok=:
   4894 break
   4895 fi
   4896 rm -f conftest.err conftest.$ac_ext
   4897 
   4898 done
   4899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4900 rm -f conftest.err conftest.$ac_ext
   4901 if $ac_preproc_ok; then
   4902   break
   4903 fi
   4904 
   4905     done
   4906     ac_cv_prog_CPP=$CPP
   4907 
   4908 fi
   4909   CPP=$ac_cv_prog_CPP
   4910 else
   4911   ac_cv_prog_CPP=$CPP
   4912 fi
   4913 echo "$as_me:$LINENO: result: $CPP" >&5
   4914 echo "${ECHO_T}$CPP" >&6
   4915 ac_preproc_ok=false
   4916 for ac_c_preproc_warn_flag in '' yes
   4917 do
   4918   # Use a header file that comes with gcc, so configuring glibc
   4919   # with a fresh cross-compiler works.
   4920   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4921   # <limits.h> exists even on freestanding compilers.
   4922   # On the NeXT, cc -E runs the code through the compiler's parser,
   4923   # not just through cpp. "Syntax error" is here to catch this case.
   4924   cat >conftest.$ac_ext <<_ACEOF
   4925 /* confdefs.h.  */
   4926 _ACEOF
   4927 cat confdefs.h >>conftest.$ac_ext
   4928 cat >>conftest.$ac_ext <<_ACEOF
   4929 /* end confdefs.h.  */
   4930 #ifdef __STDC__
   4931 # include <limits.h>
   4932 #else
   4933 # include <assert.h>
   4934 #endif
   4935 		     Syntax error
   4936 _ACEOF
   4937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4938   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4939   ac_status=$?
   4940   grep -v '^ *+' conftest.er1 >conftest.err
   4941   rm -f conftest.er1
   4942   cat conftest.err >&5
   4943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4944   (exit $ac_status); } >/dev/null; then
   4945   if test -s conftest.err; then
   4946     ac_cpp_err=$ac_c_preproc_warn_flag
   4947     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4948   else
   4949     ac_cpp_err=
   4950   fi
   4951 else
   4952   ac_cpp_err=yes
   4953 fi
   4954 if test -z "$ac_cpp_err"; then
   4955   :
   4956 else
   4957   echo "$as_me: failed program was:" >&5
   4958 sed 's/^/| /' conftest.$ac_ext >&5
   4959 
   4960   # Broken: fails on valid input.
   4961 continue
   4962 fi
   4963 rm -f conftest.err conftest.$ac_ext
   4964 
   4965   # OK, works on sane cases.  Now check whether non-existent headers
   4966   # can be detected and how.
   4967   cat >conftest.$ac_ext <<_ACEOF
   4968 /* confdefs.h.  */
   4969 _ACEOF
   4970 cat confdefs.h >>conftest.$ac_ext
   4971 cat >>conftest.$ac_ext <<_ACEOF
   4972 /* end confdefs.h.  */
   4973 #include <ac_nonexistent.h>
   4974 _ACEOF
   4975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4976   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4977   ac_status=$?
   4978   grep -v '^ *+' conftest.er1 >conftest.err
   4979   rm -f conftest.er1
   4980   cat conftest.err >&5
   4981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4982   (exit $ac_status); } >/dev/null; then
   4983   if test -s conftest.err; then
   4984     ac_cpp_err=$ac_c_preproc_warn_flag
   4985     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4986   else
   4987     ac_cpp_err=
   4988   fi
   4989 else
   4990   ac_cpp_err=yes
   4991 fi
   4992 if test -z "$ac_cpp_err"; then
   4993   # Broken: success on invalid input.
   4994 continue
   4995 else
   4996   echo "$as_me: failed program was:" >&5
   4997 sed 's/^/| /' conftest.$ac_ext >&5
   4998 
   4999   # Passes both tests.
   5000 ac_preproc_ok=:
   5001 break
   5002 fi
   5003 rm -f conftest.err conftest.$ac_ext
   5004 
   5005 done
   5006 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5007 rm -f conftest.err conftest.$ac_ext
   5008 if $ac_preproc_ok; then
   5009   :
   5010 else
   5011   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   5012 See \`config.log' for more details." >&5
   5013 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   5014 See \`config.log' for more details." >&2;}
   5015    { (exit 1); exit 1; }; }
   5016 fi
   5017 
   5018 ac_ext=c
   5019 ac_cpp='$CPP $CPPFLAGS'
   5020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5023 
   5024 
   5025 echo "$as_me:$LINENO: checking for egrep" >&5
   5026 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   5027 if test "${ac_cv_prog_egrep+set}" = set; then
   5028   echo $ECHO_N "(cached) $ECHO_C" >&6
   5029 else
   5030   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   5031     then ac_cv_prog_egrep='grep -E'
   5032     else ac_cv_prog_egrep='egrep'
   5033     fi
   5034 fi
   5035 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   5036 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   5037  EGREP=$ac_cv_prog_egrep
   5038 
   5039 
   5040 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   5041 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   5042 if test "${ac_cv_header_stdc+set}" = set; then
   5043   echo $ECHO_N "(cached) $ECHO_C" >&6
   5044 else
   5045   cat >conftest.$ac_ext <<_ACEOF
   5046 /* confdefs.h.  */
   5047 _ACEOF
   5048 cat confdefs.h >>conftest.$ac_ext
   5049 cat >>conftest.$ac_ext <<_ACEOF
   5050 /* end confdefs.h.  */
   5051 #include <stdlib.h>
   5052 #include <stdarg.h>
   5053 #include <string.h>
   5054 #include <float.h>
   5055 
   5056 int
   5057 main ()
   5058 {
   5059 
   5060   ;
   5061   return 0;
   5062 }
   5063 _ACEOF
   5064 rm -f conftest.$ac_objext
   5065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5066   (eval $ac_compile) 2>conftest.er1
   5067   ac_status=$?
   5068   grep -v '^ *+' conftest.er1 >conftest.err
   5069   rm -f conftest.er1
   5070   cat conftest.err >&5
   5071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5072   (exit $ac_status); } &&
   5073 	 { ac_try='test -z "$ac_c_werror_flag"
   5074 			 || test ! -s conftest.err'
   5075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5076   (eval $ac_try) 2>&5
   5077   ac_status=$?
   5078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5079   (exit $ac_status); }; } &&
   5080 	 { ac_try='test -s conftest.$ac_objext'
   5081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5082   (eval $ac_try) 2>&5
   5083   ac_status=$?
   5084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5085   (exit $ac_status); }; }; then
   5086   ac_cv_header_stdc=yes
   5087 else
   5088   echo "$as_me: failed program was:" >&5
   5089 sed 's/^/| /' conftest.$ac_ext >&5
   5090 
   5091 ac_cv_header_stdc=no
   5092 fi
   5093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5094 
   5095 if test $ac_cv_header_stdc = yes; then
   5096   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5097   cat >conftest.$ac_ext <<_ACEOF
   5098 /* confdefs.h.  */
   5099 _ACEOF
   5100 cat confdefs.h >>conftest.$ac_ext
   5101 cat >>conftest.$ac_ext <<_ACEOF
   5102 /* end confdefs.h.  */
   5103 #include <string.h>
   5104 
   5105 _ACEOF
   5106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5107   $EGREP "memchr" >/dev/null 2>&1; then
   5108   :
   5109 else
   5110   ac_cv_header_stdc=no
   5111 fi
   5112 rm -f conftest*
   5113 
   5114 fi
   5115 
   5116 if test $ac_cv_header_stdc = yes; then
   5117   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5118   cat >conftest.$ac_ext <<_ACEOF
   5119 /* confdefs.h.  */
   5120 _ACEOF
   5121 cat confdefs.h >>conftest.$ac_ext
   5122 cat >>conftest.$ac_ext <<_ACEOF
   5123 /* end confdefs.h.  */
   5124 #include <stdlib.h>
   5125 
   5126 _ACEOF
   5127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5128   $EGREP "free" >/dev/null 2>&1; then
   5129   :
   5130 else
   5131   ac_cv_header_stdc=no
   5132 fi
   5133 rm -f conftest*
   5134 
   5135 fi
   5136 
   5137 if test $ac_cv_header_stdc = yes; then
   5138   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5139   if test "$cross_compiling" = yes; then
   5140   :
   5141 else
   5142   cat >conftest.$ac_ext <<_ACEOF
   5143 /* confdefs.h.  */
   5144 _ACEOF
   5145 cat confdefs.h >>conftest.$ac_ext
   5146 cat >>conftest.$ac_ext <<_ACEOF
   5147 /* end confdefs.h.  */
   5148 #include <ctype.h>
   5149 #if ((' ' & 0x0FF) == 0x020)
   5150 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5151 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5152 #else
   5153 # define ISLOWER(c) \
   5154 		   (('a' <= (c) && (c) <= 'i') \
   5155 		     || ('j' <= (c) && (c) <= 'r') \
   5156 		     || ('s' <= (c) && (c) <= 'z'))
   5157 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5158 #endif
   5159 
   5160 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5161 int
   5162 main ()
   5163 {
   5164   int i;
   5165   for (i = 0; i < 256; i++)
   5166     if (XOR (islower (i), ISLOWER (i))
   5167 	|| toupper (i) != TOUPPER (i))
   5168       exit(2);
   5169   exit (0);
   5170 }
   5171 _ACEOF
   5172 rm -f conftest$ac_exeext
   5173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5174   (eval $ac_link) 2>&5
   5175   ac_status=$?
   5176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5177   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5179   (eval $ac_try) 2>&5
   5180   ac_status=$?
   5181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5182   (exit $ac_status); }; }; then
   5183   :
   5184 else
   5185   echo "$as_me: program exited with status $ac_status" >&5
   5186 echo "$as_me: failed program was:" >&5
   5187 sed 's/^/| /' conftest.$ac_ext >&5
   5188 
   5189 ( exit $ac_status )
   5190 ac_cv_header_stdc=no
   5191 fi
   5192 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5193 fi
   5194 fi
   5195 fi
   5196 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5197 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   5198 if test $ac_cv_header_stdc = yes; then
   5199 
   5200 cat >>confdefs.h <<\_ACEOF
   5201 #define STDC_HEADERS 1
   5202 _ACEOF
   5203 
   5204 fi
   5205 
   5206 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5207 
   5208 
   5209 
   5210 
   5211 
   5212 
   5213 
   5214 
   5215 
   5216 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5217 		  inttypes.h stdint.h unistd.h
   5218 do
   5219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5220 echo "$as_me:$LINENO: checking for $ac_header" >&5
   5221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   5222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5223   echo $ECHO_N "(cached) $ECHO_C" >&6
   5224 else
   5225   cat >conftest.$ac_ext <<_ACEOF
   5226 /* confdefs.h.  */
   5227 _ACEOF
   5228 cat confdefs.h >>conftest.$ac_ext
   5229 cat >>conftest.$ac_ext <<_ACEOF
   5230 /* end confdefs.h.  */
   5231 $ac_includes_default
   5232 
   5233 #include <$ac_header>
   5234 _ACEOF
   5235 rm -f conftest.$ac_objext
   5236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5237   (eval $ac_compile) 2>conftest.er1
   5238   ac_status=$?
   5239   grep -v '^ *+' conftest.er1 >conftest.err
   5240   rm -f conftest.er1
   5241   cat conftest.err >&5
   5242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5243   (exit $ac_status); } &&
   5244 	 { ac_try='test -z "$ac_c_werror_flag"
   5245 			 || test ! -s conftest.err'
   5246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5247   (eval $ac_try) 2>&5
   5248   ac_status=$?
   5249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5250   (exit $ac_status); }; } &&
   5251 	 { ac_try='test -s conftest.$ac_objext'
   5252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5253   (eval $ac_try) 2>&5
   5254   ac_status=$?
   5255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5256   (exit $ac_status); }; }; then
   5257   eval "$as_ac_Header=yes"
   5258 else
   5259   echo "$as_me: failed program was:" >&5
   5260 sed 's/^/| /' conftest.$ac_ext >&5
   5261 
   5262 eval "$as_ac_Header=no"
   5263 fi
   5264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5265 fi
   5266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   5267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   5268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5269   cat >>confdefs.h <<_ACEOF
   5270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5271 _ACEOF
   5272 
   5273 fi
   5274 
   5275 done
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 for ac_header in string.h strings.h ncurses/curses.h ncurses.h curses.h
   5284 do
   5285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5287   echo "$as_me:$LINENO: checking for $ac_header" >&5
   5288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   5289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5290   echo $ECHO_N "(cached) $ECHO_C" >&6
   5291 fi
   5292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   5293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   5294 else
   5295   # Is the header compilable?
   5296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   5298 cat >conftest.$ac_ext <<_ACEOF
   5299 /* confdefs.h.  */
   5300 _ACEOF
   5301 cat confdefs.h >>conftest.$ac_ext
   5302 cat >>conftest.$ac_ext <<_ACEOF
   5303 /* end confdefs.h.  */
   5304 $ac_includes_default
   5305 #include <$ac_header>
   5306 _ACEOF
   5307 rm -f conftest.$ac_objext
   5308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5309   (eval $ac_compile) 2>conftest.er1
   5310   ac_status=$?
   5311   grep -v '^ *+' conftest.er1 >conftest.err
   5312   rm -f conftest.er1
   5313   cat conftest.err >&5
   5314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5315   (exit $ac_status); } &&
   5316 	 { ac_try='test -z "$ac_c_werror_flag"
   5317 			 || test ! -s conftest.err'
   5318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5319   (eval $ac_try) 2>&5
   5320   ac_status=$?
   5321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5322   (exit $ac_status); }; } &&
   5323 	 { ac_try='test -s conftest.$ac_objext'
   5324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5325   (eval $ac_try) 2>&5
   5326   ac_status=$?
   5327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5328   (exit $ac_status); }; }; then
   5329   ac_header_compiler=yes
   5330 else
   5331   echo "$as_me: failed program was:" >&5
   5332 sed 's/^/| /' conftest.$ac_ext >&5
   5333 
   5334 ac_header_compiler=no
   5335 fi
   5336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5338 echo "${ECHO_T}$ac_header_compiler" >&6
   5339 
   5340 # Is the header present?
   5341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   5343 cat >conftest.$ac_ext <<_ACEOF
   5344 /* confdefs.h.  */
   5345 _ACEOF
   5346 cat confdefs.h >>conftest.$ac_ext
   5347 cat >>conftest.$ac_ext <<_ACEOF
   5348 /* end confdefs.h.  */
   5349 #include <$ac_header>
   5350 _ACEOF
   5351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   5352   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   5353   ac_status=$?
   5354   grep -v '^ *+' conftest.er1 >conftest.err
   5355   rm -f conftest.er1
   5356   cat conftest.err >&5
   5357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5358   (exit $ac_status); } >/dev/null; then
   5359   if test -s conftest.err; then
   5360     ac_cpp_err=$ac_c_preproc_warn_flag
   5361     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   5362   else
   5363     ac_cpp_err=
   5364   fi
   5365 else
   5366   ac_cpp_err=yes
   5367 fi
   5368 if test -z "$ac_cpp_err"; then
   5369   ac_header_preproc=yes
   5370 else
   5371   echo "$as_me: failed program was:" >&5
   5372 sed 's/^/| /' conftest.$ac_ext >&5
   5373 
   5374   ac_header_preproc=no
   5375 fi
   5376 rm -f conftest.err conftest.$ac_ext
   5377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5378 echo "${ECHO_T}$ac_header_preproc" >&6
   5379 
   5380 # So?  What about this header?
   5381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5382   yes:no: )
   5383     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5385     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5387     ac_header_preproc=yes
   5388     ;;
   5389   no:yes:* )
   5390     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5392     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5393 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5394     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5396     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5397 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5398     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5400     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5402     (
   5403       cat <<\_ASBOX
   5404 ## ------------------------------- ##
   5405 ## Report this to bug-grub (at] gnu.org ##
   5406 ## ------------------------------- ##
   5407 _ASBOX
   5408     ) |
   5409       sed "s/^/$as_me: WARNING:     /" >&2
   5410     ;;
   5411 esac
   5412 echo "$as_me:$LINENO: checking for $ac_header" >&5
   5413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   5414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   5415   echo $ECHO_N "(cached) $ECHO_C" >&6
   5416 else
   5417   eval "$as_ac_Header=\$ac_header_preproc"
   5418 fi
   5419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   5420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   5421 
   5422 fi
   5423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   5424   cat >>confdefs.h <<_ACEOF
   5425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5426 _ACEOF
   5427 
   5428 fi
   5429 
   5430 done
   5431 
   5432 
   5433 # Check for user options.
   5434 
   5435 # filesystems support.
   5436 # Check whether --enable-ext2fs or --disable-ext2fs was given.
   5437 if test "${enable_ext2fs+set}" = set; then
   5438   enableval="$enable_ext2fs"
   5439 
   5440 fi;
   5441 
   5442 if test x"$enable_ext2fs" != xno; then
   5443   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_EXT2FS=1"
   5444 fi
   5445 
   5446 # Check whether --enable-fat or --disable-fat was given.
   5447 if test "${enable_fat+set}" = set; then
   5448   enableval="$enable_fat"
   5449 
   5450 fi;
   5451 
   5452 if test x"$enable_fat" != xno; then
   5453   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_FAT=1"
   5454 fi
   5455 
   5456 # Check whether --enable-ffs or --disable-ffs was given.
   5457 if test "${enable_ffs+set}" = set; then
   5458   enableval="$enable_ffs"
   5459 
   5460 fi;
   5461 
   5462 if test x"$enable_ffs" != xno; then
   5463   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_FFS=1"
   5464 fi
   5465 
   5466 # Check whether --enable-ufs2 or --disable-ufs2 was given.
   5467 if test "${enable_ufs2+set}" = set; then
   5468   enableval="$enable_ufs2"
   5469 
   5470 fi;
   5471 
   5472 if test x"$enable_ufs2" != xno; then
   5473   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_UFS2=1"
   5474 fi
   5475 
   5476 # Check whether --enable-minix or --disable-minix was given.
   5477 if test "${enable_minix+set}" = set; then
   5478   enableval="$enable_minix"
   5479 
   5480 fi;
   5481 
   5482 if test x"$enable_minix" != xno; then
   5483   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_MINIX=1"
   5484 fi
   5485 
   5486 # Check whether --enable-reiserfs or --disable-reiserfs was given.
   5487 if test "${enable_reiserfs+set}" = set; then
   5488   enableval="$enable_reiserfs"
   5489 
   5490 fi;
   5491 
   5492 if test x"$enable_reiserfs" != xno; then
   5493   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_REISERFS=1"
   5494 fi
   5495 
   5496 # Check whether --enable-vstafs or --disable-vstafs was given.
   5497 if test "${enable_vstafs+set}" = set; then
   5498   enableval="$enable_vstafs"
   5499 
   5500 fi;
   5501 
   5502 if test x"$enable_vstafs" != xno; then
   5503   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_VSTAFS=1"
   5504 fi
   5505 
   5506 # Check whether --enable-jfs or --disable-jfs was given.
   5507 if test "${enable_jfs+set}" = set; then
   5508   enableval="$enable_jfs"
   5509 
   5510 fi;
   5511 
   5512 if test x"$enable_jfs" != xno; then
   5513   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_JFS=1"
   5514 fi
   5515 
   5516 # Check whether --enable-xfs or --disable-xfs was given.
   5517 if test "${enable_xfs+set}" = set; then
   5518   enableval="$enable_xfs"
   5519 
   5520 fi;
   5521 
   5522 if test x"$enable_xfs" != xno; then
   5523   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_XFS=1"
   5524 fi
   5525 
   5526 # Check whether --enable-iso9660 or --disable-iso9660 was given.
   5527 if test "${enable_iso9660+set}" = set; then
   5528   enableval="$enable_iso9660"
   5529 
   5530 fi;
   5531 
   5532 if test x"$enable_iso9660" != xno; then
   5533   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_ISO9660=1"
   5534 fi
   5535 
   5536 
   5537 # Check whether --enable-gunzip or --disable-gunzip was given.
   5538 if test "${enable_gunzip+set}" = set; then
   5539   enableval="$enable_gunzip"
   5540 
   5541 fi;
   5542 
   5543 if test x"$enable_gunzip" = xno; then
   5544   FSYS_CFLAGS="$FSYS_CFLAGS -DNO_DECOMPRESSION=1"
   5545 fi
   5546 
   5547 # Check whether --enable-md5-password or --disable-md5-password was given.
   5548 if test "${enable_md5_password+set}" = set; then
   5549   enableval="$enable_md5_password"
   5550 
   5551 fi;
   5552 if test "x$enable_md5_password" != xno; then
   5553   FSYS_CFLAGS="$FSYS_CFLAGS -DUSE_MD5_PASSWORDS=1"
   5554 fi
   5555 
   5556 # Check whether --enable-packet-retransmission or --disable-packet-retransmission was given.
   5557 if test "${enable_packet_retransmission+set}" = set; then
   5558   enableval="$enable_packet_retransmission"
   5559 
   5560 fi;
   5561 if test "x$enable_packet_retransmission" != xno; then
   5562   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCONGESTED=1"
   5563 fi
   5564 
   5565 # Check whether --enable-pci-direct or --disable-pci-direct was given.
   5566 if test "${enable_pci_direct+set}" = set; then
   5567   enableval="$enable_pci_direct"
   5568 
   5569 fi;
   5570 if test "x$enable_pci_direct" = xyes; then
   5571   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCONFIG_PCI_DIRECT=1"
   5572 fi
   5573 
   5574 # Check whether --enable-3c509 or --disable-3c509 was given.
   5575 if test "${enable_3c509+set}" = set; then
   5576   enableval="$enable_3c509"
   5577 
   5578 fi;
   5579 if test "x$enable_3c509" = xyes; then
   5580   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C509"
   5581   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c509.o"
   5582 fi
   5583 
   5584 # Check whether --enable-3c529 or --disable-3c529 was given.
   5585 if test "${enable_3c529+set}" = set; then
   5586   enableval="$enable_3c529"
   5587 
   5588 fi;
   5589 if test "x$enable_3c529" = xyes; then
   5590   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C529=1"
   5591   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c529.o"
   5592 fi
   5593 
   5594 # Check whether --enable-3c595 or --disable-3c595 was given.
   5595 if test "${enable_3c595+set}" = set; then
   5596   enableval="$enable_3c595"
   5597 
   5598 fi;
   5599 if test "x$enable_3c595" = xyes; then
   5600   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C595=1"
   5601   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c595.o"
   5602 fi
   5603 
   5604 # Check whether --enable-3c90x or --disable-3c90x was given.
   5605 if test "${enable_3c90x+set}" = set; then
   5606   enableval="$enable_3c90x"
   5607 
   5608 fi;
   5609 if test "x$enable_3c90x" = xyes; then
   5610   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C90X=1"
   5611   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c90x.o"
   5612 fi
   5613 
   5614 # Check whether --enable-cs89x0 or --disable-cs89x0 was given.
   5615 if test "${enable_cs89x0+set}" = set; then
   5616   enableval="$enable_cs89x0"
   5617 
   5618 fi;
   5619 if test "x$enable_cs89x0" = xyes; then
   5620   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_CS89X0=1"
   5621   NETBOOT_DRIVERS="$NETBOOT_DRIVERS cs89x0.o"
   5622 fi
   5623 
   5624 # Check whether --enable-davicom or --disable-davicom was given.
   5625 if test "${enable_davicom+set}" = set; then
   5626   enableval="$enable_davicom"
   5627 
   5628 fi;
   5629 if test "x$enable_davicom" = xyes; then
   5630   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_DAVICOM=1"
   5631   NETBOOT_DRIVERS="$NETBOOT_DRIVERS davicom.o"
   5632 fi
   5633 
   5634 # Check whether --enable-depca or --disable-depca was given.
   5635 if test "${enable_depca+set}" = set; then
   5636   enableval="$enable_depca"
   5637 
   5638 fi;
   5639 if test "x$enable_depca" = xyes; then
   5640   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_DEPCA=1"
   5641   NETBOOT_DRIVERS="$NETBOOT_DRIVERS depca.o"
   5642 fi
   5643 
   5644 # Check whether --enable-eepro or --disable-eepro was given.
   5645 if test "${enable_eepro+set}" = set; then
   5646   enableval="$enable_eepro"
   5647 
   5648 fi;
   5649 if test "x$enable_eepro" = xyes; then
   5650   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_EEPRO=1"
   5651   NETBOOT_DRIVERS="$NETBOOT_DRIVERS eepro.o"
   5652 fi
   5653 
   5654 # Check whether --enable-eepro100 or --disable-eepro100 was given.
   5655 if test "${enable_eepro100+set}" = set; then
   5656   enableval="$enable_eepro100"
   5657 
   5658 fi;
   5659 if test "x$enable_eepro100" = xyes; then
   5660   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_EEPRO100=1"
   5661   NETBOOT_DRIVERS="$NETBOOT_DRIVERS eepro100.o"
   5662 fi
   5663 
   5664 # Check whether --enable-epic100 or --disable-epic100 was given.
   5665 if test "${enable_epic100+set}" = set; then
   5666   enableval="$enable_epic100"
   5667 
   5668 fi;
   5669 if test "x$enable_epic100" = xyes; then
   5670   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_EPIC100=1"
   5671   NETBOOT_DRIVERS="$NETBOOT_DRIVERS epic100.o"
   5672 fi
   5673 
   5674 # Check whether --enable-3c507 or --disable-3c507 was given.
   5675 if test "${enable_3c507+set}" = set; then
   5676   enableval="$enable_3c507"
   5677 
   5678 fi;
   5679 if test "x$enable_3c507" = xyes; then
   5680   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C507=1"
   5681   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c507.o"
   5682 fi
   5683 
   5684 # Check whether --enable-exos205 or --disable-exos205 was given.
   5685 if test "${enable_exos205+set}" = set; then
   5686   enableval="$enable_exos205"
   5687 
   5688 fi;
   5689 if test "x$enable_exos205" = xyes; then
   5690   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_EXOS205=1"
   5691   NETBOOT_DRIVERS="$NETBOOT_DRIVERS exos205.o"
   5692 fi
   5693 
   5694 # Check whether --enable-ni5210 or --disable-ni5210 was given.
   5695 if test "${enable_ni5210+set}" = set; then
   5696   enableval="$enable_ni5210"
   5697 
   5698 fi;
   5699 if test "x$enable_ni5210" = xyes; then
   5700   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NI5210=1"
   5701   NETBOOT_DRIVERS="$NETBOOT_DRIVERS ni5210.o"
   5702 fi
   5703 
   5704 # Check whether --enable-lance or --disable-lance was given.
   5705 if test "${enable_lance+set}" = set; then
   5706   enableval="$enable_lance"
   5707 
   5708 fi;
   5709 if test "x$enable_lance" = xyes; then
   5710   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_LANCE=1"
   5711   NETBOOT_DRIVERS="$NETBOOT_DRIVERS lance.o"
   5712 fi
   5713 
   5714 # Check whether --enable-ne2100 or --disable-ne2100 was given.
   5715 if test "${enable_ne2100+set}" = set; then
   5716   enableval="$enable_ne2100"
   5717 
   5718 fi;
   5719 if test "x$enable_ne2100" = xyes; then
   5720   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NE2100=1"
   5721   NETBOOT_DRIVERS="$NETBOOT_DRIVERS ne2100.o"
   5722 fi
   5723 
   5724 # Check whether --enable-ni6510 or --disable-ni6510 was given.
   5725 if test "${enable_ni6510+set}" = set; then
   5726   enableval="$enable_ni6510"
   5727 
   5728 fi;
   5729 if test "x$enable_ni6510" = xyes; then
   5730   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NI6510=1"
   5731   NETBOOT_DRIVERS="$NETBOOT_DRIVERS ni6510.o"
   5732 fi
   5733 
   5734 # Check whether --enable-natsemi or --disable-natsemi was given.
   5735 if test "${enable_natsemi+set}" = set; then
   5736   enableval="$enable_natsemi"
   5737 
   5738 fi;
   5739 if test "x$enable_natsemi" = xyes; then
   5740   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NATSEMI=1"
   5741   NETBOOT_DRIVERS="$NETBOOT_DRIVERS natsemi.o"
   5742 fi
   5743 
   5744 # Check whether --enable-ni5010 or --disable-ni5010 was given.
   5745 if test "${enable_ni5010+set}" = set; then
   5746   enableval="$enable_ni5010"
   5747 
   5748 fi;
   5749 if test "x$enable_ni5010" = xyes; then
   5750   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NI5010=1"
   5751   NETBOOT_DRIVERS="$NETBOOT_DRIVERS ni5010.o"
   5752 fi
   5753 
   5754 # Check whether --enable-3c503 or --disable-3c503 was given.
   5755 if test "${enable_3c503+set}" = set; then
   5756   enableval="$enable_3c503"
   5757 
   5758 fi;
   5759 if test "x$enable_3c503" = xyes; then
   5760   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_3C503=1"
   5761   NETBOOT_DRIVERS="$NETBOOT_DRIVERS 3c503.o"
   5762 fi
   5763 
   5764 # Check whether --enable-ne or --disable-ne was given.
   5765 if test "${enable_ne+set}" = set; then
   5766   enableval="$enable_ne"
   5767 
   5768 fi;
   5769 if test "x$enable_ne" = xyes; then
   5770   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NE=1"
   5771   NETBOOT_DRIVERS="$NETBOOT_DRIVERS ne.o"
   5772 fi
   5773 
   5774 # Check whether --enable-ns8390 or --disable-ns8390 was given.
   5775 if test "${enable_ns8390+set}" = set; then
   5776   enableval="$enable_ns8390"
   5777 
   5778 fi;
   5779 if test "x$enable_ns8390" = xyes; then
   5780   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_NS8390=1"
   5781   NETBOOT_DRIVERS="$NETBOOT_DRIVERS ns8390.o"
   5782 fi
   5783 
   5784 # Check whether --enable-wd or --disable-wd was given.
   5785 if test "${enable_wd+set}" = set; then
   5786   enableval="$enable_wd"
   5787 
   5788 fi;
   5789 if test "x$enable_wd" = xyes; then
   5790   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_WD=1"
   5791   NETBOOT_DRIVERS="$NETBOOT_DRIVERS wd.o"
   5792 fi
   5793 
   5794 # Check whether --enable-otulip or --disable-otulip was given.
   5795 if test "${enable_otulip+set}" = set; then
   5796   enableval="$enable_otulip"
   5797 
   5798 fi;
   5799 if test "x$enable_otulip" = xyes; then
   5800   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_OTULIP=1"
   5801   NETBOOT_DRIVERS="$NETBOOT_DRIVERS otulip.o"
   5802 fi
   5803 
   5804 # Check whether --enable-rtl8139 or --disable-rtl8139 was given.
   5805 if test "${enable_rtl8139+set}" = set; then
   5806   enableval="$enable_rtl8139"
   5807 
   5808 fi;
   5809 if test "x$enable_rtl8139" = xyes; then
   5810   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_RTL8139=1"
   5811   NETBOOT_DRIVERS="$NETBOOT_DRIVERS rtl8139.o"
   5812 fi
   5813 
   5814 # Check whether --enable-sis900 or --disable-sis900 was given.
   5815 if test "${enable_sis900+set}" = set; then
   5816   enableval="$enable_sis900"
   5817 
   5818 fi;
   5819 if test "x$enable_sis900" = xyes; then
   5820   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_SIS900=1"
   5821   NETBOOT_DRIVERS="$NETBOOT_DRIVERS sis900.o"
   5822 fi
   5823 
   5824 # Check whether --enable-sk-g16 or --disable-sk-g16 was given.
   5825 if test "${enable_sk_g16+set}" = set; then
   5826   enableval="$enable_sk_g16"
   5827 
   5828 fi;
   5829 if test "x$enable_sk_g16" = xyes; then
   5830   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_SK_G16=1"
   5831   NETBOOT_DRIVERS="$NETBOOT_DRIVERS sk_g16.o"
   5832 fi
   5833 
   5834 # Check whether --enable-smc9000 or --disable-smc9000 was given.
   5835 if test "${enable_smc9000+set}" = set; then
   5836   enableval="$enable_smc9000"
   5837 
   5838 fi;
   5839 if test "x$enable_smc9000" = xyes; then
   5840   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_SMC9000=1"
   5841   NETBOOT_DRIVERS="$NETBOOT_DRIVERS smc9000.o"
   5842 fi
   5843 
   5844 # Check whether --enable-tiara or --disable-tiara was given.
   5845 if test "${enable_tiara+set}" = set; then
   5846   enableval="$enable_tiara"
   5847 
   5848 fi;
   5849 if test "x$enable_tiara" = xyes; then
   5850   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_TIARA=1"
   5851   NETBOOT_DRIVERS="$NETBOOT_DRIVERS tiara.o"
   5852 fi
   5853 
   5854 # Check whether --enable-tulip or --disable-tulip was given.
   5855 if test "${enable_tulip+set}" = set; then
   5856   enableval="$enable_tulip"
   5857 
   5858 fi;
   5859 if test "x$enable_tulip" = xyes; then
   5860   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_TULIP=1"
   5861   NETBOOT_DRIVERS="$NETBOOT_DRIVERS tulip.o"
   5862 fi
   5863 
   5864 # Check whether --enable-via-rhine or --disable-via-rhine was given.
   5865 if test "${enable_via_rhine+set}" = set; then
   5866   enableval="$enable_via_rhine"
   5867 
   5868 fi;
   5869 if test "x$enable_via_rhine" = xyes; then
   5870   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_VIA_RHINE=1"
   5871   NETBOOT_DRIVERS="$NETBOOT_DRIVERS via_rhine.o"
   5872 fi
   5873 
   5874 # Check whether --enable-w89c840 or --disable-w89c840 was given.
   5875 if test "${enable_w89c840+set}" = set; then
   5876   enableval="$enable_w89c840"
   5877 
   5878 fi;
   5879 if test "x$enable_w89c840" = xyes; then
   5880   NET_CFLAGS="$NET_CFLAGS -DINCLUDE_W89C840=1"
   5881   NETBOOT_DRIVERS="$NETBOOT_DRIVERS w89c840.o"
   5882 fi
   5883 
   5884 
   5885 
   5886 if test "x$NET_CFLAGS" != x; then
   5887   NETBOOT_SUPPORT_TRUE=
   5888   NETBOOT_SUPPORT_FALSE='#'
   5889 else
   5890   NETBOOT_SUPPORT_TRUE='#'
   5891   NETBOOT_SUPPORT_FALSE=
   5892 fi
   5893 
   5894 if test "x$NET_CFLAGS" != x; then
   5895   FSYS_CFLAGS="$FSYS_CFLAGS -DFSYS_TFTP=1"
   5896 fi
   5897 
   5898 # Check whether --enable-3c503-shmem or --disable-3c503-shmem was given.
   5899 if test "${enable_3c503_shmem+set}" = set; then
   5900   enableval="$enable_3c503_shmem"
   5901 
   5902 fi;
   5903 if test "x$enable_3c503_shmem" = xyes; then
   5904   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DT503_SHMEM=1"
   5905 fi
   5906 
   5907 # Check whether --enable-3c503-aui or --disable-3c503-aui was given.
   5908 if test "${enable_3c503_aui+set}" = set; then
   5909   enableval="$enable_3c503_aui"
   5910 
   5911 fi;
   5912 if test "x$enable_3c503_aui" = xyes; then
   5913   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DT503_AUI=1"
   5914 fi
   5915 
   5916 # Check whether --enable-compex-rl2000-fix or --disable-compex-rl2000-fix was given.
   5917 if test "${enable_compex_rl2000_fix+set}" = set; then
   5918   enableval="$enable_compex_rl2000_fix"
   5919 
   5920 fi;
   5921 if test "x$enable_compex_rl2000_fix" = xyes; then
   5922   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCOMPEX_RL2000_FIX=1"
   5923 fi
   5924 
   5925 # Check whether --enable-smc9000-scan or --disable-smc9000-scan was given.
   5926 if test "${enable_smc9000_scan+set}" = set; then
   5927   enableval="$enable_smc9000_scan"
   5928   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DSMC9000_SCAN=$enable_smc9000_scan"
   5929 fi;
   5930 
   5931 # Check whether --enable-ne-scan or --disable-ne-scan was given.
   5932 if test "${enable_ne_scan+set}" = set; then
   5933   enableval="$enable_ne_scan"
   5934   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DNE_SCAN=$enable_ne_scan"
   5935 else
   5936   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DNE_SCAN=0x280,0x300,0x320,0x340"
   5937 fi;
   5938 
   5939 # Check whether --enable-wd-default-mem or --disable-wd-default-mem was given.
   5940 if test "${enable_wd_default_mem+set}" = set; then
   5941   enableval="$enable_wd_default_mem"
   5942   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DWD_DEFAULT_MEM=$enable_wd_default_mem"
   5943 else
   5944   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DWD_DEFAULT_MEM=0xCC000"
   5945 fi;
   5946 
   5947 # Check whether --enable-cs-scan or --disable-cs-scan was given.
   5948 if test "${enable_cs_scan+set}" = set; then
   5949   enableval="$enable_cs_scan"
   5950   NET_EXTRAFLAGS="$NET_EXTRAFLAGS -DCS_SCAN=$enable_cs_scan"
   5951 fi;
   5952 
   5953 # Check whether --enable-diskless or --disable-diskless was given.
   5954 if test "${enable_diskless+set}" = set; then
   5955   enableval="$enable_diskless"
   5956 
   5957 fi;
   5958 
   5959 
   5960 if test "x$enable_diskless" = xyes; then
   5961   DISKLESS_SUPPORT_TRUE=
   5962   DISKLESS_SUPPORT_FALSE='#'
   5963 else
   5964   DISKLESS_SUPPORT_TRUE='#'
   5965   DISKLESS_SUPPORT_FALSE=
   5966 fi
   5967 
   5968 
   5969 # Check whether --enable-hercules or --disable-hercules was given.
   5970 if test "${enable_hercules+set}" = set; then
   5971   enableval="$enable_hercules"
   5972 
   5973 fi;
   5974 
   5975 
   5976 if test "x$enable_hercules" != xno; then
   5977   HERCULES_SUPPORT_TRUE=
   5978   HERCULES_SUPPORT_FALSE='#'
   5979 else
   5980   HERCULES_SUPPORT_TRUE='#'
   5981   HERCULES_SUPPORT_FALSE=
   5982 fi
   5983 
   5984 
   5985 # Check whether --enable-serial or --disable-serial was given.
   5986 if test "${enable_serial+set}" = set; then
   5987   enableval="$enable_serial"
   5988 
   5989 fi;
   5990 
   5991 
   5992 if test "x$enable_serial" != xno; then
   5993   SERIAL_SUPPORT_TRUE=
   5994   SERIAL_SUPPORT_FALSE='#'
   5995 else
   5996   SERIAL_SUPPORT_TRUE='#'
   5997   SERIAL_SUPPORT_FALSE=
   5998 fi
   5999 
   6000 
   6001 # Check whether --enable-serial-speed-simulation or --disable-serial-speed-simulation was given.
   6002 if test "${enable_serial_speed_simulation+set}" = set; then
   6003   enableval="$enable_serial_speed_simulation"
   6004 
   6005 fi;
   6006 
   6007 
   6008 if test "x$enable_serial_speed_simulation" = xyes; then
   6009   SERIAL_SPEED_SIMULATION_TRUE=
   6010   SERIAL_SPEED_SIMULATION_FALSE='#'
   6011 else
   6012   SERIAL_SPEED_SIMULATION_TRUE='#'
   6013   SERIAL_SPEED_SIMULATION_FALSE=
   6014 fi
   6015 
   6016 
   6017 # Sanity check.
   6018 if test "x$enable_diskless" = xyes; then
   6019   if test "x$NET_CFLAGS" = x; then
   6020     { { echo "$as_me:$LINENO: error: You must enable at least one network driver" >&5
   6021 echo "$as_me: error: You must enable at least one network driver" >&2;}
   6022    { (exit 1); exit 1; }; }
   6023   fi
   6024 fi
   6025 
   6026 # Check whether --enable-preset-menu or --disable-preset-menu was given.
   6027 if test "${enable_preset_menu+set}" = set; then
   6028   enableval="$enable_preset_menu"
   6029 
   6030 fi;
   6031 if test "x$enable_preset_menu" = x; then
   6032   :
   6033 else
   6034   if test -r $enable_preset_menu; then
   6035 
   6036 # Because early versions of GNU sed 3.x are too buggy, use a C program
   6037 # instead of shell commands. *sigh*
   6038 cat >conftest.c <<\EOF
   6039 #include <stdio.h>
   6040 
   6041 int
   6042 main (void)
   6043 {
   6044   int c;
   6045 
   6046   while ((c = getchar ()) != EOF)
   6047     {
   6048       switch (c)
   6049         {
   6050 	case '\n':
   6051 	  fputs ("\\n", stdout);
   6052 	  break;
   6053 	case '\r':
   6054 	  fputs ("\\r", stdout);
   6055 	  break;
   6056 	case '\\':
   6057 	  fputs ("\\\\", stdout);
   6058 	  break;
   6059 	case '"':
   6060 	  fputs ("\\\"", stdout);
   6061 	  break;
   6062 	default:
   6063 	  putchar (c);
   6064 	}
   6065     }
   6066 
   6067   return 0;
   6068 }
   6069 EOF
   6070 
   6071 if { ac_try='${CC-cc} ${CFLAGS} conftest.c -o conftest'
   6072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6073   (eval $ac_try) 2>&5
   6074   ac_status=$?
   6075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6076   (exit $ac_status); }; } && test -s conftest; then
   6077   grub_tmp_value=`./conftest < "$enable_preset_menu"`
   6078 else
   6079   { { echo "$as_me:$LINENO: error: ${CC-cc} failed to produce an executable file" >&5
   6080 echo "$as_me: error: ${CC-cc} failed to produce an executable file" >&2;}
   6081    { (exit 1); exit 1; }; }
   6082 fi
   6083 
   6084 
   6085 cat >>confdefs.h <<_ACEOF
   6086 #define PRESET_MENU_STRING "$grub_tmp_value"
   6087 _ACEOF
   6088 
   6089 rm -f conftest*
   6090 
   6091   else
   6092     { { echo "$as_me:$LINENO: error: Cannot read the preset menu file $enable_preset_menu" >&5
   6093 echo "$as_me: error: Cannot read the preset menu file $enable_preset_menu" >&2;}
   6094    { (exit 1); exit 1; }; }
   6095   fi
   6096 fi
   6097 
   6098 # Check whether --enable-example-kernel or --disable-example-kernel was given.
   6099 if test "${enable_example_kernel+set}" = set; then
   6100   enableval="$enable_example_kernel"
   6101 
   6102 fi;
   6103 
   6104 
   6105 if test "x$enable_example_kernel" = xyes; then
   6106   BUILD_EXAMPLE_KERNEL_TRUE=
   6107   BUILD_EXAMPLE_KERNEL_FALSE='#'
   6108 else
   6109   BUILD_EXAMPLE_KERNEL_TRUE='#'
   6110   BUILD_EXAMPLE_KERNEL_FALSE=
   6111 fi
   6112 
   6113 
   6114 # Check whether --enable-auto-linux-mem-opt or --disable-auto-linux-mem-opt was given.
   6115 if test "${enable_auto_linux_mem_opt+set}" = set; then
   6116   enableval="$enable_auto_linux_mem_opt"
   6117 
   6118 fi;
   6119 if test "x$enable_auto_linux_mem_opt" = xno; then
   6120   :
   6121 else
   6122 
   6123 cat >>confdefs.h <<\_ACEOF
   6124 #define AUTO_LINUX_MEM_OPT 1
   6125 _ACEOF
   6126 
   6127 fi
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 CCASFLAGS='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'
   6135 
   6136 
   6137 
   6138                                                                                                                                   ac_config_files="$ac_config_files Makefile stage1/Makefile stage2/Makefile docs/Makefile lib/Makefile util/Makefile grub/Makefile netboot/Makefile util/grub-image util/grub-install util/grub-md5-crypt util/grub-terminfo util/grub-set-default"
   6139 
   6140 cat >confcache <<\_ACEOF
   6141 # This file is a shell script that caches the results of configure
   6142 # tests run on this system so they can be shared between configure
   6143 # scripts and configure runs, see configure's option --config-cache.
   6144 # It is not useful on other systems.  If it contains results you don't
   6145 # want to keep, you may remove or edit it.
   6146 #
   6147 # config.status only pays attention to the cache file if you give it
   6148 # the --recheck option to rerun configure.
   6149 #
   6150 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   6151 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   6152 # following values.
   6153 
   6154 _ACEOF
   6155 
   6156 # The following way of writing the cache mishandles newlines in values,
   6157 # but we know of no workaround that is simple, portable, and efficient.
   6158 # So, don't put newlines in cache variables' values.
   6159 # Ultrix sh set writes to stderr and can't be redirected directly,
   6160 # and sets the high bit in the cache file unless we assign to the vars.
   6161 {
   6162   (set) 2>&1 |
   6163     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   6164     *ac_space=\ *)
   6165       # `set' does not quote correctly, so add quotes (double-quote
   6166       # substitution turns \\\\ into \\, and sed turns \\ into \).
   6167       sed -n \
   6168 	"s/'/'\\\\''/g;
   6169 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   6170       ;;
   6171     *)
   6172       # `set' quotes correctly as required by POSIX, so do not add quotes.
   6173       sed -n \
   6174 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   6175       ;;
   6176     esac;
   6177 } |
   6178   sed '
   6179      t clear
   6180      : clear
   6181      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   6182      t end
   6183      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   6184      : end' >>confcache
   6185 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   6186   if test -w $cache_file; then
   6187     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   6188     cat confcache >$cache_file
   6189   else
   6190     echo "not updating unwritable cache $cache_file"
   6191   fi
   6192 fi
   6193 rm -f confcache
   6194 
   6195 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   6196 # Let make expand exec_prefix.
   6197 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   6198 
   6199 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   6200 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   6201 # trailing colons and then remove the whole line if VPATH becomes empty
   6202 # (actually we leave an empty line to preserve line numbers).
   6203 if test "x$srcdir" = x.; then
   6204   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   6205 s/:*\$(srcdir):*/:/;
   6206 s/:*\${srcdir}:*/:/;
   6207 s/:*@srcdir@:*/:/;
   6208 s/^\([^=]*=[	 ]*\):*/\1/;
   6209 s/:*$//;
   6210 s/^[^=]*=[	 ]*$//;
   6211 }'
   6212 fi
   6213 
   6214 DEFS=-DHAVE_CONFIG_H
   6215 
   6216 ac_libobjs=
   6217 ac_ltlibobjs=
   6218 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   6219   # 1. Remove the extension, and $U if already installed.
   6220   ac_i=`echo "$ac_i" |
   6221 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   6222   # 2. Add them.
   6223   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   6224   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   6225 done
   6226 LIBOBJS=$ac_libobjs
   6227 
   6228 LTLIBOBJS=$ac_ltlibobjs
   6229 
   6230 
   6231 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   6232   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   6233 Usually this means the macro was only invoked conditionally." >&5
   6234 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   6235 Usually this means the macro was only invoked conditionally." >&2;}
   6236    { (exit 1); exit 1; }; }
   6237 fi
   6238 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   6239   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   6240 Usually this means the macro was only invoked conditionally." >&5
   6241 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   6242 Usually this means the macro was only invoked conditionally." >&2;}
   6243    { (exit 1); exit 1; }; }
   6244 fi
   6245 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   6246   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   6247 Usually this means the macro was only invoked conditionally." >&5
   6248 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   6249 Usually this means the macro was only invoked conditionally." >&2;}
   6250    { (exit 1); exit 1; }; }
   6251 fi
   6252 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   6253   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   6254 Usually this means the macro was only invoked conditionally." >&5
   6255 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   6256 Usually this means the macro was only invoked conditionally." >&2;}
   6257    { (exit 1); exit 1; }; }
   6258 fi
   6259 if test -z "${NETBOOT_SUPPORT_TRUE}" && test -z "${NETBOOT_SUPPORT_FALSE}"; then
   6260   { { echo "$as_me:$LINENO: error: conditional \"NETBOOT_SUPPORT\" was never defined.
   6261 Usually this means the macro was only invoked conditionally." >&5
   6262 echo "$as_me: error: conditional \"NETBOOT_SUPPORT\" was never defined.
   6263 Usually this means the macro was only invoked conditionally." >&2;}
   6264    { (exit 1); exit 1; }; }
   6265 fi
   6266 if test -z "${DISKLESS_SUPPORT_TRUE}" && test -z "${DISKLESS_SUPPORT_FALSE}"; then
   6267   { { echo "$as_me:$LINENO: error: conditional \"DISKLESS_SUPPORT\" was never defined.
   6268 Usually this means the macro was only invoked conditionally." >&5
   6269 echo "$as_me: error: conditional \"DISKLESS_SUPPORT\" was never defined.
   6270 Usually this means the macro was only invoked conditionally." >&2;}
   6271    { (exit 1); exit 1; }; }
   6272 fi
   6273 if test -z "${HERCULES_SUPPORT_TRUE}" && test -z "${HERCULES_SUPPORT_FALSE}"; then
   6274   { { echo "$as_me:$LINENO: error: conditional \"HERCULES_SUPPORT\" was never defined.
   6275 Usually this means the macro was only invoked conditionally." >&5
   6276 echo "$as_me: error: conditional \"HERCULES_SUPPORT\" was never defined.
   6277 Usually this means the macro was only invoked conditionally." >&2;}
   6278    { (exit 1); exit 1; }; }
   6279 fi
   6280 if test -z "${SERIAL_SUPPORT_TRUE}" && test -z "${SERIAL_SUPPORT_FALSE}"; then
   6281   { { echo "$as_me:$LINENO: error: conditional \"SERIAL_SUPPORT\" was never defined.
   6282 Usually this means the macro was only invoked conditionally." >&5
   6283 echo "$as_me: error: conditional \"SERIAL_SUPPORT\" was never defined.
   6284 Usually this means the macro was only invoked conditionally." >&2;}
   6285    { (exit 1); exit 1; }; }
   6286 fi
   6287 if test -z "${SERIAL_SPEED_SIMULATION_TRUE}" && test -z "${SERIAL_SPEED_SIMULATION_FALSE}"; then
   6288   { { echo "$as_me:$LINENO: error: conditional \"SERIAL_SPEED_SIMULATION\" was never defined.
   6289 Usually this means the macro was only invoked conditionally." >&5
   6290 echo "$as_me: error: conditional \"SERIAL_SPEED_SIMULATION\" was never defined.
   6291 Usually this means the macro was only invoked conditionally." >&2;}
   6292    { (exit 1); exit 1; }; }
   6293 fi
   6294 if test -z "${BUILD_EXAMPLE_KERNEL_TRUE}" && test -z "${BUILD_EXAMPLE_KERNEL_FALSE}"; then
   6295   { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXAMPLE_KERNEL\" was never defined.
   6296 Usually this means the macro was only invoked conditionally." >&5
   6297 echo "$as_me: error: conditional \"BUILD_EXAMPLE_KERNEL\" was never defined.
   6298 Usually this means the macro was only invoked conditionally." >&2;}
   6299    { (exit 1); exit 1; }; }
   6300 fi
   6301 
   6302 : ${CONFIG_STATUS=./config.status}
   6303 ac_clean_files_save=$ac_clean_files
   6304 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   6305 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   6306 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   6307 cat >$CONFIG_STATUS <<_ACEOF
   6308 #! $SHELL
   6309 # Generated by $as_me.
   6310 # Run this file to recreate the current configuration.
   6311 # Compiler output produced by configure, useful for debugging
   6312 # configure, is in config.log if it exists.
   6313 
   6314 debug=false
   6315 ac_cs_recheck=false
   6316 ac_cs_silent=false
   6317 SHELL=\${CONFIG_SHELL-$SHELL}
   6318 _ACEOF
   6319 
   6320 cat >>$CONFIG_STATUS <<\_ACEOF
   6321 ## --------------------- ##
   6322 ## M4sh Initialization.  ##
   6323 ## --------------------- ##
   6324 
   6325 # Be Bourne compatible
   6326 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   6327   emulate sh
   6328   NULLCMD=:
   6329   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   6330   # is contrary to our usage.  Disable this feature.
   6331   alias -g '${1+"$@"}'='"$@"'
   6332 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   6333   set -o posix
   6334 fi
   6335 DUALCASE=1; export DUALCASE # for MKS sh
   6336 
   6337 # Support unset when possible.
   6338 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6339   as_unset=unset
   6340 else
   6341   as_unset=false
   6342 fi
   6343 
   6344 
   6345 # Work around bugs in pre-3.0 UWIN ksh.
   6346 $as_unset ENV MAIL MAILPATH
   6347 PS1='$ '
   6348 PS2='> '
   6349 PS4='+ '
   6350 
   6351 # NLS nuisances.
   6352 for as_var in \
   6353   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   6354   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   6355   LC_TELEPHONE LC_TIME
   6356 do
   6357   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   6358     eval $as_var=C; export $as_var
   6359   else
   6360     $as_unset $as_var
   6361   fi
   6362 done
   6363 
   6364 # Required to use basename.
   6365 if expr a : '\(a\)' >/dev/null 2>&1; then
   6366   as_expr=expr
   6367 else
   6368   as_expr=false
   6369 fi
   6370 
   6371 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   6372   as_basename=basename
   6373 else
   6374   as_basename=false
   6375 fi
   6376 
   6377 
   6378 # Name of the executable.
   6379 as_me=`$as_basename "$0" ||
   6380 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   6381 	 X"$0" : 'X\(//\)$' \| \
   6382 	 X"$0" : 'X\(/\)$' \| \
   6383 	 .     : '\(.\)' 2>/dev/null ||
   6384 echo X/"$0" |
   6385     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   6386   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   6387   	  /^X\/\(\/\).*/{ s//\1/; q; }
   6388   	  s/.*/./; q'`
   6389 
   6390 
   6391 # PATH needs CR, and LINENO needs CR and PATH.
   6392 # Avoid depending upon Character Ranges.
   6393 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   6394 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   6395 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   6396 as_cr_digits='0123456789'
   6397 as_cr_alnum=$as_cr_Letters$as_cr_digits
   6398 
   6399 # The user is always right.
   6400 if test "${PATH_SEPARATOR+set}" != set; then
   6401   echo "#! /bin/sh" >conf$$.sh
   6402   echo  "exit 0"   >>conf$$.sh
   6403   chmod +x conf$$.sh
   6404   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   6405     PATH_SEPARATOR=';'
   6406   else
   6407     PATH_SEPARATOR=:
   6408   fi
   6409   rm -f conf$$.sh
   6410 fi
   6411 
   6412 
   6413   as_lineno_1=$LINENO
   6414   as_lineno_2=$LINENO
   6415   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   6416   test "x$as_lineno_1" != "x$as_lineno_2" &&
   6417   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   6418   # Find who we are.  Look in the path if we contain no path at all
   6419   # relative or not.
   6420   case $0 in
   6421     *[\\/]* ) as_myself=$0 ;;
   6422     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6423 for as_dir in $PATH
   6424 do
   6425   IFS=$as_save_IFS
   6426   test -z "$as_dir" && as_dir=.
   6427   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   6428 done
   6429 
   6430        ;;
   6431   esac
   6432   # We did not find ourselves, most probably we were run as `sh COMMAND'
   6433   # in which case we are not to be found in the path.
   6434   if test "x$as_myself" = x; then
   6435     as_myself=$0
   6436   fi
   6437   if test ! -f "$as_myself"; then
   6438     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   6439 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   6440    { (exit 1); exit 1; }; }
   6441   fi
   6442   case $CONFIG_SHELL in
   6443   '')
   6444     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6445 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   6446 do
   6447   IFS=$as_save_IFS
   6448   test -z "$as_dir" && as_dir=.
   6449   for as_base in sh bash ksh sh5; do
   6450 	 case $as_dir in
   6451 	 /*)
   6452 	   if ("$as_dir/$as_base" -c '
   6453   as_lineno_1=$LINENO
   6454   as_lineno_2=$LINENO
   6455   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   6456   test "x$as_lineno_1" != "x$as_lineno_2" &&
   6457   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   6458 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   6459 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   6460 	     CONFIG_SHELL=$as_dir/$as_base
   6461 	     export CONFIG_SHELL
   6462 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   6463 	   fi;;
   6464 	 esac
   6465        done
   6466 done
   6467 ;;
   6468   esac
   6469 
   6470   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   6471   # uniformly replaced by the line number.  The first 'sed' inserts a
   6472   # line-number line before each line; the second 'sed' does the real
   6473   # work.  The second script uses 'N' to pair each line-number line
   6474   # with the numbered line, and appends trailing '-' during
   6475   # substitution so that $LINENO is not a special case at line end.
   6476   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   6477   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   6478   sed '=' <$as_myself |
   6479     sed '
   6480       N
   6481       s,$,-,
   6482       : loop
   6483       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   6484       t loop
   6485       s,-$,,
   6486       s,^['$as_cr_digits']*\n,,
   6487     ' >$as_me.lineno &&
   6488   chmod +x $as_me.lineno ||
   6489     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   6490 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   6491    { (exit 1); exit 1; }; }
   6492 
   6493   # Don't try to exec as it changes $[0], causing all sort of problems
   6494   # (the dirname of $[0] is not the place where we might find the
   6495   # original and so on.  Autoconf is especially sensible to this).
   6496   . ./$as_me.lineno
   6497   # Exit status is that of the last command.
   6498   exit
   6499 }
   6500 
   6501 
   6502 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   6503   *c*,-n*) ECHO_N= ECHO_C='
   6504 ' ECHO_T='	' ;;
   6505   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   6506   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   6507 esac
   6508 
   6509 if expr a : '\(a\)' >/dev/null 2>&1; then
   6510   as_expr=expr
   6511 else
   6512   as_expr=false
   6513 fi
   6514 
   6515 rm -f conf$$ conf$$.exe conf$$.file
   6516 echo >conf$$.file
   6517 if ln -s conf$$.file conf$$ 2>/dev/null; then
   6518   # We could just check for DJGPP; but this test a) works b) is more generic
   6519   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   6520   if test -f conf$$.exe; then
   6521     # Don't use ln at all; we don't have any links
   6522     as_ln_s='cp -p'
   6523   else
   6524     as_ln_s='ln -s'
   6525   fi
   6526 elif ln conf$$.file conf$$ 2>/dev/null; then
   6527   as_ln_s=ln
   6528 else
   6529   as_ln_s='cp -p'
   6530 fi
   6531 rm -f conf$$ conf$$.exe conf$$.file
   6532 
   6533 if mkdir -p . 2>/dev/null; then
   6534   as_mkdir_p=:
   6535 else
   6536   test -d ./-p && rmdir ./-p
   6537   as_mkdir_p=false
   6538 fi
   6539 
   6540 as_executable_p="test -f"
   6541 
   6542 # Sed expression to map a string onto a valid CPP name.
   6543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   6544 
   6545 # Sed expression to map a string onto a valid variable name.
   6546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   6547 
   6548 
   6549 # IFS
   6550 # We need space, tab and new line, in precisely that order.
   6551 as_nl='
   6552 '
   6553 IFS=" 	$as_nl"
   6554 
   6555 # CDPATH.
   6556 $as_unset CDPATH
   6557 
   6558 exec 6>&1
   6559 
   6560 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   6561 # report actual input values of CONFIG_FILES etc. instead of their
   6562 # values after options handling.  Logging --version etc. is OK.
   6563 exec 5>>config.log
   6564 {
   6565   echo
   6566   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   6567 ## Running $as_me. ##
   6568 _ASBOX
   6569 } >&5
   6570 cat >&5 <<_CSEOF
   6571 
   6572 This file was extended by GRUB $as_me 0.97, which was
   6573 generated by GNU Autoconf 2.59.  Invocation command line was
   6574 
   6575   CONFIG_FILES    = $CONFIG_FILES
   6576   CONFIG_HEADERS  = $CONFIG_HEADERS
   6577   CONFIG_LINKS    = $CONFIG_LINKS
   6578   CONFIG_COMMANDS = $CONFIG_COMMANDS
   6579   $ $0 $@
   6580 
   6581 _CSEOF
   6582 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   6583 echo >&5
   6584 _ACEOF
   6585 
   6586 # Files that config.status was made for.
   6587 if test -n "$ac_config_files"; then
   6588   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   6589 fi
   6590 
   6591 if test -n "$ac_config_headers"; then
   6592   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   6593 fi
   6594 
   6595 if test -n "$ac_config_links"; then
   6596   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   6597 fi
   6598 
   6599 if test -n "$ac_config_commands"; then
   6600   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   6601 fi
   6602 
   6603 cat >>$CONFIG_STATUS <<\_ACEOF
   6604 
   6605 ac_cs_usage="\
   6606 \`$as_me' instantiates files from templates according to the
   6607 current configuration.
   6608 
   6609 Usage: $0 [OPTIONS] [FILE]...
   6610 
   6611   -h, --help       print this help, then exit
   6612   -V, --version    print version number, then exit
   6613   -q, --quiet      do not print progress messages
   6614   -d, --debug      don't remove temporary files
   6615       --recheck    update $as_me by reconfiguring in the same conditions
   6616   --file=FILE[:TEMPLATE]
   6617 		   instantiate the configuration file FILE
   6618   --header=FILE[:TEMPLATE]
   6619 		   instantiate the configuration header FILE
   6620 
   6621 Configuration files:
   6622 $config_files
   6623 
   6624 Configuration headers:
   6625 $config_headers
   6626 
   6627 Configuration commands:
   6628 $config_commands
   6629 
   6630 Report bugs to <bug-autoconf@gnu.org>."
   6631 _ACEOF
   6632 
   6633 cat >>$CONFIG_STATUS <<_ACEOF
   6634 ac_cs_version="\\
   6635 GRUB config.status 0.97
   6636 configured by $0, generated by GNU Autoconf 2.59,
   6637   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   6638 
   6639 Copyright (C) 2003 Free Software Foundation, Inc.
   6640 This config.status script is free software; the Free Software Foundation
   6641 gives unlimited permission to copy, distribute and modify it."
   6642 srcdir=$srcdir
   6643 INSTALL="$INSTALL"
   6644 _ACEOF
   6645 
   6646 cat >>$CONFIG_STATUS <<\_ACEOF
   6647 # If no file are specified by the user, then we need to provide default
   6648 # value.  By we need to know if files were specified by the user.
   6649 ac_need_defaults=:
   6650 while test $# != 0
   6651 do
   6652   case $1 in
   6653   --*=*)
   6654     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   6655     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   6656     ac_shift=:
   6657     ;;
   6658   -*)
   6659     ac_option=$1
   6660     ac_optarg=$2
   6661     ac_shift=shift
   6662     ;;
   6663   *) # This is not an option, so the user has probably given explicit
   6664      # arguments.
   6665      ac_option=$1
   6666      ac_need_defaults=false;;
   6667   esac
   6668 
   6669   case $ac_option in
   6670   # Handling of the options.
   6671 _ACEOF
   6672 cat >>$CONFIG_STATUS <<\_ACEOF
   6673   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   6674     ac_cs_recheck=: ;;
   6675   --version | --vers* | -V )
   6676     echo "$ac_cs_version"; exit 0 ;;
   6677   --he | --h)
   6678     # Conflict between --help and --header
   6679     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   6680 Try \`$0 --help' for more information." >&5
   6681 echo "$as_me: error: ambiguous option: $1
   6682 Try \`$0 --help' for more information." >&2;}
   6683    { (exit 1); exit 1; }; };;
   6684   --help | --hel | -h )
   6685     echo "$ac_cs_usage"; exit 0 ;;
   6686   --debug | --d* | -d )
   6687     debug=: ;;
   6688   --file | --fil | --fi | --f )
   6689     $ac_shift
   6690     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   6691     ac_need_defaults=false;;
   6692   --header | --heade | --head | --hea )
   6693     $ac_shift
   6694     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   6695     ac_need_defaults=false;;
   6696   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   6697   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   6698     ac_cs_silent=: ;;
   6699 
   6700   # This is an error.
   6701   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   6702 Try \`$0 --help' for more information." >&5
   6703 echo "$as_me: error: unrecognized option: $1
   6704 Try \`$0 --help' for more information." >&2;}
   6705    { (exit 1); exit 1; }; } ;;
   6706 
   6707   *) ac_config_targets="$ac_config_targets $1" ;;
   6708 
   6709   esac
   6710   shift
   6711 done
   6712 
   6713 ac_configure_extra_args=
   6714 
   6715 if $ac_cs_silent; then
   6716   exec 6>/dev/null
   6717   ac_configure_extra_args="$ac_configure_extra_args --silent"
   6718 fi
   6719 
   6720 _ACEOF
   6721 cat >>$CONFIG_STATUS <<_ACEOF
   6722 if \$ac_cs_recheck; then
   6723   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   6724   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   6725 fi
   6726 
   6727 _ACEOF
   6728 
   6729 cat >>$CONFIG_STATUS <<_ACEOF
   6730 #
   6731 # INIT-COMMANDS section.
   6732 #
   6733 
   6734 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   6735 
   6736 _ACEOF
   6737 
   6738 
   6739 
   6740 cat >>$CONFIG_STATUS <<\_ACEOF
   6741 for ac_config_target in $ac_config_targets
   6742 do
   6743   case "$ac_config_target" in
   6744   # Handling of arguments.
   6745   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   6746   "stage1/Makefile" ) CONFIG_FILES="$CONFIG_FILES stage1/Makefile" ;;
   6747   "stage2/Makefile" ) CONFIG_FILES="$CONFIG_FILES stage2/Makefile" ;;
   6748   "docs/Makefile" ) CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
   6749   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   6750   "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   6751   "grub/Makefile" ) CONFIG_FILES="$CONFIG_FILES grub/Makefile" ;;
   6752   "netboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES netboot/Makefile" ;;
   6753   "util/grub-image" ) CONFIG_FILES="$CONFIG_FILES util/grub-image" ;;
   6754   "util/grub-install" ) CONFIG_FILES="$CONFIG_FILES util/grub-install" ;;
   6755   "util/grub-md5-crypt" ) CONFIG_FILES="$CONFIG_FILES util/grub-md5-crypt" ;;
   6756   "util/grub-terminfo" ) CONFIG_FILES="$CONFIG_FILES util/grub-terminfo" ;;
   6757   "util/grub-set-default" ) CONFIG_FILES="$CONFIG_FILES util/grub-set-default" ;;
   6758   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   6759   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   6760   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   6761 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   6762    { (exit 1); exit 1; }; };;
   6763   esac
   6764 done
   6765 
   6766 # If the user did not use the arguments to specify the items to instantiate,
   6767 # then the envvar interface is used.  Set only those that are not.
   6768 # We use the long form for the default assignment because of an extremely
   6769 # bizarre bug on SunOS 4.1.3.
   6770 if $ac_need_defaults; then
   6771   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   6772   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   6773   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   6774 fi
   6775 
   6776 # Have a temporary directory for convenience.  Make it in the build tree
   6777 # simply because there is no reason to put it here, and in addition,
   6778 # creating and moving files from /tmp can sometimes cause problems.
   6779 # Create a temporary directory, and hook for its removal unless debugging.
   6780 $debug ||
   6781 {
   6782   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   6783   trap '{ (exit 1); exit 1; }' 1 2 13 15
   6784 }
   6785 
   6786 # Create a (secure) tmp directory for tmp files.
   6787 
   6788 {
   6789   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   6790   test -n "$tmp" && test -d "$tmp"
   6791 }  ||
   6792 {
   6793   tmp=./confstat$$-$RANDOM
   6794   (umask 077 && mkdir $tmp)
   6795 } ||
   6796 {
   6797    echo "$me: cannot create a temporary directory in ." >&2
   6798    { (exit 1); exit 1; }
   6799 }
   6800 
   6801 _ACEOF
   6802 
   6803 cat >>$CONFIG_STATUS <<_ACEOF
   6804 
   6805 #
   6806 # CONFIG_FILES section.
   6807 #
   6808 
   6809 # No need to generate the scripts if there are no CONFIG_FILES.
   6810 # This happens for instance when ./config.status config.h
   6811 if test -n "\$CONFIG_FILES"; then
   6812   # Protect against being on the right side of a sed subst in config.status.
   6813   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   6814    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   6815 s,@SHELL@,$SHELL,;t t
   6816 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   6817 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   6818 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   6819 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   6820 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   6821 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   6822 s,@exec_prefix@,$exec_prefix,;t t
   6823 s,@prefix@,$prefix,;t t
   6824 s,@program_transform_name@,$program_transform_name,;t t
   6825 s,@bindir@,$bindir,;t t
   6826 s,@sbindir@,$sbindir,;t t
   6827 s,@libexecdir@,$libexecdir,;t t
   6828 s,@datadir@,$datadir,;t t
   6829 s,@sysconfdir@,$sysconfdir,;t t
   6830 s,@sharedstatedir@,$sharedstatedir,;t t
   6831 s,@localstatedir@,$localstatedir,;t t
   6832 s,@libdir@,$libdir,;t t
   6833 s,@includedir@,$includedir,;t t
   6834 s,@oldincludedir@,$oldincludedir,;t t
   6835 s,@infodir@,$infodir,;t t
   6836 s,@mandir@,$mandir,;t t
   6837 s,@build_alias@,$build_alias,;t t
   6838 s,@host_alias@,$host_alias,;t t
   6839 s,@target_alias@,$target_alias,;t t
   6840 s,@DEFS@,$DEFS,;t t
   6841 s,@ECHO_C@,$ECHO_C,;t t
   6842 s,@ECHO_N@,$ECHO_N,;t t
   6843 s,@ECHO_T@,$ECHO_T,;t t
   6844 s,@LIBS@,$LIBS,;t t
   6845 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   6846 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   6847 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   6848 s,@CYGPATH_W@,$CYGPATH_W,;t t
   6849 s,@PACKAGE@,$PACKAGE,;t t
   6850 s,@VERSION@,$VERSION,;t t
   6851 s,@ACLOCAL@,$ACLOCAL,;t t
   6852 s,@AUTOCONF@,$AUTOCONF,;t t
   6853 s,@AUTOMAKE@,$AUTOMAKE,;t t
   6854 s,@AUTOHEADER@,$AUTOHEADER,;t t
   6855 s,@MAKEINFO@,$MAKEINFO,;t t
   6856 s,@install_sh@,$install_sh,;t t
   6857 s,@STRIP@,$STRIP,;t t
   6858 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   6859 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   6860 s,@mkdir_p@,$mkdir_p,;t t
   6861 s,@AWK@,$AWK,;t t
   6862 s,@SET_MAKE@,$SET_MAKE,;t t
   6863 s,@am__leading_dot@,$am__leading_dot,;t t
   6864 s,@AMTAR@,$AMTAR,;t t
   6865 s,@am__tar@,$am__tar,;t t
   6866 s,@am__untar@,$am__untar,;t t
   6867 s,@build@,$build,;t t
   6868 s,@build_cpu@,$build_cpu,;t t
   6869 s,@build_vendor@,$build_vendor,;t t
   6870 s,@build_os@,$build_os,;t t
   6871 s,@host@,$host,;t t
   6872 s,@host_cpu@,$host_cpu,;t t
   6873 s,@host_vendor@,$host_vendor,;t t
   6874 s,@host_os@,$host_os,;t t
   6875 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   6876 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   6877 s,@MAINT@,$MAINT,;t t
   6878 s,@PERL@,$PERL,;t t
   6879 s,@CC@,$CC,;t t
   6880 s,@ac_ct_CC@,$ac_ct_CC,;t t
   6881 s,@CFLAGS@,$CFLAGS,;t t
   6882 s,@LDFLAGS@,$LDFLAGS,;t t
   6883 s,@CPPFLAGS@,$CPPFLAGS,;t t
   6884 s,@EXEEXT@,$EXEEXT,;t t
   6885 s,@OBJEXT@,$OBJEXT,;t t
   6886 s,@DEPDIR@,$DEPDIR,;t t
   6887 s,@am__include@,$am__include,;t t
   6888 s,@am__quote@,$am__quote,;t t
   6889 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   6890 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   6891 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   6892 s,@CCDEPMODE@,$CCDEPMODE,;t t
   6893 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   6894 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   6895 s,@CCAS@,$CCAS,;t t
   6896 s,@RANLIB@,$RANLIB,;t t
   6897 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   6898 s,@STAGE1_CFLAGS@,$STAGE1_CFLAGS,;t t
   6899 s,@STAGE2_CFLAGS@,$STAGE2_CFLAGS,;t t
   6900 s,@GRUB_CFLAGS@,$GRUB_CFLAGS,;t t
   6901 s,@OBJCOPY@,$OBJCOPY,;t t
   6902 s,@ac_ct_OBJCOPY@,$ac_ct_OBJCOPY,;t t
   6903 s,@GRUB_LIBS@,$GRUB_LIBS,;t t
   6904 s,@CPP@,$CPP,;t t
   6905 s,@EGREP@,$EGREP,;t t
   6906 s,@NETBOOT_SUPPORT_TRUE@,$NETBOOT_SUPPORT_TRUE,;t t
   6907 s,@NETBOOT_SUPPORT_FALSE@,$NETBOOT_SUPPORT_FALSE,;t t
   6908 s,@DISKLESS_SUPPORT_TRUE@,$DISKLESS_SUPPORT_TRUE,;t t
   6909 s,@DISKLESS_SUPPORT_FALSE@,$DISKLESS_SUPPORT_FALSE,;t t
   6910 s,@HERCULES_SUPPORT_TRUE@,$HERCULES_SUPPORT_TRUE,;t t
   6911 s,@HERCULES_SUPPORT_FALSE@,$HERCULES_SUPPORT_FALSE,;t t
   6912 s,@SERIAL_SUPPORT_TRUE@,$SERIAL_SUPPORT_TRUE,;t t
   6913 s,@SERIAL_SUPPORT_FALSE@,$SERIAL_SUPPORT_FALSE,;t t
   6914 s,@SERIAL_SPEED_SIMULATION_TRUE@,$SERIAL_SPEED_SIMULATION_TRUE,;t t
   6915 s,@SERIAL_SPEED_SIMULATION_FALSE@,$SERIAL_SPEED_SIMULATION_FALSE,;t t
   6916 s,@BUILD_EXAMPLE_KERNEL_TRUE@,$BUILD_EXAMPLE_KERNEL_TRUE,;t t
   6917 s,@BUILD_EXAMPLE_KERNEL_FALSE@,$BUILD_EXAMPLE_KERNEL_FALSE,;t t
   6918 s,@FSYS_CFLAGS@,$FSYS_CFLAGS,;t t
   6919 s,@NET_CFLAGS@,$NET_CFLAGS,;t t
   6920 s,@NET_EXTRAFLAGS@,$NET_EXTRAFLAGS,;t t
   6921 s,@NETBOOT_DRIVERS@,$NETBOOT_DRIVERS,;t t
   6922 s,@CCASFLAGS@,$CCASFLAGS,;t t
   6923 s,@LIBOBJS@,$LIBOBJS,;t t
   6924 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   6925 CEOF
   6926 
   6927 _ACEOF
   6928 
   6929   cat >>$CONFIG_STATUS <<\_ACEOF
   6930   # Split the substitutions into bite-sized pieces for seds with
   6931   # small command number limits, like on Digital OSF/1 and HP-UX.
   6932   ac_max_sed_lines=48
   6933   ac_sed_frag=1 # Number of current file.
   6934   ac_beg=1 # First line for current file.
   6935   ac_end=$ac_max_sed_lines # Line after last line for current file.
   6936   ac_more_lines=:
   6937   ac_sed_cmds=
   6938   while $ac_more_lines; do
   6939     if test $ac_beg -gt 1; then
   6940       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   6941     else
   6942       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   6943     fi
   6944     if test ! -s $tmp/subs.frag; then
   6945       ac_more_lines=false
   6946     else
   6947       # The purpose of the label and of the branching condition is to
   6948       # speed up the sed processing (if there are no `@' at all, there
   6949       # is no need to browse any of the substitutions).
   6950       # These are the two extra sed commands mentioned above.
   6951       (echo ':t
   6952   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   6953       if test -z "$ac_sed_cmds"; then
   6954 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   6955       else
   6956 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   6957       fi
   6958       ac_sed_frag=`expr $ac_sed_frag + 1`
   6959       ac_beg=$ac_end
   6960       ac_end=`expr $ac_end + $ac_max_sed_lines`
   6961     fi
   6962   done
   6963   if test -z "$ac_sed_cmds"; then
   6964     ac_sed_cmds=cat
   6965   fi
   6966 fi # test -n "$CONFIG_FILES"
   6967 
   6968 _ACEOF
   6969 cat >>$CONFIG_STATUS <<\_ACEOF
   6970 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   6971   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   6972   case $ac_file in
   6973   - | *:- | *:-:* ) # input from stdin
   6974 	cat >$tmp/stdin
   6975 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   6976 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   6977   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   6978 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   6979   * )   ac_file_in=$ac_file.in ;;
   6980   esac
   6981 
   6982   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   6983   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   6984 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6985 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   6986 	 X"$ac_file" : 'X\(//\)$' \| \
   6987 	 X"$ac_file" : 'X\(/\)' \| \
   6988 	 .     : '\(.\)' 2>/dev/null ||
   6989 echo X"$ac_file" |
   6990     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   6991   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   6992   	  /^X\(\/\/\)$/{ s//\1/; q; }
   6993   	  /^X\(\/\).*/{ s//\1/; q; }
   6994   	  s/.*/./; q'`
   6995   { if $as_mkdir_p; then
   6996     mkdir -p "$ac_dir"
   6997   else
   6998     as_dir="$ac_dir"
   6999     as_dirs=
   7000     while test ! -d "$as_dir"; do
   7001       as_dirs="$as_dir $as_dirs"
   7002       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7003 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7004 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7005 	 X"$as_dir" : 'X\(//\)$' \| \
   7006 	 X"$as_dir" : 'X\(/\)' \| \
   7007 	 .     : '\(.\)' 2>/dev/null ||
   7008 echo X"$as_dir" |
   7009     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7010   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7011   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7012   	  /^X\(\/\).*/{ s//\1/; q; }
   7013   	  s/.*/./; q'`
   7014     done
   7015     test ! -n "$as_dirs" || mkdir $as_dirs
   7016   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7017 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7018    { (exit 1); exit 1; }; }; }
   7019 
   7020   ac_builddir=.
   7021 
   7022 if test "$ac_dir" != .; then
   7023   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   7024   # A "../" for each directory in $ac_dir_suffix.
   7025   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   7026 else
   7027   ac_dir_suffix= ac_top_builddir=
   7028 fi
   7029 
   7030 case $srcdir in
   7031   .)  # No --srcdir option.  We are building in place.
   7032     ac_srcdir=.
   7033     if test -z "$ac_top_builddir"; then
   7034        ac_top_srcdir=.
   7035     else
   7036        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   7037     fi ;;
   7038   [\\/]* | ?:[\\/]* )  # Absolute path.
   7039     ac_srcdir=$srcdir$ac_dir_suffix;
   7040     ac_top_srcdir=$srcdir ;;
   7041   *) # Relative path.
   7042     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   7043     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   7044 esac
   7045 
   7046 # Do not use `cd foo && pwd` to compute absolute paths, because
   7047 # the directories may not exist.
   7048 case `pwd` in
   7049 .) ac_abs_builddir="$ac_dir";;
   7050 *)
   7051   case "$ac_dir" in
   7052   .) ac_abs_builddir=`pwd`;;
   7053   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   7054   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   7055   esac;;
   7056 esac
   7057 case $ac_abs_builddir in
   7058 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   7059 *)
   7060   case ${ac_top_builddir}. in
   7061   .) ac_abs_top_builddir=$ac_abs_builddir;;
   7062   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   7063   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   7064   esac;;
   7065 esac
   7066 case $ac_abs_builddir in
   7067 .) ac_abs_srcdir=$ac_srcdir;;
   7068 *)
   7069   case $ac_srcdir in
   7070   .) ac_abs_srcdir=$ac_abs_builddir;;
   7071   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   7072   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   7073   esac;;
   7074 esac
   7075 case $ac_abs_builddir in
   7076 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   7077 *)
   7078   case $ac_top_srcdir in
   7079   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   7080   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   7081   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   7082   esac;;
   7083 esac
   7084 
   7085 
   7086   case $INSTALL in
   7087   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   7088   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   7089   esac
   7090 
   7091   if test x"$ac_file" != x-; then
   7092     { echo "$as_me:$LINENO: creating $ac_file" >&5
   7093 echo "$as_me: creating $ac_file" >&6;}
   7094     rm -f "$ac_file"
   7095   fi
   7096   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7097   # use $as_me), people would be surprised to read:
   7098   #    /* config.h.  Generated by config.status.  */
   7099   if test x"$ac_file" = x-; then
   7100     configure_input=
   7101   else
   7102     configure_input="$ac_file.  "
   7103   fi
   7104   configure_input=$configure_input"Generated from `echo $ac_file_in |
   7105 				     sed 's,.*/,,'` by configure."
   7106 
   7107   # First look for the input files in the build tree, otherwise in the
   7108   # src tree.
   7109   ac_file_inputs=`IFS=:
   7110     for f in $ac_file_in; do
   7111       case $f in
   7112       -) echo $tmp/stdin ;;
   7113       [\\/$]*)
   7114 	 # Absolute (can't be DOS-style, as IFS=:)
   7115 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7116 echo "$as_me: error: cannot find input file: $f" >&2;}
   7117    { (exit 1); exit 1; }; }
   7118 	 echo "$f";;
   7119       *) # Relative
   7120 	 if test -f "$f"; then
   7121 	   # Build tree
   7122 	   echo "$f"
   7123 	 elif test -f "$srcdir/$f"; then
   7124 	   # Source tree
   7125 	   echo "$srcdir/$f"
   7126 	 else
   7127 	   # /dev/null tree
   7128 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7129 echo "$as_me: error: cannot find input file: $f" >&2;}
   7130    { (exit 1); exit 1; }; }
   7131 	 fi;;
   7132       esac
   7133     done` || { (exit 1); exit 1; }
   7134 _ACEOF
   7135 cat >>$CONFIG_STATUS <<_ACEOF
   7136   sed "$ac_vpsub
   7137 $extrasub
   7138 _ACEOF
   7139 cat >>$CONFIG_STATUS <<\_ACEOF
   7140 :t
   7141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   7142 s,@configure_input@,$configure_input,;t t
   7143 s,@srcdir@,$ac_srcdir,;t t
   7144 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   7145 s,@top_srcdir@,$ac_top_srcdir,;t t
   7146 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   7147 s,@builddir@,$ac_builddir,;t t
   7148 s,@abs_builddir@,$ac_abs_builddir,;t t
   7149 s,@top_builddir@,$ac_top_builddir,;t t
   7150 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   7151 s,@INSTALL@,$ac_INSTALL,;t t
   7152 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   7153   rm -f $tmp/stdin
   7154   if test x"$ac_file" != x-; then
   7155     mv $tmp/out $ac_file
   7156   else
   7157     cat $tmp/out
   7158     rm -f $tmp/out
   7159   fi
   7160 
   7161 done
   7162 _ACEOF
   7163 cat >>$CONFIG_STATUS <<\_ACEOF
   7164 
   7165 #
   7166 # CONFIG_HEADER section.
   7167 #
   7168 
   7169 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   7170 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   7171 #
   7172 # ac_d sets the value in "#define NAME VALUE" lines.
   7173 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   7174 ac_dB='[	 ].*$,\1#\2'
   7175 ac_dC=' '
   7176 ac_dD=',;t'
   7177 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   7178 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   7179 ac_uB='$,\1#\2define\3'
   7180 ac_uC=' '
   7181 ac_uD=',;t'
   7182 
   7183 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   7184   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   7185   case $ac_file in
   7186   - | *:- | *:-:* ) # input from stdin
   7187 	cat >$tmp/stdin
   7188 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7189 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7190   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7191 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   7192   * )   ac_file_in=$ac_file.in ;;
   7193   esac
   7194 
   7195   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   7196 echo "$as_me: creating $ac_file" >&6;}
   7197 
   7198   # First look for the input files in the build tree, otherwise in the
   7199   # src tree.
   7200   ac_file_inputs=`IFS=:
   7201     for f in $ac_file_in; do
   7202       case $f in
   7203       -) echo $tmp/stdin ;;
   7204       [\\/$]*)
   7205 	 # Absolute (can't be DOS-style, as IFS=:)
   7206 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7207 echo "$as_me: error: cannot find input file: $f" >&2;}
   7208    { (exit 1); exit 1; }; }
   7209 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   7210 	 echo "$f";;
   7211       *) # Relative
   7212 	 if test -f "$f"; then
   7213 	   # Build tree
   7214 	   echo "$f"
   7215 	 elif test -f "$srcdir/$f"; then
   7216 	   # Source tree
   7217 	   echo "$srcdir/$f"
   7218 	 else
   7219 	   # /dev/null tree
   7220 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   7221 echo "$as_me: error: cannot find input file: $f" >&2;}
   7222    { (exit 1); exit 1; }; }
   7223 	 fi;;
   7224       esac
   7225     done` || { (exit 1); exit 1; }
   7226   # Remove the trailing spaces.
   7227   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   7228 
   7229 _ACEOF
   7230 
   7231 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   7232 # `conftest.undefs', that substitutes the proper values into
   7233 # config.h.in to produce config.h.  The first handles `#define'
   7234 # templates, and the second `#undef' templates.
   7235 # And first: Protect against being on the right side of a sed subst in
   7236 # config.status.  Protect against being in an unquoted here document
   7237 # in config.status.
   7238 rm -f conftest.defines conftest.undefs
   7239 # Using a here document instead of a string reduces the quoting nightmare.
   7240 # Putting comments in sed scripts is not portable.
   7241 #
   7242 # `end' is used to avoid that the second main sed command (meant for
   7243 # 0-ary CPP macros) applies to n-ary macro definitions.
   7244 # See the Autoconf documentation for `clear'.
   7245 cat >confdef2sed.sed <<\_ACEOF
   7246 s/[\\&,]/\\&/g
   7247 s,[\\$`],\\&,g
   7248 t clear
   7249 : clear
   7250 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   7251 t end
   7252 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   7253 : end
   7254 _ACEOF
   7255 # If some macros were called several times there might be several times
   7256 # the same #defines, which is useless.  Nevertheless, we may not want to
   7257 # sort them, since we want the *last* AC-DEFINE to be honored.
   7258 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   7259 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   7260 rm -f confdef2sed.sed
   7261 
   7262 # This sed command replaces #undef with comments.  This is necessary, for
   7263 # example, in the case of _POSIX_SOURCE, which is predefined and required
   7264 # on some systems where configure will not decide to define it.
   7265 cat >>conftest.undefs <<\_ACEOF
   7266 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   7267 _ACEOF
   7268 
   7269 # Break up conftest.defines because some shells have a limit on the size
   7270 # of here documents, and old seds have small limits too (100 cmds).
   7271 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   7272 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   7273 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   7274 echo '  :' >>$CONFIG_STATUS
   7275 rm -f conftest.tail
   7276 while grep . conftest.defines >/dev/null
   7277 do
   7278   # Write a limited-size here document to $tmp/defines.sed.
   7279   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   7280   # Speed up: don't consider the non `#define' lines.
   7281   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   7282   # Work around the forget-to-reset-the-flag bug.
   7283   echo 't clr' >>$CONFIG_STATUS
   7284   echo ': clr' >>$CONFIG_STATUS
   7285   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   7286   echo 'CEOF
   7287   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   7288   rm -f $tmp/in
   7289   mv $tmp/out $tmp/in
   7290 ' >>$CONFIG_STATUS
   7291   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   7292   rm -f conftest.defines
   7293   mv conftest.tail conftest.defines
   7294 done
   7295 rm -f conftest.defines
   7296 echo '  fi # grep' >>$CONFIG_STATUS
   7297 echo >>$CONFIG_STATUS
   7298 
   7299 # Break up conftest.undefs because some shells have a limit on the size
   7300 # of here documents, and old seds have small limits too (100 cmds).
   7301 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   7302 rm -f conftest.tail
   7303 while grep . conftest.undefs >/dev/null
   7304 do
   7305   # Write a limited-size here document to $tmp/undefs.sed.
   7306   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   7307   # Speed up: don't consider the non `#undef'
   7308   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   7309   # Work around the forget-to-reset-the-flag bug.
   7310   echo 't clr' >>$CONFIG_STATUS
   7311   echo ': clr' >>$CONFIG_STATUS
   7312   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   7313   echo 'CEOF
   7314   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   7315   rm -f $tmp/in
   7316   mv $tmp/out $tmp/in
   7317 ' >>$CONFIG_STATUS
   7318   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   7319   rm -f conftest.undefs
   7320   mv conftest.tail conftest.undefs
   7321 done
   7322 rm -f conftest.undefs
   7323 
   7324 cat >>$CONFIG_STATUS <<\_ACEOF
   7325   # Let's still pretend it is `configure' which instantiates (i.e., don't
   7326   # use $as_me), people would be surprised to read:
   7327   #    /* config.h.  Generated by config.status.  */
   7328   if test x"$ac_file" = x-; then
   7329     echo "/* Generated by configure.  */" >$tmp/config.h
   7330   else
   7331     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   7332   fi
   7333   cat $tmp/in >>$tmp/config.h
   7334   rm -f $tmp/in
   7335   if test x"$ac_file" != x-; then
   7336     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   7337       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   7338 echo "$as_me: $ac_file is unchanged" >&6;}
   7339     else
   7340       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   7341 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7342 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   7343 	 X"$ac_file" : 'X\(//\)$' \| \
   7344 	 X"$ac_file" : 'X\(/\)' \| \
   7345 	 .     : '\(.\)' 2>/dev/null ||
   7346 echo X"$ac_file" |
   7347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7348   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7349   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7350   	  /^X\(\/\).*/{ s//\1/; q; }
   7351   	  s/.*/./; q'`
   7352       { if $as_mkdir_p; then
   7353     mkdir -p "$ac_dir"
   7354   else
   7355     as_dir="$ac_dir"
   7356     as_dirs=
   7357     while test ! -d "$as_dir"; do
   7358       as_dirs="$as_dir $as_dirs"
   7359       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7361 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7362 	 X"$as_dir" : 'X\(//\)$' \| \
   7363 	 X"$as_dir" : 'X\(/\)' \| \
   7364 	 .     : '\(.\)' 2>/dev/null ||
   7365 echo X"$as_dir" |
   7366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7367   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7368   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7369   	  /^X\(\/\).*/{ s//\1/; q; }
   7370   	  s/.*/./; q'`
   7371     done
   7372     test ! -n "$as_dirs" || mkdir $as_dirs
   7373   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7374 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7375    { (exit 1); exit 1; }; }; }
   7376 
   7377       rm -f $ac_file
   7378       mv $tmp/config.h $ac_file
   7379     fi
   7380   else
   7381     cat $tmp/config.h
   7382     rm -f $tmp/config.h
   7383   fi
   7384 # Compute $ac_file's index in $config_headers.
   7385 _am_stamp_count=1
   7386 for _am_header in $config_headers :; do
   7387   case $_am_header in
   7388     $ac_file | $ac_file:* )
   7389       break ;;
   7390     * )
   7391       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   7392   esac
   7393 done
   7394 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   7395 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7396 	 X$ac_file : 'X\(//\)[^/]' \| \
   7397 	 X$ac_file : 'X\(//\)$' \| \
   7398 	 X$ac_file : 'X\(/\)' \| \
   7399 	 .     : '\(.\)' 2>/dev/null ||
   7400 echo X$ac_file |
   7401     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7402   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7403   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7404   	  /^X\(\/\).*/{ s//\1/; q; }
   7405   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   7406 done
   7407 _ACEOF
   7408 cat >>$CONFIG_STATUS <<\_ACEOF
   7409 
   7410 #
   7411 # CONFIG_COMMANDS section.
   7412 #
   7413 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   7414   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   7415   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   7416   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   7417 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7418 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   7419 	 X"$ac_dest" : 'X\(//\)$' \| \
   7420 	 X"$ac_dest" : 'X\(/\)' \| \
   7421 	 .     : '\(.\)' 2>/dev/null ||
   7422 echo X"$ac_dest" |
   7423     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7424   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7425   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7426   	  /^X\(\/\).*/{ s//\1/; q; }
   7427   	  s/.*/./; q'`
   7428   { if $as_mkdir_p; then
   7429     mkdir -p "$ac_dir"
   7430   else
   7431     as_dir="$ac_dir"
   7432     as_dirs=
   7433     while test ! -d "$as_dir"; do
   7434       as_dirs="$as_dir $as_dirs"
   7435       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7437 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7438 	 X"$as_dir" : 'X\(//\)$' \| \
   7439 	 X"$as_dir" : 'X\(/\)' \| \
   7440 	 .     : '\(.\)' 2>/dev/null ||
   7441 echo X"$as_dir" |
   7442     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7443   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7444   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7445   	  /^X\(\/\).*/{ s//\1/; q; }
   7446   	  s/.*/./; q'`
   7447     done
   7448     test ! -n "$as_dirs" || mkdir $as_dirs
   7449   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   7450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   7451    { (exit 1); exit 1; }; }; }
   7452 
   7453   ac_builddir=.
   7454 
   7455 if test "$ac_dir" != .; then
   7456   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   7457   # A "../" for each directory in $ac_dir_suffix.
   7458   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   7459 else
   7460   ac_dir_suffix= ac_top_builddir=
   7461 fi
   7462 
   7463 case $srcdir in
   7464   .)  # No --srcdir option.  We are building in place.
   7465     ac_srcdir=.
   7466     if test -z "$ac_top_builddir"; then
   7467        ac_top_srcdir=.
   7468     else
   7469        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   7470     fi ;;
   7471   [\\/]* | ?:[\\/]* )  # Absolute path.
   7472     ac_srcdir=$srcdir$ac_dir_suffix;
   7473     ac_top_srcdir=$srcdir ;;
   7474   *) # Relative path.
   7475     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   7476     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   7477 esac
   7478 
   7479 # Do not use `cd foo && pwd` to compute absolute paths, because
   7480 # the directories may not exist.
   7481 case `pwd` in
   7482 .) ac_abs_builddir="$ac_dir";;
   7483 *)
   7484   case "$ac_dir" in
   7485   .) ac_abs_builddir=`pwd`;;
   7486   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   7487   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   7488   esac;;
   7489 esac
   7490 case $ac_abs_builddir in
   7491 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   7492 *)
   7493   case ${ac_top_builddir}. in
   7494   .) ac_abs_top_builddir=$ac_abs_builddir;;
   7495   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   7496   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   7497   esac;;
   7498 esac
   7499 case $ac_abs_builddir in
   7500 .) ac_abs_srcdir=$ac_srcdir;;
   7501 *)
   7502   case $ac_srcdir in
   7503   .) ac_abs_srcdir=$ac_abs_builddir;;
   7504   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   7505   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   7506   esac;;
   7507 esac
   7508 case $ac_abs_builddir in
   7509 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   7510 *)
   7511   case $ac_top_srcdir in
   7512   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   7513   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   7514   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   7515   esac;;
   7516 esac
   7517 
   7518 
   7519   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   7520 echo "$as_me: executing $ac_dest commands" >&6;}
   7521   case $ac_dest in
   7522     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   7523   # Strip MF so we end up with the name of the file.
   7524   mf=`echo "$mf" | sed -e 's/:.*$//'`
   7525   # Check whether this is an Automake generated Makefile or not.
   7526   # We used to match only the files named `Makefile.in', but
   7527   # some people rename them; so instead we look at the file content.
   7528   # Grep'ing the first line is not enough: some people post-process
   7529   # each Makefile.in and add a new line on top of each file to say so.
   7530   # So let's grep whole file.
   7531   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   7532     dirpart=`(dirname "$mf") 2>/dev/null ||
   7533 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7534 	 X"$mf" : 'X\(//\)[^/]' \| \
   7535 	 X"$mf" : 'X\(//\)$' \| \
   7536 	 X"$mf" : 'X\(/\)' \| \
   7537 	 .     : '\(.\)' 2>/dev/null ||
   7538 echo X"$mf" |
   7539     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7540   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7541   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7542   	  /^X\(\/\).*/{ s//\1/; q; }
   7543   	  s/.*/./; q'`
   7544   else
   7545     continue
   7546   fi
   7547   # Extract the definition of DEPDIR, am__include, and am__quote
   7548   # from the Makefile without running `make'.
   7549   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   7550   test -z "$DEPDIR" && continue
   7551   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   7552   test -z "am__include" && continue
   7553   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   7554   # When using ansi2knr, U may be empty or an underscore; expand it
   7555   U=`sed -n 's/^U = //p' < "$mf"`
   7556   # Find all dependency output files, they are included files with
   7557   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   7558   # simplest approach to changing $(DEPDIR) to its actual value in the
   7559   # expansion.
   7560   for file in `sed -n "
   7561     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   7562        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   7563     # Make sure the directory exists.
   7564     test -f "$dirpart/$file" && continue
   7565     fdir=`(dirname "$file") 2>/dev/null ||
   7566 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7567 	 X"$file" : 'X\(//\)[^/]' \| \
   7568 	 X"$file" : 'X\(//\)$' \| \
   7569 	 X"$file" : 'X\(/\)' \| \
   7570 	 .     : '\(.\)' 2>/dev/null ||
   7571 echo X"$file" |
   7572     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7573   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7574   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7575   	  /^X\(\/\).*/{ s//\1/; q; }
   7576   	  s/.*/./; q'`
   7577     { if $as_mkdir_p; then
   7578     mkdir -p $dirpart/$fdir
   7579   else
   7580     as_dir=$dirpart/$fdir
   7581     as_dirs=
   7582     while test ! -d "$as_dir"; do
   7583       as_dirs="$as_dir $as_dirs"
   7584       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   7585 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   7586 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   7587 	 X"$as_dir" : 'X\(//\)$' \| \
   7588 	 X"$as_dir" : 'X\(/\)' \| \
   7589 	 .     : '\(.\)' 2>/dev/null ||
   7590 echo X"$as_dir" |
   7591     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   7592   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   7593   	  /^X\(\/\/\)$/{ s//\1/; q; }
   7594   	  /^X\(\/\).*/{ s//\1/; q; }
   7595   	  s/.*/./; q'`
   7596     done
   7597     test ! -n "$as_dirs" || mkdir $as_dirs
   7598   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   7599 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   7600    { (exit 1); exit 1; }; }; }
   7601 
   7602     # echo "creating $dirpart/$file"
   7603     echo '# dummy' > "$dirpart/$file"
   7604   done
   7605 done
   7606  ;;
   7607   esac
   7608 done
   7609 _ACEOF
   7610 
   7611 cat >>$CONFIG_STATUS <<\_ACEOF
   7612 
   7613 { (exit 0); exit 0; }
   7614 _ACEOF
   7615 chmod +x $CONFIG_STATUS
   7616 ac_clean_files=$ac_clean_files_save
   7617 
   7618 
   7619 # configure is writing to config.log, and then calls config.status.
   7620 # config.status does its own redirection, appending to config.log.
   7621 # Unfortunately, on DOS this fails, as config.log is still kept open
   7622 # by configure, so config.status won't be able to write to it; its
   7623 # output is simply discarded.  So we exec the FD to /dev/null,
   7624 # effectively closing config.log, so it can be properly (re)opened and
   7625 # appended to by config.status.  When coming back to configure, we
   7626 # need to make the FD available again.
   7627 if test "$no_create" != yes; then
   7628   ac_cs_success=:
   7629   ac_config_status_args=
   7630   test "$silent" = yes &&
   7631     ac_config_status_args="$ac_config_status_args --quiet"
   7632   exec 5>/dev/null
   7633   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   7634   exec 5>>config.log
   7635   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   7636   # would make configure fail if this is the last instruction.
   7637   $ac_cs_success || { (exit 1); exit 1; }
   7638 fi
   7639 
   7640