diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-10-26 18:01:17 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-10-26 21:17:10 +0200 |
commit | 1b187099d61143733e35ff58bfc6a0cedd2e2322 (patch) | |
tree | e5f4527fb5ae4da3971e96916e1f4f31a41b3bdf /doc | |
parent | 9fe696bc9d6654a972d99f524c14a22fdc429e79 (diff) | |
download | automake-1b187099d61143733e35ff58bfc6a0cedd2e2322.tar.gz |
vala: if no proper compiler found, set $(VALAC) to 'valac'
This is better than setting it to ':' (as is currently done), because
a triggered makefile rule invoking a vala compilation will then clearly
fail with an informative error message like "valac: command not found",
rather than silently, with the error possibly going unnoticed, or
triggering harder-to-diagnose fallout failures in later steps.
For a precedent of a similar behaviour, see the AC_PROG_YACC macro.
* m4/valac.m4: Implement the new semantic.
* doc/automake.texi (Vala Support): Document it.
* t/vala4.sh: Adjust.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/automake.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/automake.texi b/doc/automake.texi index ae3fd15ba..7289d8543 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -6900,8 +6900,8 @@ There are a few variables that are used when compiling Vala sources: @vtable @code @item VALAC -Absolute path to the Vala compiler, or @samp{:} if no suitable compiler -could be found. +Absolute path to the Vala compiler, or simply @samp{valac} if no +suitable compiler Vala could be found at configure runtime. @item VALAFLAGS Additional arguments for the Vala compiler. |