From 21ef57516576c09d7023d0906fe7774e38f99bb7 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 6 Sep 2019 12:54:48 +0200 Subject: [PATCH] AC_QEF_C_NORETURN: Include for exit The exit function is declared in , not . Without this change, the autoconf check will always fail with strict C99 compilers which do not support implicit function declarations. --- acinclude.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 77fdec8..d069e52 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -148,7 +148,7 @@ AC_DEFUN([AC_QEF_C_NORETURN], AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts noreturn attribute) AC_CACHE_VAL(qef_cv_c_noreturn, [qef_cv_c_noreturn=no -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include void f (void) __attribute__ ((noreturn)); void f (void) {