[Pcsclite-cvs-commit] Drivers/ccid configure.in,1.26,1.27
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv20466
Modified Files:
configure.in
Log Message:
use pkg-config to test the release version of pcsc-lite
Index: configure.in
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/configure.in,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- configure.in 21 Jul 2004 09:04:04 -0000 1.26
+++ configure.in 22 Jul 2004 10:01:37 -0000 1.27
@@ -31,6 +31,12 @@
AC_PROG_LN_S
AM_PROG_LEX
AC_CHECK_PROG([PKGCONFIG], [pkg-config], [yes])
+if test "$PKGCONFIG" = "yes"; then
+ if ! `pkg-config --print-errors --atleast-version=1.2.9-beta5 libpcsclite`
+ then
+ AC_MSG_ERROR([install pcsc-lite 1.2.9-beta5 or later])
+ fi
+fi
dnl Add libtool support.
AM_PROG_LIBTOOL
@@ -44,7 +50,7 @@
[AC_MSG_WARN([some header files not found])])
AC_CHECK_HEADERS(PCSC/ifdhandler.h,,
- [AC_MSG_ERROR([PCSC/ifdhandler.h not found, install pcsc-lite 1.2.9-beta3 or later])],
+ [AC_MSG_ERROR([PCSC/ifdhandler.h not found, install pcsc-lite 1.2.9-beta5 or later])],
[ #include <PCSC/pcsclite.h> ])