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:
9
example/tutorial/Jamroot
Executable file → Normal file
9
example/tutorial/Jamroot
Executable file → Normal 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
|
||||
|
||||
Reference in New Issue
Block a user