autogen is failing to generate proper configure
While i am trying to generate configure from autogen.sh file. I am facing below issue. Can you let me know what is the issue here?
./autogen.sh
Generate build-system by:
autopoint: /usr/local/bin/autopoint (GNU gettext-tools) 0.19.7
aclocal: aclocal (GNU automake) 1.14
autoconf: autoconf (GNU Autoconf) 2.69
autoheader: autoheader (GNU Autoconf) 2.69
automake: automake (GNU automake) 1.14
libtoolize: libtoolize (GNU libtool) 2.4.2
Copying file po/Makefile.in.in
autopoint does not honor dataroot variable, patching.
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
configure.ac:32: 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:47: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:81: error: possibly undefined macro: AC_INCLUDES_DEFAULT
configure.ac:128: error: possibly undefined macro: AC_CHECK_LIB