ac_prog_libtool 是一个在 Autoconf 配置脚本中使用的宏,用于检查 libtool 工具是否存在并可用。如果 libtool 未安装或未正确配置,Autoconf 在处理 AC_PROG_LIBTOOL 宏时会报错。 2. 检查系统中是否已安装 libtool 你可以通过运行以下命令来检查 libtool 是否已安装: bash libtool --version
configure.ac:64: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoconf ERROR 只需要执行“sudo apt-get install libtool”安装好即可解决。
51CTO博客已为您找到关于AC_PROG_LIBTOOL的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及AC_PROG_LIBTOOL问答内容。更多AC_PROG_LIBTOOL相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。
dnl libtool-2 LT_INIT dnl check supported linker flags AX_CHECK_VSCRIPT m4_ifndef([PKG_PROG_PKG_CONFIG], [m4_fatal([Could not locate the pkg-config autoconf macros. These are usually located in /usr/share/aclocal/pkg.m4. If your macros are in a different location, try setti...
AX_CHECK_LINK_FLAG([[-static]],[LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -all-static"]) AC_PATH_PROG([MAKENSIS], [makensis], none) if test x$MAKENSIS = xnone; then AC_MSG_WARN("makensis not found. Cannot create installer.") fi ZC_REQUIRE_TOOL(WINDRES, windres) CPPFLA...
= "$sqlite_version_sanity_check" ; then AC_MSG_ERROR([configure script is out of date: configure \$PACKAGE_VERSION = $PACKAGE_VERSION top level VERSION file = $sqlite_version_sanity_check please regen with autoconf]) fi ### # Programs needed # AC_PROG_LIBTOOL AC_PROG_INSTALL ### #...
AC_PROG_LIBTOOLdnl Try to detect/use GNU features CFLAGS="$CFLAGS -D_GNU_SOURCE"dnl check for -Werror separately dnl (quite a few autotool checks do not work with -Werror; also, the dnl check for -Werror fails after checking and adding the other flags) ...
WINDMC_FOR_BUILD="\$(WINDMC)" fi AC_PROG_CC_C99 AC_PROG_CXX # We must set the default linker to the linker used by gcc for the correct # operation of libtool. If LD is not defined and we are using gcc, try to # set the LD default to the ld used by gcc. ...
AC_CHECK_PROG(HAS_RM, , yes, no) if test x$HAS_RM = xno; then AC_MSG_ERROR[could not find the program 'rm'installed]) fi AC_CHECK_PROGHAS_MKDIR, mkdir, yes, no) if test x$HAS_MKDIR = xno; thenAC_MSG_ERROR([could not find the program '' installed]) ...
configure.ac:30: error: possibly undefined macro: AC_PROG_LIBTOOL $pacman -S libtool 1. 安装好上面三个脚本(也可以说是程序:autoconf, automake, libtool),然后就可以autogen.sh了,我的结果如下, Administrator@XTZJ-20210830FE MINGW64 /d/vsncnn/protobuf340 ...