Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49793 - trunk/tools/build/v2/kernel
From: ghost_at_[hidden]
Date: 2008-11-16 09:50:48


Author: vladimir_prus
Date: 2008-11-16 09:50:48 EST (Sun, 16 Nov 2008)
New Revision: 49793
URL: http://svn.boost.org/trac/boost/changeset/49793

Log:
Verify that escape characters are supported
Text files modified:
   trunk/tools/build/v2/kernel/bootstrap.jam | 17 ++++++++++++-----
   1 files changed, 12 insertions(+), 5 deletions(-)

Modified: trunk/tools/build/v2/kernel/bootstrap.jam
==============================================================================
--- trunk/tools/build/v2/kernel/bootstrap.jam (original)
+++ trunk/tools/build/v2/kernel/bootstrap.jam 2008-11-16 09:50:48 EST (Sun, 16 Nov 2008)
@@ -20,7 +20,7 @@
     {
         ECHO "error: builtin rule '$(r)' is not present" ;
         ECHO "error: your version of bjam is likely out of date" ;
- ECHO "error: please get a fresh version from CVS." ;
+ ECHO "error: please get a fresh version from SVN." ;
         EXIT ;
     }
 }
@@ -37,7 +37,7 @@
         ECHO "error: missing native rule '$(native[1]).$(native[2])'" ;
         ECHO "error: or interface version of that rule is too low" ;
         ECHO "error: your version of bjam is likely out of date" ;
- ECHO "error: please get a fresh version from CVS." ;
+ ECHO "error: please get a fresh version from SVN." ;
         EXIT ;
     }
     native = $(native[4-]) ;
@@ -54,7 +54,7 @@
     {
         ECHO "error: no builtin module .ENVIRON is found" ;
         ECHO "error: your version of bjam is likely out of date" ;
- ECHO "error: please get a fresh version from CVS." ;
+ ECHO "error: please get a fresh version from SVN." ;
         EXIT ;
     }
 }
@@ -68,12 +68,19 @@
     {
         ECHO "error: no @() functionality found" ;
         ECHO "error: your version of bjam is likely out of date" ;
- ECHO "error: please get a fresh version from CVS." ;
+ ECHO "error: please get a fresh version from SVN." ;
         EXIT ;
     }
 }
 
-
+# Make sure that \n escape is avaiable.
+if "\n" = "n"
+{
+ ECHO "error: escape sequences are not supported" ;
+ ECHO "error: your version of bjam is likely out of date" ;
+ ECHO "error: please get a fresh version from SVN." ;
+ EXIT ;
+}
 
 # Bootstrap the module system. Then bring the import rule into the global module.
 #


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