Sync with gnulib 1b357ec51ac32ebc6262373a354ffd33e5bba8c0.

Remove some of the support for obsolete IRIX 4 and 5.

* m4.include/gnulib/mountlist.m4 (AC_FUNC_GETMNTENT): Don't test for
getmntent in libsun.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2021-01-05 20:29:40 +03:00
parent f469197c79
commit 6af68462dd

View File

@ -1,5 +1,5 @@
# serial 14
dnl Copyright (C) 2002-2006, 2009-2019 Free Software Foundation, Inc.
# serial 15
dnl Copyright (C) 2002-2006, 2009-2021 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@ -331,8 +331,8 @@ AC_DEFUN([gl_PREREQ_MOUNTLIST_EXTRA],
# nowadays.
AC_DEFUN([AC_FUNC_GETMNTENT],
[
# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
# -lgen on Unixware.
AC_SEARCH_LIBS([getmntent], [sun gen])
# getmntent is in the standard C library on most systems, but in -lgen on
# Unixware.
AC_SEARCH_LIBS([getmntent], [gen])
AC_CHECK_FUNCS([getmntent])
])