From bc2f9322466e2f35f43ec111e4251fb97c7996d5 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 12 Sep 1996 21:06:33 +0000 Subject: [PATCH] Bug fix --- ChangeLog | 5 +++++ automake.in | 2 +- tests/ChangeLog | 4 ++++ tests/Makefile.am | 2 +- tests/Makefile.in | 4 ++-- tests/implicit.test | 14 ++++++++++++++ 6 files changed, 27 insertions(+), 4 deletions(-) create mode 100755 tests/implicit.test diff --git a/ChangeLog b/ChangeLog index 6177f938..05cb592c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 12 15:03:19 1996 Tom Tromey + + * automake.in (handle_source_transform): Removed extraneous + space. Test implicit.test. + Wed Sep 11 11:54:44 1996 Tom Tromey * clean.am (distclean-generic): Remove CONFIG_CLEAN_FILES here, diff --git a/automake.in b/automake.in index e0407ec7..afb9652b 100755 --- a/automake.in +++ b/automake.in @@ -792,7 +792,7 @@ sub handle_source_transform &define_variable ($one_file . "_SOURCES", $unxformed . ".c"); push (@sources, $unxformed . '.c'); push (@objects, $unxformed . $obj); - push (@files, $unxformed . ".c "); + push (@files, $unxformed . '.c'); } else { diff --git a/tests/ChangeLog b/tests/ChangeLog index 59a6539b..ddb3adee 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +Thu Sep 12 14:57:49 1996 Tom Tromey + + * implicit.test: New file. + Wed Sep 11 13:57:10 1996 Tom Tromey * colneq.test: New file. diff --git a/tests/Makefile.am b/tests/Makefile.am index d22533e9..eb0d6b03 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -14,6 +14,6 @@ error.test colon.test vtexi2.test tags.test comment.test libfiles.test \ man.test info.test obsolete.test lex.test scripts.test subdir2.test \ exsource.test canon4.test dup.test defun.test cxxlink.test cxxnoc.test \ order.test libobj2.test interp.test alllib.test block.test libobj3.test \ -gnits.test interp2.test colneq.test +gnits.test interp2.test colneq.test implicit.test EXTRA_DIST = defs $(TESTS) diff --git a/tests/Makefile.in b/tests/Makefile.in index 613a3074..3a16a7a8 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -52,7 +52,7 @@ error.test colon.test vtexi2.test tags.test comment.test libfiles.test \ man.test info.test obsolete.test lex.test scripts.test subdir2.test \ exsource.test canon4.test dup.test defun.test cxxlink.test cxxnoc.test \ order.test libobj2.test interp.test alllib.test block.test libobj3.test \ -gnits.test interp2.test colneq.test +gnits.test interp2.test colneq.test implicit.test EXTRA_DIST = defs $(TESTS) mkinstalldirs = $(top_srcdir)/mkinstalldirs @@ -142,11 +142,11 @@ mostlyclean-generic: clean-generic: test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) - test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) distclean-generic: rm -f Makefile $(DISTCLEANFILES) rm -f config.cache config.log $(CONFIG_HEADER) stamp-h + test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) diff --git a/tests/implicit.test b/tests/implicit.test new file mode 100755 index 00000000..ba56fffb --- /dev/null +++ b/tests/implicit.test @@ -0,0 +1,14 @@ +#! /bin/sh + +# Test to make sure implicit .o's are listed as appropriate. Report +# from Henrik Frystyk Nielsen. + +. $srcdir/defs || exit 1 + +cat > Makefile.am << 'END' +noinst_PROGRAMS = libapp_1 +END + +$AUTOMAKE || exit 1 + +grep '^libapp_1_OBJECTS' Makefile.in | grep '\.o' -- 2.43.5