]> git.lyx.org Git - features.git/commitdiff
do not check for Standard C++ features anymore.
authorAndré Pönitz <poenitz@gmx.net>
Thu, 23 Aug 2007 21:18:53 +0000 (21:18 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Thu, 23 Aug 2007 21:18:53 +0000 (21:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19762 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/ConfigureChecks.cmake
development/cmake/src/support/CMakeLists.txt

index ec37b59ac632789e556df53b90995a6b339f5f58..d87fd3cab9c2123a29c9d43ca7a3dfe12d38bd34 100644 (file)
@@ -16,11 +16,11 @@ include(CheckCXXSourceCompiles)
 
 check_include_file_cxx(aspell.h HAVE_ASPELL_H)
 check_include_file_cxx(aspell/aspell.h HAVE_ASPELL_ASPELL_H)
-check_include_file_cxx(istream HAVE_ISTREAM)
-check_include_file_cxx(ostream HAVE_OSTREAM)
-check_include_file_cxx(ios HAVE_IOS)
-check_include_file_cxx(sstream HAVE_SSTREAM)
-check_include_file_cxx(locale HAVE_LOCALE)
+#check_include_file_cxx(istream HAVE_ISTREAM)
+#check_include_file_cxx(ostream HAVE_OSTREAM)
+#check_include_file_cxx(ios HAVE_IOS)
+#check_include_file_cxx(sstream HAVE_SSTREAM)
+#check_include_file_cxx(locale HAVE_LOCALE)
 
 check_include_files(io.h HAVE_IO_H)
 check_include_files(limits.h HAVE_LIMITS_H)
@@ -93,34 +93,34 @@ check_type_size(wchar_t HAVE_WCHAR_T)
 check_type_size(wint_t  HAVE_WINT_T)
 
 
-check_cxx_source_compiles(
-       "
-       #include <algorithm>
-       using std::count;
-       int countChar(char * b, char * e, char const c)
-       {
-               return count(b, e, c);
-       }
-       int main(){return 0;}
-       "
-HAVE_STD_COUNT)
-
-check_cxx_source_compiles(
-       "
-       #include <streambuf>
-       #include <istream>
-       typedef std::istreambuf_iterator<char> type;
-       int main(){return 0;}
-       "
-HAVE_DECL_ISTREAMBUF_ITERATOR)
-
-check_cxx_source_compiles(
-       "
-       #include <cctype>
-       using std::tolower;
-       int main(){return 0;}
-       "
-CXX_GLOBAL_CSTD)
+#check_cxx_source_compiles(
+#      "
+#      #include <algorithm>
+#      using std::count;
+#      int countChar(char * b, char * e, char const c)
+#      {
+#              return count(b, e, c);
+#      }
+#      int main(){return 0;}
+#      "
+#HAVE_STD_COUNT)
+
+#check_cxx_source_compiles(
+#      "
+#      #include <streambuf>
+#      #include <istream>
+#      typedef std::istreambuf_iterator<char> type;
+#      int main(){return 0;}
+#      "
+#HAVE_DECL_ISTREAMBUF_ITERATOR)
+
+#check_cxx_source_compiles(
+#      "
+#      #include <cctype>
+#      using std::tolower;
+#      int main(){return 0;}
+#      "
+#CXX_GLOBAL_CSTD)
 
 check_cxx_source_compiles(
        "
index 65ccbbc8a4f5f448f4f53e2deedbe3c235d6fd79..0221d64d6736e38cd8c3aeed987f30f754999a62 100644 (file)
@@ -21,7 +21,9 @@ list(REMOVE_ITEM support_sources
        ${TOP_SRC_DIR}/src/support/os_cygwin.cpp
        ${TOP_SRC_DIR}/src/support/os_os2.C
        ${TOP_SRC_DIR}/src/support/atexit.c
-       ${TOP_SRC_DIR}/src/support/strerror.c)
+       ${TOP_SRC_DIR}/src/support/strerror.c
+       ${TOP_SRC_DIR}/src/support/minizip/iowin32.h
+       ${TOP_SRC_DIR}/src/support/minizip/iowin32.c)
 
 set(support_sources ${support_sources} ${CMAKE_CURRENT_BINARY_DIR}/package.C)