From 4f53b8357787686b620ba8bdcd96182db8cfb787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 17 Jan 2009 21:52:55 +0000 Subject: [PATCH] explicit pthread for netbsd3 and newer git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24333 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/pthreads.m4 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cf/pthreads.m4 b/cf/pthreads.m4 index e44024cd4..f08a9fe1f 100644 --- a/cf/pthreads.m4 +++ b/cf/pthreads.m4 @@ -19,10 +19,15 @@ case "$host" in PTHREADS_LIBS=-mt fi ;; -*-*-netbsd*) +*-*-netbsd[12]*) native_pthread_support="if running netbsd 1.6T or newer" dnl heim_threads.h knows this - PTHREADS_LIBS="" + PTHREADS_LIBS="-lpthread" + ;; +*-*-netbsd[3456789]*) + native_pthread_support="netbsd 3 uses explict pthread" + dnl heim_threads.h knows this + PTHREADS_LIBS="-lpthread" ;; *-*-freebsd5*) native_pthread_support=yes