]> The Tcpdump Group git mirrors - tcpdump/commit
configure: use pcap-config --static-pcap-only if available.
authorGuy Harris <[email protected]>
Fri, 30 Sep 2022 23:29:34 +0000 (16:29 -0700)
committerGuy Harris <[email protected]>
Fri, 30 Sep 2022 23:29:34 +0000 (16:29 -0700)
commit2a6eaf16e165c292ed2ec11745e45a7c984497da
treed5ce71c1fca8b62441406b7121905d2825407cf7
parente91ca695c357896157e69466366b86e299139263
configure: use pcap-config --static-pcap-only if available.

If we're linking with a libpcap in ../libpcap*, it's static, but we only
need to link with the libraries on wich it immediately depends, we don't
need to link with the libraries on which those libraries depend, etc..

So, if ../libpcap*/pcap-config supports --static-pcap-only, use that.
aclocal.m4
configure