+2001-06-01 Tom Tromey <tromey@redhat.com>
+
+ * tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
+ (TESTS): Likewise.
+ * tests/ltdeps.test: New file. Report from Lars J. Aas.
+
2001-05-31 Tom Tromey <tromey@redhat.com>
* automake.texi (Alternative): New node.
--- /dev/null
+#! /bin/sh
+
+# Test to make sure libtool library dependencies are correct.
+# Report from Lars J. Aas.
+
+. $srcdir/defs || exit 1
+
+cat >> configure.in << 'END'
+AC_PROG_LIBTOOL
+AC_PROG_CXX
+AM_CONDITIONAL(HACKING_COMPACT_BUILD, whatever)
+END
+
+cat > Makefile.am << 'END'
+RegularSources = \
+ SbBSPTree.cpp \
+ SbBox2f.cpp \
+ SbBox2s.cpp
+
+LinkHackSources = \
+ all.cpp
+
+if HACKING_COMPACT_BUILD
+BuildSources = $(LinkHackSources)
+else
+BuildSources = $(RegularSources)
+endif
+
+noinst_LTLIBRARIES = libbase.la
+libbase_la_SOURCES = $(BuildSources)
+
+EXTRA_libbase_la_SOURCES = \
+ $(RegularSources) $(LinkHackSources)
+END
+
+: > ltconfig
+: > ltmain.sh
+: > config.guess
+: > config.sub
+
+$ACLOCAL || exit 1
+$AUTOMAKE || exit 1
+
+grep 'OBJECTS =$' Makefile.in && exit 1
+exit 0