configure.ac: set AC_CONFIG_AUX_DIR
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 8 Mar 2017 21:50:32 +0000 (07:50 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Mar 2017 20:19:31 +0000 (06:19 +1000)
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@who-t.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac

index 7d81911..f4daacb 100644 (file)
@@ -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])