apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathihalli, Madhusudan" <mad...@hp.com>
Subject RE: getaddrinfo() on HP-UX 11i
Date Tue, 16 Mar 2004 21:14:39 GMT
Well. My suggestion is to disable it by default - and	 enable it only if IPv6 is available
!

-Madhu

>-----Original Message-----
>From: Joe Orton [mailto:joe@manyfish.co.uk]
>Sent: Tuesday, March 16, 2004 12:42 PM
>To: dev@apr.apache.org
>Subject: Re: getaddrinfo() on HP-UX 11i
>
>
>Was the conclusion to this thread to not change APR?  There do seem to
>be lots of 11i boxes "out there" which have got into the state where
>getaddrinfo is found in libc but non-functional.
>
>If Madhu says that getaddrinfo is first present in the base 11.23
>release, I think it would be sensible to simply disable getaddrinfo on
>pre-11.23 releases e.g. (untested):
>
>--- build/apr_hints.m4	13 Mar 2004 00:32:43 -0000	1.60
>+++ build/apr_hints.m4	16 Mar 2004 20:36:46 -0000
>@@ -81,6 +81,12 @@
> 	;;
>     *-hp-hpux11.*)
> 	APR_ADDTO(CPPFLAGS, [-DHPUX11 -D_REENTRANT 
>-D_XOPEN_SOURCE_EXTENDED])
>+        # pre-11.23 boxes sometimes have present but borked 
>getaddrinfo
>+        case `uname -r` in
>+        *11.[01]*|*11.2[012]*)
>+           APR_SETIFNULL(ac_cv_working_getaddrinfo, [no])
>+           ;;
>+        esac
> 	;;
>     *-hp-hpux10.*)
>  	case $host in
>
>	
>
Mime
View raw message