]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Don't use AC_CHECK_FUNCS unless it's going to work.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2004 21:48:30 +0000 (21:48 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 6 Dec 2004 21:48:30 +0000 (21:48 +0000)
lib/autoconf/functions.m4

index 6c38720ed6732e8f32201abcbb5d64d68f281eb4..228b808a3aa27752960c96bb0732be361fa30fa4 100644 (file)
@@ -773,8 +773,7 @@ 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_CHECK_FUNCS(getmntent)
+AC_SEARCH_LIBS(getmntent, -lsun -lseq -lgen, [AC_CHECK_FUNCS(getmntent)])
 ])