diff options
author | Jeff McDougal <jmcdo@cris.com> | 1996-12-03 08:33:05 -0500 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1996-12-06 18:56:00 +1200 |
commit | 57560dc7335aaed00185c3cccea22fe709754f18 (patch) | |
tree | 4fd47dd305ae7b369727631aab3c5543d6429dd0 /hints/hpux.sh | |
parent | 735aabf6eb108bfac2ee42bafd64901e409d5589 (diff) | |
download | perl-57560dc7335aaed00185c3cccea22fe709754f18.tar.gz |
BUG in hints/hpux.sh
Tom, I was not able to run the Configure script on my new HP D-server running HP-UX 10.01.
The problem was a single line in the hints/hpux.sh file:
xxcontext=`grep $(printf %#x $(getconf CPU_VERSION)) /usr/include/sys/unistd.h`
I commented this line out and inserted the following to get a clean execution under the
Bourne shell:
DECCPU=`getconf CPU_VERSION`
HEXCPU=`printf %#x ${DECCPU}`
xxcontext=`grep $HEXCPU /usr/include/sys/unistd.h`
I am very happy to have Perl 5.003 on my new development box.
Jeff McDougal
p5p-msgid: <32A42C11.7FA2@cris.com>
Diffstat (limited to 'hints/hpux.sh')
-rw-r--r-- | hints/hpux.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hints/hpux.sh b/hints/hpux.sh index b543ec4c11..3ac43ffc5b 100644 --- a/hints/hpux.sh +++ b/hints/hpux.sh @@ -8,7 +8,7 @@ # hints/hpux_10.sh, Perl Configure hints file for Hewlett Packard HP-UX 10.x # From: Giles Lean <giles@nemeton.com.au> -# This version: October 29, 1996 +# This version: December 4, 1996 # Use Configure -Dcc=gcc to use gcc. # Use Configure -Dprefix=/usr/local to install in /usr/local. @@ -51,7 +51,8 @@ xxuname=`uname -r` if echo $xxuname | $contains '10' then # This system is running 10.0 - xxcontext=`grep $(printf %#x $(getconf CPU_VERSION)) /usr/include/sys/unistd.h` + xxcpu=`printf %#x \`getconf CPU_VERSION\`` + xxcontext=`grep "$xxcpu" /usr/include/sys/unistd.h` if echo "$xxcontext" | $contains 'PA-RISC1.1' then archname='PA-RISC1.1' |