summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-31 11:15:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-09 16:59:47 +0200
commita4b698cdd9b974ecf53e7d90aa989b350ca4cec0 (patch)
tree215874c2542d8ee8426cc2c87ed46f06a0b6b5dc
parent43963c96cf38e7ec5b895ce02e6ea121272b96e1 (diff)
downloadsssd-a4b698cdd9b974ecf53e7d90aa989b350ca4cec0.tar.gz
sssd-a4b698cdd9b974ecf53e7d90aa989b350ca4cec0.tar.xz
sssd-a4b698cdd9b974ecf53e7d90aa989b350ca4cec0.zip
AUTOTOOLS: Add directories for searching ldap headers and libs
-rw-r--r--src/external/ldap.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/src/external/ldap.m4 b/src/external/ldap.m4
index 8899df9d7..3a99ddfcc 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;