summaryrefslogtreecommitdiff
path: root/modules/error
blob: 2945c4845420924a7bfae94a6a1c891da9c8dba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description:
error and error_at_line functions: Error reporting.

Files:
lib/error.h
lib/error.c
m4/error.m4

Depends-on:
stdio
getprogname
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:
LGPLv2+

Maintainer:
all, glibc