]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - configure.ac
configure.ac: Abort if a required function wasn't found.
[coloredstderr/coloredstderr.git] / configure.ac
index a4f04cc7f63e0426ca329cff7e668dd996a8e6b7..307b8596a2d91d67ab1e82a3ebabccf9ce777c9d 100644 (file)
@@ -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])