* sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET

to avoid 'header present but could not be compiled' on cygwin.
This commit is contained in:
Eric Blake
2006-07-05 18:06:09 +00:00
parent 8e97d8dc67
commit 9b8466243e
2 changed files with 8 additions and 2 deletions
+5
View File
@@ -1,3 +1,8 @@
2006-07-05 Eric Blake <ebb9@byu.net>
* sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
to avoid 'header present but could not be compiled' on cygwin.
2006-07-03 Bruno Haible <bruno@clisp.org>
* strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
+3 -2
View File
@@ -1,4 +1,4 @@
# sockpfaf.m4 serial 3
# sockpfaf.m4 serial 4
dnl Copyright (C) 2004, 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,
@@ -13,7 +13,8 @@ dnl From Bruno Haible.
AC_DEFUN([gl_SOCKET_FAMILIES],
[
AC_CHECK_HEADERS_ONCE(sys/socket.h netinet/in.h winsock2.h)
AC_REQUIRE([gl_HEADER_SYS_SOCKET])
AC_CHECK_HEADERS_ONCE([netinet/in.h])
AC_MSG_CHECKING(for IPv4 sockets)
AC_CACHE_VAL(gl_cv_socket_ipv4,