diff --git a/m4.include/ls-mntd-fs.m4 b/m4.include/ls-mntd-fs.m4 index 7e4aa192a..4c8b4ac77 100644 --- a/m4.include/ls-mntd-fs.m4 +++ b/m4.include/ls-mntd-fs.m4 @@ -1,7 +1,7 @@ -# serial 32 +# serial 33 # How to list mounted file systems. -# Copyright (C) 1998-2004, 2006, 2009-2015 Free Software Foundation, Inc. +# Copyright (C) 1998-2004, 2006, 2009-2017 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, @@ -26,6 +26,7 @@ AC_CHECK_FUNCS([getmntent]) # gl_LIST_MOUNTED_FILE_SYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) AC_DEFUN([gl_LIST_MOUNTED_FILE_SYSTEMS], [ +AC_REQUIRE([AC_CANONICAL_HOST]) AC_CHECK_FUNCS([listmntent getmntinfo]) AC_CHECK_HEADERS_ONCE([sys/param.h sys/statvfs.h])