From: Otto Moerbeek Date: Fri, 24 Jan 2025 15:05:55 +0000 (+0100) Subject: Refuse to setup if ldap is required but not found X-Git-Tag: dnsdist-2.0.0-alpha1~139^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afdf8c5a2d1bcffeca715a784733a4edd8616d67;p=thirdparty%2Fpdns.git Refuse to setup if ldap is required but not found --- diff --git a/meson/ldap/meson.build b/meson/ldap/meson.build index d7e637c14d..4a02110fb1 100644 --- a/meson/ldap/meson.build +++ b/meson/ldap/meson.build @@ -21,7 +21,10 @@ if get_option('module-ldap') != 'disabled' endif endif endif - + + if not dep_ldap_internal.found() + error('module-ldap enabled but libldap not found') + endif conf.set('HAVE_LIBLDAP', dep_ldap_internal.found(), description: 'Have libldap')