summaryrefslogtreecommitdiffstats
path: root/m4/fstypename.m4
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2007-01-24 22:47:25 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2007-01-24 22:47:25 (GMT)
commitfe856aa957978504137c1d425815d4ed8a22be40 (patch)
treea5bb46ce0e64b2056f75700eadbf27aba7c39418 /m4/fstypename.m4
parent210f39bc84cfbb21cd72dc054e43f13815ee0616 (diff)
downloadmonitoring-plugins-fe856aa957978504137c1d425815d4ed8a22be40.tar.gz
Sync with gnulib - lots of extraneous code removed in preference to GNU code
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1580 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'm4/fstypename.m4')
-rw-r--r--m4/fstypename.m437
1 files changed, 0 insertions, 37 deletions
diff --git a/m4/fstypename.m4 b/m4/fstypename.m4
deleted file mode 100644
index 7ff33e2..0000000
--- a/m4/fstypename.m4
+++ /dev/null
@@ -1,37 +0,0 @@
1#serial 5
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
9# Copyright (C) 1998, 1999, 2001, 2004 Free Software Foundation, Inc.
10# This file is free software; the Free Software Foundation
11# gives unlimited permission to copy and/or distribute it,
12# with or without modifications, as long as this notice is preserved.
13
14AC_DEFUN([gl_FSTYPENAME],
15 [
16 AC_CACHE_CHECK([for f_fstypename in struct statfs],
17 fu_cv_sys_f_fstypename_in_statfs,
18 [
19 AC_TRY_COMPILE(
20 [
21#include <sys/param.h>
22#include <sys/types.h>
23#include <sys/mount.h>
24 ],
25 [struct statfs s; int i = sizeof s.f_fstypename;],
26 fu_cv_sys_f_fstypename_in_statfs=yes,
27 fu_cv_sys_f_fstypename_in_statfs=no
28 )
29 ]
30 )
31
32 if test $fu_cv_sys_f_fstypename_in_statfs = yes; then
33 AC_DEFINE(HAVE_F_FSTYPENAME_IN_STATFS, 1,
34 [Define if struct statfs has the f_fstypename member.])
35 fi
36 ]
37)