From a3c802e7e504be00fa5d25893bd967e6b628afc6 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 18 Mar 2013 20:58:02 -0700 Subject: Make sure that we check that pkg-config knows sqlite3 before using it Otherwise, we end up with an empty QT_LFLAGS_SQLITE and the plugin won't link. Change-Id: I026f60bf9cd075218dbe2888fbb7fc82782b27ca Reviewed-by: Oswald Buddenhagen --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index a276647137..92f326e93b 100755 --- a/configure +++ b/configure @@ -4631,7 +4631,7 @@ for _SQLDR in $CFG_SQL_AVAILABLE; do if [ "$CFG_SQL_sqlite" != "no" ]; then SQLITE_AUTODETECT_FAILED="no" if [ "$CFG_SQLITE" = "system" ]; then - if [ -n "$PKG_CONFIG" ]; then + if [ -n "$PKG_CONFIG" ] && $PKG_CONFIG --exists sqlite3 2>/dev/null; then QT_CFLAGS_SQLITE=`$PKG_CONFIG --cflags sqlite3 2>/dev/null` QT_LFLAGS_SQLITE=`$PKG_CONFIG --libs sqlite3 2>/dev/null` else -- cgit v1.2.3