This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
On Darwin, -Uuse64bitall shouldn't mean -Duse64bitall :-/
authorNicholas Clark <nick@ccl4.org>
Thu, 24 Apr 2008 10:38:56 +0000 (10:38 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 24 Apr 2008 10:38:56 +0000 (10:38 +0000)
Plus fix a pair of typos in a diagnostic output.

p4raw-id: //depot/perl@33737

hints/darwin.sh

index 4dce970..3703ed3 100644 (file)
@@ -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