[ghemical-devel] Private configure tokens in public headers

Tommi Hassinen thassine at messi.uku.fi
Fri Oct 20 08:23:19 EDT 2006


On Fri, 20 Oct 2006, Jean Bréfort wrote:

>> On closer examination, slight mis-diagnosis here. The private config
>> should not be installed, but a secondary culprit is ghemical-2.01,
>> which #includes it as well as its own config header. Ghemical itself
>> should just test for [whatever] instead of relying on libghemical's
>> conf tests.
>
> That's not a so good idea. If libghemical and ghemical went to be built
> in different environments (something might have been updated between the
> two builds), ghemical might be broken.
> A better solution would be to have to configuration files. One used in
> libghemical cpp files and another one to be included from ghemical
> (might be libghemical-features.h). See libgoffice for the implementation
> of such a solution (Tommi, I volunteer to do the job if you agree).

Yes please, I would be very happy to get your solution!

Thanks,

 	Tommi


More information about the ghemical-devel mailing list