--- audacity-src-1.3.2-beta/lib-src/soundtouch/source/SoundTouch/Makefile.am.bak 2006-10-29 01:06:00.000000000 +0200 +++ audacity-src-1.3.2-beta/lib-src/soundtouch/source/SoundTouch/Makefile.am 2006-11-04 19:38:03.243246020 +0100 @@ -35,7 +35,12 @@ # ??? test for -fcheck-new in configure.ac # other compiler flags to add -AM_CXXFLAGS=-O3 -msse -fcheck-new -I../../include +if HAVE_SSE +SSE_FLAGS = -msse +else +SSE_FLAGS = +endif +AM_CXXFLAGS=-O3 $(SSE_FLAGS) -fcheck-new -I../../include # other linking flags to add #libSoundTouch_la_LIBADD= --- audacity-src-1.3.2-beta/lib-src/soundtouch/configure.ac.bak 2006-10-29 01:06:00.000000000 +0200 +++ audacity-src-1.3.2-beta/lib-src/soundtouch/configure.ac 2006-11-04 19:20:02.596854194 +0100 @@ -104,11 +104,12 @@ dnl add whatever functions you might want to check for here #AC_CHECK_FUNCS([floor ftruncate memmove memset mkdir modf pow realpath sqrt strchr strdup strerror strrchr strstr strtol]) - - - - - +case "x${host_cpu}" in + xi?86 | xk? | xx86-64) + HAVE_SSE=yes + ;; +esac +AM_CONDITIONAL(HAVE_SSE, test x$HAVE_SSE = xyes) dnl ############################################################################ dnl # Internationalization and Localization #