configure.ac: Fix build of the RTP plugin with mingw32 by linking to ws2_32 for htons() and htonl(). Fixes bug #541412.

Original commit message from CVS:
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Fix build of the RTP plugin with mingw32 by linking to ws2_32
for htons() and htonl(). Fixes bug #541412.
This commit is contained in:
Damien Lespiau 2008-07-03 19:27:53 +00:00 committed by Sebastian Dröge
parent 33e0d064a5
commit 8201ab92ad
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2008-07-03 Sebastian Dröge <sebastian.droege@collabora.co.uk>
Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
* configure.ac:
Fix build of the RTP plugin with mingw32 by linking to ws2_32
for htons() and htonl(). Fixes bug #541412.
2008-07-02 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init),

View file

@ -144,7 +144,7 @@ AX_CREATE_STDINT_H
dnl used in gst/rtp/gstasteriskh263.c
AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([winsock2.h])
AC_CHECK_HEADERS([winsock2.h], HAVE_WINSOCK2_H=yes)
AM_CONDITIONAL(HAVE_WINSOCK2_H, test "x$HAVE_WINSOCK2_H" = "xyes")
dnl used in gst/udp