2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00

If no python is configured, default-configure it.

Fixes #2846.


[SVN r53380]
This commit is contained in:
Vladimir Prus
2009-05-29 08:18:09 +00:00
parent ef53bedd0a
commit 0373302165

9
example/tutorial/Jamroot Executable file → Normal file
View File

@@ -2,6 +2,15 @@
# Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
import python ;
if ! [ python.configured ]
{
ECHO "notice: no Python configured in user-config.jam" ;
ECHO "notice: will use default configuration" ;
using python ;
}
# Specify the path to the Boost project. If you move this project,
# adjust this path to refer to the Boost root directory.
use-project boost