apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: getaddrinfo() on HP-UX 11i
Date Tue, 16 Mar 2004 20:41:39 GMT
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