configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r...

1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* configure.in: Check for struct hostent_data and need for
	-D_REENTRANT for gethostbyname_r declaration.
	* java/net/natInetAddress.cc: Define _REENTRANT if needed.
	(lookup): Use hostent_data for fixed_buffer.
	* configure, include/config.h.in: Rebuilt.

From-SVN: r28369
This commit is contained in:
Alexandre Oliva 1999-08-01 00:14:32 +00:00 committed by Tom Tromey
parent 5f67f48f90
commit 34c5c0e18c
5 changed files with 268 additions and 84 deletions

View file

@ -268,3 +268,9 @@
/* Version number of package */
#undef VERSION
/* Define if gethostbyname_r is only declared if _REENTRANT is defined */
#undef GETHOSTBYNAME_R_NEEDS_REENTRANT
/* Define if struct hostent_data is defined in netdb.h */
#undef HAVE_STRUCT_HOSTENT_DATA