From 6aaccdb0b38366963d5bdff444d24d6dcacc817b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 10 Jan 2008 17:47:58 +0100 Subject: [PATCH] configure: Complain when Python is not found. --- source/scripting/python/config.m4 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/scripting/python/config.m4 b/source/scripting/python/config.m4 index 326cef8440f..348f9197f71 100644 --- a/source/scripting/python/config.m4 +++ b/source/scripting/python/config.m4 @@ -65,8 +65,5 @@ then LIBS="$ac_save_LIBS" CFLAGS="$ac_save_CFLAGS" 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