--- configure.orig 2009-03-09 17:52:11.000000000 +0100 +++ configure 2009-03-10 21:32:32.000000000 +0100 @@ -6791,12 +6791,12 @@ OLD_LIBS="$LIBS" if test -z "$LIBS"; then - LIBS="-lpthread" + LIBS="-pthread" else - MATCH=`expr -- "$LIBS" : ".*-lpthread"` + MATCH=`expr -- "$LIBS" : ".*-pthread"` if test "$MATCH" = "0"; then - LIBS="$LIBS -lpthread" + LIBS="$LIBS -pthread" fi fi @@ -6936,7 +6936,7 @@ if test "$wi_pthreads_test" = "yes"; then wi_pthreads_found="yes" - wi_pthreads_libs="-lpthread" + wi_pthreads_libs="-pthread" fi fi