summaryrefslogtreecommitdiff
path: root/i386/linux
diff options
context:
space:
mode:
authorStefan Siegl <stesie@brokenpipe.de>2006-09-23 20:25:41 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:41 +0200
commitad331ebba171bc83de570e289c2f8f96a257e642 (patch)
tree9cf927cc256d4e376db6c4e24c858077ba68a753 /i386/linux
parent46ff6c56e74e3886dc2fd1f124cb8ca5b1906464 (diff)
2006-09-23 Stefan Siegl <stesie@brokenpipe.de>
* i386/linux/configure.ac (AC_PCMCIA_OPTION): New function. (--disable-pcmcia-isa): New configuration option to disable ISA-bus support in the pcmcia core, which is otherwise enabled now by default. * doc/mach.texi (Configuration): Briefly document the new configuration option. * i386/README-Drivers: Likewise.
Diffstat (limited to 'i386/linux')
-rw-r--r--i386/linux/configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/i386/linux/configure.ac b/i386/linux/configure.ac
index 9ce468c..6af8eb7 100644
--- a/i386/linux/configure.ac
+++ b/i386/linux/configure.ac
@@ -365,6 +365,25 @@ linux_DRIVER([i82365],
[Intel 82365 PC Card controller],
[I82365], [i82365], [pcmcia])
+AC_DEFUN([AC_PCMCIA_OPTION], [
+ AC_ARG_ENABLE([pcmcia-$1],
+ AS_HELP_STRING([--disable-pcmcia-$1], [$4]))
+ [enable_pcmcia_$1=${enable_pcmcia_$1-$enable_default_device_drivers}
+ if test x"$enable_pcmcia_$1" = xyes; then]
+ AC_DEFINE([CONFIG_$2], [1], [$4])
+ [device_drivers="$device_drivers $3"
+ if test "${driver_class_pcmcia_selected+set}" != set; then
+ driver_class_pcmcia_selected=yes]
+ AC_DEFINE_UNQUOTED([$driver_class_pcmcia_option], [1])
+ [device_drivers="$device_drivers $driver_class_pcmcia_files"
+ fi
+ fi
+]])
+
+AC_PCMCIA_OPTION([isa], [ISA], [],
+ [disable isa-bus-support (pcmcia core)])
+
+
dnl PCMCIA device drivers.
linux_DRIVER([3c574_cs],