On 02/27/2014 04:47 AM, Armin K. wrote:
> 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.
> 

Or even better: Even if the define isn't available, still try to call
the function just in case it's defined but not picked up somehow (should
not happen, but meh I trust them they know what they're doing even if I
must admit that it's a bit odd).

> 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

Reply via email to