From 7d00e55398fc72607ea9be50bc66134dd4751f30 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 16 Jun 1994 06:33:26 +0000 Subject: [PATCH] "fix" AC_PROG_LEX git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3850 dc483132-0cff-0310-8789-dd5450dbe970 --- src/aclocal.m4 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index d4ed0e8a8..c3816e9c5 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -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 -- 2.26.2