summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Burlison <aburlison@cix.compulink.co.uk>1996-12-11 18:34:00 +1300
committerChip Salzenberg <chip@atlantic.net>1996-12-19 16:44:00 +1200
commit055be0b80e0d5ab4109104cbf7a5f5379033e671 (patch)
treefae658ed59b37812c20f4459acb9c3eaa5ca2dd5
parentf3db1d4d3762444d59bce47d23c49490852a9e35 (diff)
downloadperl-055be0b80e0d5ab4109104cbf7a5f5379033e671.tar.gz
5.003_11 on UnixWare 2.1.1 - Only one small UnixWare buglet
I have just got around to building 5.003_11 on UnixWare2.1.1, and I am glad to say that apart from one minor quirk, all the tests pass OK. The problem is related to a bug in the UW csh, specifically the glob() builtin which has a bug. Changing config.sh to make d_csh='undef' results in a 100% clean build and test. The following small patch to patches/svr4.sh will work around this automatically until SCO fix the problem. Alan Burlison aburlison@cix.compulink.co.uk p5p-msgid: <memo.453720@cix.compulink.co.uk>
-rw-r--r--hints/svr4.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/svr4.sh b/hints/svr4.sh
index 5569274753..c91e13e052 100644
--- a/hints/svr4.sh
+++ b/hints/svr4.sh
@@ -32,6 +32,15 @@ usevfork='false'
# other SVR4 derivatives.
d_lstat=define
+# UnixWare has a broken csh. The undocumented -X argument to uname is probably
+# a reasonable way of detecting UnixWare
+uw_ver=`uname -v`
+uw_isuw=`uname -X 2>&1 | grep Release`
+if [ "$uw_isuw" = "Release = 4.2MP" -a \
+ \( "$uw_ver" = "2.1" -o "$uw_ver" = "2.1.1" \) ]; then
+ d_csh='undef'
+fi
+
cat <<'EOM' >&4
If you wish to use dynamic linking, you must use