2004-06-10 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / configure.in
index ea5991015b629446e21d6e72d940153ca657fd81..4722d125a3b06a02972677aea1f0a45a1c792e21 100644 (file)
@@ -1,7 +1,7 @@
 AC_INIT(README)
 AC_CANONICAL_SYSTEM
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(mono,0.92)
+AM_INIT_AUTOMAKE(mono,0.95)
 AM_MAINTAINER_MODE
 
 dnl
@@ -42,12 +42,17 @@ case "$host" in
                AC_DEFINE(PLATFORM_WIN32,1,[Platform is Win32])
                CC="gcc -mno-cygwin"
                HOST_CC="gcc"
+               # So libgc configure gets -mno-cygwin
+               export CC
 # latest libgc already defines GC_WIN32_THREADS
 #              CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS -DWIN32_THREADS"
                CPPFLAGS="$CPPFLAGS -DWIN32_THREADS"
                libdl=
                libgc_threads=win32
                gc_default=boehm 
+               with_nptl=no
+               with_sigaltstack=no
+
                ;;
        *-*-*netbsd*)
                platform_win32=no
@@ -896,6 +901,7 @@ if test x$platform_win32 = xno; then
                AC_DEFINE_UNQUOTED(SIGVAL_PTR,$SIGVAL_PTR,[Pointer field name in 'union sigval'])
        fi
 else
+       jdk_headers_found=no
        AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
        AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
 fi
@@ -947,7 +953,7 @@ case "{$target}" in
 dnl Win32 does not have /dev/random, they have their own method...
 
     *-*-mingw*|*-*-cygwin*)
-    ac_cv_have_dev_random = no
+    ac_cv_have_dev_random=no
     ;;
 
 dnl Everywhere else, it's /dev/random
@@ -1132,6 +1138,9 @@ case "$host" in
        libsuffix=".dylib"
        LIBC="libc.dylib"
        ;;
+     *-*-*netbsd*)
+       LIBC="libc.so.12"
+       ;;
 esac
 AC_SUBST(libsuffix)