• Simon McVittie's avatar
    configure.ac: Forbid AX_-prefixed patterns more selectively · ee09cc0a
    Simon McVittie authored
    We want to make autoconf fail early and with a user-comprehensible
    message if autoconf-archive isn't installed, rather than generating
    a configure script with syntax errors, or a configure script that runs
    successfully but doesn't do what we intended.
    
    However, autoconf-archive doesn't actually guarantee not to use
    AX_-prefixed shell variable names without m4_pattern_allow'ing them
    (unlike Autoconf, Automake, Libtool and pkg-config, which explicitly use
    m4_pattern_allow for variables with AC_, AM_, LT_ and PKG_ prefixes), so
    it isn't safe to assume that they won't be used. In particular, recent
    versions of AX_CHECK_GNU_MAKE appear to be using
    $AX_CHECK_GNU_MAKE_HEADLINE as a shell variable.
    
    Instead, specifically forbid the names of the finite list of macros
    that we actually use.
    Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
    Resolves: #249
    ee09cc0a
Name
Last commit
Last update
bus Loading commit data...
cmake Loading commit data...
dbus Loading commit data...
doc Loading commit data...
m4 Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
Doxyfile.in Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NEWS.pre-1-0 Loading commit data...
NEWS.pre-1-2 Loading commit data...
README Loading commit data...
README.cmake Loading commit data...
README.cygwin Loading commit data...
README.launchd Loading commit data...
README.valgrind Loading commit data...
README.win Loading commit data...
README.wince Loading commit data...
autogen.sh Loading commit data...
cleanup-man-pages.sh Loading commit data...
configure.ac Loading commit data...
dbus-1-uninstalled.pc.in Loading commit data...
dbus-1.pc.in Loading commit data...