From 0603fa35637133b4c5c016ca0097848b0fb82b28 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 26 May 2005 20:48:34 +0000 Subject: [PATCH] No config checking or warnings if --without-python is passed. [SVN r29236] --- v1/python.jam | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/v1/python.jam b/v1/python.jam index fa29ebd3e..b29e363ed 100644 --- a/v1/python.jam +++ b/v1/python.jam @@ -554,7 +554,11 @@ rule test-executable(PYD) ( target-to-test ) rule check-python-config ( ) { - if ! $(gPYTHON_CONFIG_CHECKED) + if --without-python in $(ARGV) + { + gNO_PYTHON_INSTALL = true ; + } + else if ! $(gPYTHON_CONFIG_CHECKED) { local dir ; @@ -574,7 +578,8 @@ rule check-python-config ( ) { gNO_PYTHON_INSTALL = true ; ECHO "---------------------------------------------------------------------" ; - ECHO "*** If you don't need Boost.Python, you can ignore this section ***" ; + ECHO "*** If you don't need Boost.Python, you can ignore this section ***" ; + ECHO "*** pass --without-python to suppress this message in the future ***" ; ECHO ; ECHO skipping Boost.Python library build due to missing or incorrect configuration ; ECHO ;