--- linuxsampler/trunk/configure.in 2005/06/23 22:44:59 677 +++ linuxsampler/trunk/configure.in 2005/07/05 19:30:37 685 @@ -225,7 +225,7 @@ (default=on). LinuxSampler provides CPU specific assembly optimizations for the most important synthesis algorithms. You usually don't want to - diable that.], + disable that.], [config_asm="no"], [config_asm="yes"] ) @@ -554,6 +554,13 @@ AC_LANG_CPLUSPLUS AC_PROG_CXX +# some gcc 4.0 versions need -msse for SSE register allocations +if test "$config_asm" = "yes"; then + if test "$def_arch_x86" = 1; then + CXXFLAGS="$CXXFLAGS -msse" + fi +fi + # autoconf 2.59/libtool 1.5.12 bug? work-around. Without a check like # this, the dlfcn.h check in am_prog_libtool may fail. AC_CHECK_HEADER(stdlib.h)