Suggested by: Brian Gladman
svn path=/trunk/yasm/; revision=1960
reg query HKCR\Python.File\shell\open\command >nul: 2>&1\r
goto answer%errorlevel%\r
:answer0\r
-echo Python found!\r
+echo ... building with Python ...\r
@echo on\r
modules\arch\x86\gen_x86_insn.py\r
@echo off\r
goto end\r
:answer1\r
-echo Python not found!\r
+echo ... building without Python ...\r
goto end\r
:end\r
@echo on\r
reg query HKCR\Python.File\shell\open\command >nul: 2>&1\r
goto answer%errorlevel%\r
:answer0\r
-echo Python found!\r
+echo ... building with Python ...\r
@echo on\r
modules\arch\x86\gen_x86_insn.py\r
@echo off\r
goto end\r
:answer1\r
-echo Python not found!\r
+echo ... building without Python ...\r
goto end\r
:end\r
@echo on\r