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
;;
esac
- THREAD_OPTS="$THREAD_OPTS -lpthread none"
+ THREAD_OPTS="$THREAD_OPTS pthread none"
THREADS_OK=no
for flag in $THREAD_OPTS; do