[PATCH] Configure: added new option --with-pcre-conf-opt=OPTIONS.

Maxim Dounin mdounin at mdounin.ru
Tue Dec 10 18:52:31 UTC 2013


On Tue, Dec 10, 2013 at 10:31:26AM -0800, rand at sent.com wrote:

> On Tue, Dec 10, 2013, at 10:25 AM, Maxim Dounin wrote:
> > > Right now, when PCRE is compiled from source via --with-pcre, there is
> Is the --with-pcre option in nginx, pointing to path to pcre src files,
> necessarily rebuilding pcre in/with the nginx build?
> If we've got a locally configured/built/installed pcre instance can
> nginx simply 'use' that instance? or, is the in-tree build required?

Of course any installed pcre instance can be used.  Moreover, 
nginx will try hard to detect various standard installations, see 

The --with-pcre option was introduced to simplify building the 
library with nginx itself, which is sometimes practical, 
especially if there is no standard way to install the library 
(like, e.g., on win32).

Maxim Dounin

More information about the nginx-devel mailing list