bug-automake
[Top][All Lists]
Advanced

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

Patch for automake 1.4


From: Andrew R. Baker
Subject: Patch for automake 1.4
Date: Sun, 29 Jul 2001 23:35:58 -0700

This patch works around a bug in make on OpenBSD (and maybe FreeBSD).

-Andrew
diff -durN automake-1.4.orig/subdirs.am automake-1.4/subdirs.am
--- automake-1.4.orig/subdirs.am        Wed Sep 30 22:39:51 1998
+++ automake-1.4/subdirs.am     Sun Jul 29 23:24:25 2001
@@ -59,7 +59,9 @@
        dot_seen=no; \
        rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
          rev="$$subdir $$rev"; \
-         test "$$subdir" = "." && dot_seen=yes; \
+         if test "$$subdir" = "."; then \
+           dot_seen=yes; \
+         fi; \
        done; \
 ## If we haven't seen `.', then add it at the beginning.
        test "$$dot_seen" = "no" && rev=". $$rev"; \

reply via email to

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