=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure.in,v retrieving revision 1.12 retrieving revision 1.18 diff -u -p -r1.12 -r1.18 --- OpenXM_contrib2/asir2000/configure.in 2003/03/19 00:52:27 1.12 +++ OpenXM_contrib2/asir2000/configure.in 2004/03/25 16:32:45 1.18 @@ -1,4 +1,4 @@ -dnl $OpenXM: OpenXM_contrib2/asir2000/configure.in,v 1.11 2003/03/17 14:33:47 ohara Exp $ +dnl $OpenXM: OpenXM_contrib2/asir2000/configure.in,v 1.17 2004/02/27 18:32:21 ohara Exp $ AC_INIT([LICENSE]) AC_PREREQ(2.53) @@ -32,6 +32,8 @@ if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; else CFLAGS="-O" fi +elif test `basename ./"${CC}"` = "icc" ; then + CFLAGS="-g -O" fi AC_ARG_ENABLE([gc-zeropage], @@ -68,13 +70,13 @@ AC_SUBST([PARILIB]) AC_CHECK_TYPES([unsigned long long]) AC_CHECK_SIZEOF(long) -if test SIZEOF_LONG = 8; then +if test "${ac_cv_sizeof_long}" = 8; then AC_DEFINE([LONG_IS_64BIT]) else AC_DEFINE([LONG_IS_32BIT]) 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 AC_ARG_ENABLE([plot], @@ -162,10 +164,16 @@ case "${host}" in ;; [i[3-6]86-*-linux*]|x86-*-linux*) asm_obj="${i386_elf_obj}" - AC_DEFINE([BSD_SOURCE]) + AC_DEFINE([_BSD_SOURCE]) ;; *-*-cygwin*) asm_obj="${i386_aout_obj}" + ;; +[i[3-6]86-*-interix*]) + asm_obj="${i386_aout_obj}" + USE_GC_INTERIX="yes" + AC_SUBST([USE_GC_INTERIX]) + AC_DEFINE([_ALL_SOURCE]) ;; sparc-sun-solaris2.*) case "`uname -m`" in