X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/0fcc65bb90871a92ca233207ff84015dfc78f2a6..ad1c95008f60417d352b3b69be994ff9e4297763:/makedepend.SH?ds=sidebyside diff --git a/makedepend.SH b/makedepend.SH index b8581e9..688f656 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -58,6 +58,11 @@ case $PERL_CONFIG_SH in ;; esac +# Avoid localized gcc messages +case "$ccname" in + gcc) LC_ALL=C ; export LC_ALL ;; +esac + # We need .. when we are in the x2p directory if we are using the # cppstdin wrapper script. # Put .. and . first so that we pick up the present cppstdin, not @@ -136,6 +141,11 @@ for file in `$cat .clist`; do -e 's|\\$||' \ -e p \ -e '}' ) >UU/$file.c + + if [ "$osname" = os390 -a "$file" = perly.c ]; then + $echo '#endif' >>UU/$file.c + fi + if [ "$osname" = os390 ]; then $cppstdin $finc -I. $cppflags $cppminus