[njs] Fixed configure process with non-default locale.

Valentin Bartenev vbart at nginx.com
Tue Jul 24 16:33:18 UTC 2018


details:   http://hg.nginx.org/njs/rev/7ccf9c0a412a
branches:  
changeset: 568:7ccf9c0a412a
user:      Valentin Bartenev <vbart at nginx.com>
date:      Tue Jul 24 19:25:39 2018 +0300
description:
Fixed configure process with non-default locale.

Overriding LANG might not work, since it has less precedence than LC_* settings.
LC_ALL has the highest precedence.

diffstat:

 configure          |  4 ++--
 nxt/auto/configure |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r a4e5abdc345d -r 7ccf9c0a412a configure
--- a/configure	Tue Jul 24 18:29:25 2018 +0300
+++ b/configure	Tue Jul 24 19:25:39 2018 +0300
@@ -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
diff -r a4e5abdc345d -r 7ccf9c0a412a nxt/auto/configure
--- a/nxt/auto/configure	Tue Jul 24 18:29:25 2018 +0300
+++ b/nxt/auto/configure	Tue Jul 24 19:25:39 2018 +0300
@@ -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


More information about the nginx-devel mailing list