thus we can now add WX_LIBS to the linker line -->
<ldlibs>$(WX_LIBS)</ldlibs>
</if>
- <if cond="value not in ALLLIB_LIST.split()">
+ <if cond="value not in WX_LIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>
that simply creating the following target; if it fails the make
program will halt with the wx-config error message...
-->
- <action id="test_for_selected_wxbuild">
- <dependency-of>all</dependency-of>
-
- <!-- Use @ to hide to the user that we're running wx-config... -->
- <command>@$(DOLLAR)(WX_CONFIG) $(WX_CONFIG_FLAGS)</command>
- </action>
+ <if cond="WX_TEST_FOR_SELECTED_WXBUILD=='1'">
+ <action id="test_for_selected_wxbuild">
+ <dependency-of>all</dependency-of>
+ <!-- Use @ to hide to the user that we're running wx-config... -->
+ <command>@$(DOLLAR)(WX_CONFIG) $(WX_CONFIG_FLAGS)</command>
+ </action>
+ </if>
<!-- we need this but the trick used in default-values above
prevents bakefile from detecting it: -->
<if cond="value!='base'">
<set var="__liblist" append="1">$(value)</set>
</if>
- <if cond="value not in ALLLIB_LIST.split()">
+ <if cond="value not in WX_LIB_LIST.split()">
<error>Unknown wxWidgets library given in the wx-lib tag</error>
</if>
</define-tag>