X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=libgc%2Fconfigure.in;h=d2681cc9a278fa1bc89ae26dab359fd74024cf87;hb=8217b4728a65bfdfb5050c8f8d6b80637f66ab6f;hp=96acc156697b8f1b26bf1130ebdee547c8f7bdef;hpb=881f83658281916d8f0784df7c726ecb7cc289db;p=mono.git diff --git a/libgc/configure.in b/libgc/configure.in index 96acc156697..d2681cc9a27 100644 --- a/libgc/configure.in +++ b/libgc/configure.in @@ -44,7 +44,7 @@ AC_SUBST(GC_CFLAGS) case $enable_embed_check in no) ;; -*) AC_MSG_ERROR([This module is now part of `mono' and can't be built as a stand-alone module any longer.]) ;; +*) AC_MSG_ERROR([This module is now part of 'mono' and cannot be built as a stand-alone module any longer.]) ;; esac THREADS=$with_libgc_threads @@ -151,6 +151,13 @@ case "$THREADS" in AC_DEFINE(PARALLEL_MARK) fi ;; + *-*-netbsd*) + AC_DEFINE(GC_NETBSD_THREADS) + if test "${enable_parallel_mark}" = yes; then + AC_DEFINE(PARALLEL_MARK) + fi + AC_DEFINE(THREAD_LOCAL_ALLOC) + ;; *-*-osf*) AC_DEFINE(GC_OSF1_THREADS) if test "${enable_parallel_mark}" = yes; then