summaryrefslogtreecommitdiff
path: root/modules/strerror_r-posix
blob: 25f049365a5bc3009c18d05f9a6d6930bc169bbf (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
Description:
strerror_r() function: get string describing error code.

Files:
lib/strerror_r.c
m4/strerror_r.m4

Depends-on:
string
extensions
errno           [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
lock            [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]
strerror-override [test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1]

configure.ac:
gl_FUNC_STRERROR_R
AS_IF([test $HAVE_DECL_STRERROR_R = 0 || test $REPLACE_STRERROR_R = 1], [
  AC_LIBOBJ([strerror_r])
  gl_PREREQ_STRERROR_R
])
gl_STRING_MODULE_INDICATOR([strerror_r])
dnl For the modules argp, error.
gl_MODULE_INDICATOR([strerror_r-posix])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all