Author: mturk
Date: Tue Jun 26 16:32:51 2012
New Revision: 1354101

URL: http://svn.apache.org/viewvc?rev=1354101&view=rev
Log:
More config functions we'll use

Modified:
    tomcat/jk/trunk/native/configure.in

Modified: tomcat/jk/trunk/native/configure.in
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/configure.in?rev=1354101&r1=1354100&r2=1354101&view=diff
==============================================================================
--- tomcat/jk/trunk/native/configure.in (original)
+++ tomcat/jk/trunk/native/configure.in Tue Jun 26 16:32:51 2012
@@ -375,6 +375,8 @@ dnl check for poll function
 AC_CHECK_FUNC(poll, AC_DEFINE(HAVE_POLL,1,[Have poll()]))
 dnl check for netinet/in.h header
 AC_CHECK_HEADERS(netinet/in.h)
+dnl check for netdb.h header
+AC_CHECK_HEADERS(netdb.h)
 
 AC_DEFUN([JK_HAVE_IPV6], [
 AC_MSG_CHECKING(for IPv6 with socket())
@@ -417,6 +419,8 @@ int main(void)
 
 JK_HAVE_IPV6
 JK_CHECK_SASTORAGE
+AC_CHECK_FUNC(getaddrinfo, AC_DEFINE(HAVE_GETADDRINFO,1,[Have getaddrinfo()]))
+AC_CHECK_FUNC(gethostbyname_r, AC_DEFINE(HAVE_HOSTBYNAME_R,1,[Have 
gethostbyname_r()]))
 
 dnl Apache-2.0 needs the os subdirectory to include os.h
 dnl this include is copy from os/config.m4



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to