[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: canon-host problems in cygwin
From: |
Eric Blake |
Subject: |
Re: canon-host problems in cygwin |
Date: |
Fri, 17 Feb 2006 09:29:36 -0700 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Eric Blake on 2/15/2006 4:28 PM:
> And here is a patch. The cygwin list confirmed that <sys/socket.h>
> and <ws2tcpip.h> are intentionally incompatible, and that
> although the later is available for use in mingw compiles, it
> purposefully errors out if <sys/socket.h> was already in use.
Serves me right for not fully testing it. There was a latent caching bug,
such that rerunning configure failed to pick up on the fact that AC_LIBOBJ
should include still getaddrinfo; all because it was used in the
'commands-to-set-it' portion of AC_CACHE_CHECK (a no-no, per the autoconf
manual).
m4/ChangeLog:
2006-02-17 Eric Blake <address@hidden>
* getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD9fnv84KuGfSFAYARArTsAKCSZelFsFKsXs6KeC0Xr7o1quMxrgCgpzt1
3LEp8di45R42LZfyVG71Rq0=
=ymYK
-----END PGP SIGNATURE-----
Index: m4/getaddrinfo.m4
===================================================================
RCS file: /sources/coreutils/coreutils/m4/getaddrinfo.m4,v
retrieving revision 1.11
diff -u -p -r1.11 getaddrinfo.m4
--- m4/getaddrinfo.m4 16 Feb 2006 23:34:00 -0000 1.11
+++ m4/getaddrinfo.m4 17 Feb 2006 16:25:30 -0000
@@ -1,4 +1,4 @@
-# getaddrinfo.m4 serial 8
+# getaddrinfo.m4 serial 9
dnl Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -21,13 +21,13 @@ AC_DEFUN([gl_GETADDRINFO],
#include <ws2tcpip.h>
#endif
], [getaddrinfo(0, 0, 0, 0);], gl_cv_w32_getaddrinfo=yes)
- LIBS="$am_save_LIBS"
- if test "$gl_cv_w32_getaddrinfo" = "yes"; then
- LIBS="$LIBS -lws2_32"
- else
- AC_LIBOBJ(getaddrinfo)
- fi
- ])])
+ LIBS="$am_save_LIBS"])
+ if test "$gl_cv_w32_getaddrinfo" = "yes"; then
+ LIBS="$LIBS -lws2_32"
+ else
+ AC_LIBOBJ(getaddrinfo)
+ fi
+ ])
AC_REPLACE_FUNCS(gai_strerror)
gl_PREREQ_GETADDRINFO