I have found the following link that inspired Gnome-DB to use SQLite. http://aaronbock.net/articles/sqlite/
But this method only uses the sqlite-source.zip which are just the pure C files. I want to use the sqlite3.tar.gz distribution that uses GNU tools. On 9/22/05, Mark Drago <[EMAIL PROTECTED]> wrote: > On Thu, 2005-09-22 at 07:23 -0700, Doug Hanks wrote: > > Has anyone went through (what I feel is a painful process) of adding > > sqlite in a GNU project? > > > > I'm not referring to sqlite specifically, but just with the GNU tools > > in general. > > > > I would like to copy the sqlite distribution into my project directory > > and just extract it. Then modify my configure.in and Makefile.am to > > auto-magically configure sqlite, then go ahead and compile my project > > and link my project against the static archives of sqlite, for > > example: > > > > gcc obj1.o obj2.o obj3.o ../sqlite3-X.X.X/libsqlite3.a -o binary_name > > > > Any ideas? > > > > -- > > - Doug Hanks = dhanks(at)gmail(dot)com > > The Gnome-DB package does just this. The libgda package that is > provided by them is a DB abstraction layer. One of the databases it > supports is sqlite and it embeds sqlite into its library. libgda is > licensed under the LGPL. However, it may be important that you make it > possible for your package to use an external sqlite library still. In > my case the inclusion of sqlite in libgda was a downside because now I > would need to have two separate sqlite instances on my system that would > both need to be updated when a new sqlite is released. In fact, libgda > will be adding support for this shortly: > > http://mail.gnome.org/archives/gnome-db-list/2005-August/msg00048.html > > Mark Drago. > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQBDMsP62ovBrIOxiiARAhFhAJ4qUnSK5+4E26RkMRDoyNdpxyz/JgCdF/UI > yGxbl1kf9ELKqsBgjLEaH6U= > =MQdv > -----END PGP SIGNATURE----- > > > -- - Doug Hanks = dhanks(at)gmail(dot)com