[geany/geany-plugins] 3976d7: Properly test valac existence

Jiří Techet git-noreply at xxxxx
Wed Feb 25 20:41:02 UTC 2015


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Wed, 25 Feb 2015 20:41:02 UTC
Commit:      3976d731f6414b9b3ebc07dce67169ed56de1a6c
             https://github.com/geany/geany-plugins/commit/3976d731f6414b9b3ebc07dce67169ed56de1a6c

Log Message:
-----------
Properly test valac existence

According to the documentation

http://www.gnu.org/software/automake/manual/html_node/Vala-Support.html

$VALAC contains 'valac' when valac was not found.

This fixes configure run without any parameters when valac is not installed.


Modified Paths:
--------------
    build/multiterm.m4

Modified: build/multiterm.m4
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -7,7 +7,7 @@ AC_DEFUN([GP_CHECK_MULTITERM],
         dnl FIXME: if the C sources are present (e.g. in a release tarball),
         dnl        we don't actually need valac
         AM_PROG_VALAC([0.7.0])
-        AS_IF([test "$VALAC" = ""],
+        AS_IF([test "$VALAC" = "valac"],
               [AS_IF([test "$enable_multiterm" = "auto"],
                      [enable_multiterm=no],
                      [AC_MSG_ERROR([valac not found])])])



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list