All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Jeff Layton <jlayton@redhat.com>
Cc: linux-nfs@vger.kernel.org, chuck.lever@oracle.com
Subject: Re: [PATCH] autoconf: make the test for prctl have an effect
Date: Tue, 29 May 2012 15:15:51 -0400	[thread overview]
Message-ID: <4FC52067.5040101@RedHat.com> (raw)
In-Reply-To: <1337267688-3957-1-git-send-email-jlayton@redhat.com>



On 05/17/2012 11:14 AM, Jeff Layton wrote:
> We currently test to ensure that prctl() is available, but the results
> of that test are a no-op either way. statd calls prctl()
> unconditionally, so make configure bail out if prctl() isn't available
> since the build will fail in that event anyway.
> 
> Cc: Chuck Lever <chuck.lever@oracle.com>
> Signed-off-by: Jeff Layton <jlayton@redhat.com>
Committed....

steved.
> ---
>  aclocal/libcap.m4 |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/aclocal/libcap.m4 b/aclocal/libcap.m4
> index 68a624c..f8a0ed1 100644
> --- a/aclocal/libcap.m4
> +++ b/aclocal/libcap.m4
> @@ -3,7 +3,7 @@ dnl
>  AC_DEFUN([AC_LIBCAP], [
>  
>    dnl look for prctl
> -  AC_CHECK_FUNC([prctl], , )
> +  AC_CHECK_FUNC([prctl], , AC_MSG_ERROR([prctl syscall is not available]))
>  
>    AC_ARG_ENABLE([caps],
>      [AS_HELP_STRING([--disable-caps], [Disable capabilities support])])

      reply	other threads:[~2012-05-29 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 15:14 [PATCH] autoconf: make the test for prctl have an effect Jeff Layton
2012-05-29 19:15 ` 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=4FC52067.5040101@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.