[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/gl/m4
From: |
gsasl-commit |
Subject: |
CVS gsasl/gl/m4 |
Date: |
Wed, 18 Jan 2006 12:12:46 +0100 |
Update of /home/cvs/gsasl/gl/m4
In directory dopio:/tmp/cvs-serv11758/gl/m4
Modified Files:
getaddrinfo.m4
Log Message:
Update.
--- /home/cvs/gsasl/gl/m4/getaddrinfo.m4 2006/01/17 17:40:58 1.13
+++ /home/cvs/gsasl/gl/m4/getaddrinfo.m4 2006/01/18 11:12:46 1.14
@@ -1,5 +1,5 @@
# getaddrinfo.m4 serial 7
-dnl Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+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,
dnl with or without modifications, as long as this notice is preserved.
@@ -19,18 +19,32 @@
AC_REQUIRE([gl_SOCKET_FAMILIES])
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_GNU_SOURCE])
- AC_CHECK_HEADERS_ONCE(netinet/in.h)
+ AC_CHECK_HEADERS_ONCE(netinet/in.h sys/socket.h netdb.h ws2tcpip.h)
AC_CHECK_DECLS([getaddrinfo, freeaddrinfo, gai_strerror],,,[
/* sys/types.h is not needed according to POSIX, but the
sys/socket.h in i386-unknown-freebsd4.10 and
powerpc-apple-darwin5.5 required it. */
#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+#if HAVE_NETDB_H
+# include <netdb.h>
+#endif
+#if HAVE_WS2TCPIP_H
+# include <ws2tcpip.h>
+#endif
])
AC_CHECK_TYPES([struct addrinfo],,,[
#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>
+#if HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+#if HAVE_NETDB_H
+# include <netdb.h>
+#endif
+#if HAVE_WS2TCPIP_H
+# include <ws2tcpip.h>
+#endif
])
])
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/10
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4,
gsasl-commit <=
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/18
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/19
- CVS gsasl/gl/m4, gsasl-commit, 2006/01/19