summaryrefslogtreecommitdiff
path: root/hints/machten.sh
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>1998-02-11 15:59:46 +0100
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-02-12 16:35:26 +0000
commitda9788ee9703522615b8d8b2baff4bef1b196a10 (patch)
tree0f7114fdfb44d6719060526911d5e03b2066882d /hints/machten.sh
parent045291aaa73517617f476ce545bda17b5597801e (diff)
downloadperl-da9788ee9703522615b8d8b2baff4bef1b196a10.tar.gz
slight tweaks to hints/machten.sh
p4raw-id: //depot/perl@507
Diffstat (limited to 'hints/machten.sh')
-rw-r--r--hints/machten.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/hints/machten.sh b/hints/machten.sh
index 380f70261d..25b7062ea5 100644
--- a/hints/machten.sh
+++ b/hints/machten.sh
@@ -13,6 +13,8 @@
# Martijn Koster <m.koster@webcrawler.com>
# Richard Yeh <rcyeh@cco.caltech.edu>
#
+# 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
# Reinstate sigsetjmp iff version is 4.0.3 or greater; use nm
# (assumes Configure change); prune libswanted -- Dominic Dunlop 970113
@@ -37,7 +39,7 @@ nmopts=-gp
# Increase perl's stack size. Without this, lib/complex.t crashes out.
# Particularly perverse programs may require that perl has an even larger
# stack allocation than that specified here. (See man setstackspace )
-ldflags='-Xlstack=0x014000'
+ldflags='-Xlstack=0x018000'
# Install in /usr/local by default
prefix='/usr/local'
@@ -61,6 +63,8 @@ set `echo X "$libswanted "|sed -e 's/ net / /' -e 's/ socket / /' \
shift
libswanted="$*"
+# While link counts on MachTen 4.1's fast file systems work correctly,
+# on Macintosh Heirarchical File Systems, (and on HFS+)
# MachTen always reports ony two links to directories, even if they
# contain subdirectories. Consequently, we use this variable to stop
# File::Find using the link count to determine whether there are
@@ -74,7 +78,7 @@ cat <<'EOM' >&4
Tests
io/fs test 4 and
op/stat test 3
-may fail since MachTen does not return a useful nlinks field to stat
+may fail since MachTen may not return a useful nlinks field to stat
on directories.
At the end of Configure, you will see a harmless message
@@ -85,4 +89,4 @@ Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
Read the File::Find documentation for more information about dont_use_nlink
EOM
-test -r ./broken-db.msg && . ./broken-db.msg
+expr "$osvers" \< "4.1" && test -r ./broken-db.msg && . ./broken-db.msg