=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure.in,v retrieving revision 1.12 retrieving revision 1.15 diff -u -p -r1.12 -r1.15 --- OpenXM_contrib2/asir2000/configure.in 2003/03/19 00:52:27 1.12 +++ OpenXM_contrib2/asir2000/configure.in 2003/12/22 09:31:41 1.15 @@ -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.14 2003/09/07 16:49:37 ohara Exp $ AC_INIT([LICENSE]) AC_PREREQ(2.53) @@ -68,13 +68,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,7 +162,7 @@ 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}"