mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Sync with gnulib 844f63f9576ebb74fde62e5017bf838c69db22c4.
* m4.include/gnulib/ls-mntd-fs.m4: Require Autoconf >= 2.60. Update comments. Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
03e69e1f36
commit
9c6a8e6c24
@ -1,25 +1,25 @@
|
|||||||
# serial 35
|
# serial 36
|
||||||
# How to list mounted file systems.
|
# How to list mounted file systems.
|
||||||
|
|
||||||
# Copyright (C) 1998-2004, 2006, 2009-2017 Free Software Foundation, Inc.
|
# Copyright (C) 1998-2004, 2006, 2009-2018 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
||||||
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl
|
|
||||||
|
AC_PREREQ([2.60])
|
||||||
|
|
||||||
dnl This is not pretty. I've just taken the autoconf code and wrapped
|
dnl This is not pretty. I've just taken the autoconf code and wrapped
|
||||||
dnl it in an AC_DEFUN and made some other fixes.
|
dnl it in an AC_DEFUN and made some other fixes.
|
||||||
dnl
|
|
||||||
|
|
||||||
# Replace Autoconf's AC_FUNC_GETMNTENT to work around a bug in Autoconf
|
# Replace Autoconf's AC_FUNC_GETMNTENT to omit checks that are unnecessary
|
||||||
# through Autoconf 2.59. We can remove this once we assume Autoconf 2.60
|
# nowadays.
|
||||||
# or later.
|
|
||||||
AC_DEFUN([AC_FUNC_GETMNTENT],
|
AC_DEFUN([AC_FUNC_GETMNTENT],
|
||||||
[
|
[
|
||||||
# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
|
# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
|
||||||
# -lseq on Unixware.
|
# -lgen on Unixware.
|
||||||
AC_SEARCH_LIBS([getmntent], [sun gen])
|
AC_SEARCH_LIBS([getmntent], [sun gen])
|
||||||
AC_CHECK_FUNCS([getmntent])
|
AC_CHECK_FUNCS([getmntent])
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user