[BuildTools] Removing config_xxx.h (specifically, config_coinutils.h)

Stefan Vigerske stefan at math.hu-berlin.de
Sat Mar 26 13:30:01 EDT 2011


Hi,

>> in general, I think one needs to find a mechanism to split up
>> config_xxx.h into a header file that includes a minimal set of defines
>> and gets installed and one that has all the remaining defines and is
>> only needed to build that project.
>
> 	I think this hits it on the head. There's a lot of stuff in
> config_coinutils.h that is useful to the average everyday user trying to
> write portable code that plays nicely with COIN code. If memory serves,
> the root of the original complaint was multiple definitions of the
> PACKAGE_* macros produced by autoconf. If we simply separate out the
> replicated macros, would that be an acceptable fix?

It's also defines for system headers/libraries that should not always be 
exposed.
I think a clean way would be if one could specify somewhere (e.g., 
configure.ac) which defines should be public.

Stefan



More information about the BuildTools mailing list