Permalink
Browse files

Look for Criterion unit testing library

  • Loading branch information...
1 parent 4caf8ea commit bae069c95e0774babf1b8993716ae99201c038b4 @jonm committed Nov 17, 2015
Showing with 9 additions and 0 deletions.
  1. +9 −0 configure.ac
View
@@ -16,6 +16,15 @@ AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([bzero gethostbyaddr gethostbyname gethostname getpagesize gettimeofday inet_ntoa isascii memset select socket strchr strdup strrchr strstr])
+AC_CHECK_HEADERS([criterion/criterion.h],[],[
+ echo "***WARNING***: unit tests will not be runnable without Criterion library"
+ echo " See https://github.com/Snaipe/Criterion/"
+])
+AC_CHECK_LIB(criterion,extmatch,[],[
+ echo "***WARNING***: unit tests will not be runnable without Criterion library"
+ echo " See https://github.com/Snaipe/Criterion/"
+])
+
AC_CONFIG_FILES([
Makefile
src/Makefile

0 comments on commit bae069c

Please sign in to comment.