add sqlite check for sqlite source
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 26 Jun 2006 09:24:45 +0000 (09:24 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Mon, 26 Jun 2006 09:24:45 +0000 (09:24 +0000)
configure.ac

index 3d5cf320913d24d1216f9a18a3ec28917d08f58d..1519c9a8e189ff3a525d94b07b7d58c761d99712 100644 (file)
@@ -134,6 +134,14 @@ PKG_CHECK_MODULES(BLKID, [blkid])
 AC_SUBST(BLKID_CFLAGS)
 AC_SUBST(BLKID_LIBS)
 
+dnl sqlite
+AM_CONDITIONAL(BUILD_ZMD, true)
+PKG_CHECK_MODULES(SQLITE, sqlite3, pkg_sqlite=yes, pkg_sqlite=no)
+if test $pkg_sqlite = no; then
+  echo
+  AC_MSG_ERROR([Could not find sqlite3 library, please install sqlite-devel])
+fi
+
 dnl ==================================================
 PKG_CHECK_MODULES(IDN, [libidn])
 AC_SUBST(IDN_CFLAGS)