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.
llvm-svn: 153425
diff --git a/llvm/projects/sample/autoconf/m4/func_isinf.m4 b/llvm/projects/sample/autoconf/m4/func_isinf.m4
index c936bf9..5c000f8 100644
--- a/llvm/projects/sample/autoconf/m4/func_isinf.m4
+++ b/llvm/projects/sample/autoconf/m4/func_isinf.m4
@@ -19,7 +19,7 @@
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