automake-patches
[Top][All Lists]
Advanced

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

[PATCH] small patch for depend2.am


From: Art Haas
Subject: [PATCH] small patch for depend2.am
Date: Tue, 6 Aug 2002 09:31:26 -0500
User-agent: Mutt/1.4i

Hi.

I needed the following patch to have LTCOMPILE commands succeed.
Without the ";" I received a stream of syntax errors instead of
a bunch of '.lo' files. Adding this in I was able to build
successfully.

My thanks to everyone working on automake.

Art Haas

Index: lib/am/depend2.am
===================================================================
RCS file: /cvs/automake/automake/lib/am/depend2.am,v
retrieving revision 1.45
diff -u -r1.45 depend2.am
--- lib/am/depend2.am   10 Jul 2002 05:33:31 -0000      1.45
+++ lib/am/depend2.am   6 Aug 2002 14:28:26 -0000
@@ -82,7 +82,7 @@
 if %FASTDEP%
 ## In fast-dep mode, we can always use -o.
        if %LTCOMPILE% -MT %LTOBJ% -MD -MP -MF "%DEPBASE%.Tpo" \
-         %-c% -o %LTOBJ% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% \
+         %-c% -o %LTOBJ% `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% ; \
        then mv "%DEPBASE%.Tpo" "%DEPBASE%.Po"; \
        else rm -f "%DEPBASE%.Tpo"; exit 1; \
        fi
-- 
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759



reply via email to

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