BIND 10 master, updated. 4e7c1fb3533a53bd6cd21b563553f1e40f9bdf30 [master]Merge branch 'trac2939'

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Sep 23 13:07:49 UTC 2013


The branch, master has been updated
       via  4e7c1fb3533a53bd6cd21b563553f1e40f9bdf30 (commit)
       via  68b075b70cd9b3570b81397d0be3ae27f3baa5ba (commit)
      from  7759a99d23a5d3246a160ad4363c33edfda2ef74 (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 4e7c1fb3533a53bd6cd21b563553f1e40f9bdf30
Merge: 7759a99 68b075b
Author: Jeremy C. Reed <jreed at isc.org>
Date:   Mon Sep 23 08:07:13 2013 -0500

    [master]Merge branch 'trac2939'
    
    to add 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 8098a8f..2cc91660 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
 
 #
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