mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
configure.ac: Don't compile udp and rtsp plugins on win32 (mingw) or other systems that don't have <sys/socket.h> for...
Original commit message from CVS: * configure.ac: Don't compile udp and rtsp plugins on win32 (mingw) or other systems that don't have <sys/socket.h> for some reason (#316203).
This commit is contained in:
parent
ff2c5fd49c
commit
33daa1ef85
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-03-17 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* configure.ac:
|
||||
Don't compile udp and rtsp plugins on win32 (mingw) or other
|
||||
systems that don't have <sys/socket.h> for some reason (#316203).
|
||||
|
||||
2006-03-16 Zaheer Abbas Merali <zaheerabbas at merali dot org>
|
||||
|
||||
* ext/raw1394/gstdv1394src.c: (gst_dv1394src_bus_reset),
|
||||
|
|
12
configure.ac
12
configure.ac
|
@ -111,6 +111,18 @@ AC_ARG_WITH(plugins,
|
|||
done],
|
||||
[GST_PLUGINS_SELECTED=$GST_PLUGINS_ALL])
|
||||
|
||||
dnl disable gst plugins we might not be able to build on this
|
||||
dnl platform: udp and rtsp (ugly but minimally invasive)
|
||||
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
|
||||
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
|
||||
|
||||
if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
|
||||
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $(SED) -e s/udp//`
|
||||
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $(SED) -e s/rtsp//`
|
||||
GST_PLUGINS_NO="\tudp\n$GST_PLUGINS_NO"
|
||||
GST_PLUGINS_NO="\trtsp\n$GST_PLUGINS_NO"
|
||||
fi
|
||||
|
||||
AC_SUBST(GST_PLUGINS_SELECTED)
|
||||
|
||||
dnl ext plug-ins; plug-ins that have external dependencies
|
||||
|
|
Loading…
Reference in a new issue