automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: workaround for buggy make


From: Tom Tromey
Subject: Patch: workaround for buggy make
Date: 14 Jun 2001 19:29:27 -0600

I'm checking this in.

2001-06-14  Tom Tromey  <address@hidden>

        * lib/am/configure.am ($(top_builddir)/config.status): Added
        $(top_builddir) prefix to work around problems with some vendor
        makes.  From Nicholas Joly.

Tom

Index: lib/am/configure.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/configure.am,v
retrieving revision 1.8
diff -u -r1.8 configure.am
--- configure.am        2001/05/17 03:02:38     1.8
+++ configure.am        2001/06/15 01:13:24
@@ -40,7 +40,11 @@
 
 if %?TOPDIR_P%
 ## Explicitly look in srcdir for benefit of non-GNU makes.
-config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+## Use `$(top_builddir)' for the benefit of Tru64 v5.1 make and also
+## NetBSD v1.5 make.  These `make's don't know that
+## `$(top_builddir)/config.status' and `config.status' are the same
+## file when top_builddir==`.'.
+$(top_builddir)/config.status: $(srcdir)/configure 
$(CONFIG_STATUS_DEPENDENCIES)
        $(SHELL) ./config.status --recheck
 
 ## Always require configure.ac and configure at top level, even if they



reply via email to

[Prev in Thread] Current Thread [Next in Thread]