]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ldap: Add default hombrew paths for libldap
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 Oct 2021 19:54:36 +0000 (14:54 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 14 Oct 2021 21:49:01 +0000 (16:49 -0500)
src/lib/ldap/configure
src/lib/ldap/configure.ac

index 190752455f2506ee61bf7cfe28c2011488c16f20..4b81c6712e92b48aa71854546d06f12a038544cb 100755 (executable)
@@ -3320,7 +3320,7 @@ fi
                                CFLAGS="-DLDAP_DEPRECATED=1 ${CFLAGS}"
 
 
-                                               smart_try_dir=$libfreeradius_ldap_lib_dir
+                                               smart_try_dir="$libfreeradius_ldap_lib_dir /usr/local/opt/openldap/lib"
 
 
 
@@ -3685,7 +3685,7 @@ fi
        fi
 
 
-       smart_try_dir=$libfreeradius_ldap_include_dir
+       smart_try_dir="$libfreeradius_ldap_include_dir /usr/local/opt/openldap/include"
 
 
 ac_safe=`echo "ldap.h" | sed 'y%./+-%__pm%'`
index 79dfd44ee8112957f195069bde244e4c6d7574b9..a77d2ebf704d18b17b9b4f3a087171fbd56734f0 100644 (file)
@@ -82,7 +82,7 @@ if test x$with_[]modname_useropt != xno; then
        dnl #  exports OpenLDAP specific functions to managing async
        dnl #  I/O.
        dnl # 
-       smart_try_dir=$libfreeradius_ldap_lib_dir
+       smart_try_dir="$libfreeradius_ldap_lib_dir /usr/local/opt/openldap/lib"
        FR_SMART_CHECK_LIB(ldap, ldap_install_tls)
        if test "x$ac_cv_lib_ldap_ldap_install_tls" != "xyes"; then
                fail="$fail libldap (with async support)"
@@ -97,7 +97,7 @@ if test x$with_[]modname_useropt != xno; then
        dnl # Check for header files
        dnl ############################################################
 
-       smart_try_dir=$libfreeradius_ldap_include_dir
+       smart_try_dir="$libfreeradius_ldap_include_dir /usr/local/opt/openldap/include"
        FR_SMART_CHECK_INCLUDE(ldap.h)
        if test "$ac_cv_header_ldap_h" != "yes"; then
          fail="$fail ldap.h"