aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-04-29 21:03:42 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-04-29 21:03:42 +0200
commit00f25fc7183f5508f0cc6f8798e634c76434ce0e (patch)
tree6d62f92d96bbdfd47e5835574462915efd7b7472
parent0112b488de8316edc37b72c86dfc411816b029f2 (diff)
Make sure TR1 test comes after libodb in configure.ac
TR1 test uses a header from libodb.
-rw-r--r--configure.ac8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 109b4cc..d42da63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,10 +37,6 @@ AM_CONDITIONAL([ODB_TESTS_THREADS], [test x$threads != xnone])
#
CXX11([HAVE_CXX11], [Compiling in the C++11 mode.])
-# Check for TR1 <memory> availability.
-#
-TR1_MEMORY
-
# Check for the ODB compiler.
#
ODB_COMPILER([], [AC_MSG_ERROR([odb compiler is not found; consider setting ODB variable or using --with-odb=DIR])])
@@ -49,6 +45,10 @@ ODB_COMPILER([], [AC_MSG_ERROR([odb compiler is not found; consider setting ODB
#
LIBODB([], [AC_MSG_ERROR([libodb is not found; consider using --with-libodb=DIR])])
+# Check for TR1 <memory> availability (has to be after libodb).
+#
+TR1_MEMORY
+
# Check for boost.
#
odb_tests_boost=yes