* [PATCH] autoconf: make the test for prctl have an effect
@ 2012-05-17 15:14 Jeff Layton
2012-05-29 19:15 ` Steve Dickson
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Layton @ 2012-05-17 15:14 UTC (permalink / raw)
To: steved; +Cc: linux-nfs, chuck.lever
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>
---
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])])
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] autoconf: make the test for prctl have an effect
2012-05-17 15:14 [PATCH] autoconf: make the test for prctl have an effect Jeff Layton
@ 2012-05-29 19:15 ` Steve Dickson
0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2012-05-29 19:15 UTC (permalink / raw)
To: Jeff Layton; +Cc: linux-nfs, chuck.lever
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])])
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-05-29 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).