diff options
| author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2024-11-06 09:24:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 09:24:23 +0100 |
| commit | 9b4df9e50837cc837e113053ba12ee6967d5e6c2 (patch) | |
| tree | bf989e771579f835bcb49c074637a8e224bcecbc /gl/m4/mountlist.m4 | |
| parent | 94150ae347beb25ac369d5773834ceef7f3736d3 (diff) | |
| parent | 5be04ec2ceb1df77afbca4fcbf9e92a712612d6f (diff) | |
| download | monitoring-plugins-9b4df9e50837cc837e113053ba12ee6967d5e6c2.tar.gz | |
Merge pull request #2037 from RincewindsHat/update/gnulib-1.0
Sync with the latest Gnulib code (d4ec02b3cc) (gnulib v1.0)
Diffstat (limited to 'gl/m4/mountlist.m4')
| -rw-r--r-- | gl/m4/mountlist.m4 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/gl/m4/mountlist.m4 b/gl/m4/mountlist.m4 index a9b4edb9..ff414e66 100644 --- a/gl/m4/mountlist.m4 +++ b/gl/m4/mountlist.m4 | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | # serial 15 | 1 | # mountlist.m4 |
| 2 | dnl Copyright (C) 2002-2006, 2009-2023 Free Software Foundation, Inc. | 2 | # serial 17 |
| 3 | dnl Copyright (C) 2002-2006, 2009-2024 Free Software Foundation, Inc. | ||
| 3 | dnl This file is free software; the Free Software Foundation | 4 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 5 | dnl gives unlimited permission to copy and/or distribute it, |
| 5 | 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. |
| @@ -106,7 +107,18 @@ $ac_includes_default | |||
| 106 | [Define if there is a function named getmntent for reading the list | 107 | [Define if there is a function named getmntent for reading the list |
| 107 | of mounted file systems, and that function takes a single argument. | 108 | of mounted file systems, and that function takes a single argument. |
| 108 | (4.3BSD, SunOS, HP-UX, Irix)]) | 109 | (4.3BSD, SunOS, HP-UX, Irix)]) |
| 109 | AC_CHECK_FUNCS([setmntent endmntent hasmntopt]) | 110 | gl_CHECK_FUNCS_ANDROID([setmntent], |
| 111 | [[#include <stdio.h> | ||
| 112 | #include <mntent.h> | ||
| 113 | ]]) | ||
| 114 | gl_CHECK_FUNCS_ANDROID([endmntent], | ||
| 115 | [[#include <stdio.h> | ||
| 116 | #include <mntent.h> | ||
| 117 | ]]) | ||
| 118 | gl_CHECK_FUNCS_ANDROID([hasmntopt], | ||
| 119 | [[#include <stdio.h> | ||
| 120 | #include <mntent.h> | ||
| 121 | ]]) | ||
| 110 | fi | 122 | fi |
| 111 | fi | 123 | fi |
| 112 | 124 | ||
