fix in BUILT_SOURCES
authorTom Tromey <tromey@redhat.com>
Tue, 29 Apr 1997 05:44:07 +0000 (05:44 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 29 Apr 1997 05:44:07 +0000 (05:44 +0000)
ChangeLog
automake.in

index d0e24b3..c48f83a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Mon Apr 28 01:18:05 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * automake.in (handle_configure): Makefile only depends on
+       BUILT_SOURCES when generating dependencies.
+
        * Released 1.1o.
 
 Sun Apr 27 23:58:20 1997  Tom Tromey  <tromey@cygnus.com>
index a19b385..4419aa1 100755 (executable)
@@ -2881,7 +2881,13 @@ sub handle_configure
                      # see comment above.
                      . ': '
                      . $infile . ' '
-                     . '$(top_builddir)/config.status $(BUILT_SOURCES)'
+                     . '$(top_builddir)/config.status'
+                     # NOTE: Makefile only depends on BUILT_SOURCES
+                     # when dependencies are being computed.  This is
+                     # a workaround for an obscure bug with
+                     # AC_LINK_FILES.  Anyway, when dependencies are
+                     # turned off, this shouldn't matter.
+                     . ($use_dependencies ? ' $(BUILT_SOURCES)' : '')
                      . "\n"
                      . "\tcd \$(top_builddir) \\\n"
                      . "\t  && CONFIG_FILES="