summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 6de2df29..21515cbd 100644
--- a/configure.in
+++ b/configure.in
@@ -82,9 +82,12 @@ if test "$cross_compiling" != yes; then
fi
dnl Check for PCMCIA
-if test "$cross_compiling" != yes; then
- AC_TEST_DIR(/etc/pcmcia, PCMCIA=pcmcia, PCMCIA=)
-fi
+AC_ARG_ENABLE(pcmcia,
+ --enable-pcmcia Always install PCMCIA support files,
+ [PCMCIA=pcmcia],
+ [ if test "$cross_compiling" != yes; then
+ AC_TEST_DIR(/etc/pcmcia, PCMCIA=pcmcia, PCMCIA=)
+ fi ])
AC_ADD_DIRLEVEL(CFLAGS CPPFLAGS LDFLAGS LIBS)