mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
configure: also check for platform socket headers needed by curlsink element
This commit is contained in:
parent
eb5b3be384
commit
1fe9c8c8ae
1 changed files with 7 additions and 1 deletions
|
@ -656,7 +656,13 @@ AG_GST_CHECK_FEATURE(COG, [Cog plugin], cog, [
|
|||
dnl *** Curl ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_CURL, true)
|
||||
AG_GST_CHECK_FEATURE(CURL, [Curl plugin], curl, [
|
||||
PKG_CHECK_MODULES(CURL, libcurl >= 7.21.0, HAVE_CURL="yes", [
|
||||
PKG_CHECK_MODULES(CURL, libcurl >= 7.21.0, [
|
||||
HAVE_CURL="yes"
|
||||
AC_CHECK_HEADERS([unistd.h sys/socket.h sys/types.h netinet/in.h netinet/ip.h netinet/tcp.h fcntl.h],
|
||||
[ ], [HAVE_CURL="no"])
|
||||
AC_MSG_CHECKING([for socket support needed by curlsink])
|
||||
AC_MSG_RESULT($HAVE_CURL)
|
||||
], [
|
||||
HAVE_CURL="no"
|
||||
AC_MSG_RESULT(no)
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue