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 | |
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)
-rw-r--r-- | source4/lib/ldb/config.m4 | 1 | ||||
-rw-r--r-- | source4/lib/tdb/config.m4 | 1 | ||||
-rw-r--r-- | source4/scripting/swig/config.m4 | 2 |
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) |