summaryrefslogtreecommitdiffhomepage
path: root/auto/unix
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2015-06-17 14:15:27 +0300
committerRuslan Ermilov <ru@nginx.com>2015-06-17 14:15:27 +0300
commit72c3706bc52d1aabcc102656c67fb444187c37e2 (patch)
tree6835eb286f365a650ff00caa2452d4e8e0b2c8e3 /auto/unix
parentb7a8f2a08f6a2f777de5e0cef85aed615a9f057d (diff)
downloadnginx-72c3706bc52d1aabcc102656c67fb444187c37e2.tar.gz
nginx-72c3706bc52d1aabcc102656c67fb444187c37e2.tar.bz2
Configure: fix tests with multi-level relative build directory.
Based on a patch by Piotr Sikora.
Diffstat (limited to 'auto/unix')
-rwxr-xr-xauto/unix9
1 files changed, 1 insertions, 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