anchor.diff:  goto end
   
   :detectTools_end_test_make
  -echo    Testing for optional external librarys.
  +echo    Testing for optional external libraries.
   echo    If a test fails, some features will not be available.
   if "%OPENSSL%"=="0" goto detectdb
  -echo    Testing for OpenSSL... 
  +echo    Testing for OpenSSL...
   echo OpenSSL... >> %PROJECT_ROOT%\%CONFIG_LOG%
   cd %TESTDIR%\openssl
  -%QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  +if "%WINNT%"=="1" %QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  +if "%WINNT%"=="0" %QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
   if errorlevel 1 goto opensslfailed
  -call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG%
  -call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  +if "%WINNT%"=="1" call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  +if "%WINNT%"=="0" call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG%
  +if "%WINNT%"=="1" call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  +if "%WINNT%"=="0" call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
   if errorlevel 1 goto opensslfailed
   set OPENSSL=1
   echo DEFINES += HAVE_OPENSSL >> %PROJECT_ROOT%\config.in
  +echo        OpenSSL enabled.
   goto detectdb
   
   :opensslfailed
   set OPENSSL=0
   echo DEFINES -= HAVE_OPENSSL >> %PROJECT_ROOT%\config.in
  +echo        OpenSSL disabled.
   
   :detectdb
   if "%DB%"=="0" goto detectfcgi
   echo    Testing for Berkeley DB...
   echo BDB... >> %PROJECT_ROOT%\%CONFIG_LOG%
   cd %TESTDIR%\db
  -%QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  +if "%WINNT%"=="1" %QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  +if "%WINNT%"=="0" %QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
   if errorlevel 1 goto dbfailed
  -call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG%
  -call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  +if "%WINNT%"=="1" call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  +if "%WINNT%"=="0" call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG%
  +if "%WINNT%"=="1" call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  +if "%WINNT%"=="0" call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
   if errorlevel 1 goto dbfailed
   set DB=1
   echo DEFINES += HAVE_DB >> %PROJECT_ROOT%\config.in
  +echo        Berkeley DB enabled.
   goto detectfcgi
   
   :dbfailed
   set DB=0
   echo DEFINES -= HAVE_DB >> %PROJECT_ROOT%\config.in
  +echo        Berkeley DB disabled.
   
   :detectfcgi
   rem if "%FCGI%"=="0" goto skipfcgitest
  
positive.code: :testnmake
  if "%QMAKESPEC%" == "win32-g++"     goto testgmake
  echo    Testing for nmake...
  nmake /? >> %PROJECT_ROOT%\%CONFIG_LOG%
  if errorlevel 1 goto testgmake
  echo        Using nmake.
  SET MAKE=nmake
  
negative.code: 
  :testgmake
  echo    Testing for GNU make...
  if "%WINNT%"=="1" call make -v >> %PROJECT_ROOT%\%CONFIG_LOG% 2>&1
  if "%WINNT%"=="0" call make -v >> %PROJECT_ROOT%\%CONFIG_LOG%
  if errorlevel 1 goto missingmake
  echo        Using GNU make.
  SET MAKE=make
  