]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Get rid of unnecessary tests
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Sep 2012 17:02:11 +0000 (17:02 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 11 Sep 2012 17:02:11 +0000 (17:02 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26293 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/contrib/cmake/check/check_for_cxx_features.cmake

index 095c40a294172923d9a2124b447436e9d3af14eb..053d12dad1b7456a531e5e1085038575ebb5ecd6 100644 (file)
@@ -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 <iterator>
-  class MyIterator : public std::iterator<std::bidirectional_iterator_tag,int>{};
-  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 <sstream>
-  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 <limits>
-  unsigned int i = std::numeric_limits<unsigned int>::min();
-  int main(){return 0;}
-  "
-  HAVE_STD_NUMERIC_LIMITS)
-
-
 #
 # Check whether the std::vector::iterator is just a plain pointer
 #

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.