[Pcsclite-cvs-commit] r1767 - trunk/Drivers/ccid
Ludovic Rousseau
rousseau at costa.debian.org
Tue Nov 29 09:15:13 UTC 2005
Author: rousseau
Date: 2005-11-29 09:15:13 +0000 (Tue, 29 Nov 2005)
New Revision: 1767
Modified:
trunk/Drivers/ccid/configure.in
Log:
use $CPPFLAGS instead of $CFLAGS since we only need to set the C
preprocessor to find the .h files
Modified: trunk/Drivers/ccid/configure.in
===================================================================
--- trunk/Drivers/ccid/configure.in 2005-11-27 20:03:57 UTC (rev 1766)
+++ trunk/Drivers/ccid/configure.in 2005-11-29 09:15:13 UTC (rev 1767)
@@ -40,15 +40,15 @@
fi
])
-OLD_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS $PCSC_CFLAGS"
+saved_CPPFLAGS="$CPPFLAGS"
+CPPFLAGS="$CPPFLAGS $PCSC_CFLAGS"
AC_CHECK_HEADER(ifdhandler.h,,
[AC_MSG_ERROR([ifdhandler.h not found, install pcsc-lite 1.2.9-beta9 or later, or use CFLAGS=... ./configure])],
[ #include <ifdhandler.h> ])
AC_CHECK_HEADER(reader.h,,
[AC_MSG_ERROR([reader.h not found, install pcsc-lite 1.2.9-beta9 or later, or use CFLAGS=... ./configure])],
[ #include <reader.h> ])
-CFLAGS="$OLD_CFLAGS"
+CPPFLAGS="$saved_CPPFLAGS"
# Add libtool support.
AM_PROG_LIBTOOL
More information about the Pcsclite-cvs-commit
mailing list