* Makefile.am (TESTS): Added libobj10.test.
+1999-04-20 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * libobj10.test: New file.
+ * Makefile.am (TESTS): Added libobj10.test.
+
1999-04-11 Tom Tromey <tromey@cygnus.com>
* subobj2.test: New file.
java.test javaprim.test javasubst.test ldadd.test lex.test lex2.test \
lex3.test libobj.test libobj2.test libobj3.test libobj4.test \
libobj5.test libobj6.test libobj7.test libobj8.test libobj9.test \
+libobj10.test \
library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test \
link_f_cxx.test link_f_only.test lisp.test mclean.test mdate.test \
mdate2.test mdate3.test mkinst2.test mkinstall.test nodep.test \
java.test javaprim.test javasubst.test ldadd.test lex.test lex2.test \
lex3.test libobj.test libobj2.test libobj3.test libobj4.test \
libobj5.test libobj6.test libobj7.test libobj8.test libobj9.test \
+libobj10.test \
library.test link_c_cxx.test link_f_c.test link_f_c_cxx.test \
link_f_cxx.test link_f_only.test lisp.test mclean.test mdate.test \
mdate2.test mdate3.test mkinst2.test mkinstall.test nodep.test \
--- /dev/null
+#! /bin/sh
+
+# Do not complain about the inexistence of a source for LIBOBJS if
+# it's in BUILT_SOURCES. Reported by Erez Zadok
+
+. $srcdir/defs || exit 1
+
+cat > configure.in << 'END'
+PACKAGE=nonesuch
+VERSION=nonesuch
+AC_PROG_CC
+AC_ARG_PROGRAM
+AC_PROG_RANLIB
+AC_PROG_INSTALL
+LIBOBJS="$LIBOBJS foo.o"
+AC_OUTPUT(Makefile)
+END
+
+cat > Makefile.am << 'END'
+noinst_LIBRARIES = libfoo.a
+libfoo_a_LIBADD = @LIBOBJS@
+END
+
+$AUTOMAKE && exit 1
+
+echo 'BUILT_SOURCES = foo.c' >> Makefile.am
+
+$AUTOMAKE || exit 1