Przeglądaj źródła

build: Fix build failure with automake < 1.11

When there's no AM_SILENT_RULES support, set a AM_DEFAULT_VERBOSITY
variable to 1 (verbose), so that the verbosity variables under man/
become no-ops.
Guillem Jover 17 lat temu
rodzic
commit
bb9d87468f
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      configure.ac

+ 2 - 1
configure.ac

@@ -11,7 +11,8 @@ DPKG_ARCHITECTURE
 
 AM_INIT_AUTOMAKE([1.8 gnu nostdinc])
 
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
+                            [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
 
 AM_GNU_GETTEXT_VERSION([0.16.1])
 AM_GNU_GETTEXT([external])