diff options
author | Damien Lespiau <damien.lespiau@gmail.com> | 2008-07-03 19:27:53 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-07-03 19:27:53 +0000 |
commit | 8201ab92ad1f8fbf3e9a56bbb18c8658cb245575 (patch) | |
tree | 8bb2279a9301c160c2c093d1edf61d282222e027 | |
parent | 33e0d064a5c223bc4c39e7861e22c77e2b0da5fd (diff) |
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -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), diff --git a/configure.ac b/configure.ac index 3a037730..86be4035 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 |