libv4l: mvoed to github
[packages.git] / libs / libnet-1.1.x / patches / 150-portability.patch
1 --- a/configure.in
2 +++ b/configure.in
3 @@ -67,7 +67,10 @@ dnl Get link-layer interface type
4  dnl
5  AC_MSG_CHECKING(link-layer packet interface type)
6  
7 -if test -r /dev/bpf0 ; then
8 +if test -n "$LL_INT_TYPE"; then
9 +       AC_LIBOBJ($LL_INT_TYPE)
10 +       AC_MSG_RESULT(found $LL_INT_TYPE (cached))
11 +elif test -r /dev/bpf0 ; then
12      AC_LIBOBJ([libnet_link_bpf])
13      AC_MSG_RESULT(found bpf)
14  elif test -r /usr/include/net/pfilt.h ; then