X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fls-mntd-fs.m4;h=aa8ca2d5ab74eea3d9f45d05f21096059adf4602;hb=d7d7b7d2d480289694d07698ae6149b6ee964ff2;hp=3138dfc871d59d96290a1e8ee1f45c544f7e33c6;hpb=d5cb2b575ebfd62dd3a52ab3398fe4b1eae03aed;p=gnulib.git diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index 3138dfc87..aa8ca2d5a 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,21 +1,19 @@ -#serial 4 +#serial 5 dnl From Jim Meyering. dnl dnl This is not pretty. I've just taken the autoconf code and wrapped dnl it in an AC_DEFUN. dnl -dnl CAUTION: This is very fragile. It relies on several checks that -dnl are still in fileutils' configure.in: -dnl FIXME: add AC_REQUIRE uses to pull in all definitions required -dnl for all uses of $ac_cv_func_* and $ac_cv_header_* variables below. -dnl AC_PREREQ(2.14a) # jm_LIST_MOUNTED_FILESYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) AC_DEFUN(jm_LIST_MOUNTED_FILESYSTEMS, [ +AC_CHECK_FUNCS(listmntent getmntent getmntinfo) +AC_CHECK_HEADERS(mntent.h) + # Determine how to get the list of mounted filesystems. ac_list_mounted_fs= @@ -213,7 +211,7 @@ if test -z "$ac_list_mounted_fs"; then AC_MSG_RESULT($fu_result) if test $fu_result = yes; then ac_list_mounted_fs=found - AC_DEFINE(MOUNTED_NEXT_DEV, 1, + AC_DEFINE(MOUNTED_FS_STAT_DEV, 1, [Define if there are functions named next_dev and fs_stat_dev for reading the list of mounted filesystems. (BeOS)]) fi