nginx/auto
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
..
cc Removed extraneous GCC warning flags. 2012-07-29 19:45:30 +00:00
lib Configure: better check for PCRE JIT. 2012-12-12 13:50:07 +00:00
os Fixed "sendmsg() failed" alerts on HP-UX. 2012-06-18 14:11:29 +00:00
types Fixed more gcc46 warnings in configure tests. 2012-03-27 16:44:52 +00:00
configure Made sure to run configure in a "C" locale. 2012-07-24 15:16:09 +00:00
define Copyright updated. 2012-01-18 15:07:43 +00:00
endianness Fixed spelling of "endianness", and called it "byte ordering" in the 2012-06-08 09:41:55 +00:00
feature Copyright updated. 2012-01-18 15:07:43 +00:00
have Copyright updated. 2012-01-18 15:07:43 +00:00
have_headers Copyright updated. 2012-01-18 15:07:43 +00:00
headers Copyright updated. 2012-01-18 15:07:43 +00:00
include Copyright updated. 2012-01-18 15:07:43 +00:00
init Copyright updated. 2012-01-18 15:07:43 +00:00
install Configure: fixed make macros to use parentheses instead of braces. 2012-09-11 12:43:59 +00:00
make Correct plural form for "path" in the whole source base. 2012-09-28 13:49:26 +00:00
modules Gunzip filter import. 2012-09-10 16:52:47 +00:00
nohave Copyright updated. 2012-01-18 15:07:43 +00:00
options Configure: help updated to list upstream keepalive and least_conn. 2012-09-26 16:39:38 +00:00
sources OCSP stapling: ssl_stapling_file support. 2012-10-01 12:41:08 +00:00
stubs Copyright updated. 2012-01-18 15:07:43 +00:00
summary Copyright updated. 2012-01-18 15:07:43 +00:00
unix Fixed spelling of "endianness", and called it "byte ordering" in the 2012-06-08 09:41:55 +00:00