Original commit message from CVS:
Patch by: Marcus Granado <mrc dot gran at gmail com>
* win32/vs8/grammar.vcproj:
Error out with a warning if glib-genmarshal.exe is not in path,
instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
+2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
+
+ Patch by: Marcus Granado <mrc dot gran at gmail com>
+
+ * win32/vs8/grammar.vcproj:
+ Error out with a warning if glib-genmarshal.exe is not in path,
+ instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
+
2006-10-13 Wim Taymans <wim@fluendo.com>
* gst/gstsegment.c: (gst_segment_set_seek):
<?xml version="1.0" encoding="windows-1251"?>
<VisualStudioProject
ProjectType="Visual C++"
- Version="8,00"
+ Version="8.00"\r
Name="grammar"
ProjectGUID="{6D7EB3D4-7E91-4D98-80EA-28A8F2E365F7}"
RootNamespace="grammar"
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h
:END
"
+ CommandLine="glib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL 
rem resets errorlevel to 0 because it is 1 now:
dir > NUL

if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h
goto END

:NOGLIBGENMARSHAL
echo ERROR %errorlevel%
echo ### YOU DO NOT HAVE GLIB-GENMARSHAL.EXE IN YOUR PATH.
echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!

:END

"\r
Outputs="gstmarshal.tmp"
/>
</FileConfiguration>
>
<Tool
Name="VCCustomBuildTool"
- CommandLine="if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h
:END
"
+ CommandLine="glib-genmarshal > NUL 2> NUL
if %errorlevel% == 9009 goto NOGLIBGENMARSHAL 
rem resets errorlevel to 0 because it is 1 now:
dir > NUL

if exist ..\..\gst\gstmarshal.c goto HEADER
echo #include "glib-object.h" > gstmarshal.c.tmp
echo #include "gstmarshal.h" >> gstmarshal.c.tmp
glib-genmarshal --body --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.c.tmp
move gstmarshal.c.tmp ..\..\gst\gstmarshal.c
:HEADER
if exist ..\..\gst\gstmarshal.h goto END
echo #include "gst/gstconfig.h" > gstmarshal.h.tmp
glib-genmarshal --header --prefix=gst_marshal ..\..\gst\gstmarshal.list >> gstmarshal.h.tmp
move gstmarshal.h.tmp ..\..\gst\gstmarshal.h
goto END

:NOGLIBGENMARSHAL
echo ERROR %errorlevel%
echo ### YOU DO NOT HAVE GLIB-GENMARSHAL.EXE IN YOUR PATH.
echo ### INSTALL GLIB-DEV AND/OR MAKE SURE IT IS IN YOUR PATH!

:END

"\r
Outputs="gstmarshal.tmp"
/>
</FileConfiguration>