view modules/error @ 37234:707772b3adfb

error: depend on stdio Problem reported by Nikos Mavrogiannopoulos in <http://lists.gnu.org/archive/html/bug-gnulib/2013-11/msg00084.html> * modules/error (Depends-on): Add stdio.
author Paul Eggert <eggert@cs.ucla.edu>
date Thu, 21 Nov 2013 12:12:45 -0800
parents 2cfba752ab3d
children dbcfb44c9695
line wrap: on
line source

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
m4/error.m4

Depends-on:
stdio           [test $ac_cv_lib_error_at_line = no]
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:

Include:
"error.h"

License:
LGPL

Maintainer:
all, glibc