On Thu, Sep 10, 2015 at 06:52:44PM +0300, Maxim Uvarov wrote:
> On 09/10/15 14:53, Stuart Haslam wrote:
> >+#########################################################################
> >> >+# Check for libpcap availability
> >> >+#########################################################################
> >> >+have_pcap=no
> >> >+AC_CHECK_HEADER(pcap/pcap.h,
> >> >+    [AC_CHECK_HEADER(pcap/bpf.h,
> >> >+        [AC_CHECK_LIB(pcap, pcap_open_offline, have_pcap=yes, [])],
> >> >+    [])],
> >> >+[])
> >> >+
> >> >+AM_CONDITIONAL([HAVE_PCAP], [test $have_pcap = yes])
> >> >+if test $have_pcap == yes; then
> >> >+    AM_CFLAGS="$AM_CFLAGS -DHAVE_PCAP"
> >> >+    LIBS="$LIBS -lpcap"
> >> >+fi
> please move that to pcap.m4 as all others checks.
> 
> Maxim.

OK - the others didn't exist when I initially made this change.

-- 
Stuart.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to