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.gz
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);
}
ort of gqmpegoliver2005-01-127-107/+21 * - Update to 0.20.0pav2004-05-022-6/+8 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-2/+2 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Remove the USE_GNOMENG macro.marcus2003-04-081-1/+0 * De-pkg-comment.knu2003-02-212-1/+1 * Update to 0.19.0pat2003-01-112-3/+2 * Fix typo (DATATDIR -> DATADIR)pat2003-01-021-1/+1 * Fix things after recent GNOMENG conversion.marcus2002-09-201-2/+11 * Use USE_GNOMENG.marcus2002-08-311-6/+2 * Fix installation of message catalogs for WITH_GNOME=yes.naddy2002-07-262-0/+15 * Remove kludge and fix -lintl detection.naddy2002-07-192-4/+47 * Update to 0.17.0.naddy2002-07-184-19/+10 * Fix build on -CURRENT:sheldonh2002-06-271-0/+11 * upgrade to 0.16.0ijliao2002-06-232-2/+2 * Update to 0.15.0dwcjr2002-04-013-2/+68 * Update to 0.13.0pat2002-03-045-4/+5 * Update to 0.12.1pat2002-01-302-2/+2 * o Update to 0.12.0sf2002-01-214-5/+24 * o update to 0.11.0.sf2001-11-114-11/+30 * for slave portsijliao2001-10-221-2/+2 * use WANO_GNOME hook to unbreak non-gnome case.sf2001-08-312-3/+10 * GNOME Controlcenter is not needed. We only need GDK-pixbuf + GTK.ijliao2001-05-211-4/+5 * Various patches (mainly shared library revision changes) for thoseade2001-05-051-3/+3 * Update to 0.9.0clive2001-03-212-3/+2 * Add missing plist entry.clive2001-03-041-0/+1 * Update to 0.8.3clive2001-03-022-3/+3 * bump PORTREVISION; added extra LIB_DEPENDS.sf2001-01-291-0/+1 * add missing LIB_DEPENDS to gdk_pixbuf.sf2001-01-291-0/+1 * Fix broken site link.will2001-01-271-1/+1 * Update MASTER_SITES to sourceforge.clive2001-01-221-2/+2 * Maintainer change and close-prnakai2000-12-241-1/+1 * Update to 0.8.1nakai2000-12-247-67/+25 * Implement WANT_IMLIB and USE_IMLIB.reg2000-10-051-1/+1 * Update MASTER_SITES and WWW to fix fennerism.will2000-05-302-3/+3 * - Fix LIB_DEPENDS to actually used onevanilla2000-05-282-11/+20 * update with the new PORTNAME/PORTVERSION variablesmharo2000-04-091-2/+2 * remove extra `.' and space at end of WWW linemharo2000-02-241-2/+2 * Add mixer fixnakai2000-01-301-0/+11 * Change MAINTAINER address from nacai@iname.comnakai2000-01-071-1/+1 * Fix flaotingpoint error.vanilla1999-10-111-0/+18 * Use updated imlib library.nakai1999-10-08