summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2012-11-23 16:40:14 +0100
committerThomas Graf <tgraf@suug.ch>2012-11-23 16:41:08 +0100
commit0a9d5fcfa4c3fe8c930103f7639723dfd1ae4889 (patch)
tree36e2787c3c32dbd218d7231b891269f9f4fc580c
parenta2c4bd8f094a7247903578860a9c42049991860b (diff)
downloadlibnl-0a9d5fcfa4c3fe8c930103f7639723dfd1ae4889.tar.gz
configure: Replace broken AM_PROG_LEX with AC_CHECK_PROGS
Signed-off-by: Thomas Graf <tgraf@suug.ch>
-rw-r--r--configure.in6
1 files 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