aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 18156dd..81d4a1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,21 @@ LIBODB_TRACER([], [AC_MSG_ERROR([libodb-tracer is not found; consider using --wi
#
TR1_MEMORY
+# Check for boost.
+#
+odb_tests_boost=yes
+LIBBOOST([], [odb_tests_boost=no])
+LIBBOOST_SYSTEM
+LIBBOOST_SMART_PTR([], [odb_tests_boost=no])
+LIBBOOST_UNORDERED([], [odb_tests_boost=no])
+LIBBOOST_DATE_TIME([], [odb_tests_boost=no])
+
+# Check for libodb-boost.
+#
+LIBODB_BOOST([], [odb_tests_boost=no])
+
+AM_CONDITIONAL([ODB_TESTS_BOOST], [test x$odb_tests_boost != xno])
+
# Check which database we are using.
#
DATABASE