blob: 41830b2030a39e550dfecd2674fa340ab475d745 (
plain)
1
2
3
4
5
6
7
8
9
|
AC_DEFUN([PDNS_CHECK_PYTHON_VENV], [
dnl Check for optional Python, at least version 3.6.
AM_PATH_PYTHON([3.6],,[:])
dnl Check for Python venv module
AS_IF([test "${PYTHON}" != ":"], [
AX_PYTHON_MODULE([venv],[])
])
AM_CONDITIONAL([HAVE_VENV], [test "x${HAVE_PYMOD_VENV}" = "xyes"])
])
|