Making sqlite optional for build

William Cohen wcohen@redhat.com
Wed Jul 11 18:36:00 GMT 2007


Hi,

I have been working to make the sqlite optional on the build. The attached patch 
shows the changes to make the sqlite optional. The systemtap.spec file has been 
modified to build with sqlite for newer distro, e.g. rhel5 and fc6/7. I have 
tried it out on rhel4 without the sqlite packages installed and allows building 
without the sqlite packages.  Comments on the proposed patch?

-Will

Proposed ChangeLog entry

2007-07-11  William Cohen  <wcohen@redhat.com>

	* coveragedb.cxx: Compile code only if SQLITEDB set.
	* coveragedb.h: Ditto.
	* main.cxx: Ditto.
	* systemtap.spec.in: Allow optional sqlite
	* configure.ac: Add --enable-sqlitedb option.
	* configure: Regenerated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cov_optional2.diff
Type: text/x-patch
Size: 6778 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070711/d811e1db/attachment.bin>


More information about the Systemtap mailing list