aboutsummaryrefslogtreecommitdiff
path: root/autoconf/m4/func_isinf.m4
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-03-26 02:09:01 +0000
committerEric Christopher <echristo@apple.com>2012-03-26 02:09:01 +0000
commitb2bc6e4ad6a15fd93bc256f26bcb2a05c052fb25 (patch)
tree787c1d1a08754a346ab6e14a86988bf3b19a2280 /autoconf/m4/func_isinf.m4
parent4787cc47f906fbb9e4938b15f7f8bf9dc78f0c97 (diff)
Add some fixes to the configure script for isInf and add
--enable-libcpp to projects/sample. Patch by Dmitri Shubin with additional fixes by me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/m4/func_isinf.m4')
-rw-r--r--autoconf/m4/func_isinf.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/m4/func_isinf.m4 b/autoconf/m4/func_isinf.m4
index c936bf920d..5c000f8fad 100644
--- a/autoconf/m4/func_isinf.m4
+++ b/autoconf/m4/func_isinf.m4
@@ -19,7 +19,7 @@ fi
AC_SINGLE_CXX_CHECK([ac_cv_func_std_isinf_in_cmath],
[std::isinf], [<cmath>],
- [float f; std::isinf(f)}])
+ [float f; std::isinf(f);])
if test "$ac_cv_func_std_isinf_in_cmath" = "yes" ; then
AC_DEFINE([HAVE_STD_ISINF_IN_CMATH],1,[Set to 1 if the std::isinf function is found in <cmath>])
fi