From 2391db5f91843b25b2827d5eea272275d8c86f9f Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Sat, 12 Apr 2008 20:24:03 +0000 Subject: [PATCH] Corrected PCMCIA test in revision 1.43. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 24a38299..6870c149 100644 --- a/configure.ac +++ b/configure.ac @@ -87,7 +87,10 @@ else fi AM_CONDITIONAL([CONFIG_COMEDI_PCI],[test "$USE_PCI" = "yes"]) -COMEDI_CHECK_PCMCIA_PROBE([$LINUX_SRC_DIR], [HAVE_PCMCIA="yes"], [HAVE_PCMCIA="no"]) +COMEDI_CHECK_PCMCIA_PROBE([$LINUX_SRC_DIR], + [AS_CHECK_LINUX_CONFIG_OPTION([CONFIG_PCMCIA], + [HAVE_PCMCIA="yes"][HAVE_PCMCIA="yes"],[HAVE_PCMCIA="no"])], + [HAVE_PCMCIA="no"]) AM_CONDITIONAL([CONFIG_PCMCIA],[test "$HAVE_PCMCIA" = "yes"]) AC_ARG_ENABLE([pcmcia],[ --disable-pcmcia Disable support for PCMCIA devices], [ENABLE_PCMCIA=$enableval],[ENABLE_PCMCIA="maybe"]) -- 2.26.2