aboutsummaryrefslogtreecommitdiffstats
path: root/wombat/wombat.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@src.gnome.org>2000-04-12 08:58:20 +0800
committerChris Toshok <toshok@src.gnome.org>2000-04-12 08:58:20 +0800
commitcce829e8a4730b293dc7fbd729b0b5775e48ba22 (patch)
tree4eae046a3d63dfd901976d2cc5b94ac0f50e0e7e /wombat/wombat.c
parentbed92671a3bbbd0264fa75d54779659922b81276 (diff)
downloadgsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.tar
gsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.tar.gz
gsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.tar.bz2
gsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.tar.lz
gsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.tar.xz
gsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.tar.zst
gsoc2013-evolution-cce829e8a4730b293dc7fbd729b0b5775e48ba22.zip
add LDAP_LIBS here.
* wombat/Makefile.am (wombat_LDADD): add LDAP_LIBS here. * configure.in: check for -lldap and -llber and if both are present include ldap support in the pas/wombat. * addressbook/backend/pas/Makefile.am (libpas_la_SOURCES): include pas-backend.ldap.c if ENABLE_LDAP. * addressbook/backend/pas/pas-backend-ldap.c: get searching working (converting between the sexp and ldap stuff.) * wombat/wombat.c (setup_pas): register the ldap pas backend if HAVE_LDAP is defined. svn path=/trunk/; revision=2401
Diffstat (limited to 'wombat/wombat.c')
-rw-r--r--wombat/wombat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/wombat/wombat.c b/wombat/wombat.c
index 5e4ad25173..989df9b484 100644
--- a/wombat/wombat.c
+++ b/wombat/wombat.c
@@ -9,6 +9,9 @@
#include <bonobo.h>
#include <pas-book-factory.h>
#include <pas-backend-file.h>
+#ifdef HAVE_LDAP
+#include <pas-backend-ldap.h>
+#endif
#include <libgnomevfs/gnome-vfs-init.h>
#include <libgnorba/gnorba.h>
#include <cal-factory.h>
@@ -27,6 +30,11 @@ setup_pas (int argc, char **argv)
pas_book_factory_register_backend (
factory, "file", pas_backend_file_new);
+#ifdef HAVE_LDAP
+ pas_book_factory_register_backend (
+ factory, "ldap", pas_backend_ldap_new);
+#endif
+
pas_book_factory_activate (factory);
}