Mercurial > gnulib
changeset 38915:177c381baa2d
gnulib-tool: Avoid unnecessary config.h.in remaking in testdirs.
* gnulib-tool (func_create_testdir): Use workaround against 'autoheader'
bug reported at <https://savannah.gnu.org/support/index.php?109406>.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 29 Oct 2017 16:57:32 +0100 |
parents | 576e69a3aa1c |
children | cd465b2c1dbe |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 10 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Oct 29 09:37:12 2017 +0100 +++ b/ChangeLog Sun Oct 29 16:57:32 2017 +0100 @@ -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.
--- a/gnulib-tool Sun Oct 29 09:37:12 2017 +0100 +++ b/gnulib-tool Sun Oct 29 16:57:32 2017 +0100 @@ -6477,7 +6477,8 @@ 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_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