diff --git a/cf/pthreads.m4 b/cf/pthreads.m4 index 57d7dacba..e44024cd4 100644 --- a/cf/pthreads.m4 +++ b/cf/pthreads.m4 @@ -1,4 +1,4 @@ -dnl $Id$ +Dnl $Id$ AC_DEFUN([KRB_PTHREADS], [ AC_MSG_CHECKING(if compiling threadsafe libraries) @@ -41,6 +41,11 @@ case "$host" in ;; esac ;; +*-*-kfreebsd*-gnu*) + native_pthread_support=yes + PTHREADS_CFLAGS=-pthread + PTHREADS_LIBS=-pthread + ;; *-*-aix*) dnl AIX is disabled since we don't handle the utmp/utmpx dnl problems that aix causes when compiling with pthread support