From 3742947614ea9cacc7612b517ce74be2bd804ac7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Jul 2007 11:23:58 +0000 Subject: [PATCH] Address FR in bug #9596. --- configure.ac | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/configure.ac b/configure.ac index 23abfdd71ef..560e1ce39b6 100644 --- a/configure.ac +++ b/configure.ac @@ -245,6 +245,19 @@ AC_ARG_ENABLE([display-revision], [svnrev=$enableval], [svnrev=no]) + +if test "x$game" = "xno" +then + python=no + AC_MSG_WARN([*** Game build disabled, suppressing Python support.]) +fi + +if test "x$python" = "xno" +then + python_install=no + AC_MSG_WARN([*** Python support disabled, suppressing installation of Python tools.]) +fi + AM_CONDITIONAL([STATIC], [test x$static = xyes]) AM_CONDITIONAL([PYTHON_INSTALL], [test x$python_install = xyes]) AM_CONDITIONAL([GAME], [test x$game = xyes])