[PATCH] Make sure AM_DEFAULT_VERBOSITY is always defined

Guillem Jover guillem at hadrons.org
Sun Sep 27 12:32:45 PDT 2009


When there's no AM_SILENT_RULES support, set a AM_DEFAULT_VERBOSITY
variable to 1 (verbose), so that the custom verbosity variables used
in Makefile.am become no-ops.
---
 xorg-macros.m4.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index 8875193..be67a42 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -454,7 +454,8 @@ else
     fi
 fi
 AC_SUBST(CWARNFLAGS)
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
 ]) # XORG_CWARNFLAGS
 
 # XORG_STRICT_OPTION
-- 
1.6.4.3


--vtzGhvizbBRQ85DL--


More information about the xorg-devel mailing list