=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.18 retrieving revision 1.21 diff -u -p -r1.18 -r1.21 --- OpenXM_contrib2/asir2000/configure 2003/03/09 14:12:03 1.18 +++ OpenXM_contrib2/asir2000/configure 2003/03/16 18:37:56 1.21 @@ -4764,6 +4764,9 @@ _ACEOF fi if test "${no_x}" != yes ; then + if test -f "${x_libraries}/libXpm.a" ; then + XPMLIB="-lXpm" + fi # Check whether --enable-plot or --disable-plot was given. if test "${enable_plot+set}" = set; then enableval="$enable_plot" @@ -4773,6 +4776,7 @@ else fi; fi + if test ${enable_plot:=no} != no ; then libasir_postfix=${libasir_postfix}_X cat >>confdefs.h <<\_ACEOF @@ -4869,9 +4873,16 @@ sparc_v9_obj="sparc-2.o asm5-2.o edr-2.o" generic_obj=asmalpha.o case "${host}" in -i[3-6]86-*-freebsd[3-9].*|i[3-6]86-*-linux*) +i[3-6]86-*-freebsd[3-9].*) asm_obj="${i386_elf_obj}" ;; +i[3-6]86-*-linux*|x86-*-linux*) + asm_obj="${i386_elf_obj}" + cat >>confdefs.h <<\_ACEOF +#define BSD_SOURCE 1 +_ACEOF + + ;; *-*-cygwin*) asm_obj="${i386_aout_obj}" ;; @@ -4893,6 +4904,12 @@ powerpc-apple-darwin*) _ACEOF ;; +arm*-*-linux*) + asm_obj="${generic_obj}" + if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then + CFLAGS="${CFLAGS} -fsigned-char" + fi + ;; *) asm_obj="${generic_obj}" ;; @@ -5822,6 +5839,7 @@ s,@X_LIBS@,$X_LIBS,;t t s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t s,@PARIINC@,$PARIINC,;t t s,@PARILIB@,$PARILIB,;t t +s,@XPMLIB@,$XPMLIB,;t t s,@USE_PLOT_TRUE@,$USE_PLOT_TRUE,;t t s,@USE_PLOT_FALSE@,$USE_PLOT_FALSE,;t t s,@FEPLIB@,$FEPLIB,;t t