[nginx] Configure: stop polluting NGX_ namespace.

Maxim Dounin mdounin at mdounin.ru
Thu Jul 7 13:51:32 UTC 2016


details:   http://hg.nginx.org/nginx/rev/a616bdc38645
branches:  
changeset: 6625:a616bdc38645
user:      Piotr Sikora <piotrsikora at google.com>
date:      Mon Jun 27 15:00:06 2016 -0700
description:
Configure: stop polluting NGX_ namespace.

While there, fix the only test that used alternative variable name.

Signed-off-by: Piotr Sikora <piotrsikora at google.com>

diffstat:

 auto/include         |  3 ---
 auto/types/uintptr_t |  2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)

diffs (25 lines):

diff --git a/auto/include b/auto/include
--- a/auto/include
+++ b/auto/include
@@ -45,9 +45,6 @@ if [ -x $NGX_AUTOTEST ]; then
 
     eval "NGX_INCLUDE_$ngx_name='#include <$ngx_include>'"
 
-    #STUB
-    eval "NGX_$ngx_name='#include <$ngx_include>'"
-
 else
     echo " not found"
 
diff --git a/auto/types/uintptr_t b/auto/types/uintptr_t
--- a/auto/types/uintptr_t
+++ b/auto/types/uintptr_t
@@ -17,7 +17,7 @@ found=no
 cat << END > $NGX_AUTOTEST.c
 
 #include <sys/types.h>
-$NGX_INTTYPES_H
+$NGX_INCLUDE_INTTYPES_H
 
 int main(void) {
     uintptr_t i = 0;



More information about the nginx-devel mailing list