From 1c0b94eff83a3f2147a09b25fe5a4b6bc48ad1b4 Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 11 Jul 2007 15:48:29 +0000 Subject: 2007-07-11 Frank Ch. Eigler * configure.ac: Don't AC_MSG_ERROR if don't HAVE_LIBSQLITE3. * coveragedb.cxx: Compile to nothing unless HAVE_LIBSQLITE3. * main.cxx: Print no error message on -q if HAVE_LIBSQLITE3. * configure: Regenerated, looks rosier with HAVE_LIBSQLITE3. --- coveragedb.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coveragedb.cxx') diff --git a/coveragedb.cxx b/coveragedb.cxx index 11d0abf2..bee84db9 100644 --- a/coveragedb.cxx +++ b/coveragedb.cxx @@ -14,6 +14,8 @@ #include "session.h" #include "util.h" +#ifdef HAVE_LIBSQLITE3 + #include #include #include @@ -363,3 +365,5 @@ void update_coverage_db(systemtap_session &s) sqlite3_close(db); } + +#endif /* HAVE_LIBSQLITE3 */ -- cgit