]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
nfs-utils: fix AC_CHECK_FUNC calls in configure.ac
authorChuck Lever <chuck.lever@oracle.com>
Fri, 3 Apr 2009 19:03:15 +0000 (15:03 -0400)
committerSteve Dickson <steved@redhat.com>
Fri, 3 Apr 2009 19:03:15 +0000 (15:03 -0400)
AC_CHECK_FUNC and AC_CHECK_FUNCS take 3 args. Any ones beyond that are
ignored. In several places, we're passing the "action-if-not-found" in
as the 4th arg so it's being ignored.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
aclocal/ipv6.m4
configure.ac

index 0564b3e7067609e616d0b4f9bbc3e2d193257df8..ba9dcc236b2f37e4205771eef1b861ae187f0727 100644 (file)
@@ -15,7 +15,7 @@ AC_DEFUN([AC_IPV6], [
     fi
 
     dnl IPv6-enabled networking functions required for IPv6
-    AC_CHECK_FUNCS([getnameinfo bindresvport_sa], , ,
+    AC_CHECK_FUNCS([getnameinfo bindresvport_sa], ,
                    [AC_MSG_ERROR([Missing functions needed for IPv6.])])
 
     dnl Need to detect presence of IPv6 networking at run time via
index e34b7e257b756335bb2b0c22c53eee463b5dce50..f942238a6092d83dfa0a0b2746f6d685dcbf9561 100644 (file)
@@ -185,13 +185,13 @@ AC_CHECK_FUNC([connect], ,
               [AC_CHECK_LIB([socket], [connect], [LIBSOCKET="-lsocket"],
                     [AC_MSG_ERROR([Function 'socket' not found.])], [$LIBNSL])])
 
-AC_CHECK_FUNC([getaddrinfo], , ,
+AC_CHECK_FUNC([getaddrinfo], ,
               [AC_MSG_ERROR([Function 'getaddrinfo' not found.])])
 
-AC_CHECK_FUNC([getrpcbynumber], , ,
+AC_CHECK_FUNC([getrpcbynumber], ,
               [AC_MSG_ERROR([Function 'getrpcbynumber' not found.])])
 
-AC_CHECK_FUNC([getservbyname], , ,
+AC_CHECK_FUNC([getservbyname], ,
               [AC_MSG_ERROR([Function 'getservbyname' not found.])])
 
 AC_CHECK_LIB([crypt], [crypt], [LIBCRYPT="-lcrypt"])