diff options
Diffstat (limited to 'm4/fstypename.m4')
-rw-r--r-- | m4/fstypename.m4 | 37 |
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 | |||
3 | dnl From Jim Meyering. | ||
4 | dnl | ||
5 | dnl See if struct statfs has the f_fstypename member. | ||
6 | dnl If so, define HAVE_F_FSTYPENAME_IN_STATFS. | ||
7 | dnl | ||
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 | |||
14 | AC_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 | ) | ||