configure.in: Check for in_addr_t in netinet/in.h too.
* configure.in: Check for in_addr_t in netinet/in.h too. Check for ip_mreq too. * acconfig.h: Define HAVE_IN_ADDR_T instead of in_addr_t. (HAVE_STRUCT_IP_MREQ): Added. * configure, include/config.h.in: Rebuilt. * java/net/natInetAddress.cc (aton): Typedef in_addr_t to jint if needed. * java/net/natPlainDatagramSocketImpl.cc (McastReq, mcastGrp): Disable if ip_mreq is not available. From-SVN: r28798
This commit is contained in:
committed by
Alexandre Oliva
parent
988f5b7014
commit
ccfe7e4650
@@ -73,12 +73,16 @@
|
||||
/* Define to `int' if `ssize_t' is not defined. */
|
||||
#undef ssize_t
|
||||
|
||||
/* Define to `jint' if `in_addr_t' is not defined. */
|
||||
#undef in_addr_t
|
||||
/* Define to 1 if `in_addr_t' is defined in sys/types.h or
|
||||
netinet/in.h. */
|
||||
#undef HAVE_IN_ADDR_T
|
||||
|
||||
/* Define if inet6 structures are defined in netinet/in.h. */
|
||||
#undef HAVE_INET6
|
||||
|
||||
/* Define if struct ip_mreq is defined in netinet/in.h. */
|
||||
#undef HAVE_STRUCT_IP_MREQ
|
||||
|
||||
/* Define it socklen_t typedef is in sys/socket.h. */
|
||||
#undef HAVE_SOCKLEN_T
|
||||
|
||||
|
||||
Reference in New Issue
Block a user