What's the right way to disable aqbanking?
Christian Stimming
stimming at tuhh.de
Fri Jul 17 14:16:22 EDT 2009
Am Dienstag, 14. Juli 2009 19:29 schrieb John Ralls:
> There's a wee problem with menu integration on MacOSX which I think is
> related to the aqbanking plugin redoing the tools menu and my overly
> naive insertion of menu integration code. So I wanted to turn off
> aqbanking and hbci. I tried running configure without "--enable-
> aqbanking". No joy. I tried again with "--disable-aqbanking". Still
> there. After some exploration in the debugger, I found the block in
> gnucash-bin.c that loads all of the modules and commented out the two
> lines that load aqbanking and hcbi. Surely that's not the right way to
> do it, but what is?
I'm not sure what you mean by "disable". As soon as you configure
without --enable-aqbanking, the aqbanking plugin won't be compiled and
installed at "make;make install". However, if the plugin was already
installed from a previous build, then it is already installed.
In any case gnucash-bin.c tries to load the aqbanking plugin and several
others) as optional module at each startup, silently ignoring this if it
isn't there. So, if the aqbanking plugin was installed from a previous build,
then indeed it will be loaded even though your current build was configured
without --enable-aqbanking. If you want to make sure it won't be loaded, you
either have to remove the file libgncmod-aqbanking.so, or you have to modify
gnucash-bin.c. In that sense your solution was correct, but removing
libgncmod-aqbanking from your installation location would probably be easier.
Regards,
Christian
More information about the gnucash-devel
mailing list