<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>There are some things I'm trying to do in setting up a config
file for the FCGI2 library:<br>
<a class="moz-txt-link-freetext" href="https://github.com/FastCGI-Archives/fcgi2.git">https://github.com/FastCGI-Archives/fcgi2.git</a><br>
<br>
And in going from an autoconf configuration to a CMake
configuration there are some stumpers:</p>
<blockquote>
<p>/* Define if the fpos_t typedef is in stdio.h */<br>
/* #undef HAVE_FPOS */<br>
</p>
</blockquote>
<p>This is definitely defined, but the closest module that's
applicable is CheckTypeSize, and this doesn't seem to work:<br>
set(CMAKE_EXTRA_INCLUDE_FILES stdio.h)<br>
CHECK_TYPE_SIZE("fpos_t" HAVE_FPOS)<br>
set(CMAKE_EXTRA_INCLUDE_FILES)</p>
<p>And this one, I wouldn't be able to handle without writing a
custom test.<br>
/* Define if va_arg(arg, long double) crashes the compiler */<br>
/* #undef HAVE_VA_ARG_LONG_DOUBLE_BUG */<br>
<br>
</p>
</body>
</html>