Re: depcomp and DOS-style file names with drive letters

2000-08-20 Thread Tom Tromey
Eli> The version of `depcomp' supplied with sh-utils-2.0j does not Eli> work correctly for DOS/Windows-style file names. The following Eli> Sed script breaks if .deps/*.Tpo files include absolute file Eli> names with drive letters: I didn't follow this thread as closely as I should have. Can som

Re: depcomp and DOS-style file names with drive letters

2000-08-12 Thread Alexandre Oliva
On Aug 12, 2000, "Eli Zaretskii" <[EMAIL PROTECTED]> wrote: > The version of `depcomp' supplied with sh-utils-2.0j does not work > correctly for DOS/Windows-style file names. Just a nit: depcomp is maintained as part of automake, not autoconf. -- Alexandre Oliva Enjoy Guarana', see http://ww

Re: depcomp and DOS-style file names with drive letters

2000-08-12 Thread Eli Zaretskii
> From: Jim Meyering <[EMAIL PROTECTED]> > Date: 12 Aug 2000 12:21:27 +0200 > > | - sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile" > | + sed 's/^\([A-Za-z]:\/\)\{0,1\}[^:]*: / /' < "$tmpdepfile" >> "$depfile" > | ## This next piece of magic avoids the `deleted header file' problem. > | ## T

Re: depcomp and DOS-style file names with drive letters

2000-08-12 Thread Jim Meyering
"Eli Zaretskii" <[EMAIL PROTECTED]> writes: | The version of `depcomp' supplied with sh-utils-2.0j does not work | correctly for DOS/Windows-style file names. The following Sed script | breaks if .deps/*.Tpo files include absolute file names with drive | letters: | | sed 's/^[^:]*: / /' < "$tmp

depcomp and DOS-style file names with drive letters

2000-08-12 Thread Eli Zaretskii
The version of `depcomp' supplied with sh-utils-2.0j does not work correctly for DOS/Windows-style file names. The following Sed script breaks if .deps/*.Tpo files include absolute file names with drive letters: sed 's/^[^:]*: / /' < "$tmpdepfile" >> "$depfile" This happens because on DOS/Wind