--- configure.orig	2012-01-25 09:52:46.445155128 +0100
+++ configure	2012-01-25 09:53:01.565155948 +0100
@@ -4025,7 +4025,7 @@
    linux_pthread="#define LINUX_PTHREAD"
 fi
 
-LDFLAGS=-lpthread
+#LDFLAGS=-lpthread
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <pthread.h>
@@ -4043,10 +4043,10 @@
 }
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
-  extra_ldflags="$extra_ldflags -lpthread"
+#  extra_ldflags="$extra_ldflags -lpthread"
 
 else
-  extra_ldflags="$extra_ldflags -pthread"
+#  extra_ldflags="$extra_ldflags -pthread"
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
