Increase the size of the Guile stack to avoid stack overflow errors.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18511 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Alexander 2009-12-17 07:17:09 +00:00
parent 734c5e2f2c
commit 1866ebeaed
2 changed files with 3 additions and 1 deletions

View File

@ -499,7 +499,7 @@ for f in ${srcdir}/lib/srfi/srfi-*.scm
do do
srfi=`echo $f | sed 's%.*/%%' | sed 's/.scm//'` srfi=`echo $f | sed 's%.*/%%' | sed 's/.scm//'`
AC_MSG_CHECKING(if guile needs our copy of ${srfi}) AC_MSG_CHECKING(if guile needs our copy of ${srfi})
if ${GUILE} -c "(use-modules (srfi ${srfi}))" > /dev/null 2>&1 if ${GUILE} -c "(debug-set! stack 200000) (use-modules (srfi ${srfi}))" > /dev/null 2>&1
then then
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
else else

View File

@ -440,6 +440,8 @@ inner_main (void *closure, int argc, char **argv)
char* fn; char* fn;
GError *error = NULL; GError *error = NULL;
scm_c_eval_string("(debug-set! stack 200000)");
main_mod = scm_c_resolve_module("gnucash main"); main_mod = scm_c_resolve_module("gnucash main");
scm_set_current_module(main_mod); scm_set_current_module(main_mod);