[totem] build: Fix gromit plugin enablement
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] build: Fix gromit plugin enablement
- Date: Fri, 13 Jul 2012 19:33:41 +0000 (UTC)
commit 6222587a84c463997e93bbc7ee1ffca5e1a34dce
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 13 20:33:26 2012 +0100
build: Fix gromit plugin enablement
configure.in | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 8223992..cf030c5 100644
--- a/configure.in
+++ b/configure.in
@@ -381,6 +381,15 @@ for plugin in ${used_plugins}; do
case ${plugin} in
gromit)
+ have_x11=no
+ gdk_targets=$(pkg-config --variable=targets gtk+-3.0)
+ for gdk_target in $gdk_targets; do
+ if test x$gdk_target = xx11; then
+ have_x11=yes
+ break
+ fi
+ done
+
if test "${have_x11}" != "yes" ; then
plugin_error_or_ignore "the gromit plugin is not supported on non-X11 targets"
add_plugin="0"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]