2 # Copyright (C) 2009, 2010 Free Software Foundation, Inc.
4 # This file is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
10 # AM_SILENT_RULES([DEFAULT])
11 # --------------------------
12 # Enable less verbose build rules; with the default set to DEFAULT
13 # (`yes' being less verbose, `no' or empty being verbose).
14 AC_DEFUN([AM_SILENT_RULES],
15 [AC_ARG_ENABLE([silent-rules], [dnl
17 [--enable-silent-rules],
18 [less verbose build output (undo: `make V=1')])
20 [--disable-silent-rules],
21 [verbose build output (undo: `make V=0')])dnl
23 case $enable_silent_rules in @%:@ (((
24 yes) AM_DEFAULT_VERBOSITY=0;;
25 no) AM_DEFAULT_VERBOSITY=1;;
26 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
28 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
30 AC_SUBST([AM_BACKSLASH])dnl
31 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl