]> git.kaiwu.me - nginx.git/commitdiff
Configure: stop polluting NGX_ namespace.
authorPiotr Sikora <piotrsikora@google.com>
Mon, 27 Jun 2016 22:00:06 +0000 (15:00 -0700)
committerPiotr Sikora <piotrsikora@google.com>
Mon, 27 Jun 2016 22:00:06 +0000 (15:00 -0700)
While there, fix the only test that used alternative variable name.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
auto/include
auto/types/uintptr_t

index 0f8bc1e04da5768d9d035c12063f9d6e11be730d..c1bd3647b851710e2576e05890729397fbe10b6d 100644 (file)
@@ -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"
 
index 7db6e4506bcda8104b0f25c18f080352a92e6daf..a33d6d034aa7aa98b8a726bdcbbf6daa5760253b 100644 (file)
@@ -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;