summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorDominic Dunlop <domo@computer.org>1998-08-06 12:38:07 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-08-07 21:31:46 +0000
commite060872bef504f2060537cc669ae797bbf333334 (patch)
treebddba5147a8781764faf02371611cab3783fec49 /hints
parent6e19ff93dfe8cda893891d183baba8b8c8502350 (diff)
downloadperl-e060872bef504f2060537cc669ae797bbf333334.tar.gz
[Patch perl5.005_02-TRIAL2] Update hints, Configure for MachTen 4.1.1
Message-Id: <v03110702b1ef5274635a@[195.95.102.104]> p4raw-id: //depot/maint-5.005/perl@1748
Diffstat (limited to 'hints')
-rw-r--r--hints/machten.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/hints/machten.sh b/hints/machten.sh
index 8e30108f20..f283873699 100644
--- a/hints/machten.sh
+++ b/hints/machten.sh
@@ -13,6 +13,10 @@
# Martijn Koster <m.koster@webcrawler.com>
# Richard Yeh <rcyeh@cco.caltech.edu>
#
+# For now, explicitly disable dynamic loading -- MT 4.1.1 has it,
+# but these hints do not yet support it.
+# Define NOTEDEF_MACHTEN to undo gratuitous Tenon hack to signal.h.
+# -- Dominic Dunlop <domo@computer.org> 9800802
# Completely disable SysV IPC pending more complete support from Tenon
# -- Dominic Dunlop <domo@computer.org> 980712
# Use vfork and perl's malloc by default
@@ -32,8 +36,16 @@
#
# Comments, questions, and improvements welcome!
#
-# MachTen 4.X does support dynamic loading, but perl doesn't
+# MachTen 4.1.1 does support dynamic loading, but perl doesn't
# know how to use it yet.
+usedl=${usedl:-undef}
+
+# MachTen 4.1.1 may have an unhelpful hack in /usr/include/signal.h.
+# Undo it if so.
+if grep NOTDEF_MACHTEN /usr/include/signal.h > /dev/null
+then
+ ccflags="$ccflags -DNOTDEF_MACHTEN"
+fi
# Power MachTen is a real memory system and its standard malloc
# has been optimized for this. Using this malloc instead of Perl's