| ## -*- Autoconf -*- |
| # Copyright (C) 2009-2015 Free Software Foundation, Inc. |
| # |
| # This file is free software; the Free Software Foundation |
| # gives unlimited permission to copy and/or distribute it, |
| # with or without modifications, as long as this notice is preserved. |
| |
| # AM_SILENT_RULES([DEFAULT]) |
| # -------------------------- |
| # Enable less verbose build rules; with the default set to DEFAULT |
| # ("yes" being less verbose, "no" or empty being verbose). |
| AC_DEFUN([AM_SILENT_RULES], |
| [AC_ARG_ENABLE([silent-rules], [dnl |
| AS_HELP_STRING( |
| [--enable-silent-rules], |
| [less verbose build output (undo: "make V=1")]) |
| AS_HELP_STRING( |
| [--disable-silent-rules], |
| [verbose build output (undo: "make V=0")])dnl |
| ]) |
| case $enable_silent_rules in @%:@ ((( |
| yes) V=0;; |
| no) V=1;; |
| *) V=m4_if([$1], [yes], [0], [1]);; |
| esac |
| AC_SUBST([V])]) |