aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 00:33:39 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-10-01 00:59:19 +0200
commitf5d28602a73e7382e131f8772207b5caa2ea9c42 (patch)
tree99f21b353bd62411243410a0280d9447b58d8c2f /configure.ac
parent15d9b7929d449e4138bcb003c614035bceadc3d1 (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: I5f69112f58b0a8ce0d848b0b6b543500ee63d133
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 92cba96..77feaff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,6 +2,9 @@ AC_INIT([libosmo-abis],
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([foreign dist-bzip2 no-dist-gzip 1.6 subdir-objects])
AC_CONFIG_TESTDIR(tests)