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

Barry Wardell barry.wardell at gmail.com
Wed Sep 9 11:49:55 CEST 2009


2009/9/9 Rémi Denis-Courmont <remi at remlab.net>

>
> On Wed, 9 Sep 2009 02:09:39 +0100, Barry Wardell <barry.wardell at gmail.com>
> wrote:
> > ...
> >         AC_DEFINE([SQLITE_MODULE], 1, [Define if you want to use SQLite
> > module]) ],
> >         AC_MSG_ERROR([sqlite3 is required for sqlite module]) )
> >   fi
> >   AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" = "yes"])
> > fi
>
> For the umpteenth time, AM_CONDITIONAL MUST be invoked UNCONDITIONALLY.
>

Yes, that was the reason the original code didn't work:
PKG_ENABLE_MODULES_VLC(...), which is only used if ${SYS} != "darwin",
evokes AM_CONDITIONAL. So adding this line made sure the AM_CONDITIONAL
always happens.

I admit it's a bit of a hack, so if someone with more knowledge of these
things has a better solution, then it should probably be used.

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


More information about the vlc-devel mailing list