diff options
author | Owen Anderson <resistor@mac.com> | 2013-02-07 00:54:05 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2013-02-07 00:54:05 +0000 |
commit | 1e8f6f4df1c8431773bf46e87b284db2b1541234 (patch) | |
tree | a19d43fc516ab74a98c036d6f0db24a742d84d36 /include/llvm/Config/config.h.cmake | |
parent | ec643abe6903284fc9ae7b6d9ae5e0b4ad40ad28 (diff) | |
download | llvm-1e8f6f4df1c8431773bf46e87b284db2b1541234.tar.gz llvm-1e8f6f4df1c8431773bf46e87b284db2b1541234.tar.bz2 llvm-1e8f6f4df1c8431773bf46e87b284db2b1541234.tar.xz |
Fix CMake detection of various cmath functions, and XFAIL the test on platforms that are known to be missing them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config/config.h.cmake')
-rw-r--r-- | include/llvm/Config/config.h.cmake | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.cmake b/include/llvm/Config/config.h.cmake index 9487083431..0a26857397 100644 --- a/include/llvm/Config/config.h.cmake +++ b/include/llvm/Config/config.h.cmake @@ -146,6 +146,24 @@ /* Define to 1 if you have the `floorf' function. */ #cmakedefine HAVE_FLOORF ${HAVE_FLOORF} +/* Define to 1 if you have the `log' function. */ +#cmakedefine HAVE_LOG ${HAVE_LOG} + +/* Define to 1 if you have the `log2' function. */ +#cmakedefine HAVE_LOG2 ${HAVE_LOG2} + +/* Define to 1 if you have the `log10' function. */ +#cmakedefine HAVE_LOG10 ${HAVE_LOG10} + +/* Define to 1 if you have the `exp' function. */ +#cmakedefine HAVE_EXP ${HAVE_LOG} + +/* Define to 1 if you have the `exp2' function. */ +#cmakedefine HAVE_EXP2 ${HAVE_LOG2} + +/* Define to 1 if you have the `exp10' function. */ +#cmakedefine HAVE_EXP10 ${HAVE_LOG10} + /* Define to 1 if you have the `fmodf' function. */ #cmakedefine HAVE_FMODF ${HAVE_FMODF} |