[PATCH 3/3] configure: Enable silent build output by default

Jeff Smith whydoubt at gmail.com
Sun Sep 15 14:42:34 CDT 2019


When running configure, default to enabling silent build output.
Replace --enable-silent-rules option with --disable-silent-rules, which
turns off silent build output for subsequent make, except when
over-ridden with make V=0.

Signed-off-by: Jeff Smith <whydoubt at gmail.com>
---
 configure       | 6 +++---
 configure.ac    | 6 +++---
 tools/makedep.c | 2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/configure b/configure
index 5b6b1c892b..a4b594d915 100755
--- a/configure
+++ b/configure
@@ -2524,7 +2524,7 @@ Optional Features:
   --disable-tests         do not build the regression tests
   --enable-maintainer-mode
                           enable maintainer-specific build rules
-  --enable-silent-rules   quiet build output (override: 'make V=1')
+  --disable-silent-rules  verbose build output (override: 'make V=0')
   --disable-largefile     omit support for large files
 
 Optional Packages:
@@ -5780,9 +5780,9 @@ then
     test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
 fi
 
-if test "x$enable_silent_rules" = "xyes"
+if test "x$enable_silent_rules" = "xno"
 then
-    DEFAULT_V=0
+    DEFAULT_V=1
 
 fi
 
diff --git a/configure.ac b/configure.ac
index 58e50e2d70..10db9e5f55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ AC_ARG_ENABLE(win16, AS_HELP_STRING([--disable-win16],[do not include Win16 supp
 AC_ARG_ENABLE(win64, AS_HELP_STRING([--enable-win64],[build a Win64 emulator on AMD64 (won't run Win32 binaries)]))
 AC_ARG_ENABLE(tests, AS_HELP_STRING([--disable-tests],[do not build the regression tests]))
 AC_ARG_ENABLE(maintainer-mode, AS_HELP_STRING([--enable-maintainer-mode],[enable maintainer-specific build rules]))
-AC_ARG_ENABLE(silent-rules, AS_HELP_STRING([--enable-silent-rules],[quiet build output (override: 'make V=1')]))
+AC_ARG_ENABLE(silent-rules, AS_HELP_STRING([--disable-silent-rules],[verbose build output (override: 'make V=0')]))
 
 AC_ARG_WITH(alsa,      AS_HELP_STRING([--without-alsa],[do not use the Alsa sound support]))
 AC_ARG_WITH(capi,      AS_HELP_STRING([--without-capi],[do not use CAPI (ISDN support)]))
@@ -236,9 +236,9 @@ then
     test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
 fi
 
-if test "x$enable_silent_rules" = "xyes"
+if test "x$enable_silent_rules" = "xno"
 then
-    AC_SUBST(DEFAULT_V,0)
+    AC_SUBST(DEFAULT_V,1)
 fi
 
 AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,
diff --git a/tools/makedep.c b/tools/makedep.c
index a042470345..a98a842fee 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -3778,7 +3778,7 @@ static void output_sources( struct makefile *make )
     output("else\n");
     output(" verbose = $(DEFAULT_V)\n");
     output("endif\n");
-    output("ifeq ($(verbose),0)\n");
+    output("ifneq ($(verbose),1)\n");
     output(" QUIET          = @\n");
     output(" QUIET_AR       = @echo '   ' AR $@;\n");
     output(" QUIET_BISON    = @echo '   ' BISON $@;\n");
-- 
2.21.0




More information about the wine-devel mailing list