diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-13 21:24:07 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-13 21:24:07 +0200 |
commit | 7be4dc91e91394fc51c8fe2ace14fa716b6e7c34 (patch) | |
tree | be8aee93b53b956ca3360f9fb4f3d4d8dc1de9f1 /configure.ac | |
parent | b036b05d9ad0ba367b6c99a046364ec912416f85 (diff) | |
download | gnumach-7be4dc91e91394fc51c8fe2ace14fa716b6e7c34.tar.gz gnumach-7be4dc91e91394fc51c8fe2ace14fa716b6e7c34.tar.bz2 gnumach-7be4dc91e91394fc51c8fe2ace14fa716b6e7c34.zip |
Fix bootstrap hack for automake 1.16
* Makefile.in.dep.patch: New file.
* configure.ac: Try to apply Makefile.in.dep.patch if
config.status.dep.patch failed to apply.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 40e78a04..df5a1a08 100644 --- a/configure.ac +++ b/configure.ac @@ -216,7 +216,9 @@ dnl 's%#\ dummy%Makefile: $(filter-out $(DIST_SOURCES),$(SOURCES))%' \ dnl config.status dnl ]) AC_CONFIG_COMMANDS_POST([ - if "$PATCH" -f < "$srcdir"/config.status.dep.patch + if "$PATCH" -f < "$srcdir"/config.status.dep.patch > /dev/null 2>&1 || + "$PATCH" -f < "$srcdir"/Makefile.in.dep.patch > /dev/null 2>&1 || + grep "Ugly bootstrap hack to get to-be-generated files created" Makefile.in > /dev/null 2>&1 then] AC_MSG_NOTICE([Applied a patch to work around a deficiency in] [Automake. See `configure.ac' for details.]) [else] AC_MSG_ERROR([failed to patch using `config.status.dep.patch'.] |