version 1.256, 2008/10/20 11:56:58
|
version 1.259, 2008/10/26 13:28:02
|
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 213 case "$host_cpu" in
|
Line 213 case "$host_cpu" in
|
;; |
;; |
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 |
Line 531 else
|
Line 531 else
|
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" |
Line 625 AC_MSG_RESULT($M4)
|
Line 625 AC_MSG_RESULT($M4)
|
# Find installed Gforth |
# Find installed Gforth |
AC_MSG_CHECKING([for gforth]) |
AC_MSG_CHECKING([for gforth]) |
GFORTH="`cd / && which gforth 2>/dev/null`" |
GFORTH="`cd / && which gforth 2>/dev/null`" |
(cd / && $GFORTH -e bye >/dev/null 2>/dev/null) || GFORTH="" |
#the "$srcdir" = "." test defends agains the "../" bug in gforth-0.6.2 |
|
(cd / && $GFORTH -e bye >/dev/null 2>/dev/null && test "$srcdir" = ".") || GFORTH="" |
if test -z "$GFORTH"; then |
if test -z "$GFORTH"; then |
PREFORTH='echo "You need to configure with a gforth in \$PATH to build this part" && false' |
PREFORTH='echo "You need to configure with a gforth in \$PATH to build this part" && false' |
kernel_anti_dependence='' |
kernel_anti_dependence='' |
Line 821 AC_CHECK_PROGS(TEXI2DVI,texi2dvi4a2ps te
|
Line 822 AC_CHECK_PROGS(TEXI2DVI,texi2dvi4a2ps te
|
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 |
Line 907 chmod +x vmgen
|
Line 916 chmod +x vmgen
|
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 |