[Pcsclite-cvs-commit] r1980 - trunk/PCSC

Ludovic Rousseau rousseau at costa.debian.org
Mon Mar 27 15:34:37 CEST 2006


Author: rousseau
Date: 2006-03-27 13:34:36 +0000 (Mon, 27 Mar 2006)
New Revision: 1980

Modified:
   trunk/PCSC/configure.in
Log:
use use_libusb="${use_libusb-yes}" so that use_libusb is defined to yes
only if it was not previously defined

libusb is not used by default on Mac OS X and use_libusb=no is already
used in that case a few lines above in the script


Modified: trunk/PCSC/configure.in
===================================================================
--- trunk/PCSC/configure.in	2006-03-27 13:29:39 UTC (rev 1979)
+++ trunk/PCSC/configure.in	2006-03-27 13:34:36 UTC (rev 1980)
@@ -45,7 +45,7 @@
 	if test "$GCC" = "yes"; then
 		CFLAGS="$CFLAGS -no-cpp-precomp"
 	fi
-	use_libusb=false
+	use_libusb=no
 	AC_MSG_WARN([libusb disabled on Darwin for pcsc-lite])
 	;;
 esac
@@ -140,7 +140,7 @@
 # --enable-libusb
 AC_ARG_ENABLE(libusb,
 	AC_HELP_STRING([--disable-libusb],[do not use libusb]),
-	[ use_libusb="${enableval}" ], [ use_libusb=yes ] )
+	[ use_libusb="${enableval}" ], [ use_libusb="${use_libusb-yes}" ] )
 
 # check if libusb is used
 if test "x$use_libusb" != xno ; then




More information about the Pcsclite-cvs-commit mailing list