1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 09:32:37 +01:00
Files
sunny-overlay/media-video/totem/files/totem-3.14.2-0010-fix-detection-of-valac.patch
2015-05-03 14:25:06 +02:00

32 lines
1.0 KiB
Diff
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
From 404cfda65a5b444bad4fe0fd6dbf73da8ec36d88 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Mon, 27 Apr 2015 13:32:58 +0200
Subject: build: Fix detection of valac
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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.
diff --git a/configure.ac b/configure.ac
index 20ec003..47718b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,7 +263,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
--
cgit v0.10.2