anchor.diff:  @GOTO exit
   )
   @cd %mesa%mesa
  -@set /p openswr=Do you want to build OpenSWR drivers? (y=yes):
  -@set buildswr=0
  -@if /i "%openswr%"=="y" set buildswr=1
  -@set mesatoolchain=default
  +@set openswr=n
  +@set sconscmd=python %mesa%Python\%abi%\Scripts\scons.py build=release platform=windows machine=%longabi%
  +@set /p nostandarddisplay=Don't build standard display drivers - llvmpipe, softpipe? (y=yes):
   @echo.
  +@if /I NOT "%nostandarddisplay%"=="y" set sconscmd=%sconscmd% libgl-gdi
  +@if /I NOT "%nostandarddisplay%"=="y" set /p openswr=Do you want to build OpenSWR drivers? (y=yes):
  +@if /I NOT "%nostandarddisplay%"=="y" echo.
  +@if /I "%openswr%"=="y" set sconscmd=%sconscmd% swr=1
  +@set /p osmesa-graw=Build Off-screen rendering and graw runtime (graw depends on standard display) (y/n):
  +@echo.
  +@if /I "%osmesa-graw%"=="y" set sconscmd=%sconscmd% osmesa
   @GOTO build_with_vs
   
   :build_with_mingw
  
positive.code: @if EXIST %msys2% set mingwtest=%mingwtest%2
  @if %mingwtest%==12 set /p mingw=Do you want to build with MinGW-W64 instead of Visual Studio (y=yes):
  @if %dxtnbuilt%==0 set PATH=%gcc%\;%PATH%
  @set mesatoolchain=crossmingw
  @copy %gcc%\%altabi%-w64-mingw32-gcc-ar.exe %gcc%\%altabi%-w64-mingw32-ar.exe
  @copy %gcc%\%altabi%-w64-mingw32-gcc-ranlib.exe %gcc%\%altabi%-w64-mingw32-ranlib.exe
  @call "%msys2%" -use-full-path
  pacman -Syu
  pacman -S python2
  wget https://bootstrap.pypa.io/get-pip.py
  
negative.code: )
  
  :build_mesa_exec
  @%sconscmd%
  @echo.
  @pause
  
  