Mercurial > hg > octave-lojdl > gnulib-hg
changeset 10393:76ee0bae41ff
c-stack: make configure-time check more robust
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check for
successful sigaction call.
Reported by Tom G. Christensen.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Mon, 01 Sep 2008 19:59:38 -0600 |
parents | dd1c6e77ee94 |
children | 4b3ac67aa7bc |
files | ChangeLog m4/c-stack.m4 |
diffstat | 2 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-01 Eric Blake <ebb9@byu.net> + + c-stack: make configure-time check more robust + * m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check for + successful sigaction call. + Reported by Tom G. Christensen. + 2008-09-01 Bruno Haible <bruno@clisp.org> New module 'findprog-lgpl'.
--- a/m4/c-stack.m4 +++ b/m4/c-stack.m4 @@ -7,7 +7,7 @@ # Written by Paul Eggert. -# serial 5 +# serial 6 AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC], [# for STACK_DIRECTION @@ -85,8 +85,7 @@ setrlimit (RLIMIT_STACK, &rl); #endif - c_stack_action (); - return recurse ("\1"); + return c_stack_action () || recurse ("\1"); } ], [ac_cv_sys_stack_overflow_works=yes], @@ -201,8 +200,7 @@ setrlimit (RLIMIT_STACK, &rl); #endif - c_stack_action (); - return recurse ("\1"); + return c_stack_action () || recurse ("\1"); } ], [ac_cv_sys_xsi_stack_overflow_heuristic=yes],