]> git.ipfire.org Git - thirdparty/squid.git/commit - test-suite/buildtests/layer-01-minimal.opts
Improve LDAP library detection (#1148)
authorAmos Jeffries <yadij@users.noreply.github.com>
Sat, 24 Sep 2022 11:52:35 +0000 (11:52 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 24 Sep 2022 13:53:27 +0000 (13:53 +0000)
commit0d57ed2e8fd8a9721e7577e4deeb2a486972db9a
tree726e66254ad4daa05cdbff3edcf6d112de8d5ffd
parent59eac9076ef5d35faf306c4614872c2f2beef62c
Improve LDAP library detection (#1148)

Add --with-ldap and pkg-config support to speed up Squid builds
where LDAP is not to be used. This also adds support for custom
LDAP library locations like other --with-foo options.

'pkg-config --libs ldap' finds both -lldap and -llber. Stop using
different variables for them in Makefile.am.

Extract LDAP API tests into simpler dedicated macros and stop
polluting LIBS when running LDAP tests.
12 files changed:
acinclude/ldap.m4 [new file with mode: 0644]
configure.ac
doc/release-notes/release-5.sgml
src/acl/external/LDAP_group/Makefile.am
src/acl/external/eDirectory_userip/Makefile.am
src/acl/external/kerberos_ldap_group/Makefile.am
src/auth/basic/LDAP/Makefile.am
src/auth/digest/LDAP/Makefile.am
src/auth/digest/eDirectory/Makefile.am
test-suite/buildtests/layer-01-minimal.opts
test-suite/buildtests/layer-02-maximus.opts
test-suite/buildtests/layer-04-noauth-everything.opts