Fix AC_ETHEREAL_PCAP_CHECK so that, if a directory was specified with
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 27 Jul 2001 07:10:13 +0000 (07:10 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 27 Jul 2001 07:10:13 +0000 (07:10 +0000)
commit2e77e9f6a9c96d4d3b7d8092559f780a9717ca1d
tree6d5aa5edb5aaad7e07f1853e98ac346fe7877faf
parentd70a7f137fe64c4b549bc3d710429a70980763ee
Fix AC_ETHEREAL_PCAP_CHECK so that, if a directory was specified with
"--with-pcap", it adds the "include" subdirectory of that directory to
the list of directories to search for include files, rather than adding
the directory itself.

Check whether libpcap defines "pcap_version", and define
HAVE_PCAP_VERSION if it does.  Use "pcap_version" iff HAVE_PCAP_VERSION
is defined, rather than special-casing MacOS X.

Don't #define a string for the WinPcap version; just leave
HAVE_PCAP_VERSION undefined on Windows, as WinPcap 2.2beta is out, so we
can no longer assume that the Windows version of Ethereal is using
WinPcap 2.1.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3792 f5534014-38df-0310-8fa8-9805f1628bb7
acconfig.h
acinclude.m4
config.h.win32
configure.in
gtk/main.c
tethereal.c
wiretap/acinclude.m4