Author: mturk
Date: Wed Sep 23 10:27:50 2009
New Revision: 818039

URL: http://svn.apache.org/viewvc?rev=818039&view=rev
Log:
Darwin reports i386 for uname -m, while in fact it can be x86_64

Modified:
    commons/sandbox/runtime/trunk/src/main/native/configure

Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL: 
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=818039&r1=818038&r2=818039&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Wed Sep 23 10:27:50 
2009
@@ -367,7 +367,7 @@
     ;;
     i[3-7]86 )
         mach=i386
-        if [ $host = darwin ]; then
+        if [ ".$host" = .darwin ]; then
             if [ ".$has_32_bit" = .no ]; then
                 test ".`java -version | grep '64-Bit'`" != . && has_64_bit=yes
             fi
@@ -395,6 +395,9 @@
     linux-ia64      )
         test ".$bits" = . && bits=64
     ;;
+    darwin-i386     )
+        test ".$bits" = . && bits=32
+    ;;
 esac
 
 case "$host-$cc" in


Reply via email to