summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2020-12-23 12:10:22 +0100
committerRickard Green <rickard@erlang.org>2020-12-23 12:10:22 +0100
commit986e3b34ca31c7fdaf82978ed0b59059e34b4813 (patch)
tree7a597cf7461b32b75c0d4d568de2ce8adc2dd977 /make
parentede737f5db2b335dd1e48c820ef4bad571e784ae (diff)
parentc5b04efb55304a7c6f569c33c8e5875a32877f31 (diff)
downloaderlang-986e3b34ca31c7fdaf82978ed0b59059e34b4813.tar.gz
Merge branch 'rickard/configure/ERL-1447/OTP-17093' into maint
* rickard/configure/ERL-1447/OTP-17093: Fix uses of AC_CONFIG_AUX_DIRS() in configure scripts
Diffstat (limited to 'make')
-rw-r--r--make/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/configure.in b/make/configure.in
index ee2fa840cf..d603c9d202 100644
--- a/make/configure.in
+++ b/make/configure.in
@@ -76,13 +76,13 @@ esac
#
# Now srcdir is absolute and also the top of Erlang distribution, ERL_TOP.
#
-test "X$ERL_TOP" != "X" || ERL_TOP="$srcdir"
+test "X$ERL_TOP" != "X" || AC_MSG_ERROR([ERL_TOP not set])
AC_SUBST(ERL_TOP)
dnl
dnl Aux programs are found in erts/autoconf
dnl
-AC_CONFIG_AUX_DIR(${srcdir}/erts/autoconf)
+AC_CONFIG_AUX_DIR(${ERL_TOP}/erts/autoconf)
dnl
dnl Figure out what we are running on. And in violation of autoconf