changeset 2820:d6ce81d4ef08

Documented the PCRE2 library support.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 13 Jan 2022 01:36:17 +0300
parents b7ff3d1915a1
children 06c7520f1181
files xml/en/docs/configure.xml xml/ru/docs/configure.xml
diffstat 2 files changed, 23 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/configure.xml	Thu Jan 13 01:36:10 2022 +0300
+++ b/xml/en/docs/configure.xml	Thu Jan 13 01:36:17 2022 +0300
@@ -8,7 +8,7 @@
 <article name="Building nginx from Sources"
          link="/en/docs/configure.html"
          lang="en"
-         rev="18">
+         rev="19">
 
 <section>
 
@@ -1205,8 +1205,7 @@
 </tag-name>
 <tag-desc>
 sets the path to the sources of the PCRE library.
-The library distribution (version
-4.4&mdash;8.43) needs to be downloaded from the
+The library distribution needs to be downloaded from the
 <link url="http://www.pcre.org">PCRE</link> site and extracted.
 The rest is done by nginx’s <command>./configure</command> and
 <command>make</command>.
@@ -1233,6 +1232,14 @@
 <link doc="ngx_core_module.xml" id="pcre_jit"/> directive).
 </tag-desc>
 
+<tag-name>
+<literal>--without-pcre2</literal>
+</tag-name>
+<tag-desc>
+disables use of the PCRE2 library
+instead of the original PCRE library (1.21.5).
+</tag-desc>
+
 </list>
 </para>
 
@@ -1333,7 +1340,7 @@
     --conf-path=/usr/local/nginx/nginx.conf
     --pid-path=/usr/local/nginx/nginx.pid
     --with-http_ssl_module
-    --with-pcre=../pcre-8.44
+    --with-pcre=../pcre2-10.39
     --with-zlib=../zlib-1.2.11
 </programlisting>
 </para>
--- a/xml/ru/docs/configure.xml	Thu Jan 13 01:36:10 2022 +0300
+++ b/xml/ru/docs/configure.xml	Thu Jan 13 01:36:17 2022 +0300
@@ -8,7 +8,7 @@
 <article name="Сборка nginx из исходных файлов"
          link="/ru/docs/configure.html"
          lang="ru"
-         rev="18">
+         rev="19">
 
 <section>
 
@@ -1184,8 +1184,8 @@
 </tag-name>
 <tag-desc>
 задаёт путь к исходным текстам библиотеки PCRE.
-Дистрибутив библиотеки (версию
-4.4&mdash;8.43) нужно взять на сайте <link url="http://www.pcre.org">PCRE</link>
+Дистрибутив библиотеки
+нужно взять на сайте <link url="http://www.pcre.org">PCRE</link>
 и распаковать.
 Всё остальное сделают <command>./configure</command> nginx’а и
 <command>make</command>.
@@ -1211,6 +1211,14 @@
 <link doc="ngx_core_module.xml" id="pcre_jit"/>).
 </tag-desc>
 
+<tag-name>
+<literal>--without-pcre2</literal>
+</tag-name>
+<tag-desc>
+запрещает использование библиотеки PCRE2
+вместо исходной библиотеки PCRE (1.21.5).
+</tag-desc>
+
 </list>
 </para>
 
@@ -1311,7 +1319,7 @@
     --conf-path=/usr/local/nginx/nginx.conf
     --pid-path=/usr/local/nginx/nginx.pid
     --with-http_ssl_module
-    --with-pcre=../pcre-8.44
+    --with-pcre=../pcre2-10.39
     --with-zlib=../zlib-1.2.11
 </programlisting>
 </para>