Commit 4e7c1fb3 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

[master]Merge branch 'trac2939'

to add check for python sqlite3 module
parents 7759a99d 68b075b7
......@@ -1093,6 +1093,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