add vopt_conflict helper
vopt_conflict prints an error and exits if two options are set at the same time.
This commit is contained in:
parent
62b3c65d77
commit
191c1eaf51
2 changed files with 10 additions and 0 deletions
|
@ -535,6 +535,10 @@ package accordingly. Additionally, the following functions are available:
|
|||
Same as `vopt_with`, but uses `--enable-<flag>` and
|
||||
`--disable-<flag>` respectively.
|
||||
|
||||
- *vopt_conflict()* `vopt_conflict <option 1> <option 2>`
|
||||
|
||||
Emits an error and exits if both options are set at the same time.
|
||||
|
||||
The following example shows how to change a source package that uses GNU
|
||||
configure to enable a new build option to support PNG images:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue