[master] 419f983 Enable PCRE JIT-er by default

Tollef Fog Heen tfheen at err.no
Mon May 4 13:28:51 CEST 2015


commit 419f983eeec6d0b0b932105495f4e09179260eec
Author: Tollef Fog Heen <tfheen at err.no>
Date:   Mon May 4 13:27:17 2015 +0200

    Enable PCRE JIT-er by default
    
    The JIT-er is generally safe to use, and faster, so use that.
    
    Fixes: #1576, #1630

diff --git a/configure.ac b/configure.ac
index fafe5e4..6c4d5f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -614,9 +614,9 @@ AC_DEFINE_UNQUOTED([VCC_CC],"$VCC_CC",[C compiler command line for VCL code])
 # --enable-pcre-jit
 AC_ARG_ENABLE(pcre-jit,
     AS_HELP_STRING([--enable-pcre-jit],
-	[use the PCRE JIT compiler (default is NO)]),
+	[use the PCRE JIT compiler (default is YES)]),
     ,
-    [enable_pcre_jit=no])
+    [enable_pcre_jit=yes])
 
 if test "$enable_pcre_jit" = yes; then
    AC_DEFINE([USE_PCRE_JIT],[1],[use the PCRE JIT compiler])



More information about the varnish-commit mailing list