Commit 68b075b7 authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

[2939] Check for python sqlite3 module

parent fef265b2
......@@ -1069,6 +1069,8 @@ fi
AX_SQLITE3_FOR_BIND10
if test "x$have_sqlite" = "xyes" ; then
enable_features="$enable_features SQLite3"
AX_PYTHON_SQLITE3
fi
#
......
dnl @synopsis AX_PYTHON_SQLITE3
dnl
dnl Test for the Python sqlite3 module used by BIND10's datasource
dnl
AC_DEFUN([AX_PYTHON_SQLITE3], [
# Check for the python sqlite3 module
AC_MSG_CHECKING(for python sqlite3 module)
if "$PYTHON" -c 'import sqlite3' 2>/dev/null ; then
AC_MSG_RESULT(ok)
else
AC_MSG_RESULT(missing)
AC_MSG_ERROR([Missing sqlite3 python module.])
fi
])dnl AX_PYTHON_SQLITE3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment