summaryrefslogtreecommitdiff
path: root/hints/dynixptx.sh
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-11-22 13:19:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-22 13:19:41 +0000
commitd1b4cc9b2eccf4e695f2fdbd19e7d6329da21487 (patch)
tree3f9ee702c06d7396acbe1918d529a3edfe79fc5f /hints/dynixptx.sh
parent368c9434e40b3ef162b100271eb4d6a1dd886bbc (diff)
downloadperl-d1b4cc9b2eccf4e695f2fdbd19e7d6329da21487.tar.gz
Document the d_socket override.
p4raw-id: //depot/cfgperl@2267
Diffstat (limited to 'hints/dynixptx.sh')
-rw-r--r--hints/dynixptx.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/hints/dynixptx.sh b/hints/dynixptx.sh
index f726974d0f..0bf580e885 100644
--- a/hints/dynixptx.sh
+++ b/hints/dynixptx.sh
@@ -24,6 +24,24 @@ usenm='n'
d_vfork='define'
optimize='-Wc,-O3 -W0,-xstring'
+# We override d_socket because it's very hard for Configure to get it right
+# in Dynix/Ptx, for several reasons.
+# (1) the socket interface is in libsocket.so -- this wouldn't be so hard
+# for Configure to fathom...but it gets more tangled.
+# (2) if the system has been patched there can be libsocket.so.1.FOO.BAR,
+# the FOO.BAR being the old version of the system before the patching.
+# Configure picks up the old broken version.
+# (3) libsocket.so points to either libsocket.so.1 (v4.2)
+# or libsocket.so.1.1 (v4.4) The socket call in libsocket.so.1.1
+# (BSD socket library) is called bsd_socket(), and has a macro wrapper
+# to hide this.
+# This information kindly provided by Martin J. Bligh of Sequent.
+# As he puts it:
+# "Sequent has unusual capabilities, taking it above and beyond
+# the complexity of any other vendor" :-)
+#
+# Jarkko Hietaniemi August 1998
+
case "$osvers" in
4.4*) # configure doesn't find sockets, as they're in libsocket, not libc
d_socket='define'