Commit graph

53 commits

Author SHA1 Message Date
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
Michael Steinert
b3dbf75da5 Remove zmalloc dependency
Zmalloc comes from Redis. It's purpose is to track total allocations so
that a maximum can be set. For more information see the following links:

https://groups.google.com/forum/#!topic/redis-db/dPRdpowqJsY
https://stackoverflow.com/questions/22729730/when-would-one-use-malloc-over-zmalloc

This allocator is slower, not needed, and conflicts with Zlib (when
linking statically). This patch removes Zmalloc in favor of the system
allocator. Application developers can still choose to override the
allocator in their applications, e.g. Jemalloc, TCMalloc, etc.

Fixes #104
2018-07-10 08:20:46 -05: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
Yohan Boniface
234e64f584 Fix syntax error in configure.ac (fix #96) 2017-08-26 10:50:30 +02:00
Yo-An Lin
0ba956159c Check is not running, fix check
Also update .travis.yml
2016-03-12 12:46:05 +08:00
c9s
c128cdef13 Provide better feature checking for stdbool 2015-11-17 21:31:33 +08:00
c9s
82143dfacb use am slient rule 2014-09-27 16:40:06 +08:00
ChangZhuo Chen (陳昌倬)
21d9c486c0 Use DEBUG instead of ENABLE_DEBUG in config.h 2014-07-04 18:25:22 +08:00
c9s
13900d44ba bump version to 1.3.3 2014-06-28 00:53:32 +08:00
c9s
1eeae6d26e bump version to 1.3.2 2014-06-27 00:18:22 +08:00
whitglint
360646e680 Add C++ example. 2014-06-12 16:55:44 +08:00
c9s
4611566512 fix version 2014-06-08 13:13:31 +08:00
c9s
911eb17bf4 configure.ac fix for debian platform 2014-06-04 14:43:09 +08:00
c9s
2ff85c876d Fix simple.c and examples/Makefile.am 2014-06-03 22:41:39 +08:00
c9s
493a9d7d8e Add coverage option to gcc 2014-06-02 06:14:23 +08:00
c9s
20e3f1a3ba asprintf returns memory pointer which is from malloc() not zmalloc() 2014-06-02 05:48:27 +08:00
c9s
d4d1a59728 fix autotools for check 2014-06-02 05:23:00 +08:00
c9s
0636c9dad3 fix slug compile pattern 2014-06-02 01:21:02 +08:00
c9s
779d9a9859 Merge branch 'feature/json' 2014-06-01 20:19:30 +08:00
c9s
c5501ab5f6 fix configure options:
1. fix --enable-json
2. fix --enable-graphviz
2014-06-01 20:14:56 +08:00
c9s
7d6209d99c build with 3rdparty objects
use -static linking when linking libr3

AM_CFLAGS and AM_LDFLAGS are Makefile.am scope options

disable valgrind tracing check-tree

Makefile.am fix

Add json support

remove useless c files
2014-06-01 19:43:45 +08:00
c9s
7cdfaa0f7f Add AC_PROG_INSTALL 2014-06-01 16:39:32 +08:00
c9s
c69d483fc7 fix configure script for check 2014-05-24 16:26:47 +08:00
c9s
adc96ae2d2 unset if config.h is not found. 2014-05-24 15:50:12 +08:00
c9s
6f66cc4f7a check check.h automatically 2014-05-24 15:49:47 +08:00
c9s
b737fbb130 remove AM_PATH_CHECK 2014-05-24 15:46:45 +08:00
c9s
6358da7df8 Add --enable-check option 2014-05-24 15:41:02 +08:00
c9s
f3c6296a7a Fix the extra "check" checking 2014-05-24 15:30:57 +08:00
c9s
91097e3119 enable jemalloc only when major version > 2 2014-05-22 11:54:01 +08:00
c9s
2d4bd48116 Fix autoconf checking 2014-05-22 11:09:44 +08:00
c9s
a3866114e3 Add --with-malloc option to check jemalloc 2014-05-22 11:09:43 +08:00
mattn
7e13b0be9c AM_PATH_CHECK is deprecated, so check it defined 2014-05-22 01:14:37 +09:00
c9s
7ba0efc60c use doublecirlce for endpoint nodes 2014-05-20 23:48:35 +08:00
ChangZhuo Chen (陳昌倬)
f6d534d20b Remove AC_CHECK_HEADER_STDBOOL
AC_CHECK_HEADER_STDBOOL is not supported in ubuntu precise which is used
by travis-ci.
2014-05-20 12:08:18 +08:00
c9s
b25a68eaac Add --enable-debug option + *i is unused. 2014-05-18 11:03:15 +08:00
c9s
d3218b6331 clean up configure.ac 2014-05-18 10:22:53 +08:00
c9s
1cae209d9f update version 2014-05-18 10:14:08 +08:00
c9s
2e7a3c2736 workable --enable-graphviz 2014-05-18 10:13:51 +08:00
c9s
b56a52e1d8 Add --enable-graphviz option for graphviz:
Graphviz API is changed in 2014* version.
And the version on ubuntu 13.10  is 2013*
Which causes build fail.
2014-05-18 09:29:31 +08:00
c9s
d46d189e95 fix dep libgvc 2014-05-18 08:15:32 +08:00
c9s
27e8998ab3 Add gvc to configure.ac 2014-05-18 08:15:31 +08:00
c9s
8bc6812095 update configure.ac with more configs 2014-05-17 15:50:22 +08:00
ChangZhuo Chen (陳昌倬)
be0cd0df76 Add r3.pc 2014-05-17 11:35:45 +08:00
c9s
d30e58176c Adding AC_PROG_CC_STDC to configure.ac to support c99 2014-05-17 07:58:28 +08:00
c9s
a8eb380051 Check funcs & header files 2014-05-17 07:17:44 +08:00
c9s
04e0d6724b Fix check with autotool 2014-05-17 07:14:09 +08:00
c9s
fa2eca2e32 Add config.h 2014-05-17 06:44:32 +08:00
c9s
5b7d4ae441 Add config.h.in 2014-05-17 06:40:08 +08:00
c9s
38bf690fc3 update configure.ac 2014-05-17 06:37:45 +08:00
c9s
9ffa5aecb8 Check in files. 2014-05-15 00:15:19 +08:00