From fe9e680169e3e04ca98cebdf41f771310591d329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Thu, 26 Mar 2009 11:23:30 +0100 Subject: dccp: Disable the dccp plugin if no pthread support is available Partially fixes bug #573595. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index 245e3e87..8dcf9cc4 100644 --- a/configure.ac +++ b/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 -- cgit v1.2.1