From: Steve Dickson <SteveD@redhat.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: jlayton@redhat.com, linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfs-utils: fix AC_CHECK_FUNC calls in configure.ac
Date: Sat, 04 Apr 2009 07:53:12 -0400 [thread overview]
Message-ID: <49D74A28.1010905@RedHat.com> (raw)
In-Reply-To: <20090316185007.13728.1047.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
Chuck Lever wrote:
> From: Jeff Layton <jlayton@redhat.com>
>
> 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>
> ---
>
> Steve-
>
> Thanks for committing the other patches. Here's one more nit that Jeff
> found recently.
>
> aclocal/ipv6.m4 | 2 +-
> configure.ac | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/aclocal/ipv6.m4 b/aclocal/ipv6.m4
> index 0564b3e..ba9dcc2 100644
> --- a/aclocal/ipv6.m4
> +++ b/aclocal/ipv6.m4
> @@ -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
> diff --git a/configure.ac b/configure.ac
> index e34b7e2..f942238 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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"])
>
Committed..
steved
prev parent reply other threads:[~2009-04-04 11:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 18:51 [PATCH] nfs-utils: fix AC_CHECK_FUNC calls in configure.ac Chuck Lever
[not found] ` <20090316185007.13728.1047.stgit-07a7zB5ZJzbwdl/1UfZZQIVfYA8g3rJ/@public.gmane.org>
2009-04-04 11:53 ` Steve Dickson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49D74A28.1010905@RedHat.com \
--to=steved@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=jlayton@redhat.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.