Hi David, could you please test the attached diff to configure.in. It should find the problem with your compiler and it even simplifies things a bit. Sven
Index: configure.in =================================================================== RCS file: /cvs/gnome/gimp/configure.in,v retrieving revision 1.465 diff -u -p -r1.465 configure.in --- configure.in 9 Jul 2003 23:52:46 -0000 1.465 +++ configure.in 10 Jul 2003 13:40:36 -0000 @@ -423,14 +423,10 @@ AC_ARG_ENABLE(sse, if test "x$enable_mmx" = xyes; then - dnl Necessary for assembler sources - save_ac_ext="$ac_ext" - ac_ext=S - AC_MSG_CHECKING(whether we can compile MMX code) - echo " movq 0, %mm0" > conftest.S - if AC_TRY_EVAL(ac_compile); then + AC_COMPILE_IFELSE([asm ("movq 0, %mm0");], + AC_DEFINE(USE_MMX, 1, [Define to 1 if MMX assembly is available.]) AC_MSG_RESULT(yes) @@ -438,26 +434,21 @@ if test "x$enable_mmx" = xyes; then AC_MSG_CHECKING(whether we can compile SSE code) - echo " movntps %xmm0, 0" > conftest.S - if AC_TRY_EVAL(ac_compile); then + AC_COMPILE_IFELSE([asm ("movntps %xmm0, 0");], AC_DEFINE(USE_SSE, 1, [Define to 1 if SSE assembly is available.]) AC_MSG_RESULT(yes) - else + , enable_sse=no AC_MSG_RESULT(no) AC_MSG_WARN([The assembler does not support the SSE command set.]) - fi + ) fi - - else + , enable_mmx=no AC_MSG_RESULT(no) AC_MSG_WARN([The assembler does not support the MMX command set.]) - fi - - rm conftest* - ac_ext="$save_ac_ext" + ) fi @@ -472,24 +463,16 @@ AC_ARG_ENABLE(altivec, if test "x$enable_altivec" = xyes; then - dnl Necessary for assembler sources - save_ac_ext="$ac_ext" - ac_ext=S - AC_MSG_CHECKING(whether we can compile Altivec code) - echo " vand %v0, %v0, %v0" > conftest.S - if AC_TRY_EVAL(ac_compile); then + AC_COMPILE_IFELSE([asm ("vand %v0, %v0, %v0");], AC_DEFINE(USE_ALTIVEC, 1, [Define to 1 if Altivec assembly is available.]) AC_MSG_RESULT(yes) - else + , enable_altivec=no AC_MSG_RESULT(no) AC_MSG_WARN([The assembler does not support the Altivec command set.]) - fi - - rm conftest* - ac_ext="$save_ac_ext" + ) fi