| 193 |
AC_LANG_PUSH(C++) |
AC_LANG_PUSH(C++) |
| 194 |
|
|
| 195 |
# We could be more clever here, given we're doing AC_SUBST with this |
# We could be more clever here, given we're doing AC_SUBST with this |
| 196 |
# (eg set a var to be the name of the include file we want). But we're not |
# (eg set a var to be the name of the include file we want). But we're not |
| 197 |
# so it's easy to change back to 'regular' autoconf vars if we needed to. |
# so it's easy to change back to 'regular' autoconf vars if we needed to. |
| 198 |
AC_CHECK_HEADERS(string, [pcre_have_cpp_headers="1"], |
AC_CHECK_HEADERS(string, [pcre_have_cpp_headers="1"], |
| 199 |
[pcre_have_cpp_headers="0"]) |
[pcre_have_cpp_headers="0"]) |
| 251 |
if test "$enable_stack_for_recursion" = "no"; then |
if test "$enable_stack_for_recursion" = "no"; then |
| 252 |
AC_DEFINE([NO_RECURSE], [], [ |
AC_DEFINE([NO_RECURSE], [], [ |
| 253 |
PCRE uses recursive function calls to handle backtracking while |
PCRE uses recursive function calls to handle backtracking while |
| 254 |
matching. This can sometimes be a problem on systems that have |
matching. This can sometimes be a problem on systems that have |
| 255 |
stacks of limited size. Define NO_RECURSE to get a version that |
stacks of limited size. Define NO_RECURSE to get a version that |
| 256 |
doesn't use recursion in the match() function; instead it creates |
doesn't use recursion in the match() function; instead it creates |
| 257 |
its own stack by steam using pcre_recurse_malloc() to obtain memory |
its own stack by steam using pcre_recurse_malloc() to obtain memory |