(inet_ntoa, inet_ntop, inet_pton): add necessary includes when testing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9397 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -273,9 +273,6 @@ AC_BROKEN([ \
|
||||
gettimeofday \
|
||||
getuid \
|
||||
getusershell \
|
||||
inet_aton \
|
||||
inet_ntop \
|
||||
inet_pton \
|
||||
initgroups \
|
||||
innetgr \
|
||||
iruserok \
|
||||
@@ -317,6 +314,51 @@ AC_BROKEN([ \
|
||||
writev \
|
||||
])
|
||||
|
||||
AC_BROKEN2(inet_aton,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif],
|
||||
[0,0])
|
||||
|
||||
AC_BROKEN2(inet_ntop,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif],
|
||||
[0, 0, 0, 0])
|
||||
|
||||
AC_BROKEN2(inet_pton,
|
||||
[#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif],
|
||||
[0,0,0])
|
||||
|
||||
dnl
|
||||
dnl Check for sa_len in struct sockaddr,
|
||||
dnl needs to come before the getnameinfo test
|
||||
|
Reference in New Issue
Block a user