check_function_exists(getuid HAVE_GETUID)
check_function_exists(wcslen HAVE_WCSLEN)
+check_symbol_exists(alloca "malloc.h" HAVE_SYMBOL_ALLOCA)
check_symbol_exists(asprintf "stdio.h" HAVE_ASPRINTF)
check_symbol_exists(wprintf "stdio.h" HAVE_WPRINTF)
check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)
"
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)