$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r53380 - trunk/libs/python/example/tutorial
From: ghost_at_[hidden]
Date: 2009-05-29 04:18:12
Author: vladimir_prus
Date: 2009-05-29 04:18:09 EDT (Fri, 29 May 2009)
New Revision: 53380
URL: http://svn.boost.org/trac/boost/changeset/53380
Log:
If no python is configured, default-configure it.
Fixes #2846.
Text files modified: 
   trunk/libs/python/example/tutorial/Jamroot |     9 +++++++++                               
   1 files changed, 9 insertions(+), 0 deletions(-)
Modified: trunk/libs/python/example/tutorial/Jamroot
==============================================================================
--- trunk/libs/python/example/tutorial/Jamroot	(original)
+++ trunk/libs/python/example/tutorial/Jamroot	2009-05-29 04:18:09 EDT (Fri, 29 May 2009)
@@ -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