Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49615 - in trunk/tools/build/v2: doc/src tools
From: ghost_at_[hidden]
Date: 2008-11-06 12:11:47


Author: vladimir_prus
Date: 2008-11-06 12:11:47 EST (Thu, 06 Nov 2008)
New Revision: 49615
URL: http://svn.boost.org/trac/boost/changeset/49615

Log:
Trim the list of possible values for target-os.

Text files modified:
   trunk/tools/build/v2/doc/src/reference.xml | 7 +++----
   trunk/tools/build/v2/tools/builtin.jam | 12 ++++++++----
   2 files changed, 11 insertions(+), 8 deletions(-)

Modified: trunk/tools/build/v2/doc/src/reference.xml
==============================================================================
--- trunk/tools/build/v2/doc/src/reference.xml (original)
+++ trunk/tools/build/v2/doc/src/reference.xml 2008-11-06 12:11:47 EST (Thu, 06 Nov 2008)
@@ -571,10 +571,9 @@
             libraries are produced for shared libraries or not.
           </para>
 
- <para>The complete list of possible values for this feature is:
- amiga, aix, bsd, cygwin, darwin, dos, emx, freebsd, hpux, iphone,
- linux, netbsd, openbsd, osf, qnx, qnxnto, sgi, solaris, sun,
- sunos, svr4, sysv, ultrix, unix, unixware, windows.
+ <para>The complete list of possible values for this feature is:
+ aix, bsd, cygwin, darwin, freebsd, hpux, iphone, linux, netbsd,
+ openbsd, osf, qnx, qnxnto, sgi, solaris, unix, unixware, windows.
           </para>
 
           <para>See <xref linkend="bbv2.tasks.crosscompile"/> for details of

Modified: trunk/tools/build/v2/tools/builtin.jam
==============================================================================
--- trunk/tools/build/v2/tools/builtin.jam (original)
+++ trunk/tools/build/v2/tools/builtin.jam 2008-11-06 12:11:47 EST (Thu, 06 Nov 2008)
@@ -35,10 +35,8 @@
 import generate ;
 
 
-.os-names = amiga aix bsd cygwin darwin dos emx freebsd hpux iphone linux netbsd
- openbsd osf qnx qnxnto sgi solaris sun sunos svr4 sysv ultrix unix unixware
- vms windows ;
-
+.os-names = aix bsd cygwin darwin freebsd hpux iphone linux netbsd
+ openbsd osf qnx qnxnto sgi solaris unix unixware windows ;
 
 # Feature used to determine which OS we're on. New <target-os> and <host-os>
 # features should be used instead.
@@ -70,6 +68,12 @@
             case MACOSX : host-os = darwin ;
             case KFREEBSD : host-os = freebsd ;
             case LINUX : host-os = linux ;
+ case SUNOS :
+ ECHO "SunOS is not a supported operating system." ;
+ ECHO "We believe last version of SunOS was released in 1992, " ;
+ ECHO "so if you get this message, something is very wrong with configuration logic. " ;
+ ECHO "Please report this as a bug. " ;
+ EXIT ;
             case * : host-os = unix ;
         }
     }


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