Blame SOURCES/openldap-ai-addrconfig.patch

103552
use AI_ADDRCONFIG if defined in the environment
103552
103552
Author: Jan Vcelak <jvcelak@redhat.com>
103552
Upstream ITS: #7326
103552
Resolves: #835013
103552
103552
diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c
103552
index b31e05d..fa361ab 100644
103552
--- a/libraries/libldap/os-ip.c
103552
+++ b/libraries/libldap/os-ip.c
103552
@@ -594,8 +594,7 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb,
103552
 
103552
 #if defined( HAVE_GETADDRINFO ) && defined( HAVE_INET_NTOP )
103552
 	memset( &hints, '\0', sizeof(hints) );
103552
-#ifdef USE_AI_ADDRCONFIG /* FIXME: configure test needed */
103552
-	/* Use AI_ADDRCONFIG only on systems where its known to be needed. */
103552
+#ifdef AI_ADDRCONFIG
103552
 	hints.ai_flags = AI_ADDRCONFIG;
103552
 #endif
103552
 	hints.ai_family = ldap_int_inet4or6;