diff options
Diffstat (limited to 'hints/beos.sh')
-rw-r--r-- | hints/beos.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/hints/beos.sh b/hints/beos.sh index 25b99a1f16..47e724b2a5 100644 --- a/hints/beos.sh +++ b/hints/beos.sh @@ -39,14 +39,19 @@ d_syserrlst='undef' # large negative numbers really kind of suck in arrays. # Sockets didn't use to be real sockets but BONE changes this. -# How does one test for BONEness? -if [ ! -f /some/bone/file.h ]; then +if [ ! -f /boot/develop/headers/be/bone/sys/socket.h ]; then d_socket='undef' d_gethbyaddr='undef' d_gethbyname='undef' d_getsbyname='undef' + + libs='-lnet' fi +# We provide a flock() emulation. +d_flock='define' +d_flockproto='define' + ld='gcc' export PATH="$PATH:$PWD/beos" @@ -55,8 +60,6 @@ case "$ldlibpthname" in '') ldlibpthname=LIBRARY_PATH ;; esac -# the waitpid() wrapper +# the waitpid() wrapper (among other things) archobjs="beos.o" test -f beos.c || cp beos/beos.c . - - |