summaryrefslogtreecommitdiff
path: root/modules/error
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-10-28 21:39:15 +0100
committerBruno Haible <bruno@clisp.org>2007-10-28 21:39:15 +0100
commit85c433f05b176d4db91c76619cdd756c17f94705 (patch)
tree69d37734afebdfe196abcc30fd6750e01adf80fc /modules/error
parente74e1f1540f02fc57e442a6281c62f9594af15e5 (diff)
downloadgnulib-85c433f05b176d4db91c76619cdd756c17f94705.tar.gz
Notify xgettext about functions that have a format string argument.
Diffstat (limited to 'modules/error')
-rw-r--r--modules/error8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/error b/modules/error
index cdf57f07d5..1b58cdac71 100644
--- a/modules/error
+++ b/modules/error
@@ -1,6 +1,11 @@
Description:
error() and error_at_line() functions: Error reporting.
+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=error:3:c-format --flag=error_at_line:5:c-format
+
Files:
lib/error.h
lib/error.c
@@ -11,6 +16,9 @@ strerror
configure.ac:
gl_ERROR
+m4_ifdef([AM_XGETTEXT_OPTION],
+ [AM_XGETTEXT_OPTION([--flag=error:3:c-format])
+ AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])])
Makefile.am: