# This causes monodis to not link correctly
#AC_DISABLE_FAST_INSTALL
AM_PROG_LIBTOOL
-
# Use dolt (http://dolt.freedesktop.org/) instead of libtool for building.
-AC_ARG_ENABLE(dolt, [ --enable-dolt Use dolt (http://dolt.freedesktop.org/) instead of libtool for building.])
-
-if test "x$enable_dolt" = "xyes"; then
- DOLT
- else
- # The DOLT macro contains AC_SUBST's for these so we must define them because of
- # autoconf brokeness
- LTCOMPILE='$(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(COMPILE)'
- LTCXXCOMPILE='$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXXCOMPILE)'
-fi
+DOLT
# Test whenever ld supports -version-script
AC_PROG_LD
])
fi
+AC_ARG_ENABLE(quiet-build, [ --enable-quiet-build Enable quiet runtime build], enable_quiet_build=$enableval, enable_quiet_build=yes)
+
DISABLED_FEATURES=none
AC_ARG_ENABLE(minimal, [ --enable-minimal=LIST drop support for LIST subsystems.
dnl ***********************************************
# AC_CHECK_SIZEOF can't cope with struct members :-(
AC_MSG_CHECKING(size of sockaddr_un.sun_path)
- AC_CACHE_VAL(cv_mono_sizeof_sunpath,
+ AC_CACHE_VAL(mono_cv_sizeof_sunpath,
[AC_TRY_RUN([
#include <sys/types.h>
#include <stdio.h>
fprintf(f, "%d\n", sizeof(sock_un.sun_path));
exit(0);
}
- ], cv_mono_sizeof_sunpath=`cat conftestval`,
- cv_mono_sizeof_sunpath=0,
- cv_mono_sizeof_sunpath=0)])dnl
- AC_MSG_RESULT($cv_mono_sizeof_sunpath)
- AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath, [Sizeof sock_un.sun_path])
+ ], mono_cv_sizeof_sunpath=`cat conftestval`,
+ mono_cv_sizeof_sunpath=0,
+ mono_cv_sizeof_sunpath=0)])dnl
+ AC_MSG_RESULT($mono_cv_sizeof_sunpath)
+ AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $mono_cv_sizeof_sunpath, [Sizeof sock_un.sun_path])
dnl *************************************
dnl *** Checks for zero length arrays ***
CPPFLAGS="$CPPFLAGS -DNO_UNALIGNED_ACCESS"
fi
+AC_ARG_ENABLE(parallel-mark, [ --enable-parallel-mark Enables GC Parallel Marking])
+if test x$enable_parallel_mark = xyes; then
+ libgc_configure_args="$libgc_configure_args --enable-parallel-mark"
+fi
+
case "x$gc" in
xincluded)
# Pass CPPFLAGS to libgc configure
sed -e "s,-mno-cygwin,,g" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
fi
+if test x$enable_quiet_build = xyes; then
+ find mono -name Makefile -exec $SHELL $srcdir/scripts/patch-quiet.sh {} \;
+ find libgc -name Makefile -exec $SHELL $srcdir/scripts/patch-quiet.sh {} \;
+fi
+
(
case $prefix in
NONE) prefix=$ac_default_prefix ;;