[inseparable changes from patch from perl5.003_07 to perl5.003_08]
[p5sagit/p5-mst-13.2.git] / hints / machten.sh
1 # machten.sh
2 # This is for MachTen 4.0.2.  It might work on other versions too.
3 #
4 # MachTen users might need a fixed tr from ftp.tenon.com.  This should
5 # be described in the MachTen release notes.
6 #
7 # MachTen 2.x has its own hint file.
8 #
9 # This file has been put together by Andy Dougherty
10 # <doughera@lafcol.lafayette.edu> based on comments from lots of
11 # folks, especially 
12 #       Mark Pease <peasem@primenet.com>
13 #       Martijn Koster <m.koster@webcrawler.com>
14 #       Richard Yeh <rcyeh@cco.caltech.edu>
15 #
16 # Do not use perl's malloc; SysV IPC OK -- Neil Cutcliffe, Tenon 961030
17 # File::Find's use of link count disabled by Dominic Dunlop 960528
18 # Perl's use of sigsetjmp etc. disabled by Dominic Dunlop 960521
19 #
20 # Comments, questions, and improvements welcome!
21 #
22 # MachTen 4.X does support dynamic loading, but perl doesn't
23 # know how to use it yet.
24 #
25 #  Updated by Dominic Dunlop <domo@tcp.ip.lu>
26 #  Wed Nov 13 11:47:09 WET 1996
27
28
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.
32 usemymalloc='false'
33
34 # Configure doesn't know how to parse the nm output.
35 usenm=undef
36
37 # Install in /usr/local by default
38 prefix='/usr/local'
39
40 # At least on PowerMac, doubles must be aligned on 8 byte boundaries.
41 # I don't know if this is true for all MachTen systems, or how to
42 # determine this automatically.
43 alignbytes=8
44
45 # There appears to be a problem with perl's use of sigsetjmp and
46 # friends.  Use setjmp and friends instead.
47 d_sigsetjmp='undef' 
48
49 # MachTen always reports ony two links to directories, even if they
50 # contain subdirectories.  Consequently, we use this variable to stop
51 # File::Find using the link count to determine whether there are
52 # subdirectories to be searched.  This will generate a harmless message:
53 # Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
54 #       Propagating recommended variable dont_use_nlink
55 dont_use_nlink=define
56
57 cat <<'EOM' >&4
58
59 Tests
60         io/fs test 4  and
61         op/stat test 3
62 may fail since MachTen does not return a useful nlinks field to stat
63 on directories.
64
65 At the end of Configure, you will see a harmless message
66
67 Hmm...You had some extra variables I don't know about...I'll try to keep 'em.
68         Propagating recommended variable dont_use_nlink
69
70 Read the File::Find documentation for more information.
71
72 EOM