summaryrefslogtreecommitdiff
path: root/m4/ls-mntd-fs.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-07-01 13:43:46 +0000
committerJim Meyering <jim@meyering.net>2000-07-01 13:43:46 +0000
commit9657d66244191b2a7ad8bc66152344cb4ee598fc (patch)
tree0e455a3269e230417544a5e59f0e1b637b1ccde9 /m4/ls-mntd-fs.m4
parent9a4135570bc8f83ca2f379b9fa9651a2b348de6f (diff)
downloadcoreutils-9657d66244191b2a7ad8bc66152344cb4ee598fc.tar.xz
Remove a `FIXME' comment and fix the associated problem.
Diffstat (limited to 'm4/ls-mntd-fs.m4')
-rw-r--r--m4/ls-mntd-fs.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4
index 4962d6923..aa8ca2d5a 100644
--- a/m4/ls-mntd-fs.m4
+++ b/m4/ls-mntd-fs.m4
@@ -5,17 +5,15 @@ 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=