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 perl's stack size -- Dominic Dunlop <domo@tcp.ip.lu> 970922
17 # Reinstate sigsetjmp iff version is 4.0.3 or greater; use nm
18 # (assumes Configure change); prune libswanted -- Dominic Dunlop 970113
19 # Warn about test failure due to old Berkeley db -- Dominic Dunlop 970105
20 # Do not use perl's malloc; SysV IPC OK -- Neil Cutcliffe, Tenon 961030
21 # File::Find's use of link count disabled by Dominic Dunlop 960528
22 # Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 960521
24 # Comments, questions, and improvements welcome!
26 # MachTen 4.X does support dynamic loading, but perl doesn't
27 # know how to use it yet.
29 # Power MachTen is a real memory system and its standard malloc
30 # has been optimized for this. Using this malloc instead of Perl's
31 # malloc may result in significant memory savings.
34 # Make symbol table listings les voluminous
37 # Increase perl's stack size. Without this, lib/complex.t crashes out.
38 # Particularly perverse programs may require that perl has an even larger
39 # stack allocation than that specified here. (See man setstackspace )
40 ldflags='-Xlstack=0x014000'
42 # Install in /usr/local by default
45 # At least on PowerMac, doubles must be aligned on 8 byte boundaries.
46 # I don't know if this is true for all MachTen systems, or how to
47 # determine this automatically.
50 # 4.0.2 and earlier had a problem with perl's use of sigsetjmp and
51 # friends. Use setjmp and friends instead.
52 expr "$osvers" \< "4.0.3" > /dev/null && d_sigsetjmp='undef'
54 # Get rid of some extra libs which it takes Configure a tediously
55 # long time never to find on MachTen
56 set `echo X "$libswanted "|sed -e 's/ net / /' -e 's/ socket / /' \
57 -e 's/ inet / /' -e 's/ nsl / /' -e 's/ nm / /' -e 's/ malloc / /' \
58 -e 's/ ld / /' -e 's/ sun / /' -e 's/ posix / /' \
59 -e 's/ cposix / /' -e 's/ crypt / /' \
60 -e 's/ ucb / /' -e 's/ bsd / /' -e 's/ BSD / /' -e 's/ PW / /'`
64 # MachTen always reports ony two links to directories, even if they
65 # contain subdirectories. Consequently, we use this variable to stop
66 # File::Find using the link count to determine whether there are
67 # subdirectories to be searched. This will generate a harmless message:
68 # Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
69 # Propagating recommended variable dont_use_nlink
77 may fail since MachTen does not return a useful nlinks field to stat
80 At the end of Configure, you will see a harmless message
82 Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
83 Propagating recommended variable dont_use_nlink
84 Propagating recommended variable nmopts
85 Read the File::Find documentation for more information about dont_use_nlink
88 test -r ./broken-db.msg && . ./broken-db.msg