[FFmpeg-cvslog] r20134 - trunk/configure

conrad subversion
Thu Oct 1 23:38:25 CEST 2009


Author: conrad
Date: Thu Oct  1 23:38:25 2009
New Revision: 20134

Log:
Check whether 32-bit x86 is really 64-bit
Fixes configure on OS X 10.6

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Thu Oct  1 23:15:36 2009	(r20133)
+++ trunk/configure	Thu Oct  1 23:38:25 2009	(r20134)
@@ -1817,20 +1817,17 @@ case "$arch" in
         enable fast_64bit
         spic=$shared
     ;;
-    i386|i486|i586|i686|i86pc|BePC)
+    i386|i486|i586|i686|i86pc|BePC|x86_64|amd64)
         arch="x86"
         subarch="x86_32"
         enable fast_unaligned
-    ;;
-    x86_64|amd64)
-        arch="x86"
-        subarch="x86_32"
-        enable cmov
-        enable fast_cmov
-        enable fast_unaligned
         check_cc <<EOF && enable fast_64bit && subarch="x86_64" && spic=$shared
         int test[sizeof(char*) - 7];
 EOF
+        if test "$subarch" = "x86_64"; then
+            enable cmov
+            enable fast_cmov
+        fi
     ;;
     *)
         arch="unknown"



More information about the ffmpeg-cvslog mailing list