diff options
author | fche <fche> | 2007-07-11 15:48:29 +0000 |
---|---|---|
committer | fche <fche> | 2007-07-11 15:48:29 +0000 |
commit | 1c0b94eff83a3f2147a09b25fe5a4b6bc48ad1b4 (patch) | |
tree | ec10d70e028e61b9ff60853905e4eeb4a4d44ca6 /main.cxx | |
parent | e1d38e8726a32c6727b99e4e5eade38a98719731 (diff) | |
download | systemtap-steved-1c0b94eff83a3f2147a09b25fe5a4b6bc48ad1b4.tar.gz systemtap-steved-1c0b94eff83a3f2147a09b25fe5a4b6bc48ad1b4.tar.xz systemtap-steved-1c0b94eff83a3f2147a09b25fe5a4b6bc48ad1b4.zip |
2007-07-11 Frank Ch. Eigler <fche@elastic.org>
* 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.
Diffstat (limited to 'main.cxx')
-rw-r--r-- | main.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -100,7 +100,9 @@ usage (systemtap_session& s, int exitcode) << endl << " -x PID sets target() to PID" << endl << " -t collect probe timing information" << endl +#ifdef HAVE_LIBSQLITE3 << " -q generate information on tapset coverage" +#endif /* HAVE_LIBSQLITE3 */ << endl ; // -d: dump safety-related external references @@ -802,7 +804,11 @@ pass_5: // update the database information if (!rc && s.tapset_compile_coverage) { +#ifdef HAVE_LIBSQLITE3 update_coverage_db(s); +#else + cerr << "Coverage database not available without libsqlite3" << endl; +#endif } // Clean up temporary directory. Obviously, be careful with this. |