Diff for /gforth/configure.in between versions 1.147 and 1.150

version 1.147, 2005/01/23 09:55:12 version 1.150, 2005/01/29 16:55:30
Line 34  AC_CONFIG_HEADERS(engine/config.h) Line 34  AC_CONFIG_HEADERS(engine/config.h)
 test "$CFLAGS" || CFLAGS=-O2  test "$CFLAGS" || CFLAGS=-O2
   
 AC_ARG_ENABLE(force-reg,  AC_ARG_ENABLE(force-reg,
 [  --enable-force-reg     Use explicit register declarations if they appear in          AC_HELP_STRING([--enable-force-reg],
                           [ Use explicit register declarations if they appear in
                           the machine.h file. This can cause a good speedup,                            the machine.h file. This can cause a good speedup,
                           but also incorrect code with some gcc versions on                            but also incorrect code with some gcc versions on
                           some processors (default disabled).],                            some processors (default disabled).]),
 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)]))          ,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-ll,  AC_ARG_ENABLE(force-ll,
 [  --enable-force-ll      Use explicit long long declarations if they appear in          AC_HELP_STRING([--enable-force-ll],
                          [  Use explicit long long declarations if they appear in
                           the machine.h file. This can cause a good speedup,                            the machine.h file. This can cause a good speedup,
                           but also incorrect code with some gcc versions on                            but also incorrect code with some gcc versions on
                           some processors (default disabled).],                            some processors (default disabled).]),
 AC_DEFINE(FORCE_LL,,[Define if you want to use explicit long long declarations for better performance (does not work with all GCC versions on all machines)]))          ,enable_force_ll=no)
 AC_SUBST(PROFEXES)  test "$enable_force_ll" = "no"||
 AC_SUBST(PROFOBJS)    AC_DEFINE(FORCE_LL,,[Define if you want to use explicit long long declarations for better performance (does not work with all GCC versions on all machines)])
   
 AC_ARG_ENABLE(gcc-pr15242-workaround,  AC_ARG_ENABLE(gcc-pr15242-workaround,
               AC_HELP_STRING([--disable-gcc-pr15242-workaround],[Disables                AC_HELP_STRING([--disable-gcc-pr15242-workaround],[Disables
Line 59  test "$enable_gcc_pr15242_workaround" = Line 64  test "$enable_gcc_pr15242_workaround" =
 AC_DEFINE(GCC_PR15242_WORKAROUND,,[Define if you want to get dynamic code  AC_DEFINE(GCC_PR15242_WORKAROUND,,[Define if you want to get dynamic code
 generation on gccs affected by PR15242])  generation on gccs affected by PR15242])
   
   AC_ARG_ENABLE(force-cdiv,
           AC_HELP_STRING([--enable-force-cdiv],
                          [  Use the native C division - symmetric - instead of
                             floored division (default disabled).]),
           ,enable_force_cdiv=no)
   test "$enable_force_cdiv" = "no"||
     AC_DEFINE(FORCE_CDIV,,[Define if you want to use explicit symmetric division for better performance])
   
   AC_SUBST(PROFEXES)
   AC_SUBST(PROFOBJS)
 AC_ARG_ENABLE(prof,  AC_ARG_ENABLE(prof,
 [  --enable-prof          Build gforth-prof, which outputs frequently occuring          AC_HELP_STRING([--enable-prof],
                           sequences of primitives.],                          [ Build gforth-prof, which outputs frequently occuring
 PROFEXES="gforth-prof\$(EXE)"; PROFOBJS="engine-prof.o main-prof.o profile.o")                            sequences of primitives.]),
           ,enable_prof=no)
   if test "$enable_prof" = "no"; then
     PROFEXES="gforth-prof\$(EXE)"; PROFOBJS="engine-prof.o main-prof.o profile.o"
   fi
   
 AC_ARG_WITH(debug,  AC_ARG_WITH(debug,
 [  --with-debug           specifies option -g to compile with debug info  [  --with-debug           specifies option -g to compile with debug info
Line 489  else Line 508  else
 fi  fi
   
 #check how to do asm(".skip 16")  #check how to do asm(".skip 16")
   echo "CFLAGS=$CFLAGS"
   echo "ac_link=$ac_link"
 AC_MSG_CHECKING([if and how we can waste code space])  AC_MSG_CHECKING([if and how we can waste code space])
 if test -z "$skipcode"; then  if test -z "$skipcode"; then
       skipcode=no
       CFLAGS_1="$CFLAGS"
       CFLAGS="$CFLAGS $ENGINE_FLAGS"
     for i in ".skip 16" ".block 16" ".org .+16" ".=.+16" ".space 16"      for i in ".skip 16" ".block 16" ".org .+16" ".=.+16" ".space 16"
     do      do
         AC_TRY_RUN(          AC_TRY_RUN(
Line 505  int foo(int x, int y, int z) Line 529  int foo(int x, int y, int z)
   if (x) {    if (x) {
     y++; /* workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12108 */      y++; /* workaround for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12108 */
   label1:    label1:
     asm(".skip 16"); /* or ".space 16" or somesuch */      asm("$i"); /* or ".space 16" or somesuch */
   label2: ;    label2: ;
   }    }
   {    {
Line 516  int foo(int x, int y, int z) Line 540  int foo(int x, int y, int z)
         ,skipcode=$i; break          ,skipcode=$i; break
         ,,)          ,,)
     done      done
       CFLAGS=$CFLAGS_1
 fi  fi
 AC_MSG_RESULT($skipcode)  AC_MSG_RESULT($skipcode)
 if test "$skipcode" = no  if test "$skipcode" = no

Removed from v.1.147  
changed lines
  Added in v.1.150


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