2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Verify that escape characters are supported

[SVN r49793]
This commit is contained in:
Vladimir Prus
2008-11-16 14:50:48 +00:00
parent 31f8201758
commit 07b2ee7a3f

View File

@@ -20,7 +20,7 @@ for local r in $(required-rules)
{
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 @@ while $(native)
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 @@ module .ENVIRON
{
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 @@ module .ENVIRON
{
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.
#