]> git.sur5r.net Git - openldap/commitdiff
For IPv6 check for getnameinfo as well as getaddrinfo
authorHoward Chu <hyc@openldap.org>
Wed, 5 Mar 2003 01:32:41 +0000 (01:32 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 5 Mar 2003 01:32:41 +0000 (01:32 +0000)
configure.in

index 1d77cf01d0c884d4c596f1714283cfa574019639..210a4d9a75a16e7dfd8f824aef89b81b051db8f4 100644 (file)
@@ -1026,7 +1026,7 @@ fi
 dnl ----------------------------------------------------------------
 dnl PF_INET6 support requires getaddrinfo and INET6_ADDRSTRLEN
 dnl PF_LOCAL may use getaddrinfo in available
-AC_CHECK_FUNCS( getaddrinfo gai_strerror inet_ntop )
+AC_CHECK_FUNCS( getaddrinfo getnameinfo gai_strerror inet_ntop )
 
 ol_link_ipv6=no
 if test $ac_cv_func_getaddrinfo = no -o $ac_cv_func_inet_ntop = no ; then