summaryrefslogtreecommitdiff
path: root/hints/machten.sh
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>1998-05-06 14:39:32 +0000
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-05-14 15:28:00 +0000
commit2ff233fa1ddd5d38eef3edf7995bc86cd5804a7e (patch)
tree7f4eaedd9a828a4ed364d9cfeeea16414d0429e3 /hints/machten.sh
parent01784f0d790efbb184547612fb96fd8626f5737f (diff)
downloadperl-2ff233fa1ddd5d38eef3edf7995bc86cd5804a7e.tar.gz
[PATCH 5.004_64]: hints/machten.sh: disable semctl()
Date: Wed, 6 May 1998 14:39:32 +0000 Subject: [PATCH] Not OK: perl 5.00464 on powerpc-machten 4.1 (hashwarn @INC problem) Date: Sat, 4 Apr 1998 19:44:34 +0000 p4raw-id: //depot/perl@953
Diffstat (limited to 'hints/machten.sh')
-rw-r--r--hints/machten.sh26
1 files changed, 20 insertions, 6 deletions
diff --git a/hints/machten.sh b/hints/machten.sh
index 25b7062ea5..2ae79f17e3 100644
--- a/hints/machten.sh
+++ b/hints/machten.sh
@@ -13,6 +13,7 @@
# Martijn Koster <m.koster@webcrawler.com>
# Richard Yeh <rcyeh@cco.caltech.edu>
#
+# Use of semctl() can crash system: disable -- Dominic Dunlop 980506
# Raise stack size further; slight tweaks to accomodate MT 4.1
# -- Dominic Dunlop <domo@computer.org> 980211
# Raise perl's stack size -- Dominic Dunlop <domo@tcp.ip.lu> 970922
@@ -53,6 +54,9 @@ alignbytes=8
# friends. Use setjmp and friends instead.
expr "$osvers" \< "4.0.3" > /dev/null && d_sigsetjmp='undef'
+# semctl(.., .., IPC_STATUS, ..) hangs system: say we don't have semctl()
+d_semctl='undef'
+
# Get rid of some extra libs which it takes Configure a tediously
# long time never to find on MachTen
set `echo X "$libswanted "|sed -e 's/ net / /' -e 's/ socket / /' \
@@ -75,11 +79,14 @@ dont_use_nlink=define
cat <<'EOM' >&4
-Tests
- io/fs test 4 and
- op/stat test 3
-may fail since MachTen may not return a useful nlinks field to stat
-on directories.
+During Configure, you may see the message
+
+*** WHOA THERE!!! ***
+ The recommended value for $d_semctl on this machine was "undef"!
+ Keep the recommended value? [y]
+
+Select the default answer: semctl() is buggy, and perl should be built
+without it.
At the end of Configure, you will see a harmless message
@@ -88,5 +95,12 @@ Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
Propagating recommended variable nmopts
Read the File::Find documentation for more information about dont_use_nlink
+Tests
+ io/fs test 4 and
+ op/stat test 3
+may fail since MachTen may not return a useful nlinks field to stat
+on directories.
+
EOM
-expr "$osvers" \< "4.1" && test -r ./broken-db.msg && . ./broken-db.msg
+expr "$osvers" \< "4.1" >/dev/null && test -r ./broken-db.msg && \
+ . ./broken-db.msg