autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch from coreutils/gnulib for AC_FUNC_GETMNTENT


From: Paul Eggert
Subject: patch from coreutils/gnulib for AC_FUNC_GETMNTENT
Date: Sun, 21 May 2006 21:46:34 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I missed this patch in my earlier sweep looking for patches from
coreutils/gnulib into autoconf.  I installed it now.

2006-05-21  Paul Eggert  <address@hidden>

        * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT):
        Import the following fix from coreutils:

        2006-01-13  Jim Meyering  <address@hidden>

        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 of 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.

--- functions.m4.~1.100.~       2006-05-18 15:37:22.000000000 -0700
+++ functions.m4        2006-05-21 21:41:06.000000000 -0700
@@ -799,7 +799,8 @@ AN_FUNCTION([getmntent], [AC_FUNC_GETMNT
 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)
 ])
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]