mirror of https://github.com/MidnightCommander/mc
* acinclude.m4 (AC_GET_FS_INFO): Fix checking for f_fstypename
in struct statfs. Reported by Libor Motyka <libor.motycka@ortex.cz>.
This commit is contained in:
parent
2ba50c0365
commit
18dac21c0d
|
@ -1,5 +1,9 @@
|
|||
2001-06-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* acinclude.m4 (AC_GET_FS_INFO): Fix checking for f_fstypename
|
||||
in struct statfs.
|
||||
Reported by Libor Motyèka <libor.motycka@ortex.cz>.
|
||||
|
||||
* acinclude.m4 (AC_GET_FS_INFO): Warn only once that the list of
|
||||
mounted filesystems cannot be read. Don't define NO_INFOMOUNT.
|
||||
Define HAVE_INFOMOUNT_LIST if a any suitable function has been
|
||||
|
|
|
@ -189,11 +189,10 @@ AC_DEFUN([AC_GET_FS_INFO], [
|
|||
AC_DEFINE(MOUNTED_GETMNTINFO)
|
||||
AC_MSG_CHECKING([if struct statfs has f_fstypename])
|
||||
AC_CACHE_VAL(fu_cv_sys_mounted_f_fstypename,
|
||||
[
|
||||
AC_EGREP_HEADER(f_type;, sys/mount.h, ok=yes, ok=)
|
||||
test -n "$ok" \
|
||||
&& fu_cv_sys_mounted_f_fstypename=yes \
|
||||
|| fu_cv_sys_mounted_f_fstypename=no
|
||||
[AC_EGREP_HEADER([f_fstypename],
|
||||
[sys/mount.h],
|
||||
[fu_cv_sys_mounted_f_fstypename=yes],
|
||||
[fu_cv_sys_mounted_f_fstypename=no])
|
||||
])
|
||||
AC_MSG_RESULT([$fu_cv_sys_mounted_f_fstypename])
|
||||
if test $fu_cv_sys_mounted_f_fstypename = yes; then
|
||||
|
|
Loading…
Reference in New Issue