[CMake] Converting from autoconf to cmake problem
mina adel
elecengineer_mina at yahoo.com
Mon Nov 1 20:59:49 EDT 2010
I think that would be a good idea to implement AC_* macros as CMAK_* macros.
it will really help
Thank you
________________________________
From: Clifford Yapp <cliffyapp at gmail.com>
To: mina adel <elecengineer_mina at yahoo.com>
Cc: cmake at cmake.org
Sent: Sat, October 30, 2010 3:36:44 PM
Subject: Re: [CMake] Converting from autoconf to cmake problem
CMake does not provide replacements for all the specific AC_* tests,
although in most cases the functionality can be created with what it
does provide.
I'm having to do a fair bit of this kind of AC_* function re-creation
for Tcl, and had to do a bit for BRL-CAD as well - I imagine as more
autoconf projects are converted this will just continue to crop up.
CMake devs - would there be interest in maintaining some kind of
autotools-compat.cmake file where these tests could be re-implemented
as CMAKE_* macros instead of AC_* functions? (Or, if the
functionality is defined in some other way, document that in a
comment.) I have a feeling a lot of people are having to do this, and
it would probably make sense to pool that effort.
CY
On Fri, Oct 29, 2010 at 11: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
>
> Thank u
> Mina
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101101/f9ea4dfb/attachment.htm>
More information about the CMake
mailing list