]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
authorStepan Kasal <kasal@ucw.cz>
Fri, 15 Sep 2006 14:53:43 +0000 (14:53 +0000)
committerStepan Kasal <kasal@ucw.cz>
Fri, 15 Sep 2006 14:53:43 +0000 (14:53 +0000)
expansion of AC_CHECK_FUNCS.

ChangeLog
lib/autoconf/functions.m4

index 5c1e5fec8156f1d787954d6d307ec71cf57ccbf8..94c502c8fe9a5d01203b0f1dc55e224c1a6f9bfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,13 @@
+2006-09-15  Stepan Kasal  <kasal@ucw.cz>
+
+       * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the
+       expansion of AC_CHECK_FUNCS.
+
 2006-09-14  Stepan Kasal  <kasal@ucw.cz>
 
        * 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  <Ralf.Wildenhues@gmx.de>
 
@@ -28,8 +33,8 @@
 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
 
        * 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  <eggert@cs.ucla.edu>
index eb9c8f4e733a9465869157eefa53837344af3957..a18274c1f7519558c975188eb222b284bacd11c6 100644 (file)
@@ -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])
 ])