From: Jarkko Hietaniemi Date: Fri, 10 Aug 2001 13:41:07 +0000 (+0000) Subject: If using gcc -B/foo/bar makedepend would give X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8ad4a856d6f6911e6e76a9826ec9b7ba3964bc28;p=p5sagit%2Fp5-mst-13.2.git If using gcc -B/foo/bar makedepend would give unnecessary warnings about unused -B/foo/bar. p4raw-id: //depot/perl@11627 --- diff --git a/makedepend.SH b/makedepend.SH index ec21795..4ab1ec3 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -155,11 +155,12 @@ for file in `$cat .clist`; do -e 's|\.c\.c|.c|' $uwinfix | \ $uniq | $sort | $uniq >> .deptmp else - $cppstdin $finc -I. $cppflags $cppminus &1 | $sed \ -e '1d' \ -e '/^#.*/d' \ -e '/^#.*"-"/d' \ + -e '/: file path prefix .* never used$/d' \ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \ -e 's/^[ ]*#[ ]*line/#/' \ -e '/^# *[0-9][0-9]* *[".\/]/!d' \