=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.26 retrieving revision 1.31 diff -u -p -r1.26 -r1.31 --- OpenXM_contrib2/asir2000/configure 2003/12/22 09:31:41 1.26 +++ 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 @@ -4925,10 +4927,24 @@ _ACEOF *-*-cygwin*) asm_obj="${i386_aout_obj}" ;; +i[3-6]86-*-interix*) + asm_obj="${i386_aout_obj}" + USE_GC_INTERIX="yes" + + cat >>confdefs.h <<\_ACEOF +#define _ALL_SOURCE 1 +_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 @@ -5890,6 +5906,8 @@ s,@MPIINC@,$MPIINC,;t t 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