From 43c8b850144225f4619f2f1c9e0eff48d897b2cc Mon Sep 17 00:00:00 2001 From: "Brian J. Burg" Date: Fri, 19 Apr 2013 11:36:57 -0700 Subject: [PATCH] Invocations of autoconf213 should also include argument specifying the calculated shared macro path. This is necessary if autoconf213 is not installed globally. Closes #382. --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 54137ec33e4..3a860a5fe50 100755 --- a/configure +++ b/configure @@ -392,8 +392,11 @@ fi step_msg "running submodule autoconf scripts" +msg "configuring src/mozjs" + +AUTOCONF213_M4_MACROS="$(dirname ${CFG_AUTOCONF213})/../share/$(basename ${CFG_AUTOCONF213})/" # Run the SpiderMonkey autoconf using autoconf 2.13 -(cd ${CFG_SRC_DIR}src/mozjs/js/src && "${CFG_AUTOCONF213}") || exit $? +(cd ${CFG_SRC_DIR}src/mozjs/js/src && "${CFG_AUTOCONF213}" -l "${AUTOCONF213_M4_MACROS}") || exit $? # Pixman and cairo require some care to autoconf correctly for our in-tree build. # The normal autogen.sh files mostly just run autoreconfig but we need more fine control