make test_for_selected_wxbuild target optional (patch 1696363)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-04-08 21:45:11 +00:00
parent 4609ee2ef8
commit a78a8f7fd5
3 changed files with 18 additions and 6 deletions

View file

@ -185,12 +185,14 @@ Format-specific notes:
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>
<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>
<!-- 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: -->