This commit also fixes#1401 (path to sqlite3 can be explicitly
specified and the script will try to detect sqlite3 without the use of
pkg-config)
Change-Id: Ic91ec968410705b19d2df443523026c4e0e95c6b
When coverage option is enabled, all necessary flags are exported via
pkgconfig configuration.
Change-Id: Ieac8c17b2b81568fddbfd61d99bb79a5e2b99f13
refs: #1215