Subject: Re: questions about the autotools

Re: questions about the autotools

From: Vincent Torri <vincent.torri_at_gmail.com>
Date: Thu, 17 Mar 2011 08:09:59 +0100

On Tue, Mar 15, 2011 at 2:04 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

>
> So how do you suggest the test is made? Very few people use configure on
>>> windows, and I've not yet experienced a single person who've used it for
>>> Windows CE. If you're one, you're very welcome to help us in this area.
>>>
>>
>> I am a person who supports Windows CE platform for some libs :) About how
>> to do the test, well, you did one just a few lines above in configure.ac(see mingw32ce in the $host_os case)
>>
>
> I'll appreciate a proper diff so that I don't misunderstand!
>

Before sending the patch, another question about the way you detect
winsock*.h

 CURL_CHECK_HEADER_WINSOCK2 just disables the detection of winsock2.h with
cegcc or mingw32ce compilers. But that file is actually provided by cegcc or
mingw32ce:

torri:~/gitroot/c-ares: ll
/home/torri/local/opt/mingw32ce/arm-mingw32ce/include/winsock*.h
-rw-r--r-- 1 torri torri 50234 2010-02-02 16:08
/home/torri/local/opt/mingw32ce/arm-mingw32ce/include/winsock2.h
-rw-r--r-- 1 torri torri 16674 2010-02-02 16:08
/home/torri/local/opt/mingw32ce/arm-mingw32ce/include/winsock.h

in addition, msdn says that the socket functions are available since Windows
CE 1.0 in winsock2.h and libws2.lib:

http://msdn.microsoft.com/en-us/library/ms911778.aspx

(see the requirements at the bottom of the page)

Also look at

http://msdn.microsoft.com/en-us/library/ms910249.aspx
http://msdn.microsoft.com/en-us/library/ms930354.aspx

I don't know if it is still worth supporting winsock 1 applications as there
is such backward compatibility. What's your opinion ?

regards

Vincent Torri

PS: currently, i can't compile c-ares with mingw32ce
Received on 2011-03-17