Hash :
88e4ffa2
Author :
Date :
2024-08-04T23:56:07
strsignal: Reduce dependencies. * lib/strsignal.c: Include glthread/once.h instead of glthread/lock.h. * modules/strsignal (Depends-on): Add once. Remove lock.
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 36 37 38 39
Description:
strsignal() function: return string describing signal.
Files:
lib/strsignal.c
lib/siglist.h
m4/strsignal.m4
Depends-on:
string
extensions
gettext-h [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
once [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
tls [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
snprintf [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
memset [test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1]
configure.ac:
gl_FUNC_STRSIGNAL
gl_CONDITIONAL([GL_COND_OBJ_STRSIGNAL],
[test $HAVE_STRSIGNAL = 0 || test $REPLACE_STRSIGNAL = 1])
AM_COND_IF([GL_COND_OBJ_STRSIGNAL], [
gl_PREREQ_STRSIGNAL
])
gl_STRING_MODULE_INDICATOR([strsignal])
Makefile.am:
if GL_COND_OBJ_STRSIGNAL
lib_SOURCES += strsignal.c
endif
Include:
<string.h>
License:
LGPLv2+
Maintainer:
Colin Watson, glibc