From e312afc3440519ea91992b5df74886856ae57555 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 13 Aug 2018 21:40:29 +0200 Subject: Fix building out of source * configure.ac: Fix patching Makefile.in in $srcdir. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') 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'.] -- cgit v1.2.3