>From cbf9cb454f76c64088989bd246f3e5f73256329c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Tue, 8 Jul 2014 18:17:03 +0100 Subject: [PATCH] mountlist: don't treat bind mounts as dummy mounts This was originally implemented with commit 613bcb62, however that change failed to check for hasmntopt(). Then a subsequent commit 62bb7a8b caused hasmntopt() to be replaced on most platforms. * m4/ls-mntd-fs.m4: Check for hasmntopt() in the MOUNTED_GETMNTENT1 case also. --- ChangeLog | 6 ++++++ m4/ls-mntd-fs.m4 | 1 + 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 81e800f..231558f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-07-08 Pádraig Brady + + mountlist: don't treat bind mounts as dummy mounts + * m4/ls-mntd-fs.m4: Check for hasmntopt() in the MOUNTED_GETMNTENT1 + case also. + 2014-07-07 Eli Zaretskii Paul Eggert diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index a5e169b..563ed71 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -151,6 +151,7 @@ if test $ac_cv_func_getmntent = yes; then [Define if there is a function named getmntent for reading the list of mounted file systems, and that function takes a single argument. (4.3BSD, SunOS, HP-UX, Dynix, Irix)]) + AC_CHECK_FUNCS([hasmntopt]) fi fi -- 1.7.7.6