Use AM_SILENT_RULES if automake >= 1.11 is installed

Fixes bug:

  http://bugzilla.openedhand.com/show_bug.cgi?id=1756

Based on a patch by: Javier Jardón <javierjc1982@gmail.com>
This commit is contained in:
Emmanuele Bassi 2009-08-10 12:45:44 +02:00
parent 6a9130f10f
commit 373b165b3f
4 changed files with 28 additions and 10 deletions

View File

@ -1,7 +1,10 @@
NULL =
V = @
Q = $(V:1=)
if USE_SHAVE
QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
else
QUIET_GEN = $(AM_V_GEN)
endif # USE_SHAVE
SUBDIRS = cogl pango $(backendextra) $(clutterbackend)

View File

@ -1,8 +1,10 @@
NULL =
V = @
Q = $(V:1=)
if USE_SHAVE
QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
else
QUIET_GEN = $(AM_V_GEN)
endif # USE_SHAVE
SUBDIRS = common $(CLUTTER_COGL)

View File

@ -1,9 +1,10 @@
NULL =
V = @
Q = $(V:1=)
if USE_SHAVE
QUIET_GEN = $(Q:@=@echo ' GEN '$@;)
QUIET_CP = $(Q:@=@echo ' CP '$@;)
else
QUIET_GEN = $(AM_V_GEN)
endif # USE_SHAVE
INCLUDES = \
-I$(top_srcdir) \

View File

@ -757,14 +757,26 @@ GLIB_DEFINE_LOCALEDIR(LOCALEDIR)
dnl ===========================================================================
m4_ifdef([AM_SILENT_RULES],
[
AM_SILENT_RULES([yes])
use_shave=no
],
[
SHAVE_INIT([build/autotools], [enable])
AC_CONFIG_FILES([
build/autotools/shave
build/autotools/shave-libtool
])
use_shave=yes
])
AM_CONDITIONAL([USE_SHAVE], [test "x$use_shave" = "xyes"])
AC_CONFIG_FILES([
Makefile
build/Makefile
build/autotools/Makefile
build/autotools/shave
build/autotools/shave-libtool
clutter/Makefile
clutter/clutter-version.h
clutter/clutter-json.h