2015-09-13 03:59:40 +08:00
|
|
|
/* config.h for CMake builds */
|
|
|
|
|
2020-05-10 22:27:46 +08:00
|
|
|
#cmakedefine HAVE_ATTRIBUTE_UNINITIALIZED 1
|
2015-09-13 03:59:40 +08:00
|
|
|
#cmakedefine HAVE_DIRENT_H 1
|
|
|
|
#cmakedefine HAVE_INTTYPES_H 1
|
|
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
|
|
#cmakedefine HAVE_STRERROR 1
|
|
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
|
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
|
|
#cmakedefine HAVE_WINDOWS_H 1
|
|
|
|
|
|
|
|
#cmakedefine HAVE_BCOPY 1
|
2020-05-10 22:27:46 +08:00
|
|
|
#cmakedefine HAVE_MEMFD_CREATE 1
|
2015-09-13 03:59:40 +08:00
|
|
|
#cmakedefine HAVE_MEMMOVE 1
|
2020-05-10 22:27:46 +08:00
|
|
|
#cmakedefine HAVE_SECURE_GETENV 1
|
|
|
|
#cmakedefine HAVE_STRERROR 1
|
2015-09-13 03:59:40 +08:00
|
|
|
|
|
|
|
#cmakedefine PCRE2_STATIC 1
|
|
|
|
|
|
|
|
#cmakedefine SUPPORT_PCRE2_8 1
|
|
|
|
#cmakedefine SUPPORT_PCRE2_16 1
|
|
|
|
#cmakedefine SUPPORT_PCRE2_32 1
|
|
|
|
#cmakedefine PCRE2_DEBUG 1
|
Take an axe to vendored PCRE2 bits & update it to 10.34
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.
2020-02-18 21:07:45 +08:00
|
|
|
#cmakedefine DISABLE_PERCENT_ZT 1
|
2015-09-13 03:59:40 +08:00
|
|
|
|
|
|
|
#cmakedefine SUPPORT_LIBBZ2 1
|
|
|
|
#cmakedefine SUPPORT_LIBEDIT 1
|
|
|
|
#cmakedefine SUPPORT_LIBREADLINE 1
|
|
|
|
#cmakedefine SUPPORT_LIBZ 1
|
|
|
|
|
|
|
|
#cmakedefine SUPPORT_JIT 1
|
2018-12-29 21:33:00 +08:00
|
|
|
#cmakedefine SLJIT_PROT_EXECUTABLE_ALLOCATOR 1
|
2015-09-13 03:59:40 +08:00
|
|
|
#cmakedefine SUPPORT_PCRE2GREP_JIT 1
|
Take an axe to vendored PCRE2 bits & update it to 10.34
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.
2020-02-18 21:07:45 +08:00
|
|
|
#cmakedefine SUPPORT_PCRE2GREP_CALLOUT 1
|
|
|
|
#cmakedefine SUPPORT_PCRE2GREP_CALLOUT_FORK 1
|
2015-09-13 03:59:40 +08:00
|
|
|
#cmakedefine SUPPORT_UNICODE 1
|
|
|
|
#cmakedefine SUPPORT_VALGRIND 1
|
|
|
|
|
|
|
|
#cmakedefine BSR_ANYCRLF 1
|
|
|
|
#cmakedefine EBCDIC 1
|
|
|
|
#cmakedefine EBCDIC_NL25 1
|
|
|
|
#cmakedefine HEAP_MATCH_RECURSE 1
|
2016-04-15 13:21:36 +08:00
|
|
|
#cmakedefine NEVER_BACKSLASH_C 1
|
2015-09-13 03:59:40 +08:00
|
|
|
|
|
|
|
#define LINK_SIZE @PCRE2_LINK_SIZE@
|
2018-12-29 21:33:00 +08:00
|
|
|
#define HEAP_LIMIT @PCRE2_HEAP_LIMIT@
|
2015-09-13 03:59:40 +08:00
|
|
|
#define MATCH_LIMIT @PCRE2_MATCH_LIMIT@
|
2018-12-29 21:33:00 +08:00
|
|
|
#define MATCH_LIMIT_DEPTH @PCRE2_MATCH_LIMIT_DEPTH@
|
2015-09-13 03:59:40 +08:00
|
|
|
#define NEWLINE_DEFAULT @NEWLINE_DEFAULT@
|
|
|
|
#define PARENS_NEST_LIMIT @PCRE2_PARENS_NEST_LIMIT@
|
|
|
|
#define PCRE2GREP_BUFSIZE @PCRE2GREP_BUFSIZE@
|
2018-12-29 21:33:00 +08:00
|
|
|
#define PCRE2GREP_MAX_BUFSIZE @PCRE2GREP_MAX_BUFSIZE@
|
2015-09-13 03:59:40 +08:00
|
|
|
|
|
|
|
#define MAX_NAME_SIZE 32
|
|
|
|
#define MAX_NAME_COUNT 10000
|
|
|
|
|
|
|
|
/* end config.h for CMake builds */
|