Hash :9a77023f Author : Date :
2019-08-22T16:55:44
build: Use <unistd.h> only if available
Some target platforms do not have <unistd.h>, notably Windows when
using vanilla MSVC toolchain. Note: The AC_CHECK_HEADERS([unistd.h])
is redundant with LT_INIT, but there is no guarantee for that.
[guillem@hadrons.org:
- Use AC_CHECK_HEADERS instead of AC_CHECK_HEADER.
- Quote argument to AC_CHECK_HEADERS. ]
Signed-off-by: Guillem Jover <guillem@hadrons.org>
This library provides message digest functions found on BSD systems either on their libc (NetBSD, OpenBSD) or libmd (FreeBSD, DragonflyBSD, macOS, Solaris) libraries and lacking on others like GNU systems.