2010-12-10 15:10:38 +00:00
|
|
|
--- a/configure.in
|
|
|
|
+++ b/configure.in
|
2013-11-10 18:07:16 +00:00
|
|
|
@@ -67,7 +67,10 @@ dnl Get link-layer interface type
|
2007-04-01 16:48:05 +00:00
|
|
|
dnl
|
|
|
|
AC_MSG_CHECKING(link-layer packet interface type)
|
|
|
|
|
|
|
|
-if test -r /dev/bpf0 ; then
|
|
|
|
+if test -n "$LL_INT_TYPE"; then
|
|
|
|
+ AC_LIBOBJ($LL_INT_TYPE)
|
|
|
|
+ AC_MSG_RESULT(found $LL_INT_TYPE (cached))
|
|
|
|
+elif test -r /dev/bpf0 ; then
|
|
|
|
AC_LIBOBJ([libnet_link_bpf])
|
|
|
|
AC_MSG_RESULT(found bpf)
|
|
|
|
elif test -r /usr/include/net/pfilt.h ; then
|