[totem] configure: Check plugins for introspection



commit e57d75f555eaad98ec3eee31cf94336ba885174c
Author: Benjamin Otte <otte redhat com>
Date:   Thu Feb 23 12:58:20 2012 +0100

    configure: Check plugins for introspection
    
    Various plugins require introspection to be enabled or they will not
    build.

 configure.in |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/configure.in b/configure.in
index 89213e3..90ac462 100644
--- a/configure.in
+++ b/configure.in
@@ -456,12 +456,18 @@ for plugin in ${used_plugins}; do
 			if test "${with_vala}" != "yes" ; then
 				plugin_error_or_ignore "you need vala installed to use the rotation plugin"
 				add_plugin="0"
+                        elif test "x$found_introspection" != "xyes"; then
+				plugin_error_or_ignore "you need introspection support for the rotation plugin"
+				add_plugin="0"
 			fi
 		;;
 		sample-vala)
 			if test "${with_vala}" != "yes" ; then
 				plugin_error_or_ignore "you need vala installed to use the sample-vala plugin"
 				add_plugin="0"
+                        elif test "x$found_introspection" != "xyes"; then
+				plugin_error_or_ignore "you need introspection support for the sample-vala plugin"
+				add_plugin="0"
 			fi
 		;;
 		brasero-disc-recorder)
@@ -497,6 +503,9 @@ for plugin in ${used_plugins}; do
 			if test "${with_vala}" != "yes" ; then
 				plugin_error_or_ignore "you need vala installed to use the zeitgeist-dp plugin"
 				add_plugin="0"
+                        elif test "x$found_introspection" != "xyes"; then
+				plugin_error_or_ignore "you need introspection support for the zeitgeist-dp plugin"
+				add_plugin="0"
 			else
 				PKG_CHECK_MODULES(LIBZEITGEIST, zeitgeist-1.0 >= 0.3.6,
 				[HAS_LIBZEITGEIST=yes], [HAS_LIBZEITGEIST=no])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]