build: AC_PROG_LEX: use more readable variable names.

* m4/flex.m4 (AC_PROG_LEX): Prefer LEX_IS_FLEX to FLEX.
Prefer true/false to yes/no for such variables.
* configure.ac: Adjust.
This commit is contained in:
Akim Demaille
2012-05-06 09:37:10 +02:00
parent 9c883a6bb0
commit 355e5a7255
2 changed files with 7 additions and 11 deletions

View File

@@ -114,9 +114,7 @@ AC_SUBST([YACC_LIBRARY])
# Checks for programs.
AC_PROG_LEX
if test "$FLEX" != yes; then
AC_MSG_ERROR([Flex is required])
fi
$LEX_IS_FLEX || AC_MSG_ERROR([Flex is required])
AC_PROG_YACC
AC_PROG_RANLIB
AC_PROG_GNU_M4