From 9327c475dff65f2d2f906c098943910397aaf7e4 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 6 Aug 2006 22:43:05 +0000 Subject: re PR libgcj/28491 (NetworkInterface.getNetworkInterfaces() doesn't report ipv6 interfaces.) PR libgcj/28491: * configure, include/config.h.in: Rebuilt. * configure.ac: Look for ifaddrs.h, getifaddrs. * java/net/natVMNetworkInterfacePosix.cc (getInterfaces): Use getifaddrs if available. From-SVN: r115977 --- libjava/include/config.h.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libjava/include') diff --git a/libjava/include/config.h.in b/libjava/include/config.h.in index 2ef6171..e6ea394 100644 --- a/libjava/include/config.h.in +++ b/libjava/include/config.h.in @@ -115,6 +115,9 @@ /* Define if gethostname is declared in . */ #undef HAVE_GETHOSTNAME_DECL +/* Define to 1 if you have the `getifaddrs' function. */ +#undef HAVE_GETIFADDRS + /* Define to 1 if you have the `getpwuid_r' function. */ #undef HAVE_GETPWUID_R @@ -127,6 +130,9 @@ /* Define if you have the iconv() function. */ #undef HAVE_ICONV +/* Define to 1 if you have the header file. */ +#undef HAVE_IFADDRS_H + /* Define if inet6 structures are defined in netinet/in.h. */ #undef HAVE_INET6 -- cgit v1.1