On 2007-10-02 05:51:38 +0200, Andreas Schneider wrote: > Johannes Berg wrote: > > I just implemented a new feature with which you can easily implement > > pristine training or such: > > > > http://git.sipsolutions.net/?p=dovecot-antispam.git;a=commitdiff;h=4ee8b72dab4a5bc0309a956942ee2dc9d2f7258f > > Hi Johannes, > > I've just implemented the dspam library backend. I've found some problems. > > PACKAGE_VERSION is only defined if you're building in the dovecot source tree. > It is set in the config.h file. > > If you're building against libdspam you can't define -DHAVE_CONFIG_H or dspam > will look for its own dpsam config.h. > > I haven't tested the plugin yet, cause I'm traveling atm and on this wifi I > can't connect to our VPN enviroment to access my workstation to compile it > with the right system.
packages should never ever ship config.h conflicting macros like PACKAGE_VERSIONS and HAVE_* can cause a lot of trouble. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org