X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ferror;h=7b57a8610ffe34381af4811e7b8dde4660abe02c;hb=f9f61e25aee8cf75e4cf084c66e82993dbf35c47;hp=d7f047d3af2b994118b8036a5ad7336bc2bd7aa1;hpb=81430285428cc8af7c1598d50696e405e110ac7f;p=gnulib.git diff --git a/modules/error b/modules/error index d7f047d3a..7b57a8610 100644 --- a/modules/error +++ b/modules/error @@ -1,5 +1,10 @@ Description: -error() and error_at_line() functions: Error reporting. +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 @@ -7,12 +12,15 @@ lib/error.c m4/error.m4 Depends-on: +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: -lib_SOURCES += error.h error.c Include: "error.h"