[Pcsclite-cvs-commit] CVS Drivers/ccid

CVS User rousseau ludovic.rousseau@free.fr
Sun, 27 Feb 2005 14:12:02 -0700


Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv24364

Modified Files:
	configure.in 
Log Message:
exits with an error if usbdropdir is not defined


--- /cvsroot/pcsclite/Drivers/ccid/configure.in	2005/02/27 21:03:14	1.37
+++ /cvsroot/pcsclite/Drivers/ccid/configure.in	2005/02/27 21:12:02	1.38
@@ -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.37 2005/02/27 21:03:14 rousseau Exp $
+dnl $Id: configure.in,v 1.38 2005/02/27 21:12:02 rousseau Exp $
 
 dnl Require autoconf 2.52
 AC_PREREQ(2.52)
@@ -168,6 +168,9 @@
 fi
 AC_MSG_RESULT([USB drop directory      : $usbdropdir])
 AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR, "$usbdropdir", [directory containing USB drivers])
+if test "${usbdropdir}" = "" ; then
+	AC_MSG_ERROR([use --enable-usbdropdir=DIR])
+fi
 
 dnl --enable-ccidtwindir=DIR
 AC_ARG_ENABLE(ccidtwindir,