Dependency of 3rd party module

Maxim Dounin mdounin at mdounin.ru
Tue Jul 31 13:26:54 UTC 2012


Hello!

On Tue, Jul 31, 2012 at 08:56:19AM +0200, Daniel Fiala wrote:

> Hi all.
> I am developing some 3rd party module for Nginx. I would like to enable
> configuration/compilation of my module only if http_ssl_module is enabled.
> Moreover, if http_ssl_module is not set, then configure should write an
> error message and failed. Is there any way how to do this?

You may check HTTP_SSL variable in your module's config script 
(and trigger failure if it isn't set to "YES").  See auto/options 
for details.

Maxim Dounin



More information about the nginx-devel mailing list