* 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>
+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'.
# Written by Paul Eggert.
-# serial 5
+# serial 6
AC_DEFUN([AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC],
[# for STACK_DIRECTION
setrlimit (RLIMIT_STACK, &rl);
#endif
- c_stack_action ();
- return recurse ("\1");
+ return c_stack_action () || recurse ("\1");
}
],
[ac_cv_sys_stack_overflow_works=yes],
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],