=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.23 retrieving revision 1.28 diff -u -p -r1.23 -r1.28 --- OpenXM_contrib2/asir2000/configure 2003/03/19 00:52:26 1.23 +++ OpenXM_contrib2/asir2000/configure 2004/02/27 18:32:21 1.28 @@ -4791,7 +4791,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 +4803,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. @@ -4918,13 +4918,22 @@ i[3-6]86-*-freebsd[3-9].*) i[3-6]86-*-linux*|x86-*-linux*) asm_obj="${i386_elf_obj}" cat >>confdefs.h <<\_ACEOF -#define BSD_SOURCE 1 +#define _BSD_SOURCE 1 _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 +5899,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