]> git.saurik.com Git - wxWidgets.git/commitdiff
trying to fix threads compilation options: use -Ethreads under UnixWare, don't use...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 Apr 2003 01:02:02 +0000 (01:02 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 Apr 2003 01:02:02 +0000 (01:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index 6c7501c76ac875ba1f95f2a8ffb2414676ebdc1a..220d2dff1fbf84e2a5a2329e845143581ce5ad8d 100644 (file)
@@ -3686,6 +3686,22 @@ if test "$TOOLKIT" != "MSW"; then
                 if test "x$GCC" != "xyes"; then
                     THREAD_OPTS=""
                 fi
+
+          *-*-irix* )
+                dnl gcc under IRIX doesn't seem to like -pthread, but it
+                dnl doesn't give an error for it neither, just a warning
+                dnl message -- but this is still very annoying
+                if test "x$GCC" = "xyes"; then
+                    THREAD_OPTS=""
+                fi
+                ;;
+
+          *-*-*UnixWare*)
+                dnl flying by man pages here: Caldera online docs use this
+                if test "x$GCC" != "xyes"; then
+                    THREAD_OPTS="-Ethread"
+                fi
+                ;;
         esac
 
         dnl simply linking with libpthread should make the test below work but