[Pcsclite-cvs-commit] CVS Drivers/ccid
CVS User rousseau
ludovic.rousseau@free.fr
Thu, 17 Mar 2005 03:13:04 -0700
Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv13534
Modified Files:
configure.in
Log Message:
store & restore the value of LIBS around the macro
AC_CHECK_LIB(pcsclite,...) to avoid adding an automatic -lpcsclite to
LIBS
--- /cvsroot/pcsclite/Drivers/ccid/configure.in 2005/03/17 10:11:14 1.42
+++ /cvsroot/pcsclite/Drivers/ccid/configure.in 2005/03/17 10:13:02 1.43
@@ -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.42 2005/03/17 10:11:14 rousseau Exp $
+dnl $Id: configure.in,v 1.43 2005/03/17 10:13:02 rousseau Exp $
dnl Require autoconf 2.52
AC_PREREQ(2.52)
@@ -194,10 +194,12 @@
else
dnl check that pcsc-lite is installed
OLD_LDLIBS="$LDLIBS"
+ OLD_LIBS="$LIBS"
LDLIBS="$LDLIBS $PCSC_LIBS"
AC_CHECK_LIB(pcsclite, SCardEstablishContext, [],
[AC_MSG_ERROR([SCardEstablishContext() not found, install pcsc-lite 1.2.9-beta5 or later,or use LDLIBS=... ./configure])])
LDLIBS="$OLD_LDLIBS"
+ LIBS="$OLD_LIBS"
AM_CONDITIONAL(WITHOUT_PCSC, false)
fi