[PATCH] Fix PCRE detection on OSX.
ru at nginx.com
Sat Dec 8 05:25:38 UTC 2012
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?
> In short, it compiles nginx with PCRE on OSX, without requiring user
> to do the "configure" work by hand.
More information about the nginx-devel