Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
[ira/wip.git] / source4 / scripting / python / config.m4
index 4f46f92682ee3f5183215864f104489d7b261862..908efd1588e880a77860328b33a28ee6df749cb2 100644 (file)
@@ -68,9 +68,6 @@ if test $working_python = yes; then
        SMB_ENABLE(LIBPYTHON,YES)
        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