projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fbf0276
)
Make the functions argp_error, argp_failure known to xgettext.
author
Colin Watson
<cjwatson@debian.org>
Mon, 14 Jan 2008 22:35:44 +0000
(23:35 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Mon, 14 Jan 2008 22:35:44 +0000
(23:35 +0100)
ChangeLog
patch
|
blob
|
history
modules/argp
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 5b90e00197d697f842e005be2bbe6a4e5e914666..5ac469e60ca67426971d6a54ea0436f66aacbb89 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,9
@@
+2008-01-14 Colin Watson <cjwatson@debian.org>
+
+ * modules/argp (Notice): Add a notice recommending to change
+ XGETTEXT_OPTIONS.
+ (configure.ac): Invoke AM_XGETTEXT_OPTION if it exists.
+
2008-01-13 Colin Watson <cjwatson@debian.org>
* modules/strsignal-tests: New file.
2008-01-13 Colin Watson <cjwatson@debian.org>
* modules/strsignal-tests: New file.
diff --git
a/modules/argp
b/modules/argp
index da65d4f3c033c3d07a4fec241148f48e1f5a3dce..de801ae2489f53c424679a75fec78f24690e31c1 100644
(file)
--- a/
modules/argp
+++ b/
modules/argp
@@
-1,6
+1,11
@@
Description:
Hierarchical processing of command line arguments.
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
Files:
lib/argp.h
lib/argp-ba.c
@@
-34,6
+39,9
@@
strerror
configure.ac:
gl_ARGP
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 \
Makefile.am:
lib_SOURCES += argp.h argp-ba.c argp-eexst.c \