nginx/auto
Maxim Dounin c6fec0b027 PCRE2 library support.
The PCRE2 library is now used by default if found, instead of the
original PCRE library.  If needed for some reason, this can be disabled
with the --without-pcre2 configure option.

To make it possible to specify paths to the library and include files
via --with-cc-opt / --with-ld-opt, the library is first tested without
any additional paths and options.  If this fails, the pcre2-config script
is used.

Similarly to the original PCRE library, it is now possible to build PCRE2
from sources with nginx configure, by using the --with-pcre= option.
It automatically detects if PCRE or PCRE2 sources are provided.

Note that compiling PCRE2 10.33 and later requires inttypes.h.  When
compiling on Windows with MSVC, inttypes.h is only available starting
with MSVC 2013.  In older versions some replacement needs to be provided
("echo '#include <stdint.h>' > pcre2-10.xx/src/inttypes.h" is good enough
for MSVC 2010).

The interface on nginx side remains unchanged.
2021-12-25 01:07:15 +03:00
..
cc Win32: defined pdb path. 2019-04-04 19:30:47 +03:00
lib PCRE2 library support. 2021-12-25 01:07:15 +03:00
os Configure: fixed --test-build-epoll on FreeBSD 13. 2021-04-05 20:14:16 +03:00
types Configure: stop polluting NGX_ namespace. 2016-06-27 15:00:06 -07:00
configure Core: "-e" command line option. 2020-11-19 16:59:00 +00:00
define Copyright updated. 2012-01-18 15:07:43 +00:00
endianness Configure: fix build with -Werror=old-style-definition. 2016-06-27 15:00:05 -07:00
feature Configure: fix build with -Werror=old-style-definition. 2016-06-27 15:00:05 -07: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 Configure: stop polluting NGX_ namespace. 2016-06-27 15:00:06 -07:00
init Configure: marked top-level make targets as phony. 2021-02-20 12:44:26 +03:00
install Configure: marked top-level make targets as phony. 2021-02-20 12:44:26 +03:00
make Configure: shared sources for addon modules. 2020-11-10 17:13:20 +03:00
module Configure: shared sources for addon modules. 2020-11-10 17:13:20 +03:00
modules Moved Huffman coding out of HTTP/2. 2021-12-21 07:54:16 +03:00
nohave Copyright updated. 2012-01-18 15:07:43 +00:00
options PCRE2 library support. 2021-12-25 01:07:15 +03:00
sources Moved Huffman coding out of HTTP/2. 2021-12-21 07:54:16 +03:00
stubs Copyright updated. 2012-01-18 15:07:43 +00:00
summary PCRE2 library support. 2021-12-25 01:07:15 +03:00
threads Configure: fixed static compilation with OpenSSL 1.1.1. 2018-03-22 15:55:57 +03:00
unix Configure: fixed --test-build-epoll on FreeBSD 13. 2021-04-05 20:14:16 +03:00