Is there a particular reason --with-compat isn't enabled by default?

Thomas Ward teward at thomas-ward.net
Wed May 16 16:03:51 UTC 2018


Maxim,

Thanks for your reply.


On 05/10/2018 08:47 AM, Maxim Dounin wrote:
> More importantly, "--with-compat" provides compatibility between 
> builds with different configure options.  
>
> Without the "--with-compat" argument, one have to use exactly the 
> same  "./configure" line to build both nginx and a module.  The 
> "--with-compat" option relaxes this restriction, and it is more or 
> less enough to build both nginx and a module with "--with-compat".
>
> This generally simplifies building dynamic modules, and also 
> allows one to load the same module into different nginx variants 
> built with different flags.

Is there a reason, then, that `--with-compat` is not a default build
option?  Is there a particular specific reason it was *not* set as a
default compile-time option?


Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20180516/76e95ae0/attachment.html>


More information about the nginx-devel mailing list