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
This commit is contained in:
parent
1d2e5548c4
commit
260d684906
16
configure.in
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user