aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-02-17 14:50:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-02-17 14:50:11 +0200
commit5aaec95bbfb066130ecac03eece3813cee61a3e1 (patch)
tree87c24d1b6afe613c31076cf7b417a7e2b7188994 /configure.ac
parent29e7db53cb1db2c4d743d4756b8ac3fee28ab8ea (diff)
Add test infrastructure for boost profile
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