<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>I think that would be a good idea to implement AC_* macros as CMAK_* macros.<br><br>it will really help<br><br>Thank you<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Clifford Yapp <cliffyapp@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> mina adel <elecengineer_mina@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> cmake@cmake.org<br><b><span style="font-weight: bold;">Sent:</span></b> Sat, October 30, 2010 3:36:44 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [CMake] Converting from autoconf to cmake
problem<br></font><br>CMake does not provide replacements for all the specific AC_* tests,<br>although in most cases the functionality can be created with what it<br>does provide.<br><br>I'm having to do a fair bit of this kind of AC_* function re-creation<br>for Tcl, and had to do a bit for BRL-CAD as well - I imagine as more<br>autoconf projects are converted this will just continue to crop up.<br><br>CMake devs - would there be interest in maintaining some kind of<br>autotools-compat.cmake file where these tests could be re-implemented<br>as CMAKE_* macros instead of AC_* functions? (Or, if the<br>functionality is defined in some other way, document that in a<br>comment.) I have a feeling a lot of people are having to do this, and<br>it would probably make sense to pool that effort.<br><br>CY<br><br>On Fri, Oct 29, 2010 at 11:45 PM, mina adel <<a ymailto="mailto:elecengineer_mina@yahoo.com"
href="mailto:elecengineer_mina@yahoo.com">elecengineer_mina@yahoo.com</a>> wrote:<br>><br>><br>> Hi All<br>><br>> I am converting a code from configure.ac to cmake.<br>> Can any one please advice me about what is the corresponding macro for the<br>> following. I have searched the cmake wiki and documentation and didnot find<br>> any.<br>><br>> AC_HEADER_STDBOOL<br>> AC_C_CONST<br>> AC_TYPE_PID_T<br>> AC_TYPE_SIZE_T<br>> AC_STRUCT_TM<br>><br>> # Checks for library functions.<br>> AC_FUNC_CLOSEDIR_VOID<br>> AC_FUNC_ERROR_AT_LINE<br>> AC_FUNC_FORK<br>> AC_FUNC_MALLOC<br>> AC_FUNC_REALLOC<br>> AC_TYPE_SIGNAL<br>> AC_FUNC_VPRINTF<br>><br>> Thank u<br>> Mina<br>><br>><br>><br>> _______________________________________________<br><span>> Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a></span><br>><br>> Visit other Kitware
open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> Please keep messages on-topic and check the CMake FAQ at:<br>> <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>><br></div></div>
</div><br></body></html>