aboutsummaryrefslogtreecommitdiffstats
path: root/configure
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
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')
-rwxr-xr-xconfigure29
1 files changed, 29 insertions, 0 deletions
diff --git a/configure b/configure
index 01dd14fa..9460d3b6 100755
--- a/configure
+++ b/configure
@@ -744,6 +744,8 @@ PROFILE_CMT
BSDLIB_CMT
ELF_CMT
HTREE_CMT
+Q
+E
MAINTAINER_CMT
LINUX_INCLUDE
EGREP
@@ -824,6 +826,7 @@ with_ccopts
with_ldopts
with_root_prefix
enable_maintainer_mode
+enable_verbose_makecmds
enable_compression
enable_htree
enable_elf_shlibs
@@ -1483,6 +1486,7 @@ Optional Features:
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--enable-maintainer-mode enable makefile rules useful for maintainers
+ --enable-verbose-makecmds enable verbose make command output
--enable-compression enable EXPERIMENTAL compression support
--enable-htree enable EXPERIMENTAL htree directory support
--enable-elf-shlibs select ELF shared libraries
@@ -3937,6 +3941,31 @@ $as_echo "Disabling maintainer mode by default" >&6; }
fi
+# Check whether --enable-verbose-makecmds was given.
+if test "${enable_verbose_makecmds+set}" = set; then
+ enableval=$enable_verbose_makecmds; if test "$enableval" = "no"
+then
+ { $as_echo "$as_me:$LINENO: result: Disabling verbose make commands" >&5
+$as_echo "Disabling verbose make commands" >&6; }
+ E=@echo
+ Q=@
+else
+ { $as_echo "$as_me:$LINENO: result: Enabling verbose make commands" >&5
+$as_echo "Enabling verbose make commands" >&6; }
+ E=@\\#
+ Q=
+fi
+
+else
+ { $as_echo "$as_me:$LINENO: result: Disabling verbose make commands" >&5
+$as_echo "Disabling verbose make commands" >&6; }
+E=@echo
+Q=@
+
+fi
+
+
+
# Check whether --enable-compression was given.
if test "${enable_compression+set}" = set; then
enableval=$enable_compression; if test "$enableval" = "no"