check for setup.h

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5155 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2007-05-23 23:32:42 +00:00
parent 5e314f1c0f
commit 0a2692fb22

View file

@ -1,3 +1,4 @@
if not exist setup.h goto setup_error
if not exist "%WXWIN%\build\msw\makefile.vc" goto error
set OLDCD=%CD%
cd /D "%WXWIN%\build\msw"
@ -11,4 +12,7 @@ cd /D "%OLDCD%"
goto done
:error
echo WXWIN is not properly set
goto done
:setup_error
echo setup.h cannot be found, wrong working directory?
:done