version 1.97, 2003/01/06 10:51:26
|
version 1.102, 2003/01/20 17:07:37
|
Line 108 AC_CHECK_SIZEOF(short)
|
Line 108 AC_CHECK_SIZEOF(short)
|
AC_CHECK_SIZEOF(int) |
AC_CHECK_SIZEOF(int) |
AC_CHECK_SIZEOF(long) |
AC_CHECK_SIZEOF(long) |
AC_CHECK_SIZEOF(long 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_MSG_CHECKING([for a C type for cells]) |
ac_cv_int_type_cell=none |
ac_cv_int_type_cell=none |
Line 127 case "$ac_cv_sizeof_char_p" in
|
Line 129 case "$ac_cv_sizeof_char_p" in
|
$ac_cv_sizeof_long_long) |
$ac_cv_sizeof_long_long) |
ac_cv_int_type_cell="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 |
esac |
AC_MSG_RESULT($ac_cv_int_type_cell) |
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]) |
AC_DEFINE_UNQUOTED(CELL_TYPE,$ac_cv_int_type_cell,[an integer type that is as long as a pointer]) |
Line 146 case `expr 2 '*' "$ac_cv_sizeof_char_p"`
|
Line 154 case `expr 2 '*' "$ac_cv_sizeof_char_p"`
|
$ac_cv_sizeof_long_long) |
$ac_cv_sizeof_long_long) |
ac_cv_int_type_double_cell="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 |
esac |
AC_MSG_RESULT($ac_cv_int_type_double_cell) |
AC_MSG_RESULT($ac_cv_int_type_double_cell) |
if test "$ac_cv_int_type_double_cell" = none; then |
if test "$ac_cv_int_type_double_cell" = none; then |
Line 211 case "$host_cpu" in
|
Line 225 case "$host_cpu" in
|
then |
then |
AC_LIBOBJ(termios) |
AC_LIBOBJ(termios) |
fi |
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*) |
mips*) |
machine=mips |
machine=mips |
Line 232 case "$host_cpu" in
|
Line 243 case "$host_cpu" in
|
#Therefore we disable dynamic native code by default: |
#Therefore we disable dynamic native code by default: |
no_dynamic_default=1 |
no_dynamic_default=1 |
AC_MSG_WARN(Disabling dynamic native code generation by default (speed penalty factor ~2)) |
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*) |
alpha*) |
machine=alpha |
machine=alpha |
Line 287 case "$host_os" in
|
Line 285 case "$host_os" in
|
;; |
;; |
*darwin*) |
*darwin*) |
#Darwin uses some funny preprocessor by default; eliminate it: |
#Darwin uses some funny preprocessor by default; eliminate it: |
AC_MSG_WARN([using -traditional-cpp on Darwin]) |
AC_MSG_NOTICE([using -traditional-cpp on Darwin]) |
CFLAGS="$CFLAGS -traditional-cpp" |
CFLAGS="$CFLAGS -traditional-cpp" |
;; |
EXE="" |
|
DIRSEP="/" |
|
;; |
*) |
*) |
EXE="" |
EXE="" |
DIRSEP="/" |
DIRSEP="/" |
Line 398 fi
|
Line 398 fi
|
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) |
AC_REPLACE_FUNCS(memmove strtoul pow10 strerror strsignal atanh) |
AC_FUNC_FSEEKO |
AC_FUNC_FSEEKO |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
AC_CHECK_FUNCS(ftello dlopen sys_siglist getrusage) |
|
AC_CHECK_TYPES(stack_t) |
AC_DECL_SYS_SIGLIST |
AC_DECL_SYS_SIGLIST |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt); AC_LIBOBJ(getopt1)) |
AC_CHECK_FUNC(getopt_long,true,AC_LIBOBJ(getopt); AC_LIBOBJ(getopt1)) |
AC_CHECK_FUNCS(expm1 log1p) |
AC_CHECK_FUNCS(expm1 log1p) |