curl-library
Re: status of CMake support in 7.19.5
From: Bill Hoffman <bill.hoffman_at_kitware.com>
Date: Tue, 09 Jun 2009 14:42:14 -0400
Date: Tue, 09 Jun 2009 14:42:14 -0400
Cosmin Luţă wrote:
>>
>> The autotools does this:
>>
>> arg1 in int SOCKET;
>> arg2 in 'struct sockaddr' void;
>> t in socklen_t int size_t 'unsigned int' long 'unsigned long'
>> void; extern int FUNCALLCONV getpeername($arg1, $arg2 *, $t *);
>>
>> I guess I should do the same for CMake?
>>
>
> I've see something similar in CMake/OtherTests.cmake for determining the
> arg and ret types of send()/recv(); perhaps you could do the same?
>
>
Yes, I could. Seems a bit brute force. Is there no other way to find
this? We are looking for $t but vary arg1 and arg2. Seems like there
should be a better way to figure this out.
-Bill
Received on 2009-06-09