summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2021-07-20 09:45:22 +0000
committerSimon McVittie <smcv@collabora.com>2021-07-20 09:45:22 +0000
commitdeac6f6aaee74a2f78c4d165664fee28930c2190 (patch)
tree29681ea7d65a6250ce2b537b6cbe1197723af684 /configure.ac
parent6772bc492b359d6bc3de7b862a94ce93afc8d815 (diff)
parent4e11070f1b2a5141047ceaded7ea4506531fac56 (diff)
downloaddbus-python-deac6f6aaee74a2f78c4d165664fee28930c2190.tar.gz
Merge branch 'wip/smcv/py3' into 'master'
Move towards Python-3-only See merge request dbus/dbus-python!12
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fb5c6ee..a0f85a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,6 +77,7 @@ AC_ARG_VAR([PYTHON_INCLUDES], [deprecated form of PYTHON_CPPFLAGS])
AS_IF([test -n "$PYTHON_INCLUDES"],
[PYTHON_CPPFLAGS="$PYTHON_CPPFLAGS $PYTHON_INCLUDES"])
+AS_IF([test -z "$PYTHON_VERSION" && test -z "$PYTHON"], [PYTHON_VERSION=3])
AX_PYTHON_DEVEL([>= '2.7'])
AM_PATH_PYTHON