diff options
author | Bastien Nocera <hadess@hadess.net> | 2015-04-27 13:32:58 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-04-27 13:32:58 +0200 |
commit | bfc31c4fca16effd9dda1a191130c80bd86a2117 (patch) | |
tree | d78d77d4c1f7191a5232db028fdfe200e8b7aa18 | |
parent | 055a6b013f6234f88b82c631de6e70ac8e5d51e3 (diff) | |
download | totem-bfc31c4fca16effd9dda1a191130c80bd86a2117.tar.gz |
build: Fix detection of valac
AM_PROG_VALAC very helpfully sets $VALAC to:
"Absolute path to the Vala compiler, or simply ‘valac’ if no suitable
compiler Vala could be found at configure runtime."
We were checking for $VALAC being empty, thus still trying to build Vala
plugins even if Vala wasn't available.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 3ca032acf..c3aca01c9 100644 --- a/configure.ac +++ b/configure.ac @@ -264,7 +264,7 @@ AC_ARG_ENABLE([vala], AC_MSG_RESULT([$enable_vala]) if test "x$enable_vala" != "xno"; then AM_PROG_VALAC([$VALA_REQS]) - if test "x$VALAC" = "x"; then + if test "$VALAC" = "valac"; then if test "x$enable_vala" = "xyes"; then AC_MSG_ERROR([Vala plugin support explicitly requested, but not found]) fi |