Skip to content

Commit

Permalink
configure: Don't stop when cppunit is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
tatsuhiro-t committed Dec 15, 2016
1 parent 834bce7 commit 46460c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 46460c8

Please sign in to comment.