diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-27 20:55:26 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-04-27 20:55:26 +0000 |
commit | e046610f83f16d26c3b1c7b0587c80d77a9368ac (patch) | |
tree | 0225420573ac107ffe1b997f240de08617d160f2 /source/scripting | |
parent | 1903d234fd97e54094cc6813760cc729e6619c99 (diff) | |
download | samba-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.m4 | 2 |
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) |