From: Simon Ruderich Date: Mon, 10 Jun 2013 14:54:42 +0000 (+0200) Subject: configure.ac: Abort if a required function wasn't found. X-Git-Tag: 0.1~78 X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=commitdiff_plain;h=732d4d636d8f2362895f4979ef853c56ddf12caf configure.ac: Abort if a required function wasn't found. --- 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])