From: Ruslan Ermilov Date: Wed, 17 Jun 2015 11:15:27 +0000 (+0300) Subject: Configure: fix tests with multi-level relative build directory. X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=72c3706bc52d1aabcc102656c67fb444187c37e2;p=nginx.git Configure: fix tests with multi-level relative build directory. Based on a patch by Piotr Sikora. --- 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