]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove unnecessary stack overflow dependency
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Jul 2015 04:41:59 +0000 (21:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Jul 2015 04:42:24 +0000 (21:42 -0700)
* 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

configure.ac

index 19b8b9d69aec519c5cb8ff430576f7c7e2265c65..45008d86807ee7e5eef080ccf2f27fc6857ffe7e 100644 (file)
@@ -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.])