summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/config.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-23 22:06:29 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-24 01:51:04 -0600
commit1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09 (patch)
tree8e7a7ce729322ae1e6b57e839837e19b9dfc454f /source4/scripting/python/config.m4
parent2d400c1dd1ba1c5a49d2d79bdf7593d430da92e8 (diff)
downloadsamba-1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09.tar.gz
samba-1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09.tar.xz
samba-1ab5bcfb93c9fc7b18d55e6c5995efddf97fea09.zip
r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.
(This used to be commit 03270c5ffdb1476bef5eba846c2ea008111375fc)
Diffstat (limited to 'source4/scripting/python/config.m4')
-rw-r--r--source4/scripting/python/config.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 8951b4da08..49ad7273a4 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -41,9 +41,11 @@ then
Py_InitModule(NULL, NULL);
],[
SMB_ENABLE(LIBPYTHON,YES)
+ SMB_ENABLE(smbpython,YES)
AC_MSG_RESULT([yes])
],[
SMB_ENABLE(LIBPYTHON,NO)
+ SMB_ENABLE(smbpython,NO)
AC_MSG_RESULT([no])
])
@@ -51,5 +53,6 @@ then
CFLAGS="$ac_save_CFLAGS"
else
SMB_ENABLE(LIBPYTHON,NO)
+ SMB_ENABLE(smbpython,NO)
AC_MSG_RESULT([no])
fi