summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-24 10:38:56 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-24 10:38:56 +0000
commitc6eb6e8a70b63dbff935e4cbb2083cc52bcf7605 (patch)
tree83f0c58f257c7464f81a4b322819080a7bf2349b /hints
parent5d96f59891e2bc58f3da901ee0d54f52796678b4 (diff)
downloadperl-c6eb6e8a70b63dbff935e4cbb2083cc52bcf7605.tar.gz
On Darwin, -Uuse64bitall shouldn't mean -Duse64bitall :-/
Plus fix a pair of typos in a diagnostic output. p4raw-id: //depot/perl@33737
Diffstat (limited to 'hints')
-rw-r--r--hints/darwin.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/hints/darwin.sh b/hints/darwin.sh
index 4dce97043e..3703ed3443 100644
--- a/hints/darwin.sh
+++ b/hints/darwin.sh
@@ -196,8 +196,8 @@ esac
EOCBU
# 64-bit addressing support. Currently strictly experimental. DFD 2005-06-06
-if [ "$use64bitall" ]
-then
+case "$use64bitall" in
+$define|true|[yY]*)
case "$osvers" in
[1-7].*)
cat <<EOM >&4
@@ -206,7 +206,7 @@ case "$osvers" in
*** 64-bit addressing is not supported for Mac OS X versions
*** below 10.4 ("Tiger") or Darwin versions below 8. Please try
-*** again without -D64bitall. (-D64bitint will work, however.)
+*** again without -Duse64bitall. (-Duse64bitint will work, however.)
EOM
exit 1
@@ -244,7 +244,8 @@ EOM
[ "$d_shmctl" ] || d_shmctl='undef'
;;
esac
-fi
+;;
+esac
##
# System libraries