[CMake] Converting from autoconf to cmake problem

Aaron Turner synfinatic at gmail.com
Fri Oct 29 23:55:41 EDT 2010


On Fri, Oct 29, 2010 at 8:45 PM, mina adel <elecengineer_mina at yahoo.com> wrote:
>
>
> Hi All
>
> I am converting a code from configure.ac to cmake.
> Can any one please advice me about what is the corresponding macro for the
> following. I have searched the cmake wiki and documentation and didnot find
> any.
>
> AC_HEADER_STDBOOL
> AC_C_CONST
> AC_TYPE_PID_T
> AC_TYPE_SIZE_T
> AC_STRUCT_TM
>
> # Checks for library functions.
> AC_FUNC_CLOSEDIR_VOID
> AC_FUNC_ERROR_AT_LINE
> AC_FUNC_FORK
> AC_FUNC_MALLOC
> AC_FUNC_REALLOC
> AC_TYPE_SIGNAL
> AC_FUNC_VPRINTF

Read up on:

check_function_exists()
check_type_size()
check_include_file()




-- 
Aaron Turner
http://synfin.net/         Twitter: @synfinatic
http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
    -- Benjamin Franklin
"carpe diem quam minimum credula postero"


More information about the CMake mailing list