From ed9a7c0a7122dbeb8157d93bb6181ffc5af79d3b Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 3 Feb 2003 22:02:44 +0000 Subject: [PATCH] Force the C locale in makedepend, to prevent gcc from producing locale-dependent messages. p4raw-id: //depot/perl@18650 --- makedepend.SH | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 1.8.3.1