2009/9/9 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net">remi@remlab.net</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
On Wed, 9 Sep 2009 02:09:39 +0100, Barry Wardell <<a href="mailto:barry.wardell@gmail.com">barry.wardell@gmail.com</a>><br>
wrote:<br>
<div class="im">> ...<br>
>         AC_DEFINE([SQLITE_MODULE], 1, [Define if you want to use SQLite<br>
> module]) ],<br>
>         AC_MSG_ERROR([sqlite3 is required for sqlite module]) )<br>
>   fi<br>
>   AM_CONDITIONAL([HAVE_SQLITE], [test "${enable_sqlite}" = "yes"])<br>
> fi<br>
<br>
</div>For the umpteenth time, AM_CONDITIONAL MUST be invoked UNCONDITIONALLY.<br></blockquote><div><br>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.<br>

<br>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.<br><br>Barry</div></div>