]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
configure.ac: Abort if a required function wasn't found.
authorSimon Ruderich <simon@ruderich.org>
Mon, 10 Jun 2013 14:54:42 +0000 (16:54 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 10 Jun 2013 14:54:42 +0000 (16:54 +0200)
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])