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
This commit is contained in:
Vadim Zeitlin
2005-08-21 18:59:05 +00:00
parent 7eb00c80b2
commit d24a5079c5

View 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