Fix the check for autoheader in autogen.sh.
[mono.git] / autogen.sh
index ad24da8e13b1b5935379723f6a35cbd2f39d7521..3a51ad424c8e6efb91e74fe08f085fce547af8a2 100755 (executable)
@@ -134,7 +134,7 @@ aclocal -Wnone -I m4 -I . $ACLOCAL_FLAGS || {
   exit 1
 }
 
-if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
+if grep "^AC_CONFIG_HEADERS" configure.in >/dev/null; then
   echo "Running autoheader..."
   autoheader || { echo "**Error**: autoheader failed."; exit 1; }
 fi