This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
applied new parts of suggested patch
[perl5.git] / hints / rhapsody.sh
1 ##
2 # Rhapsody (Mac OS X Server) hints
3 # Wilfredo Sanchez <wsanchez@apple.com>
4 ##
5
6 # Since we can build fat, the archname doesn't need the processor type
7 archname='rhapsody';
8
9 # Perl5.003 precedes this platform
10 d_bincompat3='undef';
11
12 # Libc is in libsystem.
13 libc='/System/Library/Frameworks/System.framework/System';
14
15 # nm works.
16 usenm='true';
17
18 # Optimize.
19 optimize='-O3';
20
21 # We have a prototype for telldir.
22 # We are not NeXTStep.
23 ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -UNeXT -U__NeXT__";
24
25 # Don't use /usr/local/lib; we may have junk there.
26 libpth='/lib /usr/lib';
27
28 # Shared library extension in .dylib.
29 # Bundle extension in .bundle.
30 ld='cc';
31 so='dylib';
32 dlext='bundle';
33 dlsrc='dl_rhapsody.xs';
34 cccdlflags='';
35 lddlflags="${ldflags} -bundle -undefined suppress";
36 useshrplib='true';
37 libperl='Perl';
38 framework_path='/System/Library/Frameworks/Perl.framework';
39 base_address='0x4be00000';
40
41 # 4BSD uses /usr/share/man, not /usr/man.
42 # Don't put man pages in /usr/lib; that's goofy.
43 man1dir='/usr/share/man/man1';
44 man3dir='/usr/share/man/man3';
45
46 # Where to put modules.
47 privlib='/System/Library/Perl';
48 sitelib='/Local/Library/Perl';
49
50 # vfork works
51 usevfork='true';
52
53 # malloc works
54 usemymalloc='n';