google到一个可能相关的话题
http://www.stratego-language.org/Stratego/WhyBootstrap
Note on aclocal, libtool, and autoconf
GNU Autoconf needs definitions of macros that are used in configure.ac files.
GNU Automake contains the tool aclocal, which installs all requires macros.
aclocal gets these macros from a directory with m4 files. aclocal
--print-ac-dir reports this directory. Your libtool installation must install
the libtool.m4 file in the ac-dir. If this is not the case, you will see a
non-fatal error like this:
configure.in:9: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Later on in the build proces a missing Makefile.in will be reported, after
which the build terminates.
Usually the file libtool.m4 is installed in the right directory if you
install Libtool and Automake at the same prefix. However, when using recent,
non-standard, ports of these packages on a FreeBSD systems (and probably also
some RPM based systems), this does not happen. If libtool.m4 is not in the
right directory for some reason, then you must copy the libtool.m4 file by
hand into the ac-dir.
【 在 caidao (caidao) 的大作中提到: 】
: root@bbs [/home/bbssrc/smth_bbs]#aclocal ; autoheader ; automake -a ;
: autoconf
: configure.ac:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGE
: T
: configure.ac:157: error: possibly undefined macro: AC_PROG_LIBTOOL
: ...................
--
修改:atppp FROM 128.12.155.*
FROM 128.12.155.*