Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

check for the py3 _thread module in configure.ac if thread is not found

  • Loading branch information...
commit 83b0f8a37d5f3236780d87a1ca466c5e44ae2bc0 1 parent 4645af8
John (J5) Palmieri authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 configure.ac
6 configure.ac
View
@@ -145,7 +145,11 @@ fi
AM_CONDITIONAL(ENABLE_DOCS, test x$enable_docs != xno)
-AM_CHECK_PYMOD(thread,,,enable_thread=no)
+AM_CHECK_PYMOD(thread,,,enable_thread=check_for_py3_module)
+if test "x$enable_thread" = xcheck_for_py3_module; then
+ dnl Python 3 uses the _thread module so check for that
+ AM_CHECK_PYMOD(_thread,,,enable_thread=no)
+fi
AC_MSG_CHECKING(whether to enable threading in pygobject)
if test "x$enable_thread" != xno; then
Please sign in to comment.
Something went wrong with that request. Please try again.