configure: use automake's silent-rules, enhance to silence make

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
Yann E. MORIN" 2012-06-03 17:25:53 +02:00
parent 47eee09900
commit 7bfe71ee20
2 changed files with 12 additions and 0 deletions

View File

@ -1,4 +1,5 @@
ACLOCAL_AMFLAGS = -I scripts/.autostuff/m4 ACLOCAL_AMFLAGS = -I scripts/.autostuff/m4
MAKEFLAGS = $(SILENT_MAKEFLAGS)
if COND_utils if COND_utils
MAYBE_utils = utils MAYBE_utils = utils
endif endif

View File

@ -30,6 +30,17 @@ AS_IF(
AM_INIT_AUTOMAKE AM_INIT_AUTOMAKE
AS_IF(
[test "$(./scripts/version.sh --internal)" = "hg"],
[AM_SILENT_RULES],
[AM_SILENT_RULES([yes])])
AS_IF(
[test $AM_DEFAULT_VERBOSITY -eq 0],
[SILENT_MAKEFLAGS="--no-print-directory -s"],
[SILENT_MAKEFLAGS=""])
AC_SUBST([SILENT_MAKEFLAGS])
#---------------------------------------- #----------------------------------------
# Prepare libtool # Prepare libtool
LT_PREREQ([2.2.6]) LT_PREREQ([2.2.6])