Hi Colin, > 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.
Thank you. I applied it, after fixing the argument numbers (arg 2 for argp_error, arg 4 for argp_failure). 2008-01-14 Colin Watson <[EMAIL PROTECTED]> * modules/argp (Notice): Add a notice recommending to change XGETTEXT_OPTIONS. (configure.ac): Invoke AM_XGETTEXT_OPTION if it exists. *** modules/argp.orig 2008-01-14 23:34:33.000000000 +0100 --- modules/argp 2008-01-14 23:33:13.000000000 +0100 *************** *** 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:2:c-format --flag=argp_failure:4:c-format + Files: lib/argp.h lib/argp-ba.c *************** *** 34,39 **** --- 39,47 ---- configure.ac: gl_ARGP + m4_ifdef([AM_XGETTEXT_OPTION], + [AM_XGETTEXT_OPTION([--flag=argp_error:2:c-format]) + AM_XGETTEXT_OPTION([--flag=argp_failure:4:c-format])]) Makefile.am: lib_SOURCES += argp.h argp-ba.c argp-eexst.c \