From 3af005a6de45d34fce1b2704531ab3fe55193b22 Mon Sep 17 00:00:00 2001 From: Bertrand Lorentz Date: Sun, 8 Sep 2013 17:10:50 +0200 Subject: [PATCH] build: Fix autogen.sh for recent changes in configure.ac Autogen.sh was grepping for the obsolete macro AM_CONFIG_HEADER, which was replaced by AC_CONFIG_HEADERS in configure.ac. As a consequence it was not calling autoheader, and then causing automake to fail if config.h.in was not already present. --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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