[PATCH] Fix PCRE detection on OSX.

Matthieu Tourne matthieu.tourne at gmail.com
Sat Dec 8 06:32:01 UTC 2012

On Fri, Dec 7, 2012 at 9:25 PM, Ruslan Ermilov <ru at nginx.com> wrote:

> On Fri, Dec 07, 2012 at 03:15:51PM -0800, Piotr Sikora wrote:
> > > That said, I believe that the patch is not ideal. Assuming that PCRE
> is not
> > > installed when building on Mac is bad behavior. Ideally the
> configuration
> > > script would check for the presence of the library. But until that is
> > > implemented (if ever), this patch is probably the best solution.
> >
> > You're misreading the patch - it just skips the check to see if PCRE
> > is available without any additional -L / -I options, it will still do
> > all the checks to see if PCRE is available in /usr/local, /opt/local
> > and all other common prefixes...
> And what happens if Apple fixes it the other day by putting PCRE
> headers (back?) under /usr/include?  How do we compile with the
> version in /usr/include and /usr/lib then?

The version that I posted on this thread should guarantee that headers and
lib are in sync, or the configure itself will error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121207/92d011fd/attachment.html>

More information about the nginx-devel mailing list