Skip to content

Include more autoconf archive macros

This should fix the failing build on gnome-continuous, where its version of m4-common doesn’t have all the macros depended on by our bundled ax_code_coverage.m4.

Excerpt from the logs:

configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
autoreconf: configure.ac: tracing
configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
autoreconf: configure.ac: creating directory build-aux
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
autoreconf: running: /usr/bin/autoconf --force
configure.ac:79: warning: AX_ADD_AM_MACRO_STATIC is m4_require'd but not m4_defun'd
m4/ax_code_coverage.m4:208: _AX_CODE_COVERAGE_ENABLED is expanded from...
../../../autoconf-2.69/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from...
m4/ax_code_coverage.m4:248: AX_CODE_COVERAGE is expanded from...
configure.ac:79: the top level
configure:16376: error: possibly undefined macro: AC_MSG_ERROR
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:16663: error: possibly undefined macro: AM_V_at
configure:16681: error: possibly undefined macro: AM_DISTCHECK_CONFIGURE_FLAGS
autoreconf: /usr/bin/autoconf failed with exit status: 1
ob: pid 2 exited with code 1

Merge request reports