From 8201ab92ad1f8fbf3e9a56bbb18c8658cb245575 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 3 Jul 2008 19:27:53 +0000 Subject: [PATCH] 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 * configure.ac: Fix build of the RTP plugin with mingw32 by linking to ws2_32 for htons() and htonl(). Fixes bug #541412. --- ChangeLog | 8 ++++++++ configure.ac | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c7270961d..99c487eb08 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-07-03 Sebastian Dröge + + Patch by: Damien Lespiau + + * 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 * gst/matroska/matroska-demux.c: (gst_matroska_demux_class_init), diff --git a/configure.ac b/configure.ac index 3a0377309c..86be40353a 100644 --- a/configure.ac +++ b/configure.ac @@ -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