CMake: Pass -lm to check_symbol_exists for detecting several math

functions like floorf, ceilf, ... Add test for detecting nearbyintf.

This change was prompted by test/Transforms/SimplifyLibCalls/floor.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86954 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes
2009-11-12 05:36:09 +00:00
parent 66c04c48de
commit a447cfea45
2 changed files with 7 additions and 1 deletions

View File

@@ -253,7 +253,7 @@
#cmakedefine HAVE_NDIR_H ${HAVE_NDIR_H}
/* Define to 1 if you have the `nearbyintf' function. */
#undef HAVE_NEARBYINTF
#cmakedefine HAVE_NEARBYINTF ${HAVE_NEARBYINTF}
/* Define if the neat program is available */
#cmakedefine HAVE_NEATO ${HAVE_NEATO}