autotools - Automake 静默规则(默认开启?)

标签 autotools autoconf automake

automake 的“silent-rules”选项的文档指出默认情况下将关闭静默规则,并且仅当用户在运行 configure 时特别​​要求它们时才会打开:

http://www.gnu.org/software/automake/manual/html_node/Options.html#index-Option_002c-_0040option_007bsilent_002drules_007d-915

我真的很想知道如何让静默规则默认打开,而不是通过选项禁用。我可以想到一些方法,但是你们有没有可能知道的特别官方或干净的方法?

最佳答案

AM_SILENT_RULES([yes])

初始化后立即在 configure.ac 中。

参见:http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html

关于autotools - Automake 静默规则(默认开启?),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6966059/

相关文章:

autotools - 如何使用 autotools 构建系统完全包含另一个项目?

c - 如何使用 configure.ac 包含 AC_INCLUDES_DEFAULT 的内容?

autotools - 配置:警告: 'missing' 脚本太旧或丢失

linux - 安装 Yara 时出现意外标记附近的语法错误

path - Autotools AC_CHECK_LIB 获取库的路径

c - 将从源代码构建的库链接到由 autotools 管理的程序

centos6 - 如何让 automake 在双架构 Linux 平台上将 libdir 设置为/usr/lib64

android-ndk - 配置无法识别androideabi

gcc - 使用自动工具时 PACKAGE_NAME 和其他宏发生冲突

GNU 自动工具 : How do you include source files in the 'make dist' tarball that are above the root source directory?