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

Ludovic Rousseau rousseau at costa.debian.org
Mon Jan 30 10:40:49 UTC 2006


Author: rousseau
Date: 2006-01-30 10:40:49 +0000 (Mon, 30 Jan 2006)
New Revision: 1842

Modified:
   trunk/Drivers/ccid/configure.in
Log:
when checking for PCSC exit with en error only if
/usr/local/lib/pkgconfig/libpcsclite.pc exists _and_ pkg-config is
installed


Modified: trunk/Drivers/ccid/configure.in
===================================================================
--- trunk/Drivers/ccid/configure.in	2006-01-25 19:18:20 UTC (rev 1841)
+++ trunk/Drivers/ccid/configure.in	2006-01-30 10:40:49 UTC (rev 1842)
@@ -33,7 +33,8 @@
 
 # check pcsc-lite version
 PKG_CHECK_MODULES(PCSC, libpcsclite >= 1.2.9-beta9, [],
-	[ if test -f /usr/local/lib/pkgconfig/libpcsclite.pc ; then
+	[ AC_MSG_RESULT([no])
+	if test -f /usr/local/lib/pkgconfig/libpcsclite.pc -a "x$PKG_CONFIG" != x ; then
 		AC_MSG_ERROR([use PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure])
 	  else
 		AC_MSG_WARN([install pcsc-lite 1.2.9-beta9 or later])




More information about the Pcsclite-cvs-commit mailing list