? plugins-good.patch
? gst/rtsp/libgstrtsp_la-rtspconnection.loT
Index: configure.ac
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/configure.ac,v
retrieving revision 1.598
diff -a -u -r1.598 configure.ac
--- configure.ac	14 Oct 2005 12:43:30 -0000	1.598
+++ configure.ac	14 Oct 2005 16:30:38 -0000
@@ -95,6 +95,16 @@
 dnl Check for FIONREAD ioctl declaration :
 GST_CHECK_FIONREAD()
 
+dnl HAVE_WIN32 currently means "disable POSIXisms".
+case "$host" in
+  *-*-mingw*)
+    AC_DEFINE_UNQUOTED(HAVE_WIN32, 1, [Defined if compiling for Windows])
+    HAVE_WIN32=yes
+    ;;
+  *)
+    ;;
+esac
+
 DEFAULT_AUDIOSINK="autoaudiosink"
 DEFAULT_VIDEOSINK="autovideosink"
 DEFAULT_AUDIOSRC="alsasrc"
@@ -276,15 +286,20 @@
 		law \
 		level \
 		matroska \
-		rtp	\
-		rtsp	\
+		rtp \
 		smpte	\
-		udp     \
 		videobox \
 		wavenc \
 		wavparse \
                 "
 
+dnl Check if we can build plugins that depend on POSIX
+if test "x$HAVE_WIN32" != "xyes"; then
+  GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtsp udp"
+else
+  AC_MSG_WARN([Not compiling plug-ins requiring POSIX])
+fi
+
 AC_SUBST(GST_PLUGINS_ALL)
 
 GST_PLUGINS_SELECTED=""
