From 03733021656721b26a6e91102ce3bd3e2f9fc5cf Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Fri, 29 May 2009 08:18:09 +0000 Subject: [PATCH] If no python is configured, default-configure it. Fixes #2846. [SVN r53380] --- example/tutorial/Jamroot | 9 +++++++++ 1 file changed, 9 insertions(+) mode change 100755 => 100644 example/tutorial/Jamroot diff --git a/example/tutorial/Jamroot b/example/tutorial/Jamroot old mode 100755 new mode 100644 index 8d381593..2e7ffe57 --- a/example/tutorial/Jamroot +++ b/example/tutorial/Jamroot @@ -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