summaryrefslogtreecommitdiff
path: root/i386/linux
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2005-07-12 23:01:06 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:15:27 +0200
commit80fee10735b608b95cbcd01b97e3bd2e35d42c2d (patch)
tree9268c4ae4d42a4acc6a8b964331737bd513cc8ad /i386/linux
parent62bf63d99312f4d8ea2c148521dcff6c346741ad (diff)
2005-07-12 Guillem Jover <guillem@hadrons.org>
* configure: Regenerated. * i386/configure: Regenerated. * Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE. (AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED to 1. * aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed. * version.m4: New file. * Makefile.in: Use PACKAGE_VERSION, not VERSION. * doc/Makefile.in: Likewise. * version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach". * i386/linux/Makefile.in (configure): Change its source to configure.ac. * aclocal.m4: Add missing quotations. * Drivers.macros: Likewise. * configure.in: Likewise. Include version.m4 and use PACKAGE and VERSION m4 macros from it. * i386/configure.in: Likewise. (AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR. * i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude. * linux/configure.in: Likewise. * i386/configure.in: Update AC_DEFINE to the new three argument form. * i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE. * configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES. * linux/configure.in: Likewise. * i386/configure.in: Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. * i386/linux/configure.ac: Likewise. * linux/configure.in: Likewise * configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings. * Drivers.macros: Likewise. * i386/configure.in: Likewise. * i386/linux/configure.ac: Likewise. 2005-07-12 Neal H. Walfield <neal@cs.uml.edu> * configure.in: Update to use autoconf 2.57. Do not error out if host_os is not GNU. Update AC_DEFINEs to the required three argument form. Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use AC_PROG_CC. AC_SUBST(LDFLAGS). Refactor AC_CONFIG_SUBDIRS to not do variable substitution. Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. * i386/configure.in: Require autoconf 2.57. * linux/configure.in: Likewise. * i386/linux/Drivers.in: Move from here... * i386/linux/configure.ac: ... to here to conform to the environment autoreconf expects. (hurd_host_CPU): New macro. Call AC_PROG_CC, not AC_PROG_CC_LOCAL. AC_SUBST(LD_FLAGS). (flashpoint): Update AC_DEFINE to the new three argument form. * Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three argument form.
Diffstat (limited to 'i386/linux')
-rw-r--r--i386/linux/Drivers.in206
-rw-r--r--i386/linux/Makefile.in4
-rwxr-xr-xi386/linux/configure5854
-rw-r--r--i386/linux/configure.ac219
-rw-r--r--i386/linux/device-drivers.h.in298
5 files changed, 4507 insertions, 2074 deletions
diff --git a/i386/linux/Drivers.in b/i386/linux/Drivers.in
deleted file mode 100644
index 21e9293c..00000000
--- a/i386/linux/Drivers.in
+++ /dev/null
@@ -1,206 +0,0 @@
-dnl Device driver options for i386
-dnl Copyright 1997, 1999 Free Software Foundation, Inc.
-
-dnl Permission to use, copy, modify and distribute this software and its
-dnl documentation is hereby granted, provided that both the copyright
-dnl notice and this permission notice appear in all copies of the
-dnl software, derivative works or modified versions, and any portions
-dnl thereof, and that both notices appear in supporting documentation.
-dnl
-dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
-dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
-dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
-dnl USE OF THIS SOFTWARE.
-
-AC_INIT(dev/include/linux/autoconf.h)
-AC_PREREQ(2.12)
-
-sinclude([../../Drivers.macros])
-sinclude([../../aclocal.m4])
-
-AC_CONFIG_HEADER(device-drivers.h)
-
-dnl Check the cpu type.
-
-AC_CANONICAL_HOST
-
-case "$host_cpu" in
-i386) AC_DEFINE(CONFIG_M386)
- AC_DEFINE(CPU, 386) ;;
-i486) AC_DEFINE(CONFIG_M486)
- AC_DEFINE(CPU, 486) ;;
-i586) AC_DEFINE(CONFIG_M586)
- AC_DEFINE(CPU, 586) ;;
-i686) AC_DEFINE(CONFIG_M686)
- AC_DEFINE(CPU, 686) ;;
-*) AC_DEFINE(CONFIG_M486)
- AC_DEFINE(CPU, 486) ;;
-esac
-
-hurd_SYSTYPE
-
-AC_CHECK_TOOL(CC, gcc)
-AC_PROG_CC_LOCAL
-
-AC_CHECK_TOOL(LD, ld)
-
-
-dnl Aliases have to come first.
-
-AC_DRIVER_ALIAS(3c501, el1)
-AC_DRIVER_ALIAS(3c503, el2)
-AC_DRIVER_ALIAS(3c509, el3)
-AC_DRIVER_ALIAS(3c579, el3)
-AC_DRIVER_ALIAS(3c59x, vortex)
-AC_DRIVER_ALIAS(3c90x, vortex)
-AC_DRIVER_ALIAS(hpj2577, hp100)
-AC_DRIVER_ALIAS(hpj2573, hp100)
-AC_DRIVER_ALIAS(hpj2585, hp100)
-AC_DRIVER_ALIAS(hp27248b, hp100)
-AC_DRIVER_ALIAS(eth32, eth16i)
-AC_DRIVER_ALIAS(znote, znet)
-AC_DRIVER_ALIAS(de100, depca)
-AC_DRIVER_ALIAS(de101, depca)
-AC_DRIVER_ALIAS(de200, depca)
-AC_DRIVER_ALIAS(de201, depca)
-AC_DRIVER_ALIAS(de202, depca)
-AC_DRIVER_ALIAS(de210, depca)
-AC_DRIVER_ALIAS(de422, depca)
-AC_DRIVER_ALIAS(de203, ewrk3)
-AC_DRIVER_ALIAS(de204, ewrk3)
-AC_DRIVER_ALIAS(de205, ewrk3)
-AC_DRIVER_ALIAS(de425, de4x5)
-AC_DRIVER_ALIAS(de434, de4x5)
-AC_DRIVER_ALIAS(de435, de4x5)
-AC_DRIVER_ALIAS(de450, de4x5)
-AC_DRIVER_ALIAS(de500, de4x5)
-AC_DRIVER_ALIAS(3c507, el16)
-AC_DRIVER_ALIAS(3c505, elplus)
-AC_DRIVER_ALIAS(ne1000, ne2000)
-AC_DRIVER_ALIAS(ne, ne2000)
-AC_DRIVER_ALIAS(at1500, lance)
-AC_DRIVER_ALIAS(ne2100, lance)
-AC_DRIVER_ALIAS(tulip, elcp)
-AC_DRIVER_ALIAS(rtl8129, rtl8139)
-AC_DRIVER_ALIAS(aha2825, aha152x)
-AC_DRIVER_ALIAS(ncr53c400, ncr5380)
-AC_DRIVER_ALIAS(t128f, t128)
-AC_DRIVER_ALIAS(t228, t128)
-AC_DRIVER_ALIAS(am79c974, am53c974)
-AC_DRIVER_ALIAS(dtc3180, dtc3280)
-AC_DRIVER_ALIAS(dc390w, ncr53c8xx)
-AC_DRIVER_ALIAS(dc390u, ncr53c8xx)
-AC_DRIVER_ALIAS(dc390f, ncr53c8xx)
-AC_DRIVER_ALIAS(dc390, dc390t)
-AC_DRIVER_ALIAS(epic100, epic)
-
-
-dnl Kinds of drivers that have gobs of source files that get brought in.
-
-AC_DRIVER_CLASS(scsi, CONFIG_SCSI, constants.o hosts.o scsi.o scsi_ioctl.o scsi_proc.o scsicam.o sd.o sd_ioctl.o sr.o sr_ioctl.o)
-
-AC_DRIVER_CLASS(net, CONFIG_INET, auto_irq.o net.o Space.o dev.o net_init.o)
-
-dnl Strictly speaking, we could have a `linux' option too, but it's
-dnl not possible to built a useful kernel without at least one Linux
-dnl driver, so that's not really necessary.
-
-
-dnl
-dnl linux_DRIVER(machname, MACRO, linuxname, class)
-dnl
-AC_DEFUN([linux_DRIVER],[AC_DRIVER_ALIAS($3, $1)
-AC_DRIVER($1, CONFIG_$2, $3.o, $4)])dnl
-
-dnl non-SCSI Disk controllers
-
-AC_DRIVER(floppy, CONFIG_BLK_DEV_FD, floppy.o)
-AC_DRIVER(ide, CONFIG_BLK_DEV_IDE, cmd640.o ide-cd.o ide.o rz1000.o triton.o)
-
-
-dnl SCSI Disk controllers
-
-linux_DRIVER(advansys, SCSI_ADVANSYS, advansys, scsi)
-linux_DRIVER(buslogic, SCSI_BUSLOGIC, BusLogic, scsi)
-linux_DRIVER(u1434f, SCSI_U14_34F, u14-34f, scsi)
-linux_DRIVER(ultrastor, SCSI_ULTRASTOR, ultrastor, scsi)
-linux_DRIVER(aha152x, SCSI_AHA152X, aha152x, scsi)
-linux_DRIVER(aha1542, SCSI_AHA1542, aha1542, scsi)
-linux_DRIVER(aha1740, SCSI_AHA1740, aha1740, scsi)
-linux_DRIVER(aic7xxx, SCSI_AIC7XXX, aic7xxx, scsi)
-linux_DRIVER(futuredomain, SCSI_FUTURE_DOMAIN, fdomain, scsi)
-linux_DRIVER(in2000, SCSI_IN2000, in2000, scsi)
-linux_DRIVER(ncr5380, SCSI_GENERIC_NCR5380, g_NCR5380, scsi)
-linux_DRIVER(ncr53c406a, SCSI_NCR53C406A, NCR53c406a, scsi)
-linux_DRIVER(pas16, SCSI_PASS16, pas16, scsi)
-linux_DRIVER(seagate, SCSI_SEAGATE, seagate, scsi)
-linux_DRIVER(t128, SCSI_T128, t128, scsi)
-linux_DRIVER(ncr53c7xx, SCSI_NCR53C7xx, 53c78xx, scsi)
-linux_DRIVER(eatadma, SCSI_EATA_DMA, eata_dma, scsi)
-linux_DRIVER(eatapio, SCSI_EATA_PIO, eata_pio, scsi)
-linux_DRIVER(wd7000, SCSI_7000FASST, wd7000, scsi)
-linux_DRIVER(eata, SCSI_EATA, eata, scsi)
-linux_DRIVER(am53c974, SCSI_AM53C974, AM53C974, scsi)
-linux_DRIVER(dtc3280, SCSI_DTC3280, dtc, scsi)
-linux_DRIVER(ncr53c8xx, SCSI_NCR53C8XX, ncr53c8xx, scsi)
-linux_DRIVER(dc390t, SCSI_DC390T, tmscsim, scsi)
-linux_DRIVER(ppa, SCSI_PPA, ppa, scsi)
-linux_DRIVER(qlogicfas, SCSI_QLOGIC_FAS, qlogicfas, scsi)
-linux_DRIVER(qlogicisp, SCSI_QLOGIC_ISP, qlogicisp, scsi)
-linux_DRIVER(gdth, SCSI_GDTH, gdth, scsi)
-dnl Dirty implementation...
-
-AC_ARG_ENABLE(flashpoint,,[
-if test ${enableval} = no; then
- AC_DEFINE(CONFIG_SCSI_OMIT_FLASHPOINT)
-fi
-])
-
-
-dnl Ethernet controllers
-
-AC_DRIVER(ne2000, CONFIG_NE2000, ne.o 8390.o, net)
-AC_DRIVER(el2, CONFIG_EL2, 3c503.o 8390.o, net)
-linux_DRIVER(el3, EL3, 3c509, net)
-AC_DRIVER(wd80x3, CONFIG_WD80x3, wd.o 8390.o, net)
-linux_DRIVER(el1, EL1, 3c501, net)
-AC_DRIVER(ul, CONFIG_ULTRA, smc-ultra.o 8390.o, net)
-AC_DRIVER(ul32, CONFIG_ULTRA32, smc-ultra32.o 8390.o, net)
-AC_DRIVER(hplanplus, CONFIG_HPLAN_PLUS, hp-plus.o 8390.o, net)
-AC_DRIVER(hplan, CONFIG_HPLAN, hp.o 8390.o, net)
-linux_DRIVER(vortex, VORTEX, 3c59x, net)
-linux_DRIVER(seeq8005, SEEQ8005, seeq8005, net)
-linux_DRIVER(hp100, HP100, hp100, net)
-AC_DRIVER(ac3200, CONFIG_AC3200, ac3200.o 8390.o, net)
-AC_DRIVER(e2100, CONFIG_E2100, e2100.o 8390.o, net)
-linux_DRIVER(at1700, AT1700, at1700, net)
-linux_DRIVER(eth16i, ETH16I, eth16i, net)
-linux_DRIVER(znet, ZNET, znet, net)
-linux_DRIVER(eexpress, EEXPRESS, eexpress, net)
-linux_DRIVER(eexpresspro, EEXPRESS_PRO, eepro, net)
-linux_DRIVER(eexpresspro100, EEXPRESS_PRO100B, eepro100, net)
-linux_DRIVER(depca, DEPCA, depca, net)
-linux_DRIVER(ewrk3, EWRK3, ewrk3, net)
-linux_DRIVER(de4x5, DE4X5, de4x5, net)
-linux_DRIVER(apricot, APRICOT, apricot, net)
-linux_DRIVER(wavelan, WAVELAN, wavelan, net)
-linux_DRIVER(el16, EL16, 3c507, net)
-linux_DRIVER(elplus, ELPLUS, 3c505, net)
-linux_DRIVER(de600, DE600, de600, net)
-linux_DRIVER(de620, DE620, de620, net)
-linux_DRIVER(skg16, SK_G16, sk_g16, net)
-linux_DRIVER(ni52, NI52, ni52, net)
-linux_DRIVER(ni65, NI65, ni65, net)
-linux_DRIVER(atp, ATP, atp, net)
-linux_DRIVER(lance, LANCE, lance, net)
-linux_DRIVER(elcp, DEC_ELCP, tulip, net)
-linux_DRIVER(fmv18x, FMV18X, fmv18x, net)
-linux_DRIVER(3c515, 3C515, 3c515, net)
-linux_DRIVER(pcnet32, PCNET32, pcnet32, net)
-AC_DRIVER(ne2kpci, CONFIG_NE2K_PCI, ne2k-pci.o 8390.o, net)
-linux_DRIVER(yellowfin, YELLOWFIN, yellowfin, net)
-linux_DRIVER(rtl8139, RTL8139, rtl8139, net)
-linux_DRIVER(epic, EPIC, epic100, net)
-linux_DRIVER(tlan, TLAN, tlan, net)
-linux_DRIVER(viarhine, VIA_RHINE, via-rhine, net)
-AC_OUTPUT(Makefile)
diff --git a/i386/linux/Makefile.in b/i386/linux/Makefile.in
index da971057..b0494d94 100644
--- a/i386/linux/Makefile.in
+++ b/i386/linux/Makefile.in
@@ -175,8 +175,8 @@ linux-objs += $(sort $(device_drivers))
# Autoconf support
-$(srcdir)/configure: $(srcdir)/Drivers.in $(srcdir)/../../Drivers.macros
- cd $(srcdir) && rm -f configure && autoconf Drivers.in > configure
+$(srcdir)/configure: $(srcdir)/configure.ac $(srcdir)/../../Drivers.macros
+ cd $(srcdir) && autoconf
device-drivers.h: $(srcdir)/Makefile.in config.status
./config.status
diff --git a/i386/linux/configure b/i386/linux/configure
index a851dca6..09250378 100755
--- a/i386/linux/configure
+++ b/i386/linux/configure
@@ -1,392 +1,288 @@
#! /bin/sh
-
# Guess values for system-dependent variables and create Makefiles.
-# Generated automatically using autoconf version 2.13.1
-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
+# Generated by GNU Autoconf 2.59 for GNU Mach 1.3.
#
+# Copyright (C) 2003 Free Software Foundation, Inc.
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+ set -o posix
+fi
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
+
+
+# Work around bugs in pre-3.0 UWIN ksh.
+$as_unset ENV MAIL MAILPATH
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+for as_var in \
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+ LC_TELEPHONE LC_TIME
+do
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+ eval $as_var=C; export $as_var
+ else
+ $as_unset $as_var
+ fi
+done
+
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)$' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
+ /^X\/\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+
+
+# PATH needs CR, and LINENO needs CR and PATH.
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
+
+
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
+ # Find who we are. Look in the path if we contain no path at all
+ # relative or not.
+ case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
+
+ ;;
+ esac
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
+ # in which case we are not to be found in the path.
+ if test "x$as_myself" = x; then
+ as_myself=$0
+ fi
+ if test ! -f "$as_myself"; then
+ { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
+ { (exit 1); exit 1; }; }
+ fi
+ case $CONFIG_SHELL in
+ '')
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for as_base in sh bash ksh sh5; do
+ case $as_dir in
+ /*)
+ if ("$as_dir/$as_base" -c '
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+ CONFIG_SHELL=$as_dir/$as_base
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+ fi;;
+ esac
+ done
+done
+;;
+ esac
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line before each line; the second 'sed' does the real
+ # work. The second script uses 'N' to pair each line-number line
+ # with the numbered line, and appends trailing '-' during
+ # substitution so that $LINENO is not a special case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
+ sed '=' <$as_myself |
+ sed '
+ N
+ s,$,-,
+ : loop
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
+ t loop
+ s,-$,,
+ s,^['$as_cr_digits']*\n,,
+ ' >$as_me.lineno &&
+ chmod +x $as_me.lineno ||
+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensible to this).
+ . ./$as_me.lineno
+ # Exit status is that of the last command.
+ exit
+}
+
+
+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+ *c*,-n*) ECHO_N= ECHO_C='
+' ECHO_T=' ' ;;
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
+esac
+
+if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+else
+ as_expr=false
+fi
-# Defaults:
-ac_help=
+rm -f conf$$ conf$$.exe conf$$.file
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+ # We could just check for DJGPP; but this test a) works b) is more generic
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+ if test -f conf$$.exe; then
+ # Don't use ln at all; we don't have any links
+ as_ln_s='cp -p'
+ else
+ as_ln_s='ln -s'
+ fi
+elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.file
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_executable_p="test -f"
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=" $as_nl"
+
+# CDPATH.
+$as_unset CDPATH
+
+
+# Name of the host.
+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# so uname gets run too.
+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
+
+exec 6>&1
+
+#
+# Initializations.
+#
ac_default_prefix=/usr/local
-# Any additions from configure.in:
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
-ac_help="$ac_help
-"
+ac_config_libobj_dir=.
+cross_compiling=no
+subdirs=
+MFLAGS=
+MAKEFLAGS=
+SHELL=${CONFIG_SHELL-/bin/sh}
+
+# Maximum number of lines to put in a shell here document.
+# This variable seems obsolete. It should probably be removed, and
+# only ac_max_sed_lines should be used.
+: ${ac_max_here_lines=38}
+
+# Identity of this package.
+PACKAGE_NAME='GNU Mach'
+PACKAGE_TARNAME='package'
+PACKAGE_VERSION='1.3'
+PACKAGE_STRING='GNU Mach 1.3'
+PACKAGE_BUGREPORT=''
+
+ac_unique_file="dev/include/linux/autoconf.h"
+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 device_drivers build build_cpu build_vendor build_os host host_cpu host_vendor host_os systype CC ac_ct_CC CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT LD ac_ct_LD LIBOBJS LTLIBOBJS'
+ac_subst_files=''
# Initialize some variables set by options.
+ac_init_help=
+ac_init_version=false
# The variables have the same names as the options, with
# dashes changed to underlines.
-build=NONE
-cache_file=./config.cache
+cache_file=/dev/null
exec_prefix=NONE
-host=NONE
no_create=
-nonopt=NONE
no_recursion=
prefix=NONE
program_prefix=NONE
@@ -395,10 +291,15 @@ program_transform_name=s,x,x,
silent=
site=
srcdir=
-target=NONE
verbose=
x_includes=NONE
x_libraries=NONE
+
+# Installation directory options.
+# These are left unexpanded so users can "make install exec_prefix=/foo"
+# and all the variables that are supposed to be based on exec_prefix
+# by default will actually change.
+# Use braces instead of parens because sh, perl, etc. also accept them.
bindir='${exec_prefix}/bin'
sbindir='${exec_prefix}/sbin'
libexecdir='${exec_prefix}/libexec'
@@ -412,17 +313,9 @@ oldincludedir='/usr/include'
infodir='${prefix}/info'
mandir='${prefix}/man'
-# Initialize some other variables.
-subdirs=
-MFLAGS= MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
-# Maximum number of lines to put in a shell here document.
-ac_max_here_lines=12
-
ac_prev=
for ac_option
do
-
# If the previous option needs an argument, assign it.
if test -n "$ac_prev"; then
eval "$ac_prev=\$ac_option"
@@ -430,59 +323,59 @@ do
continue
fi
- case "$ac_option" in
- -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
- *) ac_optarg= ;;
- esac
+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
# Accept the important Cygnus configure options, so we can diagnose typos.
- case "$ac_option" in
+ case $ac_option in
-bindir | --bindir | --bindi | --bind | --bin | --bi)
ac_prev=bindir ;;
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir="$ac_optarg" ;;
+ bindir=$ac_optarg ;;
-build | --build | --buil | --bui | --bu)
- ac_prev=build ;;
+ ac_prev=build_alias ;;
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build="$ac_optarg" ;;
+ build_alias=$ac_optarg ;;
-cache-file | --cache-file | --cache-fil | --cache-fi \
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
ac_prev=cache_file ;;
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file="$ac_optarg" ;;
+ cache_file=$ac_optarg ;;
+
+ --config-cache | -C)
+ cache_file=config.cache ;;
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
ac_prev=datadir ;;
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
| --da=*)
- datadir="$ac_optarg" ;;
+ datadir=$ac_optarg ;;
-disable-* | --disable-*)
- ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
# Reject names that are not valid shell variable names.
- if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- eval "enable_${ac_feature}=no" ;;
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+ { (exit 1); exit 1; }; }
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+ eval "enable_$ac_feature=no" ;;
-enable-* | --enable-*)
- ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
# Reject names that are not valid shell variable names.
- if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
- fi
- ac_feature=`echo $ac_feature| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2
+ { (exit 1); exit 1; }; }
+ ac_feature=`echo $ac_feature | sed 's/-/_/g'`
+ case $ac_option in
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
*) ac_optarg=yes ;;
esac
- eval "enable_${ac_feature}='$ac_optarg'" ;;
+ eval "enable_$ac_feature='$ac_optarg'" ;;
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -491,95 +384,47 @@ do
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
| --exec=* | --exe=* | --ex=*)
- exec_prefix="$ac_optarg" ;;
+ exec_prefix=$ac_optarg ;;
-gas | --gas | --ga | --g)
# Obsolete; use --with-gas.
with_gas=yes ;;
- -help | --help | --hel | --he)
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat << EOF
-Usage: configure [options] [host]
-Options: [defaults in brackets after descriptions]
-Configuration:
- --cache-file=FILE cache test results in FILE
- --help print this message
- --no-create do not create output files
- --quiet, --silent do not print \`checking...' messages
- --version print the version of autoconf that created configure
-Directory and file names:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [same as prefix]
- --bindir=DIR user executables in DIR [EPREFIX/bin]
- --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
- --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
- --datadir=DIR read-only architecture-independent data in DIR
- [PREFIX/share]
- --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data in DIR
- [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
- --libdir=DIR object code libraries in DIR [EPREFIX/lib]
- --includedir=DIR C header files in DIR [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
- --infodir=DIR info documentation in DIR [PREFIX/info]
- --mandir=DIR man documentation in DIR [PREFIX/man]
- --srcdir=DIR find the sources in DIR [configure dir or ..]
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM
- run sed PROGRAM on installed program names
-EOF
- cat << EOF
-Host type:
- --build=BUILD configure for building on BUILD [BUILD=HOST]
- --host=HOST configure for HOST [guessed]
- --target=TARGET configure for TARGET [TARGET=HOST]
-Features and packages:
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --x-includes=DIR X include files are in DIR
- --x-libraries=DIR X library files are in DIR
-EOF
- if test -n "$ac_help"; then
- echo "--enable and --with options recognized:$ac_help"
- fi
- exit 0 ;;
+ -help | --help | --hel | --he | -h)
+ ac_init_help=long ;;
+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
+ ac_init_help=recursive ;;
+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
+ ac_init_help=short ;;
-host | --host | --hos | --ho)
- ac_prev=host ;;
+ ac_prev=host_alias ;;
-host=* | --host=* | --hos=* | --ho=*)
- host="$ac_optarg" ;;
+ host_alias=$ac_optarg ;;
-includedir | --includedir | --includedi | --included | --include \
| --includ | --inclu | --incl | --inc)
ac_prev=includedir ;;
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
| --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir="$ac_optarg" ;;
+ includedir=$ac_optarg ;;
-infodir | --infodir | --infodi | --infod | --info | --inf)
ac_prev=infodir ;;
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir="$ac_optarg" ;;
+ infodir=$ac_optarg ;;
-libdir | --libdir | --libdi | --libd)
ac_prev=libdir ;;
-libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir="$ac_optarg" ;;
+ libdir=$ac_optarg ;;
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
| --libexe | --libex | --libe)
ac_prev=libexecdir ;;
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
| --libexe=* | --libex=* | --libe=*)
- libexecdir="$ac_optarg" ;;
+ libexecdir=$ac_optarg ;;
-localstatedir | --localstatedir | --localstatedi | --localstated \
| --localstate | --localstat | --localsta | --localst \
@@ -588,19 +433,19 @@ EOF
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
- localstatedir="$ac_optarg" ;;
+ localstatedir=$ac_optarg ;;
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
ac_prev=mandir ;;
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir="$ac_optarg" ;;
+ mandir=$ac_optarg ;;
-nfp | --nfp | --nf)
# Obsolete; use --without-fp.
with_fp=no ;;
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c)
+ | --no-cr | --no-c | -n)
no_create=yes ;;
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
@@ -614,26 +459,26 @@ EOF
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir="$ac_optarg" ;;
+ oldincludedir=$ac_optarg ;;
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
ac_prev=prefix ;;
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix="$ac_optarg" ;;
+ prefix=$ac_optarg ;;
-program-prefix | --program-prefix | --program-prefi | --program-pref \
| --program-pre | --program-pr | --program-p)
ac_prev=program_prefix ;;
-program-prefix=* | --program-prefix=* | --program-prefi=* \
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix="$ac_optarg" ;;
+ program_prefix=$ac_optarg ;;
-program-suffix | --program-suffix | --program-suffi | --program-suff \
| --program-suf | --program-su | --program-s)
ac_prev=program_suffix ;;
-program-suffix=* | --program-suffix=* | --program-suffi=* \
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix="$ac_optarg" ;;
+ program_suffix=$ac_optarg ;;
-program-transform-name | --program-transform-name \
| --program-transform-nam | --program-transform-na \
@@ -650,7 +495,7 @@ EOF
| --program-transfo=* | --program-transf=* \
| --program-trans=* | --program-tran=* \
| --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name="$ac_optarg" ;;
+ program_transform_name=$ac_optarg ;;
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
| -silent | --silent | --silen | --sile | --sil)
@@ -660,7 +505,7 @@ EOF
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
| --sbi=* | --sb=*)
- sbindir="$ac_optarg" ;;
+ sbindir=$ac_optarg ;;
-sharedstatedir | --sharedstatedir | --sharedstatedi \
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
@@ -671,58 +516,57 @@ EOF
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
| --sha=* | --sh=*)
- sharedstatedir="$ac_optarg" ;;
+ sharedstatedir=$ac_optarg ;;
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
- site="$ac_optarg" ;;
+ site=$ac_optarg ;;
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
ac_prev=srcdir ;;
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir="$ac_optarg" ;;
+ srcdir=$ac_optarg ;;
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
| --syscon | --sysco | --sysc | --sys | --sy)
ac_prev=sysconfdir ;;
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir="$ac_optarg" ;;
+ sysconfdir=$ac_optarg ;;
-target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target ;;
+ ac_prev=target_alias ;;
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target="$ac_optarg" ;;
+ target_alias=$ac_optarg ;;
-v | -verbose | --verbose | --verbos | --verbo | --verb)
verbose=yes ;;
- -version | --version | --versio | --versi | --vers)
- echo "configure generated by autoconf version 2.13.1"
- exit 0 ;;
+ -version | --version | --versio | --versi | --vers | -V)
+ ac_init_version=: ;;
-with-* | --with-*)
- ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
# Reject names that are not valid shell variable names.
- if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
+ { (exit 1); exit 1; }; }
ac_package=`echo $ac_package| sed 's/-/_/g'`
- case "$ac_option" in
- *=*) ;;
+ case $ac_option in
+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
*) ac_optarg=yes ;;
esac
- eval "with_${ac_package}='$ac_optarg'" ;;
+ eval "with_$ac_package='$ac_optarg'" ;;
-without-* | --without-*)
- ac_package=`echo $ac_option|sed -e 's/-*without-//'`
+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
# Reject names that are not valid shell variable names.
- if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
- fi
- ac_package=`echo $ac_package| sed 's/-/_/g'`
- eval "with_${ac_package}=no" ;;
+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid package name: $ac_package" >&2
+ { (exit 1); exit 1; }; }
+ ac_package=`echo $ac_package | sed 's/-/_/g'`
+ eval "with_$ac_package=no" ;;
--x)
# Obsolete; use --with-x.
@@ -733,99 +577,110 @@ EOF
ac_prev=x_includes ;;
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes="$ac_optarg" ;;
+ x_includes=$ac_optarg ;;
-x-libraries | --x-libraries | --x-librarie | --x-librari \
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ac_prev=x_libraries ;;
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries="$ac_optarg" ;;
+ x_libraries=$ac_optarg ;;
- -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
+ -*) { echo "$as_me: error: unrecognized option: $ac_option
+Try \`$0 --help' for more information." >&2
+ { (exit 1); exit 1; }; }
;;
+ *=*)
+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
+ # Reject names that are not valid shell variable names.
+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
+ { (exit 1); exit 1; }; }
+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
+ eval "$ac_envvar='$ac_optarg'"
+ export $ac_envvar ;;
+
*)
- if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
- echo "configure: warning: $ac_option: invalid host type" 1>&2
- fi
- if test "x$nonopt" != xNONE; then
- { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
- fi
- nonopt="$ac_option"
+ # FIXME: should be removed in autoconf 3.0.
+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
;;
esac
done
if test -n "$ac_prev"; then
- { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
-fi
-
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
-
-# File descriptor usage:
-# 0 standard input
-# 1 file creation
-# 2 errors and warnings
-# 3 some systems may open it to /dev/tty
-# 4 used on the Kubota Titan
-# 6 checking for... messages and results
-# 5 compiler messages saved in config.log
-if test "$silent" = yes; then
- exec 6>/dev/null
-else
- exec 6>&1
+ ac_option=--`echo $ac_prev | sed 's/_/-/g'`
+ { echo "$as_me: error: missing argument to $ac_option" >&2
+ { (exit 1); exit 1; }; }
fi
-exec 5>./config.log
-echo "\
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-" 1>&5
+# Be sure to have absolute paths.
+for ac_var in exec_prefix prefix
+do
+ eval ac_val=$`echo $ac_var`
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; };;
+ esac
+done
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Also quote any args containing shell metacharacters.
-ac_configure_args=
-for ac_arg
+# Be sure to have absolute paths.
+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
+ localstatedir libdir includedir oldincludedir infodir mandir
do
- case "$ac_arg" in
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c) ;;
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
- ac_configure_args="$ac_configure_args '$ac_arg'" ;;
- *) ac_configure_args="$ac_configure_args $ac_arg" ;;
+ eval ac_val=$`echo $ac_var`
+ case $ac_val in
+ [\\/$]* | ?:[\\/]* ) ;;
+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
+ { (exit 1); exit 1; }; };;
esac
done
-# NLS nuisances.
-# Only set these to C if already set. These must not be set unconditionally
-# because not all systems understand e.g. LANG=C (notably SCO).
-# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
-# Non-C LC_CTYPE values break the ctype check.
-if test "${LANG+set}" = set; then LANG=C; export LANG; fi
-if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
-if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
-if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
+# There might be people who depend on the old broken behavior: `$host'
+# used to hold the argument of --host etc.
+# FIXME: To remove some day.
+build=$build_alias
+host=$host_alias
+target=$target_alias
+
+# FIXME: To remove some day.
+if test "x$host_alias" != x; then
+ if test "x$build_alias" = x; then
+ cross_compiling=maybe
+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
+ If a cross compiler is detected then cross compile mode will be used." >&2
+ elif test "x$build_alias" != "x$host_alias"; then
+ cross_compiling=yes
+ fi
+fi
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -rf conftest* confdefs.h
-# AIX cpp loses on an empty file, so make sure it contains at least a newline.
-echo > confdefs.h
+ac_tool_prefix=
+test -n "$host_alias" && ac_tool_prefix=$host_alias-
+
+test "$silent" = yes && exec 6>/dev/null
-# A filename unique to this package, relative to the directory that
-# configure is in, which we can look for to find out if srcdir is correct.
-ac_unique_file=dev/include/linux/autoconf.h
# Find the source files, if location was not specified.
if test -z "$srcdir"; then
ac_srcdir_defaulted=yes
# Try the directory containing this script, then its parent.
- ac_prog=$0
- ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
+ ac_confdir=`(dirname "$0") 2>/dev/null ||
+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$0" : 'X\(//\)[^/]' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$0" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
srcdir=$ac_confdir
if test ! -r $srcdir/$ac_unique_file; then
srcdir=..
@@ -835,13 +690,637 @@ else
fi
if test ! -r $srcdir/$ac_unique_file; then
if test "$ac_srcdir_defaulted" = yes; then
- { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
+ { (exit 1); exit 1; }; }
else
- { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
+ { (exit 1); exit 1; }; }
fi
fi
-srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
+(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
+ { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
+ { (exit 1); exit 1; }; }
+srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
+ac_env_build_alias_set=${build_alias+set}
+ac_env_build_alias_value=$build_alias
+ac_cv_env_build_alias_set=${build_alias+set}
+ac_cv_env_build_alias_value=$build_alias
+ac_env_host_alias_set=${host_alias+set}
+ac_env_host_alias_value=$host_alias
+ac_cv_env_host_alias_set=${host_alias+set}
+ac_cv_env_host_alias_value=$host_alias
+ac_env_target_alias_set=${target_alias+set}
+ac_env_target_alias_value=$target_alias
+ac_cv_env_target_alias_set=${target_alias+set}
+ac_cv_env_target_alias_value=$target_alias
+ac_env_CC_set=${CC+set}
+ac_env_CC_value=$CC
+ac_cv_env_CC_set=${CC+set}
+ac_cv_env_CC_value=$CC
+ac_env_CFLAGS_set=${CFLAGS+set}
+ac_env_CFLAGS_value=$CFLAGS
+ac_cv_env_CFLAGS_set=${CFLAGS+set}
+ac_cv_env_CFLAGS_value=$CFLAGS
+ac_env_LDFLAGS_set=${LDFLAGS+set}
+ac_env_LDFLAGS_value=$LDFLAGS
+ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
+ac_cv_env_LDFLAGS_value=$LDFLAGS
+ac_env_CPPFLAGS_set=${CPPFLAGS+set}
+ac_env_CPPFLAGS_value=$CPPFLAGS
+ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
+ac_cv_env_CPPFLAGS_value=$CPPFLAGS
+
+#
+# Report the --help message.
+#
+if test "$ac_init_help" = "long"; then
+ # Omit some internal or obsolete options to make the list less imposing.
+ # This message is too long to be a string in the A/UX 3.1 sh.
+ cat <<_ACEOF
+\`configure' configures GNU Mach 1.3 to adapt to many kinds of systems.
+
+Usage: $0 [OPTION]... [VAR=VALUE]...
+
+To assign environment variables (e.g., CC, CFLAGS...), specify them as
+VAR=VALUE. See below for descriptions of some of the useful variables.
+
+Defaults for the options are specified in brackets.
+
+Configuration:
+ -h, --help display this help and exit
+ --help=short display options specific to this package
+ --help=recursive display the short help of all the included packages
+ -V, --version display version information and exit
+ -q, --quiet, --silent do not print \`checking...' messages
+ --cache-file=FILE cache test results in FILE [disabled]
+ -C, --config-cache alias for \`--cache-file=config.cache'
+ -n, --no-create do not create output files
+ --srcdir=DIR find the sources in DIR [configure dir or \`..']
+
+_ACEOF
+
+ cat <<_ACEOF
+Installation directories:
+ --prefix=PREFIX install architecture-independent files in PREFIX
+ [$ac_default_prefix]
+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
+ [PREFIX]
+
+By default, \`make install' will install all the files in
+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
+an installation prefix other than \`$ac_default_prefix' using \`--prefix',
+for instance \`--prefix=\$HOME'.
+
+For better control, use the options below.
+
+Fine tuning of the installation directories:
+ --bindir=DIR user executables [EPREFIX/bin]
+ --sbindir=DIR system admin executables [EPREFIX/sbin]
+ --libexecdir=DIR program executables [EPREFIX/libexec]
+ --datadir=DIR read-only architecture-independent data [PREFIX/share]
+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
+ --localstatedir=DIR modifiable single-machine data [PREFIX/var]
+ --libdir=DIR object code libraries [EPREFIX/lib]
+ --includedir=DIR C header files [PREFIX/include]
+ --oldincludedir=DIR C header files for non-gcc [/usr/include]
+ --infodir=DIR info documentation [PREFIX/info]
+ --mandir=DIR man documentation [PREFIX/man]
+_ACEOF
+
+ cat <<\_ACEOF
+
+System types:
+ --build=BUILD configure for building on BUILD [guessed]
+ --host=HOST cross-compile to build programs to run on HOST [BUILD]
+_ACEOF
+fi
+
+if test -n "$ac_init_help"; then
+ case $ac_init_help in
+ short | recursive ) echo "Configuration of GNU Mach 1.3:";;
+ esac
+ cat <<\_ACEOF
+
+Optional Features:
+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
+ --enable-3c501 enable driver alias 3c501 for el1
+ --enable-3c503 enable driver alias 3c503 for el2
+ --enable-3c509 enable driver alias 3c509 for el3
+ --enable-3c579 enable driver alias 3c579 for el3
+ --enable-3c59x enable driver alias 3c59x for vortex
+ --enable-3c90x enable driver alias 3c90x for vortex
+ --enable-hpj2577 enable driver alias hpj2577 for hp100
+ --enable-hpj2573 enable driver alias hpj2573 for hp100
+ --enable-hpj2585 enable driver alias hpj2585 for hp100
+ --enable-hp27248b enable driver alias hp27248b for hp100
+ --enable-eth32 enable driver alias eth32 for eth16i
+ --enable-znote enable driver alias znote for znet
+ --enable-de100 enable driver alias de100 for depca
+ --enable-de101 enable driver alias de101 for depca
+ --enable-de200 enable driver alias de200 for depca
+ --enable-de201 enable driver alias de201 for depca
+ --enable-de202 enable driver alias de202 for depca
+ --enable-de210 enable driver alias de210 for depca
+ --enable-de422 enable driver alias de422 for depca
+ --enable-de203 enable driver alias de203 for ewrk3
+ --enable-de204 enable driver alias de204 for ewrk3
+ --enable-de205 enable driver alias de205 for ewrk3
+ --enable-de425 enable driver alias de425 for de4x5
+ --enable-de434 enable driver alias de434 for de4x5
+ --enable-de435 enable driver alias de435 for de4x5
+ --enable-de450 enable driver alias de450 for de4x5
+ --enable-de500 enable driver alias de500 for de4x5
+ --enable-3c507 enable driver alias 3c507 for el16
+ --enable-3c505 enable driver alias 3c505 for elplus
+ --enable-ne1000 enable driver alias ne1000 for ne2000
+ --enable-ne enable driver alias ne for ne2000
+ --enable-at1500 enable driver alias at1500 for lance
+ --enable-ne2100 enable driver alias ne2100 for lance
+ --enable-tulip enable driver alias tulip for elcp
+ --enable-rtl8129 enable driver alias rtl8129 for rtl8139
+ --enable-aha2825 enable driver alias aha2825 for aha152x
+ --enable-ncr53c400 enable driver alias ncr53c400 for ncr5380
+ --enable-t128f enable driver alias t128f for t128
+ --enable-t228 enable driver alias t228 for t128
+ --enable-am79c974 enable driver alias am79c974 for am53c974
+ --enable-dtc3180 enable driver alias dtc3180 for dtc3280
+ --enable-dc390w enable driver alias dc390w for ncr53c8xx
+ --enable-dc390u enable driver alias dc390u for ncr53c8xx
+ --enable-dc390f enable driver alias dc390f for ncr53c8xx
+ --enable-dc390 enable driver alias dc390 for dc390t
+ --enable-epic100 enable driver alias epic100 for epic
+ --enable-floppy enable driver floppy
+ --enable-ide enable driver ide
+ --enable-advansys enable driver alias advansys for advansys
+ --enable-advansys enable driver advansys
+ --enable-BusLogic enable driver alias BusLogic for buslogic
+ --enable-buslogic enable driver buslogic
+ --enable-u14-34f enable driver alias u14-34f for u1434f
+ --enable-u1434f enable driver u1434f
+ --enable-ultrastor enable driver alias ultrastor for ultrastor
+ --enable-ultrastor enable driver ultrastor
+ --enable-aha152x enable driver alias aha152x for aha152x
+ --enable-aha152x enable driver aha152x
+ --enable-aha1542 enable driver alias aha1542 for aha1542
+ --enable-aha1542 enable driver aha1542
+ --enable-aha1740 enable driver alias aha1740 for aha1740
+ --enable-aha1740 enable driver aha1740
+ --enable-aic7xxx enable driver alias aic7xxx for aic7xxx
+ --enable-aic7xxx enable driver aic7xxx
+ --enable-fdomain enable driver alias fdomain for futuredomain
+ --enable-futuredomain enable driver futuredomain
+ --enable-in2000 enable driver alias in2000 for in2000
+ --enable-in2000 enable driver in2000
+ --enable-g_NCR5380 enable driver alias g_NCR5380 for ncr5380
+ --enable-ncr5380 enable driver ncr5380
+ --enable-NCR53c406a enable driver alias NCR53c406a for ncr53c406a
+ --enable-ncr53c406a enable driver ncr53c406a
+ --enable-pas16 enable driver alias pas16 for pas16
+ --enable-pas16 enable driver pas16
+ --enable-seagate enable driver alias seagate for seagate
+ --enable-seagate enable driver seagate
+ --enable-t128 enable driver alias t128 for t128
+ --enable-t128 enable driver t128
+ --enable-53c78xx enable driver alias 53c78xx for ncr53c7xx
+ --enable-ncr53c7xx enable driver ncr53c7xx
+ --enable-eata_dma enable driver alias eata_dma for eatadma
+ --enable-eatadma enable driver eatadma
+ --enable-eata_pio enable driver alias eata_pio for eatapio
+ --enable-eatapio enable driver eatapio
+ --enable-wd7000 enable driver alias wd7000 for wd7000
+ --enable-wd7000 enable driver wd7000
+ --enable-eata enable driver alias eata for eata
+ --enable-eata enable driver eata
+ --enable-AM53C974 enable driver alias AM53C974 for am53c974
+ --enable-am53c974 enable driver am53c974
+ --enable-dtc enable driver alias dtc for dtc3280
+ --enable-dtc3280 enable driver dtc3280
+ --enable-ncr53c8xx enable driver alias ncr53c8xx for ncr53c8xx
+ --enable-ncr53c8xx enable driver ncr53c8xx
+ --enable-tmscsim enable driver alias tmscsim for dc390t
+ --enable-dc390t enable driver dc390t
+ --enable-ppa enable driver alias ppa for ppa
+ --enable-ppa enable driver ppa
+ --enable-qlogicfas enable driver alias qlogicfas for qlogicfas
+ --enable-qlogicfas enable driver qlogicfas
+ --enable-qlogicisp enable driver alias qlogicisp for qlogicisp
+ --enable-qlogicisp enable driver qlogicisp
+ --enable-gdth enable driver alias gdth for gdth
+ --enable-gdth enable driver gdth
+ --enable-flashpoint enable SCSI flashpoint [default=no]
+ --enable-ne2000 enable driver ne2000
+ --enable-el2 enable driver el2
+ --enable-el3 enable driver el3
+ --enable-wd80x3 enable driver wd80x3
+ --enable-el1 enable driver el1
+ --enable-ul enable driver ul
+ --enable-ul32 enable driver ul32
+ --enable-hplanplus enable driver hplanplus
+ --enable-hplan enable driver hplan
+ --enable-vortex enable driver vortex
+ --enable-seeq8005 enable driver alias seeq8005 for seeq8005
+ --enable-seeq8005 enable driver seeq8005
+ --enable-hp100 enable driver alias hp100 for hp100
+ --enable-hp100 enable driver hp100
+ --enable-ac3200 enable driver ac3200
+ --enable-e2100 enable driver e2100
+ --enable-at1700 enable driver alias at1700 for at1700
+ --enable-at1700 enable driver at1700
+ --enable-eth16i enable driver alias eth16i for eth16i
+ --enable-eth16i enable driver eth16i
+ --enable-znet enable driver alias znet for znet
+ --enable-znet enable driver znet
+ --enable-eexpress enable driver alias eexpress for eexpress
+ --enable-eexpress enable driver eexpress
+ --enable-eepro enable driver alias eepro for eexpresspro
+ --enable-eexpresspro enable driver eexpresspro
+ --enable-eepro100 enable driver alias eepro100 for eexpresspro100
+ --enable-eexpresspro100 enable driver eexpresspro100
+ --enable-depca enable driver alias depca for depca
+ --enable-depca enable driver depca
+ --enable-ewrk3 enable driver alias ewrk3 for ewrk3
+ --enable-ewrk3 enable driver ewrk3
+ --enable-de4x5 enable driver alias de4x5 for de4x5
+ --enable-de4x5 enable driver de4x5
+ --enable-apricot enable driver alias apricot for apricot
+ --enable-apricot enable driver apricot
+ --enable-wavelan enable driver alias wavelan for wavelan
+ --enable-wavelan enable driver wavelan
+ --enable-el16 enable driver el16
+ --enable-elplus enable driver elplus
+ --enable-de600 enable driver alias de600 for de600
+ --enable-de600 enable driver de600
+ --enable-de620 enable driver alias de620 for de620
+ --enable-de620 enable driver de620
+ --enable-sk_g16 enable driver alias sk_g16 for skg16
+ --enable-skg16 enable driver skg16
+ --enable-ni52 enable driver alias ni52 for ni52
+ --enable-ni52 enable driver ni52
+ --enable-ni65 enable driver alias ni65 for ni65
+ --enable-ni65 enable driver ni65
+ --enable-atp enable driver alias atp for atp
+ --enable-atp enable driver atp
+ --enable-lance enable driver alias lance for lance
+ --enable-lance enable driver lance
+ --enable-elcp enable driver elcp
+ --enable-fmv18x enable driver alias fmv18x for fmv18x
+ --enable-fmv18x enable driver fmv18x
+ --enable-3c515 enable driver alias 3c515 for 3c515
+ --enable-3c515 enable driver 3c515
+ --enable-pcnet32 enable driver alias pcnet32 for pcnet32
+ --enable-pcnet32 enable driver pcnet32
+ --enable-ne2kpci enable driver ne2kpci
+ --enable-yellowfin enable driver alias yellowfin for yellowfin
+ --enable-yellowfin enable driver yellowfin
+ --enable-rtl8139 enable driver alias rtl8139 for rtl8139
+ --enable-rtl8139 enable driver rtl8139
+ --enable-epic enable driver epic
+ --enable-tlan enable driver alias tlan for tlan
+ --enable-tlan enable driver tlan
+ --enable-via-rhine enable driver alias via-rhine for viarhine
+ --enable-viarhine enable driver viarhine
+
+Some influential environment variables:
+ CC C compiler command
+ CFLAGS C compiler flags
+ LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
+ nonstandard directory <lib dir>
+ CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
+ headers in a nonstandard directory <include dir>
+
+Use these variables to override the choices made by `configure' or to help
+it to find libraries and programs with nonstandard names/locations.
+
+_ACEOF
+fi
+
+if test "$ac_init_help" = "recursive"; then
+ # If there are subdirs, report their specific --help.
+ ac_popdir=`pwd`
+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+ test -d $ac_dir || continue
+ ac_builddir=.
+
+if test "$ac_dir" != .; then
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+else
+ ac_dir_suffix= ac_top_builddir=
+fi
+
+case $srcdir in
+ .) # No --srcdir option. We are building in place.
+ ac_srcdir=.
+ if test -z "$ac_top_builddir"; then
+ ac_top_srcdir=.
+ else
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+ fi ;;
+ [\\/]* | ?:[\\/]* ) # Absolute path.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir ;;
+ *) # Relative path.
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
+
+# Do not use `cd foo && pwd` to compute absolute paths, because
+# the directories may not exist.
+case `pwd` in
+.) ac_abs_builddir="$ac_dir";;
+*)
+ case "$ac_dir" in
+ .) ac_abs_builddir=`pwd`;;
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
+ esac;;
+esac
+case $ac_abs_builddir in
+.) ac_abs_top_builddir=${ac_top_builddir}.;;
+*)
+ case ${ac_top_builddir}. in
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
+ esac;;
+esac
+case $ac_abs_builddir in
+.) ac_abs_srcdir=$ac_srcdir;;
+*)
+ case $ac_srcdir in
+ .) ac_abs_srcdir=$ac_abs_builddir;;
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
+ esac;;
+esac
+case $ac_abs_builddir in
+.) ac_abs_top_srcdir=$ac_top_srcdir;;
+*)
+ case $ac_top_srcdir in
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
+ esac;;
+esac
+
+ cd $ac_dir
+ # Check for guested configure; otherwise get Cygnus style configure.
+ if test -f $ac_srcdir/configure.gnu; then
+ echo
+ $SHELL $ac_srcdir/configure.gnu --help=recursive
+ elif test -f $ac_srcdir/configure; then
+ echo
+ $SHELL $ac_srcdir/configure --help=recursive
+ elif test -f $ac_srcdir/configure.ac ||
+ test -f $ac_srcdir/configure.in; then
+ echo
+ $ac_configure --help
+ else
+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+ fi
+ cd "$ac_popdir"
+ done
+fi
+
+test -n "$ac_init_help" && exit 0
+if $ac_init_version; then
+ cat <<\_ACEOF
+GNU Mach configure 1.3
+generated by GNU Autoconf 2.59
+
+Copyright (C) 2003 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+ exit 0
+fi
+exec 5>config.log
+cat >&5 <<_ACEOF
+This file contains any messages produced by compilers while
+running configure, to aid debugging if configure makes a mistake.
+
+It was created by GNU Mach $as_me 1.3, which was
+generated by GNU Autoconf 2.59. Invocation command line was
+
+ $ $0 $@
+
+_ACEOF
+{
+cat <<_ASUNAME
+## --------- ##
+## Platform. ##
+## --------- ##
+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
+uname -m = `(uname -m) 2>/dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
+
+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
+hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
+
+_ASUNAME
+
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ echo "PATH: $as_dir"
+done
+
+} >&5
+
+cat >&5 <<_ACEOF
+
+
+## ----------- ##
+## Core tests. ##
+## ----------- ##
+
+_ACEOF
+
+
+# Keep a trace of the command line.
+# Strip out --no-create and --no-recursion so they do not pile up.
+# Strip out --silent because we don't want to record it for future runs.
+# Also quote any args containing shell meta-characters.
+# Make two passes to allow for proper duplicate-argument suppression.
+ac_configure_args=
+ac_configure_args0=
+ac_configure_args1=
+ac_sep=
+ac_must_keep_next=false
+for ac_pass in 1 2
+do
+ for ac_arg
+ do
+ case $ac_arg in
+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil)
+ continue ;;
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+ esac
+ case $ac_pass in
+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
+ 2)
+ ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+ if test $ac_must_keep_next = true; then
+ ac_must_keep_next=false # Got value, back to normal.
+ else
+ case $ac_arg in
+ *=* | --config-cache | -C | -disable-* | --disable-* \
+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
+ | -with-* | --with-* | -without-* | --without-* | --x)
+ case "$ac_configure_args0 " in
+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
+ esac
+ ;;
+ -* ) ac_must_keep_next=true ;;
+ esac
+ fi
+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
+ # Get rid of the leading space.
+ ac_sep=" "
+ ;;
+ esac
+ done
+done
+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
+
+# When interrupted or exit'd, cleanup temporary files, and complete
+# config.log. We remove comments because anyway the quotes in there
+# would cause problems or look ugly.
+# WARNING: Be sure not to use single quotes in there, as some shells,
+# such as our DU 5.0 friend, will then `close' the trap.
+trap 'exit_status=$?
+ # Save into config.log some information that might help in debugging.
+ {
+ echo
+
+ cat <<\_ASBOX
+## ---------------- ##
+## Cache variables. ##
+## ---------------- ##
+_ASBOX
+ echo
+ # The following way of writing the cache mishandles newlines in values,
+{
+ (set) 2>&1 |
+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
+ *ac_space=\ *)
+ sed -n \
+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
+ ;;
+ *)
+ sed -n \
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+ ;;
+ esac;
+}
+ echo
+
+ cat <<\_ASBOX
+## ----------------- ##
+## Output variables. ##
+## ----------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_vars
+ do
+ eval ac_val=$`echo $ac_var`
+ echo "$ac_var='"'"'$ac_val'"'"'"
+ done | sort
+ echo
+
+ if test -n "$ac_subst_files"; then
+ cat <<\_ASBOX
+## ------------- ##
+## Output files. ##
+## ------------- ##
+_ASBOX
+ echo
+ for ac_var in $ac_subst_files
+ do
+ eval ac_val=$`echo $ac_var`
+ echo "$ac_var='"'"'$ac_val'"'"'"
+ done | sort
+ echo
+ fi
+
+ if test -s confdefs.h; then
+ cat <<\_ASBOX
+## ----------- ##
+## confdefs.h. ##
+## ----------- ##
+_ASBOX
+ echo
+ sed "/^$/d" confdefs.h | sort
+ echo
+ fi
+ test "$ac_signal" != 0 &&
+ echo "$as_me: caught signal $ac_signal"
+ echo "$as_me: exit $exit_status"
+ } >&5
+ rm -f core *.core &&
+ rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
+ exit $exit_status
+ ' 0
+for ac_signal in 1 2 13 15; do
+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+done
+ac_signal=0
+
+# confdefs.h avoids OS command line length limits that DEFS can exceed.
+rm -rf conftest* confdefs.h
+# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+echo >confdefs.h
+
+# Predefined preprocessor variables.
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_NAME "$PACKAGE_NAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_VERSION "$PACKAGE_VERSION"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_STRING "$PACKAGE_STRING"
+_ACEOF
+
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
+_ACEOF
+
+
+# Let the site file select an alternate cache file if it wants to.
# Prefer explicitly selected file to automatically selected ones.
if test -z "$CONFIG_SITE"; then
if test "x$prefix" != xNONE; then
@@ -852,39 +1331,104 @@ if test -z "$CONFIG_SITE"; then
fi
for ac_site_file in $CONFIG_SITE; do
if test -r "$ac_site_file"; then
- echo "loading site script $ac_site_file"
+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
+echo "$as_me: loading site script $ac_site_file" >&6;}
+ sed 's/^/| /' "$ac_site_file" >&5
. "$ac_site_file"
fi
done
if test -r "$cache_file"; then
- echo "loading cache $cache_file"
- test -f "$cache_file" && . $cache_file
+ # Some versions of bash will fail to source /dev/null (special
+ # files actually), so we avoid doing that.
+ if test -f "$cache_file"; then
+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5
+echo "$as_me: loading cache $cache_file" >&6;}
+ case $cache_file in
+ [\\/]* | ?:[\\/]* ) . $cache_file;;
+ *) . ./$cache_file;;
+ esac
+ fi
else
- echo "creating cache $cache_file"
- > $cache_file
+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5
+echo "$as_me: creating cache $cache_file" >&6;}
+ >$cache_file
+fi
+
+# Check that the precious variables saved in the cache have kept the same
+# value.
+ac_cache_corrupted=false
+for ac_var in `(set) 2>&1 |
+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
+ eval ac_old_set=\$ac_cv_env_${ac_var}_set
+ eval ac_new_set=\$ac_env_${ac_var}_set
+ eval ac_old_val="\$ac_cv_env_${ac_var}_value"
+ eval ac_new_val="\$ac_env_${ac_var}_value"
+ case $ac_old_set,$ac_new_set in
+ set,)
+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,set)
+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+ ac_cache_corrupted=: ;;
+ ,);;
+ *)
+ if test "x$ac_old_val" != "x$ac_new_val"; then
+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
+echo "$as_me: former value: $ac_old_val" >&2;}
+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
+echo "$as_me: current value: $ac_new_val" >&2;}
+ ac_cache_corrupted=:
+ fi;;
+ esac
+ # Pass precious variables to config.status.
+ if test "$ac_new_set" = set; then
+ case $ac_new_val in
+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+ *) ac_arg=$ac_var=$ac_new_val ;;
+ esac
+ case " $ac_configure_args " in
+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+ esac
+ fi
+done
+if $ac_cache_corrupted; then
+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+ { (exit 1); exit 1; }; }
fi
ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-ac_exeext=
-ac_objext=o
-if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
- # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
- if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
- ac_n= ac_c='
-' ac_t=' '
- else
- ac_n=-n ac_c= ac_t=
- fi
-else
- ac_n= ac_c='\c' ac_t=
-fi
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -912,6 +1456,11 @@ fi
+
+ ac_config_headers="$ac_config_headers device-drivers.h"
+
+
+
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
@@ -929,95 +1478,133 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
fi
done
if test -z "$ac_aux_dir"; then
- { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
+echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
+ { (exit 1); exit 1; }; }
fi
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
-
-echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:941: checking host system type" >&5
-if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then
-
# Make sure we can run config.sub.
- if $ac_config_sub sun4 >/dev/null 2>&1; then :
- else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
- fi
+$ac_config_sub sun4 >/dev/null 2>&1 ||
+ { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
+echo "$as_me: error: cannot run $ac_config_sub" >&2;}
+ { (exit 1); exit 1; }; }
+
+echo "$as_me:$LINENO: checking build system type" >&5
+echo $ECHO_N "checking build system type... $ECHO_C" >&6
+if test "${ac_cv_build+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_build_alias=$build_alias
+test -z "$ac_cv_build_alias" &&
+ ac_cv_build_alias=`$ac_config_guess`
+test -z "$ac_cv_build_alias" &&
+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
+echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
+ { (exit 1); exit 1; }; }
+ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
+echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+
+fi
+echo "$as_me:$LINENO: result: $ac_cv_build" >&5
+echo "${ECHO_T}$ac_cv_build" >&6
+build=$ac_cv_build
+build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
- ac_cv_host_alias=$host
- case "$ac_cv_host_alias" in
- NONE)
- case $nonopt in
- NONE)
- if ac_cv_host_alias=`$ac_config_guess`; then :
- else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
- fi ;;
- *) ac_cv_host_alias=$nonopt ;;
- esac ;;
- esac
- ac_cv_host=`$ac_config_sub $ac_cv_host_alias`
- ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+echo "$as_me:$LINENO: checking host system type" >&5
+echo $ECHO_N "checking host system type... $ECHO_C" >&6
+if test "${ac_cv_host+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
- echo $ac_n "(cached) $ac_c" 1>&6
-fi
-
-echo "$ac_t""$ac_cv_host" 1>&6
+ ac_cv_host_alias=$host_alias
+test -z "$ac_cv_host_alias" &&
+ ac_cv_host_alias=$ac_cv_build_alias
+ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
+echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
+ { (exit 1); exit 1; }; }
+fi
+echo "$as_me:$LINENO: result: $ac_cv_host" >&5
+echo "${ECHO_T}$ac_cv_host" >&6
host=$ac_cv_host
-host_alias=$ac_cv_host_alias
-host_cpu=$ac_cv_host_cpu
-host_vendor=$ac_cv_host_vendor
-host_os=$ac_cv_host_os
+host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
+host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
+host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+
case "$host_cpu" in
-i386) cat >> confdefs.h <<\EOF
-#define CONFIG_M386 1
-EOF
+i386)
- cat >> confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
+#define CONFIG_M386
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
#define CPU 386
-EOF
- ;;
-i486) cat >> confdefs.h <<\EOF
-#define CONFIG_M486 1
-EOF
+_ACEOF
+
+ ;;
+i486)
- cat >> confdefs.h <<\EOF
+cat >>confdefs.h <<\_ACEOF
+#define CONFIG_M486
+_ACEOF
+
+
+cat >>confdefs.h <<\_ACEOF
#define CPU 486
-EOF
- ;;
-i586) cat >> confdefs.h <<\EOF
-#define CONFIG_M586 1
-EOF
+_ACEOF
+
+ ;;
+i586)
+
+cat >>confdefs.h <<\_ACEOF
+#define CONFIG_M586
+_ACEOF
- cat >> confdefs.h <<\EOF
+
+cat >>confdefs.h <<\_ACEOF
#define CPU 586
-EOF
- ;;
-i686) cat >> confdefs.h <<\EOF
-#define CONFIG_M686 1
-EOF
+_ACEOF
+
+ ;;
+i686)
+
+cat >>confdefs.h <<\_ACEOF
+#define CONFIG_M686
+_ACEOF
- cat >> confdefs.h <<\EOF
+
+cat >>confdefs.h <<\_ACEOF
#define CPU 686
-EOF
- ;;
-*) cat >> confdefs.h <<\EOF
-#define CONFIG_M486 1
-EOF
+_ACEOF
+
+ ;;
+*)
+
+cat >>confdefs.h <<\_ACEOF
+#define CONFIG_M486
+_ACEOF
- cat >> confdefs.h <<\EOF
+
+cat >>confdefs.h <<\_ACEOF
#define CPU 486
-EOF
- ;;
+_ACEOF
+
+ ;;
esac
case "$host_cpu" in
@@ -1026,288 +1613,1088 @@ i[3456]86) systype=i386 ;;
esac
-
-echo $ac_n "checking build system type""... $ac_c" 1>&6
-echo "configure:1032: checking build system type" >&5
-if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then
-
-# Make sure we can run config.sub.
- if $ac_config_sub sun4 >/dev/null 2>&1; then :
- else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}gcc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
fi
+done
+done
- ac_cv_build_alias=$build
- case "$ac_cv_build_alias" in
- NONE)
- case $nonopt in
- NONE)
- ac_cv_build_alias=$host_alias ;;
-
- *) ac_cv_build_alias=$nonopt ;;
- esac ;;
- esac
-
- ac_cv_build=`$ac_config_sub $ac_cv_build_alias`
- ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
- ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
- ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
else
- echo $ac_n "(cached) $ac_c" 1>&6
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
-echo "$ac_t""$ac_cv_build" 1>&6
-
-build=$ac_cv_build
-build_alias=$ac_cv_build_alias
-build_cpu=$ac_cv_build_cpu
-build_vendor=$ac_cv_build_vendor
-build_os=$ac_cv_build_os
-
-
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
-if test $host != $build; then
- ac_tool_prefix=${host_alias}-
+ CC=$ac_ct_CC
else
- ac_tool_prefix=
+ CC="$ac_cv_prog_CC"
fi
-# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}gcc; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1079: checking for $ac_word" >&5
-if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="gcc"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
fi
fi
-CC="$ac_cv_prog_CC"
+CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
+ echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
else
- echo "$ac_t""no" 1>&6
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "gcc", so it can be a program name with args.
+set dummy gcc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="gcc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
-# Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1111: checking for $ac_word" >&5
-if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
+ CC=$ac_ct_CC
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
+set dummy ${ac_tool_prefix}cc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CC="gcc"
- break
- fi
- done
- IFS="$ac_save_ifs"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="${ac_tool_prefix}cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
fi
fi
-CC="$ac_cv_prog_CC"
+CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
+ echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+fi
+if test -z "$ac_cv_prog_CC"; then
+ ac_ct_CC=$CC
+ # Extract the first word of "cc", so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
else
- echo "$ac_t""no" 1>&6
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
+ CC=$ac_ct_CC
+else
+ CC="$ac_cv_prog_CC"
+fi
+
+fi
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1141: checking for $ac_word" >&5
-if eval "test \"\${ac_cv_prog_CC+set}\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_prog_rejected=no
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- break
- fi
- done
- IFS="$ac_save_ifs"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
+ ac_prog_rejected=yes
+ continue
+ fi
+ ac_cv_prog_CC="cc"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
- if test $# -gt 0; then
+ if test $# != 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
- set dummy "$ac_dir/$ac_word" "$@"
- shift
- ac_cv_prog_CC="$@"
+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
fi
fi
fi
fi
-CC="$ac_cv_prog_CC"
+CC=$ac_cv_prog_CC
if test -n "$CC"; then
- echo "$ac_t""$CC" 1>&6
+ echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
else
- echo "$ac_t""no" 1>&6
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
- test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
+if test -z "$CC"; then
+ if test -n "$ac_tool_prefix"; then
+ for ac_prog in cl
+ do
+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$CC"; then
+ ac_cv_prog_CC="$CC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
-echo "configure:1190: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
+fi
+fi
+CC=$ac_cv_prog_CC
+if test -n "$CC"; then
+ echo "$as_me:$LINENO: result: $CC" >&5
+echo "${ECHO_T}$CC" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-cat > conftest.$ac_ext << EOF
-
-#line 1201 "configure"
-#include "confdefs.h"
-
-main(){return(0);}
-EOF
-if { (eval echo configure:1206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- ac_cv_prog_cc_works=yes
- # If we can't run a trivial program, we are probably using a cross compiler.
- if (./conftest; exit) 2>/dev/null; then
- ac_cv_prog_cc_cross=no
- else
- ac_cv_prog_cc_cross=yes
- fi
+ test -n "$CC" && break
+ done
+fi
+if test -z "$CC"; then
+ ac_ct_CC=$CC
+ for ac_prog in cl
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_CC"; then
+ ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- ac_cv_prog_cc_works=no
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_CC="$ac_prog"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
fi
-rm -fr conftest*
-ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
-if test $ac_cv_prog_cc_works = no; then
- cross_linkable=no
- ac_cv_prog_cc_cross=yes
- # AC_MSG_ERROR([installation or configuration problem: C compiler cannot create executables.])
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n "$ac_ct_CC"; then
+ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
+echo "${ECHO_T}$ac_ct_CC" >&6
else
- cross_linkable=yes
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
-echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
-echo "configure:1236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
-echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
-cross_compiling=$ac_cv_prog_cc_cross
+ test -n "$ac_ct_CC" && break
+done
-echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1242: checking whether we are using GNU C" >&5
-if eval "test \"\${ac_cv_prog_gcc+set}\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
+ CC=$ac_ct_CC
+fi
+
+fi
+
+
+test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&5
+echo "$as_me: error: no acceptable C compiler found in \$PATH
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+
+# Provide some information about the compiler.
+echo "$as_me:$LINENO:" \
+ "checking for C compiler version" >&5
+ac_compiler=`set X $ac_compile; echo $2`
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
+ (eval $ac_compiler --version </dev/null >&5) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
+ (eval $ac_compiler -v </dev/null >&5) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
+ (eval $ac_compiler -V </dev/null >&5) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }
+
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files a.out a.exe b.out"
+# Try to create an executable without -o first, disregard a.out.
+# It will help us diagnose broken compilers, and finding out an intuition
+# of exeext.
+echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
+ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
+ (eval $ac_link_default) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # Find the output, starting from the most likely. This scheme is
+# not robust to junk in `.', hence go to wildcards (a.*) only as a last
+# resort.
+
+# Be careful to initialize this variable, since it used to be cached.
+# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
+ac_cv_exeext=
+# b.out is created by i960 compilers.
+for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
+do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
+ ;;
+ conftest.$ac_ext )
+ # This is the source file.
+ ;;
+ [ab].out )
+ # We found the default executable, but exeext='' is most
+ # certainly right.
+ break;;
+ *.* )
+ ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ # FIXME: I believe we export ac_cv_exeext for Libtool,
+ # but it would be cool to find out if it's true. Does anybody
+ # maintain Libtool? --akim.
+ export ac_cv_exeext
+ break;;
+ * )
+ break;;
+ esac
+done
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
+See \`config.log' for more details." >&5
+echo "$as_me: error: C compiler cannot create executables
+See \`config.log' for more details." >&2;}
+ { (exit 77); exit 77; }; }
+fi
+
+ac_exeext=$ac_cv_exeext
+echo "$as_me:$LINENO: result: $ac_file" >&5
+echo "${ECHO_T}$ac_file" >&6
+
+# Check the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+echo "$as_me:$LINENO: checking whether the C compiler works" >&5
+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
+# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
+# If not cross compiling, check that we can run a simple program.
+if test "$cross_compiling" != yes; then
+ if { ac_try='./$ac_file'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ cross_compiling=no
+ else
+ if test "$cross_compiling" = maybe; then
+ cross_compiling=yes
+ else
+ { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ fi
+fi
+echo "$as_me:$LINENO: result: yes" >&5
+echo "${ECHO_T}yes" >&6
+
+rm -f a.out a.exe conftest$ac_cv_exeext b.out
+ac_clean_files=$ac_clean_files_save
+# Check the compiler produces executables we can run. If not, either
+# the compiler is broken, or we cross compile.
+echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
+echo "$as_me:$LINENO: result: $cross_compiling" >&5
+echo "${ECHO_T}$cross_compiling" >&6
+
+echo "$as_me:$LINENO: checking for suffix of executables" >&5
+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+ (eval $ac_link) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ # If both `conftest.exe' and `conftest' are `present' (well, observable)
+# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
+# work properly (i.e., refer to `conftest.exe'), while it won't with
+# `rm'.
+for ac_file in conftest.exe conftest conftest.*; do
+ test -f "$ac_file" || continue
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
+ *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
+ export ac_cv_exeext
+ break;;
+ * ) break;;
+ esac
+done
+else
+ { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+rm -f conftest$ac_cv_exeext
+echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
+echo "${ECHO_T}$ac_cv_exeext" >&6
+
+rm -f conftest.$ac_ext
+EXEEXT=$ac_cv_exeext
+ac_exeext=$EXEEXT
+echo "$as_me:$LINENO: checking for suffix of object files" >&5
+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
+if test "${ac_cv_objext+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; then
+ for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
+ case $ac_file in
+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
+ *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
+ break;;
+ esac
+done
else
- cat > conftest.c <<EOF
-#ifdef __GNUC__
- yes;
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&5
+echo "$as_me: error: cannot compute suffix of object files: cannot compile
+See \`config.log' for more details." >&2;}
+ { (exit 1); exit 1; }; }
+fi
+
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
+echo "${ECHO_T}$ac_cv_objext" >&6
+OBJEXT=$ac_cv_objext
+ac_objext=$OBJEXT
+echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
+if test "${ac_cv_c_compiler_gnu+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+#ifndef __GNUC__
+ choke me
#endif
-EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
- ac_cv_prog_gcc=yes
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_compiler_gnu=yes
else
- ac_cv_prog_gcc=no
-fi
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ac_compiler_gnu=no
fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_c_compiler_gnu=$ac_compiler_gnu
-echo "$ac_t""$ac_cv_prog_gcc" 1>&6
+fi
+echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
+GCC=`test $ac_compiler_gnu = yes && echo yes`
+ac_test_CFLAGS=${CFLAGS+set}
+ac_save_CFLAGS=$CFLAGS
+CFLAGS="-g"
+echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
+if test "${ac_cv_prog_cc_g+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_prog_cc_g=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-if test $ac_cv_prog_gcc = yes; then
- GCC=yes
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS=
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
+ac_cv_prog_cc_g=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
+if test "$ac_test_CFLAGS" = set; then
+ CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+ if test "$GCC" = yes; then
+ CFLAGS="-g -O2"
else
- # Add "-O" to both the CC and CPP commands, to eliminate possible confusion
- # that results from __OPTIMIZE__ being defined for CC but not CPP.
- if echo "$CC " | grep ' -O[1-9 ]' > /dev/null 2>&1; then
- : # already optimizing
- else
- CC="$CC -O"
- ac_cv_prog_CC="$CC"
- fi
+ CFLAGS="-g"
fi
else
- GCC=
+ if test "$GCC" = yes; then
+ CFLAGS="-O2"
+ else
+ CFLAGS=
+ fi
fi
+echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
+echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
+if test "${ac_cv_prog_cc_stdc+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ ac_cv_prog_cc_stdc=no
+ac_save_CC=$CC
+cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+#include <stdarg.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
+struct buf { int x; };
+FILE * (*rcsopen) (struct buf *, struct stat *, int);
+static char *e (p, i)
+ char **p;
+ int i;
+{
+ return p[i];
+}
+static char *f (char * (*g) (char **, int), char **p, ...)
+{
+ char *s;
+ va_list v;
+ va_start (v,p);
+ s = g (p, va_arg (v,int));
+ va_end (v);
+ return s;
+}
+
+/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
+ function prototypes and stuff, but not '\xHH' hex character constants.
+ These don't provoke an error unfortunately, instead are silently treated
+ as 'x'. The following induces an error, until -std1 is added to get
+ proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
+ array size at least. It's necessary to write '\x00'==0 to get something
+ that's true only with -std1. */
+int osf4_cc_array ['\x00' == 0 ? 1 : -1];
+
+int test (int i, double x);
+struct s1 {int (*f) (int a);};
+struct s2 {int (*f) (double a);};
+int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
+int argc;
+char **argv;
+int
+main ()
+{
+return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
+ ;
+ return 0;
+}
+_ACEOF
+# Don't try gcc -ansi; that turns off useful extensions and
+# breaks some systems' header files.
+# AIX -qlanglvl=ansi
+# Ultrix and OSF/1 -std1
+# HP-UX 10.20 and later -Ae
+# HP-UX older versions -Aa -D_HPUX_SOURCE
+# SVR4 -Xc -D__EXTENSIONS__
+for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
+do
+ CC="$ac_save_CC $ac_arg"
+ rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_prog_cc_stdc=$ac_arg
+break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+fi
+rm -f conftest.err conftest.$ac_objext
+done
+rm -f conftest.$ac_ext conftest.$ac_objext
+CC=$ac_save_CC
+
+fi
+
+case "x$ac_cv_prog_cc_stdc" in
+ x|xno)
+ echo "$as_me:$LINENO: result: none needed" >&5
+echo "${ECHO_T}none needed" >&6 ;;
+ *)
+ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
+echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
+ CC="$CC $ac_cv_prog_cc_stdc" ;;
+esac
+
+# Some people use a C++ compiler to compile C. Since we use `exit',
+# in C++ we need to declare it. In case someone uses the same compiler
+# for both compiling C and C++ we need to have the C++ compiler decide
+# the declaration of exit, since it's the most demanding environment.
+cat >conftest.$ac_ext <<_ACEOF
+#ifndef __cplusplus
+ choke me
+#endif
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ for ac_declaration in \
+ '' \
+ 'extern "C" void std::exit (int) throw (); using std::exit;' \
+ 'extern "C" void std::exit (int); using std::exit;' \
+ 'extern "C" void exit (int) throw ();' \
+ 'extern "C" void exit (int);' \
+ 'void exit (int);'
+do
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_declaration
+#include <stdlib.h>
+int
+main ()
+{
+exit (42);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ :
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+continue
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_declaration
+int
+main ()
+{
+exit (42);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+ (eval $ac_compile) 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } &&
+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; } &&
+ { ac_try='test -s conftest.$ac_objext'
+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+ (eval $ac_try) 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ break
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+done
+rm -f conftest*
+if test -n "$ac_declaration"; then
+ echo '#ifdef __cplusplus' >>confdefs.h
+ echo $ac_declaration >>confdefs.h
+ echo '#endif' >>confdefs.h
+fi
+
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
-# Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+if test -n "$ac_tool_prefix"; then
+ # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
set dummy ${ac_tool_prefix}ld; ac_word=$2
-echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1285: checking for $ac_word" >&5
-if eval "test \"\${ac_cv_prog_LD+set}\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_LD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
else
if test -n "$LD"; then
ac_cv_prog_LD="$LD" # Let the user override the test.
else
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- ac_cv_prog_LD="${ac_tool_prefix}ld"
- break
- fi
- done
- IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_LD" && ac_cv_prog_LD="ld"
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_LD="${ac_tool_prefix}ld"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
fi
fi
-LD="$ac_cv_prog_LD"
+LD=$ac_cv_prog_LD
if test -n "$LD"; then
- echo "$ac_t""$LD" 1>&6
+ echo "$as_me:$LINENO: result: $LD" >&5
+echo "${ECHO_T}$LD" >&6
else
- echo "$ac_t""no" 1>&6
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
fi
+fi
+if test -z "$ac_cv_prog_LD"; then
+ ac_ct_LD=$LD
+ # Extract the first word of "ld", so it can be a program name with args.
+set dummy ld; ac_word=$2
+echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ if test -n "$ac_ct_LD"; then
+ ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_ac_ct_LD="ld"
+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+done
+
+fi
+fi
+ac_ct_LD=$ac_cv_prog_ac_ct_LD
+if test -n "$ac_ct_LD"; then
+ echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
+echo "${ECHO_T}$ac_ct_LD" >&6
+else
+ echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6
+fi
+
+ LD=$ac_ct_LD
+else
+ LD="$ac_cv_prog_LD"
+fi
@@ -1320,8 +2707,7 @@ if test "${enable_3c501+set}" = set; then
enableval="$enable_3c501"
enable_el1="$enable_3c501"
-fi
-
+fi;
# Checking for alias 3c503
# Check whether --enable-3c503 or --disable-3c503 was given.
@@ -1329,8 +2715,7 @@ if test "${enable_3c503+set}" = set; then
enableval="$enable_3c503"
enable_el2="$enable_3c503"
-fi
-
+fi;
# Checking for alias 3c509
# Check whether --enable-3c509 or --disable-3c509 was given.
@@ -1338,8 +2723,7 @@ if test "${enable_3c509+set}" = set; then
enableval="$enable_3c509"
enable_el3="$enable_3c509"
-fi
-
+fi;
# Checking for alias 3c579
# Check whether --enable-3c579 or --disable-3c579 was given.
@@ -1347,8 +2731,7 @@ if test "${enable_3c579+set}" = set; then
enableval="$enable_3c579"
enable_el3="$enable_3c579"
-fi
-
+fi;
# Checking for alias 3c59x
# Check whether --enable-3c59x or --disable-3c59x was given.
@@ -1356,8 +2739,7 @@ if test "${enable_3c59x+set}" = set; then
enableval="$enable_3c59x"
enable_vortex="$enable_3c59x"
-fi
-
+fi;
# Checking for alias 3c90x
# Check whether --enable-3c90x or --disable-3c90x was given.
@@ -1365,8 +2747,7 @@ if test "${enable_3c90x+set}" = set; then
enableval="$enable_3c90x"
enable_vortex="$enable_3c90x"
-fi
-
+fi;
# Checking for alias hpj2577
# Check whether --enable-hpj2577 or --disable-hpj2577 was given.
@@ -1374,8 +2755,7 @@ if test "${enable_hpj2577+set}" = set; then
enableval="$enable_hpj2577"
enable_hp100="$enable_hpj2577"
-fi
-
+fi;
# Checking for alias hpj2573
# Check whether --enable-hpj2573 or --disable-hpj2573 was given.
@@ -1383,8 +2763,7 @@ if test "${enable_hpj2573+set}" = set; then
enableval="$enable_hpj2573"
enable_hp100="$enable_hpj2573"
-fi
-
+fi;
# Checking for alias hpj2585
# Check whether --enable-hpj2585 or --disable-hpj2585 was given.
@@ -1392,8 +2771,7 @@ if test "${enable_hpj2585+set}" = set; then
enableval="$enable_hpj2585"
enable_hp100="$enable_hpj2585"
-fi
-
+fi;
# Checking for alias hp27248b
# Check whether --enable-hp27248b or --disable-hp27248b was given.
@@ -1401,8 +2779,7 @@ if test "${enable_hp27248b+set}" = set; then
enableval="$enable_hp27248b"
enable_hp100="$enable_hp27248b"
-fi
-
+fi;
# Checking for alias eth32
# Check whether --enable-eth32 or --disable-eth32 was given.
@@ -1410,8 +2787,7 @@ if test "${enable_eth32+set}" = set; then
enableval="$enable_eth32"
enable_eth16i="$enable_eth32"
-fi
-
+fi;
# Checking for alias znote
# Check whether --enable-znote or --disable-znote was given.
@@ -1419,8 +2795,7 @@ if test "${enable_znote+set}" = set; then
enableval="$enable_znote"
enable_znet="$enable_znote"
-fi
-
+fi;
# Checking for alias de100
# Check whether --enable-de100 or --disable-de100 was given.
@@ -1428,8 +2803,7 @@ if test "${enable_de100+set}" = set; then
enableval="$enable_de100"
enable_depca="$enable_de100"
-fi
-
+fi;
# Checking for alias de101
# Check whether --enable-de101 or --disable-de101 was given.
@@ -1437,8 +2811,7 @@ if test "${enable_de101+set}" = set; then
enableval="$enable_de101"
enable_depca="$enable_de101"
-fi
-
+fi;
# Checking for alias de200
# Check whether --enable-de200 or --disable-de200 was given.
@@ -1446,8 +2819,7 @@ if test "${enable_de200+set}" = set; then
enableval="$enable_de200"
enable_depca="$enable_de200"
-fi
-
+fi;
# Checking for alias de201
# Check whether --enable-de201 or --disable-de201 was given.
@@ -1455,8 +2827,7 @@ if test "${enable_de201+set}" = set; then
enableval="$enable_de201"
enable_depca="$enable_de201"
-fi
-
+fi;
# Checking for alias de202
# Check whether --enable-de202 or --disable-de202 was given.
@@ -1464,8 +2835,7 @@ if test "${enable_de202+set}" = set; then
enableval="$enable_de202"
enable_depca="$enable_de202"
-fi
-
+fi;
# Checking for alias de210
# Check whether --enable-de210 or --disable-de210 was given.
@@ -1473,8 +2843,7 @@ if test "${enable_de210+set}" = set; then
enableval="$enable_de210"
enable_depca="$enable_de210"
-fi
-
+fi;
# Checking for alias de422
# Check whether --enable-de422 or --disable-de422 was given.
@@ -1482,8 +2851,7 @@ if test "${enable_de422+set}" = set; then
enableval="$enable_de422"
enable_depca="$enable_de422"
-fi
-
+fi;
# Checking for alias de203
# Check whether --enable-de203 or --disable-de203 was given.
@@ -1491,8 +2859,7 @@ if test "${enable_de203+set}" = set; then
enableval="$enable_de203"
enable_ewrk3="$enable_de203"
-fi
-
+fi;
# Checking for alias de204
# Check whether --enable-de204 or --disable-de204 was given.
@@ -1500,8 +2867,7 @@ if test "${enable_de204+set}" = set; then
enableval="$enable_de204"
enable_ewrk3="$enable_de204"
-fi
-
+fi;
# Checking for alias de205
# Check whether --enable-de205 or --disable-de205 was given.
@@ -1509,8 +2875,7 @@ if test "${enable_de205+set}" = set; then
enableval="$enable_de205"
enable_ewrk3="$enable_de205"
-fi
-
+fi;
# Checking for alias de425
# Check whether --enable-de425 or --disable-de425 was given.
@@ -1518,8 +2883,7 @@ if test "${enable_de425+set}" = set; then
enableval="$enable_de425"
enable_de4x5="$enable_de425"
-fi
-
+fi;
# Checking for alias de434
# Check whether --enable-de434 or --disable-de434 was given.
@@ -1527,8 +2891,7 @@ if test "${enable_de434+set}" = set; then
enableval="$enable_de434"
enable_de4x5="$enable_de434"
-fi
-
+fi;
# Checking for alias de435
# Check whether --enable-de435 or --disable-de435 was given.
@@ -1536,8 +2899,7 @@ if test "${enable_de435+set}" = set; then
enableval="$enable_de435"
enable_de4x5="$enable_de435"
-fi
-
+fi;
# Checking for alias de450
# Check whether --enable-de450 or --disable-de450 was given.
@@ -1545,8 +2907,7 @@ if test "${enable_de450+set}" = set; then
enableval="$enable_de450"
enable_de4x5="$enable_de450"
-fi
-
+fi;
# Checking for alias de500
# Check whether --enable-de500 or --disable-de500 was given.
@@ -1554,8 +2915,7 @@ if test "${enable_de500+set}" = set; then
enableval="$enable_de500"
enable_de4x5="$enable_de500"
-fi
-
+fi;
# Checking for alias 3c507
# Check whether --enable-3c507 or --disable-3c507 was given.
@@ -1563,8 +2923,7 @@ if test "${enable_3c507+set}" = set; then
enableval="$enable_3c507"
enable_el16="$enable_3c507"
-fi
-
+fi;
# Checking for alias 3c505
# Check whether --enable-3c505 or --disable-3c505 was given.
@@ -1572,8 +2931,7 @@ if test "${enable_3c505+set}" = set; then
enableval="$enable_3c505"
enable_elplus="$enable_3c505"
-fi
-
+fi;
# Checking for alias ne1000
# Check whether --enable-ne1000 or --disable-ne1000 was given.
@@ -1581,8 +2939,7 @@ if test "${enable_ne1000+set}" = set; then
enableval="$enable_ne1000"
enable_ne2000="$enable_ne1000"
-fi
-
+fi;
# Checking for alias ne
# Check whether --enable-ne or --disable-ne was given.
@@ -1590,8 +2947,7 @@ if test "${enable_ne+set}" = set; then
enableval="$enable_ne"
enable_ne2000="$enable_ne"
-fi
-
+fi;
# Checking for alias at1500
# Check whether --enable-at1500 or --disable-at1500 was given.
@@ -1599,8 +2955,7 @@ if test "${enable_at1500+set}" = set; then
enableval="$enable_at1500"
enable_lance="$enable_at1500"
-fi
-
+fi;
# Checking for alias ne2100
# Check whether --enable-ne2100 or --disable-ne2100 was given.
@@ -1608,8 +2963,7 @@ if test "${enable_ne2100+set}" = set; then
enableval="$enable_ne2100"
enable_lance="$enable_ne2100"
-fi
-
+fi;
# Checking for alias tulip
# Check whether --enable-tulip or --disable-tulip was given.
@@ -1617,8 +2971,7 @@ if test "${enable_tulip+set}" = set; then
enableval="$enable_tulip"
enable_elcp="$enable_tulip"
-fi
-
+fi;
# Checking for alias rtl8129
# Check whether --enable-rtl8129 or --disable-rtl8129 was given.
@@ -1626,8 +2979,7 @@ if test "${enable_rtl8129+set}" = set; then
enableval="$enable_rtl8129"
enable_rtl8139="$enable_rtl8129"
-fi
-
+fi;
# Checking for alias aha2825
# Check whether --enable-aha2825 or --disable-aha2825 was given.
@@ -1635,8 +2987,7 @@ if test "${enable_aha2825+set}" = set; then
enableval="$enable_aha2825"
enable_aha152x="$enable_aha2825"
-fi
-
+fi;
# Checking for alias ncr53c400
# Check whether --enable-ncr53c400 or --disable-ncr53c400 was given.
@@ -1644,8 +2995,7 @@ if test "${enable_ncr53c400+set}" = set; then
enableval="$enable_ncr53c400"
enable_ncr5380="$enable_ncr53c400"
-fi
-
+fi;
# Checking for alias t128f
# Check whether --enable-t128f or --disable-t128f was given.
@@ -1653,8 +3003,7 @@ if test "${enable_t128f+set}" = set; then
enableval="$enable_t128f"
enable_t128="$enable_t128f"
-fi
-
+fi;
# Checking for alias t228
# Check whether --enable-t228 or --disable-t228 was given.
@@ -1662,8 +3011,7 @@ if test "${enable_t228+set}" = set; then
enableval="$enable_t228"
enable_t128="$enable_t228"
-fi
-
+fi;
# Checking for alias am79c974
# Check whether --enable-am79c974 or --disable-am79c974 was given.
@@ -1671,8 +3019,7 @@ if test "${enable_am79c974+set}" = set; then
enableval="$enable_am79c974"
enable_am53c974="$enable_am79c974"
-fi
-
+fi;
# Checking for alias dtc3180
# Check whether --enable-dtc3180 or --disable-dtc3180 was given.
@@ -1680,8 +3027,7 @@ if test "${enable_dtc3180+set}" = set; then
enableval="$enable_dtc3180"
enable_dtc3280="$enable_dtc3180"
-fi
-
+fi;
# Checking for alias dc390w
# Check whether --enable-dc390w or --disable-dc390w was given.
@@ -1689,8 +3035,7 @@ if test "${enable_dc390w+set}" = set; then
enableval="$enable_dc390w"
enable_ncr53c8xx="$enable_dc390w"
-fi
-
+fi;
# Checking for alias dc390u
# Check whether --enable-dc390u or --disable-dc390u was given.
@@ -1698,8 +3043,7 @@ if test "${enable_dc390u+set}" = set; then
enableval="$enable_dc390u"
enable_ncr53c8xx="$enable_dc390u"
-fi
-
+fi;
# Checking for alias dc390f
# Check whether --enable-dc390f or --disable-dc390f was given.
@@ -1707,8 +3051,7 @@ if test "${enable_dc390f+set}" = set; then
enableval="$enable_dc390f"
enable_ncr53c8xx="$enable_dc390f"
-fi
-
+fi;
# Checking for alias dc390
# Check whether --enable-dc390 or --disable-dc390 was given.
@@ -1716,8 +3059,7 @@ if test "${enable_dc390+set}" = set; then
enableval="$enable_dc390"
enable_dc390t="$enable_dc390"
-fi
-
+fi;
# Checking for alias epic100
# Check whether --enable-epic100 or --disable-epic100 was given.
@@ -1725,19 +3067,25 @@ if test "${enable_epic100+set}" = set; then
enableval="$enable_epic100"
enable_epic="$enable_epic100"
-fi
+fi;
+
driver_class_scsi_option=CONFIG_SCSI
-driver_class_scsi_files="constants.o hosts.o scsi.o scsi_ioctl.o scsi_proc.o scsicam.o sd.o sd_ioctl.o sr.o sr_ioctl.o"
+driver_class_scsi_files=" \
+ constants.o hosts.o scsi.o scsi_ioctl.o scsi_proc.o scsicam.o sd.o \
+ sd_ioctl.o sr.o sr_ioctl.o"
+
+
driver_class_net_option=CONFIG_INET
-driver_class_net_files="auto_irq.o net.o Space.o dev.o net_init.o"
+driver_class_net_files=" \
+ auto_irq.o net.o Space.o dev.o net_init.o"
@@ -1749,46 +3097,50 @@ driver_class_net_files="auto_irq.o net.o Space.o dev.o net_init.o"
# Check whether --enable-floppy or --disable-floppy was given.
if test "${enable_floppy+set}" = set; then
enableval="$enable_floppy"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_BLK_DEV_FD 1
-EOF
+_ACEOF
device_drivers="$device_drivers floppy.o"
if test "${driver_class__selected+set}" != set; then
driver_class__selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class__option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class__files"
fi
fi
-fi
-
+fi;
# Checking for device driver option ide
# Check whether --enable-ide or --disable-ide was given.
if test "${enable_ide+set}" = set; then
enableval="$enable_ide"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_BLK_DEV_IDE 1
-EOF
+_ACEOF
-device_drivers="$device_drivers cmd640.o ide-cd.o ide.o rz1000.o triton.o"
+device_drivers="$device_drivers \
+ cmd640.o ide-cd.o ide.o rz1000.o triton.o"
if test "${driver_class__selected+set}" != set; then
driver_class__selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class__option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class__files"
fi
fi
-fi
+fi;
@@ -1800,30 +3152,32 @@ if test "${enable_advansys+set}" = set; then
enableval="$enable_advansys"
enable_advansys="$enable_advansys"
-fi
-
+fi;
# Checking for device driver option advansys
# Check whether --enable-advansys or --disable-advansys was given.
if test "${enable_advansys+set}" = set; then
enableval="$enable_advansys"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_ADVANSYS 1
-EOF
+_ACEOF
device_drivers="$device_drivers advansys.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias BusLogic
@@ -1832,30 +3186,32 @@ if test "${enable_BusLogic+set}" = set; then
enableval="$enable_BusLogic"
enable_buslogic="$enable_BusLogic"
-fi
-
+fi;
# Checking for device driver option buslogic
# Check whether --enable-buslogic or --disable-buslogic was given.
if test "${enable_buslogic+set}" = set; then
enableval="$enable_buslogic"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_BUSLOGIC 1
-EOF
+_ACEOF
device_drivers="$device_drivers BusLogic.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias u14-34f
@@ -1864,30 +3220,32 @@ if test "${enable_u14_34f+set}" = set; then
enableval="$enable_u14_34f"
enable_u1434f="$enable_u14-34f"
-fi
-
+fi;
# Checking for device driver option u1434f
# Check whether --enable-u1434f or --disable-u1434f was given.
if test "${enable_u1434f+set}" = set; then
enableval="$enable_u1434f"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_U14_34F 1
-EOF
+_ACEOF
device_drivers="$device_drivers u14-34f.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias ultrastor
@@ -1896,30 +3254,32 @@ if test "${enable_ultrastor+set}" = set; then
enableval="$enable_ultrastor"
enable_ultrastor="$enable_ultrastor"
-fi
-
+fi;
# Checking for device driver option ultrastor
# Check whether --enable-ultrastor or --disable-ultrastor was given.
if test "${enable_ultrastor+set}" = set; then
enableval="$enable_ultrastor"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_ULTRASTOR 1
-EOF
+_ACEOF
device_drivers="$device_drivers ultrastor.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias aha152x
@@ -1928,30 +3288,32 @@ if test "${enable_aha152x+set}" = set; then
enableval="$enable_aha152x"
enable_aha152x="$enable_aha152x"
-fi
-
+fi;
# Checking for device driver option aha152x
# Check whether --enable-aha152x or --disable-aha152x was given.
if test "${enable_aha152x+set}" = set; then
enableval="$enable_aha152x"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_AHA152X 1
-EOF
+_ACEOF
device_drivers="$device_drivers aha152x.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias aha1542
@@ -1960,30 +3322,32 @@ if test "${enable_aha1542+set}" = set; then
enableval="$enable_aha1542"
enable_aha1542="$enable_aha1542"
-fi
-
+fi;
# Checking for device driver option aha1542
# Check whether --enable-aha1542 or --disable-aha1542 was given.
if test "${enable_aha1542+set}" = set; then
enableval="$enable_aha1542"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_AHA1542 1
-EOF
+_ACEOF
device_drivers="$device_drivers aha1542.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias aha1740
@@ -1992,30 +3356,32 @@ if test "${enable_aha1740+set}" = set; then
enableval="$enable_aha1740"
enable_aha1740="$enable_aha1740"
-fi
-
+fi;
# Checking for device driver option aha1740
# Check whether --enable-aha1740 or --disable-aha1740 was given.
if test "${enable_aha1740+set}" = set; then
enableval="$enable_aha1740"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_AHA1740 1
-EOF
+_ACEOF
device_drivers="$device_drivers aha1740.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias aic7xxx
@@ -2024,30 +3390,32 @@ if test "${enable_aic7xxx+set}" = set; then
enableval="$enable_aic7xxx"
enable_aic7xxx="$enable_aic7xxx"
-fi
-
+fi;
# Checking for device driver option aic7xxx
# Check whether --enable-aic7xxx or --disable-aic7xxx was given.
if test "${enable_aic7xxx+set}" = set; then
enableval="$enable_aic7xxx"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_AIC7XXX 1
-EOF
+_ACEOF
device_drivers="$device_drivers aic7xxx.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias fdomain
@@ -2056,30 +3424,32 @@ if test "${enable_fdomain+set}" = set; then
enableval="$enable_fdomain"
enable_futuredomain="$enable_fdomain"
-fi
-
+fi;
# Checking for device driver option futuredomain
# Check whether --enable-futuredomain or --disable-futuredomain was given.
if test "${enable_futuredomain+set}" = set; then
enableval="$enable_futuredomain"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_FUTURE_DOMAIN 1
-EOF
+_ACEOF
device_drivers="$device_drivers fdomain.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias in2000
@@ -2088,30 +3458,32 @@ if test "${enable_in2000+set}" = set; then
enableval="$enable_in2000"
enable_in2000="$enable_in2000"
-fi
-
+fi;
# Checking for device driver option in2000
# Check whether --enable-in2000 or --disable-in2000 was given.
if test "${enable_in2000+set}" = set; then
enableval="$enable_in2000"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_IN2000 1
-EOF
+_ACEOF
device_drivers="$device_drivers in2000.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias g_NCR5380
@@ -2120,30 +3492,32 @@ if test "${enable_g_NCR5380+set}" = set; then
enableval="$enable_g_NCR5380"
enable_ncr5380="$enable_g_NCR5380"
-fi
-
+fi;
# Checking for device driver option ncr5380
# Check whether --enable-ncr5380 or --disable-ncr5380 was given.
if test "${enable_ncr5380+set}" = set; then
enableval="$enable_ncr5380"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_GENERIC_NCR5380 1
-EOF
+_ACEOF
device_drivers="$device_drivers g_NCR5380.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias NCR53c406a
@@ -2152,30 +3526,32 @@ if test "${enable_NCR53c406a+set}" = set; then
enableval="$enable_NCR53c406a"
enable_ncr53c406a="$enable_NCR53c406a"
-fi
-
+fi;
# Checking for device driver option ncr53c406a
# Check whether --enable-ncr53c406a or --disable-ncr53c406a was given.
if test "${enable_ncr53c406a+set}" = set; then
enableval="$enable_ncr53c406a"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_NCR53C406A 1
-EOF
+_ACEOF
device_drivers="$device_drivers NCR53c406a.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias pas16
@@ -2184,30 +3560,32 @@ if test "${enable_pas16+set}" = set; then
enableval="$enable_pas16"
enable_pas16="$enable_pas16"
-fi
-
+fi;
# Checking for device driver option pas16
# Check whether --enable-pas16 or --disable-pas16 was given.
if test "${enable_pas16+set}" = set; then
enableval="$enable_pas16"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_PASS16 1
-EOF
+_ACEOF
device_drivers="$device_drivers pas16.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias seagate
@@ -2216,30 +3594,32 @@ if test "${enable_seagate+set}" = set; then
enableval="$enable_seagate"
enable_seagate="$enable_seagate"
-fi
-
+fi;
# Checking for device driver option seagate
# Check whether --enable-seagate or --disable-seagate was given.
if test "${enable_seagate+set}" = set; then
enableval="$enable_seagate"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_SEAGATE 1
-EOF
+_ACEOF
device_drivers="$device_drivers seagate.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias t128
@@ -2248,30 +3628,32 @@ if test "${enable_t128+set}" = set; then
enableval="$enable_t128"
enable_t128="$enable_t128"
-fi
-
+fi;
# Checking for device driver option t128
# Check whether --enable-t128 or --disable-t128 was given.
if test "${enable_t128+set}" = set; then
enableval="$enable_t128"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_T128 1
-EOF
+_ACEOF
device_drivers="$device_drivers t128.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias 53c78xx
@@ -2280,30 +3662,32 @@ if test "${enable_53c78xx+set}" = set; then
enableval="$enable_53c78xx"
enable_ncr53c7xx="$enable_53c78xx"
-fi
-
+fi;
# Checking for device driver option ncr53c7xx
# Check whether --enable-ncr53c7xx or --disable-ncr53c7xx was given.
if test "${enable_ncr53c7xx+set}" = set; then
enableval="$enable_ncr53c7xx"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_NCR53C7xx 1
-EOF
+_ACEOF
device_drivers="$device_drivers 53c78xx.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias eata_dma
@@ -2312,30 +3696,32 @@ if test "${enable_eata_dma+set}" = set; then
enableval="$enable_eata_dma"
enable_eatadma="$enable_eata_dma"
-fi
-
+fi;
# Checking for device driver option eatadma
# Check whether --enable-eatadma or --disable-eatadma was given.
if test "${enable_eatadma+set}" = set; then
enableval="$enable_eatadma"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_EATA_DMA 1
-EOF
+_ACEOF
device_drivers="$device_drivers eata_dma.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias eata_pio
@@ -2344,30 +3730,32 @@ if test "${enable_eata_pio+set}" = set; then
enableval="$enable_eata_pio"
enable_eatapio="$enable_eata_pio"
-fi
-
+fi;
# Checking for device driver option eatapio
# Check whether --enable-eatapio or --disable-eatapio was given.
if test "${enable_eatapio+set}" = set; then
enableval="$enable_eatapio"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_EATA_PIO 1
-EOF
+_ACEOF
device_drivers="$device_drivers eata_pio.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias wd7000
@@ -2376,30 +3764,32 @@ if test "${enable_wd7000+set}" = set; then
enableval="$enable_wd7000"
enable_wd7000="$enable_wd7000"
-fi
-
+fi;
# Checking for device driver option wd7000
# Check whether --enable-wd7000 or --disable-wd7000 was given.
if test "${enable_wd7000+set}" = set; then
enableval="$enable_wd7000"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_7000FASST 1
-EOF
+_ACEOF
device_drivers="$device_drivers wd7000.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias eata
@@ -2408,30 +3798,32 @@ if test "${enable_eata+set}" = set; then
enableval="$enable_eata"
enable_eata="$enable_eata"
-fi
-
+fi;
# Checking for device driver option eata
# Check whether --enable-eata or --disable-eata was given.
if test "${enable_eata+set}" = set; then
enableval="$enable_eata"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_EATA 1
-EOF
+_ACEOF
device_drivers="$device_drivers eata.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias AM53C974
@@ -2440,30 +3832,32 @@ if test "${enable_AM53C974+set}" = set; then
enableval="$enable_AM53C974"
enable_am53c974="$enable_AM53C974"
-fi
-
+fi;
# Checking for device driver option am53c974
# Check whether --enable-am53c974 or --disable-am53c974 was given.
if test "${enable_am53c974+set}" = set; then
enableval="$enable_am53c974"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_AM53C974 1
-EOF
+_ACEOF
device_drivers="$device_drivers AM53C974.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias dtc
@@ -2472,30 +3866,32 @@ if test "${enable_dtc+set}" = set; then
enableval="$enable_dtc"
enable_dtc3280="$enable_dtc"
-fi
-
+fi;
# Checking for device driver option dtc3280
# Check whether --enable-dtc3280 or --disable-dtc3280 was given.
if test "${enable_dtc3280+set}" = set; then
enableval="$enable_dtc3280"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_DTC3280 1
-EOF
+_ACEOF
device_drivers="$device_drivers dtc.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias ncr53c8xx
@@ -2504,30 +3900,32 @@ if test "${enable_ncr53c8xx+set}" = set; then
enableval="$enable_ncr53c8xx"
enable_ncr53c8xx="$enable_ncr53c8xx"
-fi
-
+fi;
# Checking for device driver option ncr53c8xx
# Check whether --enable-ncr53c8xx or --disable-ncr53c8xx was given.
if test "${enable_ncr53c8xx+set}" = set; then
enableval="$enable_ncr53c8xx"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_NCR53C8XX 1
-EOF
+_ACEOF
device_drivers="$device_drivers ncr53c8xx.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias tmscsim
@@ -2536,30 +3934,32 @@ if test "${enable_tmscsim+set}" = set; then
enableval="$enable_tmscsim"
enable_dc390t="$enable_tmscsim"
-fi
-
+fi;
# Checking for device driver option dc390t
# Check whether --enable-dc390t or --disable-dc390t was given.
if test "${enable_dc390t+set}" = set; then
enableval="$enable_dc390t"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_DC390T 1
-EOF
+_ACEOF
device_drivers="$device_drivers tmscsim.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias ppa
@@ -2568,30 +3968,32 @@ if test "${enable_ppa+set}" = set; then
enableval="$enable_ppa"
enable_ppa="$enable_ppa"
-fi
-
+fi;
# Checking for device driver option ppa
# Check whether --enable-ppa or --disable-ppa was given.
if test "${enable_ppa+set}" = set; then
enableval="$enable_ppa"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_PPA 1
-EOF
+_ACEOF
device_drivers="$device_drivers ppa.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias qlogicfas
@@ -2600,30 +4002,32 @@ if test "${enable_qlogicfas+set}" = set; then
enableval="$enable_qlogicfas"
enable_qlogicfas="$enable_qlogicfas"
-fi
-
+fi;
# Checking for device driver option qlogicfas
# Check whether --enable-qlogicfas or --disable-qlogicfas was given.
if test "${enable_qlogicfas+set}" = set; then
enableval="$enable_qlogicfas"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_QLOGIC_FAS 1
-EOF
+_ACEOF
device_drivers="$device_drivers qlogicfas.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias qlogicisp
@@ -2632,30 +4036,32 @@ if test "${enable_qlogicisp+set}" = set; then
enableval="$enable_qlogicisp"
enable_qlogicisp="$enable_qlogicisp"
-fi
-
+fi;
# Checking for device driver option qlogicisp
# Check whether --enable-qlogicisp or --disable-qlogicisp was given.
if test "${enable_qlogicisp+set}" = set; then
enableval="$enable_qlogicisp"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_QLOGIC_ISP 1
-EOF
+_ACEOF
device_drivers="$device_drivers qlogicisp.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
+
# Checking for alias gdth
@@ -2664,45 +4070,43 @@ if test "${enable_gdth+set}" = set; then
enableval="$enable_gdth"
enable_gdth="$enable_gdth"
-fi
-
+fi;
# Checking for device driver option gdth
# Check whether --enable-gdth or --disable-gdth was given.
if test "${enable_gdth+set}" = set; then
enableval="$enable_gdth"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SCSI_GDTH 1
-EOF
+_ACEOF
device_drivers="$device_drivers gdth.o"
if test "${driver_class_scsi_selected+set}" != set; then
driver_class_scsi_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_scsi_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_scsi_files"
fi
fi
-fi
+fi;
# Check whether --enable-flashpoint or --disable-flashpoint was given.
if test "${enable_flashpoint+set}" = set; then
enableval="$enable_flashpoint"
-
-if test ${enableval} = no; then
- cat >> confdefs.h <<\EOF
-#define CONFIG_SCSI_OMIT_FLASHPOINT 1
-EOF
+ test x"$enableval" = xno &&
-fi
-
-fi
+cat >>confdefs.h <<\_ACEOF
+#define CONFIG_SCSI_OMIT_FLASHPOINT
+_ACEOF
+fi;
@@ -2711,46 +4115,49 @@ fi
# Check whether --enable-ne2000 or --disable-ne2000 was given.
if test "${enable_ne2000+set}" = set; then
enableval="$enable_ne2000"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_NE2000 1
-EOF
+_ACEOF
device_drivers="$device_drivers ne.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
-
+fi;
# Checking for device driver option el2
# Check whether --enable-el2 or --disable-el2 was given.
if test "${enable_el2+set}" = set; then
enableval="$enable_el2"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EL2 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c503.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for alias 3c509
@@ -2759,53 +4166,56 @@ if test "${enable_3c509+set}" = set; then
enableval="$enable_3c509"
enable_el3="$enable_3c509"
-fi
-
+fi;
# Checking for device driver option el3
# Check whether --enable-el3 or --disable-el3 was given.
if test "${enable_el3+set}" = set; then
enableval="$enable_el3"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EL3 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c509.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for device driver option wd80x3
# Check whether --enable-wd80x3 or --disable-wd80x3 was given.
if test "${enable_wd80x3+set}" = set; then
enableval="$enable_wd80x3"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_WD80x3 1
-EOF
+_ACEOF
device_drivers="$device_drivers wd.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for alias 3c501
@@ -2814,122 +4224,128 @@ if test "${enable_3c501+set}" = set; then
enableval="$enable_3c501"
enable_el1="$enable_3c501"
-fi
-
+fi;
# Checking for device driver option el1
# Check whether --enable-el1 or --disable-el1 was given.
if test "${enable_el1+set}" = set; then
enableval="$enable_el1"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EL1 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c501.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for device driver option ul
# Check whether --enable-ul or --disable-ul was given.
if test "${enable_ul+set}" = set; then
enableval="$enable_ul"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_ULTRA 1
-EOF
+_ACEOF
device_drivers="$device_drivers smc-ultra.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
-
+fi;
# Checking for device driver option ul32
# Check whether --enable-ul32 or --disable-ul32 was given.
if test "${enable_ul32+set}" = set; then
enableval="$enable_ul32"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_ULTRA32 1
-EOF
+_ACEOF
device_drivers="$device_drivers smc-ultra32.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
-
+fi;
# Checking for device driver option hplanplus
# Check whether --enable-hplanplus or --disable-hplanplus was given.
if test "${enable_hplanplus+set}" = set; then
enableval="$enable_hplanplus"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_HPLAN_PLUS 1
-EOF
+_ACEOF
device_drivers="$device_drivers hp-plus.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
-
+fi;
# Checking for device driver option hplan
# Check whether --enable-hplan or --disable-hplan was given.
if test "${enable_hplan+set}" = set; then
enableval="$enable_hplan"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_HPLAN 1
-EOF
+_ACEOF
device_drivers="$device_drivers hp.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for alias 3c59x
@@ -2938,30 +4354,32 @@ if test "${enable_3c59x+set}" = set; then
enableval="$enable_3c59x"
enable_vortex="$enable_3c59x"
-fi
-
+fi;
# Checking for device driver option vortex
# Check whether --enable-vortex or --disable-vortex was given.
if test "${enable_vortex+set}" = set; then
enableval="$enable_vortex"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_VORTEX 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c59x.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias seeq8005
@@ -2970,30 +4388,32 @@ if test "${enable_seeq8005+set}" = set; then
enableval="$enable_seeq8005"
enable_seeq8005="$enable_seeq8005"
-fi
-
+fi;
# Checking for device driver option seeq8005
# Check whether --enable-seeq8005 or --disable-seeq8005 was given.
if test "${enable_seeq8005+set}" = set; then
enableval="$enable_seeq8005"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SEEQ8005 1
-EOF
+_ACEOF
device_drivers="$device_drivers seeq8005.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias hp100
@@ -3002,76 +4422,80 @@ if test "${enable_hp100+set}" = set; then
enableval="$enable_hp100"
enable_hp100="$enable_hp100"
-fi
-
+fi;
# Checking for device driver option hp100
# Check whether --enable-hp100 or --disable-hp100 was given.
if test "${enable_hp100+set}" = set; then
enableval="$enable_hp100"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_HP100 1
-EOF
+_ACEOF
device_drivers="$device_drivers hp100.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for device driver option ac3200
# Check whether --enable-ac3200 or --disable-ac3200 was given.
if test "${enable_ac3200+set}" = set; then
enableval="$enable_ac3200"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_AC3200 1
-EOF
+_ACEOF
device_drivers="$device_drivers ac3200.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
-
+fi;
# Checking for device driver option e2100
# Check whether --enable-e2100 or --disable-e2100 was given.
if test "${enable_e2100+set}" = set; then
enableval="$enable_e2100"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_E2100 1
-EOF
+_ACEOF
device_drivers="$device_drivers e2100.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for alias at1700
@@ -3080,30 +4504,32 @@ if test "${enable_at1700+set}" = set; then
enableval="$enable_at1700"
enable_at1700="$enable_at1700"
-fi
-
+fi;
# Checking for device driver option at1700
# Check whether --enable-at1700 or --disable-at1700 was given.
if test "${enable_at1700+set}" = set; then
enableval="$enable_at1700"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_AT1700 1
-EOF
+_ACEOF
device_drivers="$device_drivers at1700.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias eth16i
@@ -3112,30 +4538,32 @@ if test "${enable_eth16i+set}" = set; then
enableval="$enable_eth16i"
enable_eth16i="$enable_eth16i"
-fi
-
+fi;
# Checking for device driver option eth16i
# Check whether --enable-eth16i or --disable-eth16i was given.
if test "${enable_eth16i+set}" = set; then
enableval="$enable_eth16i"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_ETH16I 1
-EOF
+_ACEOF
device_drivers="$device_drivers eth16i.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias znet
@@ -3144,30 +4572,32 @@ if test "${enable_znet+set}" = set; then
enableval="$enable_znet"
enable_znet="$enable_znet"
-fi
-
+fi;
# Checking for device driver option znet
# Check whether --enable-znet or --disable-znet was given.
if test "${enable_znet+set}" = set; then
enableval="$enable_znet"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_ZNET 1
-EOF
+_ACEOF
device_drivers="$device_drivers znet.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias eexpress
@@ -3176,30 +4606,32 @@ if test "${enable_eexpress+set}" = set; then
enableval="$enable_eexpress"
enable_eexpress="$enable_eexpress"
-fi
-
+fi;
# Checking for device driver option eexpress
# Check whether --enable-eexpress or --disable-eexpress was given.
if test "${enable_eexpress+set}" = set; then
enableval="$enable_eexpress"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EEXPRESS 1
-EOF
+_ACEOF
device_drivers="$device_drivers eexpress.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias eepro
@@ -3208,30 +4640,32 @@ if test "${enable_eepro+set}" = set; then
enableval="$enable_eepro"
enable_eexpresspro="$enable_eepro"
-fi
-
+fi;
# Checking for device driver option eexpresspro
# Check whether --enable-eexpresspro or --disable-eexpresspro was given.
if test "${enable_eexpresspro+set}" = set; then
enableval="$enable_eexpresspro"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EEXPRESS_PRO 1
-EOF
+_ACEOF
device_drivers="$device_drivers eepro.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias eepro100
@@ -3240,30 +4674,32 @@ if test "${enable_eepro100+set}" = set; then
enableval="$enable_eepro100"
enable_eexpresspro100="$enable_eepro100"
-fi
-
+fi;
# Checking for device driver option eexpresspro100
# Check whether --enable-eexpresspro100 or --disable-eexpresspro100 was given.
if test "${enable_eexpresspro100+set}" = set; then
enableval="$enable_eexpresspro100"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EEXPRESS_PRO100B 1
-EOF
+_ACEOF
device_drivers="$device_drivers eepro100.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias depca
@@ -3272,30 +4708,32 @@ if test "${enable_depca+set}" = set; then
enableval="$enable_depca"
enable_depca="$enable_depca"
-fi
-
+fi;
# Checking for device driver option depca
# Check whether --enable-depca or --disable-depca was given.
if test "${enable_depca+set}" = set; then
enableval="$enable_depca"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_DEPCA 1
-EOF
+_ACEOF
device_drivers="$device_drivers depca.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias ewrk3
@@ -3304,30 +4742,32 @@ if test "${enable_ewrk3+set}" = set; then
enableval="$enable_ewrk3"
enable_ewrk3="$enable_ewrk3"
-fi
-
+fi;
# Checking for device driver option ewrk3
# Check whether --enable-ewrk3 or --disable-ewrk3 was given.
if test "${enable_ewrk3+set}" = set; then
enableval="$enable_ewrk3"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EWRK3 1
-EOF
+_ACEOF
device_drivers="$device_drivers ewrk3.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias de4x5
@@ -3336,30 +4776,32 @@ if test "${enable_de4x5+set}" = set; then
enableval="$enable_de4x5"
enable_de4x5="$enable_de4x5"
-fi
-
+fi;
# Checking for device driver option de4x5
# Check whether --enable-de4x5 or --disable-de4x5 was given.
if test "${enable_de4x5+set}" = set; then
enableval="$enable_de4x5"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_DE4X5 1
-EOF
+_ACEOF
device_drivers="$device_drivers de4x5.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias apricot
@@ -3368,30 +4810,32 @@ if test "${enable_apricot+set}" = set; then
enableval="$enable_apricot"
enable_apricot="$enable_apricot"
-fi
-
+fi;
# Checking for device driver option apricot
# Check whether --enable-apricot or --disable-apricot was given.
if test "${enable_apricot+set}" = set; then
enableval="$enable_apricot"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_APRICOT 1
-EOF
+_ACEOF
device_drivers="$device_drivers apricot.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias wavelan
@@ -3400,30 +4844,32 @@ if test "${enable_wavelan+set}" = set; then
enableval="$enable_wavelan"
enable_wavelan="$enable_wavelan"
-fi
-
+fi;
# Checking for device driver option wavelan
# Check whether --enable-wavelan or --disable-wavelan was given.
if test "${enable_wavelan+set}" = set; then
enableval="$enable_wavelan"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_WAVELAN 1
-EOF
+_ACEOF
device_drivers="$device_drivers wavelan.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias 3c507
@@ -3432,30 +4878,32 @@ if test "${enable_3c507+set}" = set; then
enableval="$enable_3c507"
enable_el16="$enable_3c507"
-fi
-
+fi;
# Checking for device driver option el16
# Check whether --enable-el16 or --disable-el16 was given.
if test "${enable_el16+set}" = set; then
enableval="$enable_el16"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EL16 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c507.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias 3c505
@@ -3464,30 +4912,32 @@ if test "${enable_3c505+set}" = set; then
enableval="$enable_3c505"
enable_elplus="$enable_3c505"
-fi
-
+fi;
# Checking for device driver option elplus
# Check whether --enable-elplus or --disable-elplus was given.
if test "${enable_elplus+set}" = set; then
enableval="$enable_elplus"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_ELPLUS 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c505.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias de600
@@ -3496,30 +4946,32 @@ if test "${enable_de600+set}" = set; then
enableval="$enable_de600"
enable_de600="$enable_de600"
-fi
-
+fi;
# Checking for device driver option de600
# Check whether --enable-de600 or --disable-de600 was given.
if test "${enable_de600+set}" = set; then
enableval="$enable_de600"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_DE600 1
-EOF
+_ACEOF
device_drivers="$device_drivers de600.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias de620
@@ -3528,30 +4980,32 @@ if test "${enable_de620+set}" = set; then
enableval="$enable_de620"
enable_de620="$enable_de620"
-fi
-
+fi;
# Checking for device driver option de620
# Check whether --enable-de620 or --disable-de620 was given.
if test "${enable_de620+set}" = set; then
enableval="$enable_de620"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_DE620 1
-EOF
+_ACEOF
device_drivers="$device_drivers de620.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias sk_g16
@@ -3560,30 +5014,32 @@ if test "${enable_sk_g16+set}" = set; then
enableval="$enable_sk_g16"
enable_skg16="$enable_sk_g16"
-fi
-
+fi;
# Checking for device driver option skg16
# Check whether --enable-skg16 or --disable-skg16 was given.
if test "${enable_skg16+set}" = set; then
enableval="$enable_skg16"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_SK_G16 1
-EOF
+_ACEOF
device_drivers="$device_drivers sk_g16.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias ni52
@@ -3592,30 +5048,32 @@ if test "${enable_ni52+set}" = set; then
enableval="$enable_ni52"
enable_ni52="$enable_ni52"
-fi
-
+fi;
# Checking for device driver option ni52
# Check whether --enable-ni52 or --disable-ni52 was given.
if test "${enable_ni52+set}" = set; then
enableval="$enable_ni52"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_NI52 1
-EOF
+_ACEOF
device_drivers="$device_drivers ni52.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias ni65
@@ -3624,30 +5082,32 @@ if test "${enable_ni65+set}" = set; then
enableval="$enable_ni65"
enable_ni65="$enable_ni65"
-fi
-
+fi;
# Checking for device driver option ni65
# Check whether --enable-ni65 or --disable-ni65 was given.
if test "${enable_ni65+set}" = set; then
enableval="$enable_ni65"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_NI65 1
-EOF
+_ACEOF
device_drivers="$device_drivers ni65.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias atp
@@ -3656,30 +5116,32 @@ if test "${enable_atp+set}" = set; then
enableval="$enable_atp"
enable_atp="$enable_atp"
-fi
-
+fi;
# Checking for device driver option atp
# Check whether --enable-atp or --disable-atp was given.
if test "${enable_atp+set}" = set; then
enableval="$enable_atp"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_ATP 1
-EOF
+_ACEOF
device_drivers="$device_drivers atp.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias lance
@@ -3688,30 +5150,32 @@ if test "${enable_lance+set}" = set; then
enableval="$enable_lance"
enable_lance="$enable_lance"
-fi
-
+fi;
# Checking for device driver option lance
# Check whether --enable-lance or --disable-lance was given.
if test "${enable_lance+set}" = set; then
enableval="$enable_lance"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_LANCE 1
-EOF
+_ACEOF
device_drivers="$device_drivers lance.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias tulip
@@ -3720,30 +5184,32 @@ if test "${enable_tulip+set}" = set; then
enableval="$enable_tulip"
enable_elcp="$enable_tulip"
-fi
-
+fi;
# Checking for device driver option elcp
# Check whether --enable-elcp or --disable-elcp was given.
if test "${enable_elcp+set}" = set; then
enableval="$enable_elcp"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_DEC_ELCP 1
-EOF
+_ACEOF
device_drivers="$device_drivers tulip.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias fmv18x
@@ -3752,30 +5218,32 @@ if test "${enable_fmv18x+set}" = set; then
enableval="$enable_fmv18x"
enable_fmv18x="$enable_fmv18x"
-fi
-
+fi;
# Checking for device driver option fmv18x
# Check whether --enable-fmv18x or --disable-fmv18x was given.
if test "${enable_fmv18x+set}" = set; then
enableval="$enable_fmv18x"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_FMV18X 1
-EOF
+_ACEOF
device_drivers="$device_drivers fmv18x.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias 3c515
@@ -3784,30 +5252,32 @@ if test "${enable_3c515+set}" = set; then
enableval="$enable_3c515"
enable_3c515="$enable_3c515"
-fi
-
+fi;
# Checking for device driver option 3c515
# Check whether --enable-3c515 or --disable-3c515 was given.
if test "${enable_3c515+set}" = set; then
enableval="$enable_3c515"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_3C515 1
-EOF
+_ACEOF
device_drivers="$device_drivers 3c515.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias pcnet32
@@ -3816,53 +5286,56 @@ if test "${enable_pcnet32+set}" = set; then
enableval="$enable_pcnet32"
enable_pcnet32="$enable_pcnet32"
-fi
-
+fi;
# Checking for device driver option pcnet32
# Check whether --enable-pcnet32 or --disable-pcnet32 was given.
if test "${enable_pcnet32+set}" = set; then
enableval="$enable_pcnet32"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_PCNET32 1
-EOF
+_ACEOF
device_drivers="$device_drivers pcnet32.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for device driver option ne2kpci
# Check whether --enable-ne2kpci or --disable-ne2kpci was given.
if test "${enable_ne2kpci+set}" = set; then
enableval="$enable_ne2kpci"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_NE2K_PCI 1
-EOF
+_ACEOF
device_drivers="$device_drivers ne2k-pci.o 8390.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
# Checking for alias yellowfin
@@ -3871,30 +5344,32 @@ if test "${enable_yellowfin+set}" = set; then
enableval="$enable_yellowfin"
enable_yellowfin="$enable_yellowfin"
-fi
-
+fi;
# Checking for device driver option yellowfin
# Check whether --enable-yellowfin or --disable-yellowfin was given.
if test "${enable_yellowfin+set}" = set; then
enableval="$enable_yellowfin"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_YELLOWFIN 1
-EOF
+_ACEOF
device_drivers="$device_drivers yellowfin.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias rtl8139
@@ -3903,30 +5378,32 @@ if test "${enable_rtl8139+set}" = set; then
enableval="$enable_rtl8139"
enable_rtl8139="$enable_rtl8139"
-fi
-
+fi;
# Checking for device driver option rtl8139
# Check whether --enable-rtl8139 or --disable-rtl8139 was given.
if test "${enable_rtl8139+set}" = set; then
enableval="$enable_rtl8139"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_RTL8139 1
-EOF
+_ACEOF
device_drivers="$device_drivers rtl8139.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias epic100
@@ -3935,30 +5412,32 @@ if test "${enable_epic100+set}" = set; then
enableval="$enable_epic100"
enable_epic="$enable_epic100"
-fi
-
+fi;
# Checking for device driver option epic
# Check whether --enable-epic or --disable-epic was given.
if test "${enable_epic+set}" = set; then
enableval="$enable_epic"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_EPIC 1
-EOF
+_ACEOF
device_drivers="$device_drivers epic100.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias tlan
@@ -3967,30 +5446,32 @@ if test "${enable_tlan+set}" = set; then
enableval="$enable_tlan"
enable_tlan="$enable_tlan"
-fi
-
+fi;
# Checking for device driver option tlan
# Check whether --enable-tlan or --disable-tlan was given.
if test "${enable_tlan+set}" = set; then
enableval="$enable_tlan"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_TLAN 1
-EOF
+_ACEOF
device_drivers="$device_drivers tlan.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
# Checking for alias via-rhine
@@ -3999,389 +5480,1150 @@ if test "${enable_via_rhine+set}" = set; then
enableval="$enable_via_rhine"
enable_viarhine="$enable_via-rhine"
-fi
-
+fi;
# Checking for device driver option viarhine
# Check whether --enable-viarhine or --disable-viarhine was given.
if test "${enable_viarhine+set}" = set; then
enableval="$enable_viarhine"
- if test "x$enableval" != xno; then
-cat >> confdefs.h <<\EOF
+
+if test "x$enableval" != xno; then
+
+cat >>confdefs.h <<\_ACEOF
#define CONFIG_VIA_RHINE 1
-EOF
+_ACEOF
device_drivers="$device_drivers via-rhine.o"
if test "${driver_class_net_selected+set}" != set; then
driver_class_net_selected=yes
- cat >> confdefs.h <<EOF
+ cat >>confdefs.h <<_ACEOF
#define $driver_class_net_option 1
-EOF
+_ACEOF
device_drivers="$device_drivers $driver_class_net_files"
fi
fi
-fi
+fi;
+
-trap '' 1 2 15
-cat > confcache <<\EOF
+ ac_config_files="$ac_config_files Makefile"
+
+cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
-# scripts and configure runs. It is not useful on other systems.
-# If it contains results you don't want to keep, you may remove or edit it.
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems. If it contains results you don't
+# want to keep, you may remove or edit it.
#
-# By default, configure uses ./config.cache as the cache file,
-# creating it if it does not exist already. You can give configure
-# the --cache-file=FILE option to use a different cache file; that is
-# what configure does when it calls configure scripts in
-# subdirectories, so they share the cache.
-# Giving --cache-file=/dev/null disables caching, for debugging configure.
-# config.status only pays attention to the cache file if you give it the
-# --recheck option to rerun configure.
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
#
-EOF
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
-(set) 2>&1 |
- case `(ac_space=' '; set | grep ac_space) 2>&1` in
- *ac_space=\ *)
- # `set' does not quote correctly, so add quotes (double-quote substitution
- # turns \\\\ into \\, and sed turns \\ into \).
- sed -n \
- -e "s/'/'\\\\''/g" \
- -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
- ;;
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
- ;;
- esac >> confcache
-if cmp -s $cache_file confcache; then
- :
-else
+{
+ (set) 2>&1 |
+ case `(ac_space=' '; set | grep ac_space) 2>&1` in
+ *ac_space=\ *)
+ # `set' does not quote correctly, so add quotes (double-quote
+ # substitution turns \\\\ into \\, and sed turns \\ into \).
+ sed -n \
+ "s/'/'\\\\''/g;
+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
+ ;;
+ *)
+ # `set' quotes correctly as required by POSIX, so do not add quotes.
+ sed -n \
+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
+ ;;
+ esac;
+} |
+ sed '
+ t clear
+ : clear
+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
+ t end
+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+ : end' >>confcache
+if diff $cache_file confcache >/dev/null 2>&1; then :; else
if test -w $cache_file; then
- echo "updating cache $cache_file"
- cat confcache > $cache_file
+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
+ cat confcache >$cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
-trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
-
test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-# Any assignment to VPATH causes Sun make to only execute
-# the first set of double-colon rules, so remove it if not needed.
-# If there is a colon in the path, we need to keep it.
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# trailing colons and then remove the whole line if VPATH becomes empty
+# (actually we leave an empty line to preserve line numbers).
if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
+s/:*\$(srcdir):*/:/;
+s/:*\${srcdir}:*/:/;
+s/:*@srcdir@:*/:/;
+s/^\([^=]*=[ ]*\):*/\1/;
+s/:*$//;
+s/^[^=]*=[ ]*$//;
+}'
fi
-trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
-
DEFS=-DHAVE_CONFIG_H
-# Without the "./", some shells look in PATH for config.status.
-: ${CONFIG_STATUS=./config.status}
+ac_libobjs=
+ac_ltlibobjs=
+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
+ # 1. Remove the extension, and $U if already installed.
+ ac_i=`echo "$ac_i" |
+ sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
+ # 2. Add them.
+ ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
+ ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
+done
+LIBOBJS=$ac_libobjs
-echo creating $CONFIG_STATUS
-rm -f $CONFIG_STATUS
-cat > $CONFIG_STATUS <<EOF
-#! /bin/sh
-# Generated automatically by configure.
+LTLIBOBJS=$ac_ltlibobjs
+
+
+
+: ${CONFIG_STATUS=./config.status}
+ac_clean_files_save=$ac_clean_files
+ac_clean_files="$ac_clean_files $CONFIG_STATUS"
+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
+echo "$as_me: creating $CONFIG_STATUS" >&6;}
+cat >$CONFIG_STATUS <<_ACEOF
+#! $SHELL
+# Generated by $as_me.
# Run this file to recreate the current configuration.
-# This directory was configured as follows,
-# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
-#
-# $0 $ac_configure_args
-#
# Compiler output produced by configure, useful for debugging
-# configure, is in ./config.log if it exists.
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+SHELL=\${CONFIG_SHELL-$SHELL}
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+## --------------------- ##
+## M4sh Initialization. ##
+## --------------------- ##
+
+# Be Bourne compatible
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+ emulate sh
+ NULLCMD=:
+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+ # is contrary to our usage. Disable this feature.
+ alias -g '${1+"$@"}'='"$@"'
+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
+ set -o posix
+fi
+DUALCASE=1; export DUALCASE # for MKS sh
+
+# Support unset when possible.
+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
+ as_unset=unset
+else
+ as_unset=false
+fi
-ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
-for ac_option
+
+# Work around bugs in pre-3.0 UWIN ksh.
+$as_unset ENV MAIL MAILPATH
+PS1='$ '
+PS2='> '
+PS4='+ '
+
+# NLS nuisances.
+for as_var in \
+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+ LC_TELEPHONE LC_TIME
do
- case "\$ac_option" in
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
- exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
- -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
- echo "$CONFIG_STATUS generated by autoconf version 2.13.1"
- exit 0 ;;
- -help | --help | --hel | --he | --h)
- echo "\$ac_cs_usage"; exit 0 ;;
- *) echo "\$ac_cs_usage"; exit 1 ;;
- esac
+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
+ eval $as_var=C; export $as_var
+ else
+ $as_unset $as_var
+ fi
done
-ac_given_srcdir=$srcdir
+# Required to use basename.
+if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
+ as_basename=basename
+else
+ as_basename=false
+fi
+
+
+# Name of the executable.
+as_me=`$as_basename "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+ X"$0" : 'X\(//\)$' \| \
+ X"$0" : 'X\(/\)$' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X/"$0" |
+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
+ /^X\/\(\/\/\)$/{ s//\1/; q; }
+ /^X\/\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+
+
+# PATH needs CR, and LINENO needs CR and PATH.
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
+
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+ echo "#! /bin/sh" >conf$$.sh
+ echo "exit 0" >>conf$$.sh
+ chmod +x conf$$.sh
+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
+ PATH_SEPARATOR=';'
+ else
+ PATH_SEPARATOR=:
+ fi
+ rm -f conf$$.sh
+fi
-trap 'rm -fr `echo "Makefile device-drivers.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
-EOF
-cat >> $CONFIG_STATUS <<EOF
-# Protect against being on the right side of a sed subst in config.status.
-sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
- s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
-$ac_vpsub
-$extrasub
-s%@SHELL@%$SHELL%g
-s%@CFLAGS@%$CFLAGS%g
-s%@CPPFLAGS@%$CPPFLAGS%g
-s%@CXXFLAGS@%$CXXFLAGS%g
-s%@FFLAGS@%$FFLAGS%g
-s%@DEFS@%$DEFS%g
-s%@LDFLAGS@%$LDFLAGS%g
-s%@LIBS@%$LIBS%g
-s%@exec_prefix@%$exec_prefix%g
-s%@prefix@%$prefix%g
-s%@program_transform_name@%$program_transform_name%g
-s%@bindir@%$bindir%g
-s%@sbindir@%$sbindir%g
-s%@libexecdir@%$libexecdir%g
-s%@datadir@%$datadir%g
-s%@sysconfdir@%$sysconfdir%g
-s%@sharedstatedir@%$sharedstatedir%g
-s%@localstatedir@%$localstatedir%g
-s%@libdir@%$libdir%g
-s%@includedir@%$includedir%g
-s%@oldincludedir@%$oldincludedir%g
-s%@infodir@%$infodir%g
-s%@mandir@%$mandir%g
-s%@device_drivers@%$device_drivers%g
-s%@host@%$host%g
-s%@host_alias@%$host_alias%g
-s%@host_cpu@%$host_cpu%g
-s%@host_vendor@%$host_vendor%g
-s%@host_os@%$host_os%g
-s%@systype@%$systype%g
-s%@build@%$build%g
-s%@build_alias@%$build_alias%g
-s%@build_cpu@%$build_cpu%g
-s%@build_vendor@%$build_vendor%g
-s%@build_os@%$build_os%g
-s%@CC@%$CC%g
-s%@cross_linkable@%$cross_linkable%g
-s%@LD@%$LD%g
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x$as_lineno_3" = "x$as_lineno_2" || {
+ # Find who we are. Look in the path if we contain no path at all
+ # relative or not.
+ case $0 in
+ *[\\/]* ) as_myself=$0 ;;
+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+done
-CEOF
-EOF
-
-cat >> $CONFIG_STATUS <<\EOF
-
-# Split the substitutions into bite-sized pieces for seds with
-# small command number limits, like on Digital OSF/1 and HP-UX.
-ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
-ac_file=1 # Number of current file.
-ac_beg=1 # First line for current file.
-ac_end=$ac_max_sed_cmds # Line after last line for current file.
-ac_more_lines=:
-ac_sed_cmds=""
-while $ac_more_lines; do
- if test $ac_beg -gt 1; then
- sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
- else
- sed "${ac_end}q" conftest.subs > conftest.s$ac_file
+ ;;
+ esac
+ # We did not find ourselves, most probably we were run as `sh COMMAND'
+ # in which case we are not to be found in the path.
+ if test "x$as_myself" = x; then
+ as_myself=$0
fi
- if test ! -s conftest.s$ac_file; then
- ac_more_lines=false
- rm -f conftest.s$ac_file
+ if test ! -f "$as_myself"; then
+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
+echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+ case $CONFIG_SHELL in
+ '')
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for as_base in sh bash ksh sh5; do
+ case $as_dir in
+ /*)
+ if ("$as_dir/$as_base" -c '
+ as_lineno_1=$LINENO
+ as_lineno_2=$LINENO
+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
+ test "x$as_lineno_1" != "x$as_lineno_2" &&
+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
+ CONFIG_SHELL=$as_dir/$as_base
+ export CONFIG_SHELL
+ exec "$CONFIG_SHELL" "$0" ${1+"$@"}
+ fi;;
+ esac
+ done
+done
+;;
+ esac
+
+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
+ # uniformly replaced by the line number. The first 'sed' inserts a
+ # line-number line before each line; the second 'sed' does the real
+ # work. The second script uses 'N' to pair each line-number line
+ # with the numbered line, and appends trailing '-' during
+ # substitution so that $LINENO is not a special case at line end.
+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
+ sed '=' <$as_myself |
+ sed '
+ N
+ s,$,-,
+ : loop
+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
+ t loop
+ s,-$,,
+ s,^['$as_cr_digits']*\n,,
+ ' >$as_me.lineno &&
+ chmod +x $as_me.lineno ||
+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
+echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
+ { (exit 1); exit 1; }; }
+
+ # Don't try to exec as it changes $[0], causing all sort of problems
+ # (the dirname of $[0] is not the place where we might find the
+ # original and so on. Autoconf is especially sensible to this).
+ . ./$as_me.lineno
+ # Exit status is that of the last command.
+ exit
+}
+
+
+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
+ *c*,-n*) ECHO_N= ECHO_C='
+' ECHO_T=' ' ;;
+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
+esac
+
+if expr a : '\(a\)' >/dev/null 2>&1; then
+ as_expr=expr
+else
+ as_expr=false
+fi
+
+rm -f conf$$ conf$$.exe conf$$.file
+echo >conf$$.file
+if ln -s conf$$.file conf$$ 2>/dev/null; then
+ # We could just check for DJGPP; but this test a) works b) is more generic
+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
+ if test -f conf$$.exe; then
+ # Don't use ln at all; we don't have any links
+ as_ln_s='cp -p'
else
- if test -z "$ac_sed_cmds"; then
- ac_sed_cmds="sed -f conftest.s$ac_file"
- else
- ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
- fi
- ac_file=`expr $ac_file + 1`
- ac_beg=$ac_end
- ac_end=`expr $ac_end + $ac_max_sed_cmds`
+ as_ln_s='ln -s'
fi
+elif ln conf$$.file conf$$ 2>/dev/null; then
+ as_ln_s=ln
+else
+ as_ln_s='cp -p'
+fi
+rm -f conf$$ conf$$.exe conf$$.file
+
+if mkdir -p . 2>/dev/null; then
+ as_mkdir_p=:
+else
+ test -d ./-p && rmdir ./-p
+ as_mkdir_p=false
+fi
+
+as_executable_p="test -f"
+
+# Sed expression to map a string onto a valid CPP name.
+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
+
+
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=" $as_nl"
+
+# CDPATH.
+$as_unset CDPATH
+
+exec 6>&1
+
+# Open the log real soon, to keep \$[0] and so on meaningful, and to
+# report actual input values of CONFIG_FILES etc. instead of their
+# values after options handling. Logging --version etc. is OK.
+exec 5>>config.log
+{
+ echo
+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
+## Running $as_me. ##
+_ASBOX
+} >&5
+cat >&5 <<_CSEOF
+
+This file was extended by GNU Mach $as_me 1.3, which was
+generated by GNU Autoconf 2.59. Invocation command line was
+
+ CONFIG_FILES = $CONFIG_FILES
+ CONFIG_HEADERS = $CONFIG_HEADERS
+ CONFIG_LINKS = $CONFIG_LINKS
+ CONFIG_COMMANDS = $CONFIG_COMMANDS
+ $ $0 $@
+
+_CSEOF
+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
+echo >&5
+_ACEOF
+
+# Files that config.status was made for.
+if test -n "$ac_config_files"; then
+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_headers"; then
+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_links"; then
+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
+fi
+
+if test -n "$ac_config_commands"; then
+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
+fi
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+
+ac_cs_usage="\
+\`$as_me' instantiates files from templates according to the
+current configuration.
+
+Usage: $0 [OPTIONS] [FILE]...
+
+ -h, --help print this help, then exit
+ -V, --version print version number, then exit
+ -q, --quiet do not print progress messages
+ -d, --debug don't remove temporary files
+ --recheck update $as_me by reconfiguring in the same conditions
+ --file=FILE[:TEMPLATE]
+ instantiate the configuration file FILE
+ --header=FILE[:TEMPLATE]
+ instantiate the configuration header FILE
+
+Configuration files:
+$config_files
+
+Configuration headers:
+$config_headers
+
+Report bugs to <bug-autoconf@gnu.org>."
+_ACEOF
+
+cat >>$CONFIG_STATUS <<_ACEOF
+ac_cs_version="\\
+GNU Mach config.status 1.3
+configured by $0, generated by GNU Autoconf 2.59,
+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+
+Copyright (C) 2003 Free Software Foundation, Inc.
+This config.status script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it."
+srcdir=$srcdir
+_ACEOF
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+# If no file are specified by the user, then we need to provide default
+# value. By we need to know if files were specified by the user.
+ac_need_defaults=:
+while test $# != 0
+do
+ case $1 in
+ --*=*)
+ ac_option=`expr "x$1" : 'x\([^=]*\)='`
+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
+ ac_shift=:
+ ;;
+ -*)
+ ac_option=$1
+ ac_optarg=$2
+ ac_shift=shift
+ ;;
+ *) # This is not an option, so the user has probably given explicit
+ # arguments.
+ ac_option=$1
+ ac_need_defaults=false;;
+ esac
+
+ case $ac_option in
+ # Handling of the options.
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+ ac_cs_recheck=: ;;
+ --version | --vers* | -V )
+ echo "$ac_cs_version"; exit 0 ;;
+ --he | --h)
+ # Conflict between --help and --header
+ { { echo "$as_me:$LINENO: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&5
+echo "$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information." >&2;}
+ { (exit 1); exit 1; }; };;
+ --help | --hel | -h )
+ echo "$ac_cs_usage"; exit 0 ;;
+ --debug | --d* | -d )
+ debug=: ;;
+ --file | --fil | --fi | --f )
+ $ac_shift
+ CONFIG_FILES="$CONFIG_FILES $ac_optarg"
+ ac_need_defaults=false;;
+ --header | --heade | --head | --hea )
+ $ac_shift
+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+ ac_need_defaults=false;;
+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \
+ | -silent | --silent | --silen | --sile | --sil | --si | --s)
+ ac_cs_silent=: ;;
+
+ # This is an error.
+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&5
+echo "$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information." >&2;}
+ { (exit 1); exit 1; }; } ;;
+
+ *) ac_config_targets="$ac_config_targets $1" ;;
+
+ esac
+ shift
done
-if test -z "$ac_sed_cmds"; then
- ac_sed_cmds=cat
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+ exec 6>/dev/null
+ ac_configure_extra_args="$ac_configure_extra_args --silent"
fi
-EOF
-cat >> $CONFIG_STATUS <<EOF
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+if \$ac_cs_recheck; then
+ echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
+ exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+fi
-CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
-EOF
-cat >> $CONFIG_STATUS <<\EOF
-for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- case "$ac_file" in
- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+_ACEOF
+
+
+
+
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+for ac_config_target in $ac_config_targets
+do
+ case "$ac_config_target" in
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "device-drivers.h" ) CONFIG_HEADERS="$CONFIG_HEADERS device-drivers.h" ;;
+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
+ { (exit 1); exit 1; }; };;
esac
+done
- # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
+# If the user did not use the arguments to specify the items to instantiate,
+# then the envvar interface is used. Set only those that are not.
+# We use the long form for the default assignment because of an extremely
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
+fi
+
+# Have a temporary directory for convenience. Make it in the build tree
+# simply because there is no reason to put it here, and in addition,
+# creating and moving files from /tmp can sometimes cause problems.
+# Create a temporary directory, and hook for its removal unless debugging.
+$debug ||
+{
+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
+ trap '{ (exit 1); exit 1; }' 1 2 13 15
+}
+
+# Create a (secure) tmp directory for tmp files.
+
+{
+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
+ test -n "$tmp" && test -d "$tmp"
+} ||
+{
+ tmp=./confstat$$-$RANDOM
+ (umask 077 && mkdir $tmp)
+} ||
+{
+ echo "$me: cannot create a temporary directory in ." >&2
+ { (exit 1); exit 1; }
+}
+
+_ACEOF
+
+cat >>$CONFIG_STATUS <<_ACEOF
- # Remove last slash and all that follows it. Not all systems have dirname.
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
- ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
- # A "../" for each directory in $ac_dir_suffix.
- ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
- else
- ac_dir_suffix= ac_dots=
+#
+# CONFIG_FILES section.
+#
+
+# No need to generate the scripts if there are no CONFIG_FILES.
+# This happens for instance when ./config.status config.h
+if test -n "\$CONFIG_FILES"; then
+ # Protect against being on the right side of a sed subst in config.status.
+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
+s,@SHELL@,$SHELL,;t t
+s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
+s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
+s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
+s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
+s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
+s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
+s,@exec_prefix@,$exec_prefix,;t t
+s,@prefix@,$prefix,;t t
+s,@program_transform_name@,$program_transform_name,;t t
+s,@bindir@,$bindir,;t t
+s,@sbindir@,$sbindir,;t t
+s,@libexecdir@,$libexecdir,;t t
+s,@datadir@,$datadir,;t t
+s,@sysconfdir@,$sysconfdir,;t t
+s,@sharedstatedir@,$sharedstatedir,;t t
+s,@localstatedir@,$localstatedir,;t t
+s,@libdir@,$libdir,;t t
+s,@includedir@,$includedir,;t t
+s,@oldincludedir@,$oldincludedir,;t t
+s,@infodir@,$infodir,;t t
+s,@mandir@,$mandir,;t t
+s,@build_alias@,$build_alias,;t t
+s,@host_alias@,$host_alias,;t t
+s,@target_alias@,$target_alias,;t t
+s,@DEFS@,$DEFS,;t t
+s,@ECHO_C@,$ECHO_C,;t t
+s,@ECHO_N@,$ECHO_N,;t t
+s,@ECHO_T@,$ECHO_T,;t t
+s,@LIBS@,$LIBS,;t t
+s,@device_drivers@,$device_drivers,;t t
+s,@build@,$build,;t t
+s,@build_cpu@,$build_cpu,;t t
+s,@build_vendor@,$build_vendor,;t t
+s,@build_os@,$build_os,;t t
+s,@host@,$host,;t t
+s,@host_cpu@,$host_cpu,;t t
+s,@host_vendor@,$host_vendor,;t t
+s,@host_os@,$host_os,;t t
+s,@systype@,$systype,;t t
+s,@CC@,$CC,;t t
+s,@ac_ct_CC@,$ac_ct_CC,;t t
+s,@CFLAGS@,$CFLAGS,;t t
+s,@LDFLAGS@,$LDFLAGS,;t t
+s,@CPPFLAGS@,$CPPFLAGS,;t t
+s,@EXEEXT@,$EXEEXT,;t t
+s,@OBJEXT@,$OBJEXT,;t t
+s,@LD@,$LD,;t t
+s,@ac_ct_LD@,$ac_ct_LD,;t t
+s,@LIBOBJS@,$LIBOBJS,;t t
+s,@LTLIBOBJS@,$LTLIBOBJS,;t t
+CEOF
+
+_ACEOF
+
+ cat >>$CONFIG_STATUS <<\_ACEOF
+ # Split the substitutions into bite-sized pieces for seds with
+ # small command number limits, like on Digital OSF/1 and HP-UX.
+ ac_max_sed_lines=48
+ ac_sed_frag=1 # Number of current file.
+ ac_beg=1 # First line for current file.
+ ac_end=$ac_max_sed_lines # Line after last line for current file.
+ ac_more_lines=:
+ ac_sed_cmds=
+ while $ac_more_lines; do
+ if test $ac_beg -gt 1; then
+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
+ else
+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
+ fi
+ if test ! -s $tmp/subs.frag; then
+ ac_more_lines=false
+ else
+ # The purpose of the label and of the branching condition is to
+ # speed up the sed processing (if there are no `@' at all, there
+ # is no need to browse any of the substitutions).
+ # These are the two extra sed commands mentioned above.
+ (echo ':t
+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
+ if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
+ else
+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
+ fi
+ ac_sed_frag=`expr $ac_sed_frag + 1`
+ ac_beg=$ac_end
+ ac_end=`expr $ac_end + $ac_max_sed_lines`
+ fi
+ done
+ if test -z "$ac_sed_cmds"; then
+ ac_sed_cmds=cat
fi
+fi # test -n "$CONFIG_FILES"
- case "$ac_given_srcdir" in
- .) srcdir=.
- if test -z "$ac_dots"; then top_srcdir=.
- else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
- *) # Relative path.
- srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
- top_srcdir="$ac_dots$ac_given_srcdir" ;;
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
+ case $ac_file in
+ - | *:- | *:-:* ) # input from stdin
+ cat >$tmp/stdin
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ * ) ac_file_in=$ac_file.in ;;
esac
+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ { if $as_mkdir_p; then
+ mkdir -p "$ac_dir"
+ else
+ as_dir="$ac_dir"
+ as_dirs=
+ while test ! -d "$as_dir"; do
+ as_dirs="$as_dir $as_dirs"
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ done
+ test ! -n "$as_dirs" || mkdir $as_dirs
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
+ { (exit 1); exit 1; }; }; }
+
+ ac_builddir=.
+
+if test "$ac_dir" != .; then
+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+ # A "../" for each directory in $ac_dir_suffix.
+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
+else
+ ac_dir_suffix= ac_top_builddir=
+fi
- echo creating "$ac_file"
- rm -f "$ac_file"
- configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
- case "$ac_file" in
- *[Mm]akefile*) ac_comsub="1i\\
-# $configure_input" ;;
- *) ac_comsub= ;;
- esac
+case $srcdir in
+ .) # No --srcdir option. We are building in place.
+ ac_srcdir=.
+ if test -z "$ac_top_builddir"; then
+ ac_top_srcdir=.
+ else
+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
+ fi ;;
+ [\\/]* | ?:[\\/]* ) # Absolute path.
+ ac_srcdir=$srcdir$ac_dir_suffix;
+ ac_top_srcdir=$srcdir ;;
+ *) # Relative path.
+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+ ac_top_srcdir=$ac_top_builddir$srcdir ;;
+esac
+
+# Do not use `cd foo && pwd` to compute absolute paths, because
+# the directories may not exist.
+case `pwd` in
+.) ac_abs_builddir="$ac_dir";;
+*)
+ case "$ac_dir" in
+ .) ac_abs_builddir=`pwd`;;
+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
+ *) ac_abs_builddir=`pwd`/"$ac_dir";;
+ esac;;
+esac
+case $ac_abs_builddir in
+.) ac_abs_top_builddir=${ac_top_builddir}.;;
+*)
+ case ${ac_top_builddir}. in
+ .) ac_abs_top_builddir=$ac_abs_builddir;;
+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
+ esac;;
+esac
+case $ac_abs_builddir in
+.) ac_abs_srcdir=$ac_srcdir;;
+*)
+ case $ac_srcdir in
+ .) ac_abs_srcdir=$ac_abs_builddir;;
+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
+ esac;;
+esac
+case $ac_abs_builddir in
+.) ac_abs_top_srcdir=$ac_top_srcdir;;
+*)
+ case $ac_top_srcdir in
+ .) ac_abs_top_srcdir=$ac_abs_builddir;;
+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
+ esac;;
+esac
+
+
+
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ if test x"$ac_file" = x-; then
+ configure_input=
+ else
+ configure_input="$ac_file. "
+ fi
+ configure_input=$configure_input"Generated from `echo $ac_file_in |
+ sed 's,.*/,,'` by configure."
+
+ # First look for the input files in the build tree, otherwise in the
+ # src tree.
+ ac_file_inputs=`IFS=:
+ for f in $ac_file_in; do
+ case $f in
+ -) echo $tmp/stdin ;;
+ [\\/$]*)
+ # Absolute (can't be DOS-style, as IFS=:)
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ echo "$f";;
+ *) # Relative
+ if test -f "$f"; then
+ # Build tree
+ echo "$f"
+ elif test -f "$srcdir/$f"; then
+ # Source tree
+ echo "$srcdir/$f"
+ else
+ # /dev/null tree
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ fi;;
+ esac
+ done` || { (exit 1); exit 1; }
+
+ if test x"$ac_file" != x-; then
+ { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+ rm -f "$ac_file"
+ fi
+_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF
+ sed "$ac_vpsub
+$extrasub
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
+:t
+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
+s,@configure_input@,$configure_input,;t t
+s,@srcdir@,$ac_srcdir,;t t
+s,@abs_srcdir@,$ac_abs_srcdir,;t t
+s,@top_srcdir@,$ac_top_srcdir,;t t
+s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
+s,@builddir@,$ac_builddir,;t t
+s,@abs_builddir@,$ac_abs_builddir,;t t
+s,@top_builddir@,$ac_top_builddir,;t t
+s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
+ rm -f $tmp/stdin
+ if test x"$ac_file" != x-; then
+ mv $tmp/out $ac_file
+ else
+ cat $tmp/out
+ rm -f $tmp/out
+ fi
+
+done
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
- sed -e "$ac_comsub
-s%@configure_input@%$configure_input%g
-s%@srcdir@%$srcdir%g
-s%@top_srcdir@%$top_srcdir%g
-" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
-fi; done
-rm -f conftest.s*
+#
+# CONFIG_HEADER section.
+#
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
-ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
-ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
-ac_dC='\3'
-ac_dD='%g'
-# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
-ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
-ac_uB='\([ ]\)%\1#\2define\3'
+ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
+ac_dB='[ ].*$,\1#\2'
+ac_dC=' '
+ac_dD=',;t'
+# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
+ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
+ac_uB='$,\1#\2define\3'
ac_uC=' '
-ac_uD='\4%g'
-# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
-ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
-ac_eB='$%\1#\2define\3'
-ac_eC=' '
-ac_eD='%g'
-
-if test "${CONFIG_HEADERS+set}" != set; then
-EOF
-cat >> $CONFIG_STATUS <<EOF
- CONFIG_HEADERS="device-drivers.h"
-EOF
-cat >> $CONFIG_STATUS <<\EOF
-fi
-for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
+ac_uD=',;t'
+
+for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
- case "$ac_file" in
- *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
- ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
- *) ac_file_in="${ac_file}.in" ;;
+ case $ac_file in
+ - | *:- | *:-:* ) # input from stdin
+ cat >$tmp/stdin
+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
+ * ) ac_file_in=$ac_file.in ;;
esac
- echo creating $ac_file
-
- rm -f conftest.frag conftest.in conftest.out
- ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
- cat $ac_file_inputs > conftest.in
-
-EOF
-
-# Transform confdefs.h into a sed script conftest.vals that substitutes
-# the proper values into config.h.in to produce config.h. And first:
-# Protect against being on the right side of a sed subst in config.status.
-# Protect against being in an unquoted here document in config.status.
-rm -f conftest.vals
-cat > conftest.hdr <<\EOF
-s/[\\&%]/\\&/g
-s%[\\$`]%\\&%g
-s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
-s%ac_d%ac_u%gp
-s%ac_u%ac_e%gp
-EOF
-sed -n -f conftest.hdr confdefs.h > conftest.vals
-rm -f conftest.hdr
+ test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
+echo "$as_me: creating $ac_file" >&6;}
+
+ # First look for the input files in the build tree, otherwise in the
+ # src tree.
+ ac_file_inputs=`IFS=:
+ for f in $ac_file_in; do
+ case $f in
+ -) echo $tmp/stdin ;;
+ [\\/$]*)
+ # Absolute (can't be DOS-style, as IFS=:)
+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ # Do quote $f, to prevent DOS paths from being IFS'd.
+ echo "$f";;
+ *) # Relative
+ if test -f "$f"; then
+ # Build tree
+ echo "$f"
+ elif test -f "$srcdir/$f"; then
+ # Source tree
+ echo "$srcdir/$f"
+ else
+ # /dev/null tree
+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
+echo "$as_me: error: cannot find input file: $f" >&2;}
+ { (exit 1); exit 1; }; }
+ fi;;
+ esac
+ done` || { (exit 1); exit 1; }
+ # Remove the trailing spaces.
+ sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
+
+_ACEOF
+
+# Transform confdefs.h into two sed scripts, `conftest.defines' and
+# `conftest.undefs', that substitutes the proper values into
+# config.h.in to produce config.h. The first handles `#define'
+# templates, and the second `#undef' templates.
+# And first: Protect against being on the right side of a sed subst in
+# config.status. Protect against being in an unquoted here document
+# in config.status.
+rm -f conftest.defines conftest.undefs
+# Using a here document instead of a string reduces the quoting nightmare.
+# Putting comments in sed scripts is not portable.
+#
+# `end' is used to avoid that the second main sed command (meant for
+# 0-ary CPP macros) applies to n-ary macro definitions.
+# See the Autoconf documentation for `clear'.
+cat >confdef2sed.sed <<\_ACEOF
+s/[\\&,]/\\&/g
+s,[\\$`],\\&,g
+t clear
+: clear
+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
+t end
+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
+: end
+_ACEOF
+# If some macros were called several times there might be several times
+# the same #defines, which is useless. Nevertheless, we may not want to
+# sort them, since we want the *last* AC-DEFINE to be honored.
+uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
+sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
+rm -f confdef2sed.sed
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
-cat >> conftest.vals <<\EOF
-s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
-EOF
-
-# Break up conftest.vals because some shells have a limit on
-# the size of here documents, and old seds have small limits too.
+cat >>conftest.undefs <<\_ACEOF
+s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
+_ACEOF
+
+# Break up conftest.defines because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
+echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
+echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
+echo ' :' >>$CONFIG_STATUS
+rm -f conftest.tail
+while grep . conftest.defines >/dev/null
+do
+ # Write a limited-size here document to $tmp/defines.sed.
+ echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
+ # Speed up: don't consider the non `#define' lines.
+ echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
+ # Work around the forget-to-reset-the-flag bug.
+ echo 't clr' >>$CONFIG_STATUS
+ echo ': clr' >>$CONFIG_STATUS
+ sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
+ echo 'CEOF
+ sed -f $tmp/defines.sed $tmp/in >$tmp/out
+ rm -f $tmp/in
+ mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+ sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
+ rm -f conftest.defines
+ mv conftest.tail conftest.defines
+done
+rm -f conftest.defines
+echo ' fi # grep' >>$CONFIG_STATUS
+echo >>$CONFIG_STATUS
+# Break up conftest.undefs because some shells have a limit on the size
+# of here documents, and old seds have small limits too (100 cmds).
+echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
rm -f conftest.tail
-while :
+while grep . conftest.undefs >/dev/null
do
- ac_lines=`grep -c . conftest.vals`
- # grep -c gives empty output for an empty file on some AIX systems.
- if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
- # Write a limited-size here document to conftest.frag.
- echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
- sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
+ # Write a limited-size here document to $tmp/undefs.sed.
+ echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
+ # Speed up: don't consider the non `#undef'
+ echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
+ # Work around the forget-to-reset-the-flag bug.
+ echo 't clr' >>$CONFIG_STATUS
+ echo ': clr' >>$CONFIG_STATUS
+ sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
echo 'CEOF
- sed -f conftest.frag conftest.in > conftest.out
- rm -f conftest.in
- mv conftest.out conftest.in
-' >> $CONFIG_STATUS
- sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
- rm -f conftest.vals
- mv conftest.tail conftest.vals
+ sed -f $tmp/undefs.sed $tmp/in >$tmp/out
+ rm -f $tmp/in
+ mv $tmp/out $tmp/in
+' >>$CONFIG_STATUS
+ sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
+ rm -f conftest.undefs
+ mv conftest.tail conftest.undefs
done
-rm -f conftest.vals
-
-cat >> $CONFIG_STATUS <<\EOF
- rm -f conftest.frag conftest.h
- echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
- cat conftest.in >> conftest.h
- rm -f conftest.in
- if cmp -s $ac_file conftest.h 2>/dev/null; then
- echo "$ac_file is unchanged"
- rm -f conftest.h
+rm -f conftest.undefs
+
+cat >>$CONFIG_STATUS <<\_ACEOF
+ # Let's still pretend it is `configure' which instantiates (i.e., don't
+ # use $as_me), people would be surprised to read:
+ # /* config.h. Generated by config.status. */
+ if test x"$ac_file" = x-; then
+ echo "/* Generated by configure. */" >$tmp/config.h
+ else
+ echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
+ fi
+ cat $tmp/in >>$tmp/config.h
+ rm -f $tmp/in
+ if test x"$ac_file" != x-; then
+ if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
+ { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
+echo "$as_me: $ac_file is unchanged" >&6;}
+ else
+ ac_dir=`(dirname "$ac_file") 2>/dev/null ||
+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$ac_file" : 'X\(//\)[^/]' \| \
+ X"$ac_file" : 'X\(//\)$' \| \
+ X"$ac_file" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$ac_file" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ { if $as_mkdir_p; then
+ mkdir -p "$ac_dir"
else
- # Remove last slash and all that follows it. Not all systems have dirname.
- ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
- # The file is in a subdirectory.
- test ! -d "$ac_dir" && mkdir "$ac_dir"
+ as_dir="$ac_dir"
+ as_dirs=
+ while test ! -d "$as_dir"; do
+ as_dirs="$as_dir $as_dirs"
+ as_dir=`(dirname "$as_dir") 2>/dev/null ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+ X"$as_dir" : 'X\(//\)[^/]' \| \
+ X"$as_dir" : 'X\(//\)$' \| \
+ X"$as_dir" : 'X\(/\)' \| \
+ . : '\(.\)' 2>/dev/null ||
+echo X"$as_dir" |
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+ /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+ /^X\(\/\/\)$/{ s//\1/; q; }
+ /^X\(\/\).*/{ s//\1/; q; }
+ s/.*/./; q'`
+ done
+ test ! -n "$as_dirs" || mkdir $as_dirs
+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
+ { (exit 1); exit 1; }; }; }
+
+ rm -f $ac_file
+ mv $tmp/config.h $ac_file
fi
- rm -f $ac_file
- mv conftest.h $ac_file
+ else
+ cat $tmp/config.h
+ rm -f $tmp/config.h
fi
-fi; done
-
-EOF
-cat >> $CONFIG_STATUS <<EOF
+done
+_ACEOF
-EOF
-cat >> $CONFIG_STATUS <<\EOF
+cat >>$CONFIG_STATUS <<\_ACEOF
-exit 0
-EOF
+{ (exit 0); exit 0; }
+_ACEOF
chmod +x $CONFIG_STATUS
-rm -fr confdefs* $ac_clean_files
-test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1
+ac_clean_files=$ac_clean_files_save
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded. So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status. When coming back to configure, we
+# need to make the FD available again.
+if test "$no_create" != yes; then
+ ac_cs_success=:
+ ac_config_status_args=
+ test "$silent" = yes &&
+ ac_config_status_args="$ac_config_status_args --quiet"
+ exec 5>/dev/null
+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+ exec 5>>config.log
+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || { (exit 1); exit 1; }
+fi
diff --git a/i386/linux/configure.ac b/i386/linux/configure.ac
new file mode 100644
index 00000000..7fca47c7
--- /dev/null
+++ b/i386/linux/configure.ac
@@ -0,0 +1,219 @@
+dnl Device driver options for i386
+dnl Copyright 1997, 1999, 2004 Free Software Foundation, Inc.
+
+dnl Permission to use, copy, modify and distribute this software and its
+dnl documentation is hereby granted, provided that both the copyright
+dnl notice and this permission notice appear in all copies of the
+dnl software, derivative works or modified versions, and any portions
+dnl thereof, and that both notices appear in supporting documentation.
+dnl
+dnl THE FREE SOFTWARE FOUNDATION ALLOWS FREE USE OF THIS SOFTWARE IN ITS
+dnl "AS IS" CONDITION. THE FREE SOFTWARE FOUNDATION DISCLAIMS ANY
+dnl LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
+dnl USE OF THIS SOFTWARE.
+
+m4_include([../../version.m4])
+
+AC_INIT([PACKAGE], [VERSION])
+AC_CONFIG_SRCDIR([dev/include/linux/autoconf.h])
+AC_PREREQ(2.57)
+
+m4_sinclude([../../Drivers.macros])
+m4_sinclude([../../aclocal.m4])
+
+AC_CONFIG_HEADER([device-drivers.h])
+
+dnl Check the cpu type.
+
+AC_CANONICAL_HOST
+
+dnl Which host CPU
+AC_DEFUN([hurd_host_CPU], [
+ AC_DEFINE([CONFIG_M$1], [], [$1])
+ AC_DEFINE([CPU], [$1], [CPU])
+])
+
+
+case "$host_cpu" in
+i386) hurd_host_CPU([386]) ;;
+i486) hurd_host_CPU([486]) ;;
+i586) hurd_host_CPU([586]) ;;
+i686) hurd_host_CPU([686]) ;;
+*) hurd_host_CPU([486]) ;;
+esac
+
+hurd_SYSTYPE
+
+AC_CHECK_TOOL([CC], [gcc])
+AC_PROG_CC
+
+AC_CHECK_TOOL([LD], [ld])
+AC_SUBST([LDFLAGS])
+
+
+dnl Aliases have to come first.
+
+AC_DRIVER_ALIAS([3c501], [el1])
+AC_DRIVER_ALIAS([3c503], [el2])
+AC_DRIVER_ALIAS([3c509], [el3])
+AC_DRIVER_ALIAS([3c579], [el3])
+AC_DRIVER_ALIAS([3c59x], [vortex])
+AC_DRIVER_ALIAS([3c90x], [vortex])
+AC_DRIVER_ALIAS([hpj2577], [hp100])
+AC_DRIVER_ALIAS([hpj2573], [hp100])
+AC_DRIVER_ALIAS([hpj2585], [hp100])
+AC_DRIVER_ALIAS([hp27248b], [hp100])
+AC_DRIVER_ALIAS([eth32], [eth16i])
+AC_DRIVER_ALIAS([znote], [znet])
+AC_DRIVER_ALIAS([de100], [depca])
+AC_DRIVER_ALIAS([de101], [depca])
+AC_DRIVER_ALIAS([de200], [depca])
+AC_DRIVER_ALIAS([de201], [depca])
+AC_DRIVER_ALIAS([de202], [depca])
+AC_DRIVER_ALIAS([de210], [depca])
+AC_DRIVER_ALIAS([de422], [depca])
+AC_DRIVER_ALIAS([de203], [ewrk3])
+AC_DRIVER_ALIAS([de204], [ewrk3])
+AC_DRIVER_ALIAS([de205], [ewrk3])
+AC_DRIVER_ALIAS([de425], [de4x5])
+AC_DRIVER_ALIAS([de434], [de4x5])
+AC_DRIVER_ALIAS([de435], [de4x5])
+AC_DRIVER_ALIAS([de450], [de4x5])
+AC_DRIVER_ALIAS([de500], [de4x5])
+AC_DRIVER_ALIAS([3c507], [el16])
+AC_DRIVER_ALIAS([3c505], [elplus])
+AC_DRIVER_ALIAS([ne1000], [ne2000])
+AC_DRIVER_ALIAS([ne], [ne2000])
+AC_DRIVER_ALIAS([at1500], [lance])
+AC_DRIVER_ALIAS([ne2100], [lance])
+AC_DRIVER_ALIAS([tulip], [elcp])
+AC_DRIVER_ALIAS([rtl8129], [rtl8139])
+AC_DRIVER_ALIAS([aha2825], [aha152x])
+AC_DRIVER_ALIAS([ncr53c400], [ncr5380])
+AC_DRIVER_ALIAS([t128f], [t128])
+AC_DRIVER_ALIAS([t228], [t128])
+AC_DRIVER_ALIAS([am79c974], [am53c974])
+AC_DRIVER_ALIAS([dtc3180], [dtc3280])
+AC_DRIVER_ALIAS([dc390w], [ncr53c8xx])
+AC_DRIVER_ALIAS([dc390u], [ncr53c8xx])
+AC_DRIVER_ALIAS([dc390f], [ncr53c8xx])
+AC_DRIVER_ALIAS([dc390], [dc390t])
+AC_DRIVER_ALIAS([epic100], [epic])
+
+
+dnl Kinds of drivers that have gobs of source files that get brought in.
+
+AC_DRIVER_CLASS([scsi], [CONFIG_SCSI], [ \
+ constants.o hosts.o scsi.o scsi_ioctl.o scsi_proc.o scsicam.o sd.o \
+ sd_ioctl.o sr.o sr_ioctl.o])
+
+AC_DRIVER_CLASS([net], [CONFIG_INET], [ \
+ auto_irq.o net.o Space.o dev.o net_init.o])
+
+dnl Strictly speaking, we could have a `linux' option too, but it's
+dnl not possible to built a useful kernel without at least one Linux
+dnl driver, so that's not really necessary.
+
+
+dnl
+dnl linux_DRIVER(machname, MACRO, linuxname, class)
+dnl
+AC_DEFUN([linux_DRIVER], [
+ AC_DRIVER_ALIAS([$3], [$1])
+ AC_DRIVER([$1], [CONFIG_$2], [$3.o], [$4])
+])dnl
+
+dnl non-SCSI Disk controllers
+
+AC_DRIVER([floppy], [CONFIG_BLK_DEV_FD], [floppy.o])
+AC_DRIVER([ide], [CONFIG_BLK_DEV_IDE], [ \
+ cmd640.o ide-cd.o ide.o rz1000.o triton.o])
+
+
+dnl SCSI Disk controllers
+
+linux_DRIVER([advansys], [SCSI_ADVANSYS], [advansys], [scsi])
+linux_DRIVER([buslogic], [SCSI_BUSLOGIC], [BusLogic], [scsi])
+linux_DRIVER([u1434f], [SCSI_U14_34F], [u14-34f], [scsi])
+linux_DRIVER([ultrastor], [SCSI_ULTRASTOR], [ultrastor], [scsi])
+linux_DRIVER([aha152x], [SCSI_AHA152X], [aha152x], [scsi])
+linux_DRIVER([aha1542], [SCSI_AHA1542], [aha1542], [scsi])
+linux_DRIVER([aha1740], [SCSI_AHA1740], [aha1740], [scsi])
+linux_DRIVER([aic7xxx], [SCSI_AIC7XXX], [aic7xxx], [scsi])
+linux_DRIVER([futuredomain], [SCSI_FUTURE_DOMAIN], [fdomain], [scsi])
+linux_DRIVER([in2000], [SCSI_IN2000], [in2000], [scsi])
+linux_DRIVER([ncr5380], [SCSI_GENERIC_NCR5380], [g_NCR5380], [scsi])
+linux_DRIVER([ncr53c406a], [SCSI_NCR53C406A], [NCR53c406a], [scsi])
+linux_DRIVER([pas16], [SCSI_PASS16], [pas16], [scsi])
+linux_DRIVER([seagate], [SCSI_SEAGATE], [seagate], [scsi])
+linux_DRIVER([t128], [SCSI_T128], [t128], [scsi])
+linux_DRIVER([ncr53c7xx], [SCSI_NCR53C7xx], [53c78xx], [scsi])
+linux_DRIVER([eatadma], [SCSI_EATA_DMA], [eata_dma], [scsi])
+linux_DRIVER([eatapio], [SCSI_EATA_PIO], [eata_pio], [scsi])
+linux_DRIVER([wd7000], [SCSI_7000FASST], [wd7000], [scsi])
+linux_DRIVER([eata], [SCSI_EATA], [eata], [scsi])
+linux_DRIVER([am53c974], [SCSI_AM53C974], [AM53C974], [scsi])
+linux_DRIVER([dtc3280], [SCSI_DTC3280], [dtc], [scsi])
+linux_DRIVER([ncr53c8xx], [SCSI_NCR53C8XX], [ncr53c8xx], [scsi])
+linux_DRIVER([dc390t], [SCSI_DC390T], [tmscsim], [scsi])
+linux_DRIVER([ppa], [SCSI_PPA], [ppa], [scsi])
+linux_DRIVER([qlogicfas], [SCSI_QLOGIC_FAS], [qlogicfas], [scsi])
+linux_DRIVER([qlogicisp], [SCSI_QLOGIC_ISP], [qlogicisp], [scsi])
+linux_DRIVER([gdth], [SCSI_GDTH], [gdth], [scsi])
+dnl Dirty implementation...
+
+AC_ARG_ENABLE([flashpoint],
+ AS_HELP_STRING([--enable-flashpoint], [enable SCSI flashpoint [[default=no]]]),
+ [test x"$enableval" = xno &&
+ AC_DEFINE([CONFIG_SCSI_OMIT_FLASHPOINT], [], [scsi omit flashpoint])])
+
+
+dnl Ethernet controllers
+
+AC_DRIVER([ne2000], [CONFIG_NE2000], [ne.o 8390.o], [net])
+AC_DRIVER([el2], [CONFIG_EL2], [3c503.o 8390.o], [net])
+linux_DRIVER([el3], [EL3], [3c509], [net])
+AC_DRIVER([wd80x3], [CONFIG_WD80x3], [wd.o 8390.o], [net])
+linux_DRIVER([el1], [EL1], [3c501], [net])
+AC_DRIVER([ul], [CONFIG_ULTRA], [smc-ultra.o 8390.o], [net])
+AC_DRIVER([ul32], [CONFIG_ULTRA32], [smc-ultra32.o 8390.o], [net])
+AC_DRIVER([hplanplus], [CONFIG_HPLAN_PLUS], [hp-plus.o 8390.o], [net])
+AC_DRIVER([hplan], [CONFIG_HPLAN], [hp.o 8390.o], [net])
+linux_DRIVER([vortex], [VORTEX], [3c59x], [net])
+linux_DRIVER([seeq8005], [SEEQ8005], [seeq8005], [net])
+linux_DRIVER([hp100], [HP100], [hp100], [net])
+AC_DRIVER([ac3200], [CONFIG_AC3200], [ac3200.o 8390.o], [net])
+AC_DRIVER([e2100], [CONFIG_E2100], [e2100.o 8390.o], [net])
+linux_DRIVER([at1700], [AT1700], [at1700], [net])
+linux_DRIVER([eth16i], [ETH16I], [eth16i], [net])
+linux_DRIVER([znet], [ZNET], [znet], [net])
+linux_DRIVER([eexpress], [EEXPRESS], [eexpress], [net])
+linux_DRIVER([eexpresspro], [EEXPRESS_PRO], [eepro], [net])
+linux_DRIVER([eexpresspro100], [EEXPRESS_PRO100B], [eepro100], [net])
+linux_DRIVER([depca], [DEPCA], [depca], [net])
+linux_DRIVER([ewrk3], [EWRK3], [ewrk3], [net])
+linux_DRIVER([de4x5], [DE4X5], [de4x5], [net])
+linux_DRIVER([apricot], [APRICOT], [apricot], [net])
+linux_DRIVER([wavelan], [WAVELAN], [wavelan], [net])
+linux_DRIVER([el16], [EL16], [3c507], [net])
+linux_DRIVER([elplus], [ELPLUS], [3c505], [net])
+linux_DRIVER([de600], [DE600], [de600], [net])
+linux_DRIVER([de620], [DE620], [de620], [net])
+linux_DRIVER([skg16], [SK_G16], [sk_g16], [net])
+linux_DRIVER([ni52], [NI52], [ni52], [net])
+linux_DRIVER([ni65], [NI65], [ni65], [net])
+linux_DRIVER([atp], [ATP], [atp], [net])
+linux_DRIVER([lance], [LANCE], [lance], [net])
+linux_DRIVER([elcp], [DEC_ELCP], [tulip], [net])
+linux_DRIVER([fmv18x], [FMV18X], [fmv18x], [net])
+linux_DRIVER([3c515], [3C515], [3c515], [net])
+linux_DRIVER([pcnet32], [PCNET32], [pcnet32], [net])
+AC_DRIVER([ne2kpci], [CONFIG_NE2K_PCI], [ne2k-pci.o 8390.o], [net])
+linux_DRIVER([yellowfin], [YELLOWFIN], [yellowfin], [net])
+linux_DRIVER([rtl8139], [RTL8139], [rtl8139], [net])
+linux_DRIVER([epic], [EPIC], [epic100], [net])
+linux_DRIVER([tlan], [TLAN], [tlan], [net])
+linux_DRIVER([viarhine], [VIA_RHINE], [via-rhine], [net])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/i386/linux/device-drivers.h.in b/i386/linux/device-drivers.h.in
index e0469c0b..b4cb1bf2 100644
--- a/i386/linux/device-drivers.h.in
+++ b/i386/linux/device-drivers.h.in
@@ -1,84 +1,262 @@
-/* All possible device drivers; must match Drivers.in. */
+/* device-drivers.h.in. Generated from configure.ac by autoheader. */
+/* 3c515 */
+#undef CONFIG_3C515
+
+/* ac3200 */
+#undef CONFIG_AC3200
+
+/* apricot */
+#undef CONFIG_APRICOT
+
+/* at1700 */
+#undef CONFIG_AT1700
+
+/* atp */
+#undef CONFIG_ATP
+
+/* floppy */
+#undef CONFIG_BLK_DEV_FD
+
+/* ide */
+#undef CONFIG_BLK_DEV_IDE
+
+/* de4x5 */
+#undef CONFIG_DE4X5
+
+/* de600 */
+#undef CONFIG_DE600
+
+/* de620 */
+#undef CONFIG_DE620
+
+/* elcp */
+#undef CONFIG_DEC_ELCP
+
+/* depca */
+#undef CONFIG_DEPCA
+
+/* e2100 */
+#undef CONFIG_E2100
+
+/* eexpress */
+#undef CONFIG_EEXPRESS
+
+/* eexpresspro */
+#undef CONFIG_EEXPRESS_PRO
+
+/* eexpresspro100 */
+#undef CONFIG_EEXPRESS_PRO100B
+
+/* el1 */
+#undef CONFIG_EL1
+
+/* el16 */
+#undef CONFIG_EL16
+
+/* el2 */
+#undef CONFIG_EL2
+
+/* el3 */
+#undef CONFIG_EL3
+
+/* elplus */
+#undef CONFIG_ELPLUS
+
+/* epic */
+#undef CONFIG_EPIC
+
+/* eth16i */
+#undef CONFIG_ETH16I
+
+/* ewrk3 */
+#undef CONFIG_EWRK3
+
+/* fmv18x */
+#undef CONFIG_FMV18X
+
+/* hp100 */
+#undef CONFIG_HP100
+
+/* hplan */
+#undef CONFIG_HPLAN
+
+/* hplanplus */
+#undef CONFIG_HPLAN_PLUS
+
+/* Driver Class net */
+#undef CONFIG_INET
+
+/* lance */
+#undef CONFIG_LANCE
+
+/* 386 */
#undef CONFIG_M386
+
+/* 486 */
#undef CONFIG_M486
+
+/* 586 */
#undef CONFIG_M586
+
+/* 686 */
#undef CONFIG_M686
-#undef CPU
+
+/* ne2000 */
+#undef CONFIG_NE2000
+
+/* ne2kpci */
+#undef CONFIG_NE2K_PCI
+
+/* ni52 */
+#undef CONFIG_NI52
+
+/* ni65 */
+#undef CONFIG_NI65
+
+/* pcnet32 */
+#undef CONFIG_PCNET32
+
+/* rtl8139 */
+#undef CONFIG_RTL8139
+
+/* Driver Class scsi */
#undef CONFIG_SCSI
-#undef CONFIG_INET
-#undef CONFIG_BLK_DEV_FD
-#undef CONFIG_BLK_DEV_IDE
+
+/* wd7000 */
+#undef CONFIG_SCSI_7000FASST
+
+/* advansys */
#undef CONFIG_SCSI_ADVANSYS
-#undef CONFIG_SCSI_BUSLOGIC
-#undef CONFIG_SCSI_OMIT_FLASHPOINT
-#undef CONFIG_SCSI_U14_34F
-#undef CONFIG_SCSI_ULTRASTOR
+
+/* aha152x */
#undef CONFIG_SCSI_AHA152X
+
+/* aha1542 */
#undef CONFIG_SCSI_AHA1542
+
+/* aha1740 */
#undef CONFIG_SCSI_AHA1740
+
+/* aic7xxx */
#undef CONFIG_SCSI_AIC7XXX
+
+/* am53c974 */
+#undef CONFIG_SCSI_AM53C974
+
+/* buslogic */
+#undef CONFIG_SCSI_BUSLOGIC
+
+/* dc390t */
+#undef CONFIG_SCSI_DC390T
+
+/* dtc3280 */
+#undef CONFIG_SCSI_DTC3280
+
+/* eata */
+#undef CONFIG_SCSI_EATA
+
+/* eatadma */
+#undef CONFIG_SCSI_EATA_DMA
+
+/* eatapio */
+#undef CONFIG_SCSI_EATA_PIO
+
+/* futuredomain */
#undef CONFIG_SCSI_FUTURE_DOMAIN
-#undef CONFIG_SCSI_IN2000
+
+/* gdth */
+#undef CONFIG_SCSI_GDTH
+
+/* ncr5380 */
#undef CONFIG_SCSI_GENERIC_NCR5380
+
+/* in2000 */
+#undef CONFIG_SCSI_IN2000
+
+/* ncr53c406a */
#undef CONFIG_SCSI_NCR53C406A
-#undef CONFIG_SCSI_PASS16
-#undef CONFIG_SCSI_SEAGATE
-#undef CONFIG_SCSI_T128
+
+/* ncr53c7xx */
#undef CONFIG_SCSI_NCR53C7xx
-#undef CONFIG_SCSI_EATA_DMA
-#undef CONFIG_SCSI_EATA_PIO
-#undef CONFIG_SCSI_7000FASST
-#undef CONFIG_SCSI_EATA
-#undef CONFIG_SCSI_AM53C974
-#undef CONFIG_SCSI_DTC3280
+
+/* ncr53c8xx */
#undef CONFIG_SCSI_NCR53C8XX
-#undef CONFIG_SCSI_DC390T
+
+/* scsi omit flashpoint */
+#undef CONFIG_SCSI_OMIT_FLASHPOINT
+
+/* pas16 */
+#undef CONFIG_SCSI_PASS16
+
+/* ppa */
#undef CONFIG_SCSI_PPA
+
+/* qlogicfas */
#undef CONFIG_SCSI_QLOGIC_FAS
+
+/* qlogicisp */
#undef CONFIG_SCSI_QLOGIC_ISP
-#undef CONFIG_SCSI_GDTH
-#undef CONFIG_NE2000
-#undef CONFIG_EL2
-#undef CONFIG_EL3
-#undef CONFIG_WD80x3
-#undef CONFIG_EL1
+
+/* seagate */
+#undef CONFIG_SCSI_SEAGATE
+
+/* t128 */
+#undef CONFIG_SCSI_T128
+
+/* u1434f */
+#undef CONFIG_SCSI_U14_34F
+
+/* ultrastor */
+#undef CONFIG_SCSI_ULTRASTOR
+
+/* seeq8005 */
+#undef CONFIG_SEEQ8005
+
+/* skg16 */
+#undef CONFIG_SK_G16
+
+/* tlan */
+#undef CONFIG_TLAN
+
+/* ul */
#undef CONFIG_ULTRA
+
+/* ul32 */
#undef CONFIG_ULTRA32
-#undef CONFIG_HPLAN_PLUS
-#undef CONFIG_HPLAN
+
+/* viarhine */
+#undef CONFIG_VIA_RHINE
+
+/* vortex */
#undef CONFIG_VORTEX
-#undef CONFIG_SEEQ8005
-#undef CONFIG_HP100
-#undef CONFIG_AC3200
-#undef CONFIG_E2100
-#undef CONFIG_AT1700
-#undef CONFIG_ETH16I
-#undef CONFIG_ZNET
-#undef CONFIG_EEXPRESS
-#undef CONFIG_EEXPRESS_PRO
-#undef CONFIG_EEXPRESS_PRO100B
-#undef CONFIG_DEPCA
-#undef CONFIG_EWRK3
-#undef CONFIG_DE4X5
-#undef CONFIG_APRICOT
+
+/* wavelan */
#undef CONFIG_WAVELAN
-#undef CONFIG_EL16
-#undef CONFIG_ELPLUS
-#undef CONFIG_DE600
-#undef CONFIG_DE620
-#undef CONFIG_SK_G16
-#undef CONFIG_NI52
-#undef CONFIG_NI65
-#undef CONFIG_ATP
-#undef CONFIG_LANCE
-#undef CONFIG_DEC_ELCP
-#undef CONFIG_FMV18X
-#undef CONFIG_3C515
-#undef CONFIG_PCNET32
-#undef CONFIG_NE2K_PCI
+
+/* wd80x3 */
+#undef CONFIG_WD80x3
+
+/* yellowfin */
#undef CONFIG_YELLOWFIN
-#undef CONFIG_RTL8139
-#undef CONFIG_EPIC
-#undef CONFIG_TLAN
-#undef CONFIG_VIA_RHINE
+
+/* znet */
+#undef CONFIG_ZNET
+
+/* CPU */
+#undef CPU
+
+/* Define to the address where bug reports for this package should be sent. */
+#undef PACKAGE_BUGREPORT
+
+/* Define to the full name of this package. */
+#undef PACKAGE_NAME
+
+/* Define to the full name and version of this package. */
+#undef PACKAGE_STRING
+
+/* Define to the one symbol short name of this package. */
+#undef PACKAGE_TARNAME
+
+/* Define to the version of this package. */
+#undef PACKAGE_VERSION