configure: Replace broken AM_PROG_LEX with AC_CHECK_PROGS
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
a2c4bd8f09
commit
0a9d5fcfa4
1 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@ AC_PROG_CC
|
|||
AM_PROG_CC_C_O
|
||||
AC_PROG_INSTALL
|
||||
AM_PROG_LIBTOOL
|
||||
AM_PROG_LEX
|
||||
AC_CHECK_PROGS(FLEX, 'flex')
|
||||
AC_CHECK_PROGS(YACC, 'bison -y')
|
||||
|
||||
AC_C_CONST
|
||||
|
@ -123,8 +123,8 @@ if test -z "$YACC"; then
|
|||
AC_MSG_WARN(bison not found. Please install before continuing.)
|
||||
ac_errcount=$((ac_errcount + 1))
|
||||
fi
|
||||
if test -z "$LEXLIB"; then
|
||||
AC_MSG_WARN(flex or lex not found. Please install before continuing.)
|
||||
if test -z "$FLEX"; then
|
||||
AC_MSG_WARN(flex not found. Please install before continuing.)
|
||||
ac_errcount=$((ac_errcount + 1))
|
||||
fi
|
||||
if test $ac_errcount -gt 0; then
|
||||
|
|
Loading…
Add table
Reference in a new issue