From 0a9d5fcfa4c3fe8c930103f7639723dfd1ae4889 Mon Sep 17 00:00:00 2001 From: Thomas Graf Date: Fri, 23 Nov 2012 16:40:14 +0100 Subject: [PATCH] configure: Replace broken AM_PROG_LEX with AC_CHECK_PROGS Signed-off-by: Thomas Graf --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index a06bee1..7ccc131 100644 --- a/configure.in +++ b/configure.in @@ -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