# HG changeset patch # User Mike Miller # Date 1378359466 14400 # Node ID bc018154e46a0ce4547b71e4c5c0d267e6236b96 # Parent 991c7c812e3892375a3b9efd44403970a11fd3a7 build: Support optional Automake silent rules * configure.ac: Call AM_SILENT_RULES to provide --enable-silent-rules. * libinterp/Makefile.am (.yy.cc): Add Automake silent rule prefix. diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -43,6 +43,10 @@ AM_INIT_AUTOMAKE([1.11 tar-ustar]) +## Add the option to enable silent rules, available since Automake 1.11 +## and included by default starting with Automake 1.13. +AM_SILENT_RULES + OCTAVE_CANONICAL_HOST AC_DEFINE(OCTAVE_SOURCE, 1, [Define to 1 if this is Octave.]) diff --git a/libinterp/Makefile.am b/libinterp/Makefile.am --- a/libinterp/Makefile.am +++ b/libinterp/Makefile.am @@ -256,7 +256,7 @@ ## though we don't want it. It would be super awesome if automake ## would allow users to choose the header file extension. .yy.cc: - $(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) ## Special rules: ## Mostly for sources which must be built before rest of compilation.