X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Ferror;h=ae12b45ad4ebb48e18bfa00065a0897ceba6f3a7;hb=86e2d81da06878e9aace64867dd3f09d63e9f39e;hp=419d7e3d13c4e0f61f1f8c40dc24d91377fd296f;hpb=917752adb19961999cd68c6c961efffe33c85141;p=pspp diff --git a/modules/error b/modules/error index 419d7e3d13..ae12b45ad4 100644 --- a/modules/error +++ b/modules/error @@ -1,17 +1,29 @@ 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: -gettext +strerror [test $ac_cv_lib_error_at_line = no] +unistd [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: @@ -23,4 +35,3 @@ LGPL Maintainer: all, glibc -