mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-29 20:34:56 +01:00
Fixed detection of flex and bison
This commit is contained in:
parent
27822976c2
commit
af99d00a7b
1 changed files with 6 additions and 2 deletions
|
@ -19,7 +19,13 @@ AC_PROG_MAKE_SET
|
|||
AC_PROG_RANLIB
|
||||
|
||||
AC_PROG_YACC
|
||||
if test "$YACC" = yacc; then
|
||||
AC_MSG_ERROR([Could not find the 'bison' program on your system])
|
||||
fi
|
||||
AM_PROG_LEX
|
||||
if test "$LEX" != flex; then
|
||||
AC_MSG_ERROR([Could not find the 'flex' program on your system])
|
||||
fi
|
||||
|
||||
dnl --------------------------------------------------------------
|
||||
dnl Checks for compilation flags
|
||||
|
@ -52,8 +58,6 @@ fi
|
|||
|
||||
dnl Regexp / Listdic / Compdic build enable
|
||||
AC_ARG_ENABLE([dictools],AC_HELP_STRING([--enable-dictools],[build independant dictionary tools (default enabled)]))
|
||||
AM_PROG_LEX
|
||||
AC_PROG_YACC
|
||||
AM_CONDITIONAL([BUILD_DICTOOLS], [test "${enable_dictools}" != "no"])
|
||||
|
||||
dnl --------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue