diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index cab7834..eb54f65 100644 --- a/configure.ac +++ b/configure.ac @@ -11,8 +11,8 @@ m4_define(python3_min_ver, 3.1) dnl the pygobject version number m4_define(pygobject_major_version, 2) -m4_define(pygobject_minor_version, 27) -m4_define(pygobject_micro_version, 91) +m4_define(pygobject_minor_version, 28) +m4_define(pygobject_micro_version, 0) m4_define(pygobject_version, pygobject_major_version.pygobject_minor_version.pygobject_micro_version) dnl versions of packages we require ... @@ -146,7 +146,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 |