1
1

* acinclude.m4 (AC_GET_FS_INFO): Fix checking for f_fstypename

in struct statfs.
Reported by Libor Motyka <libor.motycka@ortex.cz>.
Этот коммит содержится в:
Pavel Roskin 2001-06-22 18:51:55 +00:00
родитель 2ba50c0365
Коммит 18dac21c0d
2 изменённых файлов: 8 добавлений и 5 удалений

Просмотреть файл

@ -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