version 1.175, 2007/03/18 18:30:42
|
version 1.179, 2007/03/31 21:43:18
|
Line 94 if test "$enable_ec" = "yes"; then
|
Line 94 if test "$enable_ec" = "yes"; then
|
echo "defining standalone system" |
echo "defining standalone system" |
AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS]) |
AC_DEFINE(STANDALONE,,[Define if you want a Gforth without OS]) |
EC_MODE="true" |
EC_MODE="true" |
|
EC="-ec" |
|
engine2="" |
|
engine_fast2="" |
|
no_dynamic="-DNO_DYNAMIC" |
|
image_i="image.i" |
|
signals_o="" |
else |
else |
echo "defining hosted system" |
echo "defining hosted system" |
EC_MODE="false" |
EC_MODE="false" |
|
EC="" |
|
engine2="engine2.o" |
|
engine_fast2="engine-fast2.o" |
|
no_dynamic="" |
|
image_i="" |
|
signals_o="signals.o" |
fi |
fi |
|
|
#variables mentioned in INSTALL |
#variables mentioned in INSTALL |
Line 145 test "$GCC" = "yes" || AC_MSG_ERROR(Gfor
|
Line 157 test "$GCC" = "yes" || AC_MSG_ERROR(Gfor
|
|
|
AC_SUBST(CC) |
AC_SUBST(CC) |
AC_SUBST(DEBUGFLAG) |
AC_SUBST(DEBUGFLAG) |
|
AC_SUBST(EC) |
AC_SUBST(EC_MODE) |
AC_SUBST(EC_MODE) |
|
AC_SUBST(engine2) |
|
AC_SUBST(engine_fast2) |
|
AC_SUBST(no_dynamic) |
|
AC_SUBST(image_i) |
|
AC_SUBST(signals_o) |
|
|
#this is used to disable some (not generally essential) part of the |
#this is used to disable some (not generally essential) part of the |
#Makefile that some makes don't grok. It would be better to test for |
#Makefile that some makes don't grok. It would be better to test for |
Line 180 case "$host_cpu" in
|
Line 198 case "$host_cpu" in
|
fi |
fi |
AC_LIBSOURCES([../arch/arm/cacheflush0, ../arch/arm/cacheflush1, ../arch/arm/cacheflush2]) |
AC_LIBSOURCES([../arch/arm/cacheflush0, ../arch/arm/cacheflush1, ../arch/arm/cacheflush2]) |
AC_LIBOBJ(../$arm_cacheflush) |
AC_LIBOBJ(../$arm_cacheflush) |
|
#longer skipcodes lead to problems on ARM, and it uses |
|
#only 4-byte alignment anyway |
|
test "$skipcode" || skipcode="nop" |
;; |
;; |
hppa*) |
hppa*) |
machine=hppa |
machine=hppa |
Line 647 if test -z "$asmcomment"; then
|
Line 668 if test -z "$asmcomment"; then
|
asmcomment=no |
asmcomment=no |
CFLAGS_1="$CFLAGS" |
CFLAGS_1="$CFLAGS" |
CFLAGS="$CFLAGS $ENGINE_FLAGS" |
CFLAGS="$CFLAGS $ENGINE_FLAGS" |
for i in '"# "' '"! "'; do |
for i in '"# "' '"! "' '"; "'; do |
AC_TRY_COMPILE(,[asm($i"fluffystunk");],asmcomment=$i; break,) |
AC_TRY_COMPILE(,[asm($i"fluffystunk");],asmcomment=$i; break,) |
done |
done |
CFLAGS=$CFLAGS_1 |
CFLAGS=$CFLAGS_1 |
Line 716 AC_CHECK_FUNCS(mmap sysconf getpagesize)
|
Line 737 AC_CHECK_FUNCS(mmap sysconf getpagesize)
|
AM_PATH_LISPDIR |
AM_PATH_LISPDIR |
|
|
kernel_fi=kernl${wordsize}${bytesex}.fi |
kernel_fi=kernl${wordsize}${bytesex}.fi |
|
include_fi=kernl${wordsize}${bytesex}${EC}.fi |
AC_SUBST(kernel_fi) |
AC_SUBST(kernel_fi) |
|
AC_SUBST(include_fi) |
|
|
#this breaks bindists |
#this breaks bindists |
#dnl replace srource directory by absolute value |
#dnl replace srource directory by absolute value |