diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2010-04-15 14:13:39 -0400 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2010-04-15 14:13:39 -0400 |
commit | 3f55d89a98edd40be240803ffc639e8414222f5b (patch) | |
tree | 202c680f2d63777593f3947d6a75ff9b79e6ac5d | |
parent | 5cd24966b709de7c75a83018297d8dfb3481ddb0 (diff) | |
download | pygobject-3f55d89a98edd40be240803ffc639e8414222f5b.tar.gz pygobject-3f55d89a98edd40be240803ffc639e8414222f5b.tar.xz pygobject-3f55d89a98edd40be240803ffc639e8414222f5b.zip |
add test for python 3 _thread library
-rw-r--r-- | 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) |