From: Paul Eggert Date: Wed, 29 Jul 2015 04:41:59 +0000 (-0700) Subject: Remove unnecessary stack overflow dependency X-Git-Tag: emacs-25.0.90~1420 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=afb497408f273bb11f88738cc3ed76ecd3d7ac3b;p=emacs.git Remove unnecessary stack overflow dependency * configure.ac (HAVE_STACK_OVERFLOW_HANDLING): Don't worry about $ac_cv_header_sys_resource_h and $ac_cv_func_getrlimit, as they're no longer needed for this. Problem reported by Eli Zaretskii in: http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html --- diff --git a/configure.ac b/configure.ac index 19b8b9d69ae..45008d86807 100644 --- a/configure.ac +++ b/configure.ac @@ -4557,9 +4557,7 @@ if test $emacs_cv_func_sigsetjmp = yes; then fi # We need all of these features to handle C stack overflows. -if test "$ac_cv_header_sys_resource_h" = "yes" && - test "$ac_cv_func_getrlimit" = "yes" && - test "$emacs_cv_func_sigsetjmp" = "yes" && +if test "$emacs_cv_func_sigsetjmp" = "yes" && test "$emacs_cv_alternate_stack" = yes; then AC_DEFINE([HAVE_STACK_OVERFLOW_HANDLING], 1, [Define to 1 if C stack overflow can be handled in some cases.])