X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=configure.ac;h=966bd50391504aa8e884de27ef4bbf2fe058645e;hb=e0e9f78aa869b47019e6ecb9d06567b7f71596a9;hp=66174bea4e6ca48e97e79b77831ac17db5ad92b2;hpb=2e90180856c21b90c0390275979fc08660684dd1;p=mono.git diff --git a/configure.ac b/configure.ac index 66174bea4e6..966bd503915 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. #AC_PREREQ([2.62]) -AC_INIT(mono, [4.5.0], +AC_INIT(mono, [4.5.1], [http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono]) AC_CONFIG_SRCDIR([README.md]) @@ -92,11 +92,11 @@ case "$host" in host_win32=yes mono_cv_clang=no if test "x$cross_compiling" = "xno"; then - if test "x$host" == "x$build" -a "x$host" == "x$target"; then + if test "x$host" = "x$build" -a "x$host" = "x$target"; then target_win32=yes fi else - if test "x$host" == "x$target"; then + if test "x$host" = "x$target"; then target_win32=yes fi fi @@ -272,8 +272,6 @@ case "$host" in need_link_unlink=yes libmono_cflags="-D_REENTRANT" libgc_threads=pthreads - # This doesn't seem to work on solaris/x86, but the configure test runs - with_tls=pthread has_dtrace=yes use_sigposix=yes enable_solaris_tar_check=yes @@ -2453,7 +2451,7 @@ fi AC_ARG_ENABLE(bcl-opt, [ --disable-bcl-opt BCL is compiled with no optimizations (allows accurate BCL debugging)], test_bcl_opt=$enableval, test_bcl_opt=yes) AC_ARG_ENABLE(perf-events, [ --enable-perf-events Enable using `perf` for profiling on Linux], test_perf_events=$enableval, test_perf_events=no) -if test "x$test_perf_events" == "xyes"; then +if test "x$test_perf_events" = "xyes"; then AC_DEFINE(ENABLE_PERF_EVENTS, 1, [Enable using `perf` for profiling on Linux]) AC_SUBST(ENABLE_PERF_EVENTS) fi @@ -2615,7 +2613,7 @@ if test "x$enable_llvm" = "xyes"; then AC_MSG_CHECKING(LLVM version) AC_MSG_RESULT($llvm_version $llvm_api_version) if echo $llvm_version | grep -q 'mono'; then - if test "x$enable_llvm_version_check" == "xyes"; then + if test "x$enable_llvm_version_check" = "xyes"; then if test "$llvm_version" != "$expected_llvm_version"; then AC_MSG_ERROR([Expected llvm version $expected_llvm_version, but llvm-config --version returned $llvm_version"]) fi @@ -2650,7 +2648,7 @@ if test "x$enable_llvm" = "xyes"; then llvm_jit_libs="" fi LLVM_LIBS=`$LLVM_CONFIG --libs analysis core bitwriter $llvm_jit_libs` - if test "x$LLVM_LIBS" == "x"; then + if test "x$LLVM_LIBS" = "x"; then echo "$LLVM_CONFIG --libs failed." exit 1 fi @@ -2892,6 +2890,12 @@ case "$host" in AOT_SUPPORTED="yes" CPPFLAGS="$CPPFLAGS -D__ARM_EABI__" ;; + arm*-netbsd*-eabi*) + TARGET=ARM; + arch_target=arm; + ACCESS_UNALIGNED="no" + CPPFLAGS="$CPPFLAGS -D__ARM_EABI__" + ;; # TODO: make proper support for NaCl host. # arm*-*nacl) # TARGET=ARM; @@ -3006,6 +3010,17 @@ if test "x$host" != "x$target"; then ;; esac ;; + arm*-netbsd*-eabi*) + TARGET=ARM; + arch_target=arm; + AC_DEFINE(TARGET_ARM, 1, [...]) + ACCESS_UNALIGNED="no" + CPPFLAGS="$CPPFLAGS -D__ARM_EABI__" + # Can't use tls, since it depends on the runtime detection of tls offsets + # in mono-compiler.h + with_tls=pthread + target_mach=no + ;; i686*-linux-*) TARGET=X86; arch_target=x86; @@ -3267,8 +3282,10 @@ case "$host" in GTKX11="libgtk-x11-2.0.dylib" ;; *-*-*netbsd*) - LIBC="libc.so.12" - INTL="libintl.so.0" + LIBC="libc.so" + INTL="libintl.so" + SQLITE="libsqlite.so" + SQLITE3="libsqlite3.so" ;; *-*-kfreebsd*-gnu) LIBC="libc.so.0.1"