automake-patches
[Top][All Lists]
Advanced

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

Patch: FYI: PR 260


From: Tom Tromey
Subject: Patch: FYI: PR 260
Date: 30 Dec 2001 12:44:57 -0700

I'm checking this in.
This is a small reworking of the patch in PR 260.

Tom

Index: ChangeLog
from  Tom Tromey  <address@hidden>

        For PR automake/260:
        * lib/depcomp (tru64): Correctly handle libtool case.
        From address@hidden

Index: lib/depcomp
===================================================================
RCS file: /cvs/automake/automake/lib/depcomp,v
retrieving revision 1.27
diff -u -r1.27 depcomp
--- lib/depcomp 2001/07/21 18:45:47 1.27
+++ lib/depcomp 2001/12/30 19:33:18
@@ -204,8 +204,9 @@
    # dependencies in `foo.d' instead, so we check for that too.
    # Subdirectories are respected.
 
-   tmpdepfile1="$object.d"
-   tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'` 
+   base=`echo "$object" | sed -e 's/\.o$/.d/' -e 's/\.lo$/.d/'`
+   tmpdepfile1="$base.o.d"
+   tmpdepfile2="$base.d"
    if test "$libtool" = yes; then
       "$@" -Wc,-MD
    else



reply via email to

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