I ran autoconf, but got errors as follows:
# autoconf
configure.ac:25: error: possibly undefined macro: AM_CONFIG_HEADER
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:27: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:40: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure.ac:41: error: possibly undefined macro: AC_ENABLE_SHARED
configure.ac:42: error: possibly undefined
macro: AC_DISABLE_STATIC
configure.ac:43: error: possibly undefined macro: AC_PROG_LIBTOOL