Index: configure =================================================================== RCS file: /cvsroot/mplayer/main/configure,v retrieving revision 1.634 diff -u -r1.634 configure --- configure 4 Jan 2003 19:26:04 -0000 1.634 +++ configure 5 Jan 2003 14:49:06 -0000 @@ -593,6 +593,29 @@ fi +# CPU options have to be set here, they have no effect if set later. +for ac_option do + case "$ac_option" in + --enable-mtrr) _mtrr=yes ;; + --disable-mtrr) _mtrr=no ;; + --enable-altivec) _altivec=yes ;; + --disable-altivec) _altivec=no ;; + --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-mmx) _mmx=yes ;; + # 3Dnow! requires MMX + --disable-mmx) _3dnow=no _3dnowex=no _mmx=no _mmx2=no ;; + esac +done + if [ "$host_arch" = alpha ]; then echocheck "CPU type"