[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Windows fixes for sockpfaf
From: |
Simon Josefsson |
Subject: |
Re: Windows fixes for sockpfaf |
Date: |
Thu, 22 Jun 2006 13:54:11 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Simon Josefsson wrote:
>> I'd admit that these winsock2.h tests are a bit ugly, but I don't see
>> a good alternative. Ideas?
>
> I don't see a better alternative. The problem is that the replacement
> <sys/socket.h> is not available at the moment the autoconf test is run.
> We cannot change that easily.
The only idea I've had is to force MinGW porters to put some files in
a special directory, like a sys/socket.h that includes winsock2.h.
But that would go against the idea of testing for features instead of
treating some platforms different. For now I think we should modify
every M4 code to take mingw into consideration. This approach seems
possible without too much changes: GnuTLS is close to working without
modifications under mingw now.
Ok to install the patch? You're mentioned as the origin of the file.
/Simon