From: Rafael Garcia-Suarez Date: Mon, 3 Feb 2003 22:02:44 +0000 (+0000) Subject: Force the C locale in makedepend, to prevent gcc from X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed9a7c0a7122dbeb8157d93bb6181ffc5af79d3b;p=p5sagit%2Fp5-mst-13.2.git Force the C locale in makedepend, to prevent gcc from producing locale-dependent messages. p4raw-id: //depot/perl@18650 --- diff --git a/makedepend.SH b/makedepend.SH index b8581e9..c1d880d 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