开发者

Automake: Syntax of conditionals in Makefile.am

开发者 https://www.devze.com 2023-01-09 04:29 出处:网络
I am familiar with the 开发者_JS百科if VAR_NAME, where VAR_NAME is defined by an AM_CONDITIONAL clause inside of configure.ac.

I am familiar with the 开发者_JS百科if VAR_NAME, where VAR_NAME is defined by an AM_CONDITIONAL clause inside of configure.ac.

Is there a corresponding "if not defined" construct in Makefile.am?


There is no "if not defined" construct. The configure.ac must be written so that the conditional is always defined. However, you can do "if ! VAR_NAME" if you want to test that the condition is false.

0

精彩评论

暂无评论...
验证码 换一张
取 消