version 1.88, 2002/11/24 21:02:04
|
version 1.90, 2002/12/15 17:38:51
|
Line 36 AC_ARG_ENABLE(force-reg,
|
Line 36 AC_ARG_ENABLE(force-reg,
|
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)) |
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_WITH(debug, |
AC_ARG_WITH(debug, |
[ --with-debug specifies option -g to compile with debug info (default) |
[ --with-debug specifies option -g to compile with debug info (default) |
Line 117 if test "$ac_cv_int_type_cell" != int; t
|
Line 117 if test "$ac_cv_int_type_cell" != int; t
|
echo "Since you don't have a proper C on this machine, that's one more reason" |
echo "Since you don't have a proper C on this machine, that's one more reason" |
echo "to use Forth;-)" |
echo "to use Forth;-)" |
fi |
fi |
AC_DEFINE_UNQUOTED(CELL_TYPE,$ac_cv_int_type_cell) |
AC_DEFINE_UNQUOTED(CELL_TYPE,$ac_cv_int_type_cell,[an integer type that is as long as a pointer]) |
|
|
ac_cv_int_type_double_cell=none |
ac_cv_int_type_double_cell=none |
case `expr 2 '*' "$ac_cv_sizeof_char_p"` in |
case `expr 2 '*' "$ac_cv_sizeof_char_p"` in |
Line 140 if test "$ac_cv_int_type_double_cell" =
|
Line 140 if test "$ac_cv_int_type_double_cell" =
|
echo 'long longs for your machine (the GCC manual states that they \"are twice as' |
echo 'long longs for your machine (the GCC manual states that they \"are twice as' |
echo "long as \`long int\'\")." |
echo "long as \`long int\'\")." |
AC_LIBOBJ(dblsub) |
AC_LIBOBJ(dblsub) |
AC_DEFINE(BUGGY_LONG_LONG) |
AC_DEFINE(BUGGY_LONG_LONG,,[define this if there is no working DOUBLE_CELL_TYPE on your machine]) |
else |
else |
AC_DEFINE_UNQUOTED(DOUBLE_CELL_TYPE,$ac_cv_int_type_double_cell) |
AC_DEFINE_UNQUOTED(DOUBLE_CELL_TYPE,$ac_cv_int_type_double_cell,[an integer type that is twice as long as a pointer]) |
fi |
fi |
|
|
AC_MSG_CHECKING([whether the linker accepts -export-dynamic]) |
AC_MSG_CHECKING([whether the linker accepts -export-dynamic]) |
Line 205 case "$host_cpu" in
|
Line 205 case "$host_cpu" in
|
AC_MSG_RESULT($ac_link_mips_t) |
AC_MSG_RESULT($ac_link_mips_t) |
fixme #dynamically generated code should be in the same 256MB |
fixme #dynamically generated code should be in the same 256MB |
# region as the text segment; no indirect threading necessary |
# region as the text segment; no indirect threading necessary |
test $ac_link_mips_t = yes||(echo cannot link text and data into same 256M region, using indirect threading; AC_DEFINE(INDIRECT_THREADED)) |
test $ac_link_mips_t = yes||(echo cannot link text and data into same 256M region, using indirect threading; AC_DEFINE(INDIRECT_THREADED,,[Define if you want to force an indirect threaded code implementation])) |
AC_MSG_CHECKING([whether the linker accepts -D]) |
AC_MSG_CHECKING([whether the linker accepts -D]) |
OLDLDFLAGS=$LDFLAGS |
OLDLDFLAGS=$LDFLAGS |
LDFLAGS="$LDFLAGS -Xlinker -D -Xlinker 10400000" |
LDFLAGS="$LDFLAGS -Xlinker -D -Xlinker 10400000" |
Line 257 case "$host_os" in
|
Line 257 case "$host_os" in
|
esac |
esac |
AC_SUBST(EXE) |
AC_SUBST(EXE) |
AC_SUBST(DIRSEP) |
AC_SUBST(DIRSEP) |
AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP') |
AC_DEFINE_UNQUOTED(DIRSEP,'$DIRSEP',[a directory separator character]) |
|
|
dnl Now a little support for DOS/DJGCC |
dnl Now a little support for DOS/DJGCC |
AC_SUBST(GFORTH_EXE) |
AC_SUBST(GFORTH_EXE) |
Line 271 GFORTHDITC_EXE=""
|
Line 271 GFORTHDITC_EXE=""
|
|
|
PATHSEP=":" |
PATHSEP=":" |
AC_SUBST(PATHSEP) |
AC_SUBST(PATHSEP) |
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP') |
AC_DEFINE_UNQUOTED(PATHSEP,'$PATHSEP',[a path separator character]) |
|
|
AC_SUBST(FORTHSIZES) |
AC_SUBST(FORTHSIZES) |
|
|
if test "$PEEPHOLE" = "yes" |
if test "$PEEPHOLE" = "yes" |
then |
then |
PEEPHOLEFLAG="true" |
PEEPHOLEFLAG="true" |
AC_DEFINE(HAS_PEEPHOLE) |
AC_DEFINE(HAS_PEEPHOLE,,[Define if you want to use peephole optimization]) |
else |
else |
PEEPHOLEFLAG="false" |
PEEPHOLEFLAG="false" |
fi |
fi |
Line 324 AC_REPLACE_FUNCS(memmove strtoul pow10 s
|
Line 324 AC_REPLACE_FUNCS(memmove strtoul pow10 s
|
AC_CHECK_FUNCS(dlopen sys_siglist getrusage) |
AC_CHECK_FUNCS(dlopen sys_siglist getrusage) |
AC_DECL_SYS_SIGLIST |
AC_DECL_SYS_SIGLIST |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt.$ac_objext getopt1)) |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt.$ac_objext getopt1)) |
AC_CHECK_FUNCS(rint expm1 log1p) |
AC_CHECK_FUNCS(expm1 log1p) |
AC_REPLACE_FUNCS(ecvt) |
AC_REPLACE_FUNCS(rint ecvt) |
dnl No check for select, because our replacement is no good under |
dnl No check for select, because our replacement is no good under |
dnl anything but DOS |
dnl anything but DOS |
AC_CHECK_HEADERS(sys/mman.h fnmatch.h) |
AC_CHECK_HEADERS(sys/mman.h fnmatch.h) |