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