>From beb84b3339a79de8f0f4a57b2e61642542b0e4ef Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 31 Aug 2013 11:15:03 +0200 Subject: [PATCH 7/9] AUTOTOOLS: Add directories for searching ldap headers and libs --- src/external/ldap.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/external/ldap.m4 b/src/external/ldap.m4 index 8899df9d7c73dae25b97347022651d768986333e..3a99ddfcc7e7ebee94272d382e2876ec8649770a 100644 --- a/src/external/ldap.m4 +++ b/src/external/ldap.m4 @@ -9,14 +9,14 @@ dnl --------------------------------------------------------------------------- dnl - Check for Mozilla LDAP or OpenLDAP SDK dnl --------------------------------------------------------------------------- -for p in /usr/include/openldap24; do +for p in /usr/include/openldap24 /usr/local/include; do if test -f "${p}/ldap.h"; then OPENLDAP_CFLAGS="${OPENLDAP_CFLAGS} -I${p}" break; fi done -for p in /usr/lib64/openldap24 /usr/lib/openldap24; do +for p in /usr/lib64/openldap24 /usr/lib/openldap24 /usr/local/lib ; do if test -f "${p}/libldap.so"; then OPENLDAP_LIBS="${OPENLDAP_LIBS} -L${p}" break; -- 1.8.3.1