1 This patch moves some ebcdic-specific code out of Configure and into
2 Makefile.SH. It's not really "Configure" information, but I didn't
3 want to build a whole new .SH file to extract just to run this on a
6 Andy Dougherty doughera@lafcol.lafayette.edu
8 Lafayette College, Easton PA 18042
10 --- ../perl5.005-MAYBE/Makefile.SH Sun Jul 19 03:06:35 1998
11 +++ Makefile.SH Wed Jul 22 11:35:36 1998
17 +# Now do any special processing required before building.
22 + echo "This is an EBCDIC system, checking if any parser files may need regenerating."
23 + rm -f y.tab.c y.tab.h
24 + yacc -d perly.y >/dev/null 2>&1
25 + if cmp -s y.tab.c perly.c; then
28 + echo "perly.y -> perly.c" >&2
29 + mv -f y.tab.c perly.c
31 + sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
32 + -e 's/y\.tab/perly/g' perly.c >perly.tmp && mv perly.tmp perly.c
35 + if cmp -s y.tab.h perly.h; then
38 + echo "perly.y -> perly.h" >&2
39 + mv -f y.tab.h perly.h
42 + echo "x2p/a2p.y" >&2
44 + rm -f y.tab.c y.tab.h
45 + yacc -d a2p.y >/dev/null 2>&1
46 + if cmp -s y.tab.c a2p.c
50 + echo "a2p.y -> a2p.c" >&2
53 + sed -e 's/fprintf *( *stderr *,/PerlIO_printf(Perl_debug_log,/g' \
54 + -e 's/y\.tab/a2p/g' a2p.c >a2p.tmp && mv a2p.tmp a2p.c
57 + if cmp -s y.tab.h a2p.h
61 + echo "a2p.h -> a2p.h" >&2
67 + '') echo "No parser files were regenerated. That's okay." >&2 ;;