Use a relative path to the mbox provider module.

2000-02-18  NotZed  <NotZed@HelixCode.com>

        * tests/test11.c (main): Use a relative path to the mbox provider
        module.

svn path=/trunk/; revision=1857
This commit is contained in:
NotZed
2000-02-19 04:14:46 +00:00
committed by Michael Zucci
parent 363fba5b54
commit 74a58886f6
3 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-02-18 NotZed <NotZed@HelixCode.com>
* tests/test11.c (main): Use a relative path to the mbox provider
module.
2000-02-18 Dan Winship <danw@helixcode.com>
* camel/camel-types.h: New header with the typedefs for all camel

View File

@ -19,6 +19,11 @@ LDADD = \
# $(GNOME_LIBDIR) \
# $(GNOMEUI_LIBS) $(INTLLIBS) $(PTHREAD_LIB)
#test11_LDADD = \
# $(LDADD) \
# $(top_builddir)/filter/libfilter.la \
# $(top_builddir)/libibex/libibex.la
test9_LDADD = \
$(top_builddir)/camel/libcamel.la \
$(top_builddir)/libibex/libibex.la \

View File

@ -38,7 +38,7 @@ main (int argc, char**argv)
gtk_init (&argc, &argv);
camel_init ();
ex = camel_exception_new ();
camel_provider_register_as_module ("./libcamelmbox.so.0");
camel_provider_register_as_module ("../camel/providers/mbox/.libs/libcamelmbox.so.0");
session = camel_session_new ();
store = camel_session_get_store (session, store_url);
@ -64,7 +64,7 @@ main (int argc, char**argv)
printf("Search for messages\n");
matches = camel_folder_search_by_expression (folder, "(match-all (and (header-contains \"subject\" \"terminal\") (header-contains \"subject\" \"patch\")))", ex);
matches = camel_folder_search_by_expression (folder, "(or (match-all (header-contains \"subject\" \"term\")) (match-all (header-contains \"subject\" \"gnome\")))", ex);
if (matches) {
GList *n;