X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=pcrs.c;fp=pcrs.c;h=007f7cc104d9b9cb40648434f938a597df30508c;hp=83100983b6475d0b7d75cbae6280db8595227d28;hb=12f96cb705433afd5a14e6032adb5d12df8c23ca;hpb=e351634206e5b3d39470b86c59ddc175d659b0e2 diff --git a/pcrs.c b/pcrs.c index 83100983..007f7cc1 100644 --- a/pcrs.c +++ b/pcrs.c @@ -670,10 +670,14 @@ pcrs_job *pcrs_compile(const char *pattern, const char *substitute, const char * #ifdef PCRE_STUDY_JIT_COMPILE +#ifdef DISABLE_PCRE_JIT_COMPILATION +#warning PCRE_STUDY_JIT_COMPILE is supported but Privoxy has been configured not to use it +#else if (!(flags & PCRS_DYNAMIC)) { pcre_study_options = PCRE_STUDY_JIT_COMPILE; } +#endif #endif /*