]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
typo fixed: should be lpthread, not -lpthread in THREAD_OPTS
[wxWidgets.git] / configure
index 1c96cf319fdb6de3b1af7917ef57048ba76ee212..6c8069b29e0aa2612ec37834ed6eb6f9293ffae0 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
-                                        THREAD_OPTS="$THREAD_OPTS -pthreads"
+                                        THREAD_OPTS="-pthreads $THREAD_OPTS"
                 else
                     THREAD_OPTS="-mt $THREAD_OPTS"
                 fi
@@ -17133,10 +17133,10 @@ if test "$TOOLKIT" != "MSW"; then
           *-*-aix* )
                                 THREAD_OPTS="pthreads"
                 ;;
-          *)
-                                                THREAD_OPTS="$THREAD_OPTS none"
         esac
 
+                                THREAD_OPTS="$THREAD_OPTS pthread none"
+
                 THREADS_OK=no
         for flag in $THREAD_OPTS; do
             case $flag in