Skip to content

Commit 0373302

Browse files
committed
If no python is configured, default-configure it.
Fixes #2846. [SVN r53380]
1 parent ef53bed commit 0373302

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

example/tutorial/Jamroot

100755100644
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
# Software License, Version 1.0. (See accompanying
33
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
44

5+
import python ;
6+
7+
if ! [ python.configured ]
8+
{
9+
ECHO "notice: no Python configured in user-config.jam" ;
10+
ECHO "notice: will use default configuration" ;
11+
using python ;
12+
}
13+
514
# Specify the path to the Boost project. If you move this project,
615
# adjust this path to refer to the Boost root directory.
716
use-project boost

0 commit comments

Comments
 (0)