]> git.ipfire.org Git - thirdparty/pdns.git/blame - m4/pdns_check_python_venv.m4
Update the code coverage m4 to support modern options, hook it up
[thirdparty/pdns.git] / m4 / pdns_check_python_venv.m4
CommitLineData
98508251
KF
1AC_DEFUN([PDNS_CHECK_PYTHON_VENV], [
2 dnl Check for optional Python, at least version 3.6.
3 AM_PATH_PYTHON([3.6],,[:])
4 dnl Check for Python venv module
5 AS_IF([test "${PYTHON}" != ":"], [
6 AX_PYTHON_MODULE([venv],[])
7 ])
8 AM_CONDITIONAL([HAVE_VENV], [test "x${HAVE_PYMOD_VENV}" = "xyes"])
9])