[folks] Cut out unnecessary tp-glib version checking.



commit f69f90d83b92371ea10bd536793da80a4655b662
Author: Travis Reitter <travis reitter collabora co uk>
Date:   Tue Sep 14 08:33:36 2010 -0700

    Cut out unnecessary tp-glib version checking.

 configure.ac          |   13 -------------
 tests/Makefile.am     |    5 +----
 tests/lib/Makefile.am |    8 +++-----
 3 files changed, 4 insertions(+), 22 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index be9a520..106ff72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -72,10 +72,6 @@ AC_SUBST([FOLKS_MAJOR_MINOR_VERSION])
 
 GLIB_REQUIRED=2.24.0
 TP_GLIB_REQUIRED=0.11.15.1
-# FIXME: remove the machinery using this once it's safe to require this version
-# (be sure to remove the HAVE_TP_GLIB_FOR_TESTS conditionals in Makefile.am
-# files)
-TP_GLIB_TESTS_REQUIRED=0.11.14.1
 VALA_REQUIRED=0.9.6
 
 AM_PROG_VALAC([$VALA_REQUIRED])
@@ -122,15 +118,6 @@ BACKEND_DIR='$(libdir)/folks/$(FOLKS_MODULE_VERSION)/backends'
 AC_SUBST([BACKEND_DIR])
 
 # -----------------------------------------------------------
-# Tests
-# -----------------------------------------------------------
-
-PKG_CHECK_MODULES([TP_GLIB_FOR_TESTS],
-                  [telepathy-glib >= $TP_GLIB_TESTS_REQUIRED],
-                  [have_tp_glib_for_tests=true], [have_tp_glib_for_tests=false])
-AM_CONDITIONAL([HAVE_TP_GLIB_FOR_TESTS], [$have_tp_glib_for_tests])
-
-# -----------------------------------------------------------
 # Tools
 # -----------------------------------------------------------
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 0b3cf15..bc8aad4 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,12 +1,9 @@
 SUBDIRS = \
     lib \
     tools \
+    telepathy \
     $(NULL)
 
-if HAVE_TP_GLIB_FOR_TESTS
-SUBDIRS += telepathy
-endif
-
 TESTS_ENVIRONMENT = \
     abs_top_builddir= abs_top_builddir@ \
     abs_top_srcdir= abs_top_srcdir@ \
diff --git a/tests/lib/Makefile.am b/tests/lib/Makefile.am
index 61c997e..ba7cb9a 100644
--- a/tests/lib/Makefile.am
+++ b/tests/lib/Makefile.am
@@ -1,7 +1,5 @@
-SUBDIRS =
-
-if HAVE_TP_GLIB_FOR_TESTS
-SUBDIRS += telepathy
-endif
+SUBDIRS = \
+	telepathy \
+	$(NULL)
 
 -include $(top_srcdir)/git.mk



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