[pygobject/py3k] add test for python 3 _thread library
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/py3k] add test for python 3 _thread library
- Date: Thu, 15 Apr 2010 18:16:16 +0000 (UTC)
commit 3f55d89a98edd40be240803ffc639e8414222f5b
Author: John (J5) Palmieri <johnp redhat com>
Date: Thu Apr 15 14:13:39 2010 -0400
add test for python 3 _thread library
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 416c896..7792d5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,10 +125,11 @@ fi
AM_CONDITIONAL(ENABLE_DOCS, test x$enable_docs != xno)
-AM_CHECK_PYMOD(thread,,,enable_thread=no)
+AM_CHECK_PYMOD(thread,,,py2_enable_thread=no)
+AM_CHECK_PYMOD(_thread,,,py3_enable_thread=no)
AC_MSG_CHECKING(whether to enable threading in pygobject)
-if test "x$enable_thread" != xdisabletest; then
+if test "x$py2_enable_thread" != xno -o "xpy3_enable_thread" != xno; then
extra_mods=gthread
THREADING_CFLAGS=
AC_MSG_RESULT(yes)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]