mirror of
https://github.com/nginx/nginx.git
synced 2024-11-21 16:28:40 +00:00
Configure: fix tests with multi-level relative build directory.
Based on a patch by Piotr Sikora.
This commit is contained in:
parent
b7a8f2a08f
commit
72c3706bc5
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user