summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-06-30 15:32:17 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-06-30 15:32:17 +0200
commitcf81d409818bd07b222af9faeb250de844da6236 (patch)
tree483cc0ba6ccf526af596c225d4435787b226f424
parenta6b89d0dadce72ddf0e029999b968d611225d87f (diff)
Fix re-configuring out-of-tree builds
Previously, running `../configure ...' to reconfigure an out-of-tree build would link `machine' to `i386/i386' instead of `../i386/i386' (i.e. point to the build directory instead to the source) if `i386/i386' also exists in the build directory because of a previous build. * configfrag.ac: Prefix machine link target with `$srcdir'.
-rw-r--r--configfrag.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configfrag.ac b/configfrag.ac
index 5f13b63..5df6239 100644
--- a/configfrag.ac
+++ b/configfrag.ac
@@ -142,7 +142,7 @@ AC_ARG_ENABLE([kmsg],
# `${file}' and `$file' have different meanings here with respect to having the
# files in the referenced directory considered for `make dist' or not. See
# <http://lists.gnu.org/archive/html/bug-automake/2006-11/msg00027.html>.
-AC_CONFIG_LINKS([machine:$systype/$systype
+AC_CONFIG_LINKS([machine:$srcdir/$systype/$systype
mach/machine:$systype/include/mach/$systype])
dnl Local Variables: