nginx/auto/lib
Maxim Dounin 8ae9e7903f 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 is 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.
2012-12-12 13:50:07 +00:00
..
geoip Copyright updated. 2012-01-18 15:07:43 +00:00
google-perftools Added code to look up Google perftools in /opt/local/, for MacPorts. 2012-06-26 08:15:40 +00:00
libatomic Configure: fixed make macros to use parentheses instead of braces. 2012-09-11 12:43:59 +00:00
libgd Copyright updated. 2012-01-18 15:07:43 +00:00
libxslt Copyright updated. 2012-01-18 15:07:43 +00:00
md5 Copyright updated. 2012-01-18 15:07:43 +00:00
openssl Copyright updated. 2012-01-18 15:07:43 +00:00
pcre Configure: better check for PCRE JIT. 2012-12-12 13:50:07 +00:00
perl Fixed build with embedded perl in certain setups (ticket #48). 2012-12-03 16:00:26 +00:00
sha1 Copyright updated. 2012-01-18 15:07:43 +00:00
zlib Configure: provide inflate() when building zlib on win32. 2012-09-11 12:35:30 +00:00
conf Copyright updated. 2012-01-18 15:07:43 +00:00
make Copyright updated. 2012-01-18 15:07:43 +00:00
test Copyright updated. 2012-01-18 15:07:43 +00:00