diff -ru libnet/configure.in libnet+iPhone/configure.in --- libnet/configure.in 2004-03-01 20:26:11.000000000 +0000 +++ libnet+iPhone/configure.in 2009-01-20 21:52:24.000000000 +0000 @@ -67,44 +67,8 @@ dnl AC_MSG_CHECKING(link-layer packet interface type) -if test -r /dev/bpf0 ; then AC_LIBOBJ([libnet_link_bpf]) AC_MSG_RESULT(found bpf) -elif test -r /usr/include/net/pfilt.h ; then - AC_LIBOBJ([libnet_link_pf]) - AC_MSG_RESULT(found pf) -elif test -r /dev/nit ; then - AC_LIBOBJ([libnet_link_snit]) - AC_MSG_RESULT(found snit) -elif test -r /usr/include/sys/net/nit.h ; then - AC_LIBOBJ([libnet_link_nit]) - AC_MSG_RESULT(found nit) -elif test -r /usr/include/net/raw.h ; then - AC_LIBOBJ([libnet_link_snoop]) - AC_MSG_RESULT(found snoop) -elif test -r /usr/include/sys/dlpi.h ; then - AC_LIBOBJ([libnet_link_dlpi]) - AC_MSG_RESULT(found dlpi) - AC_DEFINE(HAVE_DLPI) -elif test -r /usr/include/linux/socket.h ; then - AC_LIBOBJ([libnet_link_linux]) - AC_MSG_RESULT(found linux primitives) - AC_LIBNET_CHECK_PF_PACKET - AC_LIBNET_LINUX_PROCFS -elif test -c /dev/bpf0 ; then # check again in case not readable - AC_LIBOBJ([libnet_link_bpf]) - AC_MSG_RESULT(found bpf) -elif test -c /dev/nit ; then # check again in case not readable - AC_LIBOBJ([libnet_link_snit]) - AC_MSG_RESULT(found snit) -elif test "$target_os" = "cygwin" ; then - AC_LIBOBJ([libnet_link_win32]) - AC_MSG_RESULT(found win32 wpcap) -else - AC_LIBOBJ([libnet_link_none]) - AC_MSG_WARN(could not find a link-layer packet interface) - AC_MSG_WARN(link-layer packet injection will not be available) -fi dnl dnl Inform user about the packet builders we've got