summaryrefslogtreecommitdiff
path: root/configure
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 /configure
parent4787cc47f906fbb9e4938b15f7f8bf9dc78f0c97 (diff)
downloadllvm-b2bc6e4ad6a15fd93bc256f26bcb2a05c052fb25.tar.gz
llvm-b2bc6e4ad6a15fd93bc256f26bcb2a05c052fb25.tar.bz2
llvm-b2bc6e4ad6a15fd93bc256f26bcb2a05c052fb25.tar.xz
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 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 941d54c98d..2dfd66d77b 100755
--- a/configure
+++ b/configure
@@ -16361,7 +16361,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
ac_save_CXXFLAGS=$CXXFLAGS
- CXXFLAGS=-pedantic
+ CXXFLAGS+=" -pedantic"
if test "$cross_compiling" = yes; then
ac_cv_huge_val_sanity=yes
else
@@ -19987,7 +19987,7 @@ cat >>conftest.$ac_ext <<_ACEOF
int
main ()
{
-float f; std::isinf(f)}
+float f; std::isinf(f);
;
return 0;
}