summaryrefslogtreecommitdiffstats
path: root/gl/m4/mountlist.m4
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-03-26 12:53:53 +0100
committerGitHub <noreply@github.com>2026-03-26 12:53:53 +0100
commit13e14a6bfd9f29cbfeab0c5161d2a994f97532e7 (patch)
tree3aa7186fe092e42783dc7e981dc39a74ea61c466 /gl/m4/mountlist.m4
parent9d8503f90ef25b2cecd324dc118e441f40233ea8 (diff)
downloadmonitoring-plugins-13e14a6bfd9f29cbfeab0c5161d2a994f97532e7.tar.gz
Update/gnulib 2026 03 (#2247)HEADmaster
* Sync with the 202601-stable Gnulib code (4a3650d887) * Ignore more deps stuff in gnulib * Remove autogenerated gnulib files * Ignore more gnulib generated headers
Diffstat (limited to 'gl/m4/mountlist.m4')
-rw-r--r--gl/m4/mountlist.m415
1 files changed, 7 insertions, 8 deletions
diff --git a/gl/m4/mountlist.m4 b/gl/m4/mountlist.m4
index e7eac2e9..311e00b2 100644
--- a/gl/m4/mountlist.m4
+++ b/gl/m4/mountlist.m4
@@ -1,6 +1,6 @@
1# mountlist.m4 1# mountlist.m4
2# serial 18 2# serial 20
3dnl Copyright (C) 2002-2006, 2009-2025 Free Software Foundation, Inc. 3dnl Copyright (C) 2002-2006, 2009-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.
@@ -75,7 +75,7 @@ $ac_includes_default
75 # Determine whether it's the one-argument variant or the two-argument one. 75 # Determine whether it's the one-argument variant or the two-argument one.
76 76
77 if test -z "$ac_list_mounted_fs"; then 77 if test -z "$ac_list_mounted_fs"; then
78 # glibc, HP-UX, IRIX, Cygwin, Android, also (obsolete) 4.3BSD, SunOS. 78 # glibc, HP-UX, Cygwin, Android, also (obsolete) 4.3BSD, SunOS.
79 AC_CACHE_CHECK([for one-argument getmntent function], 79 AC_CACHE_CHECK([for one-argument getmntent function],
80 [fu_cv_sys_mounted_getmntent1], 80 [fu_cv_sys_mounted_getmntent1],
81 [AC_COMPILE_IFELSE( 81 [AC_COMPILE_IFELSE(
@@ -107,7 +107,7 @@ $ac_includes_default
107 AC_DEFINE([MOUNTED_GETMNTENT1], [1], 107 AC_DEFINE([MOUNTED_GETMNTENT1], [1],
108 [Define if there is a function named getmntent for reading the list 108 [Define if there is a function named getmntent for reading the list
109 of mounted file systems, and that function takes a single argument. 109 of mounted file systems, and that function takes a single argument.
110 (4.3BSD, SunOS, HP-UX, Irix)]) 110 (4.3BSD, SunOS, HP-UX)])
111 gl_CHECK_FUNCS_ANDROID([setmntent], 111 gl_CHECK_FUNCS_ANDROID([setmntent],
112 [[#include <stdio.h> 112 [[#include <stdio.h>
113 #include <mntent.h> 113 #include <mntent.h>
@@ -159,7 +159,7 @@ $ac_includes_default
159 fi 159 fi
160 160
161 if test -z "$ac_list_mounted_fs"; then 161 if test -z "$ac_list_mounted_fs"; then
162 # OSF/1, also (obsolete) Apple Darwin 1.3. 162 # (obsolete) Apple Darwin 1.3.
163 # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h 163 # powerpc-apple-darwin1.3.7 needs sys/param.h sys/ucred.h sys/fs_types.h
164 164
165 AC_CACHE_CHECK([for getfsstat function], 165 AC_CACHE_CHECK([for getfsstat function],
@@ -185,7 +185,7 @@ $getfsstat_includes
185 ac_list_mounted_fs=found 185 ac_list_mounted_fs=found
186 AC_DEFINE([MOUNTED_GETFSSTAT], [1], 186 AC_DEFINE([MOUNTED_GETFSSTAT], [1],
187 [Define if there is a function named getfsstat for reading the 187 [Define if there is a function named getfsstat for reading the
188 list of mounted file systems. (DEC Alpha running OSF/1)]) 188 list of mounted file systems. (obsolete Darwin)])
189 fi 189 fi
190 fi 190 fi
191 191
@@ -212,10 +212,9 @@ $getfsstat_includes
212 212
213 if test -z "$ac_list_mounted_fs"; then 213 if test -z "$ac_list_mounted_fs"; then
214 # Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, also (obsolete) 4.4BSD. 214 # Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, also (obsolete) 4.4BSD.
215 # OSF/1 also has getmntinfo but is already handled above.
216 # We cannot use AC_CHECK_FUNCS([getmntinfo]) here, because at the linker 215 # We cannot use AC_CHECK_FUNCS([getmntinfo]) here, because at the linker
217 # level the function is sometimes called getmntinfo64 or getmntinfo$INODE64 216 # level the function is sometimes called getmntinfo64 or getmntinfo$INODE64
218 # on Mac OS X, __getmntinfo13 on NetBSD and Minix, _F64_getmntinfo on OSF/1. 217 # on Mac OS X, __getmntinfo13 on NetBSD and Minix.
219 AC_CACHE_CHECK([for getmntinfo function], 218 AC_CACHE_CHECK([for getmntinfo function],
220 [fu_cv_sys_mounted_getmntinfo], 219 [fu_cv_sys_mounted_getmntinfo],
221 [AC_LINK_IFELSE( 220 [AC_LINK_IFELSE(