--- gforth/configure.in 2003/08/23 20:16:08 1.129 +++ gforth/configure.in 2003/08/25 14:17:44 1.132 @@ -21,12 +21,12 @@ dnl Process this file with autoconf to p dnl We use some automake macros here, dnl but don't use automake for creating Makefile.in -AC_INIT([gforth],[0.6.1-20030806],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) +AC_INIT([gforth],[0.6.2],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) AC_PREREQ(2.54) #snapshots have numbers major.minor.release-YYYYMMDD #note that lexicographic ordering must be heeded. #I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! -UPDATED="August 6, 2003" +UPDATED="August 25, 2003" AC_SUBST(UPDATED) AC_CONFIG_HEADERS(engine/config.h) @@ -136,6 +136,11 @@ case "$host_cpu" in AC_LIBOBJ(../arch/hppa/cache) #LDFLAGS="$LDFLAGS -Xlinker -N" LIBS="$LIBS -L/lib/pa1.1/" + #executing dynamically generated code produced segfaults on + #the only HPPA machine that could waste code space, so + #disable it by default + no_dynamic_default=1 + AC_MSG_WARN(Disabling dynamic native code generation by default (speed penalty factor ~2)) ;; sparc*) machine=sparc @@ -323,6 +328,12 @@ AC_TRY_COMPILE(,,ac_nocrossjumping=yes;E CFLAGS="$CFLAGS_1" AC_MSG_RESULT($ac_nocrossjumping) +# Try if GCC understands __attribute__((unused)) +AC_MSG_CHECKING([how to suppress 'unused variable' warnings]) +AC_TRY_COMPILE(,[int __attribute__((unused)) foo;], MAYBE_UNUSED='__attribute__((unused))',) +AC_DEFINE_UNQUOTED(MAYBE_UNUSED,$MAYBE_UNUSED,[attribute for possibly unused variables]) +AC_MSG_RESULT($MAYBE_UNUSED) + AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine) AC_SUBST(asm_fs)