]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>
Sun, 25 Aug 2019 18:22:22 +0000 (11:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Aug 2019 18:37:01 +0000 (11:37 -0700)
commit8991da6a3864d93d860afe4c510b4fdbf0da6363
treedd619d2821eca27b0a0f9082a9df9b49f248467f
parentc581e4a7499b9e1089847dbbc057afbef1ed861e
grep: make sure NO_LIBPCRE1_JIT disable JIT in PCRE1

e87de7cab4 ("grep: un-break building with PCRE < 8.32", 2017-05-25)
added a restriction for JIT support that is no longer needed after
pcre_jit_exec() calls were removed.

Reorganize the definitions in grep.h so that JIT support could be
detected early and NO_LIBPCRE1_JIT could be used reliably to enforce
JIT doesn't get used.

Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
grep.h