]> git.saurik.com Git - wxWidgets.git/commitdiff
thread detection fixed for Solaris
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Apr 2002 12:32:51 +0000 (12:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 16 Apr 2002 12:32:51 +0000 (12:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index e9b8b69388cf3e24fa5de6133b9cfff76b794260..69d8cfce2a21bf9219e2287f5bb11dfa02c83db1 100755 (executable)
--- a/configure
+++ b/configure
@@ -17122,7 +17122,7 @@ if test "$TOOLKIT" != "MSW"; then
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then
-                                        THREAD_OPTS="$THREAD_OPTS -pthreads"
+                                        THREAD_OPTS="-pthreads $THREAD_OPTS"
                 else
                     THREAD_OPTS="-mt $THREAD_OPTS"
                 fi
                 else
                     THREAD_OPTS="-mt $THREAD_OPTS"
                 fi
index c9d4f2d99704f2d18dcc146a32eab10c18d39f07..edafe448f36ff20d8423f30a72afbd889b1e6967 100644 (file)
@@ -3161,8 +3161,8 @@ if test "$TOOLKIT" != "MSW"; then
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then
-                    dnl apparently some Solaris/gcc combinations use this one
-                    THREAD_OPTS="$THREAD_OPTS -pthreads"
+                    dnl Solaris/gcc combination use this one for some reason
+                    THREAD_OPTS="-pthreads $THREAD_OPTS"
                 else
                     THREAD_OPTS="-mt $THREAD_OPTS"
                 fi
                 else
                     THREAD_OPTS="-mt $THREAD_OPTS"
                 fi