Changeset View
Changeset View
Standalone View
Standalone View
configure.ac
Show First 20 Lines • Show All 698 Lines • ▼ Show 20 Lines | |||||
dnl this flag screws up non-darwin gcc even when the check fails. special-case it. | dnl this flag screws up non-darwin gcc even when the check fails. special-case it. | ||||
if test x$TARGET_OS = xdarwin; then | if test x$TARGET_OS = xdarwin; then | ||||
AX_CHECK_LINK_FLAG([[-Wl,-dead_strip]], [LDFLAGS="$LDFLAGS -Wl,-dead_strip"]) | AX_CHECK_LINK_FLAG([[-Wl,-dead_strip]], [LDFLAGS="$LDFLAGS -Wl,-dead_strip"]) | ||||
fi | fi | ||||
AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h stdio.h stdlib.h unistd.h strings.h sys/types.h sys/stat.h sys/select.h sys/prctl.h]) | AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h stdio.h stdlib.h unistd.h strings.h sys/types.h sys/stat.h sys/select.h sys/prctl.h]) | ||||
AC_CHECK_DECLS([getifaddrs, freeifaddrs],,, | |||||
[#include <sys/types.h> | |||||
#include <ifaddrs.h>] | |||||
) | |||||
AC_CHECK_DECLS([strnlen]) | AC_CHECK_DECLS([strnlen]) | ||||
# Check for daemon(3), unrelated to --with-daemon (although used by it) | # Check for daemon(3), unrelated to --with-daemon (although used by it) | ||||
AC_CHECK_DECLS([daemon]) | AC_CHECK_DECLS([daemon]) | ||||
AC_CHECK_DECLS([le16toh, le32toh, le64toh, htole16, htole32, htole64, be16toh, be32toh, be64toh, htobe16, htobe32, htobe64],,, | AC_CHECK_DECLS([le16toh, le32toh, le64toh, htole16, htole32, htole64, be16toh, be32toh, be64toh, htobe16, htobe32, htobe64],,, | ||||
[#if HAVE_ENDIAN_H | [#if HAVE_ENDIAN_H | ||||
#include <endian.h> | #include <endian.h> | ||||
▲ Show 20 Lines • Show All 616 Lines • Show Last 20 Lines |