From 9b9d26ce7646713e148c7ee0f461c2bcccdd5201 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 4 Apr 2017 13:48:46 +0100 Subject: 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 Note: the commit and above message are shamelessly copied from libinput. Signed-off-by: Peter Hutterer Signed-off-by: Emil Velikov --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 5dc4920..bdf0d4e 100644 --- a/configure.ac +++ b/configure.ac @@ -26,6 +26,7 @@ AC_PREREQ([2.60]) AC_INIT([libpciaccess],[0.13.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=libpciaccess],[libpciaccess]) AC_CONFIG_HEADERS([config.h]) +AC_CONFIG_AUX_DIR([.]) # Initialize Automake AM_INIT_AUTOMAKE([foreign dist-bzip2]) -- cgit v1.2.3