From: Marek Safar Date: Fri, 19 Oct 2012 11:26:40 +0000 (+0100) Subject: Second try to make quiet build work reliably X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6dec4eea63d7025f91d4f703eae81eb5161c25a0;p=gc Second try to make quiet build work reliably --- diff --git a/configure.in b/configure.in index 18d1179f..be6f6d42 100644 --- a/configure.in +++ b/configure.in @@ -28,6 +28,8 @@ AC_SUBST(GC_VERSION) AC_PROG_CC AC_PROG_CXX +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + dnl automake 1.6 and later need the AM_PROG_AS macro. ifdef([AM_PROG_AS],[AM_PROG_AS],[]) AC_CHECK_TOOL(AR, ar) @@ -519,11 +521,6 @@ else multilib_arg= fi -if test x$enable_quiet_build = xyes; then - AC_CONFIG_COMMANDS([quiet], [for i in `find . -name Makefile.in | sed -e 's/Makefile.in/Makefile/g'`; do if test -f $i; then $srcdir/../scripts/patch-quiet.sh $i; fi; done], [shell=$SHELL]) - AC_CONFIG_COMMANDS([quiet-libtool], [sed -e 's/$echo "copying selected/$show "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 m4/Makefile include/Makefile