diff options
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 0a98943cf..d411502e0 100644 --- a/configure.ac +++ b/configure.ac @@ -1483,6 +1483,12 @@ AM_CONDITIONAL(ENABLE_DOCUMENTATION, test x$enable_documentation = xyes) dnl --------------------------------------------------------------------------- dnl test suite dnl --------------------------------------------------------------------------- + +if test "x$enable_test" = xyes; then + PKG_CHECK_MODULES([CPPUNIT], [cppunit],, + [AC_MSG_ERROR([cppunit not found])]) +fi + AM_CONDITIONAL(ENABLE_TEST, test "x$enable_test" = xyes) dnl --------------------------------------------------------------------------- |