bind 9.11.9 autoreconf fail
Summary
Bind 9.11.9 fail to run autotools/autoreconf on CentOS 6 and CentOS 7
BIND version used
official bind 9.11.9 release
Steps to reproduce
tar zxf bind-9.11.9.tar.gz
cd bind-9.11.9/
autoreconf -ivf
What is the current bug behavior?
it fail with error: possibly undefined macro: AC_MSG_ERROR
What is the expected correct behavior?
no error
Relevant configuration files
Relevant logs and/or screenshots
error log on CentOS 7(CentOS 6 fail with the same error and line number, except autotools version lower)
$ libtoolize --version
libtoolize (GNU libtool) 2.4.2
$ aclocal --version
aclocal (GNU automake) 1.13.4
$ autoconf --version
autoconf (GNU Autoconf) 2.69
$ autoreconf --version
autoreconf (GNU Autoconf) 2.69
$ autoreconf -if
configure.ac:11: warning: prefer named diversions
configure.ac:11: warning: prefer named diversions
configure.ac:11: warning: prefer named diversions
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `libtool.m4'.
libtoolize: copying file `libtool.m4/libtool.m4'
libtoolize: copying file `libtool.m4/ltoptions.m4'
libtoolize: copying file `libtool.m4/ltsugar.m4'
libtoolize: copying file `libtool.m4/ltversion.m4'
libtoolize: copying file `libtool.m4/lt~obsolete.m4'
libtoolize: Consider adding `-I libtool.m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:11: warning: prefer named diversions
configure.ac:11: warning: prefer named diversions
configure.ac:11: warning: prefer named diversions
configure.ac:67: error: possibly undefined macro: AC_MSG_ERROR
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:749: error: possibly undefined macro: PKG_CHECK_VAR
autoreconf: /usr/bin/autoconf failed with exit status: 1
Possible fixes
Edited by Mark Andrews