From 5cb8ddda70ea29e23fda1ea9597aae719ab9b282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 28 Jan 2005 10:49:20 +0000 Subject: [PATCH] check for cppunit --- configure.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.in b/configure.in index 7d81096..5be0e4b 100644 --- a/configure.in +++ b/configure.in @@ -110,6 +110,7 @@ if test "$have_stacktrace" = "yes"; then [-lintl -liberty]) fi fi +AM_PATH_CPPUNIT([1.0.0], [have_cppunit="yes"], [have_cppunit="no"]) # export macros AC_SUBST(HAVE_DOT) @@ -132,6 +133,10 @@ if test "$have_dot" = "no"; then AC_MSG_WARN([Missing program dot! - when you rebild documentation with make doc, there are no generated images - there are precompiled derieved files in the distribution]); fi +if test "$have_cppunit" = "no"; then +AC_MSG_WARN([Missing cppunit development library! + - you cannot check the library using "make check" + - everything else works perfectly]); fi if test "$have_pedantic" == "yes"; then AC_MSG_NOTICE([Pedantic compile mode enabled! - all warnings for GNU g++ are enabled