ax_python_sqlite3.m4 407 B

1234567891011121314151617
  1. dnl @synopsis AX_PYTHON_SQLITE3
  2. dnl
  3. dnl Test for the Python sqlite3 module used by BIND10's datasource
  4. dnl
  5. AC_DEFUN([AX_PYTHON_SQLITE3], [
  6. # Check for the python sqlite3 module
  7. AC_MSG_CHECKING(for python sqlite3 module)
  8. if "$PYTHON" -c 'import sqlite3' 2>/dev/null ; then
  9. AC_MSG_RESULT(ok)
  10. else
  11. AC_MSG_RESULT(missing)
  12. AC_MSG_ERROR([Missing sqlite3 python module.])
  13. fi
  14. ])dnl AX_PYTHON_SQLITE3