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
CommitLineData
8f1f23e8
W
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
7archname='rhapsody';
8
9# Perl5.003 precedes this platform
10d_bincompat3='undef';
11
12# Libc is in libsystem.
13libc='/System/Library/Frameworks/System.framework/System';
14
15# nm works.
16usenm='true';
17
18# Optimize.
19optimize='-O3';
20
21# We have a prototype for telldir.
22# We are not NeXTStep.
23ccflags="${ccflags} -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -UNeXT -U__NeXT__";
24
25# Don't use /usr/local/lib; we may have junk there.
26libpth='/lib /usr/lib';
27
28# Shared library extension in .dylib.
29# Bundle extension in .bundle.
30ld='cc';
31so='dylib';
32dlext='bundle';
33dlsrc='dl_rhapsody.xs';
34cccdlflags='';
35lddlflags="${ldflags} -bundle -undefined suppress";
36useshrplib='true';
37libperl='Perl';
38framework_path='/System/Library/Frameworks/Perl.framework';
39base_address='0x4be00000';
40
41# 4BSD uses /usr/share/man, not /usr/man.
42# Don't put man pages in /usr/lib; that's goofy.
43man1dir='/usr/share/man/man1';
44man3dir='/usr/share/man/man3';
45
46# Where to put modules.
47privlib='/System/Library/Perl';
48sitelib='/Local/Library/Perl';
49
50# vfork works
51usevfork='true';
52
53# malloc works
54usemymalloc='n';