"fix" AC_PROG_LEX
authorMark Eichin <eichin@mit.edu>
Thu, 16 Jun 1994 06:33:26 +0000 (06:33 +0000)
committerMark Eichin <eichin@mit.edu>
Thu, 16 Jun 1994 06:33:26 +0000 (06:33 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3850 dc483132-0cff-0310-8789-dd5450dbe970

src/aclocal.m4

index d4ed0e8a886457155be1746a19120adcbdb29083..c3816e9c51f6387eec1cd838aea9ffff4fa013bb 100644 (file)
@@ -406,3 +406,16 @@ AC_CHECKING(for yylineno declaration)
   rm -f conftest.out
 ])dnl
 dnl
+dnl fix AC_PROG_LEX
+dnl
+undefine([AC_PROG_LEX])dnl
+define(AC_PROG_LEX,
+[AC_PROVIDE([$0])dnl
+LEX="lex"
+if test -z "$LEXLIB"
+then
+   AC_HAVE_LIBRARY(l, LEXLIB="-ll")
+fi
+AC_VERBOSE(setting LEXLIB to $LEXLIB)
+AC_SUBST(LEX)AC_SUBST(LEXLIB)])dnl
+dnl