summaryrefslogtreecommitdiffstats
path: root/lib/fstypename.m4
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-12-15 20:47:26 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-12-15 20:47:26 (GMT)
commit82d1989d3245791c9fac22ca848f5497f261c10b (patch)
tree240017a6fcdcf7ecb5cfb2cbefb57de24de8b7c7 /lib/fstypename.m4
parent953a933e4d5900ec3c497781dab26066fef1e78b (diff)
downloadmonitoring-plugins-82d1989d3245791c9fac22ca848f5497f261c10b.tar.gz
Moving m4 files into m4/. Added extra coreutils files required from
autoconf tests. Updated Makefile.am to have nagiosplug lib and a separate coreutils lib git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1027 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/fstypename.m4')
-rw-r--r--lib/fstypename.m432
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/fstypename.m4 b/lib/fstypename.m4
deleted file mode 100644
index 75723a1..0000000
--- a/lib/fstypename.m4
+++ /dev/null
@@ -1,32 +0,0 @@
1#serial 3
2
3dnl From Jim Meyering.
4dnl
5dnl See if struct statfs has the f_fstypename member.
6dnl If so, define HAVE_F_FSTYPENAME_IN_STATFS.
7dnl
8
9AC_DEFUN([jm_FSTYPENAME],
10 [
11 AC_CACHE_CHECK([for f_fstypename in struct statfs],
12 fu_cv_sys_f_fstypename_in_statfs,
13 [
14 AC_TRY_COMPILE(
15 [
16#include <sys/param.h>
17#include <sys/types.h>
18#include <sys/mount.h>
19 ],
20 [struct statfs s; int i = sizeof s.f_fstypename;],
21 fu_cv_sys_f_fstypename_in_statfs=yes,
22 fu_cv_sys_f_fstypename_in_statfs=no
23 )
24 ]
25 )
26
27 if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
28 AC_DEFINE(HAVE_F_FSTYPENAME_IN_STATFS, 1,
29 [Define if struct statfs has the f_fstypename member.])
30 fi
31 ]
32)