--- configure.orig 2013-11-24 09:41:13.000000000 +0100 +++ configure 2013-11-24 09:41:55.000000000 +0100 @@ -15525,6 +15525,8 @@ fi fi ;; + *freebsd*) THREAD_LIBS="" + ;; esac if test "$WITH_THREADS" = "1" ; then THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"