summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-10-28 15:07:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-10-28 15:07:54 +0000
commitaa34f1896a2ee367bc51453b669f7c047ad1b32d (patch)
tree26bb6170efe3f974b3e470c220ee8e6750d6528e /Makefile.SH
parentbba3460d8eb80ded2bded48cd43a4243039fe519 (diff)
downloadperl-aa34f1896a2ee367bc51453b669f7c047ad1b32d.tar.gz
posix-bc doesn't want to regenerate a2p.h from a2p.y.
p4raw-id: //depot/cfgperl@2110
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 351a47e153..13f553da62 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -694,7 +694,14 @@ os390|posix-bc)
fi
cd x2p
rm -f y.tab.c
- yacc -d a2p.y >/dev/null 2>&1
+ case "$osname" in
+ os390)
+ yacc -d a2p.y >/dev/null 2>&1
+ ;;
+ *) # e.g. posix-bc
+ yacc a2p.y >/dev/null 2>&1
+ ;;
+ esac
if cmp -s y.tab.c a2p.c
then
rm -f y.tab.c
@@ -719,6 +726,9 @@ os390|posix-bc)
vmesa)
# Do nothing in VM/ESA.
;;
+*)
+ echo "'$osname' is an EBCDIC system I don't know well." >&4
+ ;;
esac
case "$xxx" in
'') echo "No parser files were regenerated. That's okay." >&2 ;;