mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
configure.ac: Don't compile rfbsource if we don't have sys/socket.h.
Original commit message from CVS: * configure.ac: Don't compile rfbsource if we don't have sys/socket.h. Should fix compilation on MingW.
This commit is contained in:
parent
a59bef232b
commit
289b30d543
2 changed files with 17 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* configure.ac:
|
||||||
|
Don't compile rfbsource if we don't have sys/socket.h.
|
||||||
|
Should fix compilation on MingW.
|
||||||
|
|
||||||
2007-01-04 Thomas Vander Stichele <thomas at apestaart dot org>
|
2007-01-04 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
11
configure.ac
11
configure.ac
|
@ -231,6 +231,17 @@ if test "x$HAVE_CPU_I386" != "xyes" || test "xHAVE_CPU_X86_64" = "xyes"; then
|
||||||
AC_MSG_WARN([Not building real plugin, only works on 32bit x86 platforms])
|
AC_MSG_WARN([Not building real plugin, only works on 32bit x86 platforms])
|
||||||
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | sed 's/real//g'`
|
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | sed 's/real//g'`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl disable gst plugins we might not be able to build on this
|
||||||
|
dnl platform: librfb (ugly but minimally invasive)
|
||||||
|
dnl FIXME: maybe move to sys, or make work with winsock2
|
||||||
|
AC_CHECK_HEADERS([sys/socket.h], HAVE_SYS_SOCKET_H=yes)
|
||||||
|
AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)
|
||||||
|
|
||||||
|
if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
|
||||||
|
GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/librfb//`
|
||||||
|
fi
|
||||||
|
|
||||||
AC_SUBST(GST_PLUGINS_SELECTED)
|
AC_SUBST(GST_PLUGINS_SELECTED)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue