From: Stepan Kasal Date: Fri, 15 Sep 2006 14:53:43 +0000 (+0000) Subject: * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the X-Git-Tag: AUTOCONF-2.60b~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14729d1aa4547787b0a4355086dfb2285f923689;p=thirdparty%2Fautoconf.git * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the expansion of AC_CHECK_FUNCS. --- diff --git a/ChangeLog b/ChangeLog index 5c1e5fec..94c502c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,13 @@ +2006-09-15 Stepan Kasal + + * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the + expansion of AC_CHECK_FUNCS. + 2006-09-14 Stepan Kasal * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a - mistaken comment: the path has to be relative; do not use - the path at runtime. + mistaken comment: the path has to be relative; do not use + the path at runtime. 2006-09-13 Ralf Wildenhues @@ -28,8 +33,8 @@ 2006-09-11 Stepan Kasal * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite - works with GNU M4 1.4.3 again; make the normalized form - match the current m4 message; fix the description. + works with GNU M4 1.4.3 again; make the normalized form + match the current m4 message; fix the description. * test/tools.at (autom4te cache): Adapt to the change. 2006-09-08 Paul Eggert diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index eb9c8f4e..a18274c1 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -801,8 +801,11 @@ AN_FUNCTION([getmntent], [AC_FUNC_GETMNTENT]) 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]) ])