summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-12-15 22:33:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-12-15 22:33:52 +0900
commit46460c81373d16450ff67e86fd6914fdc78f3ff6 (patch)
tree330e36833a099ffdd03fe250b59d1e2f01286062
parent834bce71d257649adecd52244f0b9f5dbf02c0c6 (diff)
configure: Don't stop when cppunit is not found
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index aedf9df6..a06a7f06 100644
--- a/configure.ac
+++ b/configure.ac
@@ -202,7 +202,11 @@ fi
# Checks for libraries.
# Check availability of cppunit
-PKG_CHECK_MODULES([CPPUNIT], [cppunit >= 1.10.2], [], [])
+PKG_CHECK_MODULES([CPPUNIT], [cppunit >= 1.10.2],
+ [have_cppunit=yes], [have_cppunit=no])
+if test "x$have_cppunit" != "xyes"; then
+ AC_MSG_WARN([$CPPUNIT_PKG_ERRORS])
+fi
# Check availability of libz
if test "x$with_libz" = "xyes"; then