=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/configure,v retrieving revision 1.21 retrieving revision 1.31 diff -u -p -r1.21 -r1.31 --- OpenXM_contrib2/asir2000/configure 2003/03/16 18:37:56 1.21 +++ OpenXM_contrib2/asir2000/configure 2004/06/25 13:41:33 1.31 @@ -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 @@ -4103,8 +4129,23 @@ if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; else CFLAGS="-O" fi +elif test `basename ./"${CC}"` = "icc" ; then + CFLAGS="-g -O" 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. @@ -4752,7 +4793,7 @@ cat >>confdefs.h <<_ACEOF _ACEOF -if test SIZEOF_LONG = 8; then +if test "${ac_cv_sizeof_long}" = 8; then cat >>confdefs.h <<\_ACEOF #define LONG_IS_64BIT 1 _ACEOF @@ -4764,7 +4805,7 @@ _ACEOF 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 # Check whether --enable-plot or --disable-plot was given. @@ -4869,7 +4910,7 @@ fi i386_elf_obj=asmi_l.o i386_aout_obj=asmi.o sparc_v8_obj="sparc-2.o asm4-2.o edr-2.o" -sparc_v9_obj="sparc-2.o asm5-2.o edr-2.o" +sparc_v9_obj=asmalpha.o generic_obj=asmalpha.o case "${host}" in @@ -4879,17 +4920,31 @@ 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 ;; *-*-cygwin*) asm_obj="${i386_aout_obj}" ;; +i[3-6]86-*-interix*) + asm_obj="${i386_aout_obj}" + USE_GC_INTERIX="yes" + + cat >>confdefs.h <<\_ACEOF +#define _ALL_SOURCE 1 +_ACEOF + + ;; sparc-sun-solaris2.*) case "`uname -m`" in sun4[dm]) asm_obj="${sparc_v8_obj}" ;; - sun4u*) asm_obj="${sparc_v9_obj}" ;; + sun4u*) asm_obj="${sparc_v9_obj}" + if test "${ac_test_CFLAGS}" != set -a "${GCC}" = yes ; then + CFLAGS="${CFLAGS} -m64" + fi + + ;; *) asm_obj="${generic_obj}" ;; esac cat >>confdefs.h <<\_ACEOF @@ -5808,6 +5863,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 @@ -5837,6 +5895,7 @@ 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 @@ -5847,6 +5906,8 @@ s,@MPIINC@,$MPIINC,;t t s,@MPILIB@,$MPILIB,;t t s,@LAPACKLIB@,$LAPACKLIB,;t t s,@libasir_postfix@,$libasir_postfix,;t t +s,@USE_GC_INTERIX@,$USE_GC_INTERIX,;t t +s,@USE_GC_SPARC64@,$USE_GC_SPARC64,;t t s,@asm_obj@,$asm_obj,;t t CEOF