summaryrefslogtreecommitdiff
path: root/hints/svr4.sh
diff options
context:
space:
mode:
authorMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 16:15:09 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 16:15:09 +0000
commit478c4773e46ed75b6f33d294f8a0b50a346dbac1 (patch)
treee056f664b56c544259b77891801390c472109ed0 /hints/svr4.sh
parentc58a01c1f8bf3f31f73460df22cac19361d354ad (diff)
parent8cee197f4fc867621357445fae7d37a580273f7e (diff)
downloadperl-478c4773e46ed75b6f33d294f8a0b50a346dbac1.tar.gz
Integrate win32 branch into mainline
p4raw-id: //depot/perl@969
Diffstat (limited to 'hints/svr4.sh')
-rw-r--r--hints/svr4.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/hints/svr4.sh b/hints/svr4.sh
index 0a387022a2..2939e4ec1f 100644
--- a/hints/svr4.sh
+++ b/hints/svr4.sh
@@ -68,12 +68,17 @@ fi
# UnixWare has a broken csh. The undocumented -X argument to uname is probably
# a reasonable way of detecting UnixWare. Also in 2.1.1 the fields in
-# FILE* got renamed!
-#
+# FILE* got renamed! Plus 1.1 can't cast large floats to 32-bit ints.
# Leave leading tabs so Configure doesn't propagate these variables
-# to config.sh
uw_ver=`uname -v`
uw_isuw=`uname -X 2>&1 | grep Release`
+if [ "$uw_isuw" = "Release = 4.2" ]; then
+ case $uw_ver in
+ 1.1)
+ d_casti32='undef'
+ ;;
+ esac
+fi
if [ "$uw_isuw" = "Release = 4.2MP" ]; then
case $uw_ver in
2.1)