diff options
author | Jim Meyering <jim@meyering.net> | 2006-01-13 13:35:26 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-01-13 13:35:26 +0000 |
commit | 6c1675394f2eabd130a814686724bc2004abd3fe (patch) | |
tree | bed3759440a95c6c9e551ac696a13cbbf8bd348c /m4 | |
parent | 86d43d38262b1ad9bb17aaf47b5569f8b44e2982 (diff) | |
download | coreutils-6c1675394f2eabd130a814686724bc2004abd3fe.tar.xz |
(AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses that variable,
to accommodate the rare case in which getmntent is available in none
of the libraries checked. This happens at least on FreeBSD 5.0.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ls-mntd-fs.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index ed243861c..af3eaa8c2 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -1,7 +1,7 @@ #serial 20 # How to list mounted file systems. -# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software +# Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation @@ -20,7 +20,8 @@ dnl AC_DEFUN([AC_FUNC_GETMNTENT], [# getmntent is in the standard C library on UNICOS, in -lsun on Irix 4, # -lseq on Dynix/PTX, -lgen on Unixware. -AC_SEARCH_LIBS(getmntent, [sun seq gen], [AC_CHECK_FUNCS(getmntent)]) +AC_SEARCH_LIBS(getmntent, [sun seq gen]) +AC_CHECK_FUNCS(getmntent) ]) # gl_LIST_MOUNTED_FILE_SYSTEMS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) |