On 02/27/2014 04:19 AM, Bruce Dubbs wrote: > Armin K. wrote: > >>> >>> No, the check is right. It is supposed to fail if the function isn't found. > > OK. But it seems that it should be: > > #ifndef xyx > #error xyx > #endif > > Instead of what they have. > > -- Bruce >
No. If Windows windowing backend isn't enabled, then it *should* fail, and that is only possible if you call a function that is only available when that backend is enabled. So, if it isn't defined, call the function and fail on purpose. If it is, just do a simple compile that always succeeds which means the backend is available. A bit strange, but works (tm). I still doubt that it is the root of the issue you are facing. -- Note: My last name is not Krejzi. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page