summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorMike McGreevy <mamcgree@hdfgroup.org>2011-04-14 19:45:57 (GMT)
committerMike McGreevy <mamcgree@hdfgroup.org>2011-04-14 19:45:57 (GMT)
commita45c7424b2d849c8876d4681d0815367f6e5c7f6 (patch)
tree6001ce9ed8c8cb0d54137728887ae0cc94f1e306 /aclocal.m4
parentc62953eb427d3db8f147dd0c618cdb604235b42a (diff)
downloadhdf5-a45c7424b2d849c8876d4681d0815367f6e5c7f6.zip
hdf5-a45c7424b2d849c8876d4681d0815367f6e5c7f6.tar.gz
hdf5-a45c7424b2d849c8876d4681d0815367f6e5c7f6.tar.bz2
[svn-r20502] Purpose:
Add "silent make" mode configure option. Description: Automake 1.11 has a new option available that allows for a silent make mode. This functionality needs to be explicitly enabled in configure.in via the use of the automake macro AM_SILENT_RULES, which is what this commit is adding. This introduces a new configure option: --{en|dis}able-silent-rules This option is on by default, and simplies compile and link line outputs when building the library. Disabling this option will print full "verbose" output (i.e., full compile and linking lines for each target). Tested: This was tested on jam & h5committested
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m427
1 files changed, 27 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 5c7cbcb..a4c4303 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -858,6 +858,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