1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)

(This used to be commit 42eb14060d53dbcbc381ecc781f121279190b08e)
This commit is contained in:
Jelmer Vernooij 2005-09-27 00:11:21 +00:00 committed by Gerald (Jerry) Carter
parent 187fdaa91f
commit 691aff270b

View File

@ -30,7 +30,16 @@ if test x"$samba_cv_REPLACE_INET_NTOA" = x"yes"; then
fi
dnl Provided by replace.c:
AC_CHECK_TYPE([socklen_t], int)
AC_TRY_COMPILE([
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
#include <sys/socket.h>],
[socklen_t foo;],,
[AC_DEFINE(socklen_t, int,[Socket length type])])
AC_CHECK_HEADERS(sys/syslog.h syslog.h)
AC_CHECK_FUNCS(strtoull __strtoull strtouq strtoll __strtoll strtoq)
AC_CHECK_FUNCS(seteuid setresuid setegid setresgid chroot bzero strerror)