Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 6,951 Lines • ▼ Show 20 Lines | </example> | ||||
<sect3 xml:id="options-prevents"> | <sect3 xml:id="options-prevents"> | ||||
<title><varname><replaceable>OPT</replaceable>_PREVENTS</varname> | <title><varname><replaceable>OPT</replaceable>_PREVENTS</varname> | ||||
and | and | ||||
<varname><replaceable>OPT</replaceable>_PREVENTS_MSG</varname></title> | <varname><replaceable>OPT</replaceable>_PREVENTS_MSG</varname></title> | ||||
<para>Provides a way to add conflicts between options.</para> | <para>Provides a way to add conflicts between options.</para> | ||||
<para>When <replaceable>OPT</replaceable> is selected, all the | <para>When <replaceable>OPT</replaceable> is selected, all the | ||||
options listed in this variable must be un-selected. If | options listed in <varname><replaceable>OPT</replaceable>_PREVENTS</varname> | ||||
<varname><replaceable>OPT</replaceable>_PREVENTS_MSG</varname> | must be un-selected. If <varname><replaceable>OPT</replaceable>_PREVENTS_MSG</varname> | ||||
is also selected, its content will be shown, explaining why | is set and a conflict is triggered, its content will be shown explaining | ||||
they conflict. For example:</para> | why they conflict. For example:</para> | ||||
<programlisting>OPTIONS_DEFINE= OPT1 OPT2 | <programlisting>OPTIONS_DEFINE= OPT1 OPT2 | ||||
OPT1_PREVENTS= OPT2 | OPT1_PREVENTS= OPT2 | ||||
OPT1_PREVENTS_MSG= OPT1 and OPT2 enable conflicting options</programlisting> | OPT1_PREVENTS_MSG= OPT1 and OPT2 enable conflicting options</programlisting> | ||||
<para>Is roughly equivalent to:</para> | <para>Is roughly equivalent to:</para> | ||||
<programlisting>OPTIONS_DEFINE= OPT1 OPT2 | <programlisting>OPTIONS_DEFINE= OPT1 OPT2 | ||||
▲ Show 20 Lines • Show All 1,162 Lines • Show Last 20 Lines |