1 diff -aur old/configure new/configure
2 --- old/configure 2011-01-16 14:01:44.453354844 +0100
3 +++ new/configure 2011-01-16 14:25:19.110021633 +0100
16 do_echo -n "Determining compiler version to use... "
17 select_tool CXX g++ icc `(IFS=':'; for s in $PATH;do cd "$s"&&echo g++-*;done) 2>/dev/null`
22 -(echo "Your CPU has these features:"
23 - grep flags /proc/cpuinfo | uniq | sed 's/.*://' | tr ' ' '\012'|sort|grep .|(fmt -w60||cat)|sed 's/^/- /'
26 -if [ ! "$CC" = "icc" ]; then
27 - cpu_check MMX mmx -mmmx __MMX__
28 - cpu_check 3dnow 3dnow -m3dnow
29 - cpu_check SSE sse -msse __SSE__
30 - cpu_check SSE2 sse2 -msse2 __SSE2__
31 - cpu_check SSE3 sse3 -msse3 __SSE3__
32 - cpu_check SSSE3 ssse3 -mssse3 __SSSE3__
33 - #cpu_check ABM abm -abm __SSE4_2__
34 - cpu_check sahf lahf_lm -msahf HAS_SAHF
36 - # ICC can only take one (1) cpu feature flag, so we test these options
37 - # in age succession and choose the options from the last succeeding test.
38 - # We use the -ax options rather than the -x options so that the code
39 - # will still run on processors lacking those features.
41 - OPTIM_BACKUP="$OPTIM"
42 - cpu_check SSE sse -xK __SSE__
43 - cpu_check SSE2 sse2 -xW __SSE2__
44 - cpu_check SSE3 sse3 "-xO -msse3" __SSE3__
45 - cpu_check SSSE3 ssse3 "-xT -mssse3" __SSSE3__
46 - OPTIM="$OPTIM_BACKUP $BEST_CPUFEATURE"
49 do_echo "Updating Makefile.sets ..."
51 DATE="`LC_ALL=C date`"