From Jim Meyering:
authorTom Tromey <tromey@redhat.com>
Thu, 11 Mar 1999 22:52:33 +0000 (22:52 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 11 Mar 1999 22:52:33 +0000 (22:52 +0000)
* automake.in (handle_dist): Add `;\' to end of distcheck-hook
line.
(scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
legitimate ending.  Fixes libobj9.test.

ChangeLog
automake.in

index 6be2b76..23cf724 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 1999-03-11  Tom Tromey  <tromey@cygnus.com>
 
+       From Jim Meyering:
+       * automake.in (handle_dist): Add `;\' to end of distcheck-hook
+       line.
+       (scan_one_configure_file): In LIBOBJS, recognize `$ac_objext' as
+       legitimate ending.  Fixes libobj9.test.
+
        From Ralf Corsepius.  Fixes lex3.test.
        * automake.in (lang_yacc_finish): Include `.' in name pushed onto
        maintainer-clean list.
index 26fef5f..4558c7c 100755 (executable)
@@ -2547,7 +2547,7 @@ distcheck: dist
        dc_install_base=`cd $(distdir)/=inst && pwd`; \\'
                          . (&target_defined ('distcheck-hook')
                             ? ("\t\$(MAKE) \$(AM_MAKEFLAGS)"
-                               . " distcheck-hook")
+                               . " distcheck-hook; \\")
                             : '')
                          . '
        cd $(distdir)/=build \\
@@ -4005,7 +4005,9 @@ sub scan_one_configure_file
        {
            foreach $libobj_iter (split (' ', $1))
            {
-               if ($libobj_iter =~ /^(.*)\.o(bj)?$/)
+               if ($libobj_iter =~ /^(.*)\.o(bj)?$/
+                   || $libobj_iter =~ /^(.*)\.\$ac_objext$/
+                   || $libobj_iter =~ /^(.*)\.\$\{ac_objext\}$/)
                {
                    $libsources{$1 . '.c'} = 1;
                }