diff options
author | Josh Stone <jistone@redhat.com> | 2009-10-22 14:37:05 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-10-22 14:37:05 -0700 |
commit | 618a8a634b37da88b67a49beec7282634bff3efe (patch) | |
tree | a523e413dc27093d93ca33ad70444b677f9c266f /aclocal.m4 | |
parent | 712d12ca4c74b824e7afbb273c0975eb0a30847c (diff) | |
download | systemtap-steved-618a8a634b37da88b67a49beec7282634bff3efe.tar.gz systemtap-steved-618a8a634b37da88b67a49beec7282634bff3efe.tar.xz systemtap-steved-618a8a634b37da88b67a49beec7282634bff3efe.zip |
Enable Kbuild-like quiet builds
This enables much cleaner build output from automake. To re-enable the
verbose commands, pass --disable-silent-rules to configure, or use V=1
at make time.
* configure.ac: Enable AM_SILENT_RULES by default.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -1086,6 +1086,33 @@ Check your system clock]) fi AC_MSG_RESULT(yes)]) +# Copyright (C) 2009 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. + +# serial 1 + +# 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], +[ --enable-silent-rules less verbose build output (undo: `make V=1') + --disable-silent-rules verbose build output (undo: `make V=0')]) +case $enable_silent_rules in +yes) AM_DEFAULT_VERBOSITY=0;; +no) AM_DEFAULT_VERBOSITY=1;; +*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation |