diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-04-27 20:55:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:05:04 -0500 |
commit | ab8fd44603c6ac140e6d0c29fd6a1a1065f616a3 (patch) | |
tree | b3dcb24719e8b5a7453793ce3c455a2ef1f250a3 /source4/scripting/swig | |
parent | 620d759f49f4b648d0fa4a84e67f1cecbbdd0f06 (diff) | |
download | samba-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/scripting/swig')
-rw-r--r-- | source4/scripting/swig/config.m4 | 2 |
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) |