about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-04T21·21-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-04T21·21-0400
commitd03a295192f8d7b7ced98d5bbab91a8aa9b0ca4d (patch)
tree88e58b3037a5451e648d20c20fd849b8bd35fc9a /configure.ac
parente060c99447a445bbf1c527b8c712e3bf809ee694 (diff)
Require SQLite >= 3.6.19
Nix needs SQLite's foreign key constraint feature, which was
introduced in 3.6.19.  Without it, the database won't be cleaned up
correctly when paths are deleted.  See
e.g. http://hydra.nixos.org/build/2494142.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index fba53e81603c..0f6b752f2d2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -242,7 +242,7 @@ AC_CHECK_HEADERS([bzlib.h], [true],
 
 
 # Look for SQLite, a required dependency.
-PKG_CHECK_MODULES([SQLITE3], [sqlite3], [CXXFLAGS="$SQLITE3_CFLAGS $CXXFLAGS"])
+PKG_CHECK_MODULES([SQLITE3], [sqlite3 >= 3.6.19], [CXXFLAGS="$SQLITE3_CFLAGS $CXXFLAGS"])
 
 
 # Whether to use the Boehm garbage collector.