summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-27 20:55:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:04 -0500
commitab8fd44603c6ac140e6d0c29fd6a1a1065f616a3 (patch)
treeb3dcb24719e8b5a7453793ce3c455a2ef1f250a3 /source4/lib
parent620d759f49f4b648d0fa4a84e67f1cecbbdd0f06 (diff)
downloadsamba-ab8fd44603c6ac140e6d0c29fd6a1a1065f616a3.tar.gz
samba-ab8fd44603c6ac140e6d0c29fd6a1a1065f616a3.tar.bz2
samba-ab8fd44603c6ac140e6d0c29fd6a1a1065f616a3.zip
r15300: Only enable SWIG shared libs if python is available
(This used to be commit d9f1c19f58578f97e7a20a54c474abfe6525849f)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/config.m41
-rw-r--r--source4/lib/tdb/config.m41
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/config.m4 b/source4/lib/ldb/config.m4
index c8603b079f..845563b4a1 100644
--- a/source4/lib/ldb/config.m4
+++ b/source4/lib/ldb/config.m4
@@ -27,6 +27,7 @@ if test x"$PYTHON" != "x"; then
AC_MSG_RESULT([${withval-python}])
else
AC_MSG_RESULT(no)
+ SMB_ENABLE(swig_ldb, NO)
fi
AC_SUBST(PYTHON)
diff --git a/source4/lib/tdb/config.m4 b/source4/lib/tdb/config.m4
index 73e74ddd0c..cb0801795c 100644
--- a/source4/lib/tdb/config.m4
+++ b/source4/lib/tdb/config.m4
@@ -30,6 +30,7 @@ fi
if test x"$PYTHON" != "x"; then
AC_MSG_RESULT([${withval-python}])
else
+ SMB_ENABLE(swig_tdb, NO)
AC_MSG_RESULT(no)
fi