1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-24 17:00:32 +02:00

20222: turn on max function depth

plus unposted reference to this in README
plus unposted neatening of 20219 history-pattern-search
This commit is contained in:
Peter Stephenson 2004-07-30 11:09:16 +00:00
parent b550cfe7e3
commit ab899b76c7
6 changed files with 62 additions and 24 deletions

View file

@ -301,12 +301,14 @@ ifdef([max_function_depth],[undefine([max_function_depth])])dnl
AH_TEMPLATE([MAX_FUNCTION_DEPTH],
[Define for function depth limits])
AC_ARG_ENABLE(max-function-depth,
[ --enable-max-function-depth=MAX limit function depth to MAX],
[ --enable-max-function-depth=MAX limit function depth to MAX, default 4096],
[if test x$enableval = xyes; then
AC_DEFINE(MAX_FUNCTION_DEPTH, 4096)
else
elif test x$enableval != xno; then
AC_DEFINE_UNQUOTED(MAX_FUNCTION_DEPTH, $enableval)
fi])
fi],
[AC_DEFINE(MAX_FUNCTION_DEPTH, 4096)]
)
dnl Do you want to look for pcre support?
AC_ARG_ENABLE(pcre,