Sync with gnulib 3b1faeb2e29b62588709208f97d34c1787777dcb.

* m4.include/ls-mntd-fs.m4: make sure $host and $host_os are defined
when used.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2017-07-16 09:06:53 +03:00
parent 3a3a6479d3
commit d5f4e631c3

View File

@ -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])