Merge pull request #248 from thesamesam/implicit-func-decls
acinclude.m4: fix configure tests broken with Clang 15 (implicit func…
This commit is contained in:
@@ -904,7 +904,8 @@ AC_DEFUN([AC_W3M_SIGSETJMP],
|
||||
[AC_SUBST(HAVE_SIGSETJMP)
|
||||
AC_MSG_CHECKING(for sigsetjmp)
|
||||
AC_TRY_COMPILE(
|
||||
[#include <setjmp.h>],
|
||||
[#include <setjmp.h>
|
||||
#include <stdlib.h>],
|
||||
[ jmp_buf env;
|
||||
if (sigsetjmp(env, 1) != 0) { exit(0); } siglongjmp(env, 1);],
|
||||
[have_sigsetjmp="yes"; AC_DEFINE(HAVE_SIGSETJMP)],
|
||||
|
Reference in New Issue
Block a user