[gegl] configure: define AM_DEFAULT_VERBOSITY if required



commit e67e58a9eb944a8e790b4bda9d79c1efc74465cb
Author: Danny Robson <danny blubinc net>
Date:   Mon Aug 2 20:38:19 2010 +1000

    configure: define AM_DEFAULT_VERBOSITY if required
    
    Some (mainly older) versions of automake do not have
    AM_DEFAULT_VERBOSITY defined. Without this variable there are
    significant errors expanding variables when building the operations.

 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e675903..92cbf84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,7 +59,9 @@ AC_CONFIG_MACRO_DIR([m4macros])
 # Enable silent build rules by default, requires at least
 # Automake-1.11. Disable by either passing --disable-silent-rules to
 # configure or passing V=1 to make
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+m4_ifdef([AM_SILENT_RULES],
+         [AM_SILENT_RULES([yes])],
+         [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
 
 dnl ==========================================================================
 dnl                              Versioning              



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]