2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GRUB 0.97.
5 # Report bugs to <bug-grub@gnu.org>.
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 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
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
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
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 \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
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
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
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
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
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; }; }
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).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe 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
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
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'"
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'"
237 # We need space, tab and new line, in precisely that order.
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`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
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}
269 # Identity of this package.
271 PACKAGE_TARNAME
='grub'
272 PACKAGE_VERSION
='0.97'
273 PACKAGE_STRING
='GRUB 0.97'
274 PACKAGE_BUGREPORT
='bug-grub@gnu.org'
276 ac_unique_file
="stage2/stage2.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
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'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
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'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
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 ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
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" ;;
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'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
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
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
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 ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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 ;;
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 ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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 ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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 ;;
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 ;;
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 ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
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 ;;
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 ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
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'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
611 # Obsolete; use --with-x.
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 ;;
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 ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
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'"
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}
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; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
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
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
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.
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
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
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 ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
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; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
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}
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
777 # Report the --help message.
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.
783 \`configure' configures GRUB 0.97 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
790 Defaults for the options are specified in brackets.
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 \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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'.
817 For better control, use the options below.
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]
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
842 --build=BUILD configure
for building on BUILD
[guessed
]
843 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
847 if test -n "$ac_init_help"; then
848 case $ac_init_help in
849 short | recursive
) echo "Configuration of GRUB 0.97:";;
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-affs disable AFFS support
in Stage
2
871 --disable-gunzip disable decompression
in Stage
2
872 --disable-md5-password disable MD5 password support
in Stage
2
873 --disable-packet-retransmission
874 turn off packet retransmission
875 --enable-pci-direct access PCI directly instead of using BIOS
876 --enable-3c509 enable 3Com509 driver
877 --enable-3c529 enable 3Com529 driver
878 --enable-3c595 enable 3Com595 driver
879 --enable-3c90x enable 3Com90x driver
880 --enable-cs89x0 enable CS89x0 driver
881 --enable-davicom enable Davicom driver
882 --enable-depca enable DEPCA and EtherWORKS driver
883 --enable-eepro enable Etherexpress Pro
/10 driver
884 --enable-eepro100 enable Etherexpress Pro
/100 driver
885 --enable-epic100 enable SMC
83c170 EPIC
/100 driver
886 --enable-3c507 enable 3Com507 driver
887 --enable-exos205 enable EXOS205 driver
888 --enable-ni5210 enable Racal-Interlan NI5210 driver
889 --enable-lance enable Lance PCI PCNet
/32 driver
890 --enable-ne2100 enable Novell NE2100 driver
891 --enable-ni6510 enable Racal-Interlan NI6510 driver
892 --enable-natsemi enable NatSemi DP8381x driver
893 --enable-ni5010 enable Racal-Interlan NI5010 driver
894 --enable-3c503 enable 3Com503 driver
895 --enable-ne enable NE1000
/2000 ISA driver
896 --enable-ns8390 enable NE2000 PCI driver
897 --enable-wd enable WD8003
/8013, SMC8216
/8416 driver
898 --enable-otulip enable old Tulip driver
899 --enable-rtl8139 enable Realtek
8139 driver
900 --enable-sis900 enable SIS
900 and SIS
7016 driver
901 --enable-sk-g16 enable Schneider and Koch G16 driver
902 --enable-smc9000 enable SMC9000 driver
903 --enable-tiara enable Tiara driver
904 --enable-tulip enable Tulip driver
905 --enable-via-rhine enable Rhine-I
/II driver
906 --enable-w89c840 enable Winbond W89c840
, Compex RL100-ATX driver
907 --enable-3c503-shmem use
3c503 shared memory mode
908 --enable-3c503-aui use AUI by default on
3c503 cards
909 --enable-compex-rl2000-fix
910 specify this
if you have a Compex RL2000 PCI
911 --enable-smc9000-scan=LIST
912 probe
for SMC9000 I
/O addresses using LIST
913 --enable-ne-scan=LIST probe
for NE base address using LIST
914 --enable-wd-default-mem=MEM
915 set the default memory location
for WD
/SMC
916 --enable-cs-scan=LIST probe
for CS89x0 base address using LIST
917 --enable-diskless enable diskless support
918 --disable-hercules disable hercules terminal support
919 --disable-serial disable serial terminal support
920 --enable-serial-speed-simulation
921 simulate the slowness of a serial device
922 --enable-preset-menu=FILE
923 preset a menu
file FILE
in Stage
2
924 --enable-example-kernel
925 build the example Multiboot kernel
926 --disable-auto-linux-mem-opt
927 don
't pass Linux mem= option automatically
930 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
931 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
932 --with-binutils=DIR search the directory DIR to find binutils
933 --without-curses do not use curses
935 Some influential environment variables:
936 CC C compiler command
937 CFLAGS C compiler flags
938 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
939 nonstandard directory <lib dir>
940 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
941 headers in a nonstandard directory <include dir>
944 Use these variables to override the choices made by `configure' or to
help
945 it to
find libraries and programs with nonstandard names
/locations.
947 Report bugs to
<bug-grub@gnu.org
>.
951 if test "$ac_init_help" = "recursive"; then
952 # If there are subdirs, report their specific --help.
954 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
955 test -d $ac_dir ||
continue
958 if test "$ac_dir" != .
; then
959 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
960 # A "../" for each directory in $ac_dir_suffix.
961 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
963 ac_dir_suffix
= ac_top_builddir
=
967 .
) # No --srcdir option. We are building in place.
969 if test -z "$ac_top_builddir"; then
972 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
974 [\\/]* | ?
:[\\/]* ) # Absolute path.
975 ac_srcdir
=$srcdir$ac_dir_suffix;
976 ac_top_srcdir
=$srcdir ;;
978 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
979 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
982 # Do not use `cd foo && pwd` to compute absolute paths, because
983 # the directories may not exist.
985 .
) ac_abs_builddir
="$ac_dir";;
988 .
) ac_abs_builddir
=`pwd`;;
989 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
990 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
993 case $ac_abs_builddir in
994 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
996 case ${ac_top_builddir}.
in
997 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
998 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
999 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1002 case $ac_abs_builddir in
1003 .
) ac_abs_srcdir
=$ac_srcdir;;
1006 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1007 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1008 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1011 case $ac_abs_builddir in
1012 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1014 case $ac_top_srcdir in
1015 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1016 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1017 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1022 # Check for guested configure; otherwise get Cygnus style configure.
1023 if test -f $ac_srcdir/configure.gnu
; then
1025 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1026 elif test -f $ac_srcdir/configure
; then
1028 $SHELL $ac_srcdir/configure
--help=recursive
1029 elif test -f $ac_srcdir/configure.ac ||
1030 test -f $ac_srcdir/configure.
in; then
1032 $ac_configure --help
1034 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1040 test -n "$ac_init_help" && exit 0
1041 if $ac_init_version; then
1044 generated by GNU Autoconf
2.59
1046 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1047 This configure
script is free software
; the Free Software Foundation
1048 gives unlimited permission to copy
, distribute and modify it.
1054 This file contains any messages produced by compilers while
1055 running configure, to aid debugging if configure makes a mistake.
1057 It was created by GRUB $as_me 0.97, which was
1058 generated by GNU Autoconf 2.59. Invocation command line was
1069 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1070 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1071 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1072 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1073 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1075 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1076 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1078 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1079 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1080 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1081 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1082 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1083 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1084 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1092 test -z "$as_dir" && as_dir
=.
1093 echo "PATH: $as_dir"
1108 # Keep a trace of the command line.
1109 # Strip out --no-create and --no-recursion so they do not pile up.
1110 # Strip out --silent because we don't want to record it for future runs.
1111 # Also quote any args containing shell meta-characters.
1112 # Make two passes to allow for proper duplicate-argument suppression.
1117 ac_must_keep_next
=false
1123 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1124 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1125 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1128 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1131 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1133 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1134 if test $ac_must_keep_next = true
; then
1135 ac_must_keep_next
=false
# Got value, back to normal.
1138 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1139 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1140 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1141 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1142 case "$ac_configure_args0 " in
1143 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1146 -* ) ac_must_keep_next
=true
;;
1149 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1150 # Get rid of the leading space.
1156 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1157 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1159 # When interrupted or exit'd, cleanup temporary files, and complete
1160 # config.log. We remove comments because anyway the quotes in there
1161 # would cause problems or look ugly.
1162 # WARNING: Be sure not to use single quotes in there, as some shells,
1163 # such as our DU 5.0 friend, will then `close' the trap.
1164 trap 'exit_status=$?
1165 # Save into config.log some information that might help in debugging.
1170 ## ---------------- ##
1171 ## Cache variables. ##
1172 ## ---------------- ##
1175 # The following way of writing the cache mishandles newlines in values,
1178 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1181 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1182 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1186 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1193 ## ----------------- ##
1194 ## Output variables. ##
1195 ## ----------------- ##
1198 for ac_var in $ac_subst_vars
1200 eval ac_val=$`echo $ac_var`
1201 echo "$ac_var='"'"'$ac_val'"'"'"
1205 if test -n "$ac_subst_files"; then
1212 for ac_var in $ac_subst_files
1214 eval ac_val=$`echo $ac_var`
1215 echo "$ac_var='"'"'$ac_val'"'"'"
1220 if test -s confdefs.h; then
1227 sed "/^$/d" confdefs.h | sort
1230 test "$ac_signal" != 0 &&
1231 echo "$as_me: caught signal $ac_signal"
1232 echo "$as_me: exit $exit_status"
1234 rm -f core *.core &&
1235 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1238 for ac_signal
in 1 2 13 15; do
1239 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1243 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1244 rm -rf conftest
* confdefs.h
1245 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1248 # Predefined preprocessor variables.
1250 cat >>confdefs.h
<<_ACEOF
1251 #define PACKAGE_NAME "$PACKAGE_NAME"
1255 cat >>confdefs.h
<<_ACEOF
1256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1260 cat >>confdefs.h
<<_ACEOF
1261 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1265 cat >>confdefs.h
<<_ACEOF
1266 #define PACKAGE_STRING "$PACKAGE_STRING"
1270 cat >>confdefs.h
<<_ACEOF
1271 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1275 # Let the site file select an alternate cache file if it wants to.
1276 # Prefer explicitly selected file to automatically selected ones.
1277 if test -z "$CONFIG_SITE"; then
1278 if test "x$prefix" != xNONE
; then
1279 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1281 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1284 for ac_site_file
in $CONFIG_SITE; do
1285 if test -r "$ac_site_file"; then
1286 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1287 echo "$as_me: loading site script $ac_site_file" >&6;}
1288 sed 's/^/| /' "$ac_site_file" >&5
1293 if test -r "$cache_file"; then
1294 # Some versions of bash will fail to source /dev/null (special
1295 # files actually), so we avoid doing that.
1296 if test -f "$cache_file"; then
1297 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1298 echo "$as_me: loading cache $cache_file" >&6;}
1300 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1301 *) . .
/$cache_file;;
1305 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1306 echo "$as_me: creating cache $cache_file" >&6;}
1310 # Check that the precious variables saved in the cache have kept the same
1312 ac_cache_corrupted
=false
1313 for ac_var
in `(set) 2>&1 |
1314 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1315 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1316 eval ac_new_set
=\
$ac_env_${ac_var}_set
1317 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1318 eval ac_new_val
="\$ac_env_${ac_var}_value"
1319 case $ac_old_set,$ac_new_set in
1321 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1322 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1323 ac_cache_corrupted
=: ;;
1325 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1326 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1327 ac_cache_corrupted
=: ;;
1330 if test "x$ac_old_val" != "x$ac_new_val"; then
1331 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1332 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1333 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1334 echo "$as_me: former value: $ac_old_val" >&2;}
1335 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1336 echo "$as_me: current value: $ac_new_val" >&2;}
1337 ac_cache_corrupted
=:
1340 # Pass precious variables to config.status.
1341 if test "$ac_new_set" = set; then
1343 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1344 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1345 *) ac_arg
=$ac_var=$ac_new_val ;;
1347 case " $ac_configure_args " in
1348 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1349 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1353 if $ac_cache_corrupted; then
1354 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1355 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1356 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1357 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1358 { (exit 1); exit 1; }; }
1362 ac_cpp
='$CPP $CPPFLAGS'
1363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1394 ac_config_headers
="$ac_config_headers config.h"
1396 am__api_version
="1.9"
1398 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1399 if test -f $ac_dir/install-sh
; then
1401 ac_install_sh
="$ac_aux_dir/install-sh -c"
1403 elif test -f $ac_dir/install.sh
; then
1405 ac_install_sh
="$ac_aux_dir/install.sh -c"
1407 elif test -f $ac_dir/shtool
; then
1409 ac_install_sh
="$ac_aux_dir/shtool install -c"
1413 if test -z "$ac_aux_dir"; then
1414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1415 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1416 { (exit 1); exit 1; }; }
1418 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1419 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1420 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1422 # Find a good install program. We prefer a C program (faster),
1423 # so one script is as good as another. But avoid the broken or
1424 # incompatible versions:
1425 # SysV /etc/install, /usr/sbin/install
1426 # SunOS /usr/etc/install
1427 # IRIX /sbin/install
1429 # AmigaOS /C/install, which installs bootblocks on floppy discs
1430 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1431 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1432 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1433 # OS/2's system install, which has a completely different semantic
1434 # ./install, which can be erroneously created by make from ./install.sh.
1435 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1436 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1437 if test -z "$INSTALL"; then
1438 if test "${ac_cv_path_install+set}" = set; then
1439 echo $ECHO_N "(cached) $ECHO_C" >&6
1441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir
=.
1446 # Account for people who put trailing slashes in PATH elements.
1448 .
/ | .
// |
/cC
/* | \
1449 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1450 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1453 # OSF1 and SCO ODT 3.0 have their own names for install.
1454 # Don't use installbsd from OSF since it installs stuff as root
1456 for ac_prog
in ginstall scoinst
install; do
1457 for ac_exec_ext
in '' $ac_executable_extensions; do
1458 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1459 if test $ac_prog = install &&
1460 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1461 # AIX install. It has an incompatible calling convention.
1463 elif test $ac_prog = install &&
1464 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1465 # program-specific install script used by HP pwplus--don't use.
1468 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1480 if test "${ac_cv_path_install+set}" = set; then
1481 INSTALL
=$ac_cv_path_install
1483 # As a last resort, use the slow shell script. We don't cache a
1484 # path for INSTALL within a source directory, because that will
1485 # break other packages using the cache if that directory is
1486 # removed, or if the path is relative.
1487 INSTALL
=$ac_install_sh
1490 echo "$as_me:$LINENO: result: $INSTALL" >&5
1491 echo "${ECHO_T}$INSTALL" >&6
1493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1494 # It thinks the first close brace ends the variable substitution.
1495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1499 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1501 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1502 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1505 echo timestamp
> conftest.
file
1506 # Do `set' in a subshell so we don't clobber the current shell's
1507 # arguments. Must try -L first in case configure is actually a
1508 # symlink; some systems play weird games with the mod time of symlinks
1509 # (eg FreeBSD returns the mod time of the symlink's containing
1512 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1513 if test "$*" = "X"; then
1515 set X
`ls -t $srcdir/configure conftest.file`
1518 if test "$*" != "X $srcdir/configure conftest.file" \
1519 && test "$*" != "X conftest.file $srcdir/configure"; then
1521 # If neither matched, then we have a broken ls. This can happen
1522 # if, for instance, CONFIG_SHELL is bash and it inherits a
1523 # broken ls alias from the environment. This has actually
1524 # happened. Such a system could not be considered "sane".
1525 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1526 alias in your environment" >&5
1527 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1528 alias in your environment" >&2;}
1529 { (exit 1); exit 1; }; }
1532 test "$2" = conftest.
file
1538 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1539 Check your system clock" >&5
1540 echo "$as_me: error: newly created file is older than distributed files!
1541 Check your system clock" >&2;}
1542 { (exit 1); exit 1; }; }
1544 echo "$as_me:$LINENO: result: yes" >&5
1545 echo "${ECHO_T}yes" >&6
1546 test "$program_prefix" != NONE
&&
1547 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1548 # Use a double $ so make ignores it.
1549 test "$program_suffix" != NONE
&&
1550 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1551 # Double any \ or $. echo might interpret backslashes.
1552 # By default was `s,x,x', remove it if useless.
1553 cat <<\_ACEOF
>conftest.
sed
1554 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1556 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1559 # expand $ac_aux_dir to an absolute path
1560 am_aux_dir
=`cd $ac_aux_dir && pwd`
1562 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1563 # Use eval to expand $SHELL
1564 if eval "$MISSING --run true"; then
1565 am_missing_run
="$MISSING --run "
1568 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1569 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1572 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1573 # We used to keeping the `.' as first argument, in order to
1574 # allow $(mkdir_p) to be used without argument. As in
1575 # $(mkdir_p) $(somedir)
1576 # where $(somedir) is conditionally defined. However this is wrong
1578 # 1. if the package is installed by a user who cannot write `.'
1579 # make install will fail,
1580 # 2. the above comment should most certainly read
1581 # $(mkdir_p) $(DESTDIR)$(somedir)
1582 # so it does not work when $(somedir) is undefined and
1583 # $(DESTDIR) is not.
1584 # To support the latter case, we have to write
1585 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1586 # so the `.' trick is pointless.
1587 mkdir_p
='mkdir -p --'
1589 # On NextStep and OpenStep, the `mkdir' command does not
1590 # recognize any option. It will interpret all options as
1591 # directories to create, and then abort because `.' already
1593 for d
in .
/-p .
/--version;
1595 test -d $d && rmdir $d
1597 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1598 if test -f "$ac_aux_dir/mkinstalldirs"; then
1599 mkdir_p
='$(mkinstalldirs)'
1601 mkdir_p
='$(install_sh) -d'
1605 for ac_prog
in gawk mawk nawk
awk
1607 # Extract the first word of "$ac_prog", so it can be a program name with args.
1608 set dummy
$ac_prog; ac_word
=$2
1609 echo "$as_me:$LINENO: checking for $ac_word" >&5
1610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1611 if test "${ac_cv_prog_AWK+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 if test -n "$AWK"; then
1615 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir
=.
1622 for ac_exec_ext
in '' $ac_executable_extensions; do
1623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1624 ac_cv_prog_AWK
="$ac_prog"
1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 if test -n "$AWK"; then
1635 echo "$as_me:$LINENO: result: $AWK" >&5
1636 echo "${ECHO_T}$AWK" >&6
1638 echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6
1642 test -n "$AWK" && break
1645 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1646 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1647 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1648 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 cat >conftest.
make <<\_ACEOF
1653 @
echo 'ac_maketemp="$(MAKE)"'
1655 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1656 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1657 if test -n "$ac_maketemp"; then
1658 eval ac_cv_prog_make_
${ac_make}_set
=yes
1660 eval ac_cv_prog_make_
${ac_make}_set
=no
1664 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1665 echo "$as_me:$LINENO: result: yes" >&5
1666 echo "${ECHO_T}yes" >&6
1669 echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1671 SET_MAKE
="MAKE=${MAKE-make}"
1674 rm -rf .tst
2>/dev
/null
1675 mkdir .tst
2>/dev
/null
1676 if test -d .tst
; then
1681 rmdir .tst
2>/dev
/null
1683 # test to see if srcdir already configured
1684 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1685 test -f $srcdir/config.status
; then
1686 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1687 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1688 { (exit 1); exit 1; }; }
1691 # test whether we have cygpath
1692 if test -z "$CYGPATH_W"; then
1693 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1694 CYGPATH_W
='cygpath -w'
1701 # Define the identity of the package.
1706 cat >>confdefs.h
<<_ACEOF
1707 #define PACKAGE "$PACKAGE"
1711 cat >>confdefs.h
<<_ACEOF
1712 #define VERSION "$VERSION"
1715 # Some tools Automake needs.
1717 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1720 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1723 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1726 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1729 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1731 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1733 # Installed binaries are usually stripped using `strip' when the user
1734 # run `make install-strip'. However `strip' might not be the right
1735 # tool to use in cross-compilation environments, therefore Automake
1736 # will honor the `STRIP' environment variable to overrule this program.
1737 if test "$cross_compiling" != no
; then
1738 if test -n "$ac_tool_prefix"; then
1739 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1740 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_STRIP+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$STRIP"; then
1747 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1753 test -z "$as_dir" && as_dir
=.
1754 for ac_exec_ext
in '' $ac_executable_extensions; do
1755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1756 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 STRIP
=$ac_cv_prog_STRIP
1766 if test -n "$STRIP"; then
1767 echo "$as_me:$LINENO: result: $STRIP" >&5
1768 echo "${ECHO_T}$STRIP" >&6
1770 echo "$as_me:$LINENO: result: no" >&5
1771 echo "${ECHO_T}no" >&6
1775 if test -z "$ac_cv_prog_STRIP"; then
1777 # Extract the first word of "strip", so it can be a program name with args.
1778 set dummy strip
; ac_word
=$2
1779 echo "$as_me:$LINENO: checking for $ac_word" >&5
1780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1781 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1782 echo $ECHO_N "(cached) $ECHO_C" >&6
1784 if test -n "$ac_ct_STRIP"; then
1785 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir
=.
1792 for ac_exec_ext
in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1794 ac_cv_prog_ac_ct_STRIP
="strip"
1795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1804 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1805 if test -n "$ac_ct_STRIP"; then
1806 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1807 echo "${ECHO_T}$ac_ct_STRIP" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1815 STRIP
="$ac_cv_prog_STRIP"
1819 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1821 # We need awk for the "check" target. The system "awk" is bad on
1823 # Always define AMTAR for backward compatibility.
1825 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1827 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1834 # Make sure we can run config.sub.
1835 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1836 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1837 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1838 { (exit 1); exit 1; }; }
1840 echo "$as_me:$LINENO: checking build system type" >&5
1841 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1842 if test "${ac_cv_build+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 ac_cv_build_alias
=$build_alias
1846 test -z "$ac_cv_build_alias" &&
1847 ac_cv_build_alias
=`$ac_config_guess`
1848 test -z "$ac_cv_build_alias" &&
1849 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1850 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1851 { (exit 1); exit 1; }; }
1852 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1853 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1854 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1855 { (exit 1); exit 1; }; }
1858 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1859 echo "${ECHO_T}$ac_cv_build" >&6
1861 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1862 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1863 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1866 echo "$as_me:$LINENO: checking host system type" >&5
1867 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1868 if test "${ac_cv_host+set}" = set; then
1869 echo $ECHO_N "(cached) $ECHO_C" >&6
1871 ac_cv_host_alias
=$host_alias
1872 test -z "$ac_cv_host_alias" &&
1873 ac_cv_host_alias
=$ac_cv_build_alias
1874 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1875 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1876 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1877 { (exit 1); exit 1; }; }
1880 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1881 echo "${ECHO_T}$ac_cv_host" >&6
1883 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1884 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1885 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1890 i
[3456]86) host_cpu
=i386
;;
1891 x86_64
) host_cpu
=x86_64
;;
1892 *) { { echo "$as_me:$LINENO: error: unsupported CPU type" >&5
1893 echo "$as_me: error: unsupported CPU type" >&2;}
1894 { (exit 1); exit 1; }; } ;;
1904 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1905 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1906 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1907 if test "${enable_maintainer_mode+set}" = set; then
1908 enableval
="$enable_maintainer_mode"
1909 USE_MAINTAINER_MODE
=$enableval
1911 USE_MAINTAINER_MODE
=no
1913 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1914 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1917 if test $USE_MAINTAINER_MODE = yes; then
1918 MAINTAINER_MODE_TRUE
=
1919 MAINTAINER_MODE_FALSE
='#'
1921 MAINTAINER_MODE_TRUE
='#'
1922 MAINTAINER_MODE_FALSE
=
1925 MAINT
=$MAINTAINER_MODE_TRUE
1928 if test "x$enable_maintainer_mode" = xyes
; then
1929 # Extract the first word of "perl", so it can be a program name with args.
1930 set dummy perl
; ac_word
=$2
1931 echo "$as_me:$LINENO: checking for $ac_word" >&5
1932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1933 if test "${ac_cv_path_PERL+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1938 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
1941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1945 test -z "$as_dir" && as_dir
=.
1946 for ac_exec_ext
in '' $ac_executable_extensions; do
1947 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1948 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
1949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 PERL
=$ac_cv_path_PERL
1960 if test -n "$PERL"; then
1961 echo "$as_me:$LINENO: result: $PERL" >&5
1962 echo "${ECHO_T}$PERL" >&6
1964 echo "$as_me:$LINENO: result: no" >&5
1965 echo "${ECHO_T}no" >&6
1968 if test -z "$PERL"; then
1969 { { echo "$as_me:$LINENO: error: perl not found" >&5
1970 echo "$as_me: error: perl not found" >&2;}
1971 { (exit 1); exit 1; }; }
1975 # This should be checked before AC_PROG_CC
1976 if test "x$CFLAGS" = x
; then
1980 if test "x$host_cpu" = xx86_64
; then
1981 CFLAGS
="-m32 $CFLAGS"
1988 if test -n "$ac_tool_prefix"; then
1989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1990 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1991 echo "$as_me:$LINENO: checking for $ac_word" >&5
1992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1993 if test "${ac_cv_prog_CC+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 if test -n "$CC"; then
1997 ac_cv_prog_CC
="$CC" # Let the user override the test.
1999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2003 test -z "$as_dir" && as_dir
=.
2004 for ac_exec_ext
in '' $ac_executable_extensions; do
2005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2006 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2016 if test -n "$CC"; then
2017 echo "$as_me:$LINENO: result: $CC" >&5
2018 echo "${ECHO_T}$CC" >&6
2020 echo "$as_me:$LINENO: result: no" >&5
2021 echo "${ECHO_T}no" >&6
2025 if test -z "$ac_cv_prog_CC"; then
2027 # Extract the first word of "gcc", so it can be a program name with args.
2028 set dummy gcc
; ac_word
=$2
2029 echo "$as_me:$LINENO: checking for $ac_word" >&5
2030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 if test -n "$ac_ct_CC"; then
2035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2041 test -z "$as_dir" && as_dir
=.
2042 for ac_exec_ext
in '' $ac_executable_extensions; do
2043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2044 ac_cv_prog_ac_ct_CC
="gcc"
2045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2053 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2054 if test -n "$ac_ct_CC"; then
2055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2056 echo "${ECHO_T}$ac_ct_CC" >&6
2058 echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6
2068 ac_cpp
='$CPP $CPPFLAGS'
2069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2072 if test -n "$ac_tool_prefix"; then
2073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2074 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$CC"; then
2081 ac_cv_prog_CC
="$CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102 echo "${ECHO_T}$CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2109 if test -z "$ac_cv_prog_CC"; then
2111 # Extract the first word of "gcc", so it can be a program name with args.
2112 set dummy gcc
; ac_word
=$2
2113 echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -n "$ac_ct_CC"; then
2119 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir
=.
2126 for ac_exec_ext
in '' $ac_executable_extensions; do
2127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_ac_ct_CC
="gcc"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2138 if test -n "$ac_ct_CC"; then
2139 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2140 echo "${ECHO_T}$ac_ct_CC" >&6
2142 echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6
2151 if test -z "$CC"; then
2152 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2154 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$CC"; then
2161 ac_cv_prog_CC
="$CC" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 echo "$as_me:$LINENO: result: $CC" >&5
2182 echo "${ECHO_T}$CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2189 if test -z "$ac_cv_prog_CC"; then
2191 # Extract the first word of "cc", so it can be a program name with args.
2192 set dummy cc
; ac_word
=$2
2193 echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 if test -n "$ac_ct_CC"; then
2199 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir
=.
2206 for ac_exec_ext
in '' $ac_executable_extensions; do
2207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2208 ac_cv_prog_ac_ct_CC
="cc"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2218 if test -n "$ac_ct_CC"; then
2219 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2220 echo "${ECHO_T}$ac_ct_CC" >&6
2222 echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6
2232 if test -z "$CC"; then
2233 # Extract the first word of "cc", so it can be a program name with args.
2234 set dummy cc
; ac_word
=$2
2235 echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2237 if test "${ac_cv_prog_CC+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 if test -n "$CC"; then
2241 ac_cv_prog_CC
="$CC" # Let the user override the test.
2244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir
=.
2249 for ac_exec_ext
in '' $ac_executable_extensions; do
2250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2251 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2252 ac_prog_rejected
=yes
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test $ac_prog_rejected = yes; then
2263 # We found a bogon in the path, so make sure we never use it.
2264 set dummy
$ac_cv_prog_CC
2266 if test $# != 0; then
2267 # We chose a different compiler from the bogus one.
2268 # However, it has the same basename, so the bogon will be chosen
2269 # first if we set CC to just the basename; use the full file name.
2271 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2277 if test -n "$CC"; then
2278 echo "$as_me:$LINENO: result: $CC" >&5
2279 echo "${ECHO_T}$CC" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2286 if test -z "$CC"; then
2287 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2291 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2325 test -n "$CC" && break
2328 if test -z "$CC"; then
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy
$ac_prog; ac_word
=$2
2334 echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_prog_ac_ct_CC
="$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2359 if test -n "$ac_ct_CC"; then
2360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2361 echo "${ECHO_T}$ac_ct_CC" >&6
2363 echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6
2367 test -n "$ac_ct_CC" && break
2376 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2377 See \`config.log' for more details." >&5
2378 echo "$as_me: error: no acceptable C compiler found in \$PATH
2379 See \`config.log' for more details." >&2;}
2380 { (exit 1); exit 1; }; }
2382 # Provide some information about the compiler.
2383 echo "$as_me:$LINENO:" \
2384 "checking for C compiler version" >&5
2385 ac_compiler
=`set X $ac_compile; echo $2`
2386 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2387 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }
2391 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2392 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }
2396 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2397 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }
2402 cat >conftest.
$ac_ext <<_ACEOF
2405 cat confdefs.h
>>conftest.
$ac_ext
2406 cat >>conftest.
$ac_ext <<_ACEOF
2407 /* end confdefs.h. */
2417 ac_clean_files_save
=$ac_clean_files
2418 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2419 # Try to create an executable without -o first, disregard a.out.
2420 # It will help us diagnose broken compilers, and finding out an intuition
2422 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2423 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2424 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2425 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2426 (eval $ac_link_default) 2>&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; then
2430 # Find the output, starting from the most likely. This scheme is
2431 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2434 # Be careful to initialize this variable, since it used to be cached.
2435 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2437 # b.out is created by i960 compilers.
2438 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2440 test -f "$ac_file" ||
continue
2442 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2445 # This is the source file.
2448 # We found the default executable, but exeext='' is most
2452 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2453 # FIXME: I believe we export ac_cv_exeext for Libtool,
2454 # but it would be cool to find out if it's true. Does anybody
2455 # maintain Libtool? --akim.
2463 echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.
$ac_ext >&5
2466 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&5
2468 echo "$as_me: error: C compiler cannot create executables
2469 See \`config.log' for more details." >&2;}
2470 { (exit 77); exit 77; }; }
2473 ac_exeext
=$ac_cv_exeext
2474 echo "$as_me:$LINENO: result: $ac_file" >&5
2475 echo "${ECHO_T}$ac_file" >&6
2477 # Check the compiler produces executables we can run. If not, either
2478 # the compiler is broken, or we cross compile.
2479 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2480 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2481 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2482 # If not cross compiling, check that we can run a simple program.
2483 if test "$cross_compiling" != yes; then
2484 if { ac_try
='./$ac_file'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2492 if test "$cross_compiling" = maybe
; then
2495 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2496 If you meant to cross compile, use \`--host'.
2497 See \`config.log' for more details." >&5
2498 echo "$as_me: error: cannot run C compiled programs.
2499 If you meant to cross compile, use \`--host'.
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2508 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2509 ac_clean_files
=$ac_clean_files_save
2510 # Check the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2514 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2515 echo "${ECHO_T}$cross_compiling" >&6
2517 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2520 (eval $ac_link) 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; then
2524 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2525 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2526 # work properly (i.e., refer to `conftest.exe'), while it won't with
2528 for ac_file
in conftest.exe conftest conftest.
*; do
2529 test -f "$ac_file" ||
continue
2531 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2532 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2539 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&5
2541 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&2;}
2543 { (exit 1); exit 1; }; }
2546 rm -f conftest
$ac_cv_exeext
2547 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2548 echo "${ECHO_T}$ac_cv_exeext" >&6
2550 rm -f conftest.
$ac_ext
2551 EXEEXT
=$ac_cv_exeext
2553 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2554 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2555 if test "${ac_cv_objext+set}" = set; then
2556 echo $ECHO_N "(cached) $ECHO_C" >&6
2558 cat >conftest.
$ac_ext <<_ACEOF
2561 cat confdefs.h
>>conftest.
$ac_ext
2562 cat >>conftest.
$ac_ext <<_ACEOF
2563 /* end confdefs.h. */
2573 rm -f conftest.o conftest.obj
2574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2575 (eval $ac_compile) 2>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; then
2579 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2581 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2582 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2587 echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.
$ac_ext >&5
2590 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2591 See \`config.log' for more details." >&5
2592 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2593 See \`config.log' for more details." >&2;}
2594 { (exit 1); exit 1; }; }
2597 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2599 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2600 echo "${ECHO_T}$ac_cv_objext" >&6
2601 OBJEXT
=$ac_cv_objext
2603 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2604 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2605 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2626 rm -f conftest.
$ac_objext
2627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2628 (eval $ac_compile) 2>conftest.er1
2630 grep -v '^ *+' conftest.er1
>conftest.err
2632 cat conftest.err
>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try
='test -z "$ac_c_werror_flag"
2636 || test ! -s conftest.err'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; } &&
2642 { ac_try
='test -s conftest.$ac_objext'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; }; then
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.
$ac_ext >&5
2655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2656 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2659 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2660 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2661 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2662 ac_test_CFLAGS
=${CFLAGS+set}
2663 ac_save_CFLAGS
=$CFLAGS
2665 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2666 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2667 if test "${ac_cv_prog_cc_g+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2670 cat >conftest.
$ac_ext <<_ACEOF
2673 cat confdefs.h
>>conftest.
$ac_ext
2674 cat >>conftest.
$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2685 rm -f conftest.
$ac_objext
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>conftest.er1
2689 grep -v '^ *+' conftest.er1
>conftest.err
2691 cat conftest.err
>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try
='test -z "$ac_c_werror_flag"
2695 || test ! -s conftest.err'
2696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700 (exit $ac_status); }; } &&
2701 { ac_try
='test -s conftest.$ac_objext'
2702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; }; then
2709 echo "$as_me: failed program was:" >&5
2710 sed 's/^/| /' conftest.
$ac_ext >&5
2714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2716 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2717 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2718 if test "$ac_test_CFLAGS" = set; then
2719 CFLAGS
=$ac_save_CFLAGS
2720 elif test $ac_cv_prog_cc_g = yes; then
2721 if test "$GCC" = yes; then
2727 if test "$GCC" = yes; then
2733 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2734 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2735 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2736 echo $ECHO_N "(cached) $ECHO_C" >&6
2738 ac_cv_prog_cc_stdc
=no
2740 cat >conftest.
$ac_ext <<_ACEOF
2743 cat confdefs.h
>>conftest.
$ac_ext
2744 cat >>conftest.
$ac_ext <<_ACEOF
2745 /* end confdefs.h. */
2748 #include <sys/types.h>
2749 #include <sys/stat.h>
2750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2751 struct buf { int x; };
2752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2753 static char *e (p, i)
2759 static char *f (char * (*g) (char **, int), char **p, ...)
2764 s = g (p, va_arg (v,int));
2769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2770 function prototypes and stuff, but not '\xHH' hex character constants.
2771 These don't provoke an error unfortunately, instead are silently treated
2772 as 'x'. The following induces an error, until -std1 is added to get
2773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2774 array size at least. It's necessary to write '\x00'==0 to get something
2775 that's true only with -std1. */
2776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2778 int test (int i, double x);
2779 struct s1 {int (*f) (int a);};
2780 struct s2 {int (*f) (double a);};
2781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2787 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2792 # Don't try gcc -ansi; that turns off useful extensions and
2793 # breaks some systems' header files.
2794 # AIX -qlanglvl=ansi
2795 # Ultrix and OSF/1 -std1
2796 # HP-UX 10.20 and later -Ae
2797 # HP-UX older versions -Aa -D_HPUX_SOURCE
2798 # SVR4 -Xc -D__EXTENSIONS__
2799 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2801 CC
="$ac_save_CC $ac_arg"
2802 rm -f conftest.
$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2806 grep -v '^ *+' conftest.er1
>conftest.err
2808 cat conftest.err
>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try
='test -z "$ac_c_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try
='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2824 ac_cv_prog_cc_stdc
=$ac_arg
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.
$ac_ext >&5
2831 rm -f conftest.err conftest.
$ac_objext
2833 rm -f conftest.
$ac_ext conftest.
$ac_objext
2838 case "x$ac_cv_prog_cc_stdc" in
2840 echo "$as_me:$LINENO: result: none needed" >&5
2841 echo "${ECHO_T}none needed" >&6 ;;
2843 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2844 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2845 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2848 # Some people use a C++ compiler to compile C. Since we use `exit',
2849 # in C++ we need to declare it. In case someone uses the same compiler
2850 # for both compiling C and C++ we need to have the C++ compiler decide
2851 # the declaration of exit, since it's the most demanding environment.
2852 cat >conftest.
$ac_ext <<_ACEOF
2857 rm -f conftest.
$ac_objext
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>conftest.er1
2861 grep -v '^ *+' conftest.er1
>conftest.err
2863 cat conftest.err
>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } &&
2866 { ac_try
='test -z "$ac_c_werror_flag"
2867 || test ! -s conftest.err'
2868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }; } &&
2873 { ac_try
='test -s conftest.$ac_objext'
2874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }; }; then
2879 for ac_declaration
in \
2881 'extern "C" void std::exit (int) throw (); using std::exit;' \
2882 'extern "C" void std::exit (int); using std::exit;' \
2883 'extern "C" void exit (int) throw ();' \
2884 'extern "C" void exit (int);' \
2887 cat >conftest.
$ac_ext <<_ACEOF
2890 cat confdefs.h
>>conftest.
$ac_ext
2891 cat >>conftest.
$ac_ext <<_ACEOF
2892 /* end confdefs.h. */
2903 rm -f conftest.
$ac_objext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1
>conftest.err
2909 cat conftest.err
>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } &&
2912 { ac_try
='test -z "$ac_c_werror_flag"
2913 || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2919 { ac_try
='test -s conftest.$ac_objext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.
$ac_ext >&5
2932 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2933 cat >conftest.
$ac_ext <<_ACEOF
2936 cat confdefs.h
>>conftest.
$ac_ext
2937 cat >>conftest.
$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2948 rm -f conftest.
$ac_objext
2949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2950 (eval $ac_compile) 2>conftest.er1
2952 grep -v '^ *+' conftest.er1
>conftest.err
2954 cat conftest.err
>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } &&
2957 { ac_try
='test -z "$ac_c_werror_flag"
2958 || test ! -s conftest.err'
2959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; } &&
2964 { ac_try
='test -s conftest.$ac_objext'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; }; then
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.
$ac_ext >&5
2976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 if test -n "$ac_declaration"; then
2980 echo '#ifdef __cplusplus' >>confdefs.h
2981 echo $ac_declaration >>confdefs.h
2982 echo '#endif' >>confdefs.h
2986 echo "$as_me: failed program was:" >&5
2987 sed 's/^/| /' conftest.
$ac_ext >&5
2990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2992 ac_cpp
='$CPP $CPPFLAGS'
2993 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2994 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2995 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2996 DEPDIR
="${am__leading_dot}deps"
2998 ac_config_commands
="$ac_config_commands depfiles"
3001 am_make
=${MAKE-make}
3002 cat > confinc
<< 'END'
3007 # If we don't find an include directive, just comment out the code.
3008 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3009 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3013 # First try GNU make style include.
3014 echo "include confinc" > confmf
3015 # We grep out `Entering directory' and `Leaving directory'
3016 # messages which can occur if `w' ends up in MAKEFLAGS.
3017 # In particular we don't look at `^make:' because GNU make might
3018 # be invoked under some other name (usually "gmake"), in which
3019 # case it prints its new name instead of `make'.
3020 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3025 # Now try BSD make style include.
3026 if test "$am__include" = "#"; then
3027 echo '.include "confinc"' > confmf
3028 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3029 am__include
=.include
3036 echo "$as_me:$LINENO: result: $_am_result" >&5
3037 echo "${ECHO_T}$_am_result" >&6
3038 rm -f confinc confmf
3040 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3041 if test "${enable_dependency_tracking+set}" = set; then
3042 enableval
="$enable_dependency_tracking"
3045 if test "x$enable_dependency_tracking" != xno
; then
3046 am_depcomp
="$ac_aux_dir/depcomp"
3051 if test "x$enable_dependency_tracking" != xno; then
3062 depcc
="$CC" am_compiler_list
=
3064 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3065 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3066 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3070 # We make a subdir and do the tests there. Otherwise we can end up
3071 # making bogus files that we don't know about and never remove. For
3072 # instance it was reported that on HP-UX the gcc test will end up
3073 # making a dummy file named `D' -- because `-MD' means `put the output
3076 # Copy depcomp to subdir because otherwise we won't find it if we're
3077 # using a relative directory.
3078 cp "$am_depcomp" conftest.dir
3080 # We will build objects and dependencies in a subdirectory because
3081 # it helps to detect inapplicable dependency modes. For instance
3082 # both Tru64's cc and ICC support -MD to output dependencies as a
3083 # side effect of compilation, but ICC will put the dependencies in
3084 # the current directory while Tru64 will put them in the object
3088 am_cv_CC_dependencies_compiler_type
=none
3089 if test "$am_compiler_list" = ""; then
3090 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3092 for depmode
in $am_compiler_list; do
3093 # Setup a source with many dependencies, because some compilers
3094 # like to wrap large dependency lists on column 80 (with \), and
3095 # we should not choose a depcomp mode which is confused by this.
3097 # We need to recreate these files for each test, as the compiler may
3098 # overwrite some of them when testing with obscure command lines.
3099 # This happens at least with the AIX C compiler.
3101 for i
in 1 2 3 4 5 6; do
3102 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3103 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3104 # Solaris 8's {/usr,}/bin/sh.
3105 touch sub
/conftst
$i.h
3107 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3111 # after this tag, mechanisms are not by side-effect, so they'll
3112 # only be used when explicitly requested
3113 if test "x$enable_dependency_tracking" = xyes
; then
3121 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3122 # mode. It turns out that the SunPro C++ compiler does not properly
3123 # handle `-M -o', and we need to detect this.
3124 if depmode
=$depmode \
3125 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3126 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3127 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3128 >/dev
/null
2>conftest.err
&&
3129 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3130 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3131 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3132 # icc doesn't choke on unknown options, it will just issue warnings
3133 # or remarks (even with -Werror). So we grep stderr for any message
3134 # that says an option was ignored or not supported.
3135 # When given -MP, icc 7.0 and 7.1 complain thusly:
3136 # icc: Command line warning: ignoring option '-M'; no argument required
3137 # The diagnosis changed in icc 8.0:
3138 # icc: Command line remark: option '-MP' not supported
3139 if (grep 'ignoring option' conftest.err ||
3140 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3141 am_cv_CC_dependencies_compiler_type
=$depmode
3150 am_cv_CC_dependencies_compiler_type
=none
3154 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3155 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3156 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3161 test "x$enable_dependency_tracking" != xno \
3162 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3164 am__fastdepCC_FALSE
='#'
3166 am__fastdepCC_TRUE
='#'
3167 am__fastdepCC_FALSE
=
3171 # We need this for older versions of Autoconf.
3173 depcc
="$CC" am_compiler_list
=
3175 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3176 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3177 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3178 echo $ECHO_N "(cached) $ECHO_C" >&6
3180 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3181 # We make a subdir and do the tests there. Otherwise we can end up
3182 # making bogus files that we don't know about and never remove. For
3183 # instance it was reported that on HP-UX the gcc test will end up
3184 # making a dummy file named `D' -- because `-MD' means `put the output
3187 # Copy depcomp to subdir because otherwise we won't find it if we're
3188 # using a relative directory.
3189 cp "$am_depcomp" conftest.dir
3191 # We will build objects and dependencies in a subdirectory because
3192 # it helps to detect inapplicable dependency modes. For instance
3193 # both Tru64's cc and ICC support -MD to output dependencies as a
3194 # side effect of compilation, but ICC will put the dependencies in
3195 # the current directory while Tru64 will put them in the object
3199 am_cv_CC_dependencies_compiler_type
=none
3200 if test "$am_compiler_list" = ""; then
3201 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3203 for depmode
in $am_compiler_list; do
3204 # Setup a source with many dependencies, because some compilers
3205 # like to wrap large dependency lists on column 80 (with \), and
3206 # we should not choose a depcomp mode which is confused by this.
3208 # We need to recreate these files for each test, as the compiler may
3209 # overwrite some of them when testing with obscure command lines.
3210 # This happens at least with the AIX C compiler.
3212 for i
in 1 2 3 4 5 6; do
3213 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3214 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3215 # Solaris 8's {/usr,}/bin/sh.
3216 touch sub
/conftst
$i.h
3218 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3222 # after this tag, mechanisms are not by side-effect, so they'll
3223 # only be used when explicitly requested
3224 if test "x$enable_dependency_tracking" = xyes
; then
3232 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3233 # mode. It turns out that the SunPro C++ compiler does not properly
3234 # handle `-M -o', and we need to detect this.
3235 if depmode
=$depmode \
3236 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3237 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3238 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3239 >/dev
/null
2>conftest.err
&&
3240 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3241 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3242 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3243 # icc doesn't choke on unknown options, it will just issue warnings
3244 # or remarks (even with -Werror). So we grep stderr for any message
3245 # that says an option was ignored or not supported.
3246 # When given -MP, icc 7.0 and 7.1 complain thusly:
3247 # icc: Command line warning: ignoring option '-M'; no argument required
3248 # The diagnosis changed in icc 8.0:
3249 # icc: Command line remark: option '-MP' not supported
3250 if (grep 'ignoring option' conftest.err ||
3251 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3252 am_cv_CC_dependencies_compiler_type
=$depmode
3261 am_cv_CC_dependencies_compiler_type
=none
3265 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3266 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3267 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3272 test "x$enable_dependency_tracking" != xno \
3273 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3275 am__fastdepCC_FALSE
='#'
3277 am__fastdepCC_TRUE
='#'
3278 am__fastdepCC_FALSE
=
3287 # Check whether --with-binutils or --without-binutils was given.
3288 if test "${with_binutils+set}" = set; then
3289 withval
="$with_binutils"
3293 if test "x$with_binutils" != x
; then
3294 # Extract the first word of "ranlib", so it can be a program name with args.
3295 set dummy ranlib
; ac_word
=$2
3296 echo "$as_me:$LINENO: checking for $ac_word" >&5
3297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3298 if test "${ac_cv_path_RANLIB+set}" = set; then
3299 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 ac_cv_path_RANLIB
="$RANLIB" # Let the user override the test with a path.
3306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3307 as_dummy
=""$with_binutils:$PATH""
3308 for as_dir
in $as_dummy
3311 test -z "$as_dir" && as_dir
=.
3312 for ac_exec_ext
in '' $ac_executable_extensions; do
3313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3314 ac_cv_path_RANLIB
="$as_dir/$ac_word$ac_exec_ext"
3315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 test -z "$ac_cv_path_RANLIB" && ac_cv_path_RANLIB
=":"
3325 RANLIB
=$ac_cv_path_RANLIB
3327 if test -n "$RANLIB"; then
3328 echo "$as_me:$LINENO: result: $RANLIB" >&5
3329 echo "${ECHO_T}$RANLIB" >&6
3331 echo "$as_me:$LINENO: result: no" >&5
3332 echo "${ECHO_T}no" >&6
3336 if test -n "$ac_tool_prefix"; then
3337 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3338 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3339 echo "$as_me:$LINENO: checking for $ac_word" >&5
3340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3341 if test "${ac_cv_prog_RANLIB+set}" = set; then
3342 echo $ECHO_N "(cached) $ECHO_C" >&6
3344 if test -n "$RANLIB"; then
3345 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3351 test -z "$as_dir" && as_dir
=.
3352 for ac_exec_ext
in '' $ac_executable_extensions; do
3353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3354 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 RANLIB
=$ac_cv_prog_RANLIB
3364 if test -n "$RANLIB"; then
3365 echo "$as_me:$LINENO: result: $RANLIB" >&5
3366 echo "${ECHO_T}$RANLIB" >&6
3368 echo "$as_me:$LINENO: result: no" >&5
3369 echo "${ECHO_T}no" >&6
3373 if test -z "$ac_cv_prog_RANLIB"; then
3374 ac_ct_RANLIB
=$RANLIB
3375 # Extract the first word of "ranlib", so it can be a program name with args.
3376 set dummy ranlib
; ac_word
=$2
3377 echo "$as_me:$LINENO: checking for $ac_word" >&5
3378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3379 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3380 echo $ECHO_N "(cached) $ECHO_C" >&6
3382 if test -n "$ac_ct_RANLIB"; then
3383 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3389 test -z "$as_dir" && as_dir
=.
3390 for ac_exec_ext
in '' $ac_executable_extensions; do
3391 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3392 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3399 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3402 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3403 if test -n "$ac_ct_RANLIB"; then
3404 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3405 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3411 RANLIB
=$ac_ct_RANLIB
3413 RANLIB
="$ac_cv_prog_RANLIB"
3418 # optimization flags
3419 if test "x$ac_cv_c_compiler_gnu" = xyes
; then
3420 if test "x$default_CFLAGS" = xyes
; then
3421 # Autoconf may set CFLAGS to -O2 and/or -g. So eliminate them.
3422 CFLAGS
="`echo $CFLAGS | sed -e 's/-g//g' -e 's/-O[0-9]//g'` -g"
3423 # If the user specify the directory for binutils, add the option `-B'.
3424 if test "x$with_binutils" != x
; then
3425 CFLAGS
="-B$with_binutils/ $CFLAGS"
3430 echo "$as_me:$LINENO: checking whether optimization for size works" >&5
3431 echo $ECHO_N "checking whether optimization for size works... $ECHO_C" >&6
3432 if test "${size_flag+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3436 saved_CFLAGS
=$CFLAGS
3438 cat >conftest.
$ac_ext <<_ACEOF
3441 cat confdefs.h
>>conftest.
$ac_ext
3442 cat >>conftest.
$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.
$ac_objext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455 (eval $ac_compile) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1
>conftest.err
3459 cat conftest.err
>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try
='test -z "$ac_c_werror_flag"
3463 || test ! -s conftest.err'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; } &&
3469 { ac_try
='test -s conftest.$ac_objext'
3470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); }; }; then
3477 echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.
$ac_ext >&5
3482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3483 CFLAGS
=$saved_CFLAGS
3486 echo "$as_me:$LINENO: result: $size_flag" >&5
3487 echo "${ECHO_T}$size_flag" >&6
3488 if test "x$size_flag" = xyes
; then
3491 STAGE2_CFLAGS
="-O2 -fno-strength-reduce -fno-unroll-loops"
3493 # OpenBSD has a GCC extension for protecting applications from
3494 # stack smashing attacks, but GRUB doesn't want this feature.
3495 echo "$as_me:$LINENO: checking whether gcc has -fno-stack-protector" >&5
3496 echo $ECHO_N "checking whether gcc has -fno-stack-protector... $ECHO_C" >&6
3497 if test "${no_stack_protector_flag+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 saved_CFLAGS
=$CFLAGS
3502 CFLAGS
="-fno-stack-protector"
3503 cat >conftest.
$ac_ext <<_ACEOF
3506 cat confdefs.h
>>conftest.
$ac_ext
3507 cat >>conftest.
$ac_ext <<_ACEOF
3508 /* end confdefs.h. */
3518 rm -f conftest.
$ac_objext
3519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3520 (eval $ac_compile) 2>conftest.er1
3522 grep -v '^ *+' conftest.er1
>conftest.err
3524 cat conftest.err
>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); } &&
3527 { ac_try
='test -z "$ac_c_werror_flag"
3528 || test ! -s conftest.err'
3529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); }; } &&
3534 { ac_try
='test -s conftest.$ac_objext'
3535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); }; }; then
3540 no_stack_protector_flag
=yes
3542 echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.
$ac_ext >&5
3545 no_stack_protector_flag
=no
3547 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3548 CFLAGS
=$saved_CFLAGS
3551 echo "$as_me:$LINENO: result: $no_stack_protector_flag" >&5
3552 echo "${ECHO_T}$no_stack_protector_flag" >&6
3553 if test "x$no_stack_protector_flag" = xyes
; then
3554 STAGE2_CFLAGS
="$STAGE2_CFLAGS -fno-stack-protector"
3563 # Enforce coding standards.
3564 CPPFLAGS
="$CPPFLAGS -Wall -Wmissing-prototypes -Wunused -Wshadow"
3565 CPPFLAGS
="$CPPFLAGS -Wpointer-arith"
3567 echo "$as_me:$LINENO: checking whether -Wundef works" >&5
3568 echo $ECHO_N "checking whether -Wundef works... $ECHO_C" >&6
3569 if test "${undef_flag+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3573 saved_CPPFLAGS
="$CPPFLAGS"
3575 cat >conftest.
$ac_ext <<_ACEOF
3578 cat confdefs.h
>>conftest.
$ac_ext
3579 cat >>conftest.
$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3590 rm -f conftest.
$ac_objext
3591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3592 (eval $ac_compile) 2>conftest.er1
3594 grep -v '^ *+' conftest.er1
>conftest.err
3596 cat conftest.err
>&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } &&
3599 { ac_try
='test -z "$ac_c_werror_flag"
3600 || test ! -s conftest.err'
3601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; } &&
3606 { ac_try
='test -s conftest.$ac_objext'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; }; then
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.
$ac_ext >&5
3619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3620 CPPFLAGS
="$saved_CPPFLAGS"
3623 echo "$as_me:$LINENO: result: $undef_flag" >&5
3624 echo "${ECHO_T}$undef_flag" >&6
3626 # The options `-falign-*' are supported by gcc 3.0 or later.
3627 # Probably it is sufficient to only check for -falign-loops.
3628 echo "$as_me:$LINENO: checking whether -falign-loops works" >&5
3629 echo $ECHO_N "checking whether -falign-loops works... $ECHO_C" >&6
3630 if test "${falign_loop_flag+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 saved_CPPFLAGS
="$CPPFLAGS"
3635 CPPFLAGS
="-falign-loops=1"
3636 cat >conftest.
$ac_ext <<_ACEOF
3639 cat confdefs.h
>>conftest.
$ac_ext
3640 cat >>conftest.
$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3651 rm -f conftest.
$ac_objext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3653 (eval $ac_compile) 2>conftest.er1
3655 grep -v '^ *+' conftest.er1
>conftest.err
3657 cat conftest.err
>&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try
='test -z "$ac_c_werror_flag"
3661 || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try
='test -s conftest.$ac_objext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 falign_loop_flag
=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.
$ac_ext >&5
3680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3681 CPPFLAGS
="$saved_CPPFLAGS"
3684 echo "$as_me:$LINENO: result: $falign_loop_flag" >&5
3685 echo "${ECHO_T}$falign_loop_flag" >&6
3687 # Force no alignment to save space.
3688 if test "x$falign_loop_flag" = xyes
; then
3689 CPPFLAGS
="$CPPFLAGS -falign-jumps=1 -falign-loops=1 -falign-functions=1"
3691 CPPFLAGS
="$CPPFLAGS -malign-jumps=1 -malign-loops=1 -malign-functions=1"
3694 if test "x$undef_flag" = xyes
; then
3695 CPPFLAGS
="$CPPFLAGS -Wundef"
3698 if test "x$with_binutils" != x
; then
3699 # Extract the first word of "objcopy", so it can be a program name with args.
3700 set dummy objcopy
; ac_word
=$2
3701 echo "$as_me:$LINENO: checking for $ac_word" >&5
3702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3703 if test "${ac_cv_path_OBJCOPY+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 ac_cv_path_OBJCOPY
="$OBJCOPY" # Let the user override the test with a path.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 as_dummy
=""$with_binutils:$PATH""
3713 for as_dir
in $as_dummy
3716 test -z "$as_dir" && as_dir
=.
3717 for ac_exec_ext
in '' $ac_executable_extensions; do
3718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3719 ac_cv_path_OBJCOPY
="$as_dir/$ac_word$ac_exec_ext"
3720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 OBJCOPY
=$ac_cv_path_OBJCOPY
3731 if test -n "$OBJCOPY"; then
3732 echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3733 echo "${ECHO_T}$OBJCOPY" >&6
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3740 if test -n "$ac_tool_prefix"; then
3741 # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
3742 set dummy
${ac_tool_prefix}objcopy
; ac_word
=$2
3743 echo "$as_me:$LINENO: checking for $ac_word" >&5
3744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3745 if test "${ac_cv_prog_OBJCOPY+set}" = set; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 if test -n "$OBJCOPY"; then
3749 ac_cv_prog_OBJCOPY
="$OBJCOPY" # Let the user override the test.
3751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir
=.
3756 for ac_exec_ext
in '' $ac_executable_extensions; do
3757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_OBJCOPY
="${ac_tool_prefix}objcopy"
3759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 OBJCOPY
=$ac_cv_prog_OBJCOPY
3768 if test -n "$OBJCOPY"; then
3769 echo "$as_me:$LINENO: result: $OBJCOPY" >&5
3770 echo "${ECHO_T}$OBJCOPY" >&6
3772 echo "$as_me:$LINENO: result: no" >&5
3773 echo "${ECHO_T}no" >&6
3777 if test -z "$ac_cv_prog_OBJCOPY"; then
3778 ac_ct_OBJCOPY
=$OBJCOPY
3779 # Extract the first word of "objcopy", so it can be a program name with args.
3780 set dummy objcopy
; ac_word
=$2
3781 echo "$as_me:$LINENO: checking for $ac_word" >&5
3782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3783 if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 if test -n "$ac_ct_OBJCOPY"; then
3787 ac_cv_prog_ac_ct_OBJCOPY
="$ac_ct_OBJCOPY" # Let the user override the test.
3789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir
=.
3794 for ac_exec_ext
in '' $ac_executable_extensions; do
3795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_ac_ct_OBJCOPY
="objcopy"
3797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_OBJCOPY
=$ac_cv_prog_ac_ct_OBJCOPY
3806 if test -n "$ac_ct_OBJCOPY"; then
3807 echo "$as_me:$LINENO: result: $ac_ct_OBJCOPY" >&5
3808 echo "${ECHO_T}$ac_ct_OBJCOPY" >&6
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3814 OBJCOPY
=$ac_ct_OBJCOPY
3816 OBJCOPY
="$ac_cv_prog_OBJCOPY"
3821 # Defined in acinclude.m4.
3823 echo "$as_me:$LINENO: checking if C symbols get an underscore after compilation" >&5
3824 echo $ECHO_N "checking if C symbols get an underscore after compilation... $ECHO_C" >&6
3825 if test "${grub_cv_asm_uscore+set}" = set; then
3826 echo $ECHO_N "(cached) $ECHO_C" >&6
3828 cat > conftest.c
<<\EOF
3837 if { ac_try
='${CC-cc} ${CFLAGS} -S conftest.c'
3838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); }; } && test -s conftest.s
; then
3845 { { echo "$as_me:$LINENO: error: ${CC-cc} failed to produce assembly code" >&5
3846 echo "$as_me: error: ${CC-cc} failed to produce assembly code" >&2;}
3847 { (exit 1); exit 1; }; }
3850 if grep _func conftest.s
>/dev
/null
2>&1; then
3851 grub_cv_asm_uscore
=yes
3853 grub_cv_asm_uscore
=no
3860 if test "x$grub_cv_asm_uscore" = xyes
; then
3862 cat >>confdefs.h
<<_ACEOF
3863 #define HAVE_ASM_USCORE $grub_cv_asm_uscore
3868 echo "$as_me:$LINENO: result: $grub_cv_asm_uscore" >&5
3869 echo "${ECHO_T}$grub_cv_asm_uscore" >&6
3871 echo "$as_me:$LINENO: checking whether ${OBJCOPY} works for absolute addresses" >&5
3872 echo $ECHO_N "checking whether ${OBJCOPY} works for absolute addresses... $ECHO_C" >&6
3873 if test "${grub_cv_prog_objcopy_absolute+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 cat > conftest.c
<<\EOF
3880 *((int
*) 0x1000) = 2;
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } && test -s conftest.o
; then :
3890 { { echo "$as_me:$LINENO: error: ${CC-cc} cannot compile C source code" >&5
3891 echo "$as_me: error: ${CC-cc} cannot compile C source code" >&2;}
3892 { (exit 1); exit 1; }; }
3894 grub_cv_prog_objcopy_absolute
=yes
3895 for link_addr
in 2000 8000 7C00
; do
3896 if { ac_try
='${CC-cc} ${CFLAGS} -nostdlib -Wl,-N -Wl,-Ttext -Wl,$link_addr conftest.o -o conftest.exec'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then :
3903 { { echo "$as_me:$LINENO: error: ${CC-cc} cannot link at address $link_addr" >&5
3904 echo "$as_me: error: ${CC-cc} cannot link at address $link_addr" >&2;}
3905 { (exit 1); exit 1; }; }
3907 if { ac_try
='${OBJCOPY-objcopy} -O binary conftest.exec conftest'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; }; then :
3914 { { echo "$as_me:$LINENO: error: ${OBJCOPY-objcopy} cannot create binary files" >&5
3915 echo "$as_me: error: ${OBJCOPY-objcopy} cannot create binary files" >&2;}
3916 { (exit 1); exit 1; }; }
3918 if test ! -f conftest.old ||
{ ac_try
='cmp -s conftest.old conftest'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; }; then
3924 mv -f conftest conftest.old
3926 grub_cv_prog_objcopy_absolute
=no
3933 echo "$as_me:$LINENO: result: $grub_cv_prog_objcopy_absolute" >&5
3934 echo "${ECHO_T}$grub_cv_prog_objcopy_absolute" >&6
3935 if test "x$grub_cv_prog_objcopy_absolute" != xyes
; then
3936 { { echo "$as_me:$LINENO: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&5
3937 echo "$as_me: error: GRUB requires a working absolute objcopy; upgrade your binutils" >&2;}
3938 { (exit 1); exit 1; }; }
3942 echo "$as_me:$LINENO: checking whether addr32 must be in the same line as the instruction" >&5
3943 echo $ECHO_N "checking whether addr32 must be in the same line as the instruction... $ECHO_C" >&6
3944 if test "${grub_cv_asm_prefix_requirement+set}" = set; then
3945 echo $ECHO_N "(cached) $ECHO_C" >&6
3947 cat > conftest.s
<<\EOF
3949 l1
: addr32 movb
%al
, l1
3952 if { ac_try
='${CC-cc} ${CFLAGS} -c conftest.s'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; } && test -s conftest.o
; then
3958 grub_cv_asm_prefix_requirement
=yes
3960 grub_cv_asm_prefix_requirement
=no
3967 if test "x$grub_cv_asm_prefix_requirement" = xyes
; then
3968 grub_tmp_addr32
="addr32"
3969 grub_tmp_data32
="data32"
3971 grub_tmp_addr32
="addr32;"
3972 grub_tmp_data32
="data32;"
3976 cat >>confdefs.h
<<_ACEOF
3977 #define ADDR32 $grub_tmp_addr32
3981 cat >>confdefs.h
<<_ACEOF
3982 #define DATA32 $grub_tmp_data32
3986 echo "$as_me:$LINENO: result: $grub_cv_asm_prefix_requirement" >&5
3987 echo "${ECHO_T}$grub_cv_asm_prefix_requirement" >&6
3991 echo "$as_me:$LINENO: checking for .code16 addr32 assembler support" >&5
3992 echo $ECHO_N "checking for .code16 addr32 assembler support... $ECHO_C" >&6
3993 if test "${grub_cv_asm_addr32+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3996 cat > conftest.s.
in <<\EOF
3998 l1
: @ADDR32@ movb
%al
, l1
4001 if test "x$grub_cv_asm_prefix_requirement" = xyes
; then
4002 sed -e s
/@ADDR32@
/addr32
/ < conftest.s.
in > conftest.s
4004 sed -e s
/@ADDR32@
/addr32\
;/ < conftest.s.
in > conftest.s
4007 if { ac_try
='${CC-cc} ${CFLAGS} -c conftest.s'
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }; } && test -s conftest.o
; then
4013 grub_cv_asm_addr32
=yes
4015 grub_cv_asm_addr32
=no
4022 echo "$as_me:$LINENO: result: $grub_cv_asm_addr32" >&5
4023 echo "${ECHO_T}$grub_cv_asm_addr32" >&6
4024 if test "x$grub_cv_asm_addr32" != xyes
; then
4025 { { echo "$as_me:$LINENO: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&5
4026 echo "$as_me: error: GRUB requires GAS .code16 addr32 support; upgrade your binutils" >&2;}
4027 { (exit 1); exit 1; }; }
4031 echo "$as_me:$LINENO: checking whether an absolute indirect call/jump must not be prefixed with an asterisk" >&5
4032 echo $ECHO_N "checking whether an absolute indirect call/jump must not be prefixed with an asterisk... $ECHO_C" >&6
4033 if test "${grub_cv_asm_absolute_without_asterisk+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 cat > conftest.s
<<\EOF
4043 if { ac_try
='${CC-cc} ${CFLAGS} -c conftest.s'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; } && test -s conftest.o
; then
4049 grub_cv_asm_absolute_without_asterisk
=no
4051 grub_cv_asm_absolute_without_asterisk
=yes
4058 if test "x$grub_cv_asm_absolute_without_asterisk" = xyes
; then
4060 cat >>confdefs.h
<<\_ACEOF
4061 #define ABSOLUTE_WITHOUT_ASTERISK 1
4066 echo "$as_me:$LINENO: result: $grub_cv_asm_absolute_without_asterisk" >&5
4067 echo "${ECHO_T}$grub_cv_asm_absolute_without_asterisk" >&6
4070 echo "$as_me:$LINENO: checking if start is defined by the compiler" >&5
4071 echo $ECHO_N "checking if start is defined by the compiler... $ECHO_C" >&6
4072 if test "${grub_cv_check_start_symbol+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4090 rm -f conftest.
$ac_objext conftest
$ac_exeext
4091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4092 (eval $ac_link) 2>conftest.er1
4094 grep -v '^ *+' conftest.er1
>conftest.err
4096 cat conftest.err
>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try
='test -z "$ac_c_werror_flag"
4100 || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try
='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 grub_cv_check_start_symbol
=yes
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.
$ac_ext >&5
4117 grub_cv_check_start_symbol
=no
4119 rm -f conftest.err conftest.
$ac_objext \
4120 conftest
$ac_exeext conftest.
$ac_ext
4124 if test "x$grub_cv_check_start_symbol" = xyes
; then
4126 cat >>confdefs.h
<<\_ACEOF
4127 #define HAVE_START_SYMBOL 1
4132 echo "$as_me:$LINENO: result: $grub_cv_check_start_symbol" >&5
4133 echo "${ECHO_T}$grub_cv_check_start_symbol" >&6
4136 echo "$as_me:$LINENO: checking if _start is defined by the compiler" >&5
4137 echo $ECHO_N "checking if _start is defined by the compiler... $ECHO_C" >&6
4138 if test "${grub_cv_check_uscore_start_symbol+set}" = set; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 cat >conftest.
$ac_ext <<_ACEOF
4144 cat confdefs.h
>>conftest.
$ac_ext
4145 cat >>conftest.
$ac_ext <<_ACEOF
4146 /* end confdefs.h. */
4156 rm -f conftest.
$ac_objext conftest
$ac_exeext
4157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4158 (eval $ac_link) 2>conftest.er1
4160 grep -v '^ *+' conftest.er1
>conftest.err
4162 cat conftest.err
>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } &&
4165 { ac_try
='test -z "$ac_c_werror_flag"
4166 || test ! -s conftest.err'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try
='test -s conftest$ac_exeext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 grub_cv_check_uscore_start_symbol
=yes
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.
$ac_ext >&5
4183 grub_cv_check_uscore_start_symbol
=no
4185 rm -f conftest.err conftest.
$ac_objext \
4186 conftest
$ac_exeext conftest.
$ac_ext
4190 if test "x$grub_cv_check_uscore_start_symbol" = xyes
; then
4192 cat >>confdefs.h
<<\_ACEOF
4193 #define HAVE_USCORE_START_SYMBOL 1
4198 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_start_symbol" >&5
4199 echo "${ECHO_T}$grub_cv_check_uscore_start_symbol" >&6
4201 if test "x$grub_cv_check_start_symbol" != "xyes" \
4202 -a "x$grub_cv_check_uscore_start_symbol" != "xyes"; then
4203 { { echo "$as_me:$LINENO: error: Neither start nor _start is defined" >&5
4204 echo "$as_me: error: Neither start nor _start is defined" >&2;}
4205 { (exit 1); exit 1; }; }
4209 echo "$as_me:$LINENO: checking if __bss_start is defined by the compiler" >&5
4210 echo $ECHO_N "checking if __bss_start is defined by the compiler... $ECHO_C" >&6
4211 if test "${grub_cv_check_uscore_uscore_bss_start_symbol+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4214 cat >conftest.
$ac_ext <<_ACEOF
4217 cat confdefs.h
>>conftest.
$ac_ext
4218 cat >>conftest.
$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4224 asm ("incl __bss_start")
4229 rm -f conftest.
$ac_objext conftest
$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>conftest.er1
4233 grep -v '^ *+' conftest.er1
>conftest.err
4235 cat conftest.err
>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } &&
4238 { ac_try
='test -z "$ac_c_werror_flag"
4239 || test ! -s conftest.err'
4240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244 (exit $ac_status); }; } &&
4245 { ac_try
='test -s conftest$ac_exeext'
4246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); }; }; then
4251 grub_cv_check_uscore_uscore_bss_start_symbol
=yes
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.
$ac_ext >&5
4256 grub_cv_check_uscore_uscore_bss_start_symbol
=no
4258 rm -f conftest.err conftest.
$ac_objext \
4259 conftest
$ac_exeext conftest.
$ac_ext
4263 if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" = xyes
; then
4265 cat >>confdefs.h
<<\_ACEOF
4266 #define HAVE_USCORE_USCORE_BSS_START_SYMBOL 1
4271 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_uscore_bss_start_symbol" >&5
4272 echo "${ECHO_T}$grub_cv_check_uscore_uscore_bss_start_symbol" >&6
4275 echo "$as_me:$LINENO: checking if _edata is defined by the compiler" >&5
4276 echo $ECHO_N "checking if _edata is defined by the compiler... $ECHO_C" >&6
4277 if test "${grub_cv_check_uscore_edata_symbol+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 cat >conftest.
$ac_ext <<_ACEOF
4283 cat confdefs.h
>>conftest.
$ac_ext
4284 cat >>conftest.
$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4295 rm -f conftest.
$ac_objext conftest
$ac_exeext
4296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4297 (eval $ac_link) 2>conftest.er1
4299 grep -v '^ *+' conftest.er1
>conftest.err
4301 cat conftest.err
>&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } &&
4304 { ac_try
='test -z "$ac_c_werror_flag"
4305 || test ! -s conftest.err'
4306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); }; } &&
4311 { ac_try
='test -s conftest$ac_exeext'
4312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4316 (exit $ac_status); }; }; then
4317 grub_cv_check_uscore_edata_symbol
=yes
4319 echo "$as_me: failed program was:" >&5
4320 sed 's/^/| /' conftest.
$ac_ext >&5
4322 grub_cv_check_uscore_edata_symbol
=no
4324 rm -f conftest.err conftest.
$ac_objext \
4325 conftest
$ac_exeext conftest.
$ac_ext
4329 if test "x$grub_cv_check_uscore_edata_symbol" = xyes
; then
4331 cat >>confdefs.h
<<\_ACEOF
4332 #define HAVE_USCORE_EDATA_SYMBOL 1
4337 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_edata_symbol" >&5
4338 echo "${ECHO_T}$grub_cv_check_uscore_edata_symbol" >&6
4341 echo "$as_me:$LINENO: checking if edata is defined by the compiler" >&5
4342 echo $ECHO_N "checking if edata is defined by the compiler... $ECHO_C" >&6
4343 if test "${grub_cv_check_edata_symbol+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 cat >conftest.
$ac_ext <<_ACEOF
4349 cat confdefs.h
>>conftest.
$ac_ext
4350 cat >>conftest.
$ac_ext <<_ACEOF
4351 /* end confdefs.h. */
4361 rm -f conftest.
$ac_objext conftest
$ac_exeext
4362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4363 (eval $ac_link) 2>conftest.er1
4365 grep -v '^ *+' conftest.er1
>conftest.err
4367 cat conftest.err
>&5
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); } &&
4370 { ac_try
='test -z "$ac_c_werror_flag"
4371 || test ! -s conftest.err'
4372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); }; } &&
4377 { ac_try
='test -s conftest$ac_exeext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 grub_cv_check_edata_symbol
=yes
4385 echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.
$ac_ext >&5
4388 grub_cv_check_edata_symbol
=no
4390 rm -f conftest.err conftest.
$ac_objext \
4391 conftest
$ac_exeext conftest.
$ac_ext
4395 if test "x$grub_cv_check_edata_symbol" = xyes
; then
4397 cat >>confdefs.h
<<\_ACEOF
4398 #define HAVE_EDATA_SYMBOL 1
4403 echo "$as_me:$LINENO: result: $grub_cv_check_edata_symbol" >&5
4404 echo "${ECHO_T}$grub_cv_check_edata_symbol" >&6
4406 if test "x$grub_cv_check_uscore_uscore_bss_start_symbol" != "xyes" \
4407 -a "x$grub_cv_check_uscore_edata_symbol" != "xyes" \
4408 -a "x$grub_cv_check_edata_symbol" != "xyes"; then
4409 { { echo "$as_me:$LINENO: error: None of __bss_start, _edata, edata defined" >&5
4410 echo "$as_me: error: None of __bss_start, _edata, edata defined" >&2;}
4411 { (exit 1); exit 1; }; }
4415 echo "$as_me:$LINENO: checking if end is defined by the compiler" >&5
4416 echo $ECHO_N "checking if end is defined by the compiler... $ECHO_C" >&6
4417 if test "${grub_cv_check_end_symbol+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 cat >conftest.
$ac_ext <<_ACEOF
4423 cat confdefs.h
>>conftest.
$ac_ext
4424 cat >>conftest.
$ac_ext <<_ACEOF
4425 /* end confdefs.h. */
4435 rm -f conftest.
$ac_objext conftest
$ac_exeext
4436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4437 (eval $ac_link) 2>conftest.er1
4439 grep -v '^ *+' conftest.er1
>conftest.err
4441 cat conftest.err
>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } &&
4444 { ac_try
='test -z "$ac_c_werror_flag"
4445 || test ! -s conftest.err'
4446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); }; } &&
4451 { ac_try
='test -s conftest$ac_exeext'
4452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; }; then
4457 grub_cv_check_end_symbol
=yes
4459 echo "$as_me: failed program was:" >&5
4460 sed 's/^/| /' conftest.
$ac_ext >&5
4462 grub_cv_check_end_symbol
=no
4464 rm -f conftest.err conftest.
$ac_objext \
4465 conftest
$ac_exeext conftest.
$ac_ext
4469 if test "x$grub_cv_check_end_symbol" = xyes
; then
4471 cat >>confdefs.h
<<\_ACEOF
4472 #define HAVE_END_SYMBOL 1
4477 echo "$as_me:$LINENO: result: $grub_cv_check_end_symbol" >&5
4478 echo "${ECHO_T}$grub_cv_check_end_symbol" >&6
4481 echo "$as_me:$LINENO: checking if _end is defined by the compiler" >&5
4482 echo $ECHO_N "checking if _end is defined by the compiler... $ECHO_C" >&6
4483 if test "${grub_cv_check_uscore_end_symbol+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 cat >conftest.
$ac_ext <<_ACEOF
4489 cat confdefs.h
>>conftest.
$ac_ext
4490 cat >>conftest.
$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4501 rm -f conftest.
$ac_objext conftest
$ac_exeext
4502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4503 (eval $ac_link) 2>conftest.er1
4505 grep -v '^ *+' conftest.er1
>conftest.err
4507 cat conftest.err
>&5
4508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); } &&
4510 { ac_try
='test -z "$ac_c_werror_flag"
4511 || test ! -s conftest.err'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; } &&
4517 { ac_try
='test -s conftest$ac_exeext'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; }; then
4523 grub_cv_check_uscore_end_symbol
=yes
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.
$ac_ext >&5
4528 grub_cv_check_uscore_end_symbol
=no
4530 rm -f conftest.err conftest.
$ac_objext \
4531 conftest
$ac_exeext conftest.
$ac_ext
4535 if test "x$grub_cv_check_uscore_end_symbol" = xyes
; then
4537 cat >>confdefs.h
<<\_ACEOF
4538 #define HAVE_USCORE_END_SYMBOL 1
4543 echo "$as_me:$LINENO: result: $grub_cv_check_uscore_end_symbol" >&5
4544 echo "${ECHO_T}$grub_cv_check_uscore_end_symbol" >&6
4546 if test "x$grub_cv_check_end_symbol" != "xyes" \
4547 -a "x$grub_cv_check_uscore_end_symbol" != "xyes"; then
4548 { { echo "$as_me:$LINENO: error: Neither end nor _end is defined" >&5
4549 echo "$as_me: error: Neither end nor _end is defined" >&2;}
4550 { (exit 1); exit 1; }; }
4553 # Check for curses libraries.
4555 # Check whether --with-curses or --without-curses was given.
4556 if test "${with_curses+set}" = set; then
4557 withval
="$with_curses"
4561 # Get the filename or the whole disk and open it.
4562 # Known to work on NetBSD.
4563 echo "$as_me:$LINENO: checking for opendisk in -lutil" >&5
4564 echo $ECHO_N "checking for opendisk in -lutil... $ECHO_C" >&6
4565 if test "${ac_cv_lib_util_opendisk+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 ac_check_lib_save_LIBS
=$LIBS
4570 cat >conftest.
$ac_ext <<_ACEOF
4573 cat confdefs.h
>>conftest.
$ac_ext
4574 cat >>conftest.
$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4577 /* Override any gcc2 internal prototype to avoid an error. */
4581 /* We use char because int might match the return type of a gcc2
4582 builtin and then its argument prototype would still apply. */
4592 rm -f conftest.
$ac_objext conftest
$ac_exeext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4594 (eval $ac_link) 2>conftest.er1
4596 grep -v '^ *+' conftest.er1
>conftest.err
4598 cat conftest.err
>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } &&
4601 { ac_try
='test -z "$ac_c_werror_flag"
4602 || test ! -s conftest.err'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; } &&
4608 { ac_try
='test -s conftest$ac_exeext'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 ac_cv_lib_util_opendisk
=yes
4616 echo "$as_me: failed program was:" >&5
4617 sed 's/^/| /' conftest.
$ac_ext >&5
4619 ac_cv_lib_util_opendisk
=no
4621 rm -f conftest.err conftest.
$ac_objext \
4622 conftest
$ac_exeext conftest.
$ac_ext
4623 LIBS
=$ac_check_lib_save_LIBS
4625 echo "$as_me:$LINENO: result: $ac_cv_lib_util_opendisk" >&5
4626 echo "${ECHO_T}$ac_cv_lib_util_opendisk" >&6
4627 if test $ac_cv_lib_util_opendisk = yes; then
4628 GRUB_LIBS
="$GRUB_LIBS -lutil"
4630 cat >>confdefs.h
<<\_ACEOF
4631 #define HAVE_OPENDISK 1
4637 # Unless the user specify --without-curses, check for curses.
4638 if test "x$with_curses" != "xno"; then
4639 echo "$as_me:$LINENO: checking for wgetch in -lncurses" >&5
4640 echo $ECHO_N "checking for wgetch in -lncurses... $ECHO_C" >&6
4641 if test "${ac_cv_lib_ncurses_wgetch+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 ac_check_lib_save_LIBS
=$LIBS
4645 LIBS
="-lncurses $LIBS"
4646 cat >conftest.
$ac_ext <<_ACEOF
4649 cat confdefs.h
>>conftest.
$ac_ext
4650 cat >>conftest.
$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4653 /* Override any gcc2 internal prototype to avoid an error. */
4657 /* We use char because int might match the return type of a gcc2
4658 builtin and then its argument prototype would still apply. */
4668 rm -f conftest.
$ac_objext conftest
$ac_exeext
4669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4670 (eval $ac_link) 2>conftest.er1
4672 grep -v '^ *+' conftest.er1
>conftest.err
4674 cat conftest.err
>&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } &&
4677 { ac_try
='test -z "$ac_c_werror_flag"
4678 || test ! -s conftest.err'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; } &&
4684 { ac_try
='test -s conftest$ac_exeext'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4690 ac_cv_lib_ncurses_wgetch
=yes
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4695 ac_cv_lib_ncurses_wgetch
=no
4697 rm -f conftest.err conftest.
$ac_objext \
4698 conftest
$ac_exeext conftest.
$ac_ext
4699 LIBS
=$ac_check_lib_save_LIBS
4701 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_wgetch" >&5
4702 echo "${ECHO_T}$ac_cv_lib_ncurses_wgetch" >&6
4703 if test $ac_cv_lib_ncurses_wgetch = yes; then
4704 GRUB_LIBS
="$GRUB_LIBS -lncurses"
4706 cat >>confdefs.h
<<\_ACEOF
4707 #define HAVE_LIBCURSES 1
4711 echo "$as_me:$LINENO: checking for wgetch in -lcurses" >&5
4712 echo $ECHO_N "checking for wgetch in -lcurses... $ECHO_C" >&6
4713 if test "${ac_cv_lib_curses_wgetch+set}" = set; then
4714 echo $ECHO_N "(cached) $ECHO_C" >&6
4716 ac_check_lib_save_LIBS
=$LIBS
4717 LIBS
="-lcurses $LIBS"
4718 cat >conftest.
$ac_ext <<_ACEOF
4721 cat confdefs.h
>>conftest.
$ac_ext
4722 cat >>conftest.
$ac_ext <<_ACEOF
4723 /* end confdefs.h. */
4725 /* Override any gcc2 internal prototype to avoid an error. */
4729 /* We use char because int might match the return type of a gcc2
4730 builtin and then its argument prototype would still apply. */
4740 rm -f conftest.
$ac_objext conftest
$ac_exeext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4742 (eval $ac_link) 2>conftest.er1
4744 grep -v '^ *+' conftest.er1
>conftest.err
4746 cat conftest.err
>&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); } &&
4749 { ac_try
='test -z "$ac_c_werror_flag"
4750 || test ! -s conftest.err'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; } &&
4756 { ac_try
='test -s conftest$ac_exeext'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; }; then
4762 ac_cv_lib_curses_wgetch
=yes
4764 echo "$as_me: failed program was:" >&5
4765 sed 's/^/| /' conftest.
$ac_ext >&5
4767 ac_cv_lib_curses_wgetch
=no
4769 rm -f conftest.err conftest.
$ac_objext \
4770 conftest
$ac_exeext conftest.
$ac_ext
4771 LIBS
=$ac_check_lib_save_LIBS
4773 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_wgetch" >&5
4774 echo "${ECHO_T}$ac_cv_lib_curses_wgetch" >&6
4775 if test $ac_cv_lib_curses_wgetch = yes; then
4776 GRUB_LIBS
="$GRUB_LIBS -lcurses"
4778 cat >>confdefs.h
<<\_ACEOF
4779 #define HAVE_LIBCURSES 1
4790 # Check for headers.
4792 ac_cpp
='$CPP $CPPFLAGS'
4793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4796 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4797 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4798 # On Suns, sometimes $CPP names a directory.
4799 if test -n "$CPP" && test -d "$CPP"; then
4802 if test -z "$CPP"; then
4803 if test "${ac_cv_prog_CPP+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 # Double quotes because CPP needs to be expanded
4807 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4810 for ac_c_preproc_warn_flag
in '' yes
4812 # Use a header file that comes with gcc, so configuring glibc
4813 # with a fresh cross-compiler works.
4814 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4815 # <limits.h> exists even on freestanding compilers.
4816 # On the NeXT, cc -E runs the code through the compiler's parser,
4817 # not just through cpp. "Syntax error" is here to catch this case.
4818 cat >conftest.
$ac_ext <<_ACEOF
4821 cat confdefs.h
>>conftest.
$ac_ext
4822 cat >>conftest.
$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4825 # include <limits.h>
4827 # include <assert.h>
4831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4834 grep -v '^ *+' conftest.er1
>conftest.err
4836 cat conftest.err
>&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } >/dev
/null
; then
4839 if test -s conftest.err
; then
4840 ac_cpp_err
=$ac_c_preproc_warn_flag
4841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4848 if test -z "$ac_cpp_err"; then
4851 echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.
$ac_ext >&5
4854 # Broken: fails on valid input.
4857 rm -f conftest.err conftest.
$ac_ext
4859 # OK, works on sane cases. Now check whether non-existent headers
4860 # can be detected and how.
4861 cat >conftest.
$ac_ext <<_ACEOF
4864 cat confdefs.h
>>conftest.
$ac_ext
4865 cat >>conftest.
$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4867 #include <ac_nonexistent.h>
4869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4870 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4872 grep -v '^ *+' conftest.er1
>conftest.err
4874 cat conftest.err
>&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); } >/dev
/null
; then
4877 if test -s conftest.err
; then
4878 ac_cpp_err
=$ac_c_preproc_warn_flag
4879 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4886 if test -z "$ac_cpp_err"; then
4887 # Broken: success on invalid input.
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.
$ac_ext >&5
4893 # Passes both tests.
4897 rm -f conftest.err conftest.
$ac_ext
4900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4901 rm -f conftest.err conftest.
$ac_ext
4902 if $ac_preproc_ok; then
4914 echo "$as_me:$LINENO: result: $CPP" >&5
4915 echo "${ECHO_T}$CPP" >&6
4917 for ac_c_preproc_warn_flag
in '' yes
4919 # Use a header file that comes with gcc, so configuring glibc
4920 # with a fresh cross-compiler works.
4921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922 # <limits.h> exists even on freestanding compilers.
4923 # On the NeXT, cc -E runs the code through the compiler's parser,
4924 # not just through cpp. "Syntax error" is here to catch this case.
4925 cat >conftest.
$ac_ext <<_ACEOF
4928 cat confdefs.h
>>conftest.
$ac_ext
4929 cat >>conftest.
$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4932 # include <limits.h>
4934 # include <assert.h>
4938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4939 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4941 grep -v '^ *+' conftest.er1
>conftest.err
4943 cat conftest.err
>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } >/dev
/null
; then
4946 if test -s conftest.err
; then
4947 ac_cpp_err
=$ac_c_preproc_warn_flag
4948 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4955 if test -z "$ac_cpp_err"; then
4958 echo "$as_me: failed program was:" >&5
4959 sed 's/^/| /' conftest.
$ac_ext >&5
4961 # Broken: fails on valid input.
4964 rm -f conftest.err conftest.
$ac_ext
4966 # OK, works on sane cases. Now check whether non-existent headers
4967 # can be detected and how.
4968 cat >conftest.
$ac_ext <<_ACEOF
4971 cat confdefs.h
>>conftest.
$ac_ext
4972 cat >>conftest.
$ac_ext <<_ACEOF
4973 /* end confdefs.h. */
4974 #include <ac_nonexistent.h>
4976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4979 grep -v '^ *+' conftest.er1
>conftest.err
4981 cat conftest.err
>&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); } >/dev
/null
; then
4984 if test -s conftest.err
; then
4985 ac_cpp_err
=$ac_c_preproc_warn_flag
4986 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4993 if test -z "$ac_cpp_err"; then
4994 # Broken: success on invalid input.
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.
$ac_ext >&5
5000 # Passes both tests.
5004 rm -f conftest.err conftest.
$ac_ext
5007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5008 rm -f conftest.err conftest.
$ac_ext
5009 if $ac_preproc_ok; then
5012 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5013 See \`config.log' for more details." >&5
5014 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5015 See \`config.log' for more details." >&2;}
5016 { (exit 1); exit 1; }; }
5020 ac_cpp
='$CPP $CPPFLAGS'
5021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5026 echo "$as_me:$LINENO: checking for egrep" >&5
5027 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5028 if test "${ac_cv_prog_egrep+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6
5031 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5032 then ac_cv_prog_egrep
='grep -E'
5033 else ac_cv_prog_egrep
='egrep'
5036 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5037 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5038 EGREP
=$ac_cv_prog_egrep
5041 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5042 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5043 if test "${ac_cv_header_stdc+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 cat >conftest.
$ac_ext <<_ACEOF
5049 cat confdefs.h
>>conftest.
$ac_ext
5050 cat >>conftest.
$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5065 rm -f conftest.
$ac_objext
5066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5067 (eval $ac_compile) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } &&
5074 { ac_try
='test -z "$ac_c_werror_flag"
5075 || test ! -s conftest.err'
5076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5080 (exit $ac_status); }; } &&
5081 { ac_try
='test -s conftest.$ac_objext'
5082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }; }; then
5087 ac_cv_header_stdc
=yes
5089 echo "$as_me: failed program was:" >&5
5090 sed 's/^/| /' conftest.
$ac_ext >&5
5092 ac_cv_header_stdc
=no
5094 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5096 if test $ac_cv_header_stdc = yes; then
5097 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5098 cat >conftest.
$ac_ext <<_ACEOF
5101 cat confdefs.h
>>conftest.
$ac_ext
5102 cat >>conftest.
$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5107 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5108 $EGREP "memchr" >/dev
/null
2>&1; then
5111 ac_cv_header_stdc
=no
5117 if test $ac_cv_header_stdc = yes; then
5118 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5129 $EGREP "free" >/dev
/null
2>&1; then
5132 ac_cv_header_stdc
=no
5138 if test $ac_cv_header_stdc = yes; then
5139 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5140 if test "$cross_compiling" = yes; then
5143 cat >conftest.
$ac_ext <<_ACEOF
5146 cat confdefs.h
>>conftest.
$ac_ext
5147 cat >>conftest.
$ac_ext <<_ACEOF
5148 /* end confdefs.h. */
5150 #if ((' ' & 0x0FF) == 0x020)
5151 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5152 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5154 # define ISLOWER(c) \
5155 (('a' <= (c) && (c) <= 'i') \
5156 || ('j' <= (c) && (c) <= 'r') \
5157 || ('s' <= (c) && (c) <= 'z'))
5158 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5161 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5166 for (i = 0; i < 256; i++)
5167 if (XOR (islower (i), ISLOWER (i))
5168 || toupper (i) != TOUPPER (i))
5173 rm -f conftest
$ac_exeext
5174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5175 (eval $ac_link) 2>&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; }; then
5186 echo "$as_me: program exited with status $ac_status" >&5
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5191 ac_cv_header_stdc
=no
5193 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5197 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5198 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5199 if test $ac_cv_header_stdc = yes; then
5201 cat >>confdefs.h
<<\_ACEOF
5202 #define STDC_HEADERS 1
5207 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5217 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5218 inttypes.h stdint.h unistd.h
5220 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5221 echo "$as_me:$LINENO: checking for $ac_header" >&5
5222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5224 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 cat >conftest.
$ac_ext <<_ACEOF
5229 cat confdefs.h
>>conftest.
$ac_ext
5230 cat >>conftest.
$ac_ext <<_ACEOF
5231 /* end confdefs.h. */
5232 $ac_includes_default
5234 #include <$ac_header>
5236 rm -f conftest.
$ac_objext
5237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5238 (eval $ac_compile) 2>conftest.er1
5240 grep -v '^ *+' conftest.er1
>conftest.err
5242 cat conftest.err
>&5
5243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5244 (exit $ac_status); } &&
5245 { ac_try
='test -z "$ac_c_werror_flag"
5246 || test ! -s conftest.err'
5247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }; } &&
5252 { ac_try
='test -s conftest.$ac_objext'
5253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }; }; then
5258 eval "$as_ac_Header=yes"
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.
$ac_ext >&5
5263 eval "$as_ac_Header=no"
5265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5268 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5270 cat >>confdefs.h
<<_ACEOF
5271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5284 for ac_header
in string.h
strings.h ncurses
/curses.h ncurses.h curses.h
5286 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5288 echo "$as_me:$LINENO: checking for $ac_header" >&5
5289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5296 # Is the header compilable?
5297 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5299 cat >conftest.
$ac_ext <<_ACEOF
5302 cat confdefs.h
>>conftest.
$ac_ext
5303 cat >>conftest.
$ac_ext <<_ACEOF
5304 /* end confdefs.h. */
5305 $ac_includes_default
5306 #include <$ac_header>
5308 rm -f conftest.
$ac_objext
5309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5310 (eval $ac_compile) 2>conftest.er1
5312 grep -v '^ *+' conftest.er1
>conftest.err
5314 cat conftest.err
>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try
='test -z "$ac_c_werror_flag"
5318 || test ! -s conftest.err'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; } &&
5324 { ac_try
='test -s conftest.$ac_objext'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; }; then
5330 ac_header_compiler
=yes
5332 echo "$as_me: failed program was:" >&5
5333 sed 's/^/| /' conftest.
$ac_ext >&5
5335 ac_header_compiler
=no
5337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5338 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5339 echo "${ECHO_T}$ac_header_compiler" >&6
5341 # Is the header present?
5342 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5344 cat >conftest.
$ac_ext <<_ACEOF
5347 cat confdefs.h
>>conftest.
$ac_ext
5348 cat >>conftest.
$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5350 #include <$ac_header>
5352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5355 grep -v '^ *+' conftest.er1
>conftest.err
5357 cat conftest.err
>&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 (exit $ac_status); } >/dev
/null
; then
5360 if test -s conftest.err
; then
5361 ac_cpp_err
=$ac_c_preproc_warn_flag
5362 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5369 if test -z "$ac_cpp_err"; then
5370 ac_header_preproc
=yes
5372 echo "$as_me: failed program was:" >&5
5373 sed 's/^/| /' conftest.
$ac_ext >&5
5375 ac_header_preproc
=no
5377 rm -f conftest.err conftest.
$ac_ext
5378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5379 echo "${ECHO_T}$ac_header_preproc" >&6
5381 # So? What about this header?
5382 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5384 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5386 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5387 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5388 ac_header_preproc
=yes
5391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5395 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5396 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5398 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5400 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5402 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5405 ## ------------------------------- ##
5406 ## Report this to bug-grub@gnu.org ##
5407 ## ------------------------------- ##
5410 sed "s/^/$as_me: WARNING: /" >&2
5413 echo "$as_me:$LINENO: checking for $ac_header" >&5
5414 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5415 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5416 echo $ECHO_N "(cached) $ECHO_C" >&6
5418 eval "$as_ac_Header=\$ac_header_preproc"
5420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5424 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5425 cat >>confdefs.h
<<_ACEOF
5426 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5434 # Check for user options.
5436 # filesystems support.
5437 # Check whether --enable-ext2fs or --disable-ext2fs was given.
5438 if test "${enable_ext2fs+set}" = set; then
5439 enableval
="$enable_ext2fs"
5443 if test x
"$enable_ext2fs" != xno
; then
5444 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_EXT2FS=1"
5447 # Check whether --enable-fat or --disable-fat was given.
5448 if test "${enable_fat+set}" = set; then
5449 enableval
="$enable_fat"
5453 if test x
"$enable_fat" != xno
; then
5454 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_FAT=1"
5457 # Check whether --enable-ffs or --disable-ffs was given.
5458 if test "${enable_ffs+set}" = set; then
5459 enableval
="$enable_ffs"
5463 if test x
"$enable_ffs" != xno
; then
5464 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_FFS=1"
5467 # Check whether --enable-ufs2 or --disable-ufs2 was given.
5468 if test "${enable_ufs2+set}" = set; then
5469 enableval
="$enable_ufs2"
5473 if test x
"$enable_ufs2" != xno
; then
5474 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_UFS2=1"
5477 # Check whether --enable-minix or --disable-minix was given.
5478 if test "${enable_minix+set}" = set; then
5479 enableval
="$enable_minix"
5483 if test x
"$enable_minix" != xno
; then
5484 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_MINIX=1"
5487 # Check whether --enable-reiserfs or --disable-reiserfs was given.
5488 if test "${enable_reiserfs+set}" = set; then
5489 enableval
="$enable_reiserfs"
5493 if test x
"$enable_reiserfs" != xno
; then
5494 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_REISERFS=1"
5497 # Check whether --enable-vstafs or --disable-vstafs was given.
5498 if test "${enable_vstafs+set}" = set; then
5499 enableval
="$enable_vstafs"
5503 if test x
"$enable_vstafs" != xno
; then
5504 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_VSTAFS=1"
5507 # Check whether --enable-jfs or --disable-jfs was given.
5508 if test "${enable_jfs+set}" = set; then
5509 enableval
="$enable_jfs"
5513 if test x
"$enable_jfs" != xno
; then
5514 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_JFS=1"
5517 # Check whether --enable-xfs or --disable-xfs was given.
5518 if test "${enable_xfs+set}" = set; then
5519 enableval
="$enable_xfs"
5523 if test x
"$enable_xfs" != xno
; then
5524 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_XFS=1"
5527 # Check whether --enable-iso9660 or --disable-iso9660 was given.
5528 if test "${enable_iso9660+set}" = set; then
5529 enableval
="$enable_iso9660"
5533 if test x
"$enable_iso9660" != xno
; then
5534 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_ISO9660=1"
5537 # Check whether --enable-affs or --disable-affs was given.
5538 if test "${enable_affs+set}" = set; then
5539 enableval
="$enable_affs"
5543 if test x
"$enable_affs" != xno
; then
5544 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_AFFS=1"
5548 # Check whether --enable-gunzip or --disable-gunzip was given.
5549 if test "${enable_gunzip+set}" = set; then
5550 enableval
="$enable_gunzip"
5554 if test x
"$enable_gunzip" = xno
; then
5555 FSYS_CFLAGS
="$FSYS_CFLAGS -DNO_DECOMPRESSION=1"
5558 # Check whether --enable-md5-password or --disable-md5-password was given.
5559 if test "${enable_md5_password+set}" = set; then
5560 enableval
="$enable_md5_password"
5563 if test "x$enable_md5_password" != xno
; then
5564 FSYS_CFLAGS
="$FSYS_CFLAGS -DUSE_MD5_PASSWORDS=1"
5567 # Check whether --enable-packet-retransmission or --disable-packet-retransmission was given.
5568 if test "${enable_packet_retransmission+set}" = set; then
5569 enableval
="$enable_packet_retransmission"
5572 if test "x$enable_packet_retransmission" != xno
; then
5573 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DCONGESTED=1"
5576 # Check whether --enable-pci-direct or --disable-pci-direct was given.
5577 if test "${enable_pci_direct+set}" = set; then
5578 enableval
="$enable_pci_direct"
5581 if test "x$enable_pci_direct" = xyes
; then
5582 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DCONFIG_PCI_DIRECT=1"
5585 # Check whether --enable-3c509 or --disable-3c509 was given.
5586 if test "${enable_3c509+set}" = set; then
5587 enableval
="$enable_3c509"
5590 if test "x$enable_3c509" = xyes
; then
5591 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_3C509"
5592 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS 3c509.o"
5595 # Check whether --enable-3c529 or --disable-3c529 was given.
5596 if test "${enable_3c529+set}" = set; then
5597 enableval
="$enable_3c529"
5600 if test "x$enable_3c529" = xyes
; then
5601 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_3C529=1"
5602 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS 3c529.o"
5605 # Check whether --enable-3c595 or --disable-3c595 was given.
5606 if test "${enable_3c595+set}" = set; then
5607 enableval
="$enable_3c595"
5610 if test "x$enable_3c595" = xyes
; then
5611 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_3C595=1"
5612 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS 3c595.o"
5615 # Check whether --enable-3c90x or --disable-3c90x was given.
5616 if test "${enable_3c90x+set}" = set; then
5617 enableval
="$enable_3c90x"
5620 if test "x$enable_3c90x" = xyes
; then
5621 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_3C90X=1"
5622 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS 3c90x.o"
5625 # Check whether --enable-cs89x0 or --disable-cs89x0 was given.
5626 if test "${enable_cs89x0+set}" = set; then
5627 enableval
="$enable_cs89x0"
5630 if test "x$enable_cs89x0" = xyes
; then
5631 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_CS89X0=1"
5632 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS cs89x0.o"
5635 # Check whether --enable-davicom or --disable-davicom was given.
5636 if test "${enable_davicom+set}" = set; then
5637 enableval
="$enable_davicom"
5640 if test "x$enable_davicom" = xyes
; then
5641 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_DAVICOM=1"
5642 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS davicom.o"
5645 # Check whether --enable-depca or --disable-depca was given.
5646 if test "${enable_depca+set}" = set; then
5647 enableval
="$enable_depca"
5650 if test "x$enable_depca" = xyes
; then
5651 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_DEPCA=1"
5652 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS depca.o"
5655 # Check whether --enable-eepro or --disable-eepro was given.
5656 if test "${enable_eepro+set}" = set; then
5657 enableval
="$enable_eepro"
5660 if test "x$enable_eepro" = xyes
; then
5661 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_EEPRO=1"
5662 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS eepro.o"
5665 # Check whether --enable-eepro100 or --disable-eepro100 was given.
5666 if test "${enable_eepro100+set}" = set; then
5667 enableval
="$enable_eepro100"
5670 if test "x$enable_eepro100" = xyes
; then
5671 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_EEPRO100=1"
5672 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS eepro100.o"
5675 # Check whether --enable-epic100 or --disable-epic100 was given.
5676 if test "${enable_epic100+set}" = set; then
5677 enableval
="$enable_epic100"
5680 if test "x$enable_epic100" = xyes
; then
5681 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_EPIC100=1"
5682 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS epic100.o"
5685 # Check whether --enable-3c507 or --disable-3c507 was given.
5686 if test "${enable_3c507+set}" = set; then
5687 enableval
="$enable_3c507"
5690 if test "x$enable_3c507" = xyes
; then
5691 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_3C507=1"
5692 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS 3c507.o"
5695 # Check whether --enable-exos205 or --disable-exos205 was given.
5696 if test "${enable_exos205+set}" = set; then
5697 enableval
="$enable_exos205"
5700 if test "x$enable_exos205" = xyes
; then
5701 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_EXOS205=1"
5702 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS exos205.o"
5705 # Check whether --enable-ni5210 or --disable-ni5210 was given.
5706 if test "${enable_ni5210+set}" = set; then
5707 enableval
="$enable_ni5210"
5710 if test "x$enable_ni5210" = xyes
; then
5711 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NI5210=1"
5712 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS ni5210.o"
5715 # Check whether --enable-lance or --disable-lance was given.
5716 if test "${enable_lance+set}" = set; then
5717 enableval
="$enable_lance"
5720 if test "x$enable_lance" = xyes
; then
5721 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_LANCE=1"
5722 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS lance.o"
5725 # Check whether --enable-ne2100 or --disable-ne2100 was given.
5726 if test "${enable_ne2100+set}" = set; then
5727 enableval
="$enable_ne2100"
5730 if test "x$enable_ne2100" = xyes
; then
5731 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NE2100=1"
5732 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS ne2100.o"
5735 # Check whether --enable-ni6510 or --disable-ni6510 was given.
5736 if test "${enable_ni6510+set}" = set; then
5737 enableval
="$enable_ni6510"
5740 if test "x$enable_ni6510" = xyes
; then
5741 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NI6510=1"
5742 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS ni6510.o"
5745 # Check whether --enable-natsemi or --disable-natsemi was given.
5746 if test "${enable_natsemi+set}" = set; then
5747 enableval
="$enable_natsemi"
5750 if test "x$enable_natsemi" = xyes
; then
5751 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NATSEMI=1"
5752 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS natsemi.o"
5755 # Check whether --enable-ni5010 or --disable-ni5010 was given.
5756 if test "${enable_ni5010+set}" = set; then
5757 enableval
="$enable_ni5010"
5760 if test "x$enable_ni5010" = xyes
; then
5761 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NI5010=1"
5762 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS ni5010.o"
5765 # Check whether --enable-3c503 or --disable-3c503 was given.
5766 if test "${enable_3c503+set}" = set; then
5767 enableval
="$enable_3c503"
5770 if test "x$enable_3c503" = xyes
; then
5771 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_3C503=1"
5772 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS 3c503.o"
5775 # Check whether --enable-ne or --disable-ne was given.
5776 if test "${enable_ne+set}" = set; then
5777 enableval
="$enable_ne"
5780 if test "x$enable_ne" = xyes
; then
5781 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NE=1"
5782 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS ne.o"
5785 # Check whether --enable-ns8390 or --disable-ns8390 was given.
5786 if test "${enable_ns8390+set}" = set; then
5787 enableval
="$enable_ns8390"
5790 if test "x$enable_ns8390" = xyes
; then
5791 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_NS8390=1"
5792 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS ns8390.o"
5795 # Check whether --enable-wd or --disable-wd was given.
5796 if test "${enable_wd+set}" = set; then
5797 enableval
="$enable_wd"
5800 if test "x$enable_wd" = xyes
; then
5801 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_WD=1"
5802 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS wd.o"
5805 # Check whether --enable-otulip or --disable-otulip was given.
5806 if test "${enable_otulip+set}" = set; then
5807 enableval
="$enable_otulip"
5810 if test "x$enable_otulip" = xyes
; then
5811 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_OTULIP=1"
5812 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS otulip.o"
5815 # Check whether --enable-rtl8139 or --disable-rtl8139 was given.
5816 if test "${enable_rtl8139+set}" = set; then
5817 enableval
="$enable_rtl8139"
5820 if test "x$enable_rtl8139" = xyes
; then
5821 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_RTL8139=1"
5822 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS rtl8139.o"
5825 # Check whether --enable-sis900 or --disable-sis900 was given.
5826 if test "${enable_sis900+set}" = set; then
5827 enableval
="$enable_sis900"
5830 if test "x$enable_sis900" = xyes
; then
5831 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_SIS900=1"
5832 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS sis900.o"
5835 # Check whether --enable-sk-g16 or --disable-sk-g16 was given.
5836 if test "${enable_sk_g16+set}" = set; then
5837 enableval
="$enable_sk_g16"
5840 if test "x$enable_sk_g16" = xyes
; then
5841 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_SK_G16=1"
5842 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS sk_g16.o"
5845 # Check whether --enable-smc9000 or --disable-smc9000 was given.
5846 if test "${enable_smc9000+set}" = set; then
5847 enableval
="$enable_smc9000"
5850 if test "x$enable_smc9000" = xyes
; then
5851 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_SMC9000=1"
5852 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS smc9000.o"
5855 # Check whether --enable-tiara or --disable-tiara was given.
5856 if test "${enable_tiara+set}" = set; then
5857 enableval
="$enable_tiara"
5860 if test "x$enable_tiara" = xyes
; then
5861 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_TIARA=1"
5862 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS tiara.o"
5865 # Check whether --enable-tulip or --disable-tulip was given.
5866 if test "${enable_tulip+set}" = set; then
5867 enableval
="$enable_tulip"
5870 if test "x$enable_tulip" = xyes
; then
5871 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_TULIP=1"
5872 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS tulip.o"
5875 # Check whether --enable-via-rhine or --disable-via-rhine was given.
5876 if test "${enable_via_rhine+set}" = set; then
5877 enableval
="$enable_via_rhine"
5880 if test "x$enable_via_rhine" = xyes
; then
5881 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_VIA_RHINE=1"
5882 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS via_rhine.o"
5885 # Check whether --enable-w89c840 or --disable-w89c840 was given.
5886 if test "${enable_w89c840+set}" = set; then
5887 enableval
="$enable_w89c840"
5890 if test "x$enable_w89c840" = xyes
; then
5891 NET_CFLAGS
="$NET_CFLAGS -DINCLUDE_W89C840=1"
5892 NETBOOT_DRIVERS
="$NETBOOT_DRIVERS w89c840.o"
5897 if test "x$NET_CFLAGS" != x
; then
5898 NETBOOT_SUPPORT_TRUE
=
5899 NETBOOT_SUPPORT_FALSE
='#'
5901 NETBOOT_SUPPORT_TRUE
='#'
5902 NETBOOT_SUPPORT_FALSE
=
5905 if test "x$NET_CFLAGS" != x
; then
5906 FSYS_CFLAGS
="$FSYS_CFLAGS -DFSYS_TFTP=1"
5909 # Check whether --enable-3c503-shmem or --disable-3c503-shmem was given.
5910 if test "${enable_3c503_shmem+set}" = set; then
5911 enableval
="$enable_3c503_shmem"
5914 if test "x$enable_3c503_shmem" = xyes
; then
5915 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DT503_SHMEM=1"
5918 # Check whether --enable-3c503-aui or --disable-3c503-aui was given.
5919 if test "${enable_3c503_aui+set}" = set; then
5920 enableval
="$enable_3c503_aui"
5923 if test "x$enable_3c503_aui" = xyes
; then
5924 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DT503_AUI=1"
5927 # Check whether --enable-compex-rl2000-fix or --disable-compex-rl2000-fix was given.
5928 if test "${enable_compex_rl2000_fix+set}" = set; then
5929 enableval
="$enable_compex_rl2000_fix"
5932 if test "x$enable_compex_rl2000_fix" = xyes
; then
5933 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DCOMPEX_RL2000_FIX=1"
5936 # Check whether --enable-smc9000-scan or --disable-smc9000-scan was given.
5937 if test "${enable_smc9000_scan+set}" = set; then
5938 enableval
="$enable_smc9000_scan"
5939 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DSMC9000_SCAN=$enable_smc9000_scan"
5942 # Check whether --enable-ne-scan or --disable-ne-scan was given.
5943 if test "${enable_ne_scan+set}" = set; then
5944 enableval
="$enable_ne_scan"
5945 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DNE_SCAN=$enable_ne_scan"
5947 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DNE_SCAN=0x280,0x300,0x320,0x340"
5950 # Check whether --enable-wd-default-mem or --disable-wd-default-mem was given.
5951 if test "${enable_wd_default_mem+set}" = set; then
5952 enableval
="$enable_wd_default_mem"
5953 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DWD_DEFAULT_MEM=$enable_wd_default_mem"
5955 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DWD_DEFAULT_MEM=0xCC000"
5958 # Check whether --enable-cs-scan or --disable-cs-scan was given.
5959 if test "${enable_cs_scan+set}" = set; then
5960 enableval
="$enable_cs_scan"
5961 NET_EXTRAFLAGS
="$NET_EXTRAFLAGS -DCS_SCAN=$enable_cs_scan"
5964 # Check whether --enable-diskless or --disable-diskless was given.
5965 if test "${enable_diskless+set}" = set; then
5966 enableval
="$enable_diskless"
5971 if test "x$enable_diskless" = xyes
; then
5972 DISKLESS_SUPPORT_TRUE
=
5973 DISKLESS_SUPPORT_FALSE
='#'
5975 DISKLESS_SUPPORT_TRUE
='#'
5976 DISKLESS_SUPPORT_FALSE
=
5980 # Check whether --enable-hercules or --disable-hercules was given.
5981 if test "${enable_hercules+set}" = set; then
5982 enableval
="$enable_hercules"
5987 if test "x$enable_hercules" != xno
; then
5988 HERCULES_SUPPORT_TRUE
=
5989 HERCULES_SUPPORT_FALSE
='#'
5991 HERCULES_SUPPORT_TRUE
='#'
5992 HERCULES_SUPPORT_FALSE
=
5996 # Check whether --enable-serial or --disable-serial was given.
5997 if test "${enable_serial+set}" = set; then
5998 enableval
="$enable_serial"
6003 if test "x$enable_serial" != xno
; then
6004 SERIAL_SUPPORT_TRUE
=
6005 SERIAL_SUPPORT_FALSE
='#'
6007 SERIAL_SUPPORT_TRUE
='#'
6008 SERIAL_SUPPORT_FALSE
=
6012 # Check whether --enable-serial-speed-simulation or --disable-serial-speed-simulation was given.
6013 if test "${enable_serial_speed_simulation+set}" = set; then
6014 enableval
="$enable_serial_speed_simulation"
6019 if test "x$enable_serial_speed_simulation" = xyes
; then
6020 SERIAL_SPEED_SIMULATION_TRUE
=
6021 SERIAL_SPEED_SIMULATION_FALSE
='#'
6023 SERIAL_SPEED_SIMULATION_TRUE
='#'
6024 SERIAL_SPEED_SIMULATION_FALSE
=
6029 if test "x$enable_diskless" = xyes
; then
6030 if test "x$NET_CFLAGS" = x
; then
6031 { { echo "$as_me:$LINENO: error: You must enable at least one network driver" >&5
6032 echo "$as_me: error: You must enable at least one network driver" >&2;}
6033 { (exit 1); exit 1; }; }
6037 # Check whether --enable-preset-menu or --disable-preset-menu was given.
6038 if test "${enable_preset_menu+set}" = set; then
6039 enableval
="$enable_preset_menu"
6042 if test "x$enable_preset_menu" = x
; then
6045 if test -r $enable_preset_menu; then
6047 # Because early versions of GNU sed 3.x are too buggy, use a C program
6048 # instead of shell commands. *sigh*
6049 cat >conftest.c
<<\EOF
6057 while ((c
= getchar
()) != EOF
)
6062 fputs
("\\n", stdout
);
6065 fputs
("\\r", stdout
);
6068 fputs
("\\\\", stdout
);
6071 fputs
("\\\"", stdout
);
6082 if { ac_try
='${CC_FOR_BUILD-cc} ${CFLAGS} conftest.c -o conftest'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; } && test -s conftest
; then
6088 grub_tmp_value
=`./conftest < "$enable_preset_menu"`
6090 { { echo "$as_me:$LINENO: error: ${CC-cc} failed to produce an executable file" >&5
6091 echo "$as_me: error: ${CC-cc} failed to produce an executable file" >&2;}
6092 { (exit 1); exit 1; }; }
6096 cat >>confdefs.h
<<_ACEOF
6097 #define PRESET_MENU_STRING "$grub_tmp_value"
6103 { { echo "$as_me:$LINENO: error: Cannot read the preset menu file $enable_preset_menu" >&5
6104 echo "$as_me: error: Cannot read the preset menu file $enable_preset_menu" >&2;}
6105 { (exit 1); exit 1; }; }
6109 # Check whether --enable-example-kernel or --disable-example-kernel was given.
6110 if test "${enable_example_kernel+set}" = set; then
6111 enableval
="$enable_example_kernel"
6116 if test "x$enable_example_kernel" = xyes
; then
6117 BUILD_EXAMPLE_KERNEL_TRUE
=
6118 BUILD_EXAMPLE_KERNEL_FALSE
='#'
6120 BUILD_EXAMPLE_KERNEL_TRUE
='#'
6121 BUILD_EXAMPLE_KERNEL_FALSE
=
6125 # Check whether --enable-auto-linux-mem-opt or --disable-auto-linux-mem-opt was given.
6126 if test "${enable_auto_linux_mem_opt+set}" = set; then
6127 enableval
="$enable_auto_linux_mem_opt"
6130 if test "x$enable_auto_linux_mem_opt" = xno
; then
6134 cat >>confdefs.h
<<\_ACEOF
6135 #define AUTO_LINUX_MEM_OPT 1
6145 CCASFLAGS
='$(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)'
6149 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"
6151 cat >confcache
<<\_ACEOF
6152 # This file is a shell script that caches the results of configure
6153 # tests run on this system so they can be shared between configure
6154 # scripts and configure runs, see configure's option --config-cache.
6155 # It is not useful on other systems. If it contains results you don't
6156 # want to keep, you may remove or edit it.
6158 # config.status only pays attention to the cache file if you give it
6159 # the --recheck option to rerun configure.
6161 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6162 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6167 # The following way of writing the cache mishandles newlines in values,
6168 # but we know of no workaround that is simple, portable, and efficient.
6169 # So, don't put newlines in cache variables' values.
6170 # Ultrix sh set writes to stderr and can't be redirected directly,
6171 # and sets the high bit in the cache file unless we assign to the vars.
6174 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6176 # `set' does not quote correctly, so add quotes (double-quote
6177 # substitution turns \\\\ into \\, and sed turns \\ into \).
6180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6183 # `set' quotes correctly as required by POSIX, so do not add quotes.
6185 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6192 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6194 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6196 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6197 if test -w $cache_file; then
6198 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6199 cat confcache
>$cache_file
6201 echo "not updating unwritable cache $cache_file"
6206 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6207 # Let make expand exec_prefix.
6208 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6210 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6211 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6212 # trailing colons and then remove the whole line if VPATH becomes empty
6213 # (actually we leave an empty line to preserve line numbers).
6214 if test "x$srcdir" = x.
; then
6215 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6216 s/:*\$(srcdir):*/:/;
6217 s/:*\${srcdir}:*/:/;
6219 s/^\([^=]*=[ ]*\):*/\1/;
6225 DEFS
=-DHAVE_CONFIG_H
6229 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6230 # 1. Remove the extension, and $U if already installed.
6231 ac_i
=`echo "$ac_i" |
6232 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6234 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6235 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6239 LTLIBOBJS
=$ac_ltlibobjs
6242 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6243 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6244 Usually this means the macro was only invoked conditionally." >&5
6245 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6246 Usually this means the macro was only invoked conditionally." >&2;}
6247 { (exit 1); exit 1; }; }
6249 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6250 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6251 Usually this means the macro was only invoked conditionally." >&5
6252 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6253 Usually this means the macro was only invoked conditionally." >&2;}
6254 { (exit 1); exit 1; }; }
6256 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6257 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6258 Usually this means the macro was only invoked conditionally." >&5
6259 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6260 Usually this means the macro was only invoked conditionally." >&2;}
6261 { (exit 1); exit 1; }; }
6263 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6264 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6265 Usually this means the macro was only invoked conditionally." >&5
6266 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6267 Usually this means the macro was only invoked conditionally." >&2;}
6268 { (exit 1); exit 1; }; }
6270 if test -z "${NETBOOT_SUPPORT_TRUE}" && test -z "${NETBOOT_SUPPORT_FALSE}"; then
6271 { { echo "$as_me:$LINENO: error: conditional \"NETBOOT_SUPPORT\" was never defined.
6272 Usually this means the macro was only invoked conditionally." >&5
6273 echo "$as_me: error: conditional \"NETBOOT_SUPPORT\" was never defined.
6274 Usually this means the macro was only invoked conditionally." >&2;}
6275 { (exit 1); exit 1; }; }
6277 if test -z "${DISKLESS_SUPPORT_TRUE}" && test -z "${DISKLESS_SUPPORT_FALSE}"; then
6278 { { echo "$as_me:$LINENO: error: conditional \"DISKLESS_SUPPORT\" was never defined.
6279 Usually this means the macro was only invoked conditionally." >&5
6280 echo "$as_me: error: conditional \"DISKLESS_SUPPORT\" was never defined.
6281 Usually this means the macro was only invoked conditionally." >&2;}
6282 { (exit 1); exit 1; }; }
6284 if test -z "${HERCULES_SUPPORT_TRUE}" && test -z "${HERCULES_SUPPORT_FALSE}"; then
6285 { { echo "$as_me:$LINENO: error: conditional \"HERCULES_SUPPORT\" was never defined.
6286 Usually this means the macro was only invoked conditionally." >&5
6287 echo "$as_me: error: conditional \"HERCULES_SUPPORT\" was never defined.
6288 Usually this means the macro was only invoked conditionally." >&2;}
6289 { (exit 1); exit 1; }; }
6291 if test -z "${SERIAL_SUPPORT_TRUE}" && test -z "${SERIAL_SUPPORT_FALSE}"; then
6292 { { echo "$as_me:$LINENO: error: conditional \"SERIAL_SUPPORT\" was never defined.
6293 Usually this means the macro was only invoked conditionally." >&5
6294 echo "$as_me: error: conditional \"SERIAL_SUPPORT\" was never defined.
6295 Usually this means the macro was only invoked conditionally." >&2;}
6296 { (exit 1); exit 1; }; }
6298 if test -z "${SERIAL_SPEED_SIMULATION_TRUE}" && test -z "${SERIAL_SPEED_SIMULATION_FALSE}"; then
6299 { { echo "$as_me:$LINENO: error: conditional \"SERIAL_SPEED_SIMULATION\" was never defined.
6300 Usually this means the macro was only invoked conditionally." >&5
6301 echo "$as_me: error: conditional \"SERIAL_SPEED_SIMULATION\" was never defined.
6302 Usually this means the macro was only invoked conditionally." >&2;}
6303 { (exit 1); exit 1; }; }
6305 if test -z "${BUILD_EXAMPLE_KERNEL_TRUE}" && test -z "${BUILD_EXAMPLE_KERNEL_FALSE}"; then
6306 { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXAMPLE_KERNEL\" was never defined.
6307 Usually this means the macro was only invoked conditionally." >&5
6308 echo "$as_me: error: conditional \"BUILD_EXAMPLE_KERNEL\" was never defined.
6309 Usually this means the macro was only invoked conditionally." >&2;}
6310 { (exit 1); exit 1; }; }
6313 : ${CONFIG_STATUS=./config.status}
6314 ac_clean_files_save
=$ac_clean_files
6315 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6316 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6317 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6318 cat >$CONFIG_STATUS <<_ACEOF
6320 # Generated by $as_me.
6321 # Run this file to recreate the current configuration.
6322 # Compiler output produced by configure, useful for debugging
6323 # configure, is in config.log if it exists.
6328 SHELL=\${CONFIG_SHELL-$SHELL}
6331 cat >>$CONFIG_STATUS <<\_ACEOF
6332 ## --------------------- ##
6333 ## M4sh Initialization. ##
6334 ## --------------------- ##
6336 # Be Bourne compatible
6337 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6340 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6341 # is contrary to our usage. Disable this feature.
6342 alias -g '${1+"$@"}'='"$@"'
6343 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6346 DUALCASE
=1; export DUALCASE
# for MKS sh
6348 # Support unset when possible.
6349 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6356 # Work around bugs in pre-3.0 UWIN ksh.
6357 $as_unset ENV MAIL MAILPATH
6364 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6365 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6366 LC_TELEPHONE LC_TIME
6368 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6369 eval $as_var=C
; export $as_var
6375 # Required to use basename.
6376 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6382 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6383 as_basename
=basename
6389 # Name of the executable.
6390 as_me
=`$as_basename "$0" ||
6391 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6392 X"$0" : 'X\(//\)$' \| \
6393 X"$0" : 'X\(/\)$' \| \
6394 . : '\(.\)' 2>/dev/null ||
6396 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6397 /^X\/\(\/\/\)$/{ s//\1/; q; }
6398 /^X\/\(\/\).*/{ s//\1/; q; }
6402 # PATH needs CR, and LINENO needs CR and PATH.
6403 # Avoid depending upon Character Ranges.
6404 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6405 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6406 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6407 as_cr_digits
='0123456789'
6408 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6410 # The user is always right.
6411 if test "${PATH_SEPARATOR+set}" != set; then
6412 echo "#! /bin/sh" >conf$$.sh
6413 echo "exit 0" >>conf$$.sh
6415 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6426 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6427 test "x$as_lineno_1" != "x$as_lineno_2" &&
6428 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6429 # Find who we are. Look in the path if we contain no path at all
6432 *[\\/]* ) as_myself
=$0 ;;
6433 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6443 # We did not find ourselves, most probably we were run as `sh COMMAND'
6444 # in which case we are not to be found in the path.
6445 if test "x$as_myself" = x
; then
6448 if test ! -f "$as_myself"; then
6449 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6450 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6451 { (exit 1); exit 1; }; }
6453 case $CONFIG_SHELL in
6455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6456 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6459 test -z "$as_dir" && as_dir
=.
6460 for as_base
in sh bash ksh sh5
; do
6463 if ("$as_dir/$as_base" -c '
6466 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6467 test "x$as_lineno_1" != "x$as_lineno_2" &&
6468 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6469 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6470 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6471 CONFIG_SHELL
=$as_dir/$as_base
6473 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6481 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6482 # uniformly replaced by the line number. The first 'sed' inserts a
6483 # line-number line before each line; the second 'sed' does the real
6484 # work. The second script uses 'N' to pair each line-number line
6485 # with the numbered line, and appends trailing '-' during
6486 # substitution so that $LINENO is not a special case at line end.
6487 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6488 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6489 sed '=' <$as_myself |
6494 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6497 s,^['$as_cr_digits']*\n,,
6499 chmod +x
$as_me.lineno ||
6500 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6501 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6502 { (exit 1); exit 1; }; }
6504 # Don't try to exec as it changes $[0], causing all sort of problems
6505 # (the dirname of $[0] is not the place where we might find the
6506 # original and so on. Autoconf is especially sensible to this).
6508 # Exit status is that of the last command.
6513 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6514 *c
*,-n*) ECHO_N
= ECHO_C
='
6516 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6517 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6520 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6526 rm -f conf$$ conf$$.exe conf$$.
file
6528 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6529 # We could just check for DJGPP; but this test a) works b) is more generic
6530 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6531 if test -f conf$$.exe
; then
6532 # Don't use ln at all; we don't have any links
6537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6542 rm -f conf$$ conf$$.exe conf$$.
file
6544 if mkdir
-p .
2>/dev
/null
; then
6547 test -d .
/-p && rmdir .
/-p
6551 as_executable_p
="test -f"
6553 # Sed expression to map a string onto a valid CPP name.
6554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6556 # Sed expression to map a string onto a valid variable name.
6557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6561 # We need space, tab and new line, in precisely that order.
6571 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6572 # report actual input values of CONFIG_FILES etc. instead of their
6573 # values after options handling. Logging --version etc. is OK.
6577 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6578 ## Running $as_me. ##
6583 This file was extended by GRUB $as_me 0.97, which was
6584 generated by GNU Autoconf 2.59. Invocation command line was
6586 CONFIG_FILES = $CONFIG_FILES
6587 CONFIG_HEADERS = $CONFIG_HEADERS
6588 CONFIG_LINKS = $CONFIG_LINKS
6589 CONFIG_COMMANDS = $CONFIG_COMMANDS
6593 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6597 # Files that config.status was made for.
6598 if test -n "$ac_config_files"; then
6599 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6602 if test -n "$ac_config_headers"; then
6603 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6606 if test -n "$ac_config_links"; then
6607 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6610 if test -n "$ac_config_commands"; then
6611 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6614 cat >>$CONFIG_STATUS <<\_ACEOF
6617 \`$as_me' instantiates files from templates according to the
6618 current configuration.
6620 Usage: $0 [OPTIONS] [FILE]...
6622 -h, --help print this help, then exit
6623 -V, --version print version number, then exit
6624 -q, --quiet do not print progress messages
6625 -d, --debug don't remove temporary files
6626 --recheck update $as_me by reconfiguring in the same conditions
6627 --file=FILE[:TEMPLATE]
6628 instantiate the configuration file FILE
6629 --header=FILE[:TEMPLATE]
6630 instantiate the configuration header FILE
6632 Configuration files:
6635 Configuration headers:
6638 Configuration commands:
6641 Report bugs to <bug-autoconf@gnu.org>."
6644 cat >>$CONFIG_STATUS <<_ACEOF
6646 GRUB config.status 0.97
6647 configured by $0, generated by GNU Autoconf 2.59,
6648 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6650 Copyright (C) 2003 Free Software Foundation, Inc.
6651 This config.status script is free software; the Free Software Foundation
6652 gives unlimited permission to copy, distribute and modify it."
6657 cat >>$CONFIG_STATUS <<\_ACEOF
6658 # If no file are specified by the user, then we need to provide default
6659 # value. By we need to know if files were specified by the user.
6665 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6666 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6674 *) # This is not an option, so the user has probably given explicit
6677 ac_need_defaults
=false
;;
6681 # Handling of the options.
6683 cat >>$CONFIG_STATUS <<\_ACEOF
6684 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6686 --version |
--vers* |
-V )
6687 echo "$ac_cs_version"; exit 0 ;;
6689 # Conflict between --help and --header
6690 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6691 Try \`$0 --help' for more information." >&5
6692 echo "$as_me: error: ambiguous option: $1
6693 Try \`$0 --help' for more information." >&2;}
6694 { (exit 1); exit 1; }; };;
6695 --help |
--hel |
-h )
6696 echo "$ac_cs_usage"; exit 0 ;;
6697 --debug |
--d* |
-d )
6699 --file |
--fil |
--fi |
--f )
6701 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6702 ac_need_defaults
=false
;;
6703 --header |
--heade |
--head |
--hea )
6705 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6706 ac_need_defaults
=false
;;
6707 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6708 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6712 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6713 Try \`$0 --help' for more information." >&5
6714 echo "$as_me: error: unrecognized option: $1
6715 Try \`$0 --help' for more information." >&2;}
6716 { (exit 1); exit 1; }; } ;;
6718 *) ac_config_targets
="$ac_config_targets $1" ;;
6724 ac_configure_extra_args
=
6726 if $ac_cs_silent; then
6728 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6732 cat >>$CONFIG_STATUS <<_ACEOF
6733 if \$ac_cs_recheck; then
6734 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6735 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6740 cat >>$CONFIG_STATUS <<_ACEOF
6742 # INIT-COMMANDS section.
6745 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6751 cat >>$CONFIG_STATUS <<\_ACEOF
6752 for ac_config_target
in $ac_config_targets
6754 case "$ac_config_target" in
6755 # Handling of arguments.
6756 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6757 "stage1/Makefile" ) CONFIG_FILES
="$CONFIG_FILES stage1/Makefile" ;;
6758 "stage2/Makefile" ) CONFIG_FILES
="$CONFIG_FILES stage2/Makefile" ;;
6759 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
6760 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
6761 "util/Makefile" ) CONFIG_FILES
="$CONFIG_FILES util/Makefile" ;;
6762 "grub/Makefile" ) CONFIG_FILES
="$CONFIG_FILES grub/Makefile" ;;
6763 "netboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES netboot/Makefile" ;;
6764 "util/grub-image" ) CONFIG_FILES
="$CONFIG_FILES util/grub-image" ;;
6765 "util/grub-install" ) CONFIG_FILES
="$CONFIG_FILES util/grub-install" ;;
6766 "util/grub-md5-crypt" ) CONFIG_FILES
="$CONFIG_FILES util/grub-md5-crypt" ;;
6767 "util/grub-terminfo" ) CONFIG_FILES
="$CONFIG_FILES util/grub-terminfo" ;;
6768 "util/grub-set-default" ) CONFIG_FILES
="$CONFIG_FILES util/grub-set-default" ;;
6769 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6770 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6771 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6772 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6773 { (exit 1); exit 1; }; };;
6777 # If the user did not use the arguments to specify the items to instantiate,
6778 # then the envvar interface is used. Set only those that are not.
6779 # We use the long form for the default assignment because of an extremely
6780 # bizarre bug on SunOS 4.1.3.
6781 if $ac_need_defaults; then
6782 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6783 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6784 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6787 # Have a temporary directory for convenience. Make it in the build tree
6788 # simply because there is no reason to put it here, and in addition,
6789 # creating and moving files from /tmp can sometimes cause problems.
6790 # Create a temporary directory, and hook for its removal unless debugging.
6793 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6794 trap '{ (exit 1); exit 1; }' 1 2 13 15
6797 # Create a (secure) tmp directory for tmp files.
6800 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6801 test -n "$tmp" && test -d "$tmp"
6804 tmp
=.
/confstat$$
-$RANDOM
6805 (umask 077 && mkdir
$tmp)
6808 echo "$me: cannot create a temporary directory in ." >&2
6809 { (exit 1); exit 1; }
6814 cat >>$CONFIG_STATUS <<_ACEOF
6817 # CONFIG_FILES section.
6820 # No need to generate the scripts if there are no CONFIG_FILES.
6821 # This happens for instance when ./config.status config.h
6822 if test -n "\$CONFIG_FILES"; then
6823 # Protect against being on the right side of a sed subst in config.status.
6824 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6825 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6826 s,@SHELL@,$SHELL,;t t
6827 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6828 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6829 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6830 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6831 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6832 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6833 s,@exec_prefix@,$exec_prefix,;t t
6834 s,@prefix@,$prefix,;t t
6835 s,@program_transform_name@,$program_transform_name,;t t
6836 s,@bindir@,$bindir,;t t
6837 s,@sbindir@,$sbindir,;t t
6838 s,@libexecdir@,$libexecdir,;t t
6839 s,@datadir@,$datadir,;t t
6840 s,@sysconfdir@,$sysconfdir,;t t
6841 s,@sharedstatedir@,$sharedstatedir,;t t
6842 s,@localstatedir@,$localstatedir,;t t
6843 s,@libdir@,$libdir,;t t
6844 s,@includedir@,$includedir,;t t
6845 s,@oldincludedir@,$oldincludedir,;t t
6846 s,@infodir@,$infodir,;t t
6847 s,@mandir@,$mandir,;t t
6848 s,@build_alias@,$build_alias,;t t
6849 s,@host_alias@,$host_alias,;t t
6850 s,@target_alias@,$target_alias,;t t
6852 s,@ECHO_C@,$ECHO_C,;t t
6853 s,@ECHO_N@,$ECHO_N,;t t
6854 s,@ECHO_T@,$ECHO_T,;t t
6856 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6857 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6858 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6859 s,@CYGPATH_W@,$CYGPATH_W,;t t
6860 s,@PACKAGE@,$PACKAGE,;t t
6861 s,@VERSION@,$VERSION,;t t
6862 s,@ACLOCAL@,$ACLOCAL,;t t
6863 s,@AUTOCONF@,$AUTOCONF,;t t
6864 s,@AUTOMAKE@,$AUTOMAKE,;t t
6865 s,@AUTOHEADER@,$AUTOHEADER,;t t
6866 s,@MAKEINFO@,$MAKEINFO,;t t
6867 s,@install_sh@,$install_sh,;t t
6868 s,@STRIP@,$STRIP,;t t
6869 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6870 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6871 s,@mkdir_p@,$mkdir_p,;t t
6873 s,@SET_MAKE@,$SET_MAKE,;t t
6874 s,@am__leading_dot@,$am__leading_dot,;t t
6875 s,@AMTAR@,$AMTAR,;t t
6876 s,@am__tar@,$am__tar,;t t
6877 s,@am__untar@,$am__untar,;t t
6878 s,@build@,$build,;t t
6879 s,@build_cpu@,$build_cpu,;t t
6880 s,@build_vendor@,$build_vendor,;t t
6881 s,@build_os@,$build_os,;t t
6883 s,@host_cpu@,$host_cpu,;t t
6884 s,@host_vendor@,$host_vendor,;t t
6885 s,@host_os@,$host_os,;t t
6886 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
6887 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
6888 s,@MAINT@,$MAINT,;t t
6891 s,@ac_ct_CC@,$ac_ct_CC,;t t
6892 s,@CFLAGS@,$CFLAGS,;t t
6893 s,@LDFLAGS@,$LDFLAGS,;t t
6894 s,@CPPFLAGS@,$CPPFLAGS,;t t
6895 s,@EXEEXT@,$EXEEXT,;t t
6896 s,@OBJEXT@,$OBJEXT,;t t
6897 s,@DEPDIR@,$DEPDIR,;t t
6898 s,@am__include@,$am__include,;t t
6899 s,@am__quote@,$am__quote,;t t
6900 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6901 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6902 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6903 s,@CCDEPMODE@,$CCDEPMODE,;t t
6904 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6905 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6907 s,@RANLIB@,$RANLIB,;t t
6908 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6909 s,@STAGE1_CFLAGS@,$STAGE1_CFLAGS,;t t
6910 s,@STAGE2_CFLAGS@,$STAGE2_CFLAGS,;t t
6911 s,@GRUB_CFLAGS@,$GRUB_CFLAGS,;t t
6912 s,@OBJCOPY@,$OBJCOPY,;t t
6913 s,@ac_ct_OBJCOPY@,$ac_ct_OBJCOPY,;t t
6914 s,@GRUB_LIBS@,$GRUB_LIBS,;t t
6916 s,@EGREP@,$EGREP,;t t
6917 s,@NETBOOT_SUPPORT_TRUE@,$NETBOOT_SUPPORT_TRUE,;t t
6918 s,@NETBOOT_SUPPORT_FALSE@,$NETBOOT_SUPPORT_FALSE,;t t
6919 s,@DISKLESS_SUPPORT_TRUE@,$DISKLESS_SUPPORT_TRUE,;t t
6920 s,@DISKLESS_SUPPORT_FALSE@,$DISKLESS_SUPPORT_FALSE,;t t
6921 s,@HERCULES_SUPPORT_TRUE@,$HERCULES_SUPPORT_TRUE,;t t
6922 s,@HERCULES_SUPPORT_FALSE@,$HERCULES_SUPPORT_FALSE,;t t
6923 s,@SERIAL_SUPPORT_TRUE@,$SERIAL_SUPPORT_TRUE,;t t
6924 s,@SERIAL_SUPPORT_FALSE@,$SERIAL_SUPPORT_FALSE,;t t
6925 s,@SERIAL_SPEED_SIMULATION_TRUE@,$SERIAL_SPEED_SIMULATION_TRUE,;t t
6926 s,@SERIAL_SPEED_SIMULATION_FALSE@,$SERIAL_SPEED_SIMULATION_FALSE,;t t
6927 s,@BUILD_EXAMPLE_KERNEL_TRUE@,$BUILD_EXAMPLE_KERNEL_TRUE,;t t
6928 s,@BUILD_EXAMPLE_KERNEL_FALSE@,$BUILD_EXAMPLE_KERNEL_FALSE,;t t
6929 s,@FSYS_CFLAGS@,$FSYS_CFLAGS,;t t
6930 s,@NET_CFLAGS@,$NET_CFLAGS,;t t
6931 s,@NET_EXTRAFLAGS@,$NET_EXTRAFLAGS,;t t
6932 s,@NETBOOT_DRIVERS@,$NETBOOT_DRIVERS,;t t
6933 s,@CCASFLAGS@,$CCASFLAGS,;t t
6934 s,@LIBOBJS@,$LIBOBJS,;t t
6935 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6940 cat >>$CONFIG_STATUS <<\_ACEOF
6941 # Split the substitutions into bite-sized pieces for seds with
6942 # small command number limits, like on Digital OSF/1 and HP-UX.
6944 ac_sed_frag
=1 # Number of current file.
6945 ac_beg
=1 # First line for current file.
6946 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6949 while $ac_more_lines; do
6950 if test $ac_beg -gt 1; then
6951 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6953 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6955 if test ! -s $tmp/subs.frag
; then
6958 # The purpose of the label and of the branching condition is to
6959 # speed up the sed processing (if there are no `@' at all, there
6960 # is no need to browse any of the substitutions).
6961 # These are the two extra sed commands mentioned above.
6963 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6964 if test -z "$ac_sed_cmds"; then
6965 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6967 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6969 ac_sed_frag
=`expr $ac_sed_frag + 1`
6971 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6974 if test -z "$ac_sed_cmds"; then
6977 fi # test -n "$CONFIG_FILES"
6980 cat >>$CONFIG_STATUS <<\_ACEOF
6981 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6982 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6984 - |
*:- |
*:-:* ) # input from stdin
6986 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6987 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6988 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6989 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6990 * ) ac_file_in
=$ac_file.
in ;;
6993 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6994 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6995 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6996 X"$ac_file" : 'X\(//\)[^/]' \| \
6997 X"$ac_file" : 'X\(//\)$' \| \
6998 X"$ac_file" : 'X\(/\)' \| \
6999 . : '\(.\)' 2>/dev/null ||
7001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7003 /^X\(\/\/\)$/{ s//\1/; q; }
7004 /^X\(\/\).*/{ s//\1/; q; }
7006 { if $as_mkdir_p; then
7011 while test ! -d "$as_dir"; do
7012 as_dirs
="$as_dir $as_dirs"
7013 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7015 X"$as_dir" : 'X\(//\)[^/]' \| \
7016 X"$as_dir" : 'X\(//\)$' \| \
7017 X"$as_dir" : 'X\(/\)' \| \
7018 . : '\(.\)' 2>/dev/null ||
7020 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7021 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7022 /^X\(\/\/\)$/{ s//\1/; q; }
7023 /^X\(\/\).*/{ s//\1/; q; }
7026 test ! -n "$as_dirs" || mkdir
$as_dirs
7027 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7028 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7029 { (exit 1); exit 1; }; }; }
7033 if test "$ac_dir" != .
; then
7034 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7035 # A "../" for each directory in $ac_dir_suffix.
7036 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7038 ac_dir_suffix
= ac_top_builddir
=
7042 .
) # No --srcdir option. We are building in place.
7044 if test -z "$ac_top_builddir"; then
7047 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7049 [\\/]* | ?
:[\\/]* ) # Absolute path.
7050 ac_srcdir
=$srcdir$ac_dir_suffix;
7051 ac_top_srcdir
=$srcdir ;;
7053 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7054 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7057 # Do not use `cd foo && pwd` to compute absolute paths, because
7058 # the directories may not exist.
7060 .
) ac_abs_builddir
="$ac_dir";;
7063 .
) ac_abs_builddir
=`pwd`;;
7064 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7065 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7068 case $ac_abs_builddir in
7069 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7071 case ${ac_top_builddir}.
in
7072 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7073 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7074 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7077 case $ac_abs_builddir in
7078 .
) ac_abs_srcdir
=$ac_srcdir;;
7081 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7082 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7083 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7086 case $ac_abs_builddir in
7087 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7089 case $ac_top_srcdir in
7090 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7091 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7092 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7098 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7099 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7102 if test x
"$ac_file" != x-
; then
7103 { echo "$as_me:$LINENO: creating $ac_file" >&5
7104 echo "$as_me: creating $ac_file" >&6;}
7107 # Let's still pretend it is `configure' which instantiates (i.e., don't
7108 # use $as_me), people would be surprised to read:
7109 # /* config.h. Generated by config.status. */
7110 if test x
"$ac_file" = x-
; then
7113 configure_input
="$ac_file. "
7115 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7116 sed 's,.*/,,'` by configure."
7118 # First look for the input files in the build tree, otherwise in the
7120 ac_file_inputs
=`IFS=:
7121 for f in $ac_file_in; do
7123 -) echo $tmp/stdin ;;
7125 # Absolute (can't be DOS-style, as IFS=:)
7126 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7127 echo "$as_me: error: cannot find input file: $f" >&2;}
7128 { (exit 1); exit 1; }; }
7131 if test -f "$f"; then
7134 elif test -f "$srcdir/$f"; then
7139 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7140 echo "$as_me: error: cannot find input file: $f" >&2;}
7141 { (exit 1); exit 1; }; }
7144 done` ||
{ (exit 1); exit 1; }
7146 cat >>$CONFIG_STATUS <<_ACEOF
7150 cat >>$CONFIG_STATUS <<\_ACEOF
7152 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7153 s
,@configure_input@
,$configure_input,;t t
7154 s
,@srcdir@
,$ac_srcdir,;t t
7155 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7156 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7157 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7158 s
,@builddir@
,$ac_builddir,;t t
7159 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7160 s
,@top_builddir@
,$ac_top_builddir,;t t
7161 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7162 s
,@INSTALL@
,$ac_INSTALL,;t t
7163 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7165 if test x"$ac_file" != x-; then
7166 mv $tmp/out $ac_file
7174 cat >>$CONFIG_STATUS <<\_ACEOF
7177 # CONFIG_HEADER section.
7180 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7181 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7183 # ac_d sets the value in "#define NAME VALUE" lines.
7184 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7185 ac_dB
='[ ].*$,\1#\2'
7188 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7189 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7190 ac_uB
='$,\1#\2define\3'
7194 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7195 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7197 - |
*:- |
*:-:* ) # input from stdin
7199 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7200 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7201 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7202 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7203 * ) ac_file_in
=$ac_file.
in ;;
7206 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7207 echo "$as_me: creating $ac_file" >&6;}
7209 # First look for the input files in the build tree, otherwise in the
7211 ac_file_inputs
=`IFS=:
7212 for f in $ac_file_in; do
7214 -) echo $tmp/stdin ;;
7216 # Absolute (can't be DOS-style, as IFS=:)
7217 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7218 echo "$as_me: error: cannot find input file: $f" >&2;}
7219 { (exit 1); exit 1; }; }
7220 # Do quote $f, to prevent DOS paths from being IFS'd.
7223 if test -f "$f"; then
7226 elif test -f "$srcdir/$f"; then
7231 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7232 echo "$as_me: error: cannot find input file: $f" >&2;}
7233 { (exit 1); exit 1; }; }
7236 done` ||
{ (exit 1); exit 1; }
7237 # Remove the trailing spaces.
7238 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7242 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7243 # `conftest.undefs', that substitutes the proper values into
7244 # config.h.in to produce config.h. The first handles `#define'
7245 # templates, and the second `#undef' templates.
7246 # And first: Protect against being on the right side of a sed subst in
7247 # config.status. Protect against being in an unquoted here document
7249 rm -f conftest.defines conftest.undefs
7250 # Using a here document instead of a string reduces the quoting nightmare.
7251 # Putting comments in sed scripts is not portable.
7253 # `end' is used to avoid that the second main sed command (meant for
7254 # 0-ary CPP macros) applies to n-ary macro definitions.
7255 # See the Autoconf documentation for `clear'.
7256 cat >confdef2sed.
sed <<\_ACEOF
7261 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7263 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7266 # If some macros were called several times there might be several times
7267 # the same #defines, which is useless. Nevertheless, we may not want to
7268 # sort them, since we want the *last* AC-DEFINE to be honored.
7269 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7270 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7271 rm -f confdef2sed.sed
7273 # This sed command replaces #undef with comments. This is necessary, for
7274 # example, in the case of _POSIX_SOURCE, which is predefined and required
7275 # on some systems where configure will not decide to define it.
7276 cat >>conftest.undefs <<\_ACEOF
7277 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7280 # Break up conftest.defines because some shells have a limit on the size
7281 # of here documents, and old seds have small limits too (100 cmds).
7282 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7283 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7284 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7285 echo ' :' >>$CONFIG_STATUS
7287 while grep . conftest.defines >/dev/null
7289 # Write a limited-size here document to $tmp/defines.sed.
7290 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7291 # Speed up: don't consider the non `#define' lines.
7292 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7293 # Work around the forget-to-reset-the-flag bug.
7294 echo 't clr' >>$CONFIG_STATUS
7295 echo ': clr' >>$CONFIG_STATUS
7296 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7298 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7302 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7303 rm -f conftest.defines
7304 mv conftest.
tail conftest.defines
7306 rm -f conftest.defines
7307 echo ' fi # grep' >>$CONFIG_STATUS
7308 echo >>$CONFIG_STATUS
7310 # Break up conftest.undefs because some shells have a limit on the size
7311 # of here documents, and old seds have small limits too (100 cmds).
7312 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7314 while grep . conftest.undefs
>/dev
/null
7316 # Write a limited-size here document to $tmp/undefs.sed.
7317 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7318 # Speed up: don't consider the non
`#undef'
7319 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7320 # Work around the forget-to-reset-the-flag bug.
7321 echo 't clr' >>$CONFIG_STATUS
7322 echo ': clr' >>$CONFIG_STATUS
7323 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7325 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7329 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7330 rm -f conftest.undefs
7331 mv conftest.tail conftest.undefs
7333 rm -f conftest.undefs
7335 cat >>$CONFIG_STATUS <<\_ACEOF
7336 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7337 # use $as_me), people would be surprised to read:
7338 # /* config.h. Generated by config.status. */
7339 if test x
"$ac_file" = x-
; then
7340 echo "/* Generated by configure. */" >$tmp/config.h
7342 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7344 cat $tmp/in >>$tmp/config.h
7346 if test x
"$ac_file" != x-
; then
7347 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7348 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7349 echo "$as_me: $ac_file is unchanged" >&6;}
7351 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7352 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7353 X"$ac_file" : 'X\(//\)[^/]' \| \
7354 X"$ac_file" : 'X\(//\)$' \| \
7355 X"$ac_file" : 'X\(/\)' \| \
7356 . : '\(.\)' 2>/dev/null ||
7358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7360 /^X\(\/\/\)$/{ s//\1/; q; }
7361 /^X\(\/\).*/{ s//\1/; q; }
7363 { if $as_mkdir_p; then
7368 while test ! -d "$as_dir"; do
7369 as_dirs
="$as_dir $as_dirs"
7370 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7371 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7372 X"$as_dir" : 'X\(//\)[^/]' \| \
7373 X"$as_dir" : 'X\(//\)$' \| \
7374 X"$as_dir" : 'X\(/\)' \| \
7375 . : '\(.\)' 2>/dev/null ||
7377 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7378 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7379 /^X\(\/\/\)$/{ s//\1/; q; }
7380 /^X\(\/\).*/{ s//\1/; q; }
7383 test ! -n "$as_dirs" || mkdir
$as_dirs
7384 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7385 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7386 { (exit 1); exit 1; }; }; }
7389 mv $tmp/config.h
$ac_file
7395 # Compute $ac_file's index in $config_headers.
7397 for _am_header
in $config_headers :; do
7399 $ac_file |
$ac_file:* )
7402 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
7405 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7406 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7407 X$ac_file : 'X\(//\)[^/]' \| \
7408 X$ac_file : 'X\(//\)$' \| \
7409 X$ac_file : 'X\(/\)' \| \
7410 . : '\(.\)' 2>/dev/null ||
7412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7414 /^X\(\/\/\)$/{ s//\1/; q; }
7415 /^X\(\/\).*/{ s//\1/; q; }
7416 s/.*/./; q'`/stamp-h
$_am_stamp_count
7419 cat >>$CONFIG_STATUS <<\_ACEOF
7422 # CONFIG_COMMANDS section.
7424 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7425 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7426 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7427 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7428 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7429 X"$ac_dest" : 'X\(//\)[^/]' \| \
7430 X"$ac_dest" : 'X\(//\)$' \| \
7431 X"$ac_dest" : 'X\(/\)' \| \
7432 . : '\(.\)' 2>/dev/null ||
7434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7436 /^X\(\/\/\)$/{ s//\1/; q; }
7437 /^X\(\/\).*/{ s//\1/; q; }
7439 { if $as_mkdir_p; then
7444 while test ! -d "$as_dir"; do
7445 as_dirs
="$as_dir $as_dirs"
7446 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7448 X"$as_dir" : 'X\(//\)[^/]' \| \
7449 X"$as_dir" : 'X\(//\)$' \| \
7450 X"$as_dir" : 'X\(/\)' \| \
7451 . : '\(.\)' 2>/dev/null ||
7453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7455 /^X\(\/\/\)$/{ s//\1/; q; }
7456 /^X\(\/\).*/{ s//\1/; q; }
7459 test ! -n "$as_dirs" || mkdir
$as_dirs
7460 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7461 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7462 { (exit 1); exit 1; }; }; }
7466 if test "$ac_dir" != .
; then
7467 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7468 # A "../" for each directory in $ac_dir_suffix.
7469 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7471 ac_dir_suffix
= ac_top_builddir
=
7475 .
) # No --srcdir option. We are building in place.
7477 if test -z "$ac_top_builddir"; then
7480 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7482 [\\/]* | ?
:[\\/]* ) # Absolute path.
7483 ac_srcdir
=$srcdir$ac_dir_suffix;
7484 ac_top_srcdir
=$srcdir ;;
7486 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7487 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7490 # Do not use `cd foo && pwd` to compute absolute paths, because
7491 # the directories may not exist.
7493 .
) ac_abs_builddir
="$ac_dir";;
7496 .
) ac_abs_builddir
=`pwd`;;
7497 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7498 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7501 case $ac_abs_builddir in
7502 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7504 case ${ac_top_builddir}.
in
7505 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7506 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7507 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7510 case $ac_abs_builddir in
7511 .
) ac_abs_srcdir
=$ac_srcdir;;
7514 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7515 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7516 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7519 case $ac_abs_builddir in
7520 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7522 case $ac_top_srcdir in
7523 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7524 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7525 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7530 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7531 echo "$as_me: executing $ac_dest commands" >&6;}
7533 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7534 # Strip MF so we end up with the name of the file.
7535 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7536 # Check whether this is an Automake generated Makefile or not.
7537 # We used to match only the files named `Makefile.in', but
7538 # some people rename them; so instead we look at the file content.
7539 # Grep'ing the first line is not enough: some people post-process
7540 # each Makefile.in and add a new line on top of each file to say so.
7541 # So let's grep whole file.
7542 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7543 dirpart
=`(dirname "$mf") 2>/dev/null ||
7544 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7545 X"$mf" : 'X\(//\)[^/]' \| \
7546 X"$mf" : 'X\(//\)$' \| \
7547 X"$mf" : 'X\(/\)' \| \
7548 . : '\(.\)' 2>/dev/null ||
7550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7552 /^X\(\/\/\)$/{ s//\1/; q; }
7553 /^X\(\/\).*/{ s//\1/; q; }
7558 # Extract the definition of DEPDIR, am__include, and am__quote
7559 # from the Makefile without running `make'.
7560 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
7561 test -z "$DEPDIR" && continue
7562 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
7563 test -z "am__include" && continue
7564 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
7565 # When using ansi2knr, U may be empty or an underscore; expand it
7566 U
=`sed -n 's/^U = //p' < "$mf"`
7567 # Find all dependency output files, they are included files with
7568 # $(DEPDIR) in their names. We invoke sed twice because it is the
7569 # simplest approach to changing $(DEPDIR) to its actual value in the
7571 for file in `sed -n "
7572 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7573 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7574 # Make sure the directory exists.
7575 test -f "$dirpart/$file" && continue
7576 fdir
=`(dirname "$file") 2>/dev/null ||
7577 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7578 X"$file" : 'X\(//\)[^/]' \| \
7579 X"$file" : 'X\(//\)$' \| \
7580 X"$file" : 'X\(/\)' \| \
7581 . : '\(.\)' 2>/dev/null ||
7583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7584 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7585 /^X\(\/\/\)$/{ s//\1/; q; }
7586 /^X\(\/\).*/{ s//\1/; q; }
7588 { if $as_mkdir_p; then
7589 mkdir
-p $dirpart/$fdir
7591 as_dir
=$dirpart/$fdir
7593 while test ! -d "$as_dir"; do
7594 as_dirs
="$as_dir $as_dirs"
7595 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7597 X"$as_dir" : 'X\(//\)[^/]' \| \
7598 X"$as_dir" : 'X\(//\)$' \| \
7599 X"$as_dir" : 'X\(/\)' \| \
7600 . : '\(.\)' 2>/dev/null ||
7602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7603 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7604 /^X\(\/\/\)$/{ s//\1/; q; }
7605 /^X\(\/\).*/{ s//\1/; q; }
7608 test ! -n "$as_dirs" || mkdir
$as_dirs
7609 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7610 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7611 { (exit 1); exit 1; }; }; }
7613 # echo "creating $dirpart/$file"
7614 echo '# dummy' > "$dirpart/$file"
7622 cat >>$CONFIG_STATUS <<\_ACEOF
7624 { (exit 0); exit 0; }
7626 chmod +x
$CONFIG_STATUS
7627 ac_clean_files
=$ac_clean_files_save
7630 # configure is writing to config.log, and then calls config.status.
7631 # config.status does its own redirection, appending to config.log.
7632 # Unfortunately, on DOS this fails, as config.log is still kept open
7633 # by configure, so config.status won't be able to write to it; its
7634 # output is simply discarded. So we exec the FD to /dev/null,
7635 # effectively closing config.log, so it can be properly (re)opened and
7636 # appended to by config.status. When coming back to configure, we
7637 # need to make the FD available again.
7638 if test "$no_create" != yes; then
7640 ac_config_status_args
=
7641 test "$silent" = yes &&
7642 ac_config_status_args
="$ac_config_status_args --quiet"
7644 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7646 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7647 # would make configure fail if this is the last instruction.
7648 $ac_cs_success ||
{ (exit 1); exit 1; }