--- configure.orig Sat Oct 30 03:46:09 2004 +++ configure Sat Oct 30 03:46:54 2004 @@ -26335,7 +26335,7 @@ PTHREAD_LIBS="$PTHREAD_LIBS_save" fi - if test -z "$LIBPTHREAD"; then + if test -z "$LIBPTHREAD" && test "$PTHREAD_LIBS" != "-pthread" ; then echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then