- AC_MSG_CHECKING([for next_dev function])
- AC_CACHE_VAL(fu_cv_sys_mounted_next_dev,
- [AC_TRY_CPP([#include <fs_info.h>],
- fu_cv_sys_mounted_next_dev=yes,
- fu_cv_sys_mounted_next_dev=no)])
- AC_MSG_RESULT($fu_cv_sys_mounted_next_dev)
- if test $fu_cv_sys_mounted_next_dev = yes; then
+ AC_CHECK_FUNCS(next_dev fs_stat_dev)
+ AC_CHECK_HEADERS(fs_info.h)
+ AC_MSG_CHECKING([for BEOS mounted file system support functions])
+ if test $ac_cv_header_fs_info_h = yes \
+ && test $ac_cv_func_next_dev = yes \
+ && test $ac_cv_func_fs_stat_dev = yes; then
+ fu_result=yes
+ else
+ fu_result=no
+ fi
+ AC_MSG_RESULT($fu_result)
+ if test $fu_result = yes; then