What's the right way to disable aqbanking?

John Ralls jralls at ceridwen.us
Fri Jul 17 16:42:24 EDT 2009


On Jul 17, 2009, at 11:16 AM, Christian Stimming wrote:

> 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.
>
>

Got it. Thanks.
Regards,
John Ralls



More information about the gnucash-devel mailing list