Diff for /gforth/configure.in between versions 1.202 and 1.203

version 1.202, 2008/01/01 13:39:14 version 1.203, 2008/01/02 21:04:44
Line 120  else Line 120  else
 fi])  fi])
   
 #variables mentioned in INSTALL  #variables mentioned in INSTALL
 AC_ARG_VAR(CC, [The C compiler (must support GNU C 2.x); gcc-2.95 recommended.])  AC_ARG_VAR(CC, [The C compiler (must support GNU C 2.x).])
 AC_ARG_VAR(FORTHSIZES, [Gforth command line options for the default stack and dictionary sizes (see INSTALL).])  AC_ARG_VAR(FORTHSIZES, [Gforth command line options for the default stack and dictionary sizes (see INSTALL).])
   AC_ARG_VAR(STACK_CACHE_REGS, [number of registers in the maximum stack cache state for gforth-fast and gforth-native (default platform-dependent).])
 AC_ARG_VAR(STACK_CACHE_DEFAULT_FAST, [number of registers in the default stack cache state for gforth-fast and gforth-native (default 1).])  AC_ARG_VAR(STACK_CACHE_DEFAULT_FAST, [number of registers in the default stack cache state for gforth-fast and gforth-native (default 1).])
 AC_ARG_VAR(GCC_PR15242_WORKAROUND, [Force the enabling (1) or disabling (0) of a workaround for a gcc-3.x performance bug (default unset: use workaround for gcc-3.x)])  AC_ARG_VAR(GCC_PR15242_WORKAROUND, [Force the enabling (1) or disabling (0) of a workaround for a gcc-3.x performance bug (default unset: use workaround for gcc-3.x)])
   
Line 314  case "$host_cpu" in Line 315  case "$host_cpu" in
                 test x$ac_cv_sizeof_long_long = x &&                   test x$ac_cv_sizeof_long_long = x && 
                 ($CC -v 2>&1 |grep -q 'gcc version 2.95') &&                  ($CC -v 2>&1 |grep -q 'gcc version 2.95') &&
                 ac_cv_sizeof_long_long=0                  ac_cv_sizeof_long_long=0
                   #The only architecture with enough callee-saved registers
                   test x$STACK_CACHE_REGS = x && STACK_CACHE_REGS=3
                   #or use 2, hardly slower at run-time and starts up faster
                 ;;                  ;;
         *)          *)
                 AC_MSG_WARN([Using a generic machine description])                  AC_MSG_WARN([Using a generic machine description])
Line 348  then Line 352  then
 fi  fi
 AC_SUBST(MAKEINC)  AC_SUBST(MAKEINC)
   
   AC_ARG_VAR(STACK_CACHE_REGS, [number of registers in the maximum stack cache state for gforth-fast and gforth-native (default platform-dependent).])
   
   test x$STACK_CACHE_REGS = x && STACK_CACHE_REGS=1
   AC_DEFINE_UNQUOTED(STACK_CACHE_REGS, $STACK_CACHE_REGS,
                      [number of registers in the maximum stack cache state for gforth-fast and gforth-native])
 test x$STACK_CACHE_DEFAULT_FAST = x && STACK_CACHE_DEFAULT_FAST=1  test x$STACK_CACHE_DEFAULT_FAST = x && STACK_CACHE_DEFAULT_FAST=1
 AC_DEFINE_UNQUOTED(STACK_CACHE_DEFAULT_FAST, $STACK_CACHE_DEFAULT_FAST,  AC_DEFINE_UNQUOTED(STACK_CACHE_DEFAULT_FAST, $STACK_CACHE_DEFAULT_FAST,
                    [number of registers in the default stack cache state for gforth-fast and gforth-native])                     [number of registers in the default stack cache state for gforth-fast and gforth-native])

Removed from v.1.202  
changed lines
  Added in v.1.203


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>