Fix symbol defines in config.h.cmake
authorAlp Toker <alp@nuanti.com>
Tue, 5 Nov 2013 07:27:18 +0000 (07:27 +0000)
committerAlp Toker <alp@nuanti.com>
Tue, 5 Nov 2013 07:27:18 +0000 (07:27 +0000)
These were incorrectly pointing to HAVE_LOG despite being checked for
correctly in config-ix.cmake.

Patch by James Lyon!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194051 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Config/config.h.cmake

index 4c49cbb8c375bc5f1a4dff8af9c6bac2d7235b7e..5c72ad8a99c21a2bebdd24c4a780d6f6f23ff8b8 100644 (file)
 #cmakedefine HAVE_LOG10 ${HAVE_LOG10}
 
 /* Define to 1 if you have the `exp' function. */
-#cmakedefine HAVE_EXP ${HAVE_LOG}
+#cmakedefine HAVE_EXP ${HAVE_EXP}
 
 /* Define to 1 if you have the `exp2' function. */
-#cmakedefine HAVE_EXP2 ${HAVE_LOG2}
+#cmakedefine HAVE_EXP2 ${HAVE_EXP2}
 
 /* Define to 1 if you have the `exp10' function. */
-#cmakedefine HAVE_EXP10 ${HAVE_LOG10}
+#cmakedefine HAVE_EXP10 ${HAVE_EXP10}
 
 /* Define to 1 if you have the `fmodf' function. */
 #cmakedefine HAVE_FMODF ${HAVE_FMODF}