--- configure.ac.orig 2006-03-24 02:07:09.000000000 +0000 +++ configure.ac 2006-03-24 02:07:21.000000000 +0000 @@ -157,7 +157,7 @@ dnl XXX incomplete, please fill this in if test x$xthreads = xyes ; then case $host_os in - linux*|openbsd*) + linux*|openbsd*|gnu*|k*bsd*-gnu) XTHREADLIB=-lpthread ;; freebsd*) XTHREAD_CFLAGS="-D_THREAD_SAFE"