X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=msvc%2Fwinsetup.bat;h=336778204f2a5dc3507a880bef2062e5bd669801;hb=fb327d037ee9b0dfe7029c37af51684c05f98b8c;hp=f67a854569327dcbd8fb0d344ea2ed97de89c1f3;hpb=811674bc6331c98d33134e2a37a7c7dd66402227;p=mono.git diff --git a/msvc/winsetup.bat b/msvc/winsetup.bat index f67a8545693..336778204f2 100755 --- a/msvc/winsetup.bat +++ b/msvc/winsetup.bat @@ -4,6 +4,7 @@ if exist config.h if not exist cygconfig.h copy config.h cygconfig.h if exist eglib\config.h if not exist eglib\cygconfig.h copy eglib\config.h eglib\cygconfig.h copy winconfig.h config.h copy eglib\winconfig.h eglib\config.h +powershell -Command "(Get-Content config.h) -replace '#MONO_VERSION#', (Select-String -path configure.ac -pattern 'AC_INIT\(mono, \[(.*)\]').Matches[0].Groups[1].Value | Set-Content config.h" goto end :error echo fatal error: the VSDepenancies directory was not found in the "mono" directory