]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup cppunit detection and use
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Jun 2016 06:22:55 +0000 (18:22 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Jun 2016 06:22:55 +0000 (18:22 +1200)
commit459011abac01875851e1fe1e306fcf556b095bcb
tree4074c811bf2707a5b77452a8f4e88207de462e28
parent2e6046b6961fab5c67f2676a8fe817bce32b32d6
parentd93bf05583c90f27c3284a48325f728f08f91f72
Cleanup cppunit detection and use

The cppunit-config tool has apparently been replaced by pkg-config .pc
file years ago and is now in the process of being removed from some OS.
Notably Fedora.

Which means our present way of detecting it for use by "make check" will
increasingly fail.

This converts configure.ac to using the pkg-config method of detection
and updates the --with-cppunit-basedir parameter to --without-cppunit
matching our naming and usage scheme for other similar options. If a
=PATH is explicitly provided cppunit is assumed to exist at that
location without configure-time checking.