mirror of
https://github.com/samba-team/samba.git
synced 2025-01-17 02:05:21 +03:00
Fix $LDAP_LIBS
(This used to be commit af98285f4e4fc4a0e890fed2c71b09280252b3f4)
This commit is contained in:
parent
0eff00c692
commit
5edbbc1808
@ -2241,12 +2241,12 @@ if test x"$with_ldap_support" = x"yes"; then
|
||||
##################################################################
|
||||
# we might need the lber lib on some systems. To avoid link errors
|
||||
# this test must be before the libldap test
|
||||
AC_CHECK_LIB(lber, ber_scanf, [LDAP_LIBS="$LIBS -llber"])
|
||||
AC_CHECK_LIB(lber, ber_scanf, [LDAP_LIBS="$LDAP_LIBS -llber"])
|
||||
|
||||
########################################################
|
||||
# now see if we can find the ldap libs in standard paths
|
||||
if test x$have_ldap != xyes; then
|
||||
AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LDAP_LIBS="$LIBS -lldap";
|
||||
AC_CHECK_LIB(ldap, ldap_domain2hostlist, [LDAP_LIBS="$LDAP_LIBS -lldap";
|
||||
AC_DEFINE(HAVE_LDAP,1,[Whether ldap is available])])
|
||||
AC_CHECK_HEADERS([ldap.h lber.h], [default_modules="$default_modules pdb_ldap"])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user