Björn Svensson
c105117b40
Use PCRE2 instead of PCRE ( #153 )
...
PCRE is now at end of life and is no longer actively maintained.
Lift the dependency to the next major version, i.e. PCRE2.
Implementation notes:
- Removed the pcre study option since:
"The new API ... was simplified by abolishing the separate "study" optimizing
function; in PCRE2, patterns are automatically optimized where possible."
- If asprintf() fails the content of the 'strp' variable is undefined.
Lets check the return value and return NULL upon error.
- Pattern and subject can straightforwardly be cast to PCRE2_SPTR since we
only work with 8-bit code units.
2023-10-23 12:38:24 +02:00
Björn Svensson
0072b618b6
Check for existence of stdbool.h during CMake builds
...
The headerfile is searched for during autogen/autoconf builds to
determine when to include stdbool.h.
This let CMake builds have the same behavior.
2021-10-12 10:52:44 +02:00
Michael Steinert
8abc03ea56
cmake: Add some comments regarding r3.pc.in
2018-07-10 08:24:05 -05:00
Michael Steinert
d1c06cd3e9
Cleanup CMake build files
2018-07-05 11:43:22 -05:00
Martijn Otto
6565274ce8
We need 3rdparty for the normal build as well
2018-02-24 17:53:02 +01:00
Martijn Otto
2f96c59929
Further WIP, got the tests to link against pthread (was broken due to pkg-config not specifying -pthread as -lpthread and cmake thus not recognizing it as a library)
2018-02-24 17:45:15 +01:00
Martijn Otto
a2396fe15b
WIP on support for CMake builds, fails to build tests (probably error in FindCheck not declaring dependency on pthread)
2018-02-23 09:39:39 +01:00
c9s
3376d1b771
Judy array is not used.
2015-11-10 19:58:28 +08:00
c9s
7754043252
Include 3rdparty CMakeLists.txt
2014-06-18 20:54:46 +08:00
c9s
a697301c44
strndup polyfill for cmake
2014-06-18 20:47:06 +08:00
c9s
8ebaac0536
Fix CMakeLists.txt
2014-06-18 20:28:13 +08:00
c9s
fb0cb84c3c
Put CMakeLists.txt back
2014-06-18 20:28:13 +08:00
c9s
5b7d4ae441
Add config.h.in
2014-05-17 06:40:08 +08:00
c9s
bee02242df
Fix CFLAGS for std=99
2014-05-16 22:41:19 +08:00
c9s
8f3ac387f0
remove Judy
2014-05-16 22:05:23 +08:00
c9s
b34aa75924
use shared linking and install rules
2014-05-16 20:30:31 +08:00
c9s
fec873b411
update testing framework with "Check"
2014-05-15 10:08:42 +08:00
c9s
9e3943cbe0
clean up cmakelist
2014-05-15 00:59:22 +08:00
c9s
8168861af1
cmake: include_subdirectory(src) and include_subdirectory(tests)
2014-05-15 00:47:52 +08:00
c9s
1140f78d56
Fix cmakelist file
2014-05-15 00:41:08 +08:00
c9s
30673aafbc
Rename to R3
2014-05-15 00:18:59 +08:00
c9s
07f3de0804
Rename r2 to r3
2014-05-15 00:17:36 +08:00