aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNotZed <NotZed@HelixCode.com>2000-02-23 04:59:30 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-02-23 04:59:30 +0800
commitfb1382a72560d365678011d75fb58e8998b054a2 (patch)
tree3d5688da9b226cfad744b44f5f706f3b7a9e7ab4
parent2a8de7c53dfed4beec4a51ba41160d45c1bffd8b (diff)
downloadgsoc2013-evolution-fb1382a72560d365678011d75fb58e8998b054a2.tar.gz
gsoc2013-evolution-fb1382a72560d365678011d75fb58e8998b054a2.tar.zst
gsoc2013-evolution-fb1382a72560d365678011d75fb58e8998b054a2.zip
Dont compile by default.
2000-02-22 NotZed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-search.c: Dont compile by default. * providers/mbox/Makefile.am: Fuck off the filter code. svn path=/trunk/; revision=1907
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/providers/mbox/Makefile.am3
-rw-r--r--camel/providers/mbox/camel-mbox-search.c12
3 files changed, 20 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 353c5243de..619c4743c3 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-22 NotZed <NotZed@HelixCode.com>
+
+ * providers/mbox/camel-mbox-search.c: Dont compile by default.
+
+ * providers/mbox/Makefile.am: Fuck off the filter code.
+
2000-02-22 bertrand <Bertrand.Guiheneuf@aful.org>
* camel-stream-b64.c (read_decode__static):
@@ -62,7 +68,6 @@
emit "data_available" when parent stream emits it.
-
2000-02-21 NotZed <NotZed@HelixCode.com>
* providers/mbox/Makefile.am: Uh, fixed LIBADD again. What was
diff --git a/camel/providers/mbox/Makefile.am b/camel/providers/mbox/Makefile.am
index f3d80606ae..13f09b9d7b 100644
--- a/camel/providers/mbox/Makefile.am
+++ b/camel/providers/mbox/Makefile.am
@@ -35,6 +35,7 @@ libcamelmboxinclude_HEADERS = \
libcamelmbox_la_LDFLAGS = -version-info 0:0:0 -rpath $(libdir)
-libcamelmbox_la_LIBADD = $(top_builddir)/filter/libfilter.la $(top_builddir)/libibex/libibex.la $(UNICODE_LIBS)
+#libcamelmbox_la_LIBADD = $(top_builddir)/filter/libfilter.la $(top_builddir)/libibex/libibex.la $(UNICODE_LIBS)
+libcamelmbox_la_LIBADD = $(top_builddir)/libibex/libibex.la $(UNICODE_LIBS)
EXTRA_DIST =
diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c
index af9f820780..70dac7741a 100644
--- a/camel/providers/mbox/camel-mbox-search.c
+++ b/camel/providers/mbox/camel-mbox-search.c
@@ -37,6 +37,8 @@
#include "camel-mbox-folder.h"
#include "camel-mbox-search.h"
+/* #define HAVE_FILTER */
+#ifdef HAVE_FILTER
#include "filter-sexp.h"
#define HAVE_IBEX
@@ -321,3 +323,13 @@ camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *expressi
return matches;
}
+
+#else /* HAVE_FILTER */
+
+GList *
+camel_mbox_folder_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex)
+{
+ return NULL;
+}
+
+#endif /*! HAVE_FILTER */