ref: 0a543c4c27a94cb4c19d4052c4071909b3717039
parent: d8d9aecbf3ffafe7c06f47951be18e8df4b9021b
author: Martin Meszaros <meszaros@hft-leipzig.de>
date: Fri Oct 27 14:17:10 EDT 2017
opusrtp: Allow usage of winpcap on Windows Signed-off-by: Mark Harris <mark.hsj@gmail.com>
--- a/configure.ac
+++ b/configure.ac
@@ -229,6 +229,13 @@
AC_DEFINE([HAVE_PCAP], 1, [Define if building with libpcap support])
LIBPCAP="-lpcap"
])
+
+dnl check for wpcap
+AC_CHECK_LIB(wpcap, pcap_open_live, [
+ AC_DEFINE([HAVE_PCAP], 1, [Define if building with libwpcap support])
+ LIBPCAP="-lwpcap"
+])
+
AC_SUBST(LIBPCAP)
on_x86=no
@@ -358,4 +365,3 @@
Type "make; make install" to compile and install
])
-