[nginx] Configure: fix tests with multi-level relative build dir...

Ruslan Ermilov ru at nginx.com
Wed Jun 17 11:17:37 UTC 2015


details:   http://hg.nginx.org/nginx/rev/acba1656c474
branches:  
changeset: 6194:acba1656c474
user:      Ruslan Ermilov <ru at nginx.com>
date:      Wed Jun 17 14:15:27 2015 +0300
description:
Configure: fix tests with multi-level relative build directory.

Based on a patch by Piotr Sikora.

diffstat:

 auto/unix |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (19 lines):

diff -r 78c06e5e1d76 -r acba1656c474 auto/unix
--- a/auto/unix	Tue Jun 16 23:28:38 2015 +0300
+++ b/auto/unix	Wed Jun 17 14:15:27 2015 +0300
@@ -505,14 +505,7 @@ ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_s
 
 # POSIX types
 
-case "$NGX_AUTO_CONFIG_H" in
-    /*)
-        NGX_INCLUDE_AUTO_CONFIG_H="#include \"$NGX_AUTO_CONFIG_H\""
-    ;;
-    *)
-        NGX_INCLUDE_AUTO_CONFIG_H="#include \"../$NGX_AUTO_CONFIG_H\""
-    ;;
-esac
+NGX_INCLUDE_AUTO_CONFIG_H="#include \"ngx_auto_config.h\""
 
 ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef
 



More information about the nginx-devel mailing list