itchconfig Documentation
Macros: Package Options
Macro IC_OPTION_ENABLE
- Macro name: IC_OPTION_ENABLE
- Available since version 0.0.1
- Level: configure
- Parameters:
- name - basic feature name
- value (optional) - initial value (1 or 0; default: empty - 0)
- help (optional) - a help text
- behavior (optional) - identifier substitution behavior
- Example:
- IC_OPTION_ENABLE(encryption, 0, [encryption support])
Allows users to specify that a certain package feature shall be
enabled/disabled with a command-line option like "./configure
--enable-name". The resulting value (1 or 0) will be stored in an
identifier named "OPTION_tn" as defined by the behavior;
tn is the transformed name: all lower-case letters are converted
to their upper-case equivalents, and all non-alphanumeric characters are
replaced with underscores. behavior: see IC_SUBSTITUTE.
Macro IC_OPTION_SET
- Macro name: IC_OPTION_SET
- Available since version 0.0.1
- Level: configure
- Parameters:
- name - basic option name
- value (optional) - initial value (default: empty - 0)
- help (optional) - a help text
- behavior (optional) - identifier substitution behavior
- Example:
- IC_OPTION_SET(speed, 30, [desired frames/sec.])
Allows users to set an identifier to a certain value with a command-line
option like "./configure --set-name=...". The value will be stored in an
identifier named "OPTION_tn" as defined by the behavior.
tn and behavior: see IC_OPTION_ENABLE.
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.