diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | bootstrap.conf | 14 |
2 files changed, 17 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2007-10-28 Jim Meyering <meyering@redhat.com> + + Help xgettext recognize more printf-style format strings. + * bootstrap.conf (XGETTEXT_OPTIONS): Add directives for + error, error_at_line, xasprintf, xfprintf and xprintf. + 2007-10-27 Jim Meyering <meyering@redhat.com> Adjust format string so msgfmt doesn't object. diff --git a/bootstrap.conf b/bootstrap.conf index d07c23e35..d7851feb4 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -60,7 +60,8 @@ gnulib_modules=" long-options lstat malloc mbswidth memcasecmp mempcpy memrchr mgetgroups mkancesdirs mkdir mkdir-p mkstemp mktime modechange - mountlist mpsort obstack pathmax perl physmem posixtm posixver putenv + mountlist mpsort obstack pathmax perl physmem + posixtm posixver putenv quote quotearg raise readlink areadlink-with-size randint randperm @@ -93,9 +94,16 @@ EXTRA_LOCALE_CATEGORIES=LC_TIME # Additional xgettext options to use. Use "\\\newline" to break lines. XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\ --from-code=UTF-8\\\ - --flag=asprintf:2:c-format --flag=vasprintf:2:c-format\\\ - --flag=asnprintf:3:c-format --flag=vasnprintf:3:c-format\\\ + --flag=asprintf:2:c-format\\\ + --flag=asnprintf:3:c-format\\\ + --flag=error:3:c-format\\\ + --flag=error_at_line:5:c-format\\\ + --flag=vasprintf:2:c-format\\\ + --flag=vasnprintf:3:c-format\\\ --flag=wrapf:1:c-format\\\ + --flag=xasprintf:1:c-format\\\ + --flag=xfprintf:2:c-format\\\ + --flag=xprintf:1:c-format\\\ ' # If "AM_GNU_GETTEXT(external" or "AM_GNU_GETTEXT([external]" |