anchor.diff:  set QMAKEBIN=qmake
   set MSVCMODE=
   set OPENSSL=1
  -set CURSES=1
  +set FCGI=1
   echo include(depends.pri) > %PROJECT_ROOT%\config.in
   echo QXT_stability += unknown >> %PROJECT_ROOT%\config.in
   
  
positive.code: goto bottom2
  
  :nomake
  if "%1"=="curses" set CURSES=0
  echo QXT_BUILD -= %1 >> %PROJECT_ROOT%\config.in
  goto bottom2
  
  
negative.code: call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  if errorlevel 1 goto opensslfailed
  set OPENSSL=1
  goto detectfcgi
  
  :opensslfailed
  set OPENSSL=0
  echo QXT_LIBS -= openssl >> %PROJECT_ROOT%\config.in
  
  :detectfcgi
  if "%FCGI%"=="0" goto skipfcgitest
  echo    Testing for FastCGI...
  echo fcgi... >> %PROJECT_ROOT%\%CONFIG_LOG%
  cd %TESTDIR%\fcgi
  %QMAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  if errorlevel 1 goto fcgifailed
  call %MAKE% clean >> %PROJECT_ROOT%\%CONFIG_LOG%
  call %MAKE% >> %PROJECT_ROOT%\%CONFIG_LOG%
  if errorlevel 1 goto fcgifailed
  set FCGI=1
  goto alltestsok
  
  :fcgifailed
  set FCGI=0
  echo QXT_BUILD -= fcgi >> %PROJECT_ROOT%\config.in
  
  :skipfcgitest
  :alltestsok
  cd %PROJECT_ROOT%
  
  echo    Configuration successful.
  if "%OPENSSL%"=="1" echo        OpenSSL enabled.
  if "%OPENSSL%"=="0" echo        OpenSSL disabled.
  if "%FCGI%"=="1"    echo        FastCGI enabled.
  if "%FCGI%"=="0"    echo        FastCGI disabled.
  echo    Generating makefiles...
  copy %PROJECT_ROOT%\config.pri %PROJECT_ROOT%\config.pri.bak >> %PROJECT_ROOT%\%CONFIG_LOG%
  copy %PROJECT_ROOT%\config.in %PROJECT_ROOT%\config.pri >> %PROJECT_ROOT%\%CONFIG_LOG%
  