Sample configure call:
./configure --add-module=addons/nginx-upsync --without-http_rewrite_module --without-http_gzip_module --prefix=/www/nginx/ --with-stream --without-http_uwsgi_module --without-http_scgi_module --without-http_fastcgi_module --without-http_geo_module