openbsd-ports/net/ngrep/patches/patch-aa

23 lines
584 B
Plaintext
Raw Normal View History

1999-06-28 10:27:19 -04:00
--- configure.in-orig Mon Jun 28 10:14:44 1999
+++ configure.in Mon Jun 28 10:15:49 1999
@@ -37,19 +37,6 @@
AC_CHECK_HEADER(net/bpf.h,,echo need bpf header; exit)
fi
1999-06-23 00:16:21 -04:00
1999-06-28 10:27:19 -04:00
-AC_MSG_CHECKING(for old version of bpf.h)
-if test -z "$pcapdir"; then
- dir="/usr/include";
-else
- dir="$pcapdir";
-fi
-
-if test -z "`grep 'DLT_RAW' $dir/net/bpf.h 2>/dev/null`"; then
- echo yup, upgrade pcap to at least 0.3; exit
-else
- echo nope, good
-fi
-
AC_CHECK_LIB(pcap, pcap_open_live,,echo need pcap lib; exit)
1999-06-23 00:16:21 -04:00
1999-06-28 10:27:19 -04:00
AC_CHECK_LIB(pcap, pcap_restart, AC_DEFINE(PCAP_RESTART,pcap_restart),