This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Win32: try to make the new stat pre-Vista compatible
[perl5.git] / hints / haiku.sh
CommitLineData
4b0b5bad
MB
1# Haiku hints file
2# $Id$
3
a57576aa 4case "$prefix" in
9a2d423b 5'') prefix="$(finddir B_COMMON_DIRECTORY)" ;;
a57576aa
TC
6*) ;; # pass the user supplied value through
7esac
4b0b5bad 8
04a8a59a
TD
9libpth="$(finddir B_USER_DEVELOP_DIRECTORY)/lib $(finddir B_SYSTEM_DEVELOP_DIRECTORY)/lib $(finddir B_COMMON_DIRECTORY)/lib /system/lib"
10usrinc="$(finddir B_SYSTEM_DEVELOP_DIRECTORY)/headers/posix"
11locinc="$(finddir B_USER_CONFIG_DIRECTORY)/develop/headers $(finddir B_COMMON_DIRECTORY)/headers $(finddir B_SYSTEM_DEVELOP_DIRECTORY)/headers"
12
13libc="$(finddir B_SYSTEM_LIB_DIRECTORY)/libroot.so"
4b0b5bad
MB
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
6b6e83fc
TD
34ccflags="$ccflags -fno-stack-protector"
35
4b0b5bad
MB
36# The runtime loader library path variable is LIBRARY_PATH.
37case "$ldlibpthname" in
38'') ldlibpthname=LIBRARY_PATH ;;
39esac
ed39e4ee
TC
40
41# as of alpha 4.1 (at the latest) some symbols are versioned,
42# confusing the nm lookup
43case "$usenm" in
44'') usenm='undef' ;;
45esac
46