diff -Naurx '*~' coreutils-8.22-orig/ChangeLog coreutils-8.22/ChangeLog --- coreutils-8.22-orig/ChangeLog 2013-12-18 20:30:27.000000000 -0500 +++ coreutils-8.22/ChangeLog 2013-12-18 20:41:16.000000000 -0500 @@ -1,3 +1,8 @@ +2013-12-18 Andrew D Warshall + + * m4/ls-mntd-fs.m4: Check for hasmntopt() on platforms with + 1-argument getmntent() (instead of assuming absence). + 2013-12-13 Pádraig Brady version 8.22 diff -Naurx '*~' coreutils-8.22-orig/m4/ls-mntd-fs.m4 coreutils-8.22/m4/ls-mntd-fs.m4 --- coreutils-8.22-orig/m4/ls-mntd-fs.m4 2013-12-18 20:30:27.000000000 -0500 +++ coreutils-8.22/m4/ls-mntd-fs.m4 2013-12-18 20:32:22.000000000 -0500 @@ -151,6 +151,7 @@ [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