]> git.saurik.com Git - wxWidgets.git/commitdiff
fix should have been mac only
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Jan 2008 11:11:04 +0000 (11:11 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 16 Jan 2008 11:11:04 +0000 (11:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 996593fc0fcf5a6e5583e975c9a672b59727c9d0..654194ca135065f7528620142b579031538bbdde 100755 (executable)
--- a/configure
+++ b/configure
@@ -17704,8 +17704,10 @@ echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.pl
         wxUSE_MACOSX_VERSION_MIN=
     fi
 elif test "x$wxUSE_MACOSX_VERSION_MIN" == "x"; then
-    # otherwise configure stops on leopard for universal_binary
-    wxUSE_MACOSX_VERSION_MIN=10.4
+    if test "$wxUSE_MAC" = 1; then
+        # otherwise configure stops on leopard for universal_binary
+        wxUSE_MACOSX_VERSION_MIN=10.4
+    fi
 fi
 
 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
index ecb459f8b3157cd50a1b03249685d06043772f9d..0bb2d6a4996793735942e81d3e64bb4b60dc3b22 100644 (file)
@@ -1188,9 +1188,11 @@ dnl We need to quote the next line where we don't need macros and do need [] in
     else
         wxUSE_MACOSX_VERSION_MIN=
     fi
-elif test "x$wxUSE_MACOSX_VERSION_MIN" == "x"; then
-    # otherwise configure stops on leopard for universal_binary
-    wxUSE_MACOSX_VERSION_MIN=10.4
+elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
+    if test "$wxUSE_MAC" = 1; then
+        # otherwise configure stops on leopard for universal_binary
+        wxUSE_MACOSX_VERSION_MIN=10.4
+    fi
 fi
 
 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then