[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12688: [LaTeXila] AM_PROG_VALAC: error message -> warning message
From: |
Matthieu Baerts |
Subject: |
bug#12688: [LaTeXila] AM_PROG_VALAC: error message -> warning message |
Date: |
Sat, 20 Oct 2012 12:31:21 +0200 |
Hello
20/10/2012 00:11 +0200, Sébastien Wilmet wrote:
> Hello,
>
> In the AM_PROG_VALAC macro, when the optional parameter specifying the
> minimum release number is not provided, and if the Vala compiler is not
> found, then there is a _warning_ message.
>
> On the other hand, when the version number is specified, when the Vala
> compiler is too old, there is an _error_ message.
>
> This error message is problematic, because for a tarball, the Vala
> compiler is not required: the generated C code is included in the
> tarball. So if a user wants to compile the software, he shouldn't need
> the valac program.
>
> So the AC_MSG_ERROR should be modified as a AC_MSG_WARN.
I confirm that I had this problem with LaTeXila: I had a too old version
of Vala and I was not able to compile LaTeXila except if
'/usr/bin/valac' was removed/renamed.
This is how this bug has been fixed in LaTeXila:
https://github.com/swilmet/latexila/commit/993b073c71f094ca5c15cb2a44e69399176b882a
(for those who wants a workaround ;) )
Note that if a warning message is produced when a too old version is
detected, 'VALAC' variable has to be unset in vala.m4
This bug should be fixed with the attached patch :)
Thank you,
Matt
0001-m4-AM_PROG_VALAC-should-not-produce-an-error.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part