anchor.diff:  echo QT_MOBILITY_PREFIX = %QT_MOBILITY_PREFIX% >> %PROJECT_CONFIG%
   
   echo build_unit_tests = %BUILD_UNITTESTS% >> %PROJECT_CONFIG%
  +set BUILD_UNITTESTS=
  +
   echo build_examples = %BUILD_EXAMPLES% >> %PROJECT_CONFIG%
  +set BUILD_EXAMPLES=
  +
   echo qmf_enabled = no >> %PROJECT_CONFIG%
   
   echo isEmpty($$QT_MOBILITY_INCLUDE):QT_MOBILITY_INCLUDE=$$QT_MOBILITY_PREFIX/include >> %PROJECT_CONFIG%
  
positive.code:     )
  
      %QT_PATH%qmake %SOURCE_PATH%\config.tests\%2\%2.pro >> %PROJECT_LOG% 2>&1
      %MAKE% clean >> %PROJECT_LOG%
      %MAKE% >> %PROJECT_LOG% 2>&1
  
      set FAILED=0
      if %MAKETYPE% == symbian-sbsv2 (
          for /f "tokens=2" %%i in ('%MAKE% SBS^="@sbs --check"') do set FAILED=1
      ) else if %MAKETYPE% == symbian-abld (
          for /f "tokens=2" %%i in ('%MAKE% ABLD^="@ABLD.BAT -c"') do set FAILED=1
      ) else if errorlevel 1 (
          set FAILED=1
      )
  
negative.code: %QT_PATH%qmake -recursive %VC_TEMPLATE_OPTION% %SOURCE_PATH%\qtmobility.pro
  if errorlevel 1 goto qmakeRecError
  echo.
  echo configure has finished. You may run %MOBILITY_MAKE% to build the project now.
  goto exitTag
  
  :qmakeRecError
  echo.
  echo configure failed.
  goto exitTag
  
  :errorTag
  set BUILD_PATH=
  set CURRENTDIR=
  set MOBILITY_MAKE=
  set MOBILITY_BUILDSYSTEM=
  set PROJECT_CONFIG=
  set PROJECT_LOG=
  set QT_MOBILITY_PREFIX=
  set QT_PATH=
  set SOURCE_PATH=
  exit /b 1
  
  :exitTag
  set BUILD_PATH=
  set CURRENTDIR=
  set MOBILITY_MAKE=
  set MOBILITY_BUILDSYSTEM=
  set PROJECT_CONFIG=
  set PROJECT_LOG=
  set QT_MOBILITY_PREFIX=
  set QT_PATH=
  set SOURCE_PATH=
  
  