summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2009-06-15 15:08:25 -0400
committerSimo Sorce <idra@samba.org>2009-06-15 16:31:11 -0400
commit57ba31ca968552f28b2221b740f9b0c5bcd9911a (patch)
tree326faa22a49cc8b3a42af46bcea7ee85107909fa
parent3014753ebebd332710e7d5ad75c868f34f00dff6 (diff)
downloadsamba-57ba31ca968552f28b2221b740f9b0c5bcd9911a.tar.gz
samba-57ba31ca968552f28b2221b740f9b0c5bcd9911a.tar.bz2
samba-57ba31ca968552f28b2221b740f9b0c5bcd9911a.zip
Add option to --disable-python on build
-rw-r--r--lib/tdb/configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/tdb/configure.ac b/lib/tdb/configure.ac
index c42a970721..e00f08af70 100644
--- a/lib/tdb/configure.ac
+++ b/lib/tdb/configure.ac
@@ -28,6 +28,15 @@ if test -z "$PYTHON_CONFIG"; then
PYTHON_CHECK_TARGET=""
fi
+AC_ARG_ENABLE(python,
+ [--enable-python Ebables python bindings],
+ [ if test "x$enableval" = "xno" ; then
+ PYTHON_BUILD_TARGET=""
+ PYTHON_INSTALL_TARGET=""
+ PYTHON_CHECK_TARGET=""
+ fi
+ ])
+
m4_include(build_macros.m4)
BUILD_WITH_SHARED_BUILD_DIR