[Telepathy-commits] [telepathy-gabble/master] Don't enable twisted tests if we don't have at least python 2.5.

Alban Crequy alban.crequy at collabora.co.uk
Fri Dec 5 07:48:13 PST 2008


---
 configure.ac |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index 16e4e73..f401e51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -148,10 +148,10 @@ if test -z "$PYTHON"; then
   AC_MSG_ERROR([Python is required to compile this package])
 fi
 
-# Check for a Python >= 2.4 with Twisted, to run the tests
-AC_MSG_CHECKING([for Python >= 2.4 with Twisted and XMPP protocol support])
-for TEST_PYTHON in python2.4 python2.5 python; do
-  if $TEST_PYTHON -c "from sys import version_info; raise SystemExit(version_info < (2, 4, 0, 'final', 0))" >/dev/null 2>&1; then
+# Check for a Python >= 2.5 with Twisted, to run the tests
+AC_MSG_CHECKING([for Python >= 2.5 with Twisted and XMPP protocol support])
+for TEST_PYTHON in python2.5 python2.6 python; do
+  if $TEST_PYTHON -c "from sys import version_info; raise SystemExit(version_info < (2, 5, 0, 'final', 0))" >/dev/null 2>&1; then
     if $TEST_PYTHON -c "import twisted.words.xish.domish, twisted.words.protocols.jabber, twisted.internet.reactor" >/dev/null 2>&1; then
       AC_MSG_RESULT([$TEST_PYTHON])
       AM_CONDITIONAL([WANT_TWISTED_TESTS], true)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list