2006-05-22 Stepan Kasal * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the expansion of AC_CHECK_FUNCS. Index: lib/autoconf/functions.m4 =================================================================== RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/functions.m4,v retrieving revision 1.101 diff -u -r1.101 functions.m4 --- lib/autoconf/functions.m4 22 May 2006 04:45:03 -0000 1.101 +++ lib/autoconf/functions.m4 22 May 2006 09:34:34 -0000 @@ -799,8 +799,11 @@ 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_cv_func_getmntent=yes + AC_DEFINE([HAVE_GETMNTENT], [], + [Define to 1 if you have the `getmntent' function.])], + [ac_cv_func_getmntent=no]) ])