--- ../main/configure 2002-11-25 03:47:08.000000000 +0100 +++ configure 2002-11-25 14:18:31.000000000 +0100 @@ -576,10 +576,31 @@ _optimizing="Runtime CPU-Detection enabled" fi fi +# CPU options should get set here ... +for ac_option do + case "$ac_option" in + --enable-sse) _sse=yes ;; + --disable-sse) _sse=no ;; + --enable-sse2) _sse2=yes ;; + --disable-sse2) _sse2=no ;; + --enable-mmx2) _mmx2=yes ;; + --disable-mmx2) _mmx2=no ;; + --enable-3dnow) _3dnow=yes ;; + --disable-3dnow) _3dnow=no _3dnowex=no ;; + --enable-3dnowex) _3dnow=yes _3dnowex=yes ;; + --disable-3dnowex) _3dnowex=no ;; + --enable-altivec) _altivec=yes ;; + --disable-altivec) _altivec=no ;; + --enable-mmx) _mmx=yes ;; + --disable-mmx) # without mmx 3Dnow! and stuff is also not possible + _3dnow=no _3dnowex=no _mmx=no _mmx2=no ;; + esac +done + if [ "$host_arch" = alpha ]; then echocheck "CPU type" cat > $TMPC << EOF int main() {