--- WindowMaker-0.91.0/configure.ac.vns 2005-05-18 17:38:01 +0400
+++ WindowMaker-0.91.0/configure.ac 2005-05-18 17:47:55 +0400
@@ -190,7 +190,15 @@
# until we fix it, leave it disabled
asm_support=no
mmx_support=no
-if test "$ac_cv_prog_gcc" = yes; then
+
+check_for_mmx_support=yes
+AC_ARG_ENABLE(mmx,
+ [ --disable-mmx disable compilation of MMX inline assembly ],
+ [if test x$enableval != xyes; then
+ check_for_mmx_support=no
+ fi])
+
+if test "$ac_cv_prog_gcc" = yes -a "$check_for_mmx_support" = yes; then
# gcc-3.3 or newer complains about some of our stuff without this
NOSTRICTALIASING="-fno-strict-aliasing"