Public feed
#889155
commit 63d81a08362c445d4871eb79aa5aab63b2806edd
Author: Christophe Fergeau <teuf@gnome.org>
Date: Sat Jan 19 11:51:59 2008 +0100
error out in configure when autotests were enabled but boost-unit-test can't be found
diff --git a/ChangeLog b/ChangeLog
index 56e571b..f86d897 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-19 Christophe Fergeau <teuf@gnome.org>
+
+ * configure.ac:
+ error out in configure when autotests were enabled but
+ boost-unit-test can't be found
+
2008-01-18 Dodji Seketeli <dodji@gnome.org>
* src/workbench/nmv-workbench.cc:
diff --git a/configure.ac b/configure.ac
index adc41d9..e837f5f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -231,6 +231,12 @@ if test x$ENABLE_AUTOTESTS = xyes ; then
fi
done
AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB)
+ if test "x$BOOST_UNIT_TEST_FRAMEWORK_LIB" = x; then
+ AC_MSG_ERROR([Please, install libboost-unit-test libraries])
+ fi
+ if test "x$BOOST_UNIT_TEST_FRAMEWORK_STATIC_LIB" = x; then
+ AC_MSG_ERROR([Please, install libboost-unit-test static libraries])
+ fi
fi
if test x$ENABLE_WORKBENCH = xyes ; then