mdounin at mdounin.ru
Wed Oct 12 13:52:14 UTC 2016
On Wed, Oct 12, 2016 at 03:03:29PM +0530, Anoop Alias wrote:
> *) Feature: the --with-compat configure option.
> What does this do actually?
This option enables dynamic modules compatibility, that is, it
ensures that appropriate fields in structures are present (or
appropriately-sized placeholders are added).
As a result, it is now possible to compile compatible dynamic
modules using a minimal set of configure arguments as long as main
nginx binary is compiled using --with-compat. Just
./configure --with-compat --add-dynamic-module=/path/to/module
should be enough to compile a binary compatible module.
Additionally, this option enables binary compatibility of dynamic
modules with our commercial product, NGINX Plus, and thus allows
one to compile and load custom modules into NGINX Plus.
Corresponding version of NGINX Plus is yet to be released though.
More information about the nginx