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
This commit is contained in:
Tom Tromey
2006-08-06 22:43:05 +00:00
committed by Tom Tromey
parent bc19f9eeda
commit 9327c475df
5 changed files with 82 additions and 16 deletions
+6
View File
@@ -115,6 +115,9 @@
/* Define if gethostname is declared in <unistd.h>. */
#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 <ifaddrs.h> header file. */
#undef HAVE_IFADDRS_H
/* Define if inet6 structures are defined in netinet/in.h. */
#undef HAVE_INET6