Merge branch 'v4-0-trivial' into v4-0-python
[garming/samba-autobuild/.git] / source4 / scripting / python / config.m4
index 908efd1588e880a77860328b33a28ee6df749cb2..1f03ec8e345f09546d2a55f9ccc69725d7b2fef9 100644 (file)
@@ -66,6 +66,7 @@ if test $working_python = yes; then
        SMB_ENABLE(EXT_LIB_PYTHON,YES)
        SMB_ENABLE(smbpython,YES)
        SMB_ENABLE(LIBPYTHON,YES)
+       AC_DEFINE(HAVE_WORKING_PYTHON, 1, [Whether we have working python support])
        AC_MSG_RESULT([yes])
 else
        AC_MSG_ERROR([Python not found. Please install Python 2.x and its development headers/libraries.])