summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-11-13 20:35:58 +0100
committerJim Meyering <meyering@redhat.com>2009-11-14 15:01:44 +0100
commit5cf6fb3b128a4e01b7350e961b72297b5bf3c5ec (patch)
treec980a11109af5c238ea65839b7b5fbc6b52041af /configure.ac
parent9ed50481484587e683a8a644ba4a121d6a36498e (diff)
downloadcoreutils-5cf6fb3b128a4e01b7350e961b72297b5bf3c5ec.tar.xz
build: do use AM_GNU_GETTEXT's "need-formatstring-macros" option
* configure.ac: Revert commit 49741b61 and add a comment. Reported by Eric Blake.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8f019b67d..a6d23109e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -429,7 +429,9 @@ CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/src/Makefile.am'
AC_SUBST([CONFIG_STATUS_DEPENDENCIES])
############################################################################
-AM_GNU_GETTEXT([external], [need-ngettext])
+# As long as "grep 'PRI[diouxX]' po/*.pot" reports matches in
+# translatable strings, we must use need-formatstring-macros here.
+AM_GNU_GETTEXT([external], [need-formatstring-macros])
AM_GNU_GETTEXT_VERSION([0.17])
# For a test of uniq: it uses the $LOCALE_FR envvar.