# HG changeset patch # User Ruslan Ermilov # Date 1489685906 -10800 # Node ID 29e452c561259d04d9823d24f739929eaea213c9 # Parent e54c336d95aa8c36796777b40a2bba81a7c3c557 Configure: fixed build with --with-stream. Some combinations of options might cause the builds with the --with-stream option to break due to invalid value of the STREAM_INCS make variable, e.g. auto/configure \ --with-stream \ --with-http_perl_module=dynamic \ --without-http_memcached_module \ --without-http_empty_gif_module \ --without-http_browser_module \ --without-http_upstream_hash_module \ --without-http_upstream_ip_hash_module \ --without-http_upstream_least_conn_module \ --without-http_upstream_keepalive_module \ --without-http_upstream_zone_module \ Explicit initialization of ngx_module_libs and ngx_module_link matches what we already do when processing mail modules, and is also required after the next change. diff --git a/auto/modules b/auto/modules --- a/auto/modules +++ b/auto/modules @@ -966,6 +966,8 @@ if [ $STREAM != NO ]; then STREAM_INCS= ngx_module_type=STREAM + ngx_module_libs= + ngx_module_link=YES ngx_module_order=