From: Vadim Zeitlin Date: Sat, 12 Apr 2003 01:02:02 +0000 (+0000) Subject: trying to fix threads compilation options: use -Ethreads under UnixWare, don't use... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/260d6849062b78d5ec0ba332cc52873e054a3057?ds=inline trying to fix threads compilation options: use -Ethreads under UnixWare, don't use -pthreads under IRIX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure.in b/configure.in index 6c7501c76a..220d2dff1f 100644 --- a/configure.in +++ b/configure.in @@ -3686,6 +3686,22 @@ if test "$TOOLKIT" != "MSW"; then if test "x$GCC" != "xyes"; then THREAD_OPTS="" fi + + *-*-irix* ) + dnl gcc under IRIX doesn't seem to like -pthread, but it + dnl doesn't give an error for it neither, just a warning + dnl message -- but this is still very annoying + if test "x$GCC" = "xyes"; then + THREAD_OPTS="" + fi + ;; + + *-*-*UnixWare*) + dnl flying by man pages here: Caldera online docs use this + if test "x$GCC" != "xyes"; then + THREAD_OPTS="-Ethread" + fi + ;; esac dnl simply linking with libpthread should make the test below work but