build: do use AM_GNU_GETTEXT's "need-formatstring-macros" option
authorJim Meyering <meyering@redhat.com>
Fri, 13 Nov 2009 19:35:58 +0000 (20:35 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 14 Nov 2009 14:01:44 +0000 (15:01 +0100)
* configure.ac: Revert commit 49741b61 and add a comment.
Reported by Eric Blake.

configure.ac

index 8f019b6..a6d2310 100644 (file)
@@ -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.