summaryrefslogtreecommitdiff
path: root/i386/configure
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-09-19 23:14:07 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:41 +0200
commit46ff6c56e74e3886dc2fd1f124cb8ca5b1906464 (patch)
tree4a1f1ec5abf961c6f94a42b993ad1225edb613ff /i386/configure
parent65be2f5e021eb7a193be0b1314a1482e50743ba2 (diff)
2006-09-20 Thomas Schwinge <tschwinge@gnu.org>
* configure: Regenerate. * i386/configure: Likewise. * i386/linux/configure: Likewise. * i386/linux/device-drivers.h.in: Likewise.
Diffstat (limited to 'i386/configure')
-rwxr-xr-xi386/configure24
1 files changed, 21 insertions, 3 deletions
diff --git a/i386/configure b/i386/configure
index 5d1ecb2..b66f989 100755
--- a/i386/configure
+++ b/i386/configure
@@ -788,7 +788,12 @@ if test -n "$ac_init_help"; then
Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-lpr enable use of lpr device
+ --disable-default-device-drivers
+ have all device drivers disabled that can be
+ disabled and would otherwise have been enabled by
+ default; then use the `--enable-*' options to enable
+ only those you actually want to have enabled
+ --disable-lpr disable use of lpr device
Report bugs to <bug-hurd@gnu.org>.
_ACEOF
@@ -1242,15 +1247,28 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
#
# Options
#
+# Check whether --enable-default-device-drivers or --disable-default-device-drivers was given.
+if test "${enable_default_device_drivers+set}" = set; then
+ enableval="$enable_default_device_drivers"
+
+fi;
+if test x"$enable_default_device_drivers" != xno
+then enable_default_device_drivers=yes
+fi
+
# Check whether --enable-lpr or --disable-lpr was given.
if test "${enable_lpr+set}" = set; then
enableval="$enable_lpr"
- test "x$enableval" = xno ||
+
+fi;
+enable_lpr=${enable_lpr-$enable_default_device_drivers}
+if test x"$enable_lpr" = xyes
+then
cat >>confdefs.h <<\_ACEOF
#define MACH_LPR
_ACEOF
-fi;
+fi
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do