]> The Tcpdump Group git mirrors - tcpdump/commit
Make sure we can link with libpcap.
authorGuy Harris <[email protected]>
Sun, 14 Nov 2010 20:23:40 +0000 (12:23 -0800)
committerGuy Harris <[email protected]>
Sun, 14 Nov 2010 20:24:27 +0000 (12:24 -0800)
commit10dd5e6486f845ce3b9e7b0ab12fea728abf445d
treecc007fb6eda26b69b7176e8200c18bde120e0f32
parenta9a7c86c7875a38358a9ff1f2a35e93febf6f41e
Make sure we can link with libpcap.

After finding libpcap and getting a list of other flags needed when
linking, we check for "pcap_loop()", to make sure we found a working
libpcap and have all the right other libraries with which dnl to link.
(Otherwise, for example, the check for pcap_list_datalinks() will fail,
not because the routines are missing from the library, but because we
aren't linking properly with libpcap, and that will cause confusing
errors at build time.)
aclocal.m4
configure