From 2665a1f6884fa309507425c0056834712fa96753 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 30 Dec 2001 19:34:28 +0000 Subject: [PATCH] For PR automake/260: * lib/depcomp (tru64): Correctly handle libtool case. From doreille@smr.ch. --- ChangeLog | 6 ++++++ lib/depcomp | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bae4fe4a..952e9ecb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-12-30 Tom Tromey + + For PR automake/260: + * lib/depcomp (tru64): Correctly handle libtool case. + From doreille@smr.ch. + 2001-12-30 Alexandre Duret-Lutz * lib/am/distdir.am (distcleancheck_listfiles): Unquote. diff --git a/lib/depcomp b/lib/depcomp index 65899658..4c8d44bd 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -204,8 +204,9 @@ tru64) # 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 -- 2.43.5