X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ferror;h=f8676176b1d0bf397df2fac1e13923afd40410ef;hb=8f7425866463f994538584d1dd7211603b8b0550;hp=77186074c9214bf5a0fa68da928d84dbae2268c3;hpb=04106430a5216741a719efe0c106fd9cb6bef5fc;p=gnulib.git diff --git a/modules/error b/modules/error index 77186074c..f8676176b 100644 --- a/modules/error +++ b/modules/error @@ -1,16 +1,30 @@ 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 lib/error.c m4/error.m4 -m4/strerror_r.m4 Depends-on: +strerror [test $ac_cv_lib_error_at_line = no] +unistd [test $ac_cv_lib_error_at_line = no] +msvc-nothrow [test $ac_cv_lib_error_at_line = no] configure.ac: gl_ERROR +if test $ac_cv_lib_error_at_line = no; then + AC_LIBOBJ([error]) + gl_PREREQ_ERROR +fi +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: