aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-22 19:46:08 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-22 19:46:08 +0000
commit61e9f32d6a32d2ac973ee573c17ba38aca95a7de (patch)
treecea353aac8638aa3fde084623c38c1d560d453f0 /configure
parentb670c39cedd216b15863f4e09449209bb5f0f4ed (diff)
Only add available CPU extensions to config.mak.
Fixes compilation on non-x86 after latest FFmpeg changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26493 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 1 insertions, 11 deletions
diff --git a/configure b/configure
index bcaea9f153..b7f7d7aba3 100755
--- a/configure
+++ b/configure
@@ -7818,17 +7818,7 @@ VIDIX_UNICHROME=$_vidix_drv_unichrome
$_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