]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/ConfigureChecks.cmake
we desparately need a fourth buildsystem. so let's start one
[lyx.git] / development / cmake / ConfigureChecks.cmake
index c7158edf395015eb8cb08c21e6e50818fa45be79..7a23ddaac50ee4686e30cdce4f5fdfd287e200e3 100644 (file)
@@ -41,6 +41,7 @@ check_include_files(argz.h HAVE_ARGZ_H)
 
 
 check_function_exists(open HAVE_OPEN)
+check_function_exists(chmod HAVE_CHMOD)
 check_function_exists(close HAVE_CLOSE)
 check_function_exists(popen HAVE_POPEN)
 check_function_exists(pclose HAVE_PCLOSE)
@@ -121,14 +122,14 @@ check_cxx_source_compiles(
        "
 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(
+#      "
+#      #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(
        "