]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use -threads with gcc under HP-UX, it's for DCE threads and not pthreads (rever...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Aug 2005 18:59:05 +0000 (18:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Aug 2005 18:59:05 +0000 (18:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure.in

index d443bba9f3c0a66425c70e1bedf66cc0973ef25a..5b4df4b24ea423bcccfaf21e90ef94084ab5dc25 100644 (file)
@@ -4410,11 +4410,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
                 THREAD_OPTS="pthreads"
                 ;;
           *-hp-hpux* )
-                if test "x$GCC" = "xyes"; then
-                    dnl the correct option for gcc is -threads, at least under
-                    dnl HP-UX 11.00
-                    THREAD_OPTS="-threads"
-                fi
+                if test "x$GCC" != "xyes"; then
                     dnl HP-UX aCC only gives a warning, not an error about
                     dnl -pthread but it doesn't work and we have to use
                     dnl -lpthread there