Re: multiple vala versions in 3.4



On Fri, Jan 20, 2012 at 3:02 AM, Colin Walters <walters verbum org> wrote:
[snip]
> However, modules will need to be patched to find the correct valac and
> vapigen with the -0.14 suffix.  For example, folks just does:
>
>        AC_PATH_PROG([VAPIGEN], [vapigen], [])
>        if test "x$VAPIGEN" = "x"; then
>              AC_MSG_ERROR([Vala must be built with --enable-vapigen])
>        fi
>
> We could manually pass VALAC=valac-0.14 VAPIGEN=vapigen-0.14 to
> configure, but it's probably better to fix this inside the configure
> scripts.
>

Just a small clarification here in case people end up trying this.
What needs to be passed is VALAC=$(which valac-0.14) VAPIGEN=$(which
vapigen-0.14), i.e. the full path to the binaries; since AC_PATH_PROG
doesn't read $PATH unless told to.

-- 
~Nirbheek Chauhan

Gentoo GNOME+Mozilla Team


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]