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
This commit is contained in:
Thomas Vander Stichele 2005-11-03 09:31:30 +00:00
parent d4ccd2c79b
commit 1fd8c9981e
2 changed files with 14 additions and 3 deletions

View file

@ -79,7 +79,6 @@ GST_PLUGINS_ALL="\
ffmpegcolorspace \ ffmpegcolorspace \
playback \ playback \
sine \ sine \
tcp \
typefind \ typefind \
videotestsrc \ videotestsrc \
videorate \ 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") AC_CHECK_HEADERS([regex.h], HAVE_REGEX_H="yes", HAVE_REGEX_H="no")
AM_CONDITIONAL(HAVE_REGEX_H, test "x$HAVE_REGEX_H" = "xyes") 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 dnl ffmpegcolorspace includes _stdint.h
AX_CREATE_STDINT_H AX_CREATE_STDINT_H

View file

@ -4,5 +4,11 @@ else
SUBPARSE = SUBPARSE =
endif endif
SUBDIRS = $(GST_PLUGINS_SELECTED) $(SUBPARSE) if HAVE_SYS_SOCKET_H
DIST_SUBDIRS = $(GST_PLUGINS_ALL) subparse TCP = tcp
else
TCP =
endif
SUBDIRS = $(GST_PLUGINS_SELECTED) $(SUBPARSE) $(TCP)
DIST_SUBDIRS = $(GST_PLUGINS_ALL) subparse tcp