There are some things I'm trying to do in setting up a config file for
the FCGI2 library:
https://github.com/FastCGI-Archives/fcgi2.git
And in going from an autoconf configuration to a CMake configuration
there are some stumpers:
/* Define if the fpos_t typedef is in stdio.h */
/* #undef HAVE_FPOS */
This is definitely defined, but the closest module that's applicable is
CheckTypeSize, and this doesn't seem to work:
set(CMAKE_EXTRA_INCLUDE_FILES stdio.h)
CHECK_TYPE_SIZE("fpos_t" HAVE_FPOS)
set(CMAKE_EXTRA_INCLUDE_FILES)
And this one, I wouldn't be able to handle without writing a custom test.
/* Define if va_arg(arg, long double) crashes the compiler */
/* #undef HAVE_VA_ARG_LONG_DOUBLE_BUG */
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake