configure.in defines CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE" for the *-*-*bsd* target. But, for NetBSD 1.6M (-current) and FreeBSD5 (irrc) the std. POSIX _REENTRANT has to be used. PTHREAD_POINTER_ID seems to be unnecessary. So, for NetBSD it should be:
*-*-*netbsd*)
platform_win32=no
CPPFLAGS="$CPPFLAGS -D_REENTRANT"
libmono_cflags="-D_REENTRANT"
AC_DEFINE(NEED_LINK_UNLINK)
libdl=
;;
(Since I'm not sure about FreeBSD5 I've cc'ed Juli.)
Regards,
Marc
--
"Premature optimization is the root of all evil." -- Donald E. Knuth
mono-0.19-configure.in.diff
Description: Binary data
fileXTegIx.sig
Description: PGP signature
