report the results of "checking for socket length type..."
This commit is contained in:
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
|||||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||||
AC_DIVERT_POP()dnl
|
AC_DIVERT_POP()dnl
|
||||||
|
|
||||||
AC_REVISION($Revision: 1.74 $)
|
AC_REVISION($Revision: 1.75 $)
|
||||||
|
|
||||||
AC_INIT(resolv/herror.c)
|
AC_INIT(resolv/herror.c)
|
||||||
AC_PREREQ(2.13)
|
AC_PREREQ(2.13)
|
||||||
@@ -1310,30 +1310,35 @@ AC_TRY_COMPILE([
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
int accept(int, struct sockaddr *, socklen_t *);
|
int accept(int, struct sockaddr *, socklen_t *);
|
||||||
],[],
|
],[],
|
||||||
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T socklen_t"]
|
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T socklen_t"
|
||||||
|
AC_MSG_RESULT(socklen_t)]
|
||||||
,
|
,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
int accept(int, struct sockaddr *, unsigned int *);
|
int accept(int, struct sockaddr *, unsigned int *);
|
||||||
],[],
|
],[],
|
||||||
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T unsigned int"]
|
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T unsigned int"
|
||||||
|
AC_MSG_RESULT(unsigned int)]
|
||||||
,
|
,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
int accept(int, struct sockaddr *, unsigned long *);
|
int accept(int, struct sockaddr *, unsigned long *);
|
||||||
],[],
|
],[],
|
||||||
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T unsigned long"]
|
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T unsigned long"
|
||||||
|
AC_MSG_RESULT(unsigned long)]
|
||||||
,
|
,
|
||||||
AC_TRY_COMPILE([
|
AC_TRY_COMPILE([
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
int accept(int, struct sockaddr *, long *);
|
int accept(int, struct sockaddr *, long *);
|
||||||
],[],
|
],[],
|
||||||
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T long"]
|
[ISC_SOCKLEN_T="#define ISC_SOCKLEN_T long"
|
||||||
|
AC_MSG_RESULT(long)]
|
||||||
,
|
,
|
||||||
ISC_SOCKLEN_T="#define ISC_SOCKLEN_T int"
|
ISC_SOCKLEN_T="#define ISC_SOCKLEN_T int"
|
||||||
|
AC_MSG_RESULT(int)
|
||||||
))))
|
))))
|
||||||
AC_SUBST(ISC_SOCKLEN_T)
|
AC_SUBST(ISC_SOCKLEN_T)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user