about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-09-29 16:46:01 +0100
committerPeter Stephenson <pws@zsh.org>2017-10-02 09:44:26 +0100
commit174e560a23e40725cd0b50669a52d831342e5246 (patch)
tree6ded2f3a9cf9dc2fbece05d867f4531c8e55f575 /configure.ac
parent728f2adfc8daf2c65c5d4130a903635a58c99fb5 (diff)
downloadzsh-174e560a23e40725cd0b50669a52d831342e5246.tar.gz
zsh-174e560a23e40725cd0b50669a52d831342e5246.tar.xz
zsh-174e560a23e40725cd0b50669a52d831342e5246.zip
41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.
Initialised from existing configuration value.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index ec0bdae6e..1a498f8b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -415,13 +415,13 @@ 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,
-AC_HELP_STRING([--enable-max-function-depth=MAX], [limit function depth to MAX, default 1000]),
+AC_HELP_STRING([--enable-max-function-depth=MAX], [limit function depth to MAX, default 500]),
 [if test x$enableval = xyes; then
-  AC_DEFINE(MAX_FUNCTION_DEPTH, 1000)
+  AC_DEFINE(MAX_FUNCTION_DEPTH, 500)
 elif test x$enableval != xno; then
   AC_DEFINE_UNQUOTED(MAX_FUNCTION_DEPTH, $enableval)
 fi],
-[AC_DEFINE(MAX_FUNCTION_DEPTH, 1000)]
+[AC_DEFINE(MAX_FUNCTION_DEPTH, 500)]
 )
 
 ifdef([default_readnullcmd],[undefine([default_readnullcmd])])dnl