]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Avoid unnecessary config.h.in remaking in testdirs.
authorBruno Haible <bruno@clisp.org>
Sun, 29 Oct 2017 15:57:32 +0000 (16:57 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 29 Oct 2017 15:58:11 +0000 (16:58 +0100)
* gnulib-tool (func_create_testdir): Use workaround against 'autoheader'
bug reported at <https://savannah.gnu.org/support/index.php?109406>.

ChangeLog
gnulib-tool

index a07ef22c3b953f97f7860a56e00f83a1f2de3657..8286e4fc56da98e917b84b10a473cfecc6353e07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-10-29  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Avoid unnecessary config.h remaking in testdirs.
+       * gnulib-tool (func_create_testdir): Use workaround against 'autoheader'
+       bug reported at <https://savannah.gnu.org/support/index.php?109406>.
+
 2017-10-29  Bruno Haible  <bruno@clisp.org>
 
        crypto/*: Verify that the header file is self-contained.
index 3c4bce028774b8e06cce6ac5ca7c008fe0262f62..36493a9eea47247186cf876ce4f1d164a947eba8 100755 (executable)
@@ -6477,7 +6477,8 @@ func_create_testdir ()
      func_execute_command mkdir build-aux || func_exit 1
    fi
    func_execute_command ${AUTOCONF} || func_exit 1
-   func_execute_command ${AUTOHEADER} || func_exit 1
+   # Explicit 'touch config.h.in': see <https://savannah.gnu.org/support/index.php?109406>.
+   func_execute_command "${AUTOHEADER} && touch config.h.in" || func_exit 1
    func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
    rm -rf autom4te.cache
   ) || func_exit 1
@@ -6499,7 +6500,8 @@ func_create_testdir ()
        func_execute_command mkdir ../build-aux
      fi
      func_execute_command ${AUTOCONF} || func_exit 1
-     func_execute_command ${AUTOHEADER} || func_exit 1
+     # Explicit 'touch config.h.in': see <https://savannah.gnu.org/support/index.php?109406>.
+     func_execute_command "${AUTOHEADER} && touch config.h.in" || func_exit 1
      func_execute_command ${AUTOMAKE} --add-missing --copy || func_exit 1
      rm -rf autom4te.cache
     ) || func_exit 1