=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.17 retrieving revision 1.21 diff -u -p -r1.17 -r1.21 --- OpenXM_contrib2/asir2000/configure 2003/03/07 19:21:31 1.17 +++ OpenXM_contrib2/asir2000/configure 2003/03/16 18:37:56 1.21 @@ -4333,6 +4333,63 @@ fi done +echo "$as_me:$LINENO: checking for unsigned long long" >&5 +echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 +if test "${ac_cv_type_unsigned_long_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +#line $LINENO "configure" +#include "confdefs.h" +$ac_includes_default +#ifdef F77_DUMMY_MAIN +# ifdef __cplusplus + extern "C" +# endif + int F77_DUMMY_MAIN() { return 1; } +#endif +int +main () +{ +if ((unsigned long long *) 0) + return 0; +if (sizeof (unsigned long long)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_unsigned_long_long=yes +else + echo "$as_me: failed program was:" >&5 +cat conftest.$ac_ext >&5 +ac_cv_type_unsigned_long_long=no +fi +rm -f conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 +echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 +if test $ac_cv_type_unsigned_long_long = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_UNSIGNED_LONG_LONG 1 +_ACEOF + + +fi + echo "$as_me:$LINENO: checking for long" >&5 echo $ECHO_N "checking for long... $ECHO_C" >&6 if test "${ac_cv_type_long+set}" = set; then @@ -4707,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" @@ -4716,6 +4776,7 @@ else fi; fi + if test ${enable_plot:=no} != no ; then libasir_postfix=${libasir_postfix}_X cat >>confdefs.h <<\_ACEOF @@ -4812,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}" ;; @@ -4836,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}" ;; @@ -5765,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