summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-22 13:09:21 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-22 13:09:21 +0000
commit6cfe8af5837ee4b149d08cdc2afce032abee3494 (patch)
tree96c669c208f8fdc03db28a8f45d79db55056c299 /Makefile.SH
parent11f62a1cbe1259089dfe510dfc5a027a0ad1cbac (diff)
downloadperl-6cfe8af5837ee4b149d08cdc2afce032abee3494.tar.gz
z/OS: changes for building threaded from "Brian De Pradine"
<PRADINE@uk.ibm.com>. p4raw-id: //depot/perl@19306
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 9b1b7f8f78..d9d60888f8 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1223,6 +1223,11 @@ os390|posix-bc)
-e 's/y\.tab/perly/g' perly.c >perly.tmp && mv perly.tmp perly.c
xxx="$xxx perly.c"
fi
+ case "$osname:$usethreads" in
+ os390:define)
+ sed -e 's@^extern int yychar, yyerrflag;@/* extern int yychar, yyerrflag; */@' perly.c > perly.tmp && mv perly.tmp perly.c
+ ;;
+ esac
if cmp -s y.tab.h perly.h; then
rm -f y.tab.h
else