* lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS.

This commit is contained in:
Akim Demaille 2001-11-12 16:11:43 +00:00
parent 371707922f
commit 9bbb080f54
2 changed files with 6 additions and 3 deletions

View File

@ -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,

View 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