Repair make distcheck.
This is extremely fragile. It works now on my Fedora 14 box with the following build script:
CONFIGURE_ARGS="--with-java-runtime-library-prefix=$CLASSPATH_PREFIX --with-jasmin-jar=$ADDITIONAL_JARS_PATH/cup.jar:$ADDITIONAL_JARS_PATH/jasmin-sable.jar"
hg clone $SRCDIR/cacao
cd cacao
(cd src/mm/boehm-gc && sh ./autogen.sh)
(cd src/mm/boehm-gc/libatomic_ops && autoreconf)
./autogen.sh && ./configure $CONFIGURE_ARGS --enable-maintainer-mode && make -j4 || exit 1
make distcheck DISTCHECK_CONFIGURE_FLAGS="$CONFIGURE_ARGS"
# SUBDIRS =
# endif
SUBDIRS =
+DIST_SUBDIRS = libatomic_ops
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include
SUBDIRS = src doc tests
#distclean-local:
+
+dist-hook:
+ -rm $(distdir)/config.status