configure脚本需要为运行它们的用户提供几种信息。下列的宏为每种信息以适当的方式打印消息。 所有宏的参数都应该由shell双引号括起来,以便shell可以对它们进行变量替换和反引号替换。你可以把消息用 m4引用字符括起来以打印包含括号的消息: AC_MSG_RESULT([never mind, I found the BASIC compiler]...
有些操作是以几种可能的方式完成的,它依赖于UNIX的变种。检查它们通常需要一个”case 语句”。Autoconf不能直接提供该语句; 然而,通过用一个shell变量来记录是否采用了操作的某种已知的方式,可以容易地模拟该语句。 下面是用shell变量fstype记录是否还有需要检查的情况的例子。 AC_MSG_CHECKING(how to get fi...
Poking at the Tesla Model 3 MCU and a closer look at its eMMC #4 Enter the serial console to the CID Wiring up the Ethernet port Circling back to my actual car Poking at the ga...