git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
simple is-lex-flex autoconf test
[openafs.git]
/
acinclude.m4
diff --git
a/acinclude.m4
b/acinclude.m4
index
5459b3c
..
c30d99d
100644
(file)
--- a/
acinclude.m4
+++ b/
acinclude.m4
@@
-271,6
+271,8
@@
AC_PROG_LN_S
AC_PROG_RANLIB
AC_PROG_YACC
AM_PROG_LEX
+dnl if we are flex, be lex-compatible
+OPENAFS_LEX_IS_FLEX([AC_SUBST([LEX], ["$LEX -l"])])
OPENAFS_CHECK_BIGENDIAN
OPENAFS_PRINTF_TAKES_Z_LEN