Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
tcp elements need some system headers like sys/socket.h
ffmpegcolorspace \
playback \
sine \
- tcp \
typefind \
videotestsrc \
videorate \
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
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