aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2009-11-12 05:36:09 +0000
committerOscar Fuentes <ofv@wanadoo.es>2009-11-12 05:36:09 +0000
commit469f048845803a7e0a71fc315e6962f3978ff466 (patch)
tree6f0c19f3e95633fd852b17c3c749d31125856c85 /include/llvm/Config
parent670358cf61e1f7b5c6753dc2fc08b336634dac1e (diff)
downloadexternal_llvm-469f048845803a7e0a71fc315e6962f3978ff466.zip
external_llvm-469f048845803a7e0a71fc315e6962f3978ff466.tar.gz
external_llvm-469f048845803a7e0a71fc315e6962f3978ff466.tar.bz2
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
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake
index fa82727..2bec93f 100644
--- a/include/llvm/Config/config.h.cmake
+++ b/include/llvm/Config/config.h.cmake
@@ -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}