+:check_NASM\r
+if not defined NASM_PREFIX (\r
+ @echo.\r
+ @echo !!! WARNING !!! NASM_PREFIX environment variable is not set\r
+ @if exist "C:\nasm\nasm.exe" @set "NASM_PREFIX=C:\nasm\"\r
+ @if exist "C:\nasm\nasm.exe" @echo Found nasm.exe, setting the environment variable to C:\nasm\\r
+ @if not exist "C:\nasm\nasm.exe" echo Attempting to build modules that require NASM will fail.\r
+)\r
+\r
+:check_CLANGPDB\r
+@REM In Windows, set CLANG_HOST_BIN=n to use nmake command\r
+@set CLANG_HOST_BIN=n\r
+if not defined CLANG_BIN (\r
+ @echo.\r
+ @echo !!! WARNING !!! CLANG_BIN environment variable is not set\r
+ @if exist "C:\Program Files\LLVM\bin\clang.exe" (\r
+ @set CLANG_BIN=C:\Program Files\LLVM\bin\\r
+ @echo Found LLVM, setting CLANG_BIN environment variable to C:\Program Files\LLVM\bin\\r
+ )\r
+)\r
+\r