From: Jim Meyering Date: Tue, 8 Sep 2009 20:21:59 +0000 (+0200) Subject: build: don't try to run autoheader if we don't use it X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6588bee3103aceaf840cb073ef5717d85d3e412a;p=pspp build: don't try to run autoheader if we don't use it * build-aux/bootstrap: Define AUTOHEADER=true when AC_CONFIG_HEADERS is not used in configure.ac. --- diff --git a/ChangeLog b/ChangeLog index 8cf27c0345..5391614538 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-08 Jim Meyering + + build: don't try to run autoheader if we don't use it + * build-aux/bootstrap: Define AUTOHEADER=true when AC_CONFIG_HEADERS + is not used in configure.ac. + 2009-09-08 Eric Blake euidaccess: fix compilation error diff --git a/build-aux/bootstrap b/build-aux/bootstrap index b6dce12ed7..8f14199959 100755 --- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -728,6 +728,10 @@ find "$m4_base" "$source_base" \ # Reconfigure, getting other files. +# Skip autoheader if it's not needed. +grep '^[ ]*AC_CONFIG_HEADERS\>' configure.ac >/dev/null || + AUTOHEADER=true + for command in \ libtool \ "${ACLOCAL-aclocal} --force -I m4" \