diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-26 13:30:26 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-26 13:30:26 +0000 |
commit | 5edbbc1808537781790c0641ef7071f98aa81d1c (patch) | |
tree | f27065736d20f76654f4b984f3833c8c38eabefd /source3 | |
parent | 0eff00c69225d106b827efed73e21d3538e72e0e (diff) | |
download | samba-5edbbc1808537781790c0641ef7071f98aa81d1c.tar.gz samba-5edbbc1808537781790c0641ef7071f98aa81d1c.tar.bz2 samba-5edbbc1808537781790c0641ef7071f98aa81d1c.zip |
Fix $LDAP_LIBS
(This used to be commit af98285f4e4fc4a0e890fed2c71b09280252b3f4)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in index cc67efbb90..16f2330e3d 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -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"]) |