Configure: fix tests with multi-level relative build directory.

Based on a patch by Piotr Sikora.
This commit is contained in:
Ruslan Ermilov 2015-06-17 14:15:27 +03:00
parent b7a8f2a08f
commit 72c3706bc5

View File

@ -505,14 +505,7 @@ ngx_param=NGX_PTR_SIZE; ngx_value=$ngx_size; . auto/types/value
# POSIX types # 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\""
;;
*)
NGX_INCLUDE_AUTO_CONFIG_H="#include \"../$NGX_AUTO_CONFIG_H\""
;;
esac
ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef ngx_type="uint64_t"; ngx_types="u_int64_t"; . auto/types/typedef