]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/ConfigureChecks.cmake
- German EmbeddedObjects.lyx: tiny beautification by Hartmut
[lyx.git] / development / cmake / ConfigureChecks.cmake
index 7a23ddaac50ee4686e30cdce4f5fdfd287e200e3..a10bfd2e0672e0c1168ccac4d5ef3804e17dcdab 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)
@@ -74,6 +74,7 @@ check_function_exists(getegid HAVE_GETEGID)
 check_function_exists(getgid HAVE_GETGID)
 check_function_exists(getuid HAVE_GETUID)
 check_function_exists(wcslen HAVE_WCSLEN)
+check_function_exists(mkfifo HAVE_MKFIFO)
 
 check_symbol_exists(alloca "malloc.h" HAVE_SYMBOL_ALLOCA)
 check_symbol_exists(asprintf "stdio.h" HAVE_ASPRINTF)
@@ -93,17 +94,17 @@ 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 <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(
        "
@@ -114,22 +115,22 @@ check_cxx_source_compiles(
        "
 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 <iconv.h>
-#      // this declaration will fail when there already exists a non const char** version which returns size_t
-#      double iconv(iconv_t cd,  char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
-#      int main() { return 0; }
+#      #include <cctype>
+#      using std::tolower;
+#      int main(){return 0;}
 #      "
-#HAVE_ICONV_CONST)
+#CXX_GLOBAL_CSTD)
+
+check_cxx_source_compiles(
+       "
+       #include <iconv.h>
+       // this declaration will fail when there already exists a non const char** version which returns size_t
+       double iconv(iconv_t cd,  char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft);
+       int main() { return 0; }
+       "
+HAVE_ICONV_CONST)
 
 check_cxx_source_compiles(
        "
@@ -145,12 +146,3 @@ check_cxx_source_compiles(
        "
 SIZEOF_WCHAR_T_IS_4)
 
-
-
-
-
-
-
-
-
-