这些输入是“autoheader”,“autoscan”,“automake”和“make”吗?

时间:2016-07-18 15:33:56

标签: autotools autoconf automake

我正在比较

它们之间的以下差异是否正常?哪一个是正确的?

  • autoheaderautoscanconfigure.acconfigure.in的输入是什么?

  • 对于automake的输入,其输入是configure.ac还是config.h.in

  • 对于make的输入,其输入是config.h吗?

感谢。

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:1)

  

autoheader和autoscan,configure.ac或configure.in?

的输入

configure.inconfigure.ac的已弃用名称,但在其他方面相同。

  

对于automake的输入,在其输入中是configure.ac和config.h.

automake将完全忽略config.h.in,但需要configure.ac(或.in)来确定您要求的选项

  

对于输入,是config.h的输入吗?

make将执行Makefile中定义的命令; config.h是其中一些命令的输入,因为它包含在源文件中。它可能安装也可能不安装,因此是make命令的直接输入,但实际上不应该。