| ;; |
;; |
| esac |
esac |
| fi |
fi |
| AC_LIBSOURCES([../arch/arm/cacheflush0, dnl |
AC_LIBSOURCES([arch/arm/cacheflush0, dnl |
| ../arch/arm/cacheflush-linux]) |
arch/arm/cacheflush-linux]) |
| AC_LIBOBJ(../$arm_cacheflush) |
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 |
| fi |
fi |
| fi |
fi |
| |
|
| if grep FORCE_REG arch/$machine/machine.h >/dev/null; then |
if grep FORCE_REG $srcdir/arch/$machine/machine.h >/dev/null; then |
| OPTS2='' |
OPTS2='' |
| for i in $OPTS; do OPTS2="$OPTS2 $i-reg"; done |
for i in $OPTS; do OPTS2="$OPTS2 $i-reg"; done |
| OPTS="$OPTS2 $OPTS" |
OPTS="$OPTS2 $OPTS" |
| dnl MacOS X has a libtool that does something else |
dnl MacOS X has a libtool that does something else |
| AC_CHECK_PROGS(GNU_LIBTOOL,glibtool libtool) |
AC_CHECK_PROGS(GNU_LIBTOOL,glibtool libtool) |
| |
|
| |
if test -n "$GNU_LIBTOOL"; then |
| |
build_libcc_named=build-libcc-named |
| |
else |
| |
build_libcc_named="" |
| |
fi |
| |
AC_SUBST(build_libcc_named) |
| |
|
| |
|
| dnl Checks for library functions |
dnl Checks for library functions |
| dnl This check is just for making later checks link with libm. |
dnl This check is just for making later checks link with libm. |
| dnl using sin here is no good idea since it is built-into gcc and typechecked |
dnl using sin here is no good idea since it is built-into gcc and typechecked |
| chmod +x build-ec |
chmod +x build-ec |
| chmod +x preforth |
chmod +x preforth |
| test -d kernel||mkdir kernel |
test -d kernel||mkdir kernel |
| |
if test $srcdir != "."; then ln -sf $srcdir/gforth.el .; fi |
| $srcdir/mkinstalldirs include/gforth/$PACKAGE_VERSION |
$srcdir/mkinstalldirs include/gforth/$PACKAGE_VERSION |
| ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth/$PACKAGE_VERSION]],[[PACKAGE_VERSION=$PACKAGE_VERSION]]) |
ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth/$PACKAGE_VERSION]],[[PACKAGE_VERSION=$PACKAGE_VERSION]]) |
| AC_OUTPUT |
AC_OUTPUT |