diff --git a/autogen.sh b/autogen.sh index da6bfe1ed..c38fa8dc1 100755 --- a/autogen.sh +++ b/autogen.sh @@ -87,7 +87,7 @@ aclocal $ACLOCAL_FLAGS || { exit 1 } -if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then +if grep "^AC_CONFIG_HEADERS" configure.ac >/dev/null; then echo "Running autoheader..." autoheader || { echo "**Error**: autoheader failed."; exit 1; } fi