win32: fix configure logic for GST_INSTALL_PLUGINS_HELPER define
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 6 Mar 2009 10:30:28 +0000 (10:30 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 6 Mar 2009 10:31:07 +0000 (10:31 +0000)
configure.ac
win32/common/config.h

index 2546d4d495421f43e6e1fb27484613f4f596650c..af482a65c66edc23f905d40ddd1858a9d322cd18 100644 (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/' \
index 9c68bba152900dcd561d0fe6b3f6c59a41db27cf..1311f0dbfb972a5a1a5f2f3bad49244648b7861c 100644 (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