[Pcsclite-cvs-commit] CVS PCSC
CVS User rousseau
ludovic.rousseau@free.fr
Wed, 01 Sep 2004 12:41:08 -0600
Update of /cvsroot/pcsclite/PCSC
In directory haydn:/tmp/cvs-serv30170
Modified Files:
configure.in
Log Message:
use $prefix value instead of /usr/local/ in usbdropdir and muscledropdir
--- /cvsroot/pcsclite/PCSC/configure.in 2004/08/24 21:46:14 1.61
+++ /cvsroot/pcsclite/PCSC/configure.in 2004/09/01 18:41:08 1.62
@@ -183,7 +183,11 @@
drivers (default /usr/local/pcsc/drivers)]),
[usbdropdir="${enableval}"], [usbdropdir=false])
if test x${usbdropdir} = xfalse ; then
- usbdropdir="/usr/local/pcsc/drivers"
+ if test "x$prefix" != xNONE; then
+ usbdropdir="$prefix/pcsc/drivers"
+ else
+ usbdropdir="$ac_default_prefix/pcsc/drivers"
+ fi
fi
AC_MSG_RESULT([enable USB drop directory : $usbdropdir])
AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR, "$usbdropdir", [directory containing USB drivers])
@@ -257,7 +261,11 @@
MuscleCard bundles (default /usr/local/pcsc/services)]),
[muscledropdir="${enableval}"], [muscledropdir=false])
if test x${muscledropdir} = xfalse ; then
- muscledropdir="/usr/local/pcsc/services"
+ if test "x$prefix" != xNONE; then
+ muscledropdir="$prefix/pcsc/services"
+ else
+ muscledropdir="$ac_default_prefix/pcsc/services"
+ fi
fi
AC_MSG_RESULT([enable MuscleCard bundles dir : $muscledropdir])
AC_DEFINE_UNQUOTED(MSC_SVC_DROPDIR, "$muscledropdir", [directory containing MuscleCard bundles])