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.
This commit is contained in:
parent
0188d30f7f
commit
3af005a6de
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ aclocal $ACLOCAL_FLAGS || {
|
||||||
exit 1
|
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..."
|
echo "Running autoheader..."
|
||||||
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
|
autoheader || { echo "**Error**: autoheader failed."; exit 1; }
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue