summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorRaphael Manfredi <Raphael_Manfredi@grenoble.hp.com>1997-03-06 14:10:38 +0100
committerChip Salzenberg <chip@atlantic.net>1997-03-01 18:40:49 +1200
commitfa89f0530cb5b2ddd738fd779a99b848d7b0e4fb (patch)
tree3ee9ff5bd5715756399a102b042284ec5e88881b /hints
parent1536cbcdad02306820a683a6623c43d262850c91 (diff)
downloadperl-fa89f0530cb5b2ddd738fd779a99b848d7b0e4fb.tar.gz
HP-UX hint update
Quoting Chip Salzenberg: :If you have a second, please look them over and see if anything :important is out or anything broken is in. I don't see my hint/hpux.sh patch. Here it is again (in unified format this time): p5p-msgid: 1479.857653838@lyon.grenoble.hp.com
Diffstat (limited to 'hints')
-rw-r--r--hints/hpux.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh
index a310a2dfc6..695ae6e08f 100644
--- a/hints/hpux.sh
+++ b/hints/hpux.sh
@@ -48,20 +48,21 @@ EOM
esac
# Determine the architecture type of this system.
-xxuname=`uname -r`
-if echo $xxuname | $contains '10'
+# Keep leading tab below -- Configure Black Magic -- RAM, 03/02/97
+ xxuname=`uname -r`
+if echo $xxuname | $contains '10' >/dev/null 2>&1
then
# This system is running 10.0
xxcpu1=`getconf CPU_VERSION`
xxcpu2=`printf %#x ${xxcpu1}`
xxcontext=`grep "$xxcpu2" /usr/include/sys/unistd.h`
- if echo "$xxcontext" | $contains 'PA-RISC1.1'
+ if echo "$xxcontext" | $contains 'PA-RISC1.1' >/dev/null 2>&1
then
archname='PA-RISC1.1'
- elif echo "$xxcontext" | $contains 'PA-RISC1.0'
+ elif echo "$xxcontext" | $contains 'PA-RISC1.0' >/dev/null 2>&1
then
archname='PA-RISC1.0'
- elif echo "$xxcontext" | $contains 'PA-RISC2'
+ elif echo "$xxcontext" | $contains 'PA-RISC2' >/dev/null 2>&1
then
archname='PA-RISC2'
else
@@ -72,13 +73,13 @@ then
else
# This system is not running 10.0
xxcontext=`/bin/getcontext`
- if echo "$xxcontext" | $contains 'PA-RISC1.1'
+ if echo "$xxcontext" | $contains 'PA-RISC1.1' >/dev/null 2>&1
then
archname='PA-RISC1.1'
- elif echo "$xxcontext" | $contains 'PA-RISC1.0'
+ elif echo "$xxcontext" | $contains 'PA-RISC1.0' >/dev/null 2>&1
then
archname='PA-RISC1.0'
- elif echo "$xxcontext" | $contains 'HP-MC'
+ elif echo "$xxcontext" | $contains 'HP-MC' >/dev/null 2>&1
then
archname='HP-MC68K'
else