thread detection fixed for Solaris

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-04-16 12:32:51 +00:00
parent 595e0e4416
commit 126be6b469
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -17122,7 +17122,7 @@ if test "$TOOLKIT" != "MSW"; then
case "${host}" in
*-*-solaris2* | *-*-sunos4* )
if test "x$GCC" = "xyes"; then
THREAD_OPTS="$THREAD_OPTS -pthreads"
THREAD_OPTS="-pthreads $THREAD_OPTS"
else
THREAD_OPTS="-mt $THREAD_OPTS"
fi

View File

@ -3161,8 +3161,8 @@ if test "$TOOLKIT" != "MSW"; then
case "${host}" in
*-*-solaris2* | *-*-sunos4* )
if test "x$GCC" = "xyes"; then
dnl apparently some Solaris/gcc combinations use this one
THREAD_OPTS="$THREAD_OPTS -pthreads"
dnl Solaris/gcc combination use this one for some reason
THREAD_OPTS="-pthreads $THREAD_OPTS"
else
THREAD_OPTS="-mt $THREAD_OPTS"
fi