mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
Only strerror-override depends on winsock2.h; our strerror.c file does not. This also fixes mingw strerror_r-posix use of winsock2.h via strerror-override. Since we assume C89 which guarantees a declaration for sterror, we don't need to repeat that check. * m4/strerror.m4 (gl_PREREQ_STRERROR): Delete. * modules/strerror (configure.ac): No prereqs needed here... * modules/strerror-override (configure.ac): ...but this needs it. (Files): Add file for needed prereq macro. Signed-off-by: Eric Blake <eblake@redhat.com>
33 lines
550 B
Plaintext
33 lines
550 B
Plaintext
Description:
|
|
strerror() function: return string describing error code.
|
|
|
|
Files:
|
|
lib/strerror.c
|
|
m4/strerror.m4
|
|
|
|
Depends-on:
|
|
string
|
|
errno [test $REPLACE_STRERROR = 1]
|
|
intprops [test $REPLACE_STRERROR = 1]
|
|
strerror-override [test $REPLACE_STRERROR = 1]
|
|
verify [test $REPLACE_STRERROR = 1]
|
|
|
|
configure.ac:
|
|
gl_FUNC_STRERROR
|
|
if test $REPLACE_STRERROR = 1; then
|
|
AC_LIBOBJ([strerror])
|
|
fi
|
|
gl_MODULE_INDICATOR([strerror])
|
|
gl_STRING_MODULE_INDICATOR([strerror])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<string.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|