]> git.ipfire.org Git - thirdparty/pdns.git/commit
m4_esyscmd_s only exists in Autoconf 2.64 or newer 3478/head
authorRuben Kerkhof <ruben@tilaa.com>
Sun, 28 Feb 2016 12:29:58 +0000 (13:29 +0100)
committerRuben Kerkhof <ruben@tilaa.com>
Sun, 28 Feb 2016 12:32:34 +0000 (13:32 +0100)
commit27f25e0d89435f4013c6af53e63688b0869562b1
treed5e1197b661878c9d5938d416151e7461e321873
parentb7abc11b744dfe42f477ebb96057307c25069f81
m4_esyscmd_s only exists in Autoconf 2.64 or newer

Since we like to be able to keep building on RHEL6, which
has autoconf 2.61, use the older m4_esyscmd macro and strip
the newline in the version ourself.

Resolves #3471

Fixes the following error:
$ autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
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_DIR, `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'
autoreconf: running: /usr/bin/autoconf --force
configure.ac:3: error: possibly undefined macro: m4_esyscmd_s
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
build-aux/gen-version
configure.ac