From 592483b80065a77a68a2f0ade5e5c3399022daf5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 9 Mar 2017 07:50:32 +1000 Subject: [PATCH] configure.ac: set AC_CONFIG_AUX_DIR If not set, libtool will search directories up to ../.. for an install-sh and then dump the aux files there. This caused a couple of problems with the xorg release.sh script that now uses worktrees but is generally bad behaviour because we can't guarantee that we're not inside some other repository. Set AC_CONFIG_AUX_DIR to avoid this behavior. See https://lists.freedesktop.org/archives/xorg-devel/2017-March/053006.html Signed-off-by: Peter Hutterer Reviewed-by: Emil Velikov --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 7d819118..f4daacbc 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,7 @@ AC_DEFINE([LIBINPUT_VERSION_MICRO], [libinput_micro_version], "libinput micro ve AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_AUX_DIR([.]) AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])