]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix typo in previous patch.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2004 21:40:13 +0000 (21:40 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2004 21:40:13 +0000 (21:40 +0000)
lib/autoconf/functions.m4

index 0b13023bffc871cb870383260e1d09110f185c2c..6c38720ed6732e8f32201abcbb5d64d68f281eb4 100644 (file)
@@ -773,9 +773,8 @@ 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, -lsun -lseq -lgen,
-  [AC_DEFINE([HAVE_GETMNTENT], 1,
-     [Define to 1 if you have the `getmntent' function.])])
+AC_SEARCH_LIBS(getmntent, -lsun -lseq -lgen)
+AC_CHECK_FUNCS(getmntent)
 ])