changeset 26461:bb4b6e4a082f

Only add available CPU extensions to config.mak. Fixes compilation on non-x86 after latest FFmpeg changes.
author diego
date Tue, 22 Apr 2008 19:46:08 +0000
parents 2ec14bc3a3b3
children e2c4818078b0
files configure
diffstat 1 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Apr 22 10:19:30 2008 +0000
+++ b/configure	Tue Apr 22 19:46:08 2008 +0000
@@ -7818,17 +7818,7 @@
 $_target_arch
 $_target_arch_x86
 TARGET_CPU=$iproc
-HAVE_MMX   = $_mmx
-HAVE_MMX2   = $_mmxext
-HAVE_3DNOW   = $_3dnow
-HAVE_3DNOWEX   = $_3dnowext
-HAVE_SSE   = $_sse
-HAVE_CMOV   = $_cmov
-HAVE_ALTIVEC   = $_altivec
-HAVE_ARMV5TE   = $_armv5te
-HAVE_ARMV6   = $_armv6
-HAVE_IWMMXT   = $_iwmmxt
-HAVE_VIS   = $_vis
+`echo $_cpuexts | tr '[a-z] ' '[A-Z]\n' | sed 's/^/HAVE_/;s/$/=yes/'`
 
 # --- GUI stuff ---
 GUI_GTK = $_gui_gtk