[Pcsclite-cvs-commit] r2156 - trunk/Drivers/ccid

Ludovic Rousseau rousseau at costa.debian.org
Mon Sep 11 09:01:56 CEST 2006


Author: rousseau
Date: 2006-09-11 07:01:55 +0000 (Mon, 11 Sep 2006)
New Revision: 2156

Modified:
   trunk/Drivers/ccid/configure.in
Log:
do not #include the tested .h file since it is already included by the
macro. A double inclusion fails with SuSE gcc 4.1.0 with fdopen: Bad
file descriptor

Thanks to Byron Johnson for the bug report
see http://www.mail-archive.com/muscle@lists.musclecard.com/msg05632.html


Modified: trunk/Drivers/ccid/configure.in
===================================================================
--- trunk/Drivers/ccid/configure.in	2006-09-10 20:00:47 UTC (rev 2155)
+++ trunk/Drivers/ccid/configure.in	2006-09-11 07:01:55 UTC (rev 2156)
@@ -44,11 +44,9 @@
 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 ./configure PCSC_CFLAGS=...])],
-	[ #include <ifdhandler.h> ])
+	[AC_MSG_ERROR([ifdhandler.h not found, install pcsc-lite 1.2.9-beta9 or later, or use ./configure PCSC_CFLAGS=...])])
 AC_CHECK_HEADER(reader.h,,
-	[AC_MSG_ERROR([reader.h not found, install pcsc-lite 1.2.9-beta9 or later, or use ./configure PCSC_CFLAGS=...])],
-	[ #include <reader.h> ])
+	[AC_MSG_ERROR([reader.h not found, install pcsc-lite 1.2.9-beta9 or later, or use ./configure PCSC_CFLAGS=...])])
 CPPFLAGS="$saved_CPPFLAGS"
 
 # Add libtool support.




More information about the Pcsclite-cvs-commit mailing list