diff options
Diffstat (limited to 'gl/m4/fcntl_h.m4')
| -rw-r--r-- | gl/m4/fcntl_h.m4 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gl/m4/fcntl_h.m4 b/gl/m4/fcntl_h.m4 index 1c9f9cce..946a0bd6 100644 --- a/gl/m4/fcntl_h.m4 +++ b/gl/m4/fcntl_h.m4 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | # fcntl_h.m4 | 1 | # fcntl_h.m4 |
| 2 | # serial 20 | 2 | # serial 21 |
| 3 | dnl Copyright (C) 2006-2007, 2009-2025 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 2006-2007, 2009-2026 Free Software Foundation, Inc. |
| 4 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 5 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 6 | dnl with or without modifications, as long as this notice is preserved. | 6 | dnl with or without modifications, as long as this notice is preserved. |
| @@ -26,7 +26,7 @@ AC_DEFUN_ONCE([gl_FCNTL_H], | |||
| 26 | dnl corresponding gnulib module is not in use, if it is not common | 26 | dnl corresponding gnulib module is not in use, if it is not common |
| 27 | dnl enough to be declared everywhere. | 27 | dnl enough to be declared everywhere. |
| 28 | gl_WARN_ON_USE_PREPARE([[#include <fcntl.h> | 28 | gl_WARN_ON_USE_PREPARE([[#include <fcntl.h> |
| 29 | ]], [fcntl openat]) | 29 | ]], [fcntl openat openat2]) |
| 30 | ]) | 30 | ]) |
| 31 | 31 | ||
| 32 | # gl_FCNTL_MODULE_INDICATOR([modulename]) | 32 | # gl_FCNTL_MODULE_INDICATOR([modulename]) |
| @@ -53,6 +53,7 @@ AC_DEFUN([gl_FCNTL_H_REQUIRE_DEFAULTS], | |||
| 53 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NONBLOCKING]) | 53 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NONBLOCKING]) |
| 54 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPEN]) | 54 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPEN]) |
| 55 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT]) | 55 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT]) |
| 56 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT2]) | ||
| 56 | dnl Support Microsoft deprecated alias function names by default. | 57 | dnl Support Microsoft deprecated alias function names by default. |
| 57 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CREAT], [1]) | 58 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CREAT], [1]) |
| 58 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_OPEN], [1]) | 59 | gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_OPEN], [1]) |
| @@ -66,6 +67,7 @@ AC_DEFUN([gl_FCNTL_H_DEFAULTS], | |||
| 66 | dnl Assume proper GNU behavior unless another module says otherwise. | 67 | dnl Assume proper GNU behavior unless another module says otherwise. |
| 67 | HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) | 68 | HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) |
| 68 | HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) | 69 | HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) |
| 70 | HAVE_OPENAT2=0; AC_SUBST([HAVE_OPENAT2]) | ||
| 69 | REPLACE_CREAT=0; AC_SUBST([REPLACE_CREAT]) | 71 | REPLACE_CREAT=0; AC_SUBST([REPLACE_CREAT]) |
| 70 | REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) | 72 | REPLACE_FCNTL=0; AC_SUBST([REPLACE_FCNTL]) |
| 71 | REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) | 73 | REPLACE_OPEN=0; AC_SUBST([REPLACE_OPEN]) |
