itchconfig Documentation
Macros: Conditionals

Macro IC_ENDIF_...

Closes a conditional block opened by the corresponding IC_IF_... Never forget this!

Macro IC_IF_OPTION_ENABLED

Tests whether the feature (defined with IC_OPTION_ENABLE) is enabled. To add commands for the "else" case, use IC_ELSE_OPTION_ENABLED.

Macro IC_IF_OPTION_DISABLED

Tests whether the feature (defined with IC_OPTION_ENABLE) is disabled.

Macro IC_IF_IDENTIFIER

Tests whether the value of the shell script identifier (e.g. created with IC_SUBSTITUTE, behavior 1) isn't 0. To add commands for the "else" case, use IC_ELSE_IDENTIFIER.

Macro IC_IF_NOT_IDENTIFIER

Tests whether the value of the shell script identifier (e.g. created with IC_SUBSTITUTE, behavior 1) equals 0.

Macro IC_IF_INSTALL_PATH_NOT_SET

Tests whether the installation path for the target hasn't yet been set (by the user). Use this in combination with IC_INSTALL_CREATE, flags & 1.


This documentation file is part of version 0.0.4 of itchconfig, a configuration tool created by Arne Thomaßen. itchconfig is basically released under certain versions of the GNU General Public License and WITHOUT ANY WARRANTY. Copyright (C) 2002 Arne Thomaßen.