projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acae81d
)
Force the C locale in makedepend, to prevent gcc from
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Mon, 3 Feb 2003 22:02:44 +0000
(22:02 +0000)
committer
Rafael 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
patch
|
blob
|
history
diff --git
a/makedepend.SH
b/makedepend.SH
index
b8581e9
..
c1d880d
100755
(executable)
--- 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