On Fri, February 17, 2006 10:29 pm, Aaron Stone wrote: > On Fri, 2006-02-17 at 17:35 -0500, Leif Jackson wrote: > > >> - dbmail_message_set_header(msg, >> "Return-Path", from->data); >> + dbmail_message_set_header(msg, >> "Return-Path", (char *)(dm_list_getstart(&from)->data)); >> > > Committed to SVN. > > >> +#ifdef SIEVE >> > > Well, no, because the whole point of the module loader is that you can > build DBMail without a module, decide you want that module later on, build > it, and load it into the same set of binaries you originally had. This is > hugely valuable for packagers, they can do this: > > dbmail.rpm/deb/pkg (whatever) dbmail-pgsql.whatever dbmail-mysql.whatever > dbmail-sieve.whatever > > I'm trying to figure out why sortmodule.c doesn't seem to be building > unless --with-sieve is specified. The Makefile.am doesn't separate > sortmodule.c from the other two module loaders...
Right ok, well I belive it has to with other ifdef's then on the function defs and having at least stub functions if the module is not ld'ed. But I didn't really understand that was the goal. :) -leif > > Aaron > > > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > >