summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2002-05-13 18:45:11 +0000
committerMax Krasnyansky <maxk@qualcomm.com>2002-05-13 18:45:11 +0000
commit7ef138d4d8d5042f9feaae9fb3bb3a4a947d8582 (patch)
treee7e892dc4f8c3a420ea433bac733a2562548cee1 /configure.in
parent6524a7f07a5b73e2b34a5b8feeb8b4c4ff1fd385 (diff)
make file cleanup
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)