X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03773e400b6ff2692f2a9ba045d652c3b7b7109d..1fbfbfb0bf19e11ec98c2c1002cd561f16bc0b72:/configure.in diff --git a/configure.in b/configure.in index a5674f798e..4c93b62d69 100644 --- a/configure.in +++ b/configure.in @@ -1229,13 +1229,22 @@ elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then AC_MSG_WARN([Assuming OS X 10.4, use --with-macosx-version-min to override.]) OSX_VERSION="10.4" fi - if test "$wxUSE_OSX_CARBON" = 1 -o "x$OSX_VERSION" = "x10.4"; then - # otherwise configure stops on leopard for universal_binary - wxUSE_MACOSX_VERSION_MIN=10.4 - else - # for OS X Cocoa, use 10.5 so we can get 64-bit compile on Snow Leopard - wxUSE_MACOSX_VERSION_MIN=10.5 - fi + + case "$OSX_VERSION" in + 10.4* ) + wxUSE_MACOSX_VERSION_MIN=10.4 + ;; + + * ) + if test "$wxUSE_OSX_CARBON" = 1; then + # otherwise configure stops on leopard for universal_binary + wxUSE_MACOSX_VERSION_MIN=10.4 + else + # for Cocoa, use 10.5 to be able to compile it in 64 bits too + wxUSE_MACOSX_VERSION_MIN=10.5 + fi + ;; + esac fi NEEDS_GCC40="no"