mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
b418e36f22
This commit updates PCRE2 to 10.34, and we no longer include what's in their tarball as-is. I've yanked out a lot of uneccessary stuff for the sake of the size of our codebase. original pcre2-10.34 dir: 11.5MB pcre2 dir in this commit: 1.6MB * Remove documentation, makefiles, test suites, etc. LICENSE remains. * Disable building tests when configuring PCRE2 * Yard out JIT support: delete src/jit, src/pcre2_jit_*.c, and code doing stuff to code->executable_jit that needs a jit header (it was already NULL because we've always built with JIT disabled). * Remove most .c and .h files not needed to compile: pcre2grep code, pcre2test code, dftables.c, pcre2_printint.c, pcre2_fuzzsupport.c ... * Remove FindBZip2, FindZLIB, FindReadline, FindEditline. These were used only by pcre2grep and made CMake's report misleading with regard to optional packages being used. * Remove configure.ac except for version number and date which CMake checks Next time we update PCRE2, refer to this commit message as well as a diff between pcre2-10.34.tar.gz and ./pcre2-10.34/. Or better yet, cease including pcre2.
7 lines
No EOL
282 B
Text
7 lines
No EOL
282 B
Text
m4_define(pcre2_major, [10])
|
|
m4_define(pcre2_minor, [34])
|
|
m4_define(pcre2_prerelease, [])
|
|
m4_define(pcre2_date, [2019-11-21])
|
|
|
|
# NOTE: The CMakeLists.txt file searches for the above variables in the first
|
|
# 50 lines of this file. Please update that if the variables above are moved. |