summaryrefslogtreecommitdiffstats
path: root/gl/m4/fcntl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gl/m4/fcntl.m4')
-rw-r--r--gl/m4/fcntl.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/gl/m4/fcntl.m4 b/gl/m4/fcntl.m4
index 524a99af..08ab936f 100644
--- a/gl/m4/fcntl.m4
+++ b/gl/m4/fcntl.m4
@@ -1,8 +1,10 @@
1# fcntl.m4 serial 11 1# fcntl.m4
2dnl Copyright (C) 2009-2023 Free Software Foundation, Inc. 2# serial 12
3dnl Copyright (C) 2009-2025 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 4dnl This file is free software; the Free Software Foundation
4dnl gives unlimited permission to copy and/or distribute it, 5dnl gives unlimited permission to copy and/or distribute it,
5dnl with or without modifications, as long as this notice is preserved. 6dnl with or without modifications, as long as this notice is preserved.
7dnl This file is offered as-is, without any warranty.
6 8
7# For now, this module ensures that fcntl() 9# For now, this module ensures that fcntl()
8# - supports F_DUPFD correctly 10# - supports F_DUPFD correctly
@@ -82,7 +84,7 @@ AC_DEFUN([gl_FUNC_FCNTL],
82 esac 84 esac
83 85
84 dnl Many systems lack F_DUPFD_CLOEXEC. 86 dnl Many systems lack F_DUPFD_CLOEXEC.
85 dnl NetBSD 9.0 declares F_DUPFD_CLOEXEC but it works only like F_DUPFD. 87 dnl NetBSD 10.0 declares F_DUPFD_CLOEXEC but it works only like F_DUPFD.
86 AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC], 88 AC_CACHE_CHECK([whether fcntl understands F_DUPFD_CLOEXEC],
87 [gl_cv_func_fcntl_f_dupfd_cloexec], 89 [gl_cv_func_fcntl_f_dupfd_cloexec],
88 [AC_RUN_IFELSE( 90 [AC_RUN_IFELSE(