summaryrefslogtreecommitdiff
path: root/hints/darwin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/darwin.sh')
-rw-r--r--hints/darwin.sh14
1 files changed, 10 insertions, 4 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 3703ed3443..34b74b721d 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -212,7 +212,9 @@ EOM
exit 1
;;
*)
- cat <<EOM >&4
+ case "$osvers" in
+ 8.*)
+ cat <<EOM >&4
@@ -224,6 +226,13 @@ EOM
*** ext/threads/shared/t/wait (threaded builds only)
EOM
+
+ [ "$d_msgctl" ] || d_msgctl='undef'
+ [ "$d_semctl" ] || d_semctl='undef'
+ [ "$d_shmctl" ] || d_shmctl='undef'
+ ;;
+ esac
+
case `uname -p` in
powerpc) arch=ppc64 ;;
i386) arch=x86_64 ;;
@@ -239,9 +248,6 @@ EOM
eval $var="\$${var}\ -arch\ $arch"
done
- [ "$d_msgctl" ] || d_msgctl='undef'
- [ "$d_semctl" ] || d_semctl='undef'
- [ "$d_shmctl" ] || d_shmctl='undef'
;;
esac
;;