On Tuesday 18 January 2011 18:14:42 Eric Noulard wrote:
> Why are you willing to build gsl with CMake in the first place?
Ha
since when was copulation used soley  for procreation?


joke aside
> 1) Some CheckFunctionExists tests needs the math library
>    so that you need to
>     set(CMAKE_REQUIRED_LIBRARIES m)
>    before calling
>      CHECK_FUNCTION_EXISTS(asinh HAVE_ASINH)
> 
did not work 

> You are right but the fact is autotools does not have builtin function
> for that either.
> They are crafted inside gsl/configure.ac.
asinh, acosh, atanh all depend on lib_m  and math.h
so     if  one were to  cook  some  kind of  'find script'
to find  lib_m (with asinh etc)  and math.h,  could  one then not  set
HAVE_ASINH  et al as true?     And dispence with the  redundant 
CHECK_FUNCTION_EXISTS(asinh HAVE_ASINH) et al?



and  further down the line  once one identifies the dependencies for the ieee 
stuff  could not the same procedure be adopted.?


sincerely
luxInteg



_______________________________________________
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