From: Matthias Maier Date: Tue, 11 Sep 2012 17:02:11 +0000 (+0000) Subject: Get rid of unnecessary tests X-Git-Tag: v8.0.0~1079^2~914 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13fc63d0e158e58b656f3cfe67cf58898f8b02c8;p=dealii.git Get rid of unnecessary tests git-svn-id: https://svn.dealii.org/branches/branch_cmake@26293 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/contrib/cmake/check/check_for_cxx_features.cmake b/deal.II/contrib/cmake/check/check_for_cxx_features.cmake index 095c40a294..053d12dad1 100644 --- a/deal.II/contrib/cmake/check/check_for_cxx_features.cmake +++ b/deal.II/contrib/cmake/check/check_for_cxx_features.cmake @@ -7,46 +7,6 @@ INCLUDE(CheckIncludeFiles) -# -# gcc2.95 doesn't have the std::iterator class, but the standard -# requires it, so check whether we have to work around it -# -CHECK_CXX_SOURCE_COMPILES( - " - #include - class MyIterator : public std::iterator{}; - int main(){return 0;} - " - HAVE_STD_ITERATOR_CLASS) - - -# -# Up to early gcc2.95 releases, the i/ostringstream classes were not -# available. check their availability, or whether we have to fall back -# to the old strstream classes. -# -CHECK_CXX_SOURCE_COMPILES( - " - #include - std::istringstream i; - std::ostringstream o; - int main(){return 0;} - " - HAVE_STD_STRINGSTREAM) - - -# -# Check whether the numeric_limits classes are available -# -CHECK_CXX_SOURCE_COMPILES( - " - #include - unsigned int i = std::numeric_limits::min(); - int main(){return 0;} - " - HAVE_STD_NUMERIC_LIMITS) - - # # Check whether the std::vector::iterator is just a plain pointer #