summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/config.m41
-rw-r--r--source4/lib/tdb/config.m41
-rw-r--r--source4/scripting/swig/config.m42
3 files changed, 4 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
diff --git a/source4/scripting/swig/config.m4 b/source4/scripting/swig/config.m4
index 02a563e167..9988399f70 100644
--- a/source4/scripting/swig/config.m4
+++ b/source4/scripting/swig/config.m4
@@ -21,6 +21,8 @@ AC_ARG_WITH(python,
if test x"$PYTHON" != "x"; then
incdir=`python -c 'import sys; print "%s/include/python%d.%d" % (sys.prefix, sys.version_info[[0]], sys.version_info[[1]])'`
CPPFLAGS="$CPPFLAGS -I $incdir"
+else
+ SMB_ENABLE(swig_dcerpc, NO)
fi
AC_SUBST(PYTHON)