X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fbeos.sh;h=25b99a1f16a78b99b1e35a3c6952a3555772f6ca;hb=fcb0901bd34305668c7b4d0aeb5b32f5a95fad0e;hp=8d76bc5146f42191077fc273e40b56e518e164ac;hpb=4619340914cc8b5438e9411eca00b9f6a4805995;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/beos.sh b/hints/beos.sh index 8d76bc5..25b99a1 100644 --- a/hints/beos.sh +++ b/hints/beos.sh @@ -38,16 +38,25 @@ d_syserrlst='undef' # the array syserrlst[] is useless for the most part. # large negative numbers really kind of suck in arrays. -d_socket='undef' -d_gethbyaddr='undef' -d_gethbyname='undef' -d_getsbyname='undef' +# 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 + d_socket='undef' + d_gethbyaddr='undef' + d_gethbyname='undef' + d_getsbyname='undef' +fi ld='gcc' -# Sockets really don't work with the current version of perl and the -# current BeOS sockets; I suspect that a new module a la GSAR's WIN32 port -# will be required. -# Of course, this may also change with R5. - export PATH="$PATH:$PWD/beos" + +case "$ldlibpthname" in +'') ldlibpthname=LIBRARY_PATH ;; +esac + +# the waitpid() wrapper +archobjs="beos.o" +test -f beos.c || cp beos/beos.c . + +