]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
More warning and error fixes (work in progress with Tinderbox).
[wxWidgets.git] / configure
index 28d11f43fd9af6ae7a1adaaa8fb2d4e3bb9a22de..c9655ff90062305662ecb7ac2d81048d395d3839 100755 (executable)
--- a/configure
+++ b/configure
@@ -1662,8 +1662,8 @@ test -n "$target_alias" &&
 
 wx_major_version_number=2
 wx_minor_version_number=6
-wx_release_number=0
-wx_subrelease_number=1
+wx_release_number=1
+wx_subrelease_number=0
 
 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
 WX_VERSION=$WX_RELEASE.$wx_release_number
@@ -40562,8 +40562,6 @@ if test "$wxUSE_MAC" = 1 ; then
     else
         LDFLAGS="$LDFLAGS -lCarbonLib"
     fi
-elif test "$USE_DARWIN" = 1; then
-    LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System"
 fi
 if test "$wxUSE_COCOA" = 1 ; then
     LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
@@ -40571,6 +40569,9 @@ if test "$wxUSE_COCOA" = 1 ; then
         LDFLAGS="$LDFLAGS -framework QuickTime"
     fi
 fi
+if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
+    LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
+fi
 
 
 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"