[PATCH 3 of 8] Include features which can be compiled when crossbuilding

Per Olav Høydahl Ohme phoydahl at cisco.com
Fri Jul 18 12:05:49 UTC 2014


# HG changeset patch
# User Per Olav Hoydahl Ohme <phoydahl at cisco.com>
# Date 1405683324 -7200
#      Fri Jul 18 13:35:24 2014 +0200
# Node ID 59f889ac3d3d6a5845fb5cbf7aa57ac2bc74d382
# Parent  afa61241e2957de3858aba2eb16f8c1b65842484
Include features which can be compiled when crossbuilding.
Normally, features are only included if their tests execute successfully.

diff -r afa61241e295 -r 59f889ac3d3d auto/feature
--- a/auto/feature	Fri Jul 18 13:35:24 2014 +0200
+++ b/auto/feature	Fri Jul 18 13:35:24 2014 +0200
@@ -55,6 +55,7 @@
 
 eval "/bin/sh -c \"$ngx_test\" >> $NGX_AUTOCONF_ERR 2>&1"
 
+[ $NGX_CROSSBUILD = YES ] && ngx_feature_run=no
 
 if [ -x $NGX_AUTOTEST ]; then
 



More information about the nginx-devel mailing list