X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ferror;h=a1ec1e953f615ac16d014a2e83597c091acf1510;hb=06a366de002272748bd110dcd4da6d967ff57d46;hp=d7f047d3af2b994118b8036a5ad7336bc2bd7aa1;hpb=81430285428cc8af7c1598d50696e405e110ac7f;p=gnulib.git diff --git a/modules/error b/modules/error index d7f047d3a..a1ec1e953 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,16 @@ lib/error.c m4/error.m4 Depends-on: +strerror [test $ac_cv_lib_error_at_line = no] +unistd [test $ac_cv_lib_error_at_line = no] 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"