[emerillon-plugins] Don't build plugin if vala compiler isn't found
- From: Łukasz Jernaś <ljernas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [emerillon-plugins] Don't build plugin if vala compiler isn't found
- Date: Tue, 1 Jun 2010 15:31:37 +0000 (UTC)
commit 1118dc2e922b41561f3aa26138cbdd59388295c6
Author: Å?ukasz JernaÅ? <deejay1 srem org>
Date: Mon Apr 26 07:43:09 2010 +0200
Don't build plugin if vala compiler isn't found
configure.ac | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8f2f206..d234e56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -310,7 +310,8 @@ plugin_defined image-export
if test "$?" = 1
then
AM_PROG_VALAC([0.8.2])
-
+ if test "$VALAC" != ""
+ then
PKG_CHECK_MODULES(IMAGEEXPORT,
[
gconf-2.0 >= 2.0
@@ -323,6 +324,9 @@ then
then
undef_plugin image-export "Image export plugin dependencies not satisfied."
fi
+ else
+ undef_plugin image-export "Vala compiler not found."
+ fi
fi
if test -z "$disabled_plugins"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]