|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r54770 - trunk
From: ghost_at_[hidden]
Date: 2009-07-07 10:39:27
Author: vladimir_prus
Date: 2009-07-07 10:39:26 EDT (Tue, 07 Jul 2009)
New Revision: 54770
URL: http://svn.boost.org/trac/boost/changeset/54770
Log:
Use system layout on Linux by default
Text files modified:
trunk/Jamroot | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
Modified: trunk/Jamroot
==============================================================================
--- trunk/Jamroot (original)
+++ trunk/Jamroot 2009-07-07 10:39:26 EDT (Tue, 07 Jul 2009)
@@ -277,7 +277,21 @@
# What kind of layout are we doing?
layout = [ MATCH "^--layout=(.*)" : [ modules.peek : ARGV ] ] ;
-layout ?= versioned ;
+# On Windows, we used versioned layout by default in order to
+# be compatible with autolink. On other systems, we use system
+# layout which is what every other program uses. Note that windows
+# check is static, and won't
+if ! $(layout)
+{
+ if [ modules.peek : NT ]
+ {
+ layout = versioned ;
+ }
+ else
+ {
+ layout = system ;
+ }
+}
layout-$(layout) = true ;
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk