aboutsummaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-07-02 00:11:17 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-07-02 00:11:17 -0400
commitc13351f6c53f175696044c0203bb3009af606c64 (patch)
tree1535231305f9eb4493ba78a2d729575642f29ab3 /configure.in
parenta6a1c0815c045fd12f65546e16d495338097f32a (diff)
downloade2fsprogs-c13351f6c53f175696044c0203bb3009af606c64.tar.gz
e2fsprogs-c13351f6c53f175696044c0203bb3009af606c64.tar.xz
e2fsprogs-c13351f6c53f175696044c0203bb3009af606c64.zip
Add support for configure --enable-verbose-makecmds
Some people don't want to see the concise "kernel-style" make output. This configure option allows build engines that want to see the full set of commands executed by the makefile to get what they want. Most people will find this more distracting than useful, unless they need to debug the Makefiles. (It is not necessary to rerun configure to enable this verbose make output temprarily; if a developer wants to do a quick debug of a directory's makefile, he or she can simply edit the definition of the $(E) and $(Q) variables in the Makefile; instructions can be found in the MCONFIG file which is included in at the beginning of every Makefile.) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 30cfc2b6..0a1232c7 100644
--- a/configure.in
+++ b/configure.in
@@ -172,6 +172,28 @@ AC_MSG_RESULT([Disabling maintainer mode by default])
)
AC_SUBST(MAINTAINER_CMT)
dnl
+dnl handle --enable-verbose-makecmds
+dnl
+AC_ARG_ENABLE([verbose-makecmds],
+[ --enable-verbose-makecmds enable verbose make command output],
+if test "$enableval" = "no"
+then
+ AC_MSG_RESULT([Disabling verbose make commands])
+ E=@echo
+ Q=@
+else
+ AC_MSG_RESULT([Enabling verbose make commands])
+ E=@\\#
+ Q=
+fi
+,
+AC_MSG_RESULT([Disabling verbose make commands])
+E=@echo
+Q=@
+)
+AC_SUBST(E)
+AC_SUBST(Q)
+dnl
dnl handle --enable-compression
dnl
AC_ARG_ENABLE([compression],