]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix OpenSSL detection when an explicit path is given
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 8 Apr 2014 13:09:47 +0000 (06:09 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 8 Apr 2014 13:09:47 +0000 (06:09 -0700)
commit84c3fc14f6b41c7fb8ae1732921efed0df3eee26
treeba1dad1feab1a6232c1355e2c786a3df3d6742d5
parent7f175a76575c9cf16ab60128caaad054cee59437
Fix OpenSSL detection when an explicit path is given

The previous OpenSSL detection was skipping the library checks when an
explicit path was presented. Resulting in no -lssl flag being passed to
the linker.

Rational for this fix:
 pkg-config presents location-neutral details.

 The explicit checks are likewise neutral provided the LIBS environment
  variable has been set with the explicit path.

 User presented path must be used regardless of which the library checks
  are used in detection.

So...

 Always perform the checks with optionally set LIBS and keep the
 user provided path explicitly separate from the pkg-config *_LIBS
 variable. Only assemble the parts into SSLLIB once all have been
 identified.
configure.ac