diff --git a/autogen.sh b/autogen.sh index b915230de..6cd7eb44e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -30,7 +30,7 @@ fi DIE=1 } -(grep "^AM_PROG_LEX" $srcdir/configure.ac >/dev/null) && { +(grep "^AC_PROG_LEX" $srcdir/configure.ac >/dev/null) && { (lex --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`lex' installed." @@ -40,7 +40,7 @@ fi } } -(grep "^AM_PROG_YACC" $srcdir/configure.ac >/dev/null) && { +(grep "^AC_PROG_YACC" $srcdir/configure.ac >/dev/null) && { (yacc --version) < /dev/null > /dev/null 2>&1 || { echo echo "**Error**: You must have \`yacc' installed." diff --git a/configure.ac b/configure.ac index d91d07e77..be72913ac 100644 --- a/configure.ac +++ b/configure.ac @@ -47,7 +47,7 @@ DX_PS_FEATURE(OFF) DX_INIT_DOXYGEN([icinga], [docs/Doxyfile], [docs/dev]) AC_PROG_INSTALL -AM_PROG_LEX +AC_PROG_LEX AC_PROG_YACC AC_PROG_LIBTOOL AX_CXX_GCC_ABI_DEMANGLE