# HG changeset patch # User astrange # Date 1214351477 0 # Node ID 6bd6a2da306e3ba6897e170570506ed716df04f4 # Parent 1238746e13019003a7c26b927aa2ae8e2647df05 Define mm_flags/support to be 0 on architectures where they don't exist. Make sure we don't try to set them if that's the case. This lets dct-test and fft-test build with --disable-mmx on x86, but not yet on ARM. diff -r 1238746e1301 -r 6bd6a2da306e dct-test.c --- a/dct-test.c Tue Jun 24 21:32:34 2008 +0000 +++ b/dct-test.c Tue Jun 24 23:51:17 2008 +0000 @@ -531,7 +531,10 @@ init_fdct(); idct_mmx_init(); + +#ifndef mm_flags mm_flags = mm_support(); +#endif for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i; for(i=0;i