[PATCH] Pass configuration options to PCRE build

Marcelo MD lists.md at gmail.com
Wed Jun 22 19:05:17 UTC 2016


# HG changeset patch
# User Marcelo Mallmann <marcelo.mallmann at azion.com>
# Date 1466622014 10800
#      Wed Jun 22 16:00:14 2016 -0300
# Node ID 3458ac42b0ce4e004516411eeab5a960253c1eac
# Parent  191e23214dfbaf01255d421f5bbe0d5541d03a2f
Pass configuration options to PCRE build

Add '--with-pcre-conf-opt' option which passes its args to
pcre's 'configure' step.

diff -r 191e23214dfb -r 3458ac42b0ce auto/options
--- a/auto/options Wed Jun 22 11:50:02 2016 +0300
+++ b/auto/options Wed Jun 22 16:00:14 2016 -0300
@@ -327,6 +327,7 @@
         --without-pcre)                  USE_PCRE=DISABLED          ;;
         --with-pcre)                     USE_PCRE=YES               ;;
         --with-pcre=*)                   PCRE="$value"              ;;
+        --with-pcre-conf-opt=*)          PCRE_CONF_OPT="$value"     ;;
         --with-pcre-opt=*)               PCRE_OPT="$value"          ;;
         --with-pcre-jit)                 PCRE_JIT=YES               ;;

@@ -508,6 +509,7 @@
   --without-pcre                     disable PCRE library usage
   --with-pcre                        force PCRE library usage
   --with-pcre=DIR                    set path to PCRE library sources
+  --with-pcre-conf-opt=OPTIONS       set additional configuration options
for PCRE
   --with-pcre-opt=OPTIONS            set additional build options for PCRE
   --with-pcre-jit                    build PCRE with JIT compilation
support



-- 
Marcelo Mallmann Dias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20160622/685914c6/attachment.html>


More information about the nginx-devel mailing list