summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2020-01-11 11:52:38 +0000
committerSimon McVittie <smcv@collabora.com>2020-01-11 11:54:11 +0000
commit149ce1914f46d0243a3f371f96bb7802e23de8a9 (patch)
tree3387972f97db511ecf2315299e07a5e93b51791e
parentda98d6fce4952205a136b14c7ac7b8414c680ef5 (diff)
downloaddbus-python-149ce1914f46d0243a3f371f96bb7802e23de8a9.tar.gz
build: Forbid unexpanded AX_ macros more selectively
The autoconf-archive macros do not guarantee not to use $AX_foo names for shell variables (see dbus/dbus#249, dbus/dbus!86). Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index de30b5c..9f75a47 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@ AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AC_CONFIG_AUX_DIR([build-aux])
-m4_pattern_forbid([^AX_],
+m4_pattern_forbid([^AX_(COMPILER_FLAGS|IS_RELEASE|PYTHON_DEVEL|PYTHON_MODULE)\b],
[Unexpanded AX_ macro found. Please install GNU autoconf-archive])
# By default, rebuild autotools files on demand; only use ./missing if the