The defined function is the only function recognized by configuration files. It returns true if its argument is defined at the point where the function appears in your configuration file, and false otherwise. The function takes the following forms:
defined (local_variable )
defined ( source_group )
defined ( options_group )
defined ( environment_variable )
You can use the defined function in expressions or if directives to determine the existence of one of the following conditions:
For example, the if directive in the following line tests whether an environment variable named PAULA has been defined:
if defined($PAULA) { /* ... */}
![]()
How Configuration Files Are Processed
Conditional
Processing in Builds
![]()
Configuration File Syntax
Predefined Build Environment Variabless
