withFeature
lib.withFeature
Docs pulled from | This Revision | 26 minutes ago
Create an --{with,without}- string that can be passed to standard GNU Autoconf scripts.
Inputs
flag
-
1. Function argument
feature
-
2. Function argument
Examples
withFeature
usage example
withFeature true "shared"
=> "--with-shared"
withFeature false "shared"
=> "--without-shared"