]> The Tcpdump Group git mirrors - tcpdump/commit
Try the pcap_dump_ftell() check after pcap-config.
authorDenis Ovsienko <[email protected]>
Sat, 28 Jul 2018 19:07:13 +0000 (20:07 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 28 Jul 2018 19:48:16 +0000 (20:48 +0100)
commit9b1c2ba51b6dbc57af17c8c054ff8b55486d674c
tree7edfa70b627b694e2594495954496d933220517d
parent40e217a816cee20d4aa92f5d06d7ad5d4acc4050
Try the pcap_dump_ftell() check after pcap-config.

Apparently, the test for pcap_dump_ftell() cannot succeed if the test
program isn't linked with libpcap, this depending on the output of
pcap-config. That's why all pcap_* function checks come after the
pcap-config check.

This explains why in my working copy a ./configure build of the previous
commit tree with the master branch of libpcap found that the function
was "missing" and tried to substitute it with the local implementation
and eventually failed trying to link with libpcap that actually had the
function.

However, this does not explain why all 32 Travis CI builds of the same
tree passed, including the builds that used autotools.
configure
configure.ac