summaryrefslogtreecommitdiffstats
path: root/source/scripting
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-27 20:55:26 +0000
committerJelmer Vernooij <jelmer@samba.org>2006-04-27 20:55:26 +0000
commite046610f83f16d26c3b1c7b0587c80d77a9368ac (patch)
tree0225420573ac107ffe1b997f240de08617d160f2 /source/scripting
parent1903d234fd97e54094cc6813760cc729e6619c99 (diff)
downloadsamba-e046610f83f16d26c3b1c7b0587c80d77a9368ac.tar.gz
samba-e046610f83f16d26c3b1c7b0587c80d77a9368ac.tar.xz
samba-e046610f83f16d26c3b1c7b0587c80d77a9368ac.zip
r15300: Only enable SWIG shared libs if python is available
Diffstat (limited to 'source/scripting')
-rw-r--r--source/scripting/swig/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source/scripting/swig/config.m4 b/source/scripting/swig/config.m4
index 02a563e167d..9988399f70d 100644
--- a/source/scripting/swig/config.m4
+++ b/source/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)