summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-02-23 12:58:20 +0100
committerBenjamin Otte <otte@redhat.com>2012-02-23 12:58:20 +0100
commite57d75f555eaad98ec3eee31cf94336ba885174c (patch)
tree49f729e462b3c31974e4ed37247ca3d22a9a61d5
parent2f560894b03871d6b6117476a768757711c9fff1 (diff)
downloadtotem-e57d75f555eaad98ec3eee31cf94336ba885174c.tar.gz
configure: Check plugins for introspection
Various plugins require introspection to be enabled or they will not build.
-rw-r--r--configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 89213e326..90ac4629a 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])