win32: fix configure logic for GST_INSTALL_PLUGINS_HELPER define

This commit is contained in:
Tim-Philipp Müller 2009-03-06 10:30:28 +00:00
parent 112aac3bde
commit aecf35b00b
2 changed files with 3 additions and 4 deletions

View file

@ -808,7 +808,8 @@ m4/Makefile
dnl Create the config.h file for Visual Studio builds
dnl Beware of spaces and /'s in some of the shell variable contents.
sed \
-e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"\n\n#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
-e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
-e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
-e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
-e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
-e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \

View file

@ -3,8 +3,6 @@
/* PREFIX -- specifically added for Windows for easier moving */
#define PREFIX "C:\\gstreamer"
#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\libexec\\gst-install-plugins-helper.exe"
/* The implementation that should be used for integer audio resampling witll
be benchmarked at runtime */
#undef AUDIORESAMPLE_FORMAT_AUTO
@ -56,7 +54,7 @@
#undef GST_GCOV_ENABLED
/* plugin install helper script */
#undef GST_INSTALL_PLUGINS_HELPER
#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\libexec\\gst-install-plugins-helper.exe"
/* Default errorlevel to use */
#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR