--- ./configure.orig 2010-12-03 16:44:12.000000000 +0100 +++ ./configure 2010-12-03 16:44:12.000000000 +0100 @@ -8985,7 +8985,8 @@ # This can be used to rebuild libtool when needed -LIBTOOL_DEPS="$ltmain" +LIBTOOL_DEPS="--disable-ltlibs %%LTMAIN%%" +$ac_aux_dir/ltconfig $LIBTOOL_DEPS # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' @@ -16443,7 +16444,7 @@ fi -THREADFLAGS="-D_REENTRANT" +THREADFLAGS="-D_REENTRANT -pthread" if test "$have_kos" = "no"; then if test "$need_libc_r" = "yes"; then