chiark / gitweb /
m4/: Reformat the Autoconf macros in `aclocal' style.
[runlisp] / m4 / mdw-silent-rules.m4
1 dnl -*-autoconf-*-
2
3 ### SYNOPSIS
4 ###
5 ###   mdw_SILENT_RULES
6 ###
7 ### DESCRIPTION
8 ###
9 ###   Set Automake's `silent-rules' feature on by default, if available.
10 ###
11 ### LICENSE
12 ###
13 ###   Copyright (c) 2010 Mark Wooding <mdw@distorted.org.uk>
14 ###
15 ###   This program is free software: you can redistribute it and/or modify it
16 ###   under the terms of the GNU General Public License as published by the
17 ###   Free Software Foundation, either version 2 of the License, or (at your
18 ###   option) any later version.
19 ###
20 ###   This program is distributed in the hope that it will be useful, but
21 ###   WITHOUT ANY WARRANTY; without even the implied warranty of
22 ###   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 ###   General Public License for more details.
24 ###
25 ###   You should have received a copy of the GNU General Public License along
26 ###   with this program. If not, see <http://www.gnu.org/licenses/>.
27 ###
28 ###   As a special exception, the respective Autoconf Macro's copyright owner
29 ###   gives unlimited permission to copy, distribute and modify the configure
30 ###   scripts that are the output of Autoconf when processing the Macro. You
31 ###   need not follow the terms of the GNU General Public License when using
32 ###   or distributing such scripts, even though portions of the text of the
33 ###   Macro appear in them. The GNU General Public License (GPL) does govern
34 ###   all other use of the material that constitutes the Autoconf Macro.
35 ###
36 ###   This special exception to the GPL applies to versions of the Autoconf
37 ###   Macro released by the Autoconf Archive. When you make and distribute a
38 ###   modified version of the Autoconf Macro, you may extend this special
39 ###   exception to the GPL to apply to your modified version as well.
40
41 # serial 1
42 AC_DEFUN([mdw_SILENT_RULES], [
43   m4_ifdef([AM_SILENT_RULES], [
44     AM_SILENT_RULES([yes])
45   ], [
46     AC_SUBST([AM_DEFAULT_VERBOSITY], [1])
47   ])
48 ])