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
*-*-aix* )
THREAD_OPTS="pthreads"
;;
- *)
- THREAD_OPTS="$THREAD_OPTS none"
esac
+ THREAD_OPTS="$THREAD_OPTS pthread none"
+
THREADS_OK=no
for flag in $THREAD_OPTS; do
case $flag in