=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.24 retrieving revision 1.30 diff -u -p -r1.24 -r1.30 --- OpenXM_contrib2/asir2000/configure 2003/03/19 08:27:47 1.24 +++ OpenXM_contrib2/asir2000/configure 2004/06/25 09:37:19 1.30 @@ -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. @@ -4791,7 +4793,7 @@ cat >>confdefs.h <<_ACEOF _ACEOF -if test SIZEOF_LONG = 8; then +if test "${ac_cv_sizeof_long}" = 8; then cat >>confdefs.h <<\_ACEOF #define LONG_IS_64BIT 1 _ACEOF @@ -4803,7 +4805,7 @@ _ACEOF fi if test "${no_x}" != yes ; then - if test -f "${x_libraries}/libXpm.a" ; then + if test -f "${x_libraries}/libXpm.a" -o -f "${x_libraries}/libXpm.dll.a" ; then XPMLIB="-lXpm" fi # Check whether --enable-plot or --disable-plot 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,6 +4927,15 @@ _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}" ;; @@ -5890,6 +5901,7 @@ 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,@asm_obj@,$asm_obj,;t t CEOF