summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2000-12-04 13:30:45 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-04 16:00:48 +0000
commit3427abbf9b07a8e3624262d714ebd1f1cf7e746e (patch)
tree08455bfdaaf0a02e0ae58bdfa19d81c06a3b8e2c /hints
parentaca93fd6baeb969c554c7f33a70d10ac42148858 (diff)
downloadperl-3427abbf9b07a8e3624262d714ebd1f1cf7e746e.tar.gz
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
Diffstat (limited to 'hints')
-rw-r--r--hints/aix.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index 35ee662350..b14aad0e99 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.