summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorTom Hughes <tom@compton.nu>1998-07-10 11:25:18 +0100
committerGurusamy Sarathy <gsar@cpan.org>1998-07-11 02:20:32 +0000
commita6b06eff27dd56e36de69aa626375e5d526dc488 (patch)
treea9930ae1e96974065c803b30630a9905ddbd5eec /hints
parent3784f77001345fcd8b6e8157078c3ca6557763f7 (diff)
downloadperl-a6b06eff27dd56e36de69aa626375e5d526dc488.tar.gz
[5.004_71] Patch: svr4 hints updates for Unixware
Message-ID: <yekn2ai5a81.fsf@elva.cyberscience.com> p4raw-id: //depot/perl@1419
Diffstat (limited to 'hints')
-rw-r--r--hints/svr4.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/hints/svr4.sh b/hints/svr4.sh
index ed1640b1ad..95dce32abd 100644
--- a/hints/svr4.sh
+++ b/hints/svr4.sh
@@ -70,7 +70,8 @@ fi
# is probably a reasonable way of detecting UnixWare.
# UnixWare has a broken csh. (This might already be detected above).
# In Unixware 2.1.1 the fields in FILE* got renamed!
-$ Unixware 1.1 can't cast large floats to 32-bit ints.
+# Unixware 1.1 can't cast large floats to 32-bit ints.
+# Configure can't detect memcpy or memset on Unixware 2 or 7
#
# Leave leading tabs on the next two lines so Configure doesn't
# propagate these variables to config.sh
@@ -88,9 +89,26 @@ if [ "$uw_isuw" = "Release = 4.2MP" ]; then
case $uw_ver in
2.1)
d_csh='undef'
+ d_memcpy='define'
+ d_memset='define'
;;
2.1.*)
d_csh='undef'
+ d_memcpy='define'
+ d_memset='define'
+ stdio_cnt='((fp)->__cnt)'
+ d_stdio_cnt_lval='define'
+ stdio_ptr='((fp)->__ptr)'
+ d_stdio_ptr_lval='define'
+ ;;
+ esac
+fi
+if [ "$uw_isuw" = "Release = 5" ]; then
+ case $uw_ver in
+ 7)
+ d_csh='undef'
+ d_memcpy='define'
+ d_memset='define'
stdio_cnt='((fp)->__cnt)'
d_stdio_cnt_lval='define'
stdio_ptr='((fp)->__ptr)'