From: Vadim Zeitlin Date: Sun, 21 Aug 2005 18:59:05 +0000 (+0000) Subject: don't use -threads with gcc under HP-UX, it's for DCE threads and not pthreads (rever... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d24a5079c57cba7692e90d6a04dab5929b896a6f don't use -threads with gcc under HP-UX, it's for DCE threads and not pthreads (reverts recent commit) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index d443bba9f3..5b4df4b24e 100644 --- a/configure.in +++ b/configure.in @@ -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