[vlc-devel] [PATCH] Sqlite Module for VLC, GSoC 09

Barry Wardell barry.wardell at gmail.com
Wed Sep 9 03:09:39 CEST 2009

On Tue, Sep 8, 2009 at 6:22 PM, Srikanth Raju <srikiraju at gmail.com> wrote:

> Hello,
> The attached patch is modified with these changes
> * Remove sqlite3_next_stmt(), it should now work with older versions of
> sqlite on mac osx.

I can confirm that with this removed, it now compiles fine on OSX.

> * Use the non pkgconfig configure in configure.ac, since Apple version
> does not have the the .pc file.

This new version didn't quite work for me. It complained about HAVE_SQLITE
not being defined. I needed to change the code to read:

        AC_DEFINE([SQLITE_MODULE], 1, [Define if you want to use SQLite
module]) ],
        AC_MSG_ERROR([sqlite3 is required for sqlite module]) )
  AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" = "yes"])

where I have added the AM_CONDITIONAL... line. I'm not sure if that is the
right way to fix things, but it worked for me. Maybe someone who has a
better knowledge of the build sytem than I do would have a different/better

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090909/fb31181e/attachment.html>

More information about the vlc-devel mailing list