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
commita5871d1a83cd3d5c7292135cbb30a336a8552ab0 (patch)
treee056f664b56c544259b77891801390c472109ed0 /hints/svr4.sh
parent841a92052a6767bd088da257cef4b0db4ccd123d (diff)
parent20408e3ccf502b6ce4033d8203710405ec9ef8f6 (diff)
downloadperl-a5871d1a83cd3d5c7292135cbb30a336a8552ab0.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)