X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.SH;h=43a1cc37b3c67f768f900b593d9c8585f0caddbb;hb=39644a267dae6dfa935b1c1d39151eb399850949;hp=81b01368a9ce45f38bbdf4dd515f81a316418dce;hpb=f2766b05f6136cc9e8c8812afdbe7a31657a110d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Makefile.SH b/Makefile.SH index 81b0136..43a1cc3 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -123,6 +123,15 @@ for f in $nonxs_ext; do nonxs_list="$nonxs_list ext/$f/pm_to_blib" done +# Handle the usage of different yaccs in posix-bc (During Configure we +# us yacc for perly.y and byacc for a2p.y. The makefiles must use the +# same configuration for run_byacc!): +case "$osname" in + posix-bc) + byacc=$yacc + ;; +esac + echo "Extracting Makefile (with variable substitutions)" $spitshell >Makefile </dev/null 2>&1; then \ - cd t && $(LDLIBPTH) ./perl UTEST a2p.tmp && mv a2p.tmp a2p.c xxx="$xxx a2p.c" fi