From: H.Merijn Brand Date: Mon, 4 Dec 2000 12:30:45 +0000 (+0100) Subject: Re: Not OK: perl v5.7.0 +DEVEL7825 on aix 4.2.1.0 (UNINSTALLED) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3427abbf9b07a8e3624262d714ebd1f1cf7e746e;p=p5sagit%2Fp5-mst-13.2.git Re: Not OK: perl v5.7.0 +DEVEL7825 on aix 4.2.1.0 (UNINSTALLED) Message-Id: <20001204122118.E85D.H.M.BRAND@hccnet.nl> AIX 4.2 (using latest patchlevels on 20001130) has a broken bind library (getprotobyname and getprotobynumber are outversioned by the same calls in libc, at least for xlc version 3. p4raw-id: //depot/perl@7973 --- diff --git a/hints/aix.sh b/hints/aix.sh index 35ee662..b14aad0 100644 --- a/hints/aix.sh +++ b/hints/aix.sh @@ -163,6 +163,20 @@ case "$osvers" in lddlflags="$lddlflags -bhalt:4 -bM:SRE -bI:\$(PERL_INC)/perl.exp -bE:\$(BASEEXT).exp -b noentry -lc" ;; esac +# AIX 4.2 (using latest patchlevels on 20001130) has a broken bind +# library (getprotobyname and getprotobynumber are outversioned by +# the same calls in libc, at least for xlc version 3... +case "`oslevel`" in + 4.2.1.*) # Test for xlc version too, should we? + case "$ccversion" in # Don't know if needed for gcc + 3.1.4.*) # libswanted "bind ... c ..." => "... c bind ..." + set `echo X "$libswanted "| sed -e 's/ bind\( .*\) \([cC]\) / \1 \2 bind /'` + shift + libswanted="$*" + ;; + esac + ;; + esac # This script UU/usethreads.cbu will get 'called-back' by Configure # after it has prompted the user for whether to use threads.