summaryrefslogtreecommitdiff
path: root/source4/scripting/swig
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/swig')
-rw-r--r--source4/scripting/swig/config.m42
1 files changed, 2 insertions, 0 deletions
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)