explicit pthread for netbsd3 and newer

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24333 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-01-17 21:52:55 +00:00
parent 58e7ca0cf4
commit 4f53b83577

View File

@@ -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