From: Tom Tromey Date: Sun, 30 Dec 2001 19:34:28 +0000 (+0000) Subject: For PR automake/260: X-Git-Tag: Release-1-5d~76 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=2665a1f6884fa309507425c0056834712fa96753;p=automake.git For PR automake/260: * lib/depcomp (tru64): Correctly handle libtool case. From doreille@smr.ch. --- 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