changeset 6194:acba1656c474

Configure: fix tests with multi-level relative build directory. Based on a patch by Piotr Sikora.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 17 Jun 2015 14:15:27 +0300
parents 78c06e5e1d76
children e69d5e9be292
files auto/unix
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/auto/unix
+++ b/auto/unix
@@ -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