version 1.276, 2010/01/09 23:45:03
|
version 1.278, 2010/07/25 14:33:01
|
Line 20 dnl Process this file with autoconf to p
|
Line 20 dnl Process this file with autoconf to p
|
|
|
dnl We use some automake macros here, |
dnl We use some automake macros here, |
dnl but don't use automake for creating Makefile.in |
dnl but don't use automake for creating Makefile.in |
AC_INIT([gforth],[0.7.0-20090215],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.7.0-20100725],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_PREREQ(2.54) |
AC_PREREQ(2.54) |
#snapshots have numbers major.minor.release-YYYYMMDD |
#snapshots have numbers major.minor.release-YYYYMMDD |
#note that lexicographic ordering must be heeded. |
#note that lexicographic ordering must be heeded. |
Line 479 esac
|
Line 479 esac
|
AC_MSG_RESULT($ac_cv_tetrabyte_type_cell) |
AC_MSG_RESULT($ac_cv_tetrabyte_type_cell) |
AC_DEFINE_UNQUOTED(TETRABYTE_TYPE,$ac_cv_tetrabyte_type_cell,[an integer type that is 4 bytes long]) |
AC_DEFINE_UNQUOTED(TETRABYTE_TYPE,$ac_cv_tetrabyte_type_cell,[an integer type that is 4 bytes long]) |
|
|
|
AC_MSG_CHECKING([for a C type for octabytes]) |
|
ac_cv_octabyte_type_cell=none |
|
case 8 in |
|
$ac_cv_sizeof_int) |
|
ac_cv_octabyte_type_cell=int |
|
;; |
|
$ac_cv_sizeof_short) |
|
ac_cv_octabyte_type_cell=short |
|
;; |
|
$ac_cv_sizeof_char) |
|
ac_cv_octabyte_type_cell=char |
|
;; |
|
$ac_cv_sizeof_long) |
|
ac_cv_octabyte_type_cell=long |
|
;; |
|
$ac_cv_sizeof_long_long) |
|
ac_cv_octabyte_type_cell="long long" |
|
;; |
|
$ac_cv_sizeof_intptr_t) |
|
ac_cv_octabyte_type_cell="intptr_t" |
|
;; |
|
esac |
|
AC_MSG_RESULT($ac_cv_octabyte_type_cell) |
|
AC_DEFINE_UNQUOTED(OCTABYTE_TYPE,$ac_cv_octabyte_type_cell,[an integer type that is 8 bytes long]) |
|
|
AC_MSG_CHECKING([for a C type for double-cells]) |
AC_MSG_CHECKING([for a C type for double-cells]) |
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 668 AC_MSG_RESULT($PREFORTH)
|
Line 693 AC_MSG_RESULT($PREFORTH)
|
dnl AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine) |
dnl AC_CHECK_PROG(asm_fs,asm.fs,arch/$machine/asm.fs,,$srcdir/arch/$machine) |
if test x$EC_MODE = xfalse |
if test x$EC_MODE = xfalse |
then |
then |
AC_CHECK_FILE($srcdir/arch/$machine/asm.fs,[asm_fs=arch/$machine/asm.fs],) |
AS_IF([test -f $srcdir/arch/$machine/asm.fs], |
|
[asm_fs=arch/$machine/asm.fs]) |
fi |
fi |
AC_SUBST(asm_fs) |
AC_SUBST(asm_fs) |
|
|
dnl AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine) |
dnl AC_CHECK_PROG(disasm_fs,disasm.fs,arch/$machine/disasm.fs,,$srcdir/arch/$machine) |
if test x$EC_MODE = xfalse |
if test x$EC_MODE = xfalse |
then |
then |
AC_CHECK_FILE($srcdir/arch/$machine/disasm.fs,[disasm_fs=arch/$machine/disasm.fs],) |
AS_IF([test -f $srcdir/arch/$machine/disasm.fs], |
|
[disasm_fs=arch/$machine/disasm.fs]) |
fi |
fi |
AC_SUBST(disasm_fs) |
AC_SUBST(disasm_fs) |
|
|
Line 919 AC_CHECK_FUNCS(expm1 log1p)
|
Line 946 AC_CHECK_FUNCS(expm1 log1p)
|
AC_REPLACE_FUNCS(rint 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 alloca.h wchar.h) |
AC_CHECK_HEADERS(sys/mman.h fnmatch.h alloca.h wchar.h endian.h) |
AC_FUNC_FNMATCH |
AC_FUNC_FNMATCH |
test $ac_cv_func_fnmatch_works = yes || AC_LIBOBJ(fnmatch) |
test $ac_cv_func_fnmatch_works = yes || AC_LIBOBJ(fnmatch) |
AC_CHECK_FUNCS(mmap sysconf getpagesize wcwidth) |
AC_CHECK_FUNCS(mmap sysconf getpagesize wcwidth) |