Diff for /gforth/configure.in between versions 1.206 and 1.211

version 1.206, 2008/01/07 20:54:15 version 1.211, 2008/01/21 13:21:57
Line 32  AC_CONFIG_HEADERS(engine/config.h) Line 32  AC_CONFIG_HEADERS(engine/config.h)
 #suppress the "-g -O2" default  #suppress the "-g -O2" default
 test "$CFLAGS" || CFLAGS=-O2  test "$CFLAGS" || CFLAGS=-O2
   
 AC_ARG_ENABLE(force-reg,  
         AC_HELP_STRING([--enable-force-reg],  
                         [ Use explicit register declarations if they appear in  
                           the machine.h file. This can cause a good speedup,  
                           but also incorrect code with some gcc versions on  
                           some processors (default disabled).]),  
         ,enable_force_reg=no)  
 test "$enable_force_reg" = "no"||  
   AC_DEFINE(FORCE_REG,,[Define if you want to use explicit register declarations for better performance or for more convenient CODE words (does not work with all GCC versions on all machines)])  
   
 AC_ARG_ENABLE(force-cdiv,  AC_ARG_ENABLE(force-cdiv,
         AC_HELP_STRING([--enable-force-cdiv],          AC_HELP_STRING([--enable-force-cdiv],
                        [  Use the native C division - symmetric - instead of                         [  Use the native C division - symmetric - instead of
Line 198  case "$host_cpu" in Line 188  case "$host_cpu" in
                    CFLAGS="$CFLAGS -mthumb -mthumb-interwork"                     CFLAGS="$CFLAGS -mthumb -mthumb-interwork"
                 fi                  fi
                 if test -z $arm_cacheflush; then                  if test -z $arm_cacheflush; then
                     if test $host_os = linux; then
                       arm_cacheflush=arch/arm/cacheflush-linux
                     else
                     no_dynamic_default=1                      no_dynamic_default=1
                     arm_cacheflush=arch/arm/cacheflush0                      arm_cacheflush=arch/arm/cacheflush0
                     AC_MSG_WARN([No I-cache flush code known, disabling dynamic native code generation])                      AC_MSG_WARN([No I-cache flush code known, disabling dynamic native code generation])
                     fi
                 fi                  fi
                 AC_LIBSOURCES([../arch/arm/cacheflush0, ../arch/arm/cacheflush1, ../arch/arm/cacheflush2])                  AC_LIBSOURCES([../arch/arm/cacheflush0, ../arch/arm/cacheflush1, ../arch/arm/cacheflush2])
                 AC_LIBOBJ(../$arm_cacheflush)                  AC_LIBOBJ(../$arm_cacheflush)
Line 518  else Line 512  else
            OPTS=-noll             OPTS=-noll
         fi          fi
 fi  fi
   
   if grep -q FORCE_REG arch/$machine/machine.h; then
      OPTS=`for i in $OPTS; do echo -n "$i-reg "; done`$OPTS
   fi
 AC_SUBST(OPTS)  AC_SUBST(OPTS)
   
 AC_TYPE_OFF_T  AC_TYPE_OFF_T
Line 606  AC_MSG_RESULT($M4) Line 604  AC_MSG_RESULT($M4)
 # Find installed Gforth  # Find installed Gforth
 AC_MSG_CHECKING([for gforth])  AC_MSG_CHECKING([for gforth])
 GFORTH="`which gforth 2>/dev/null`"  GFORTH="`which gforth 2>/dev/null`"
 if test ! -z "$GFORTH"; then  GFORTH="$GFORTH -m4M" ; fi  if test ! -z "$GFORTH"; then  GFORTH="$GFORTH -m4M --die-on-signal -i `gforth --debug -e bye 2>&1 |grep "Opened image file: "|sed 's/Opened image file: //'`" ; fi
 AC_SUBST(GFORTH)  AC_SUBST(GFORTH)
 AC_DEFINE_UNQUOTED(GFORTH,"$GFORTH",[How to invoke gforth])  AC_DEFINE_UNQUOTED(GFORTH,"$GFORTH",[How to invoke gforth])
 AC_MSG_RESULT($GFORTH)  AC_MSG_RESULT($GFORTH)
Line 662  AC_CHECK_PROG([MASSAGE_EXE],[chcon],[chc Line 660  AC_CHECK_PROG([MASSAGE_EXE],[chcon],[chc
   
 dnl Now a little support for DOS/DJGCC  dnl Now a little support for DOS/DJGCC
 AC_SUBST(GFORTH_EXE)  AC_SUBST(GFORTH_EXE)
 GFORTH_EXE=""  GFORTH_EXE="true"
 AC_SUBST(GFORTHFAST_EXE)  AC_SUBST(GFORTHFAST_EXE)
 GFORTHFAST_EXE=""  GFORTHFAST_EXE="true"
 AC_SUBST(GFORTHITC_EXE)  AC_SUBST(GFORTHITC_EXE)
 GFORTHITC_EXE=""  GFORTHITC_EXE="true"
 AC_SUBST(GFORTHDITC_EXE)  AC_SUBST(GFORTHDITC_EXE)
 GFORTHDITC_EXE=""  GFORTHDITC_EXE="true"
   
 AC_SUBST(FORTHSIZES)  AC_SUBST(FORTHSIZES)
   

Removed from v.1.206  
changed lines
  Added in v.1.211


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