From 732d4d636d8f2362895f4979ef853c56ddf12caf Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 10 Jun 2013 16:54:42 +0200 Subject: [PATCH] configure.ac: Abort if a required function wasn't found. --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a4f04cc..307b859 100644 --- a/configure.ac +++ b/configure.ac @@ -46,7 +46,8 @@ AC_C_INLINE AX_C___ATTRIBUTE__ AC_FUNC_FORK -AC_CHECK_FUNCS([memmove setenv]) +AC_CHECK_FUNCS([memmove setenv], + [],[AC_MSG_ERROR([function is required])]) dnl Thanks to gperftools' configure.ac (https://code.google.com/p/gperftools). AC_MSG_CHECKING([for __builtin_expect]) -- 2.43.2