summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Wilmet <swilmet@gnome.org>2012-10-26 17:08:09 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-10-26 21:17:09 +0200
commit9fe696bc9d6654a972d99f524c14a22fdc429e79 (patch)
tree6510a18948e987923230cc0ae2563c9f9aae4259 /doc
parent6ecb0a537da242b2b6e3c42b139f4dc27b121faa (diff)
downloadautomake-9fe696bc9d6654a972d99f524c14a22fdc429e79.tar.gz
vala: AM_PROG_VALAC should not produce an error for tool-old valac
This change fixes automake bug#12688. In the AM_PROG_VALAC macro, when the optional parameter specifying the minimum release number is not provided, and/or if the Vala compiler is not found, then there is a _warning_ message. On the other hand, when the version number is specified and if 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 with the right version. * m4/vala.m4 (AM_PROG_VALAC): Modify to use AC_MSG_WARN instead of AC_MSG_ERROR. * t/vala4.sh: Adjust and enhance. * doc/automake.texi (Vala Support): Likewise. * THANKS: Update. Co-authored-by: Matthieu Baerts <matttbe@glx-dock.org> Co-authored-by: Stefano Lattarini <stefano.lattarini@gmail.com> Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/automake.texi3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/automake.texi b/doc/automake.texi
index b3ee47f6c..ae3fd15ba 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -6893,8 +6893,7 @@ package. If a compiler is found and satisfies @var{minimum-version},
then @var{action-if-found} is run (this defaults to do nothing).
Otherwise, @var{action-if-not-found} is run. If @var{action-if-not-found}
is not specified, the default value is to print a warning in case no
-compiler is found, and to abort the configure script (with status 77)
-if a too-old version of the compiler is found.
+compiler is found, or if a too-old version of the compiler is found.
@end defmac
There are a few variables that are used when compiling Vala sources: