1 SMB_ENABLE(ldb_sqlite3,$with_sqlite3_support)
3 AC_MSG_CHECKING([for Python])
8 [ --with-python=PYTHONNAME build Python libraries],
9 [ case "${withval-python}" in
17 PYTHON=${withval-python}
21 if test x"$PYTHON" != "x"; then
22 incdir=`python -c 'import sys; print "%s/include/python%d.%d" % (sys.prefix, sys.version_info[[0]], sys.version_info[[1]])'`
23 CPPFLAGS="$CPPFLAGS -I $incdir"
26 if test x"$PYTHON" != "x"; then
27 AC_MSG_RESULT([${withval-python}])
30 SMB_ENABLE(swig_ldb, NO)