X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=configure.in;h=0c4f080b754bcd56cb3e162a09a42888946e7ee8;hb=3d81d4f24835d1a491e3382d0e2cabc3f9721925;hp=1af6871b2f0bd01349039d20801550c3666c1178;hpb=ca6f897e93fd1ff6ef332d330f1ece7e956f8743;p=mono.git diff --git a/configure.in b/configure.in index 1af6871b2f0..0c4f080b754 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ # Process this file with autoconf to produce a configure script. #AC_PREREQ([2.62]) -AC_INIT(mono, [3.0.3], +AC_INIT(mono, [3.0.4], [http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono]) AC_CONFIG_SRCDIR([README]) @@ -14,7 +14,7 @@ AC_CANONICAL_HOST m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])]) AM_INIT_AUTOMAKE([1.9 dist-bzip2 tar-ustar no-dist-gzip foreign]) -AM_CONFIG_HEADER([config.h]) +AC_CONFIG_HEADERS([config.h]) AM_MAINTAINER_MODE API_VER=2.0 @@ -160,10 +160,10 @@ case "$host" in libmono_cflags="$PTHREAD_CFLAGS" fi if test "x$PTHREAD_LIBS" = "x"; then - LDFLAGS="$LDFLAGS -pthread" + LDFLAGS="$LDFLAGS -pthread -L/usr/local/lib" libmono_ldflags="-pthread" else - LDFLAGS="$LDFLAGS $PTHREAD_LIBS" + LDFLAGS="$LDFLAGS $PTHREAD_LIBS -L/usr/local/lib" libmono_ldflags="$PTHREAD_LIBS" fi CPPFLAGS="$CPPFLAGS -DPLATFORM_BSD" @@ -362,7 +362,6 @@ AC_PROG_CC AC_CHECK_TOOL(CXX, g++, g++) AC_PROG_CXX AM_PROG_AS -AM_PROG_CC_STDC AC_PROG_INSTALL AC_PROG_AWK dnl We should use AM_PROG_AS, but it's not available on automake/aclocal 1.4 @@ -903,6 +902,15 @@ fi AC_ARG_ENABLE(executables, [ --disable-executables disable the build of the runtime executables], enable_executables=$enableval, enable_executables=yes) AM_CONDITIONAL(DISABLE_EXECUTABLES, test x$enable_executables = xno) +AC_ARG_ENABLE(extension-module, [ --enable-extension-module enables usage of the extension module], has_extension_module=$enableval, has_extension_module=no) +AM_CONDITIONAL([HAS_EXTENSION_MODULE], [test x$has_extension_module != xno]) + +if test x$has_extension_module != xno ; then + AC_DEFINE([ENABLE_EXTENSION_MODULE], 1, [Extension module enabled]) + AC_MSG_NOTICE([Enabling mono extension module.]) +fi + + AC_MSG_CHECKING(for visibility __attribute__) AC_COMPILE_IFELSE([ AC_LANG_SOURCE([[ @@ -1199,6 +1207,14 @@ if test x$target_win32 = xno; then dnl ***************************** AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket") + case "$host" in + *-*-*freebsd*) + dnl ***************************** + dnl *** Checks for libinotify *** + dnl ***************************** + AC_CHECK_LIB(inotify, inotify_init, LIBS="$LIBS -linotify") + esac + dnl ******************************* dnl *** Checks for MSG_NOSIGNAL *** dnl ******************************* @@ -3276,6 +3292,7 @@ data/system.web.mvc.pc data/system.web.mvc2.pc data/system.web.mvc3.pc data/aspnetwebstack.pc +data/reactive.pc samples/Makefile support/Makefile data/config @@ -3368,6 +3385,10 @@ fi echo "MOONLIGHT = 1" >> $srcdir/$mcsdir/build/config.make fi + if test x$has_extension_module != xno; then + echo "EXTENSION_MODULE = 1" >> $srcdir/$mcsdir/build/config.make + fi + default_profile=net_2_0 if test -z "$INSTALL_4_0_TRUE"; then : default_profile=net_4_0