]> git.kaiwu.me - njs.git/commitdiff
Fixed configure process with non-default locale.
authorValentin Bartenev <vbart@nginx.com>
Tue, 24 Jul 2018 16:25:39 +0000 (19:25 +0300)
committerValentin Bartenev <vbart@nginx.com>
Tue, 24 Jul 2018 16:25:39 +0000 (19:25 +0300)
Overriding LANG might not work, since it has less precedence than LC_* settings.
LC_ALL has the highest precedence.

configure
nxt/auto/configure

index 01b07c7a99e972a3d0096979bd65f59fffb9c472..d908a370095068dd83a89d452c5f841043928cc1 100755 (executable)
--- a/configure
+++ b/configure
@@ -5,8 +5,8 @@
 
 
 # Disable localized program messages.
-LANG=C
-export LANG
+LC_ALL=C
+export LC_ALL
 
 # Stop on error exit status.
 set -e
index 933e2a6bf4965a2a7911f4ff9b5abae78f1844db..9ffb24d4c2ed7825298b74fdfa4ef1993d7fe141 100755 (executable)
@@ -5,8 +5,8 @@
 
 
 # Disable localized program messages.
-LANG=C
-export LANG
+LC_ALL=C
+export LC_ALL
 
 # Stop on error exit status.
 set -e