AC_PROG_LN_S
-AM_INIT_AUTOMAKE([foreign])
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-
# In case of cygwin, override LN_S, irrespective of what it determines.
# The build uses cygwin, but the actual runtime doesn't.
case $host_os in
])
fi
-# Use --disable-silent-rules instead
-#AC_ARG_ENABLE(quiet-build, [ --enable-quiet-build Enable quiet runtime build (on by default)], enable_quiet_build=$enableval, enable_quiet_build=yes)
+AC_ARG_ENABLE(quiet-build, [ --enable-quiet-build Enable quiet runtime build (on by default)], enable_quiet_build=$enableval, enable_quiet_build=yes)
AC_ARG_ENABLE(small-config, [ --enable-small-config Enable tweaks to reduce requirements (and capabilities)], enable_small_config=$enableval, enable_small_config=no)
if test x$enable_small_config = xyes; then
cd $depth
],[LN_S='$LN_S'])
-#if test x$enable_quiet_build = xyes; then
-# AC_CONFIG_COMMANDS([quiet],
-#[ for i in `find mono libgc support -name Makefile`; do
-# if [ grep -q 'generated by automake' $i ]; then
-# $srcdir/scripts/patch-quiet.sh $i;
-# fi;
-# done
-#], [shell=$SHELL])
-# AC_CONFIG_COMMANDS([quiet-libtool], [sed -e 's/echo "copying selected/# "copying selected/g' < libtool > libtool.tmp && mv libtool.tmp libtool && chmod a+x libtool; sed -e 's/$ECHO "copying selected/# "copying selected/g' < libtool > libtool.tmp && mv libtool.tmp libtool && chmod a+x libtool])
-#fi
+if test x$enable_quiet_build = xyes; then
+ AC_CONFIG_COMMANDS([quiet],
+[ for i in `find mono libgc support -name Makefile`; do
+ if [ grep -q 'generated by automake' $i ]; then
+ $srcdir/scripts/patch-quiet.sh $i;
+ fi;
+ done
+], [shell=$SHELL])
+ AC_CONFIG_COMMANDS([quiet-libtool], [sed -e 's/echo "copying selected/# "copying selected/g' < libtool > libtool.tmp && mv libtool.tmp libtool && chmod a+x libtool; sed -e 's/$ECHO "copying selected/# "copying selected/g' < libtool > libtool.tmp && mv libtool.tmp libtool && chmod a+x libtool])
+fi
AC_OUTPUT([
Makefile