diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/aclocal.m4 | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
