[Pcsclite-cvs-commit] PCSC configure.in,1.23,1.24

rousseau@quantz.debian.org rousseau@quantz.debian.org
Tue, 26 Aug 2003 16:29:03 +0200


Update of /cvsroot/pcsclite/PCSC
In directory quantz:/tmp/cvs-serv24795

Modified Files:
	configure.in 
Log Message:
move addition of -lusb since it is selected by default.


Index: configure.in
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/configure.in,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- configure.in	26 Aug 2003 13:14:28 -0000	1.23
+++ configure.in	26 Aug 2003 14:29:01 -0000	1.24
@@ -133,9 +133,6 @@
 		use_libusb=false
 		case ${enableval} in
 			"" | "yes" | "YES")
-				if test x$use_libusb = xtrue; then
-					LIBS="${LIBS} -lusb"
-				fi
 				;;
 			"no" | "NO")
 				use_libusb=false
@@ -147,12 +144,14 @@
 				if test x$use_libusb = xtrue; then
 					CPPFLAGS="$CPPFLAGS -I${libusb_prefix}/include"
 					LDFLAGS="$LDFLAGS -L${libusb_prefix}/lib"
-					LIBS="${LIBS} -lusb"
 				fi
 				;;
 		esac
 	]
 )
+if test x$use_libusb = xtrue; then
+	LIBS="${LIBS} -lusb"
+fi
 
 AC_MSG_RESULT([enable libusb support         : $use_libusb])