如何修复 autoconf 警告:The macro `AC_PROG_LIBTOOL' is obsolete.

问题

运行 autoconf 时,你看到如下错误消息

autoupdate.sh
configure.ac:29: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:29: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.ac:29: the top level

解决方案

在运行 autoconf 之前,你需要运行 autoupdate 来解决此问题。

run_autoupdate.sh
autoupdate

之后,你可以再次运行 autoconf,错误将消失。


Check out similar posts by category: Build Systems