This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Ticket number for bitops in perlexperiment
[perl5.git] / hints / haiku.sh
CommitLineData
4b0b5bad
MB
1# Haiku hints file
2# $Id$
3
a57576aa
TC
4case "$prefix" in
5'') prefix="/boot/common" ;;
6*) ;; # pass the user supplied value through
7esac
4b0b5bad
MB
8
9libpth='/boot/home/config/lib /boot/common/lib /system/lib'
10usrinc='/boot/develop/headers/posix'
11locinc='/boot/home/config/include /boot/common/include /boot/develop/headers'
12
13libc='/system/lib/libroot.so'
14libs='-lnetwork'
15
16# Use Haiku's malloc() by default.
17case "$usemymalloc" in
18'') usemymalloc='n' ;;
19esac
20
21# Haiku generally supports hard links, but the default file system (BFS)
22# doesn't. So better avoid using hard links.
23d_link='undef'
24dont_use_nlink='define'
25
26# The array syserrlst[] is useless for the most part.
27# Large negative numbers really kind of suck in arrays.
28d_syserrlst='undef'
29
30# Haiku uses gcc.
31cc="gcc"
32ld='gcc'
33
34# The runtime loader library path variable is LIBRARY_PATH.
35case "$ldlibpthname" in
36'') ldlibpthname=LIBRARY_PATH ;;
37esac
ed39e4ee
TC
38
39# as of alpha 4.1 (at the latest) some symbols are versioned,
40# confusing the nm lookup
41case "$usenm" in
42'') usenm='undef' ;;
43esac
44