2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 02:52:12 +00:00

No config checking or warnings if --without-python is passed.

[SVN r29236]
This commit is contained in:
Dave Abrahams
2005-05-26 20:48:34 +00:00
parent b31b3bd5d4
commit 0603fa3563

View File

@@ -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 ;