If you think about it, Automake is basically an extra layer added to patch up limitations in the original Makefile concept. Some development projects have been moving to alternatives to Make and parts of Autotools, such as CMake and Jam.
conﬁgure probes the systems for required functions, libraries, and tools and then it generates a conﬁg.h ﬁle with all #defines as well as MakeFiles to build the package.
configure.in:13: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:28: error: possibly undefined macro: AM_CONFIG_HEADER configure.in:35: error: possibly undefined macro: AC_PROG_LIBTOOL configure.in:395: error: possibly undefined macro: AM_CONDITIONAL
then this means you probably need to upgrade automake(1).