From 1ecc8fb127f5263b3d2984a521b2cfa972221b21 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 27 Jul 2006 09:50:07 +0000 Subject: 2006-07-27 Thomas Schwinge * i386/linux/configure.ac: Pull in the pcmcia code only if really needed. --- i386/linux/configure.ac | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'i386/linux') diff --git a/i386/linux/configure.ac b/i386/linux/configure.ac index 5c5dfc0..0e37013 100644 --- a/i386/linux/configure.ac +++ b/i386/linux/configure.ac @@ -244,24 +244,24 @@ AC_DRIVER([pcnet_cs], [CONFIG_PCNET_CS], [pcnet_cs.o 8390.o], [pcmcia]) linux_DRIVER([smc91c92_cs], [SMC91C92_CS], [smc91c92_cs], [pcmcia]) linux_DRIVER([xirc2ps_cs], [XIRC2PS_CS], [xirc2ps_cs], [pcmcia]) -dnl Wireless device support. +dnl Wireless device drivers. + +AC_DRIVER([orinoco_cs], [CONFIG_ORINOCO_CS], [ \ + hermes.o orinoco.o orinoco_cs.o], [wireless]) -AC_DEFUN([AC_WIRELESS_CS_DRIVER], [ - AC_DRIVER([$1], [CONFIG_$2], [$3], [wireless]) + +dnl If any pcmcia wireless devices have been enabled, make sure to include the +dnl pcmcia glue as well. +if test x"${driver_class_wireless_selected+set}" = xset; then if test x"${driver_class_pcmcia_selected+set}" != xset; then driver_class_pcmcia_selected=yes AC_DEFINE_UNQUOTED([$driver_class_pcmcia_option], [1]) device_drivers="$device_drivers $driver_class_pcmcia_files" fi -]) - -dnl Wireless device drivers. - -AC_WIRELESS_CS_DRIVER([orinoco_cs], [ORINOCO_CS], [ \ - hermes.o orinoco.o orinoco_cs.o]) +fi -dnl If any PCMCIA devices have been enabled, make sure to include the network -dnl glue as well... +dnl If any pcmcia devices have been enabled, make sure to include the network +dnl glue as well. if test x"${driver_class_pcmcia_selected+set}" = xset; then if test x"${driver_class_net_selected+set}" != xset; then driver_class_net_selected=yes -- cgit v1.2.3