lex: %option not supported by solaris lex
it turns out that we don't need to tell lex we don't plan to use unput; we can just.... not use unput. however, if we're flex, use the command line option if it's available, to avoid warnings
This commit is contained in:

committed by
Nico Williams

parent
6b3ce5d229
commit
78c915f65a
@@ -59,6 +59,9 @@ fi
|
||||
dnl AC_KRB_PROG_YACC
|
||||
AC_PROG_YACC
|
||||
AM_PROG_LEX
|
||||
AS_IF([$LEX --nounput -V > /dev/null 2>&1 && test $? -eq 0],
|
||||
[AC_SUBST([FLEXNOUNPUTARGS], ["--nounput"])],
|
||||
[AC_SUBST([FLEXNOUNPUTARGS], [""])])
|
||||
dnl AC_PROG_RANLIB
|
||||
AC_PROG_AWK
|
||||
AC_KRB_PROG_LN_S
|
||||
|
Reference in New Issue
Block a user