anchor.diff:  :#                  (To do: Avoid searching our own libraries multiple times.)*
   :#                  Added option -p to set persistent library path variables. *
   :#   2017-02-15 JFL Added a mechanism for adding user-defined libraries.      *
  +:#   2017-02-24 JFL Added option -E to delete environment variable STINCLUDE. *
  +:#                  Add %SPATH% to the STINCLUDE search paths.                *
  +:#   2017-02-28 JFL Bug fix: Recursion did not work if the path had spaces.   *
  +:#   2017-03-01 JFL Added variable IGNORE_NMAKEFILE.                          *
   :#                                                                            *
   :#         Copyright 2016 Hewlett Packard Enterprise Development LP          *
   :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 *
   :#*****************************************************************************
   
   setlocal EnableExtensions EnableDelayedExpansion
  -set "VERSION=2017-02-15"
  +set "VERSION=2017-03-01"
   set "SCRIPT=%~nx0"				&:# Script name
   set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
   set  "ARG0=%~f0"				&:# Script full pathname
  
positive.code: )
  exit /b 1
  
  :lastvs								    &:#		Min SUBSYSVER	Default SUBSYSVER
  %SEARCH_IN% "Microsoft Visual Studio 16.0"	&& goto :foundvs    &:# VS 16
  %SEARCH_IN% "Microsoft Visual Studio 15.0"	&& goto :foundvs    &:# VS 15
  %SEARCH_IN% "Microsoft Visual Studio 14.0"	&& goto :foundvs    &:# VS 2015
  :# %SEARCH_IN% "Microsoft Visual Studio 13.0"	&& goto :foundvs    &:# N/A
  :lastvsXP
  %SEARCH_IN% "Microsoft Visual Studio 12.0"	&& goto :foundvs    &:# VS 2013	5.01		6.00
  %SEARCH_IN% "Microsoft Visual Studio 11.0"	&& goto :foundvs    &:# VS 2012	5.00		5.00
  %SEARCH_IN% "Microsoft Visual Studio 10.0"	&& goto :foundvs    &:# VS 2010	5.00		5.00
  %SEARCH_IN% "Microsoft Visual Studio 9.0"	&& goto :foundvs    &:# VS 2008	5.00		5.00
  :lastvs95
  %SEARCH_IN% "Microsoft Visual Studio 8"		&& goto :foundvs    &:# VS 2005	4.00		5.00		Tested and known to work fine
  %SEARCH_IN% "Microsoft Visual Studio .NET 2003"	&& goto :foundoldvs &:# VS 7.1	4.00		4.00 		Tested. Some problems worked around.
  %SEARCH_IN% "Microsoft Visual Studio .NET"	&& goto :foundoldvs &:# VS 7.0
  :# %SEARCH_IN% "Microsoft Visual Studio"	&& goto :foundoldvs &:# VS 6					Tested. MsvcLibX compilation fails. Support 
  SET "%VS%="
  %RETURN0%
  
  
negative.code:     :# but not available in parent nmake environment.
      if not defined %%v call :Reg.GetValue HKCU\Environment %%v %%v :# Get value from the master environment in the registry
      if defined %%v call :lappend PATH_LIST "!%%v!"
      if "%%v"=="STINCLUDE" call :lappend PATH_LIST "%SPATH%" &rem :# configure.bat normally is in the STINCLUDE dir
      if defined MY_SDKS for %%s in (%MY_SDKS%) do call :lappend PATH_LIST "%%~s\!DIR!"
      call :lappend PATH_LIST ..\!DIR!
      call :lappend PATH_LIST "%PF64%\!DIR!"
  