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 with a stub on most platforms.
* m4/ls-mntd-fs.m4: Check for hasmntopt() on platforms with
1-argument getmntent() (instead of assuming absence).
+2014-07-09 Andrew D Warshall <warshall@99main.com>
+
+ mountlist: do not classify a bind-mounted dir entry as "dummy"
+ * m4/ls-mntd-fs.m4: Check for hasmntopt() on platforms with
+ 1-argument getmntent() (instead of assuming absence).
+
2014-07-08 Eric Blake <eblake@redhat.com>
maint.mk: less syntax-check noise when SIGPIPE is ignored
[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