Changeset 54770


Ignore:
Timestamp:
Jul 7, 2009, 2:39:26 PM (9 years ago)
Author:
Vladimir Prus
Message:

Use system layout on Linux by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jamroot

    r53815 r54770  
    278278# What kind of layout are we doing?
    279279layout = [ MATCH "^--layout=(.*)" : [ modules.peek : ARGV ] ] ;
    280 layout ?= versioned ;
     280# On Windows, we used versioned layout by default in order to
     281# be compatible with autolink. On other systems, we use system
     282# layout which is what every other program uses. Note that windows
     283# check is static, and won't
     284if ! $(layout)
     285{
     286    if [ modules.peek : NT ]
     287    {
     288        layout = versioned ;
     289    }
     290    else
     291    {
     292        layout = system ;
     293    }
     294}
    281295layout-$(layout) = true ;
    282296
Note: See TracChangeset for help on using the changeset viewer.