BIND 10 trac2939, updated. 68b075b70cd9b3570b81397d0be3ae27f3baa5ba [2939] Check for python sqlite3 module
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Aug 12 14:33:13 UTC 2013
The branch, trac2939 has been updated
via 68b075b70cd9b3570b81397d0be3ae27f3baa5ba (commit)
from fef265b2e3bfae238c91bfd820bed760efc748aa (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 68b075b70cd9b3570b81397d0be3ae27f3baa5ba
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Mon Aug 12 16:31:25 2013 +0200
[2939] Check for python sqlite3 module
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 ++
m4macros/ax_python_sqlite3.m4 | 17 +++++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 m4macros/ax_python_sqlite3.m4
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 609fa8b..f34bbe5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
#
diff --git a/m4macros/ax_python_sqlite3.m4 b/m4macros/ax_python_sqlite3.m4
new file mode 100644
index 0000000..f4076ba
--- /dev/null
+++ b/m4macros/ax_python_sqlite3.m4
@@ -0,0 +1,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
More information about the bind10-changes
mailing list