diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
|---|---|---|
| committer | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-12-28 12:13:40 +0100 |
| commit | b0afb8fe0ff1d87165af9df61501197a06240dda (patch) | |
| tree | 274ac6a96c53ef4c19ab4974ce24a06a233128c5 /gl/m4/open.m4 | |
| parent | 68fc05381ee5fa0aee1413118fbb3d81ca888b09 (diff) | |
| download | monitoring-plugins-b0afb8fe0ff1d87165af9df61501197a06240dda.tar.gz | |
Sync with Gnulib stable-202507 code (a8ac9f9ce5)
Diffstat (limited to 'gl/m4/open.m4')
| -rw-r--r-- | gl/m4/open.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gl/m4/open.m4 b/gl/m4/open.m4 index 62a11a11..dd3a805f 100644 --- a/gl/m4/open.m4 +++ b/gl/m4/open.m4 | |||
| @@ -1,14 +1,18 @@ | |||
| 1 | # open.m4 | 1 | # open.m4 |
| 2 | # serial 16 | 2 | # serial 17 |
| 3 | dnl Copyright (C) 2007-2024 Free Software Foundation, Inc. | 3 | dnl Copyright (C) 2007-2025 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. |
| 7 | dnl This file is offered as-is, without any warranty. | ||
| 7 | 8 | ||
| 8 | AC_DEFUN([gl_FUNC_OPEN], | 9 | AC_DEFUN([gl_FUNC_OPEN], |
| 9 | [ | 10 | [ |
| 10 | AC_REQUIRE([AC_CANONICAL_HOST]) | 11 | AC_REQUIRE([AC_CANONICAL_HOST]) |
| 11 | AC_REQUIRE([gl_PREPROC_O_CLOEXEC]) | 12 | AC_REQUIRE([gl_PREPROC_O_CLOEXEC]) |
| 13 | AC_REQUIRE([gl_FCNTL_O_FLAGS]) | ||
| 14 | AS_CASE([$gl_cv_header_working_fcntl_h], | ||
| 15 | [*O_DIRECTORY* | *no], [REPLACE_OPEN=1]) | ||
| 12 | case "$host_os" in | 16 | case "$host_os" in |
| 13 | mingw* | windows* | pw*) | 17 | mingw* | windows* | pw*) |
| 14 | REPLACE_OPEN=1 | 18 | REPLACE_OPEN=1 |
