2 # This is for MachTen 4.0.3. It might work on other versions and variants too.
4 # Users of earlier MachTen versions might need a fixed tr from ftp.tenon.com.
5 # This should be described in the MachTen release notes.
7 # MachTen 2.x has its own hint file.
9 # This file has been put together by Andy Dougherty
10 # <doughera@lafcol.lafayette.edu> based on comments from lots of
12 # Mark Pease <peasem@primenet.com>
13 # Martijn Koster <m.koster@webcrawler.com>
14 # Richard Yeh <rcyeh@cco.caltech.edu>
16 # Raise stack size further; slight tweaks to accomodate MT 4.1
17 # -- Dominic Dunlop <domo@computer.org> 980211
18 # Raise perl's stack size -- Dominic Dunlop <domo@tcp.ip.lu> 970922
19 # Reinstate sigsetjmp iff version is 4.0.3 or greater; use nm
20 # (assumes Configure change); prune libswanted -- Dominic Dunlop 970113
21 # Warn about test failure due to old Berkeley db -- Dominic Dunlop 970105
22 # Do not use perl's malloc; SysV IPC OK -- Neil Cutcliffe, Tenon 961030
23 # File::Find's use of link count disabled by Dominic Dunlop 960528
24 # Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 960521
26 # Comments, questions, and improvements welcome!
28 # MachTen 4.X does support dynamic loading, but perl doesn't
29 # know how to use it yet.
31 # Power MachTen is a real memory system and its standard malloc
32 # has been optimized for this. Using this malloc instead of Perl's
33 # malloc may result in significant memory savings.
36 # Make symbol table listings les voluminous
39 # Increase perl's stack size. Without this, lib/complex.t crashes out.
40 # Particularly perverse programs may require that perl has an even larger
41 # stack allocation than that specified here. (See man setstackspace )
42 ldflags='-Xlstack=0x018000'
44 # Install in /usr/local by default
47 # At least on PowerMac, doubles must be aligned on 8 byte boundaries.
48 # I don't know if this is true for all MachTen systems, or how to
49 # determine this automatically.
52 # 4.0.2 and earlier had a problem with perl's use of sigsetjmp and
53 # friends. Use setjmp and friends instead.
54 expr "$osvers" \< "4.0.3" > /dev/null && d_sigsetjmp='undef'
56 # Get rid of some extra libs which it takes Configure a tediously
57 # long time never to find on MachTen
58 set `echo X "$libswanted "|sed -e 's/ net / /' -e 's/ socket / /' \
59 -e 's/ inet / /' -e 's/ nsl / /' -e 's/ nm / /' -e 's/ malloc / /' \
60 -e 's/ ld / /' -e 's/ sun / /' -e 's/ posix / /' \
61 -e 's/ cposix / /' -e 's/ crypt / /' \
62 -e 's/ ucb / /' -e 's/ bsd / /' -e 's/ BSD / /' -e 's/ PW / /'`
66 # While link counts on MachTen 4.1's fast file systems work correctly,
67 # on Macintosh Heirarchical File Systems, (and on HFS+)
68 # MachTen always reports ony two links to directories, even if they
69 # contain subdirectories. Consequently, we use this variable to stop
70 # File::Find using the link count to determine whether there are
71 # subdirectories to be searched. This will generate a harmless message:
72 # Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
73 # Propagating recommended variable dont_use_nlink
81 may fail since MachTen may not return a useful nlinks field to stat
84 At the end of Configure, you will see a harmless message
86 Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
87 Propagating recommended variable dont_use_nlink
88 Propagating recommended variable nmopts
89 Read the File::Find documentation for more information about dont_use_nlink
92 expr "$osvers" \< "4.1" && test -r ./broken-db.msg && . ./broken-db.msg