--- linuxsampler/trunk/configure.in 2005/06/15 20:25:25 654 +++ 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"] ) @@ -549,11 +549,18 @@ # Create Build Files AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(linuxsampler, 0.3.1) +AM_INIT_AUTOMAKE(linuxsampler, 0.3.2) 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)