]> git.saurik.com Git - wxWidgets.git/blobdiff - build/bakefiles/wxpresets/presets/wx_unix.bkl
enabling clip
[wxWidgets.git] / build / bakefiles / wxpresets / presets / wx_unix.bkl
index 6cc4a5e0eba52d6bd9f8fd190c1c3f0ea2b87e70..77272f6a65f43c32b6254090c504717edd35f109 100644 (file)
@@ -48,7 +48,7 @@ Format-specific notes:
                      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>
@@ -185,13 +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>
-
-            <!-- 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: -->
@@ -211,7 +212,7 @@ Format-specific notes:
             <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>