summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Brocard <acme@astray.com>2003-11-28 08:41:42 +0000
committerLeon Brocard <acme@astray.com>2003-11-28 08:41:42 +0000
commit35d4b9484423e1346d0a37944ae0f70aeed8c8bd (patch)
tree4d0c1dc49decea563ccb95a4a598d1092a7aede1
parent92892de0ef09668772cfbe5827289153819ca2ef (diff)
downloadperl-35d4b9484423e1346d0a37944ae0f70aeed8c8bd.tar.gz
low hanging fruit. bring
perl5.005_03 up to compiling on a modern linux system From: Richard Clamp <richardc@unixbeard.net> To: perl5-porters@perl.org, Chip Salzenberg <chip@pobox.com> Date: Sun, 4 May 2003 20:53:33 +0100 First part: Teach makedepend about ggc3's extra output that needs stripping (stolen from bleadperls makedepend.SH) p4raw-id: //depot/maint-5.005/perl@21790
-rwxr-xr-xmakedepend.SH3
1 files changed, 3 insertions, 0 deletions
diff --git a/makedepend.SH b/makedepend.SH
index 0f32da33c6..ddb8dfa6ef 100755
--- a/makedepend.SH
+++ b/makedepend.SH
@@ -129,6 +129,9 @@ for file in `$cat .clist`; do
$cppstdin $finc -I. $cppflags $cppminus <UU/$file.c |
$sed \
-e '/^#.*<stdin>/d' \
+ -e '/^#.*<builtin>/d' \
+ -e '/^#.*<built-in>/d' \
+ -e '/^#.*<command line>/d' \
-e '/^#.*"-"/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
-e 's/^[ ]*#[ ]*line/#/' \