mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
dccp: Disable the dccp plugin if no pthread support is available
Partially fixes bug #573595.
This commit is contained in:
parent
6f62242c5f
commit
fe9e680169
1 changed files with 11 additions and 0 deletions
11
configure.ac
11
configure.ac
|
@ -142,6 +142,13 @@ AC_CHECK_HEADERS([sys/time.h])
|
|||
dnl used by ext/dts
|
||||
AX_CREATE_STDINT_H
|
||||
|
||||
AC_CHECK_HEADERS([pthread.h], HAVE_PTHREAD_H=yes)
|
||||
AM_CONDITIONAL(HAVE_PTHREAD_H, test "x$HAVE_PTHREAD_H" = "xyes")
|
||||
|
||||
if test "x$HAVE_PTHREAD_H" != "xyes"; then
|
||||
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/dccp//`
|
||||
fi
|
||||
|
||||
dnl *** checks for types/defines ***
|
||||
|
||||
dnl Check for FIONREAD ioctl declaration
|
||||
|
@ -322,6 +329,10 @@ if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
|
|||
AG_GST_DISABLE_PLUGIN(librfb)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_PTHREAD_H" != "xyes"; then
|
||||
AG_GST_DISABLE_PLUGIN(dccp)
|
||||
fi
|
||||
|
||||
dnl *** sys plug-ins ***
|
||||
|
||||
dnl check for QuickTime
|
||||
|
|
Loading…
Reference in a new issue