summaryrefslogtreecommitdiffstats
path: root/gl/m4/sys_socket_h.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/sys_socket_h.m4')
-rw-r--r--gl/m4/sys_socket_h.m415
1 files changed, 2 insertions, 13 deletions
diff --git a/gl/m4/sys_socket_h.m4 b/gl/m4/sys_socket_h.m4
index fb69209b..cdc374e4 100644
--- a/gl/m4/sys_socket_h.m4
+++ b/gl/m4/sys_socket_h.m4
@@ -1,6 +1,6 @@
1# sys_socket_h.m4 1# sys_socket_h.m4
2# serial 31 2# serial 32
3dnl Copyright (C) 2005-2025 Free Software Foundation, Inc. 3dnl Copyright (C) 2005-2026 Free Software Foundation, Inc.
4dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
5dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
6dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
@@ -13,17 +13,6 @@ AC_DEFUN_ONCE([gl_SYS_SOCKET_H],
13 AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) 13 AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS])
14 AC_REQUIRE([AC_CANONICAL_HOST]) 14 AC_REQUIRE([AC_CANONICAL_HOST])
15 15
16 dnl On OSF/1, the functions recv(), send(), recvfrom(), sendto() have
17 dnl old-style declarations (with return type 'int' instead of 'ssize_t')
18 dnl unless _POSIX_PII_SOCKET is defined.
19 case "$host_os" in
20 osf*)
21 AC_DEFINE([_POSIX_PII_SOCKET], [1],
22 [Define to 1 in order to get the POSIX compatible declarations
23 of socket functions.])
24 ;;
25 esac
26
27 GL_GENERATE_SYS_SOCKET_H=false 16 GL_GENERATE_SYS_SOCKET_H=false
28 AC_CACHE_CHECK([whether <sys/socket.h> is self-contained], 17 AC_CACHE_CHECK([whether <sys/socket.h> is self-contained],
29 [gl_cv_header_sys_socket_h_selfcontained], 18 [gl_cv_header_sys_socket_h_selfcontained],