[Pcsclite-cvs-commit] Drivers/ccid configure.in,1.20,1.21
rousseau@haydn.debian.org
rousseau@haydn.debian.org
Update of /cvsroot/pcsclite/Drivers/ccid
In directory haydn:/tmp/cvs-serv30718
Modified Files:
configure.in
Log Message:
add a --enable-pcsclite option (default yes) so that the driver can be
compiled for a different framework (one needing tokenparser.l)
Index: configure.in
===================================================================
RCS file: /cvsroot/pcsclite/Drivers/ccid/configure.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- configure.in 24 May 2004 09:53:36 -0000 1.20
+++ configure.in 25 May 2004 08:25:23 -0000 1.21
@@ -197,6 +197,16 @@
AC_MSG_RESULT([serial twin install dir : $ccidtwindir])
AC_DEFINE_UNQUOTED(PCSCLITE_HP_DROPDIR, "$ccidtwindir", [directory containing USB drivers])
+dnl --enable-pcsclite
+AC_ARG_ENABLE(pcsclite,
+ AC_HELP_STRING([--enable-pcsclite],[compile for pcsc-lite (default=yes)]),
+ [ pcsclite=no ], [ pcsclite=yes ] )
+
+if test "${pcsclite}" = no ; then
+ AM_CONDITIONAL(NEED_PARSER, true)
+fi
+AC_MSG_RESULT([compiled for pcsc-lite : $pcsclite])
+
dnl Setup dist stuff
AC_SUBST(ac_aux_dir)