[xiph-commits] r12867 - in trunk/theora: . lib

j at svn.xiph.org j at svn.xiph.org
Sun Apr 15 12:10:22 PDT 2007


Author: j
Date: 2007-04-15 12:10:21 -0700 (Sun, 15 Apr 2007)
New Revision: 12867

Modified:
   trunk/theora/configure.ac
   trunk/theora/lib/Makefile.am
Log:
- fix ./configure --disable-asm 
- fix asm build of encoder on 64bit



Modified: trunk/theora/configure.ac
===================================================================
--- trunk/theora/configure.ac	2007-04-15 18:24:08 UTC (rev 12866)
+++ trunk/theora/configure.ac	2007-04-15 19:10:21 UTC (rev 12867)
@@ -120,14 +120,12 @@
     fi
     
     AC_DEFINE([OC_X86ASM], [], [enable x86 assambler optimization])
-    AM_CONDITIONAL(OC_X86ASM,true)
       ;;
   x86_64)
     cpu_x86_64=yes
     cpu_optimization="64 bit x86"
     AC_DEFINE([USE_ASM], [],  [make use of asm optimization])  
     AC_DEFINE([OC_X86ASM], [], [enable x86 assambler optimization])
-    AM_CONDITIONAL(OC_X86ASM,true)
     ;;
   esac
 else
@@ -135,6 +133,7 @@
 fi
 AM_CONDITIONAL([CPU_x86_64], [test x$cpu_x86_64 = xyes])
 AM_CONDITIONAL([CPU_x86_32], [test x$cpu_x86_32 = xyes])
+AM_CONDITIONAL(OC_X86ASM,[test x$ac_enable_asm = xyes])
 
 # Test whenever ld supports -version-script
 AC_PROG_LD

Modified: trunk/theora/lib/Makefile.am
===================================================================
--- trunk/theora/lib/Makefile.am	2007-04-15 18:24:08 UTC (rev 12866)
+++ trunk/theora/lib/Makefile.am	2007-04-15 19:10:21 UTC (rev 12867)
@@ -47,7 +47,7 @@
 	enc/dsp.c
 	
 if CPU_x86_64
-enc_arch_dir = enc/x86_64
+arch_dir = enc/x86_64
 encoder_arch_sources= \
 	$(arch_dir)/dct_decode_mmx.c \
 	$(arch_dir)/dsp_mmx.c \



More information about the commits mailing list