[LLVMdev] include/Config/config.h discrepancies between CMake and autofoo builds
Eric Christopher
echristo at apple.com
Tue Jan 4 13:21:22 PST 2011
On Jan 4, 2011, at 7:45 AM, arrowdodger wrote:
> Hello. I see many discrepancies in config.h file generated by CMake and autoheader.
>
> Most of them are following:
> In autofoo-generated config:
> /* Define to 1 if you have the `<name>' function. */
> #define HAVE_<name> 1
> but in CMake-generated:
> #undef HAVE_<name>
> This happens because in config.h.cmake (config.h.in analog) these functions just are not checked for.
>
We may just not use those functions anymore - do you have a list of these?
> Another difference:
> autofoo sets this by default:
> #define ENABLE_PIC 1
> while CMake not.
>
This is more concerning - maybe it's a windows specific problem that came along?
-eric
More information about the llvm-dev
mailing list