--- gforth/configure.in 2008/10/25 17:18:42 1.257 +++ gforth/configure.in 2008/10/26 13:28:02 1.259 @@ -20,12 +20,12 @@ dnl Process this file with autoconf to p dnl We use some automake macros here, 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) #snapshots have numbers major.minor.release-YYYYMMDD #note that lexicographic ordering must be heeded. #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_CONFIG_HEADERS(engine/config.h) @@ -213,8 +213,8 @@ case "$host_cpu" in ;; esac fi - AC_LIBSOURCES([../arch/arm/cacheflush0, dnl - ../arch/arm/cacheflush-linux]) + AC_LIBSOURCES([arch/arm/cacheflush0, dnl + arch/arm/cacheflush-linux]) AC_LIBOBJ(../$arm_cacheflush) #longer skipcodes lead to problems on ARM, and it uses #only 4-byte alignment anyway @@ -531,7 +531,7 @@ else 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='' for i in $OPTS; do OPTS2="$OPTS2 $i-reg"; done OPTS="$OPTS2 $OPTS" @@ -822,6 +822,14 @@ AC_CHECK_PROGS(TEXI2DVI,texi2dvi4a2ps te dnl MacOS X has a libtool that does something else 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 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 @@ -908,6 +916,7 @@ chmod +x vmgen chmod +x build-ec chmod +x preforth test -d kernel||mkdir kernel +if test $srcdir != "."; then ln -sf $srcdir/gforth.el .; fi $srcdir/mkinstalldirs include/gforth/$PACKAGE_VERSION ln -sf ../../../engine/config.h ../../../engine/libcc.h include/gforth/$PACKAGE_VERSION]],[[PACKAGE_VERSION=$PACKAGE_VERSION]]) AC_OUTPUT