[Pcsclite-cvs-commit] CVS Drivers/ccid
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 29 Sep 2004 01:04:55 -0600
Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv17901
Modified Files:
configure.in
Log Message:
try to find pkg-config files in /usr/local/lib/pkgconfig since pcsc-lite
installs them in this directory by default
--- /cvsroot/pcsclite/Drivers/ccid/configure.in 2004/08/15 19:07:48 1.28
+++ /cvsroot/pcsclite/Drivers/ccid/configure.in 2004/09/29 07:04:55 1.29
@@ -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.28 2004/08/15 19:07:48 rousseau Exp $
+dnl $Id: configure.in,v 1.29 2004/09/29 07:04:55 rousseau Exp $
dnl Require autoconf 2.52
AC_PREREQ(2.52)
@@ -31,8 +31,12 @@
AC_PROG_LN_S
AM_PROG_LEX
AC_CHECK_PROG([PKGCONFIG], [pkg-config], [yes])
+
+dnl pcsc-lite install .pc files in /usr/local/lib/pkgconfig by default
+PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
+export PKG_CONFIG_PATH
if test "$PKGCONFIG" = "yes"; then
- if ! `pkg-config --print-errors --atleast-version=1.2.9-beta5 libpcsclite`
+ if ! `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig 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