xref: /openbsd/gnu/usr.bin/perl/hints/haiku.sh (revision e9ce3842)
1# Haiku hints file
2# $Id$
3
4case "$prefix" in
5'') prefix="/boot/common" ;;
6*) ;; # pass the user supplied value through
7esac
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
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
45