The official NGINX Open Source repository.
Go to file
Maxim Dounin a2107a6705 Merge of r4961: configure: better check for PCRE JIT.
On Mac OS X system toolchain by default prefers include files
from /usr/local/include, but libraries from /usr/lib.  This might result in
various problems, in particular the one outlined below.

If the PCRE library is installed into /usr/local/, this results in pcre.h
being used from /usr/local/include (with PCRE_CONFIG_JIT defined), but
libpcre from /usr/lib (as shipped with the OS, without pcre_free_study()
symbol).  As a result build fails as we use pcre_free_study() function
if we try to compile with PCRE JIT support.

Obvious workaround to the root cause is to ask compiler to prefer
library from /usr/local/lib via ./configure --with-ld-opt="-L/usr/local/lib".
On the other hand, in any case it would be good to check if the function
we are going to use is available, hence the change.

See thread here for details:
http://mailman.nginx.org/pipermail/nginx-devel/2012-December/003074.html

Prodded by Piotr Sikora.
2013-02-10 03:18:08 +00:00
auto Merge of r4961: configure: better check for PCRE JIT. 2013-02-10 03:18:08 +00:00
conf Added the HTTPS fastcgi_param to fastcgi.conf. 2011-12-25 19:15:56 +00:00
contrib nginx-0.3.55-RELEASE import 2006-07-28 15:16:17 +00:00
docs nginx-1.2.6-RELEASE 2012-12-11 14:24:23 +00:00
misc Merge of r4870, r4871, r4890, r4895: minor fixes. 2012-11-12 18:39:51 +00:00
src Merge of r4948, r4949, r4964, r4973, r5011: variables. 2013-02-10 03:08:42 +00:00
.hgtags release-1.2.6 tag 2012-12-11 14:26:07 +00:00