From 72c3706bc52d1aabcc102656c67fb444187c37e2 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 17 Jun 2015 14:15:27 +0300 Subject: [PATCH] Configure: fix tests with multi-level relative build directory. Based on a patch by Piotr Sikora. --- auto/unix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/auto/unix b/auto/unix index 595f905cf..b7b7a25a5 100755 --- a/auto/unix +++ b/auto/unix @@ -505,14 +505,7 @@ ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value # 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