[PATCH] Fix PCRE detection on OSX.

Piotr Sikora piotr at cloudflare.com
Fri Dec 7 23:15:51 UTC 2012

Hey Tom,

> 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...

In short, it compiles nginx with PCRE on OSX, without requiring user
to do the "configure" work by hand.

Best regards,
Piotr Sikora

More information about the nginx-devel mailing list