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: 
  :# Optionally repeat the configuration recursively using the makefile's config pseudo target
  if "%RECURSE%"=="1" (
    set CMD=call %ARG0:configure.bat=make.bat% list_dirs
    %FOREACHLINE% %%d in ('%XCALL% :Do -V !CMD! 2^>NUL') do if exist "%%d" (
      %ECHO.V% :# Configuring %%d
      %_DO.XD% pushd "%%d"
      %EXEC% -V call %ARG0%
      %_DO.XD% popd
    )
  )
  
negative.code: )
  exit /b 1
  
  :lastvs	&:#  VS Installation directory					AKA.   _MSC_VER	 Min SUBSYSVER	Default SUBSYSVER	Notes
  %SEARCH_IN% "Microsoft Visual Studio 16.0"	&& goto :foundvs    &:# VS TBD
  %SEARCH_IN% "Microsoft Visual Studio 15.0"	&& goto :foundvs    &:# VS 2017	  2000
  %SEARCH_IN% "Microsoft Visual Studio 14.0"	&& goto :foundvs    &:# VS 2015	  1900
  :# %SEARCH_IN% "Microsoft Visual Studio 13.0"	&& goto :foundvs    &:# N/A
  :lastvsXP
  %SEARCH_IN% "Microsoft Visual Studio 12.0"	&& goto :foundvs    &:# VS 2013	  1800	    5.01	    6.00
  %SEARCH_IN% "Microsoft Visual Studio 11.0"	&& goto :foundvs    &:# VS 2012	  1700	    5.00	    5.00
  %SEARCH_IN% "Microsoft Visual Studio 10.0"	&& goto :foundvs    &:# VS 2010	  1600	    5.00	    5.00
  %SEARCH_IN% "Microsoft Visual Studio 9.0"	&& goto :foundvs    &:# VS 2008	  1500	    5.00	    5.00
  :lastvs95
  %SEARCH_IN% "Microsoft Visual Studio 8"		&& goto :foundvs    &:# VS 2005	  1400	    4.00	    5.00	Tested and known to work fine
  %SEARCH_IN% "Microsoft Visual Studio .NET 2003"	&& goto :foundoldvs &:# VS 7.1	  1310	    4.00	    4.00	Tested. Some problems worked around.
  %SEARCH_IN% "Microsoft Visual Studio .NET"	&& goto :foundoldvs &:# VS 7.0	  1300
  :# %SEARCH_IN% "Microsoft Visual Studio"	&& goto :foundoldvs &:# VS 6	  1200					Tested. MsvcLibX compilation fails. Unsupported. 
  SET "%VS%="
  %RETURN0%
  
  