Dont compile by default.
authorNotZed <NotZed@HelixCode.com>
Tue, 22 Feb 2000 20:59:30 +0000 (20:59 +0000)
committerMichael Zucci <zucchi@src.gnome.org>
Tue, 22 Feb 2000 20:59:30 +0000 (20:59 +0000)
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.

camel/ChangeLog
camel/providers/mbox/Makefile.am
camel/providers/mbox/camel-mbox-search.c

index 353c524..619c474 100644 (file)
@@ -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
index f3d8060..13f09b9 100644 (file)
@@ -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 = 
index af9f820..70dac77 100644 (file)
@@ -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 */