version 1.258, 2008/10/25 22:30:06
|
version 1.261, 2008/10/27 22:03:12
|
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.6.9-20081006],[https://savannah.gnu.org/bugs/?func=addbug&group=gforth]) |
AC_INIT([gforth],[0.6.9-20081026],[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. |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
#I.e., 0.4.1-YYYYMMDD must not exist before 0.4.1! |
UPDATED="October 10, 2008" |
UPDATED="October 26, 2008" |
AC_SUBST(UPDATED) |
AC_SUBST(UPDATED) |
AC_CONFIG_HEADERS(engine/config.h) |
AC_CONFIG_HEADERS(engine/config.h) |
|
|
Line 197 AC_CANONICAL_HOST
|
Line 197 AC_CANONICAL_HOST
|
case "$host_cpu" in |
case "$host_cpu" in |
arm*) |
arm*) |
machine=arm |
machine=arm |
|
$srcdir/mkinstalldirs arch/arm |
CFLAGS="$CFLAGS -fomit-frame-pointer" |
CFLAGS="$CFLAGS -fomit-frame-pointer" |
if test x$platform = xnxt; then |
if test x$platform = xnxt; then |
CFLAGS="$CFLAGS -mthumb -mthumb-interwork" |
CFLAGS="$CFLAGS -mthumb -mthumb-interwork" |
Line 204 case "$host_cpu" in
|
Line 205 case "$host_cpu" in
|
if test -z $arm_cacheflush; then |
if test -z $arm_cacheflush; then |
case "$host_os" in |
case "$host_os" in |
*linux*) |
*linux*) |
arm_cacheflush=arch/arm/cacheflush-linux |
AC_LIBOBJ(../arch/arm/cacheflush-linux) |
;; |
;; |
*) |
*) |
no_dynamic_default=1 |
no_dynamic_default=1 |
arm_cacheflush=arch/arm/cacheflush0 |
AC_LIBOBJ(../arch/arm/cacheflush0) |
AC_MSG_WARN([No I-cache flush code known, disabling dynamic native code generation]) |
AC_MSG_WARN([No I-cache flush code known, disabling dynamic native code generation]) |
;; |
;; |
esac |
esac |
|
else |
|
AC_LIBOBJ(../$arm_cacheflush) |
|
test $srcdir = . || AC_MSG_WARN([setting arm_cacheflush requires building in the source directory]) |
fi |
fi |
AC_LIBSOURCES([arch/arm/cacheflush0, dnl |
|
arch/arm/cacheflush-linux]) |
|
AC_LIBOBJ(../$arm_cacheflush) |
|
#longer skipcodes lead to problems on ARM, and it uses |
#longer skipcodes lead to problems on ARM, and it uses |
#only 4-byte alignment anyway |
#only 4-byte alignment anyway |
test "$skipcode" || skipcode="nop" |
test "$skipcode" || skipcode="nop" |