[PATCH libinput] configure.ac: set AC_CONFIG_AUX_DIR

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 8 21:57:32 UTC 2017


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 <peter.hutterer at who-t.net>
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 7d81911..f4daacb 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])
 
-- 
2.9.3



More information about the wayland-devel mailing list