summaryrefslogtreecommitdiffstats
path: root/m4macros/ax_python_sqlite3.m4
blob: f4076ba5e4f3dc7e7e867247b11a0ebcde62acc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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