=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.28 retrieving revision 1.31 diff -u -p -r1.28 -r1.31 --- OpenXM_contrib2/asir2000/configure 2004/02/27 18:32:21 1.28 +++ OpenXM_contrib2/asir2000/configure 2004/06/25 13:41:33 1.31 @@ -4129,6 +4129,8 @@ if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; else CFLAGS="-O" fi +elif test `basename ./"${CC}"` = "icc" ; then + CFLAGS="-g -O" fi # Check whether --enable-gc-zeropage or --disable-gc-zeropage was given. @@ -4908,7 +4910,7 @@ fi i386_elf_obj=asmi_l.o i386_aout_obj=asmi.o sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o" -sparc_v9_obj="sparc-2.o asm5-2.o edr-2.o" +sparc_v9_obj=asmalpha.o generic_obj=asmalpha.o case "${host}" in @@ -4937,7 +4939,12 @@ _ACEOF sparc-sun-solaris2.*) case "`uname -m`" in sun4[dm]) asm_obj="${sparc_v8_obj}" ;; - sun4u*) asm_obj="${sparc_v9_obj}" ;; + sun4u*) asm_obj="${sparc_v9_obj}" + if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then + CFLAGS="${CFLAGS} -m64" + fi + + ;; *) asm_obj="${generic_obj}" ;; esac cat >>confdefs.h <<\_ACEOF @@ -5900,6 +5907,7 @@ s,@MPILIB@,$MPILIB,;t t s,@LAPACKLIB@,$LAPACKLIB,;t t s,@libasir_postfix@,$libasir_postfix,;t t s,@USE_GC_INTERIX@,$USE_GC_INTERIX,;t t +s,@USE_GC_SPARC64@,$USE_GC_SPARC64,;t t s,@asm_obj@,$asm_obj,;t t CEOF