]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
authorAkim Demaille <akim@epita.fr>
Mon, 12 Nov 2001 16:11:43 +0000 (16:11 +0000)
committerAkim Demaille <akim@epita.fr>
Mon, 12 Nov 2001 16:11:43 +0000 (16:11 +0000)
ChangeLog
lib/autoconf/functions.m4

index 013ddc812809b38537937a5a1a037138727f0170..cb2ff45d7ff0ddc3e068241bb325801448c99579 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-12  Akim Demaille  <akim@epita.fr>
+
+       * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.
+
 2001-11-12  Akim Demaille  <akim@epita.fr>
 
        * lib/autoconf/c.m4, lib/autoconf/fortran.m4,
index 17e732c94a67a105986d64c19cb349d2072fb441..b06b7638d78a2ee8e8a2f95b2388e4a75c91e491 100644 (file)
@@ -590,9 +590,8 @@ AC_DEFUN([AC_FUNC_GETMNTENT],
 AC_CHECK_LIB(sun, getmntent, LIBS="-lsun $LIBS",
   [AC_CHECK_LIB(seq, getmntent, LIBS="-lseq $LIBS",
     [AC_CHECK_LIB(gen, getmntent, LIBS="-lgen $LIBS")])])
-AC_CHECK_FUNC(getmntent,
-              [AC_DEFINE(HAVE_GETMNTENT, 1,
-                         [Define to 1 if you have the `getmntent' function.])])])
+AC_CHECK_FUNCS(getmntent)
+])
 
 
 # AC_FUNC_GETPGRP