]> sourceware.org Git - automake.git/commitdiff
* tests/Makefile.am (XFAIL_TESTS): Added ltdeps.test.
authorTom Tromey <tromey@redhat.com>
Fri, 1 Jun 2001 15:22:27 +0000 (15:22 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 1 Jun 2001 15:22:27 +0000 (15:22 +0000)
(TESTS): Likewise.
* tests/ltdeps.test: New file.  Report from Lars J. Aas.

ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/ltdeps.test [new file with mode: 0755]

index 203764ed46b8f9b759d84aaf7656e16fac4c618d..c34cdbc2d5933baf0510bed9e4a9577903662a78 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index cfed0b3b61df620c409f07715a84b0d56e09ef9e..dc6e2744c025746d8fdf62fea4e2b7e0cf0999db 100644 (file)
@@ -2,7 +2,7 @@
 
 AUTOMAKE_OPTIONS = gnits
 
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test ltdeps.test
 
 TESTS =        \
 acinclude.test \
@@ -175,6 +175,7 @@ link_f_c_cxx.test \
 link_f_cxx.test        \
 link_f_only.test \
 lisp.test \
+ltdeps.test \
 ltlibobjs.test \
 make.test \
 makevars.test \
index 0b28d75c101cb0cc0184a2261736a44ce0b0d244..3fe9bd27155939371f0c41ea94e8024f65fc9273 100644 (file)
@@ -68,7 +68,7 @@ install_sh = @install_sh@
 
 AUTOMAKE_OPTIONS = gnits
 
-XFAIL_TESTS = subdir5.test
+XFAIL_TESTS = subdir5.test ltdeps.test
 
 TESTS = \
 acinclude.test \
@@ -241,6 +241,7 @@ link_f_c_cxx.test \
 link_f_cxx.test        \
 link_f_only.test \
 lisp.test \
+ltdeps.test \
 ltlibobjs.test \
 make.test \
 makevars.test \
diff --git a/tests/ltdeps.test b/tests/ltdeps.test
new file mode 100755 (executable)
index 0000000..1a2ea93
--- /dev/null
@@ -0,0 +1,45 @@
+#! /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
This page took 0.035023 seconds and 5 git commands to generate.