tcp elements need some system headers like sys/socket.h

Original commit message from CVS:

* configure.ac:
* gst/Makefile.am:
tcp elements need some system headers like sys/socket.h
parent d4ccd2c7
......@@ -79,7 +79,6 @@ GST_PLUGINS_ALL="\
ffmpegcolorspace \
playback \
sine \
tcp \
typefind \
videotestsrc \
videorate \
......@@ -165,6 +164,12 @@ dnl used in gst/subparse/gstsubparse.c
AC_CHECK_HEADERS([regex.h], HAVE_REGEX_H="yes", HAVE_REGEX_H="no")
AM_CONDITIONAL(HAVE_REGEX_H, test "x$HAVE_REGEX_H" = "xyes")
dnl used in gst/tcp
AC_CHECK_HEADERS([sys/socket.h],
HAVE_SYS_SOCKET_H="yes", HAVE_SYS_SOCKET_H="no")
AM_CONDITIONAL(HAVE_SYS_SOCKET_H, test "x$HAVE_SYS_SOCKET_H" = "xyes")
dnl ffmpegcolorspace includes _stdint.h
AX_CREATE_STDINT_H
......
......@@ -4,5 +4,11 @@ else
SUBPARSE =
endif
SUBDIRS = $(GST_PLUGINS_SELECTED) $(SUBPARSE)
DIST_SUBDIRS = $(GST_PLUGINS_ALL) subparse
if HAVE_SYS_SOCKET_H
TCP = tcp
else
TCP =
endif
SUBDIRS = $(GST_PLUGINS_SELECTED) $(SUBPARSE) $(TCP)
DIST_SUBDIRS = $(GST_PLUGINS_ALL) subparse tcp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment