summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorMakoto MATSUSHITA (=?ISO-2022-JP?B?GyRCJF4kRCQ3JD8kXiQzJEgbKEI=?=) <matusita@ics.es.osaka-u.ac.jp>1997-05-21 13:16:58 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-06-11 12:00:00 +1200
commit4e81affe051125c1f0c81f7d518efaa52584a56d (patch)
tree5ebdb7b6de16e1eab5dbfc8fe9f9f640b8e9ad2d /Configure
parent0dcb58f4e9dab7110393871db954eb94cbf90dd0 (diff)
downloadperl-4e81affe051125c1f0c81f7d518efaa52584a56d.tar.gz
Compiling perl5.004 on NEWS-OS 4.x
Here (attached below) is a patch for compiling perl5 on NEWS-OS 4.x. It contains a new hints file for NEWS-OS 4.x and some modification to Configure. I've tested on perl5.003, perl5.003_99 and perl5.004. Background: Current release of NEWS-OS is version 6.1.x and it is SystemV variant. However, NEWS-OS 4.x is 4.3BSD-variant and commonly used in Japan. So, I named 'newsos' for newer release, and 'newsos4' for older release. Unfortunately, NEWS-OS 4.x has no uname(1). p5p-msgid: 19970521132814F.matusita@ics.es.osaka-u.ac.jp
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/Configure b/Configure
index 0071a7c7c1..9546d5b735 100755
--- a/Configure
+++ b/Configure
@@ -1704,7 +1704,6 @@ EOM
esac;;
[23]100) osname=mips ;;
next*) osname=next ;;
- news*) osname=news ;;
i386*)
if $test -f /etc/kconfig; then
osname=isc
@@ -1772,6 +1771,12 @@ EOM
netbsd*) osname=netbsd
osvers="$3"
;;
+ news-os) osvers="$3"
+ case "$3" in
+ 4*) osname=newsos4 ;;
+ *) osname=newsos ;;
+ esac
+ ;;
bsd386) osname=bsd386
osvers=`$uname -r`
;;
@@ -1872,10 +1877,10 @@ EOM
;;
esac
else
- if test -f /vmunix -a -f news_os.sh; then
+ if test -f /vmunix -a -f newsos4.sh; then
(what /vmunix | ../UU/tr '[A-Z]' '[a-z]') > ../UU/kernel.what 2>&1
if $contains news-os ../UU/kernel.what >/dev/null 2>&1; then
- osname=news_os
+ osname=newsos4
fi
$rm -f ../UU/kernel.what
elif test -d c:/.; then