Mercurial > hg > octave-lyh
changeset 17383:bc018154e46a
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.
author | Mike Miller <mtmiller@ieee.org> |
---|---|
date | Thu, 05 Sep 2013 01:37:46 -0400 |
parents | 991c7c812e38 |
children | f0e3d3de5c22 |
files | configure.ac libinterp/Makefile.am |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.])
--- 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.