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.
This commit is contained in:
Eelco Dolstra 2012-05-04 17:21:43 -04:00
parent e060c99447
commit d03a295192

View file

@ -242,7 +242,7 @@ AC_CHECK_HEADERS([bzlib.h], [true],
# Look for SQLite, a required dependency. # 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. # Whether to use the Boehm garbage collector.