From: Alexandre Oliva Date: Tue, 20 Apr 1999 02:36:46 +0000 (+0000) Subject: * libobj10.test: New file. X-Git-Tag: merging-into-user-dep-gen~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f808ca00e468f39358ad29d13ed858798ffebeaf;p=thirdparty%2Fautomake.git * libobj10.test: New file. * Makefile.am (TESTS): Added libobj10.test. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 13646db69..fed488409 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,8 @@ +1999-04-20 Alexandre Oliva + + * libobj10.test: New file. + * Makefile.am (TESTS): Added libobj10.test. + 1999-04-11 Tom Tromey * subobj2.test: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index 5cd5e8d5e..4d28b20ad 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -27,6 +27,7 @@ instexec.test insthook.test instman.test interp.test interp2.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 \ diff --git a/tests/Makefile.in b/tests/Makefile.in index 2737f0a1c..1aae92d72 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -92,6 +92,7 @@ instexec.test insthook.test instman.test interp.test interp2.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 \ diff --git a/tests/libobj10.test b/tests/libobj10.test new file mode 100755 index 000000000..d0bc7cb8a --- /dev/null +++ b/tests/libobj10.test @@ -0,0 +1,28 @@ +#! /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