Force the C locale in makedepend, to prevent gcc from
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 3 Feb 2003 22:02:44 +0000 (22:02 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 3 Feb 2003 22:02:44 +0000 (22:02 +0000)
producing locale-dependent messages.

p4raw-id: //depot/perl@18650

makedepend.SH

index b8581e9..c1d880d 100755 (executable)
@@ -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