--- gforth/configure.in 2003/01/07 09:31:19 1.98 +++ gforth/configure.in 2003/01/20 17:07:37 1.102 @@ -108,6 +108,8 @@ AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(long long) +AC_CHECK_SIZEOF(intptr_t) +AC_CHECK_SIZEOF(int128_t) AC_MSG_CHECKING([for a C type for cells]) ac_cv_int_type_cell=none @@ -127,6 +129,12 @@ case "$ac_cv_sizeof_char_p" in $ac_cv_sizeof_long_long) ac_cv_int_type_cell="long long" ;; + $ac_cv_sizeof_intptr_t) + ac_cv_int_type_cell="intptr_t" + ;; + $ac_cv_sizeof_int128_t) + ac_cv_int_type_cell="int128_t" + ;; esac AC_MSG_RESULT($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]) @@ -146,6 +154,12 @@ case `expr 2 '*' "$ac_cv_sizeof_char_p"` $ac_cv_sizeof_long_long) ac_cv_int_type_double_cell="long long" ;; + $ac_cv_sizeof_intptr_t) + ac_cv_int_type_double_cell="intptr_t" + ;; + $ac_cv_sizeof_int128_t) + ac_cv_int_type_double_cell="int128_t" + ;; esac AC_MSG_RESULT($ac_cv_int_type_double_cell) if test "$ac_cv_int_type_double_cell" = none; then @@ -211,9 +225,6 @@ case "$host_cpu" in then AC_LIBOBJ(termios) fi - #I-cache flushing would be needed for dynamic code generation - no_dynamic_default=1 - AC_MSG_WARN(Disabling dynamic native code generation by default (speed penalty factor ~2)) ;; mips*) machine=mips @@ -232,19 +243,6 @@ case "$host_cpu" in #Therefore we disable dynamic native code by default: no_dynamic_default=1 AC_MSG_WARN(Disabling dynamic native code generation by default (speed penalty factor ~2)) - #link text and data segment into the same 256M region! - AC_MSG_CHECKING([whether the linker accepts -T]) - OLDLDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -Xlinker -T -Xlinker 10000000" - AC_TRY_LINK(,,ac_link_mips_t=yes,ac_link_mips_t=no) - test $ac_link_mips_t = yes||LDFLAGS=$OLDLDFLAGS - AC_MSG_RESULT($ac_link_mips_t) - AC_MSG_CHECKING([whether the linker accepts -D]) - OLDLDFLAGS=$LDFLAGS - LDFLAGS="$LDFLAGS -Xlinker -D -Xlinker 10400000" - AC_TRY_LINK(,,ac_link_mips_d=yes,ac_link_mips_d=no) - test $ac_link_mips_d = yes||LDFLAGS=$OLDLDFLAGS - AC_MSG_RESULT($ac_link_mips_d) ;; alpha*) machine=alpha