diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-13 21:40:29 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-08-13 21:40:29 +0200 |
commit | e312afc3440519ea91992b5df74886856ae57555 (patch) | |
tree | 932fff505a520b0a5dd3f82c659c6950defe874c /configure.ac | |
parent | 7be4dc91e91394fc51c8fe2ace14fa716b6e7c34 (diff) | |
download | gnumach-e312afc3440519ea91992b5df74886856ae57555.tar.gz gnumach-e312afc3440519ea91992b5df74886856ae57555.tar.bz2 gnumach-e312afc3440519ea91992b5df74886856ae57555.zip |
Fix building out of source
* configure.ac: Fix patching Makefile.in in $srcdir.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index df5a1a08..1164b27e 100644 --- a/configure.ac +++ b/configure.ac @@ -217,8 +217,8 @@ dnl config.status dnl ]) AC_CONFIG_COMMANDS_POST([ 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 + ( cd "$srcdir" && "$PATCH" -f < Makefile.in.dep.patch || + 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'.] |