[Pcsclite-cvs-commit] CVS Drivers/ccid
CVS User rousseau
ludovic.rousseau@free.fr
Sun, 27 Feb 2005 14:03:14 -0700
Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv23900
Modified Files:
configure.in
Log Message:
if /usr/local/lib/pkgconfig/libpcsclite.pc exists (default pcsc-lite
configuration) we exit telling the user to use
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure
--- /cvsroot/pcsclite/Drivers/ccid/configure.in 2005/02/27 20:53:15 1.36
+++ /cvsroot/pcsclite/Drivers/ccid/configure.in 2005/02/27 21:03:14 1.37
@@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
dnl You may need to use autoconf 2.56 or newer
-dnl $Id: configure.in,v 1.36 2005/02/27 20:53:15 rousseau Exp $
+dnl $Id: configure.in,v 1.37 2005/02/27 21:03:14 rousseau Exp $
dnl Require autoconf 2.52
AC_PREREQ(2.52)
@@ -33,7 +33,12 @@
dnl check pcsc-lite version
PKG_CHECK_MODULES(PCSC, libpcsclite >= 1.2.9-beta5, [],
- [AC_MSG_WARN([install pcsc-lite 1.2.9-beta5 or later])])
+ [ if test -f /usr/local/lib/pkgconfig/libpcsclite.pc ; then
+ AC_MSG_ERROR([use PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure])
+ else
+ AC_MSG_WARN([install pcsc-lite 1.2.9-beta5 or later])
+ fi
+ ])
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $PCSC_CFLAGS"