--- gforth/configure.in 2001/05/01 14:35:00 1.81 +++ gforth/configure.in 2002/03/13 16:59:12 1.82 @@ -35,17 +35,6 @@ AC_ARG_ENABLE(force-reg, but also incorrect code with some gcc versions on some processors (default disabled).], AC_DEFINE(FORCE_REG)) -dnl this is not quite according to the autoconf manual, it causes a replacement -AC_ARG_ENABLE(direct-threaded, -[ --enable-direct-threaded Force direct threading. This may not work on - some machines and may cause slowdown on others. - (default processor-dependent)], -AC_DEFINE(DIRECT_THREADED)) -AC_ARG_ENABLE(indirect-threaded, -[ --enable-indirect-threaded Force indirect threading. This can cause a - slowdown on some machines. - (default processor-dependent)], -AC_DEFINE(INDIRECT_THREADED)) AC_ARG_WITH(debug, [ --with-debug specifies option -g to compile with debug info (default) @@ -61,6 +50,10 @@ AC_ARG_WITH(peephole, but slower images.], PEEPHOLE="$withval") +#currently we force direct threading this way. Eventually we should +#setup in the arch and engine files right +AC_DEFINE(DIRECT_THREADED) + CFLAGS=$CFLAGS AC_PROG_CC