Hi, It looks like argp_error and argp_failure should declare themselves as requiring the c-format flag. This patch implements that.
2008-01-14 Colin Watson <[EMAIL PROTECTED]> * modules/argp: Add a notice recommending to change XGETTEXT_OPTIONS. Invoke AM_GETTEXT_OPTION if it exists. Thanks, -- Colin Watson [EMAIL PROTECTED]
diff --git a/modules/argp b/modules/argp index da65d4f..b954aef 100644 --- a/modules/argp +++ b/modules/argp @@ -1,6 +1,11 @@ Description: Hierarchical processing of command line arguments. +Notice: +If you are using GNU gettext version 0.16.1 or older, add the following options +to XGETTEXT_OPTIONS in your po/Makevars: + --flag=argp_error:3:c-format --flag=argp_failure:3:c-format + Files: lib/argp.h lib/argp-ba.c @@ -34,6 +39,9 @@ strerror configure.ac: gl_ARGP +m4_ifdef([AM_XGETTEXT_OPTION], + [AM_XGETTEXT_OPTION([--flag=argp_error:3:c-format]) + AM_XGETTEXT_OPTION([--flag=argp_failure:3:c-format])]) Makefile.am: lib_SOURCES += argp.h argp-ba.c argp-eexst.c \