summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-06-06 10:15:59 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:16:06 +0200
commite6b61172b640e8f7b169de24526209c7711940ba (patch)
tree6f76f60a547fbb41f9676251f9c726408fb70b09 /gettext-runtime/m4
parent6139dc118023c5275c9473bc98cbbed97125da63 (diff)
downloadexternal_gettext-e6b61172b640e8f7b169de24526209c7711940ba.zip
external_gettext-e6b61172b640e8f7b169de24526209c7711940ba.tar.gz
external_gettext-e6b61172b640e8f7b169de24526209c7711940ba.tar.bz2
Improve silent-rules support.
Diffstat (limited to 'gettext-runtime/m4')
-rw-r--r--gettext-runtime/m4/ChangeLog5
-rw-r--r--gettext-runtime/m4/intl.m410
2 files changed, 14 insertions, 1 deletions
diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog
index 4901297..c048def 100644
--- a/gettext-runtime/m4/ChangeLog
+++ b/gettext-runtime/m4/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-06 Bruno Haible <bruno@clisp.org>
+
+ Interoperate with automake-1.11 provided --enable-silent-rules option.
+ * intl.m4 (AM_INTL_SUBDIR): Set INTL_DEFAULT_VERBOSITY.
+
2009-05-21 Bruno Haible <bruno@clisp.org>
Avoid redefinition warnings for SIZE_MAX.
diff --git a/gettext-runtime/m4/intl.m4 b/gettext-runtime/m4/intl.m4
index 1942207..2b446d2 100644
--- a/gettext-runtime/m4/intl.m4
+++ b/gettext-runtime/m4/intl.m4
@@ -1,4 +1,4 @@
-# intl.m4 serial 12 (gettext-0.18)
+# intl.m4 serial 13 (gettext-0.18)
dnl Copyright (C) 1995-2009 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -42,6 +42,14 @@ AC_DEFUN([AM_INTL_SUBDIR],
AC_REQUIRE([gl_XSIZE])dnl
AC_REQUIRE([gt_INTL_MACOSX])dnl
+ dnl Support for automake's --enable-silent-rules.
+ case "$enable_silent_rules" in
+ yes) INTL_DEFAULT_VERBOSITY=0;;
+ no) INTL_DEFAULT_VERBOSITY=1;;
+ *) INTL_DEFAULT_VERBOSITY=1;;
+ esac
+ AC_SUBST([INTL_DEFAULT_VERBOSITY])
+
AC_CHECK_TYPE([ptrdiff_t], ,
[AC_DEFINE([ptrdiff_t], [long],
[Define as the type of the result of subtracting two pointers, if the system doesn't define it.])