]> git.saurik.com Git - wxWidgets.git/blobdiff - configure.in
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / configure.in
index 17cb392540b21a14c4e873729b56a95e620949f0..d4fae38dc0b441e3b4f2bd93a6ef7b3448065c78 100644 (file)
@@ -3180,7 +3180,11 @@ if test "$TOOLKIT" != "MSW"; then
                 dnl and finally the userland threads
                 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
                 ;;
-          *-*-aix* )
+          *-*-darwin*)
+                dnl Darwin / Mac OS X just uses -lpthread tested below
+                THREAD_OPTS=""
+                ;;
+          *-*-aix*)
                 dnl AIX calls the library libpthreads - thanks IBM!
                 THREAD_OPTS="pthreads"
                 ;;