From 7bdbdd3c38a4ad2c8273039bb17d0cd2ec664f82 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 1 Mar 2011 11:34:00 -0300 Subject: qt: add option for system sqlite Add an option to use the system sqlite library. Also drop sqlite2 stub since it's pointless. Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/qt/Config.sql.in | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) (limited to 'package/qt/Config.sql.in') diff --git a/package/qt/Config.sql.in b/package/qt/Config.sql.in index b982fdb4d..eceb15d64 100644 --- a/package/qt/Config.sql.in +++ b/package/qt/Config.sql.in @@ -34,16 +34,28 @@ config BR2_PACKAGE_QT_PSQL Build PostgreSQL driver If unsure, say n. -config BR2_PACKAGE_QT_SQLITE - bool "SQLite 3 Driver" +choice + prompt "SQLite 3 support" + default BR2_PACKAGE_QT_SQLITE_NONE help - Build SQLite driver - If unsure, say n. + Select SQLite support. -config BR2_PACKAGE_QT_SQLITE2 - bool "SQLite 2 Driver" - depends on BROKEN # sqlite2 not in BR +config BR2_PACKAGE_QT_SQLITE_NONE + bool "No sqlite support" help - Build SQLite 2 driver - If unsure, say n. + Do not compile any kind of SQLite support. + +config BR2_PACKAGE_QT_SQLITE_QT + bool "Qt SQLite" + help + Use Qt bundled SQLite support. + +config BR2_PACKAGE_QT_SQLITE_SYSTEM + bool "System SQLite" + select BR2_PACKAGE_SQLITE + help + Use system SQLite. + +endchoice + endif -- cgit v1.2.3