]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/ConfigureChecks.cmake
A bunch of conversion to docstring.
[lyx.git] / development / cmake / ConfigureChecks.cmake
index 1974b22fdc12c82c9c4f2883b2c970a300d00bda..c6b924ce1220379ed42ba1ce7b9b3882e9d689cc 100644 (file)
@@ -115,6 +115,15 @@ 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)
+
 set(PACKAGE lyx)
 set(PACKAGE_VERSION 1.5.0svn)