summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-22 21:08:34 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-22 21:08:34 +0000
commitc6c38f617234af7b4d0af7bcc5a40ca341bd2234 (patch)
tree4ce869b29312b6eabac9b5383302e86bb93b0700 /hints
parent6b62006c1b3749b3e9d106ea993a2df382663fd9 (diff)
downloadperl-c6c38f617234af7b4d0af7bcc5a40ca341bd2234.tar.gz
unretract change#5871 (Dominic Dunlop reports machten is better
with it than without) p4raw-link: @5871 on //depot/cfgperl: eee97483e8b20972a6444d8283945e690003b688 p4raw-id: //depot/perl@5893
Diffstat (limited to 'hints')
-rw-r--r--hints/machten.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/hints/machten.sh b/hints/machten.sh
index 5ad4dba557..b4409c1bf0 100644
--- a/hints/machten.sh
+++ b/hints/machten.sh
@@ -176,6 +176,30 @@ d_sem=${d_sem:-undef}
d_shm=${d_shm:-undef}
fi
+
+# As of MachTen 4.1.4 the msg* and shm* are in libc but unimplemented
+# (an attempt to use them causes a runtime error)
+# XXX Configure probe for really functional msg*() is needed XXX
+# XXX Configure probe for really functional shm*() is needed XXX
+if test "$d_msg" = ""; then
+ d_msgget=${d_msgget:-undef}
+ d_msgctl=${d_msgctl:-undef}
+ d_msgsnd=${d_msgsnd:-undef}
+ d_msgrcv=${d_msgrcv:-undef}
+ case "$d_msgget$d_msgsnd$d_msgctl$d_msgrcv" in
+ *"undef"*) d_msg="$undef" ;;
+ esac
+fi
+if test "$d_shm" = ""; then
+ d_shmat=${d_shmat:-undef}
+ d_shmdt=${d_shmdt:-undef}
+ d_shmget=${d_shmget:-undef}
+ d_shmctl=${d_shmctl:-undef}
+ case "$d_shmat$d_shmctl$d_shmdt$d_shmget" in
+ *"undef"*) d_shm="$undef" ;;
+ esac
+fi
+
# Get rid of some extra libs which it takes Configure a tediously
# long time never to find on MachTen, or which break perl
set `echo X "$libswanted "|sed -e 's/ net / /' -e 's/ socket / /' \