From: Vadim Zeitlin Date: Tue, 16 Apr 2002 12:32:51 +0000 (+0000) Subject: thread detection fixed for Solaris X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/126be6b469200df524f7c84d3719265a0ac68f41?ds=sidebyside thread detection fixed for Solaris git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index e9b8b69388..69d8cfce2a 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index c9d4f2d997..edafe448f3 100644 --- a/configure.in +++ b/configure.in @@ -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