Use AC_PROG_LEX instead of AM_PROG_LEX.

This commit is contained in:
Gunnar Beutner 2012-09-26 09:54:11 +02:00
parent e8fb5c735e
commit 719f7b58be
2 changed files with 3 additions and 3 deletions

View File

@ -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."

View File

@ -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