On Fri, 2010-01-22 at 10:33 +0100, Jed Brown wrote:
> On Fri, 22 Jan 2010 10:24:30 +0100, "Marcel Loose" <lo...@astron.nl>
wrote:
> > Partly true.
> > If the preprocessor symbol provides a generic name for a function,
which
> > may have different names on different platforms, it will still work.
> > 
> > For example.
> > 
> > # define basename  __xdg_basename
> 
> No.
> 
> It will *not* work in this case because no headers are included when
the
> test program is linked.
> 
> Jed
You're right. Sorry. I overlooked the fact that you cannot pass the name
of a header file to include to check_function_exists().

Best regards,
Marcel Loose.


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to