diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-05-03 05:40:00 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-05-03 05:40:00 +0800 |
commit | 3b5e5c0787e3220391cb7b8eba5d4e4a41156f7d (patch) | |
tree | 9e89f360bdcb02d8d71690f34d71686c2ade1e2a /configure.in | |
parent | 7e7c5f098b96334561a156f5997a6f7c41e3952a (diff) | |
download | gsoc2013-evolution-3b5e5c0787e3220391cb7b8eba5d4e4a41156f7d.tar.gz gsoc2013-evolution-3b5e5c0787e3220391cb7b8eba5d4e4a41156f7d.tar.zst gsoc2013-evolution-3b5e5c0787e3220391cb7b8eba5d4e4a41156f7d.zip |
configure.in: Fix compilation with modern openldap releases. Partially
2006-05-02 Kjartan Maraas <kmaraas@gnome.org>
configure.in: Fix compilation with modern openldap releases.
Partially fixes bug #325957. Patch from Sushuma Rai.
svn path=/trunk/; revision=31948
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 1777c5017a..4584d2efda 100644 --- a/configure.in +++ b/configure.in @@ -424,8 +424,18 @@ no) ;; esac esac + +SAVE_CFLAGS="$CFLAGS" +SAVE_LIBS="$LIBS" +LDAP_CFLAGS="-DLDAP_DEPRECATED" +CFLAGS="$CFLAGS $LDAP_CFLAGS" +LIBS="$LIBS $LDAP_LIBS" +AC_CHECK_FUNCS(ldap_ntlm_bind) +CFLAGS="$SAVE_CFLAGS" +LIBS="$SAVE_LIBS" + else # Win32 -LDAP_CFLAGS="" +LDAP_CFLAGS="-DLDAP_DEPRECATED" LDAP_LIBS="-lwldap32" AC_SUBST(LDAP_CFLAGS) AC_SUBST(LDAP_LIBS) |