summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 00:35:21 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 01:07:11 +0200
commitecacdc65c3063be747b96541743b38bb68bdcd29 (patch)
tree0aa1ab739f3f9ac39ae05ff240d190c3f9536017 /configure.ac
parentc403ed69cd68da7b68f2192f2ebe550a4ab9ba36 (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: I9c96c087bffb41533ef6fb9b1d00bd903d71693e
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0b42951..800a46a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,10 @@
AC_INIT([osmo-sip-connector],
m4_esyscmd([./git-version-gen .tarball-version]),
[openbsc@lists.osmocom.org])
+
+dnl *This* is the root dir, even if an install-sh exists in ../ or ../../
+AC_CONFIG_AUX_DIR([.])
+
AM_INIT_AUTOMAKE([dist-bzip2])
dnl kernel style compile messages