[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds

Eric Christopher
Wed, 05 Jan 2011 17:22:05 -0000

On Jan 5, 2011, at 6:34 AM, Óscar Fuentes wrote:

> arrowdodger <6yearold at gmail.com> writes:
>
>>> Or to say it with other words: patches welcome.
>>
>> So, how should i proceed? Make CMake-generated config to be identical
to
>> autotools one?
>
> That would be a good thing.
>
> Please note that some checks are a bit tricky. A function that on
> platform A is on header foo.h on another platform may be on
> bar.h. Furthermore, cmake's platform testing support is not so mature
as
> autoconf's (at least on Unix).
>
>> Or cleanup both headers from unused stuff by Eric's
>> suggestion?
>
> I'm not sure this is a good idea (not that it is bad either).
Murphy's
> Law says that a function that you remove today will be used tomorrow.

I meant literally functions that aren't used in the codebase. No need to
look for them if we're not using them.

-eric