[folks] Only check for libsocialweb Vala deps if Vala is enabled.



commit e3e2f54f6e7239cfe18d35ed698ddf041545fcc7
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue May 31 15:04:48 2011 -0700

    Only check for libsocialweb Vala deps if Vala is enabled.

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4d65fed..0cf9269 100644
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,8 @@ AC_ARG_ENABLE(libsocialweb-backend,
 if test "x$enable_libsocialweb_backend" != "xno"; then
   PKG_CHECK_MODULES([SW_CLIENT], [libsocialweb-client >= $SW_CLIENT_REQUIRED],
       have_libsocialweb_backend="yes", have_libsocialweb_backend="no")
-  if test "x$have_libsocialweb_backend" = "xyes"; then
+  if test "x$have_libsocialweb_backend" = "xyes" -a \
+          "x$enable_vala" = "xyes"; then
     VALA_CHECK_PACKAGES([telepathy-glib
                          dbus-glib-1
                          gio-2.0



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