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