[PATCH] Configure: stop polluting NGX_ namespace

Piotr Sikora piotrsikora at google.com
Mon Jun 27 22:59:23 UTC 2016


# HG changeset patch
# User Piotr Sikora <piotrsikora at google.com>
# Date 1467064806 25200
#      Mon Jun 27 15:00:06 2016 -0700
# Node ID 388cf446fe903cfdf0d13740ab3489cc14a3f377
# Parent  d452cb27639f714bc43b7f3ede417e3e7f8efdd6
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>

diff -r d452cb27639f -r 388cf446fe90 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 -r d452cb27639f -r 388cf446fe90 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() {
     uintptr_t i = 0;



More information about the nginx-devel mailing list