From 952ce041f8fe0df9c59351104607b4c022e7fa64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 13 Oct 2008 03:10:58 +0000 Subject: [PATCH] Add patch from Petr Salinger, from Debian via Brian May. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23906 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/pthreads.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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