summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-29 13:12:41 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-29 13:12:41 +0000
commit4804698df23ab9bb884327f879909cb15925bda5 (patch)
treeca8f074393935606a0efb5955940f933f4f8e152 /hints
parentcd8c9bf8e75f7ca1681db747e53988762aec8fa2 (diff)
downloadperl-4804698df23ab9bb884327f879909cb15925bda5.tar.gz
BeOS tweaks:
- fseeko and ftello can be found by Configure but we do not seem to have prototypes for them so let's make up some - BeOS didn't use to have real sockets (sockets as filedescriptors) but the BONE package is supposed to fix this. I do not know how to detect BONEness, see hints/beos.sh for a spot that needs to fixed. - BeOS has O_TEXT != O_BINARY but has no setmode() p4raw-id: //depot/perl@12756
Diffstat (limited to 'hints')
-rw-r--r--hints/beos.sh17
1 files changed, 8 insertions, 9 deletions
diff --git a/hints/beos.sh b/hints/beos.sh
index 8017dce9cc..34a5eb8190 100644
--- a/hints/beos.sh
+++ b/hints/beos.sh
@@ -38,18 +38,17 @@ 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