[Pcsclite-cvs-commit] PCSC configure.in,1.50,1.51

rousseau@haydn.debian.org rousseau@haydn.debian.org


Update of /cvsroot/pcsclite/PCSC
In directory haydn:/tmp/cvs-serv9456

Modified Files:
	configure.in 
Log Message:
a lexer library (lex or flex) is mandatory to parse /etc/reader.conf so
exit ./configure if none is found


Index: configure.in
===================================================================
RCS file: /cvsroot/pcsclite/PCSC/configure.in,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- configure.in	7 Jun 2004 13:39:01 -0000	1.50
+++ configure.in	7 Jun 2004 13:40:55 -0000	1.51
@@ -132,7 +132,11 @@
 
 dnl Probe for a proper flex library
 AC_SUBST(LIBFL)
-AC_CHECK_LIB(l, yywrap, [LIBFL="$LIBFL -ll"], AC_CHECK_LIB(fl, yywrap, [LIBFL="$LIBFL -lfl"]))
+AC_CHECK_LIB(l, yywrap,
+	[ LIBFL="$LIBFL -ll" ],
+	AC_CHECK_LIB(fl, yywrap,
+		[ LIBFL="$LIBFL -lfl" ],
+		[ AC_MSG_ERROR([lex library required]) ] ))
 
 AC_SUBST(LIBUSB)
 dnl --enable-libusb=DIR