[PATCH 1 of 2] Configure: fix tests with multi-level relative build directory
Piotr Sikora
piotr at cloudflare.com
Thu Jun 11 02:19:29 UTC 2015
# HG changeset patch
# User Piotr Sikora <piotr at cloudflare.com>
# Date 1433989099 25200
# Wed Jun 10 19:18:19 2015 -0700
# Node ID 4ee03ff4811708bafd07e84c5a71165a52b38299
# Parent c041f1e0655f786db5cf1a3e79ca1f464fec0258
Configure: fix tests with multi-level relative build directory.
Signed-off-by: Piotr Sikora <piotr at cloudflare.com>
diff -r c041f1e0655f -r 4ee03ff48117 auto/unix
--- a/auto/unix Wed Jun 10 19:18:20 2015 +0300
+++ b/auto/unix Wed Jun 10 19:18:19 2015 -0700
@@ -510,7 +510,7 @@ 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 \"$PWD/$NGX_AUTO_CONFIG_H\""
;;
esac
More information about the nginx-devel
mailing list