--- cromfs-1.5.10.2.old/configure +++ cromfs-1.5.10.2/configure @@ -428,15 +428,22 @@ ) >> $DEVNULL if [ ! "$CC" = "icc" ]; then - cpu_check MMX mmx -mmmx __MMX__ - cpu_check 3dnow 3dnow -m3dnow - cpu_check SSE sse -msse __SSE__ - cpu_check SSE2 sse2 -msse2 __SSE2__ - cpu_check SSE3 sse3 -msse3 __SSE3__ - cpu_check SSSE3 ssse3 -mssse3 __SSSE3__ - #cpu_check ABM abm -abm __SSE4_2__ - cpu_check sahf lahf_lm -msahf HAS_SAHF - cpu_check VFP vfp -mfpu=vfp __VFP_FP__ +# The following code may lead to compile-time and/or run-time prob- +# lems. Therefore, we disable it. + +#ifdef NOTDEF +# cpu_check MMX mmx -mmmx __MMX__ +# cpu_check 3dnow 3dnow -m3dnow +# cpu_check SSE sse -msse __SSE__ +# cpu_check SSE2 sse2 -msse2 __SSE2__ +# cpu_check SSE3 sse3 -msse3 __SSE3__ +# cpu_check SSSE3 ssse3 -mssse3 __SSSE3__ +# #cpu_check ABM abm -abm __SSE4_2__ +# cpu_check sahf lahf_lm -msahf HAS_SAHF +# cpu_check VFP vfp -mfpu=vfp __VFP_FP__ +#else +KLUDGE="kludge" # This line prevents a configure-time error +#endif else # ICC can only take one (1) cpu feature flag, so we test these options # in age succession and choose the options from the last succeeding test. @@ -444,10 +451,17 @@ # will still run on processors lacking those features. BEST_CPUFEATURE="" OPTIM_BACKUP="$OPTIM" - cpu_check SSE sse -xK __SSE__ - cpu_check SSE2 sse2 -xW __SSE2__ - cpu_check SSE3 sse3 "-xO -msse3" __SSE3__ - cpu_check SSSE3 ssse3 "-xT -mssse3" __SSSE3__ + +# The following code may lead to compile-time and/or run-time prob- +# lems. Therefore, we disable it. + +#ifdef NOTDEF +# cpu_check SSE sse -xK __SSE__ +# cpu_check SSE2 sse2 -xW __SSE2__ +# cpu_check SSE3 sse3 "-xO -msse3" __SSE3__ +# cpu_check SSSE3 ssse3 "-xT -mssse3" __SSSE3__ +#endif + OPTIM="$OPTIM_BACKUP $BEST_CPUFEATURE" fi