=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.20 retrieving revision 1.24 diff -u -p -r1.20 -r1.24 --- OpenXM_contrib2/asir2000/configure 2003/03/16 17:43:47 1.20 +++ OpenXM_contrib2/asir2000/configure 2003/03/19 08:27:47 1.24 @@ -838,7 +838,10 @@ Optional Features: --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking Speeds up one-time builds --enable-dependency-tracking Do not reject slow dependency extractors + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer --enable-shared enable linking shared libraries. [no] + --enable-gc-zeropage enable to avoid the kernel zeropage bug. [no] --enable-plot enable plot feature. [no] --enable-interval enable interval feature. [no] --enable-fft-float enable FFT-FLOAT feature. [no] @@ -1544,7 +1547,30 @@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then + enableval="$enable_maintainer_mode" + USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi; + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 + +if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + MAINT=$MAINTAINER_MODE_TRUE + + + # Make sure we can run config.sub. $ac_config_sub sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 @@ -4105,6 +4131,19 @@ if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; fi fi +# Check whether --enable-gc-zeropage or --disable-gc-zeropage was given. +if test "${enable_gc_zeropage+set}" = set; then + enableval="$enable_gc_zeropage" + enable_gc_zeropage=yes +else + enable_gc_zeropage=no +fi; + +if test "${enable_gc_zeropage:=no}" != no ; then + USE_GC_ZEROPAGE="yes" +fi + + libasir_postfix="" # Check whether --with-pari or --without-pari was given. @@ -4764,6 +4803,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 +4815,7 @@ else fi; fi + if test ${enable_plot:=no} != no ; then libasir_postfix=${libasir_postfix}_X cat >>confdefs.h <<\_ACEOF @@ -4875,7 +4918,7 @@ 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 ;; @@ -5804,6 +5847,9 @@ s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t s,@DEPDIR@,$DEPDIR,;t t +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t +s,@MAINT@,$MAINT,;t t s,@build@,$build,;t t s,@build_cpu@,$build_cpu,;t t s,@build_vendor@,$build_vendor,;t t @@ -5833,8 +5879,10 @@ s,@X_CFLAGS@,$X_CFLAGS,;t t s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t s,@X_LIBS@,$X_LIBS,;t t s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t +s,@USE_GC_ZEROPAGE@,$USE_GC_ZEROPAGE,;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