Re: multiple vala versions in 3.4



Il giorno gio, 19/01/2012 alle 16.32 -0500, Colin Walters ha scritto:
> 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.
> 

Wouldn't it be a good idea for Vala to install a valac.m4 file
in /usr/share/aclocal, containing a pertaining macro?

Something like AC_PROG_VALA([== 0.15]), so that everyone can use the
same macro, avoiding this kind of duplication and differences among
modulesets. This can set variables for both valac and vapigen in one go.

Cheers,
-- 
Matteo Settenvini
FSF Associated Member
Email : matteo member fsf org


-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E d--(-) s+: a- C+++ UL+++
P+ L++++>$ E++>+++ W+++ N+ o?
w--- O M- V- PS++ PE- Y+>++
PGP+++ t++ 5 X- R+ !tv b+++ 
DI++ D++ G++ e++ h+ r++ y+
------END GEEK CODE BLOCK------




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