summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2017-04-04 13:48:46 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2017-04-04 14:29:44 +0100
commit9b9d26ce7646713e148c7ee0f461c2bcccdd5201 (patch)
tree051be0522b22e8b16e212fb950b8d4edabd4de22
parent504a65a732ea070dce907fce827a15d6b61e0c4d (diff)
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 <peter.hutterer@who-t.net> Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
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])