mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 16:02:39 +01:00
- Add fix for totem.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user