path: root/configure.ac
diff options
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 00:51:13 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-12 23:26:17 +0000
commitee9d34a9ccc78f69971ec7140bd3a7076d232465 (patch)
tree99599c504d2da5d046b88ccab5e9eb1dbb77f77b /configure.ac
parent727417dd28813c697b4820aef9f54f249e30c4b8 (diff)
build: be robust against install-sh files above the root dir
Explicitly set AC_CONFIG_AUX_DIR. To reproduce the error avoided by this patch: rm install-sh # in case it was already generated. touch ../install-sh # yes, outside this source tree autoreconf -fi This will produce an error like ... configure.ac:16: error: required file '../ltmain.sh' not found configure.ac:5: installing '../missing' src/Makefile.am: installing '../depcomp' autoreconf: automake failed with exit status: 1 See also automake (vim `which automake`) and look for 'sub locate_aux_dir'. Change-Id: I4aef311d7a475800e09f48110a499c3759c69f5d
Diffstat (limited to 'configure.ac')
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b11730b..e4744b3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,6 +4,9 @@ AC_CONFIG_SRCDIR([gtp/gtp.c])
+dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
dnl kernel style compile messages